Inserts an object into a rich edit control.
HRESULT InsertObject(
REOBJECT FAR *lpreobject
);
Returns success status. Use GetScode to retrieve an SCODE. Can be S_OK on success or E_OUTOFMEMORY if memory could not be allocated to insert the object.
If the cp member of the REOBJECT structure is REO_CP_SELECTION, the selection is replaced with the specified object.
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