|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| user32.lib
| Header File
| winuser.h
| Unicode
| WinNT
| Platform Notes
| None
|
|
|
RegisterClipboardFormat
The RegisterClipboardFormat function registers a new clipboard format. This format can then be used as a
valid clipboard format.
UINT RegisterClipboardFormat(
LPCTSTR lpszFormat
| // address of name string
| );
|
|
Parameters
lpszFormat
Points to a null-terminated string that names the new format.
Return Values
If the function succeeds, the return value identifies the registered clipboard
format.
If the function fails, the return value is zero. To get extended error
information, call GetLastError.
Remarks
If a registered format with the specified name already exists, a new format is
not registered and the return value identifies the existing format. This
enables more than one application to copy and paste data using the same registered
clipboard format. Note that the format name comparison is case-insensitive.
Registered clipboard formats are identified by values in the range 0xC000
through 0xFFFF.
See Also
CountClipboardFormats, EnumClipboardFormats, GetClipboardFormatName
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
TMS Scripter Studio Pro components for Delphi/C++Builder
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
|