This topic has not yet been rated - Rate this topic

RemoveClipboardFormatListener function

Applies to: desktop apps only

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

Syntax

BOOL WINAPI RemoveClipboardFormatListener(
  __in  HWND hwnd
);

Parameters

hwnd [in]

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

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Header

Winuser.h (include Windows.h)

Library

User32.lib

DLL

User32.dll

See also

WM_CLIPBOARDUPDATE
AddClipboardFormatListener
GetClipboardSequenceNumber

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
This call matches AddClipboardFormatListener
Call this function to stop listening for clipboard events that your application started listening to by calling AddClipboardFormatListener.