GetClipboardOwner function Null safety user32

int GetClipboardOwner()

Retrieves the window handle of the current owner of the clipboard.

HWND GetClipboardOwner();

Implementation

int GetClipboardOwner() {
  final _GetClipboardOwner = _user32
      .lookupFunction<IntPtr Function(), int Function()>('GetClipboardOwner');
  return _GetClipboardOwner();
}