Поделиться через


CHtmlView::OnFilterDataObject

Called on the host by Internet Explorer or MSHTML to allow the host to replace Internet Explorer or MSHTML's data object.

virtual HRESULT OnFilterDataObject(
   LPDATAOBJECT pDataObject,
   LPDATAOBJECT* ppDataObject 
);

Параметры

  • pDataObject
    Address of the IDataObject interface supplied by Internet Explorer or MSHTML.

  • ppDataObject
    Address that receives the IDataObject interface pointer supplied by the host. The contents of this parameter should always be initialized to NULL, even if the method fails.

Возвращаемое значение

S_OK if the data object is replaced, S_FALSE if the data object is not replaced, or an OLE-defined error code if an error occurs.

Заметки

Override OnFilterDataObject to react to the FilterDataObject notification from the Microsoft Web Browser control. See IDocHostUIHandler::FilterDataObject in the Windows SDK for more information.

Требования

Header: afxhtml.h

См. также

Основные понятия

CHtmlView Class

CHtmlView Members

Hierarchy Chart