DOC: Avoid GDI Object Private Clipboard Formats (89119)
The information in this article applies to:
- Microsoft Windows Software Development Kit (SDK) 3.1
This article was previously published under Q89119
3.10
WINDOWS
kbtoolkbtoolg kbdocerr
SUMMARY
In the Microsoft Windows Software Development Kit (SDK) version 3.1
"Programmer's Reference Volume 2: Functions," page 828 of the
documentation for the SetClipboardData function states:
Private data formats in the range CF_GDIOBJFIRST through CF_GDIOBJLAST
will be automatically removed by a call to the DeleteObject function when the data is removed from the clipboard.
This statement is incorrect under Windows 3.1. Private data formats
with types in this range are treated like global memory handles by
Windows. As such, this range of private data formats should be
avoided.
Modification Type: | Minor | Last Reviewed: | 2/11/2005 |
---|
Keywords: | kb16bitonly kbdocfix KB89119 |
---|
|