int GetPriorityClipboardFormat(lpPriorityList,nCount)
This function returns the first clipboard format in a list for which data exist in the clipboard.
Parameter | Type/Description |
lpPriorityList | WORD FAR * Points to an integer array that contains a list of clipboard formats in priority order. For a description of the data formats, see the SetClipboardData function later in this chapter. | |
nCount | int Specifies the number of entries in lpPriorityList. This value must not be greater than the actual number of entries in the list. |
The return value is the highest priority clipboard format in the list for which data exist. If no data exist in the clipboard, this function returns NULL. If data exist in the clipboard which did not match any format in the list, the return value is –1.