|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| user32.lib
| Header File
| winuser.h
| Unicode
| WinNT
| Platform Notes
| None
|
|
|
GetClipboardFormatName
The GetClipboardFormatName function retrieves from the clipboard the name of the specified registered
format. The function copies the name to the specified buffer.
int GetClipboardFormatName(
UINT format,
| // clipboard format to retrieve
| LPTSTR lpszFormatName,
| // address of buffer for name
| int cchMaxCount
| // length of name string in characters
| );
|
|
Parameters
format
Specifies the type of format to be retrieved. This parameter must not specify
any of the predefined clipboard formats.
lpszFormatName
Points to the buffer that is to receive the format name.
cchMaxCount
Specifies the maximum length, in characters, of the string to be copied to the
buffer. If the name exceeds this limit, it is truncated.
Return Values
If the function succeeds, the return value is the length, in characters, of
the string copied to the buffer.
If the function fails, the return value is zero, indicating that the requested
format does not exist or is predefined. To get extended error information,
call GetLastError.
See Also
EnumClipboardFormats, RegisterClipboardFormat
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|