Compartir a través de


DispatchMessage (Windows CE 5.0)

Send Feedback

This function dispatches a message to a window procedure. It is typically used to dispatch a message retrieved by the GetMessage function.

LONGDispatchMessage(constMSG* lpmsg );

Parameters

  • lpmsg
    [in] Pointer to an MSG structure that contains the message.

Return Values

The return value specifies the value returned by the window procedure. Although its meaning depends on the message being dispatched, the return value generally is ignored.

Remarks

The MSG structure must contain valid message values. If the lpmsg parameter points to a WM_TIMER message and the lParam parameter of the WM_TIMER message is not NULL, lParam points to a function that is called instead of the window procedure.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winuser.h.
Link Library: Coredll.lib.

See Also

Message Queue Functions | GetMessage | PeekMessage | PostMessage | TranslateMessage | MSG

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.