Check out example codes for "how to use winmain function". It will help you in understanding the concepts better.

Code Example 1

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

Learn ReactJs, React Native from akashmittal.com