Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我找到了这段代码,但我不明白。我找不到NTAPI. 对我来说,它定义了一个名为TestForWr但NTAPI令人困惑的函数。
NTAPI
TestForWr
VOID NTAPI TestForWr(PVOID Ad, ULONG Le, ULONG Al);
从WinNT.h
WinNT.h
#define NTAPI __stdcall
__stdcall调用约定用于调用 Win32 API 函数。被调用者清理堆栈,因此编译器生成可变参数函数 __cdecl。
__stdcall
__cdecl