FilterDataObject method

Enables the host to replace the MSHTML data object.


HRESULT retVal = object.FilterDataObject(pDO, ppDORet);


pDO [in]

Type: IDataObject

A pointer to an IDataObject interface supplied by MSHTML.

ppDORet [out]

Type: IDataObject

A pointer variable that receives an IDataObject interface pointer supplied by the host.


This method enables the host to block certain clipboard formats or to support additional clipboard formats.

If the implementation of this method does not supply its own IDataObject, set ppDORet to NULL, even if the method fails or returns S_FALSE.