DXUTStaticWndProc

Processes messages sent to a window.

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 Values

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.

Requirements

Header: Declared in Dxut.h.

See Also

DXUTSetCallbackMsgProc, DXUTSetCallbackKeyboard, DXUTSetCallbackMouse, LPDXUTCALLBACKKEYBOARD, LPDXUTCALLBACKMOUSE, LPDXUTCALLBACKMSGPROC, WindowProc