DOCERR: OleGetClipboard Not Needed Before OleSetClipboard (104961)



The information in this article applies to:

  • Microsoft OLE Libraries for Windows and Win32s 2.0

This article was previously published under Q104961
The function descriptions for OleSetClipboard and OleGetClipboard in the OLE version 2.0 "Programmer's Reference: Creating Programmable Applications" manual incorrectly state that an application must obtain access to the clipboard by successfully calling OleGetClipboard before making a call to OleSetClipboard. In fact, a call to OleGetClipboard is not required before making a call to OleSetClipboard.

This documentation error also appears in the OLE version 2.0 online reference file, OLE2API.HLP, in the function descriptions for OleSetClipboard and OleGetClipboard.

The correct information is in the OLE 2.0 documentation included with Visual C++ 2.0.

Modification Type:MinorLast Reviewed:3/3/2005
Keywords:kbdocerr KB104961