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". https://source.winehq.org/source/include/winuser.h

Implemented in "dlls/user32/message.c". https://source.winehq.org/source/dlls/user32/message.c

Debug channel "msg".


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