IsClipboardFormatAvailable function Null safety user32

int IsClipboardFormatAvailable (
  1. int format
)

Determines whether the clipboard contains data in the specified format.

BOOL IsClipboardFormatAvailable(
  UINT format
);

Implementation

int IsClipboardFormatAvailable(int format) {
  final _IsClipboardFormatAvailable = _user32.lookupFunction<
      Int32 Function(Uint32 format),
      int Function(int format)>('IsClipboardFormatAvailable');
  return _IsClipboardFormatAvailable(format);
}