As seen from the security focus.
Author: ilsy
NTDDK.H If there is a problem with direct incrude, you should do this:
Namespace NT {
Extern "C" {
#pragma Warning (Disable: 4005) // Macro Redefinition
#pragma Warning (Disable: 4201) // Nonstandard Extension
#include
#include
#pragma Warning (Default: 4005)
#pragma Warning (Default: 4201)
NTSYSAPI
NTSTATUS
NTAPI
ZwQuerySystemInformation
In system_information_class systeminformationclass,
Out pvoid systemInformation,
In Ulong SystemInformationLength,
OUT Pulong ReturnLength Optional
);
Here are some of the function prototypes and other definitions.
}
}
Using NT :: NTSTATUS;
The function defined in the future will be used in this way:
NT :: zwQuerySysteminformation ()
This way can INCLUDE into Ntddk.h,
Or put all the needs you need to define one .h file does not need NTDDK.H.