how to use winmain function

C++
INT WinMain(HINSTANCE hInstance, 
            HINSTANCE hPrevInstance, 
            PSTR lpCmdLine,
            INT nCmdShow)
{
	return 0;
}
Source

Also in C++: