This function determines whether the clipboard contains data in the specified for// dwFileAttributes are defined as follows mat.
BOOL IsClipboardFormatAvailable( UINT uFormat )
Returns TRUE if the clipboard format is available, otherwise returns FALSE
EX1
int IsClipboardFormatAvailable_ex1() { if(OpenClipboard(NULL)) { if(IsClipboardFormatAvailable(CF_TEXT)) out_str("Yes, Text in clipboard"); else out_str("No Text in clipboard"); CloseClipboard(); } return 1; }
OpenClipboard
origin.h