virtual HRESULT QueryAcceptData( LPDATAOBJECT lpdataobj, CLIPFORMAT FAR * lpcfFormat, DWORD dwReco, BOOL bReally, HGLOBAL hMetaFile );
Return Value
An HRESULT value reporting the success of the operation.
Parameters
lpdataobj
Pointer to the IDataObject to query.
lpcfFormat
Pointer to the acceptable data format.
dwReco
Not used.
bReally
Indicates if the paste operation should continue or not.
hMetaFile
A handle to the metafile used for drawing the item’s icon.
Remarks
Called by the framework to paste an object into the rich edit. Override this function to handle different organization of COM items in your derived document class. This is an advanced overridable.
For more information on HRESULT and IDataObject, see Structure of COM Error Codes and IDataObject, respectively, in the Platform SDK.