How to declare this ZwCreateSection function in MFC?
Time:10-17
This function in the library files contain? How to declare?
CodePudding user response:
This function in NTDLL. DLL is a kernel function, SDK no corresponding instructions, if you need to use, need to consult the DDK (WDK) related documents, and then use LoadLibrary/GetProcAddress call function to get the function pointer,
However, it is important to note that not all kernel function can be used in the ring3, incorrect use of kernel function may lead to program crashes, and even system downtime,
CodePudding user response:
MSDN not understand? The Header Wdm. H (include Wdm. H)