DispatchMessage function user32

LRESULT DispatchMessage(
  1. Pointer<MSG> lpMsg
)

Dispatches a message to a window procedure.

It is typically used to dispatch a message retrieved by the GetMessage function.

To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-dispatchmessagew.

Implementation

@pragma('vm:prefer-inline')
LRESULT DispatchMessage(Pointer<MSG> lpMsg) => LRESULT(_DispatchMessage(lpMsg));