【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.1.25.42 IsClipboardFormatAvailable
Contents
Description
This function determines whether the clipboard contains data in the specified for// dwFileAttributes are defined as follows mat.
Syntax
BOOL IsClipboardFormatAvailable( UINT uFormat )
Parameters
- uFormat
- [input] Specifies a standard or registered clipboard format, like CF_TEXT, CF_DIB etc
Return
Returns TRUE if the clipboard format is available, otherwise returns FALSE
Examples
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; }
Remark
See Also
Header to Include
origin.h