RemoveClipboardFormatListener function (winuser.h)

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

Syntax

BOOL RemoveClipboardFormatListener(
  [in] HWND hwnd
);

Parameters

[in] hwnd

Type: HWND

A handle to the window to remove from the clipboard format listener list.

Return value

Type: BOOL

Returns TRUE if successful, FALSE otherwise. Call GetLastError for additional details.

Remarks

When a window has been removed from the clipboard format listener list, it will no longer receive WM_CLIPBOARDUPDATE messages.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header winuser.h (include Windows.h)
Library User32.lib
DLL User32.dll
API set ext-ms-win-ntuser-misc-l1-5-1 (introduced in Windows 10, version 10.0.14393)

See also

AddClipboardFormatListener

GetClipboardSequenceNumber

WM_CLIPBOARDUPDATE