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 |
); |
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.
EnumClipboardFormats, RegisterClipboardFormat
file: /Techref/os/win/api/win32/func/src/f28_9.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2024/11/14 09:10,
18.188.198.173:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/Techref/os/win/api/win32/func/src/f28_9.htm"> GetClipboardFormatName</A> |
Did you find what you needed? |