Created
June 14, 2015 16:45
-
-
Save catchouli/68a91251009dcfcccfa8 to your computer and use it in GitHub Desktop.
WinMain w/o windows.h
This file contains hidden or 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
#ifndef _INC_WINDOWS | |
struct HINSTANCE__; | |
typedef struct HINSTANCE__ *HINSTANCE; | |
#endif | |
int __stdcall WinMain( | |
HINSTANCE hInstance, | |
HINSTANCE hPrevInstance, | |
char* lpCmdLine, | |
int nCmdShow); | |
int main() | |
{ | |
WinMain(nullptr, nullptr, "", 0); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment