CallMsgFilter function user32

bool CallMsgFilter(
  1. Pointer<MSG> lpMsg,
  2. int nCode
)

Passes the specified message and hook code to the hook procedures associated with the WH_SYSMSGFILTER and WH_MSGFILTER hooks.

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

Implementation

@pragma('vm:prefer-inline')
bool CallMsgFilter(Pointer<MSG> lpMsg, int nCode) =>
    _CallMsgFilter(lpMsg, nCode) != FALSE;