BACK IN MAIN
Make Calls to Your InitApplication and InitInstance Functions.
Write a Windows Message Loop that Continuously Checks for New Messages (such as the click of a mouse button or press of a key on the keyboard)
When a Message is Received, the WNDCLASS Window you Created will Call the Window Procedure it points to (MainWndProc).