int get_priority_clipboard_format(unsigned* list,
                                  int formats)

This function obtains the first clipboard format in a specified list.


unsigned* list

An ordered array of integers with a single format per integer.

int formats

The number of formats contained in the list pointed to by the previous parameter.



-1 The clipboard contains data, but not in a format that matches any of the specified formats.
0 The clipboard contains no data of any format.
Other The first format contained in the ordered list that has associated clipboard data.


The specified formats may be built-in or may be application defined.