![]() |
![]() |
![]() |
Processes messages sent to a window.
Syntax
LRESULT_CALLBACK DXUTStaticWndProc(
HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam );
Parameters
- hWnd
- [in] Handle to the window.
- uMsg
- [in] Specifies the message.
- wParam
- [in] Specifies additional message information. The contents of this parameter depend on the value of the uMsg parameter.
- lParam
- [in] Specifies additional message information. The contents of this parameter depend on the value of the uMsg parameter.
Return Value
If the function has processed window messages successfully, returns zero; otherwise, returns a nonzero value.
Remarks
This function is typically used when the application creates the window. This function can be called from inside the application's window procedure, or it can be used directly as the window procedure.
Function Information
Header dxut.h Import library None Minimum operating systems Windows 98
See Also
Using Your Own Window, DXUTSetCallbackMsgProc, DXUTSetCallbackKeyboard, DXUTSetCallbackMouse, LPDXUTCALLBACKKEYBOARD, LPDXUTCALLBACKMOUSE, LPDXUTCALLBACKMSGPROC, WindowProc