This comes out of an ancient copy of VC++:
int PASCAL WinMain(hinstCurrent, hinstPrevious, lpCmdLine, nCmdShow)
HINSTANCE hinstCurrent; /* handle of current instance */
HINSTANCE hinstPrevious; /* handle of previous instance */
LPSTR lpszCmdLine; /* address of command line */
int nCmdShow; /* show-window type (open/icon) */
The WinMain function is called by the system as the initial entry point for a Windows application.
Parameter Description
hinstCurrent Identifies the current instance of the application.
hinstPrevious Identifies the previous instance of the application.
lpszCmdLine Points to a null-terminated string specifying the command line for the application.