# Clipboard user defined functions Reference

Below is a complete list of the user defined functions available in AutoIt. Click on a user defined function name for a detailed description.

When using them you need to add a #include <Clipboard.au3>.

User Defined Function | Description
--- | ---
_ClipBoard_ChangeChain | Removes a specified window from the chain of clipboard viewers
_ClipBoard_Close | Closes the clipboard
_ClipBoard_CountFormats | Retrieves the number of different data formats currently on the clipboard
_ClipBoard_Empty | Empties the clipboard and frees handles to data in the clipboard
_ClipBoard_EnumFormats | Enumerates the data formats currently available on the clipboard
_ClipBoard_FormatStr | Returns a string representation of a standard clipboard format
_ClipBoard_GetData | Retrieves data from the clipboard in a specified format
_ClipBoard_GetDataEx | Retrieves data from the clipboard in a specified format
_ClipBoard_GetFormatName | Retrieves the name of the specified registered format
_ClipBoard_GetOpenWindow | Retrieves the handle to the window that currently has the clipboard open
_ClipBoard_GetOwner | Retrieves the window handle of the current owner of the clipboard
_ClipBoard_GetPriorityFormat | Retrieves the first available clipboard format in the specified list
_ClipBoard_GetSequenceNumber | Retrieves the clipboard sequence number for the current window station
_ClipBoard_GetViewer | Retrieves the handle to the first window in the clipboard viewer chain
_ClipBoard_IsFormatAvailable | Determines whether the clipboard contains data in the specified format
_ClipBoard_Open | Opens the clipboard and prevents other applications from modifying the clipboard
_ClipBoard_RegisterFormat | Registers a new clipboard format
_ClipBoard_SetData | Places data on the clipboard in a specified clipboard format
_ClipBoard_SetDataEx | Places data on the clipboard in a specified clipboard format
_ClipBoard_SetViewer | Adds the specified window to the chain of clipboard viewers