Properly Rendering OLE Presentation Formats

Last reviewed: August 11, 1997
Article ID: Q77469

The information in this article applies to:

  • Microsoft OLE version 1.0

The presentation format of an OLE (Object Linking and Embedding) object is used by the OLE libraries to display the object inside a client application. The formats that can be used are CF_METAFILEPICT, CF_DIB, and CF_BITMAP. If an object handler has been registered for the object class in the registration database, the native format may also be used as the presentation format.

The functions OleQueryCreateFromClip() and OleQueryLinkFromClip() fail if the native data format is used as the presentation format and no object handler has been registered for a particular object class.

Keywords          : LeoneSvrRender kbole kbprg
Technology        : kbole
Version           : 1.0
Platform          : WINDOWS
Issue type        : kbhowto
Solution Type     : Info_Provided


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: August 11, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.