setNotifyWindowMessage method

void setNotifyWindowMessage(
  1. HWND hWnd,
  2. int msg,
  3. WPARAM wParam,
  4. LPARAM lParam,
)

Throws a WindowsException on failure.

Implementation

@pragma('vm:prefer-inline')
void setNotifyWindowMessage(
  HWND hWnd,
  int msg,
  WPARAM wParam,
  LPARAM lParam,
) {
  final hr$ = HRESULT(
    _SetNotifyWindowMessageFn(ptr, hWnd, msg, wParam, lParam),
  );
  if (hr$.isError) throw WindowsException(hr$);
}