CallWindowProc function user32

int CallWindowProc(
  1. Pointer<NativeFunction<WNDPROC>> 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<WNDPROC>> lpPrevWndFunc, int hWnd,
        int Msg, int wParam, int lParam) =>
    _CallWindowProc(lpPrevWndFunc, hWnd, Msg, wParam, lParam);