共用方式為


FilterDataObject method

Enables the host to replace the MSHTML data object.

Syntax

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

Parameters

Remarks

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.