Group: Clipboard - Library: user32
The IsClipboardFormatAvailable function determines whether the clipboard contains data in the specified format
Getting a bit more than the _CLIPTEXT offers
Converting Unicode data from the Clipboard to a character string using a given code page
Passing data records between VFP applications via the Clipboard
GDI+: Storing content of the Clipboard to a bitmap file
BOOL IsClipboardFormatAvailable(
UINT format // clipboard format
);
DECLARE INTEGER IsClipboardFormatAvailable IN user32;
INTEGER wFormat
format Specifies a standard or registered clipboard format
For a description of the clipboard formats, see the SetClipboardData function
If the clipboard format is available, the return value is TRUE
Compare result obtained from this function to zero to get TRUE or FALSE.
As far as I tested this function, if being called with a particular clipboard format code, it returns the same code as a successful result or zero if data in this format is not available.