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 "include/winuser.h". gitlab.winehq.org/wine/wine/blob/master/include/winuser.h

Implemented in "dlls/user32/message.c". gitlab.winehq.org/wine/wine/blob/master/dlls/user32/message.c

Debug channel "msg".


Copyright © 2024 The Wine Project. All trademarks are the property of their respective owners. Visit WineHQ for license details. Generated Dec 2024.