Queries the application as to whether an object should be inserted. This member is called when pasting and when reading RTF.
HRESULT QueryInsertObject(
LPCLSID lpclsid,
LPSTORAGE lpstg,
LONG cp
);
Returns success status. If the SCODE of the result is not S_OK, the object is not inserted.
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, IRichEditOleCallback