The MASM Forum Archive 2004 to 2012

General Forums => The Campus => Topic started by: shakuni on November 12, 2007, 01:52:04 PM

Title: Why Use Native Apis ?
Post by: shakuni on November 12, 2007, 01:52:04 PM
I've been researching on windows native api lately.But I've found that the mystery that surround the native api is not worth it because most of the working of the native api can be achieved through the use of win32 api(since each win32 api ultimately calls native api(s) to do the work).

kernel32.dll(wrapper over ntdll.dll)==calls some module in==>ntdll.dll(contains native api)==use SYSENTER==>use interrupt to communicate with hardware.

Still there are a few native api that has no counterpart in win32 api.Is there some link or book that lists this kind of api(s).
Can the readers of the thread post the native api(s) that have no counterpart in win32 api ?
Title: Re: Why Use Native Apis ?
Post by: drizz on November 12, 2007, 04:19:00 PM
Quote from: shakuni on November 12, 2007, 01:52:04 PMCan the readers of the thread post the native api(s) that have no counterpart in win32 api ?
there is a table in this article that lists the native apis and their counterparts;
http://web.archive.org/web/20060315213024/www.sysinternals.com/Information/NativeApi.html
the article does not exist on sysinternals anymore (since the assimilation)
Title: Re: Why Use Native Apis ?
Post by: shakuni on November 12, 2007, 06:47:11 PM
Sir
The info provided by you is so useful that I literally burst into tears after reading it.
It may sound silly but I've been trying to find this since a long time.
Thanks a lot.
Title: Re: Why Use Native Apis ?
Post by: Vortex on November 12, 2007, 06:50:45 PM
Here is newer version of the article :

http://www.microsoft.com/technet/sysinternals/information/NativeApplications.mspx
Title: Re: Why Use Native Apis ?
Post by: Ehtyar on November 12, 2007, 08:56:51 PM
Quote from: Vortex on November 12, 2007, 06:50:45 PM
Here is newer version of the article :

http://www.microsoft.com/technet/sysinternals/information/NativeApplications.mspx
Not really. Not even half as informative as Mark's original article. Sad really....

Ehtyar.