调用dll中函数的时候弹出警告
Run-Time Check Failure #0 - The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.
可能是是少了 WINAPI 宏
typedef NTSTATUS (*pfnNtQueryInformationProcess)(
改为
typedef NTSTATUS (WINAPI *pfnNtQueryInformationProcess)(
即可