int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { MSG msg; MyRegisterClass( hInstance ); if ( !InitInstance( hInstance, nCmdShow) ) { return FALSE; } while ( GetMessa