win32clipboard.CountClipboardFormats

int = CountClipboardFormats()

The CountClipboardFormats function retrieves the number of different data formats currently on the clipboard.

Win32 API References

Search for CountClipboardFormats at msdn, google or google groups.

Return Value

If the function succeeds, the return value is the number of different data formats currently on the clipboard. If the function fails, win32api.error is raised with the GetLastError info.