Hinstance

Some articles on hinstance:

Message Loop In Microsoft Windows
... The event loop typically appears as follows int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { MSG msg while(GetMessage( msg, NULL, 0, 0) > 0 ...