e01.org

Windows Native API

The Native API (referred in some sources as the NT Native API) is a lightweight application programming interface (API) used by Windows NT's kernel and user mode applications. This API is used in the early stages of Windows NT startup process, when other components and APIs are still unavailable. Therefore, a few Windows components, such as the Client/Server Runtime Subsystem (CSRSS), are implemented using the Native API. The Native API is also used by subroutines such as those in kernel32.dll that implement the Windows API, the API based on which most of the Windows components are created. Most of the Native API calls are implemented in ntoskrnl.exe and are exposed to user mode by ntdll.dll. The entry point of ntdll.dll is LdrInitializeThunk . Native API calls are handled by the kernel via the System Service Descriptor Table (SSDT).

The Native API (referred in some sources as the NT Native API) is a lightweight application programming interface (API) used by Windows NT's kernel and user mode applications. This API is used in the early stages of Windows NT startup process, when other components and APIs are still unavailable. Therefore, a few Windows components, such as the Client/Server Runtime Subsystem (CSRSS), are implemented using the Native API. The Native API is also used by subroutines such as those in kernel32.dll that implement the Windows API, the API based on which most of the Windows components are created. Most of the Native API calls are implemented in ntoskrnl.exe and are exposed to user mode by ntdll.dll. The entry point of ntdll.dll is LdrInitializeThunk . Native API calls are handled by the kernel via the System Service Descriptor Table (SSDT). ==Uses== Uses of Native API functions includes but not limited to: Enabling and disabling privileges ( RtlAdjustPrivilege ) Creating remote threads within processes that are running in different session ( RtlCreateUserThread ) Running native applications ( RtlCreateUserProcess ) Performing a forced shutdown ( NtShutdownSystem ) Causing a BSOD in User mode ( NtRaiseHardError ) Displaying a string in Native Mode ( NtDisplayString ) ==External links== A website that documents most of the Native API functions Inside Native Applications Inside the Native API Open source native applications development framework Compiling Free Pascal programs for the native API Windows NT Native Tools - A free native applications development util Native shell - Windows command prompt which can start before Winlogon and Win32 subsystem

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Windows Native API". 1790342532. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1376667836

JSON record · API collection · citation policy