|
|
|
OLE and Data Transfer Structures |
|
Structures |
|
|
DVASPECTINFO
FONTDESC |
OLEUICONVERT
OLEUIEDITLINKS |
|
DVASPECTINFO |
|
The DVASPECTINFO
structure is used in the IViewObject::Draw method to optimize
rendering of an inactive object by making more efficient use of the GDI. The
pvAspect parameter in IViewObject::Draw points to this
structure. |
|
TYPE
DVASPECTINFO
|
|
DVEXTENTINFO |
|
The DVEXTENTINFO
structure is used in IViewObjectEx::GetNaturalExtent. |
|
TYPE
DVEXTENTINFO
|
|
DVTARGETDEVICE |
|
Use the
DVTARGETDEVICE structure to specify information about the target device
for which data is being composed. DVTARGETDEVICE contains enough
information about a Windows target device so a handle to a device context
(hDC) can be created using the Windows CreateDC function. |
|
TYPE
DVTARGETDEVICE |
|
FONTDESC |
|
The FONTDESC structure contains parameters used to create a font object through the OleCreateFontIndirect function.
|
|
TYPE
FONTDESC
|
|
FORMATETC |
|
The FORMATETC
structure is a generalized Clipboard format. It is enhanced to encompass a
target device, the aspect or view of the data, and a storage medium
indicator. Where one might expect to find a Clipboard format, OLE uses a
FORMATETC data structure instead. This structure is used as a parameter
in OLE functions and methods that require data format information. |
|
TYPE
FORMATETC DWORD |
|
OBJECTDESCRIPTOR |
|
The OBJECTDESCRIPTOR structure is the data structure used for the CF_OBJECTDESRIPTOR and CF_LINKSRCDESCRIPTOR file formats. These formats provide user interface information during data transfer operations, for example, the Paste Special dialog box or target feedback information during drag-and-drop operations.
|
|
TYPE
OBJECTDESCRIPTOR
END TYPE
|
|
OLECMD |
|
The OLECMD structure associates command flags from the OLECMDF enumeration with a command identifier through a call to IOleCommandTarget::QueryStatus.
|
|
TYPE OLECMD
|
|
OLECMDTEXT |
|
The OLECMDTEXT structure specifies a text name or status string for a single command identifier. This structure is used with IOleCommandTarget::QueryStatus.
|
|
TYPE OLECMDTEXT
|
|
OLEINPLACEFRAMEINFO |
|
The OLEINPLACEFRAMEINFO structure contains information about the accelerators supported by a container during an in-place session. The structure is used in the IOleInPlaceSite::GetWindowContext method and the OleTranslateAccelerator function.
|
|
TYPE
OLEINPLACEFRAMEINFO |
|
OLEMENUGROUPWIDTHS |
|
The OLEMENUGROUPWIDTHS structure is the mechanism for building a shared menu. It indicates the number of menu items in each of the six menu groups of a menu shared between a container and an object server during an in-place editing session.
|
|
TYPE
OLEMENUGROUPWIDTHS
|
|
OLEUIBUSY |
|
The OLEUIBUSY structure contains information that the OLE User Interface Library uses to initialize the Busy dialog box, and space for the library to return information when the dialog box is dismissed.
|
|
TYPE
OLEUIBUSY
TYPE
OLEUIBUSYW
|
|
OLEUICHANGEICON |
|
The OLEUICHANGEICON structure contains information that the OLE User Interface Library uses to initialize the Change Icon dialog box, and it contains space for the library to return information when the dialog box is dismissed.
|
|
TYPE
OLEUICHANGEICON
TYPE
OLEUICHANGEICONW
|
|
OLEUICHANGESOURCE |
|
This structure is used to initialize the standard Change Source dialog box. It allows the user to modify the destination or source of a link. This may simply entail selecting a different file name for the link, or possibly changing the item reference within the file, for example, changing the destination range of cells within the spreadsheet that the link is to.
|
|
TYPE
OLEUICHANGESOURCE
TYPE
OLEUICHANGESOURCEW
|
|
OLEUICONVERT |
|
The OLEUICONVERT structure contains information that the OLE User Interface Library uses to initialize the Convert dialog box, and space for the library to return information when the dialog box is dismissed.
|
|
TYPE
OLEUICONVERT
' // Specifics for
OLEUICONVERT.
TYPE
OLEUICONVERTW
' // Specifics for
OLEUICONVERT.
|
|
OLEUIEDITLINKS |
|
The OLEUIEDITLINKS structure contains information that the OLE User Interface Library uses to initialize the Edit Links dialog box, and contains space for the library to return information when the dialog box is dismissed.
|
|
TYPE
OLEUIEDITLINKS
' // Specifics for
OLEUIEDITLINKS.
TYPE
OLEUIEDITLINKSW
' // Specifics for
OLEUIEDITLINKS.
|
|
OLEUIGNRLPROPS |
|
This structure is used to initialize the General tab of the Object Properties dialog box. A reference to it is passed in as part of the OLEUIOBJECTPROPS structure to the OleUIObjectProperties function. This tab shows the type and size of an OLE embedding and allows it the user to tunnel to the Convert dialog box. This tab also shows the link destination if the object is a link.
|
|
TYPE
OLEUIGNRLPROPS
|
|
OLEUIINSERTOBJECT |
|
The OLEUIINSERTOBJECT structure contains information that the OLE User Interface Library uses to initialize the Insert Object dialog box, and space for the library to return information when the dialog box is dismissed.
|
|
TYPE
OLEUIINSERTOBJECT TYPE
OLEUIINSERTOBJECTW |
|
OLEUILINKPROPS |
|
This structure is used to initialize the Link tab of the Object Properties dialog box. A reference to it is passed in as part of the OLEUIOBJECTPROPS structure to the OleUIObjectProperties function. This tab shows the location, update status, and update time for a link. It allows the user to change the source of the link, toggle its update status between automatic and manual update, open the source, force an update of the link, or break the link (convert it to a static picture).
|
|
TYPE
OLEUILINKPROPS
|
|
OLEUIOBJECTPROPS |
|
This structure is used to initialize the standard Object Properties dialog box. It contains references to interfaces used to gather information about the embedding or link, references to three structures that are used to initialize the default tabs General (OLEUIGNRLPROPS), View (OLEUIVIEWPROPS), and Link (OLEUILINKPROPS), if appropriate and a standard property-sheet extensibility interface that allows the caller to add additional custom property sheets to the dialog box.
|
|
TYPE
OLEUIOBJECTPROPS
|
|
OLEUIPASTEENTRY |
|
An array of OLEUIPASTEENTRY structures is used in OLEUIPASTESPECIAL. Each entry includes a FORMATETC which specifies the formats that are acceptable, a string that is to represent the format in the dialog box's listbox, a string to customize the result text of the dialog box, and a set of flags from the OLEUIPASTEFLAG enumeration.
|
|
TYPE
OLEUIPASTEENTRY
TYPE
OLEUIPASTEENTRYW |
|
OLEUIPASTESPECIAL |
|
The OLEUIPASTESPECIAL structure contains information that the OLE User Interface Library uses to initialize the Paste Special dialog box, as well as space for the library to return information when the dialog box is dismissed.
|
|
TYPE
OLEUIPASTESPECIAL
TYPE
OLEUIPASTESPECIALW
|
|
OLEVERB |
|
The OLEVERB
structure defines a verb that an object supports. The
IOleObject::EnumVerbs method creates an enumerator that can enumerate
these structures for an object, and supplies a pointer to the enumerator's
IEnumOLEVERB. |
|
TYPE
OLEVERB
|
|
POINTF |
|
The POINTF
structure is used in the IOleControlSite::TransformCoords method to
convert between container units, expressed in floating point, and control
units, expressed in HIMETRIC. The POINTF structure specifically holds
the floating point container units. Controls do not attempt to interpret
either value in the structure. |
|
TYPE
POINTF
|
|
STATDATA |
|
The STATDATA
structure is the data structure used to specify each advisory connection. It
is used for enumerating current advisory connections. It holds data returned
by the IEnumSTATDATA enumerator. This enumerator interface is
returned by IDataObject:DAdvise. Each advisory connection is
specified by a unique STATDATA structure. |
|
TYPE
STATDATA |
|
STGMEDIUM |
|
The STGMEDIUM
structure is a generalized global memory handle used for data transfer
operations by the IAdviseSink, IDataObject, and IOleCache
interfaces. |
|
UNION
STGMEDIUMDATA |
Page last updated on Monday, 11 December 2006 00:38:53 +0100