AddClipboardFormatListener function Null safety user32

int AddClipboardFormatListener (
  1. int hwnd
)

Places the given window in the system-maintained clipboard format listener list.

BOOL AddClipboardFormatListener(
  HWND hwnd
);

Implementation

int AddClipboardFormatListener(int hwnd) {
  final _AddClipboardFormatListener = _user32.lookupFunction<
      Int32 Function(IntPtr hwnd),
      int Function(int hwnd)>('AddClipboardFormatListener');
  return _AddClipboardFormatListener(hwnd);
}