flat assembler
Message board for the users of flat assembler.

Index > Windows > Syscalls? Interrupts? Native Api? Dll Wrappers?

Author
Thread Post new topic Reply to topic
shakuni



Joined: 11 Oct 2007
Posts: 24
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.
[/b]
Post 23 Oct 2007, 19:19
View user's profile Send private message Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
The native API has a set of DLL functions just like the win32 API, which in turn end up either issuing the syscall interrupt, or using the syscall instruction (on recent processors, and XP and newer OS).

Not much advantage of using the native API, except when some features aren't exposed to the win32 API.
Post 24 Oct 2007, 09:10
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.