RemoveClipboardFormatListener function user32

Win32Result<bool> RemoveClipboardFormatListener(
  1. HWND hwnd
)

Removes the given window from the system-maintained clipboard format listener list.

To learn more, see learn.microsoft.com/windows/win32/api/winuser/nf-winuser-removeclipboardformatlistener.

Implementation

Win32Result<bool> RemoveClipboardFormatListener(HWND hwnd) {
  resolveGetLastError();
  final result_ = _RemoveClipboardFormatListener(hwnd);
  return .new(value: result_ != FALSE, error: GetLastError());
}