Export (0) Print
Expand All

DispatchMessage

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

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


LONG  DispatchMessage( 
  const MSG* lpmsg 
);

lpmsg

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

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.

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.

Headerwinuser.h
Librarycoredll.lib
Windows Embedded CEWindows CE 1.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

ADD
Show:
© 2014 Microsoft