Skip to content

Instantly share code, notes, and snippets.

@tcsavage
Created October 11, 2009 15:08
Show Gist options
  • Save tcsavage/207717 to your computer and use it in GitHub Desktop.
Save tcsavage/207717 to your computer and use it in GitHub Desktop.
// My dream interaction with the Win32 API.
#include <iostream>
#include <windows.h>
#define WIN32_SIMPLE
int main (int argc, char* argv[])
{
SIMPLEWINDOW* wnd = CreateSimpleWindow(x, y, w, h, title, fullscreenFlag);
doStuff();
return wnd->Release();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment