|
|
|
OLE and Data Transfer Enumerations |
|
Enumerations |
|
|
ACTIVATEFLAGS |
OLECONTF |
|
ACTIVATEFLAGS |
|
The ACTIVATEFLAGS enumeration
value indicates whether an object is activated as a windowless object. It is
used in IOleInPlaceSiteEx::OnInPlaceActivateEx. |
|
%ACTIVATE_WINDOWLESS
= 1 |
|
ADVF |
|
The ADVF
enumeration values are flags used by a container object to specify the
requested behavior when setting up an advise sink or a caching connection
with an object. These values have different meanings, depending on the type
of connection in which they are used, and each interface uses its own subset
of the flags. |
|
%ADVF_NODATA = 1 |
|
DATADIR |
|
The DATADIR enumeration values specify the direction of the data flow in the dwDirection parameter of the IDataObject::EnumFormatEtc method. This determines the formats that the resulting enumerator can enumerate.
|
|
%DATADIR_GET = 1 |
|
DISCARDCACHE |
|
The DISCARDCACHE enumeration values are used in the IOleCache2::DiscardCache method to specify what to do with caches that are to be discarded from memory if their dirty bit has been set. The dwDiscardOptions parameter specifies whether or not to save these caches.
|
|
%DISCARDCACHE_SAVEIFDIRTY = 0 |
|
DOCMISC |
|
The DOCMISC enumeration provides miscellaneous property information about a document object. A combination of values from DOCMISC is returned at the location specified by the pdwStatus parameter in IOleDocument::GetDocMiscStatus.
|
|
%DOCMISC_CANCREATEMULTIPLEVIEWS = 1 |
|
DROPEFFECT |
|
The DoDragDrop function and many of the methods in the IDropSource and IDropTarget interfaces pass information about the effects of a drag-and-drop operation in a DROPEFFECT enumeration.
|
|
%DROPEFFECT_NONE = 0 |
|
DVASPECT |
|
The DVASPECT enumeration values specify the desired data or view aspect of the object when drawing or getting data.
|
|
%DVASPECT_CONTENT = 1 |
|
DVASPECT2 |
|
The DVASPECT2 enumeration value is used in IViewObject::Draw to specify new drawing aspects used to optimize the drawing process.
|
|
%DVASPECT_OPAQUE = 16 |
|
DVASPECTINFOFLAG |
|
The DVASPECTINFOFLAG enumeration value is used in the DVASPECTINFO structure to indicate whether an object can support optimized drawing of itself.
|
|
%DVASPECTINFOFLAG_CANOPTIMIZE = 1
|
|
DVEXTENTMODE |
|
The DVEXTENTMODE enumeration values are used in IViewObjectEx::GetNaturalExtent.
|
|
%DVEXTENT_CONTENT = 0 |
|
HITRESULT |
|
The HITRESULT enumeration values are used in IViewObjectEx::QueryHitPoint and IViewObjectEx::QueryHitRect.
|
|
%HITRESULT_OUTSIDE =
0 |
|
OLECLOSE |
|
The OLECLOSE enumeration constants are used in the IOleObject::Close method to determine whether the object should be saved before closing.
|
|
%OLECLOSE_SAVEIFDIRTY
= 0
|
|
OLECMDEXECOPT |
|
The OLECMDEXECOPT enumeration specifies command execution options. One value from this enumeration is passed in the nCmdExecOpt argument of IOleCommandTarget::Exec.
|
|
%OLECMDEXECOPT_DODEFAULT = 0
|
|
OLECMDF |
|
The OLECMDF enumeration designates the type of support provided by an object for the command specified in an OLECMD structure.
|
|
%OLECMDF_SUPPORTED =
1
|
|
OLECMDID |
|
The OLECMDID enumeration specifies which command to execute. (The commands in this enumeration are the standard commands defined by Office 95.) A single value from this enumeration is passed in the nCmdID argument of IOleCommandTarget::Exec.
|
|
%OLECMDID_OPEN = 1
|
|
OLECMDTEXTF |
|
The OLECMDTEXTF enumeration specifies the type of information that an object should store in the OLECMDTEXT structure passed in IOleCommandTarget::QueryStatus. One value from this enumeration is stored the cmdtextf member of the OLECMDTEXT structure to indicate the desired information.
|
|
%OLECMDTEXTF_NONE = 0
|
|
OLECONTF |
|
The OLECONTF enumeration indicates the kind of objects to be enumerated by the returned IEnumUnknown interface. OLECONTF contains a set of bitwise constants used in the IOleContainer::EnumObjects method.
|
|
%OLECONTF_EMBEDDINGS
= 1
|
|
OLECREATE |
|
Values from the OLECREATE enumeration are passed as the dwFlags parameter to the OleCreateXXX functions to indicate how the creation operation should proceed.
|
|
%OLECREATE_LEAVERUNNING = 1
|
|
OLEDCFLAGS |
|
The OLEDCFLAGS enumeration value supplies additional information to the container about the device context that the object has requested. It is used in IOleInPlaceSiteWindowless::GetDC.
|
|
%OLEDC_NODRAW = &H1
|
|
OLEGETMONIKER |
|
The OLEGETMONIKER enumeration constants indicate the requested behavior of the IOleObject::GetMoniker and IOleClientSite::GetMoniker methods.
|
|
%OLEGETMONIKER_ONLYIFTHERE = 1
|
|
OLELINKBIND |
|
The OLELINKBIND enumeration constants control binding operations to a link source. They are used in the IOleLink::BindToSource method.
|
|
%OLELINKBIND_EVENIFCLASSDIFF = 1
|
|
OLEMISC |
|
The OLEMISC enumeration is a set of bitwise constants that can be combined to describe miscellaneous characteristics of an object or class of objects. A container can call the IOleObject::GetMiscStatus method to determine the OLEMISC bits set for an object. The values specified in an object server's CLSID\MiscStatus entry in the registration database are based on the OLEMISC enumeration. These constants are also used in the dwStatus member of the OBJECTDESCRIPTOR structure.
|
|
%OLEMISC_RECOMPOSEONRESIZE = &H1
|
|
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.
|
|
%OLERENDER_NONE = 0
|
|
OLEUIPASTEFLAG |
|
This enumeration is used to indicate the user options that are available to the user when pasting this format, and within which group or list of choices (Paste, Paste Link, etc.) this entry is to be available. OLEUIPASTEFLAG is used by the OLEUIPASTEENTRY structure.
|
|
%OLEUIPASTE_ENABLEICON = 2048
|
|
OLEUPDATE |
|
The OLEUPDATE enumeration constants are used to indicate whether the linked object updates the cached data for the linked object automatically or only when the container calls either the IOleObject::Update or IOleLink::Update methods. The constants are used in the IOleLink interface.
|
|
%OLEUPDATE_ALWAYS = 1
|
|
OLEVERBATTRIB |
|
The OLEVERBATTRIB enumeration constants are used in the OLEVERB structure to describe the attributes of a specified verb for an object. Values are used in the enumerator (which supports the IEnumOLEVERB interface) that is created by a call to IOleObject::EnumVerbs.
|
|
%OLEVERBATTRIB_NEVERDIRTIES = 1
|
|
OLEWHICHMK |
|
The OLEWHICHMK enumeration constants indicate which part of an object's moniker is being set or retrieved. These constants are used in the IOleObject and IOleClientSite interfaces.
|
|
%OLEWHICHMK_CONTAINER
= 1
|
|
TYMED |
|
The TYMED enumeration values indicate the type of storage medium being used in a data transfer. They are used in the STGMEDIUM or FORMATETC structures.
|
|
%TYMED_HGLOBAL = 1
|
|
UASFLAGS |
|
The UASFLAGS enumeration value supplies information about the parent undo unit. It is used in IOleParentUndoUnit::GetParentState.
|
|
%UAS_NORMAL = 0
|
|
USERCLASSTYPE |
|
The USERCLASSTYPE enumeration constants indicate the different variants of the display name associated with a class of objects. They are used in the IOleObject::GetUserType method and the OleRegGetUserType function.
|
|
%USERCLASSTYPE_FULL =
1
|
|
VIEWSTATUS |
|
The VIEWSTATUS enumeration is used in IViewObjectEx::GetViewStatus to specify the opacity of the object and the drawing aspects supported by the object.
|
|
%VIEWSTATUS_OPAQUE =
1
|
Page last updated on Tuesday, 29 August 2006 03:10:54 +0200