Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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.



Community Additions

© 2015 Microsoft