 |
GetClipboardFormatName ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The GetClipboardFormatName function retrieves from the clipboard the name of the specified registered format. The function copies the name to the specified buffer. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
int GetClipboardFormatName(
UINT format, // clipboard format to retrieve
LPTSTR lpszFormatName, // format name
int cchMaxCount // length of format name buffer
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GetClipboardFormatName IN user32;
INTEGER format,;
STRING @ lpszFormatName,;
INTEGER cchMaxCount
|
 |
 |
 |
| Parameters: |
 |
format
[in] Specifies the type of format to be retrieved.
lpszFormatName
[out] Pointer to the buffer that is to receive the format name.
cchMaxCount
[in] Specifies the maximum length, in TCHARs, of the string to be copied to the buffer. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value is the length, in TCHARs, of the string copied to the buffer. |
 |
 |
| My comment: |
 |
| Registered clipboard formats are identified by values in the range 0xC000 through 0xFFFF. |
 |
 |
| Word Index links for the GetClipboardFormatName : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2002-01-27 13:14:40 | | Modified: | 2002-01-27 13:16:59 | Visited in last 7 days: 16 |