Converts an object to a new type. This call does reload the object but does not force an update; the caller must do this.
HRESULT ConvertObject(
LONG iob,
REFCLSID rclsidNew,
LPCSTR lpstrUserTypeNew
);
Returns success status. Use GetScode to retrieve an SCODE. Can be S_OK on success or E_INVALIDARG if the index is invalid, or an SCODE returned from OLE.
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