win32clipboard.GetClipboardFormatName

string = GetClipboardFormatName(format)

The GetClipboardFormatName function retrieves from the clipboard the name of the specified registered format.

Parameters

format : int

Specifies the type of format to be retrieved. This parameter must not specify any of the predefined clipboard formats.

Win32 API References

Search for GetClipboardFormatName at msdn, google or google groups.

Return Value

If the function succeeds, the return value is the string containing the format.
If the function fails, win32api.error is raised with the GetLastError info.