Application-defined function that processes messages from DXUT message pump.
LRESULT LPDXUTCALLBACKMSGPROC( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam, bool * pbNoFurtherProcessing, void* pUserContext );
Returns zero if the function has processed window messages successfully; otherwise, returns a nonzero value.
With the use of the pbNoFurtherProcessing parameter, the application can control the framework's level of involvement in processing window messages. If the application sets pbNoFurtherProcessing to TRUE in the call to LPDXUTCALLBACKMSGPROC, the framework will not process the message and will immediately return with the value returned by LPDXUTCALLBACKMSGPROC. If the application sets pbNoFurtherProcessing to FALSE, the framework will handle window management events.
This function and its parameters are used similarly to the Windows WindowProc function.
Header: Declared in Dxut.h.
DXUTSetCallbackMsgProc, DXUTSetCallbackKeyboard, DXUTSetCallbackMouse, LPDXUTCALLBACKKEYBOARD, LPDXUTCALLBACKMOUSE, DXUTStaticWndProc, WindowProc