IsClipboardFormatAvailable function user32
Determines whether the clipboard contains data in the specified format.
To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-isclipboardformatavailable.
Implementation
Win32Result<bool> IsClipboardFormatAvailable(int format) {
resolveGetLastError();
final result_ = _IsClipboardFormatAvailable(format);
return .new(value: result_ != FALSE, error: GetLastError());
}