宏定义:
#define CALLBACK __stdcall
#define WINAPI __stdcall
#define WINAPIV __cdecl
#define APIENTRY WINAPI
#define APIPRIVATE __stdcall
#define PASCAL __stdcall
调用约定(Calling convention):1、决定函数参数传送时入栈和出栈的顺序;
2、由调用者还是被调用者把参数弹出栈;
3、以及编译器用来识别函数名字的修饰约定。
函数调用约定有多种,这里简单说一下:
1、__stdcall(调用约定)相当于16位动态库中经常使用的PASCAL