|
OLERENDER
The OLERENDER enumeration constants are used in the various object creation API functions
to indicate the type of caching requested for the newly created object.
typedef enum tagOLERENDER
{
OLERENDER_NONE = 0;
OLERENDER_DRAW = 1;
OLERENDER_FORMAT = 2;
OLERENDER_ASIS = 3
} OLERENDER;
Elements
OLERENDER_NONE
The client is not requesting any locally cached drawing or data retrieval
capabilities in the object. pFormatEtc is ignored for this option.
OLERENDER_DRAW
The client will draw the content of the object on the screen (a NULL target
device) using IViewObject:Draw. The object itself determines the data formats that need to be cached. With
this render option, only the ptd and dwAspect members of pFormatEtc are significant, since the object may cache things differently depending on
the parameter values. However, pFormatEtc can legally be NULL here, in which case the object is to assume the display
target device and the DVASPECT_CONTENT aspect.
OLERENDER_FORMAT
The client will pull one format from the object using IDataObject::GetData(). The format of the data to be cached is passed in pFormatEtc, which may not in this case be NULL.
OLERENDER_ASIS
The client is not requesting any locally cached drawing or data retrieval
capabilities in the object. pFormatEtc is ignored for this option. The difference between this and the
OLERENDER_FORMAT value is important in such functions as OleCreateFromData() and OleCreateLinkFromData().
See Also
OleCreate, OleCreateFromData, OleCreateFromFile, OleCreateLink, OleCreateLinkFromData, OleCreateLinkToFile, OleCreateStaticFromData
Related LinksSoftware for Delphi and C++ Builder developers Software for Visual Studio .NET developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference (win32.hlp) Win32 Multimedia Programmer's Reference (mmedia.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 (sock2.hlp) Unix Manual Pages
|