1 #include<windows.h> 2 3 class Foo; 4 5 int APIENTRY WinMain(HINSTANCE hInstance,HINSTANCE hPrevInstance,LPSTR lpszCmdLine,int nCmdShow)6WinMain( 7 HINSTANCE hInstance, 8 HINSTANCE hPrevInstance, 9 LPSTR lpszCmdLine, 10 int nCmdShow) { 11 // avoid unused argument error while matching template 12 ((void)hInstance); 13 ((void)hPrevInstance); 14 ((void)lpszCmdLine); 15 ((void)nCmdShow); 16 return 0; 17 } 18