Starts the main execution loop of DXUT.
HRESULT DXUTMainLoop( HACCEL hAccel );
If the function succeeds, the return value is S_OK. If the function fails, the return value can be one of the error codes in DXUTERR.
This function starts the message loop that will run for the lifetime of the application. During execution, DXUTMainLoop calls the registered callback functions to inform the application of input events and to trigger resource management and render calls.
Header: Declared in Dxut.h.