REOBJECT structure (richole.h)
Contains information about an OLE or image object in a rich edit control.
Syntax
typedef struct _reobject {
DWORD cbStruct;
LONG cp;
CLSID clsid;
LPOLEOBJECT poleobj;
LPSTORAGE pstg;
LPOLECLIENTSITE polesite;
SIZEL sizel;
DWORD dvaspect;
DWORD dwFlags;
DWORD dwUser;
} REOBJECT;
Members
cbStruct
Type: DWORD
Structure size, in bytes.
cp
Type: LONG
Character position of the object.
clsid
Type: CLSID
Class identifier of the object.
poleobj
Type: LPOLEOBJECT
An instance of the IOleObject interface for the object.
pstg
Type: LPSTORAGE
An instance of the IStorage interface. This is the storage object associated with the object.
polesite
Type: LPOLECLIENTSITE
An instance of the IOleClientSite interface. This is the object's client site in the rich edit control. This address must have been obtained from the GetClientSite method.
sizel
Type: SIZEL
The size of the object. The unit of measure is 0.01 millimeters, which is a HIMETRIC measurement. For more information, see function GetMapMode. A 0, 0 on insertion indicates that an object is free to determine its size until the modify flag is turned off.
dvaspect
Type: DWORD
Display aspect used. See DVASPECT for an explanation of possible values.
dwFlags
Type: DWORD
Object status flag. It can be a combination of the following values.
dwUser
Type: DWORD
Reserved for user-defined values.
Remarks
An OLE or image object in a rich edit control occupies one character position in the plain text part of the in-memory backing store and have the value U+FFFC. They differ from "in-line objects" such as math objects. In-line objects occupy at least two character positions because they have an in-line object start delimiter (U+FDD0) and end delimiter (U+FDEF).
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | richole.h |
See also
Reference