1 2 3 4 5 6 7 8 9 10 11
#include <windows.h> int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { // avoid unused argument error while matching template ((void)hInstance); ((void)hPrevInstance); ((void)lpCmdLine); ((void)nCmdShow); return 0; }