DOCERR: OleGetClipboard Not Needed Before OleSetClipboard

ID: Q104961

The information in this article applies to:

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.

Additional reference words: 2.00 KBCategory: kbole kbdocerr KBSubcategory: LeTwoDdc

Last Reviewed: May 16, 1995