CallMsgFilter function Null safety user32

int 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. A WH_SYSMSGFILTER or WH_MSGFILTER hook procedure is an application-defined callback function that examines and, optionally, modifies messages for a dialog box, message box, menu, or scroll bar.

BOOL CallMsgFilterW(
  LPMSG lpMsg,
  int   nCode
);

Implementation

int CallMsgFilter(Pointer<MSG> lpMsg, int nCode) =>
    _CallMsgFilter(lpMsg, nCode);