MCPcopy Create free account
hub / github.com/DentonW/DevIL / WinMain

Function WinMain

DevIL/examples/direct3d_example/d3dtest.cpp:107–118  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Name: WinMain() Desc: Entry point to the program. Initializes everything, and goes into a message-processing loop. Idle time is used to render the scene. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

105// message-processing loop. Idle time is used to render the scene.
106//-----------------------------------------------------------------------------
107INT WINAPI WinMain( HINSTANCE hInst, HINSTANCE, LPSTR, INT )
108{
109 CMyD3DApplication d3dApp;
110
111 if (__argc <= 1)
112 return 1;
113
114 if( FAILED( d3dApp.Create( hInst ) ) )
115 return 0;
116
117 return d3dApp.Run();
118}
119
120
121

Callers

nothing calls this directly

Calls 1

CreateMethod · 0.80

Tested by

no test coverage detected