Returns information from a REOBJECT structure about an object in a rich edit control.
HRESULT GetObject(
LONG iob,
REOBJECT FAR *lpreobject,
DWORD dwFlags
);
REO_GETOBJ_POLEOBJ | Get OLE object interface. |
REO_GETOBJ_PSTG | Get Storage interface. |
REO_GETOBJ_POLESITE | Get OLE site interface. |
REO_GETOBJ_NO_INTERFACES | Get no interfaces. |
REO_GETOBJ_ALL_INTERFACES | Get all interfaces. |
Returns success status. Use GetScode to retrieve an SCODE. Can be S_OK on success or E_INVALIDARG if no buffer for the REOBJECT structure was given, or the iob or character position is invalid.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in richole.h.
Rich Edit Controls Overview, Rich Edit OLE Interfaces, IRichEditOle, REOBJECT