OLERENDER
The OLERENDER
enumeration constants are used in the various object creation 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. The pFormatEtc parameter of the calls is ignored when this value
is specified for the renderopts parameter.
OLERENDER_DRAW
The client
will draw the content of the object on the screen (a NULL target device) using IViewObject:Draw
OLERENDER_FORMAT
The client
will pull one format from the object using IDataObject::GetData
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
See Also