1.12 Clipboard Functions

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.  
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 clip-board owner.  
GetClipboardViewer Retrieves the handle of the first window in the clipboard viewer chain.  
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.