WinMain function
The only Windows Application entrance.
Function prototype
1 int WINAPI WinMain 2 { 3 HINSTANCE hInstancem 4 HINSTANCE hPreInstance, 5 LPSTR lpCmdLine, 6 int nCmdShow 7 }
WINAPI is defined as follows
#define WINAPI _stdcall
WinMain function
The only Windows Application entrance.
Function prototype
1 int WINAPI WinMain 2 { 3 HINSTANCE hInstancem 4 HINSTANCE hPreInstance, 5 LPSTR lpCmdLine, 6 int nCmdShow 7 }
WINAPI is defined as follows
#define WINAPI _stdcall