31.2.3 Clipboard

Clipboard functions carry out data interchange between Windows applications. The clipboard is the place for this interchange; it provides a place from which applications can pass data handles to other applications. The following list briefly describes each clipboard function:

Function Description

ChangeClipboardChain Removes a window from the chain of clipboard viewers
CloseClipboard Closes the clipboard
CountClipboardFormats Gets the number of formats in the clipboard.
EmptyClipboard Empties the clipboard and reassigns clipboard ownership
EnumClipboardFormats Enumerates the available clipboard formats
GetClipboardData Retrieves data from the clipboard
GetClipboardFormatName Retrieves the clipboard format
GetClipboardOwner Retrieves the window handle associated with the current clipboard owner
GetClipboardViewer Retrieves the handle of the first window in the clipboard viewer chain
GetOpenClipboardWindow Retrieves the handle of the window that has the clipboard open.
GetPriorityClipboardFormat Retrieves data from the clipboard in the first format in a prioritized format list
IsClipboardFormatAvailable Returns TRUE if the data in the given format is available
OpenClipboard Opens the clipboard
RegisterClipboardFormat Registers a new clipboard format
SetClipboardData Copies a handle for data
SetClipboardViewer Adds a handle to the clipboard viewer chain