Created
July 29, 2016 04:54
-
-
Save davidzou2131/20faef51fdb43f53a257dcfa948474a4 to your computer and use it in GitHub Desktop.
Win32 Dummy Application
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <windows.h> | |
/* A Win32 program that does literally nothing, returning immediately. | |
Useful for replacing an existing binary to do nothing and exit. | |
*/ | |
// Create a Graphical Windows Program in order to prevent a terminal showing | |
int WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdParam, int iCmdShow) { | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment