GetOpenClipboardWindow function Null safety user32

int GetOpenClipboardWindow()

Retrieves the handle to the window that currently has the clipboard open.

HWND GetOpenClipboardWindow();

Implementation

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