"AwesomeVar" is sitting within - int WINAPI WinMain ( ...Code:LRESULT CALLBACK WndProc ( ... case WM_KEYDOWN: switch (wParam) { case VK_ESCAPE: PostQuitMessage(0); return 0; case VK_NUMPAD1: AwesomeVar++; // <-- This is what I need help with * } return 0;
Could someone explain how exactly I would go about making the above hypothetical situation work?