SendMessageTimeout function user32

int SendMessageTimeout(
  1. int hWnd,
  2. int Msg,
  3. int wParam,
  4. int lParam,
  5. int fuFlags,
  6. int uTimeout,
  7. Pointer<IntPtr> lpdwResult,
)

Sends the specified message to one or more windows.

LRESULT SendMessageTimeoutW(
  HWND       hWnd,
  UINT       Msg,
  WPARAM     wParam,
  LPARAM     lParam,
  UINT       fuFlags,
  UINT       uTimeout,
  PDWORD_PTR lpdwResult
);

Implementation

int SendMessageTimeout(int hWnd, int Msg, int wParam, int lParam, int fuFlags,
        int uTimeout, Pointer<IntPtr> lpdwResult) =>
    _SendMessageTimeout(
        hWnd, Msg, wParam, lParam, fuFlags, uTimeout, lpdwResult);