GetClipboardViewer function Null safety user32

int GetClipboardViewer()

Retrieves the handle to the first window in the clipboard viewer chain.

HWND GetClipboardViewer();

Implementation

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