EmptyClipboard function Null safety user32

int EmptyClipboard()

Empties the clipboard and frees handles to data in the clipboard. The function then assigns ownership of the clipboard to the window that currently has the clipboard open.

BOOL EmptyClipboard();

Implementation

int EmptyClipboard() {
  final _EmptyClipboard = _user32
      .lookupFunction<Int32 Function(), int Function()>('EmptyClipboard');
  return _EmptyClipboard();
}