Scroll to navigation

DispatchMessageW(3w) Wine API DispatchMessageW(3w)

NAME

DispatchMessageW (USER32.@)

SYNOPSIS

LRESULT DispatchMessageW
(
const MSG* msg
)
 

DESCRIPTION

DispatchMessageW ( USER32.@) Process a message.
Process the message specified in the structure *_msg_.
If the lpMsg parameter points to a WM_TIMER message and the parameter of the WM_TIMER message is not NULL, the lParam parameter points to the function that is called instead of the window procedure. The function stored in lParam (timer callback) is protected from causing page-faults.
The message must be valid.
 

RETURNS

DispatchMessage() returns the result of the window procedure invoked.
 

CONFORMANCE

ECMA- 234, Win32
 

IMPLEMENTATION

Declared in "winuser.h".
Implemented in "dlls/user32/message.c".
Debug channel "msg".
Oct 2012 Wine API