DXUTStaticWndProc
Microsoft DirectX 9.0 SDK Update (October 2004)

DXUTStaticWndProc Function


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

Headerdxut.h
Import libraryNone
Minimum operating systems Windows 98

See Also

Using Your Own Window, DXUTSetCallbackMsgProc, DXUTSetCallbackKeyboard, DXUTSetCallbackMouse, LPDXUTCALLBACKKEYBOARD, LPDXUTCALLBACKMOUSE, LPDXUTCALLBACKMSGPROC, WindowProc World Wide Web link


© 2004 Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center.