APIENTRY的解释

APIENTRY is an alias for WINAPI.

WINAPI itself is a definition for the type of calling convention used for windows API calls, the stdcall.

Basically this is explaining to the compiler how to handle the stack and arguments when calling this function. You don't usually need to worry about it unless you are making function pointers to these types of functions.

你可能感兴趣的:(api)