 |
RegisterClipboardFormat ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
The RegisterClipboardFormat function registers a new clipboard format. This format can then be used as a valid clipboard format. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
UINT RegisterClipboardFormat(
LPCTSTR lpszFormat // name of new format
);
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER RegisterClipboardFormat IN user32;
STRING lpszFormat
|
 |
 |
 |
| Parameters: |
 |
lpszFormat
[in] Pointer to a null-terminated string that names the new format. |
 |
 |
| Return value: |
 |
| If the function succeeds, the return value identifies the registered clipboard format. Otherwise the result is zero. |
 |
 |
| My comment: |
 |
| Registered clipboard formats are identified by values in the range 0xC000 through 0xFFFF. If a registered format with the specified name already exists, a new format is not registered and the return value identifies the existing format. |
 |
 |
| Word Index links for the RegisterClipboardFormat : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2002-01-27 13:12:25 | | Modified: | 2002-01-27 13:14:14 | Visited in last 7 days: 37 |