News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

syscalls? interrupts? native api? dll wrappers?

Started by shakuni, October 23, 2007, 07:11:08 PM

Previous topic - Next topic

shakuni

I read somewhere that there are many subsystems in windows(any version) like win32 subsystem POSIX subsystem etc.To support all of these potential subsystems, Microsoft made unified set of APIs which are called wrappers of each subsystem. In short, all subsystems have all the needed libraries for them to work. For example Win32 apps call the Win32 Subsystem APIs, which in fact call NT APIs (native APIs, or just natives). Natives don't require any subsystem to run.

Now since natives don't require any subsystem to run are they same as interrupts or do they use interrupts.And what are system calls.Please differentiate between the terms syscalls, interrupts, native api and dll wrappers.

bozo

i can't give you that much information on native calls, but what is clear - different versions have different syscalls, meaning that code isn't portable without some dynamic computation of these syscall addresses.
you're only making your assembly programming more difficult ;)