CallWindowProc function Null safety user32

int CallWindowProc(
  1. Pointer<NativeFunction<WindowProc>> lpPrevWndFunc,
  2. int hWnd,
  3. int Msg,
  4. int wParam,
  5. int lParam
)

Passes message information to the specified window procedure.

LRESULT CallWindowProcW(
  WNDPROC lpPrevWndFunc,
  HWND    hWnd,
  UINT    Msg,
  WPARAM  wParam,
  LPARAM  lParam
);

Implementation

int CallWindowProc(Pointer<NativeFunction<WindowProc>> lpPrevWndFunc, int hWnd,
        int Msg, int wParam, int lParam) =>
    _CallWindowProc(lpPrevWndFunc, hWnd, Msg, wParam, lParam);