MalwareSourceCode/Win32/Proof of Concepts/herpaderping/ext/submodules/phnt
vxunderground 900263ea6f updates and moves
n/a
2022-04-11 20:00:13 -05:00
..
LICENSE updates and moves 2022-04-11 20:00:13 -05:00
ntdbg.h updates and moves 2022-04-11 20:00:13 -05:00
ntexapi.h updates and moves 2022-04-11 20:00:13 -05:00
ntgdi.h updates and moves 2022-04-11 20:00:13 -05:00
ntioapi.h updates and moves 2022-04-11 20:00:13 -05:00
ntkeapi.h updates and moves 2022-04-11 20:00:13 -05:00
ntldr.h updates and moves 2022-04-11 20:00:13 -05:00
ntlpcapi.h updates and moves 2022-04-11 20:00:13 -05:00
ntmisc.h updates and moves 2022-04-11 20:00:13 -05:00
ntmmapi.h updates and moves 2022-04-11 20:00:13 -05:00
ntnls.h updates and moves 2022-04-11 20:00:13 -05:00
ntobapi.h updates and moves 2022-04-11 20:00:13 -05:00
ntpebteb.h updates and moves 2022-04-11 20:00:13 -05:00
ntpfapi.h updates and moves 2022-04-11 20:00:13 -05:00
ntpnpapi.h updates and moves 2022-04-11 20:00:13 -05:00
ntpoapi.h updates and moves 2022-04-11 20:00:13 -05:00
ntpsapi.h updates and moves 2022-04-11 20:00:13 -05:00
ntregapi.h updates and moves 2022-04-11 20:00:13 -05:00
ntrtl.h updates and moves 2022-04-11 20:00:13 -05:00
ntsam.h updates and moves 2022-04-11 20:00:13 -05:00
ntseapi.h updates and moves 2022-04-11 20:00:13 -05:00
ntsmss.h updates and moves 2022-04-11 20:00:13 -05:00
nttmapi.h updates and moves 2022-04-11 20:00:13 -05:00
nttp.h updates and moves 2022-04-11 20:00:13 -05:00
ntwow64.h updates and moves 2022-04-11 20:00:13 -05:00
ntxcapi.h updates and moves 2022-04-11 20:00:13 -05:00
ntzwapi.h updates and moves 2022-04-11 20:00:13 -05:00
phnt_ntdef.h updates and moves 2022-04-11 20:00:13 -05:00
phnt_windows.h updates and moves 2022-04-11 20:00:13 -05:00
phnt.h updates and moves 2022-04-11 20:00:13 -05:00
README.md updates and moves 2022-04-11 20:00:13 -05:00
subprocesstag.h updates and moves 2022-04-11 20:00:13 -05:00
winsta.h updates and moves 2022-04-11 20:00:13 -05:00

This collection of Native API header files has been maintained since 2009 for the Process Hacker project, and is the most up-to-date set of Native API definitions that we know of. We have gathered these definitions from official Microsoft header files and symbol files, as well as a lot of reverse engineering and guessing. See phnt.h for more information.

Usage

First make sure that your program is using the latest Windows SDK.

These header files are designed to be used by user-mode programs. Instead of #include <windows.h>, place

#include <phnt_windows.h>
#include <phnt.h>

at the top of your program. The first line provides access to the Win32 API as well as the NTSTATUS values. The second line provides access to the entire Native API. By default, only definitions present in Windows XP are included into your program. To change this, use one of the following:

#define PHNT_VERSION PHNT_WINXP // Windows XP
#define PHNT_VERSION PHNT_WS03 // Windows Server 2003
#define PHNT_VERSION PHNT_VISTA // Windows Vista
#define PHNT_VERSION PHNT_WIN7 // Windows 7
#define PHNT_VERSION PHNT_WIN8 // Windows 8
#define PHNT_VERSION PHNT_WINBLUE // Windows 8.1
#define PHNT_VERSION PHNT_THRESHOLD // Windows 10