DefWindowProc
This function calls the default window procedure to provide default processing for any window messages that an application does not process. This function ensures that every message is processed. DefWindowProc is called with the same parameters received by the window procedure.
LRESULT DefWindowProc(
HWND hWnd,
UINT Msg,
WPARAM wParam,
LPARAM lParam );
Parameters
- hWnd
[in] Handle to the window procedure that received the message. - Msg
[in] Specifies the message - wParam
[in] Specifies additional message information. The content of this parameter depends on the value of the Msg parameter. - lParam
[in] Specifies additional message information. The content of this parameter depends on the value of the Msg parameter.
Return Values
The return value is the result of the message processing and depends on the message. If Msg is WM_SETTEXT, zero is returned.
Remarks
DefWindowProc does not automatically call PostQuitMessage when it handles a WM_DESTROY message.
Requirements
Runs on | Versions | Defined in | Include | Link to |
---|---|---|---|---|
Windows CE OS | 1.0 and later | Winuser.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
See Also
CallWindowProc, DefDlgProc, WindowProc
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.