16,551
社区成员
发帖
与我相关
我的任务
分享
Return Value
If the function succeeds, the return value is the clipboard format that follows the specified format, namely the next available clipboard format.
If the function fails, the return value is zero. To get extended error information, call GetLastError. If the clipboard is not open, the function fails.
If there are no more clipboard formats to enumerate, the return value is zero. In this case, the GetLastError function returns the value ERROR_SUCCESS. This lets you distinguish between function failure and the end of enumeration.