Platform SDK: Interprocess Communications

Clipboard Functions

The following functions are used with the clipboard.

Function Description
ChangeClipboardChain Removes a specified window from the chain of clipboard viewers.
CloseClipboard Closes the clipboard.
CountClipboardFormats Retrieves the number of different data formats currently on the clipboard.
EmptyClipboard Empties the clipboard and frees handles to data in the clipboard.
EnumClipboardFormats Enumerates the data formats currently available on the clipboard.
GetClipboardData Retrieves data from the clipboard in a specified format.
GetClipboardFormatName Retrieves from the clipboard the name of the specified registered format.
GetClipboardOwner Retrieves the window handle of the current owner of the clipboard.
GetClipboardSequenceNumber Retrieves the clipboard sequence number for the current window station.
GetClipboardViewer Retrieves the handle to the first window in the clipboard viewer chain.
GetOpenClipboardWindow Retrieves the handle to the window that currently has the clipboard open.
GetPriorityClipboardFormat Retrieves the first available clipboard format in the specified list.
IsClipboardFormatAvailable Determines whether the clipboard contains data in the specified format.
OpenClipboard Opens the clipboard for examination and prevents other applications from modifying the clipboard content.
RegisterClipboardFormat Registers a new clipboard format.
SetClipboardData Places data on the clipboard in a specified clipboard format.
SetClipboardViewer Adds the specified window to the chain of clipboard viewers.