共用方式為


Other MSHTML Interfaces

This section lists additional interfaces defined by MSHTML.IDL.

In this section

Topic Description

DWebBrowserEvents

Designates an event sink interface that an application must implement to receive event notifications from a WebBrowser control or from the Windows Internet Explorer application. Note that not all of the following events are supported by the WebBrowser control.

DWebBrowserEvents2

Designates an event sink interface that an application must implement to receive event notifications from a WebBrowser control or from the Internet Explorer application. Note that not all of the following events are supported by the WebBrowser control.

IAnimationComposer

Provides methods for the animation composer.

IAnimationComposer2

Extends the IAnimationComposer interface by providing initialization from a fragment.

IAnimationComposerFactory

Note   IAnimationComposerFactory may be altered or unavailable in subsequent versions of the operating system or product.
 

Provides a method to find an animation composer object.

IAnimationComposerSite

Provides methods to support the animation composer site.

IAnimationComposerSiteSink

Provides additional methods to support the animation composer site.

IAnimationFragment

Note   IAnimationFragment may be altered or unavailable in subsequent versions of the operating system or product.
 

Provides methods to support animation fragments.

IAnimationRoot

Provides methods to support the animation root.

IBFCacheable

Provides access to the EnterBFCache and ExitBFCache methods.

ICaretPositionProvider

Implemented by the ActiveX control to provide caret position for accessibility purposes.

IClassFactory3

Extends IClassFactory to create Component Object Model (COM) objects that share a common context.

IChannelMgr

Obsolete. Provides the ability to add and delete Active Channels and channel categories in the desktop channel bar.

ICodeStoreDB

Provides methods to enumerate and modify a code store database.

ICodeStoreDBEntry

Provides methods to enumerate and modify entries.

ICreateJavaPackageManager

Provides a method to create a Java package manager.

ICustomDoc

Enables a host to set the MSHTML IDocHostUIHandler interface.

ICSSFilter

Not supported.

ICSSFilterDispatch

Provides methods and properties to manipulate an effect.

ICSSFilterSite

Not supported.

IDataFilter

Provides methods that are used to compress and uncompress data in a pluggable protocol.

IDeleteBrowsingHistory

Notifies third-party extensions when browsing history is deleted by the user.

IDeskBand

Gets information about a band object.

IDeveloperConsoleMessageReceiver

The IDeveloperConsoleMessageReceiver interface is implemented by client applications that wish to receive console log messages from Internet Explorer.

IDisplayPointer

Provides methods that control display pointers so that you can mark sections of an HTML document for editing based on the on-screen rendering of a document.

IDisplayServices

Provides methods that enable the user to work with display pointers and the insertion point as they relate to the on-screen layout.

IDocHostShowUI

Supplies a mechanism to display message boxes and Help.

IDocHostUIHandler

Enables an application that is hosting the WebBrowser Control or automating Internet Explorer to replace the menus, toolbars, and context menus used by MSHTML.

IDocHostUIHandler2

Extends IDocHostUIHandler with a method that facilitates Internet Explorer registry changes.

IDocObjectService

Deprecated. Provides navigation event methods.

IDOMParserFactory

Instantiates the DOMParser object.

IDOMXmlSerializerFactory

Instantiates the IDOMXmlSerializer object.

IDownloadManager

Provides access to the method of a custom download manager object that Internet Explorer and WebBrowser applications use to download a file.

IElementBehavior

Provides a notification mechanism so that MSHTML can communicate with a behavior.

IElementBehaviorCategory

Identifies a Dynamic HTML (DHTML) behavior by category.

IElementBehaviorFactory

Provides a standard mechanism for MSHTML to locate and instantiate a DHTML behavior.

IElementBehaviorFocus

Enables an element behavior to provide its own focus rectangle.

IElementBehaviorLayout

Implemented by a binary element behavior to use in the layout process.

IElementBehaviorLayout2

Extends the IElementBehaviorLayout interface, which enables binary behaviors to participate in the layout process.

IElementBehaviorRender

TEnables a DHTML behavior to participate in the rendering of text and objects.

IElementBehaviorSite

Provides communication between MSHTML and a DHTML behavior.

IElementBehaviorSiteCategory

Provides DHTML behaviors with a way to identify other behaviors by category.

IElementBehaviorSiteLayout

Allows behaviors to control the layout process.

IElementBehaviorSiteLayout2

Extends the IElementBehaviorSiteLayout interface, which enables behaviors to control the layout process.

IElementBehaviorSiteOM

Provides event services to DHTML behaviors.

IElementBehaviorSiteOM2

Enables binary element behaviors to get the default values.

IElementBehaviorSiteRender

Enables an element behavior to receive notification of changes in the rendering environment.

IElementBehaviorSubmit

Enables the element behaviors that reside in a form to submit data.

IElementNamespace

Provides a standard mechanism for creating an element behavior.

IElementNamespaceFactory

Provides a standard mechanism to create element behaviors for a namespace.

IElementNamespaceFactory2

Extends IElementNamespaceFactory and provides a standard mechanism for creating an element behavior for a specific namespace and implementation.

IElementNamespaceFactoryCallback

Provides a standard mechanism for hosts of MSHTML to resolve tag names.

IElementNamespaceTable

Provides a mechanism for an MSHTML host to add its own namespaces and to create tags for those namespaces.

IElementSegment

This interface provides methods that control a fragment of HTML markup in the current editable selection that consists of a single element.

IEncodingFilterFactory

IEnumChannels

Obsolete. Handles channel enumeration, and is obtained by calling IChannelMgr::EnumChannels.

IEnumCodeStoreDBEntry

Provides code store enumeration methods.

IEnumHLItem

Note   IEnumHLItem may be altered or unavailable in subsequent versions of the operating system or product.
 

Not supported.

IEnumItemProperties

Obsolete. Handles the enumeration of subscription item properties, and is obtained by calling ISubscriptionItem::EnumProperties.

IEnumJavaFile

Provides Java file enumeration methods.

IEnumJavaPackage

Provides Java package enumeration methods.

IEnumOpenServiceActivity

Enumerates all OpenService Accelerator objects.

IEnumOpenServiceActivityCategory

Enumerates all OpenService Accelerator categories.

IEnumPrivacyRecords

Provides methods to access privacy records for URLs visited.

IEnumSTATURL

Enumerates the items in the Internet Explorer history.

IEnumSubscription

Obsolete. Allows a client program to enumerate subscription information, and is obtained by calling ISubscriptionMgr2::EnumSubscriptions.

IEnumTravelLogEntry

Provides methods to perform a travel log enumeration.

IErrorlog

Communicates detailed error information between a client and an object.

IExtensionServices

Note   IExtensionServices may be altered or unavailable in subsequent versions of the operating system or product.
 

Exposes methods that provide additional information to an HTTP request.

IExtensionValidation

For Internet Explorer 11, specifies an interface the anti-malware vendors can implement.

IFilterAnimationInfo

Provides a method to retrieve filter animation information.

IHeaderFooter

Implements print template properties.

IHeaderFooter2

Extends IHeaderFooter.

IHighlightRenderingServices

This interface provides methods that enable you to control which sections of a document are highlighted on the screen and the style of highlighting.

IHighlightSegment

This interface enables you to control a highlighted section of a document.

IHostBehaviorInit

Enables the host application to populate the namespace table for the current document.

IHTCAttachBehavior2

Provides a method to fire an event.

IHTCDefaultDispatch

Provides methods to create an event object and to retrieve a dispatch.

IHTCDescBehavior

Provides properties to help describe behavior.

IHTCMethodBehavior

Note   IHTCMethodBehavior may be altered or unavailable in subsequent versions of the operating system or product.
 

This interface contains no methods or properties.

IHTCPropertyBehavior

Provides a method and a property to help fire a change.

IHTMLAppBehavior2

IHTMLAppBehavior3

IHTMLCaret

Provides methods that control the insertion point (caret) in the editor.

IHTMLChangeLog

Provides a method to get information stored in a change log about the changes in a markup container.

IHTMLChangePlayback

Provides a method to play back change records from a change log.

IHTMLChangeSink

Provides notification when a change has occurred in the contents of a markup container.

IHTMLDOMConstructorCollection

Returns a reference to the constructor for objects derived from the interface objects supported by the Internet Explorer Document Object Model (DOM).

IHTMLDXTransform

Provides a method to set the host URL.

IHTMLEditDesigner

Provides methods that enable clients using the editor to intercept Internet Explorer events so that they can change the default behavior of the editor.

IHTMLEditHost

Provides a method to customize the way that elements are resized and moved.

SnapRect

Called by MSHTML whenever a selected element is resized or moved in the editor.

IHTMLEditHost2

Extends IHTMLEditHost with a method that enables you to intercept drag-and-drop operations at a stage earlier than the HTMLFrameSiteEvents::ondragstart event.

IHTMLEditServices

Provides methods that enable you to add or remove edit designers, and to control the current selection.

IHTMLEditServices2

Extends IHTMLEditServices.

IHTMLElementRender

Use this interface to draw the contents of an element to a specified device context, normally a printer.

IHTMLElementAppliedStyles

Provides methods to rules that are applied to an element.

IHTMLIPrintCollection

Provides methods and properties to support a collection of IPrint interface pointers.

IHTMLModelessInit

Not currently supported.

IHTMLOMWindowServices

Enables applications that are hosting the WebBrowser Control to intercept the window object calls for manipulating the host window coordinates from DHTML script.

IHTMLOptionsHolder

This interface provides the access methods to pass and control the contents and characteristics of a dialog window.

IHTMLPainter

This custom interface provides methods to MSHTML so that it can draw a rendering behavior.

IHTMLPainterEventInfo

This custom interface provides methods to MSHTML so that a rendering behavior can provide certain special event handling.

IHTMLPainterOverlay

This custom interface provides a method to MSHTML that enables a rendering behavior to use the Microsoft DirectDraw hardware overlay buffer, if the buffer is present.

IHTMLPaintSite

This interface provides methods that enable a rendering behavior to communicate with MSHTML from within the behavior's implementation of the IHTMLPainter::Draw and IHTMLPainter::HitTestPoint methods.

IHTMLRenderStyle

This interface controls the appearance of the object while it is rendered and retrieves information about the appearance of a rendered object.

IHTMLSubmitData

Allows element behaviors to add to the form submission data sent to a server.

IIE80DispatchEx

Implements the IDispatchEx interface for IE8 Standards mode.

IIE70DispatchEx

Implements the IDispatchEx interface for IE7 Standards mode.

IImmersiveUIHandlerSite

Provides suspension exemption management.

IIMEServices

This interface enables an Active Input Method Editor to access the Active Input Method Manager.

ILineInfo

This interface provides properties that contain information about a line of text in a rendered HTML document.

IMarkupContainer

This interface is an object representing the organization of elements and text in a page.

IMarkupContainer2

This interface provides methods that control a markup container.

IMarkupPointer

This interface, along with the IMarkupServices interface, allows the contents of the page to be programmatically manipulated from your C++ program.

IMarkupPointer2

This interface provides methods that move a markup pointer within a markup container and gather information about the contents of the container.

IMarkupServices

This interface, along with the IMarkupPointer interface, allows the contents of the page to be programmatically manipulated from your C++ program.

IMarkupServices2

This interface provides methods, along with the IMarkupContainer2 and IMarkupPointer2 interfaces, that enable you to edit the contents of an HTML document from your C++ program.

IMarkupTextFrags

This interface provides methods that enable you to insert and remove text from a markup container that is not a part of the actual markup in the container. These text fragments are attached to the content of a markup container, but are not a part of the container itself. They are not represented in the tree for the document. They are, however, saved to the document when the document is saved (for instance, by sending the command IDM_SAVE or IDM_SAVEAS through the IOleCommandTarget interface).

InternetExplorer

Controls an instance of Internet Explorer through automation.

IPrintManagerTemplatePrinter

Called by print template to start the printing process. This must be called to enable preview and printing.

IPrintManagerTemplatePrinter2

Extends the IPrintManagerTemplatePrinter interface by exposing additional print options.

IRulesApplied

Provides access to the CSS style rules that are applied to an element.

IRulesAppliedCollection

Provides access to a collection of rules that have been applied to an element.

ISecureUrlHost

Provides a method to validate a secure URL.

ISegment

This interface provides a method that creates containers (segments) for fragments of HTML markup in the current editable selection. These segments can include both a range of elements and element fragments.

ISegmentList

This interface provides methods that access information about a list of the segments in the current selection.

ISegmentListIterator

This interface provides methods that enable you to traverse a segment list represented by an ISegmentList interface and retrieve its individual members.

ISelectionServices

This interface provides methods to programmatically clear, add content to, and remove content from the selection object.

ISelectionServicesListener

This custom interface provides methods that the editing component of MSHTML calls whenever certain events fire for a selection object that has a registered ISelectionServicesListener interface. This interface provides processing for undo events, for selection type changes, and whenever the mouse pointer exits the scope of an element in the editable selection. An application should supply an implementation of this interface for a selection object so that the editing component of MSHTML can respond to these events.

ISequenceNumber

Provides a method to get a sequence number.

ISurfacePresenter

Provides methods to implement chains of presentation buffers.

ISurfacePresenterFlip

Interface for the presenter returned from CreateSurfacePresenterFlip. Represents a swap chain similar to IDXGISwapChain, and is used in a similar fashion.

ISurfacePresenterFlip2

Extends the functionality of the ISurfacePresenterFlip interface.

ISurfacePresenterFlipBuffer

Shared buffer between Internet Explorer (MSHTML) and the ActiveX control.

ITargetFrame2

Provides methods for getting and setting frame data.

ITemplatePrinter

Provides a print template with access to page setup and printer settings, as well as control over print jobs initiated from the template.

ITemplatePrinter2

Provides a print template with access to page setup and printer settings, as well as control over print jobs initiated from the template.

ITemplatePrinter3

Extends ITemplatePrinter2 to retrieve author-specified page margins and to modify the font used for page header and footer.

ITIMEMediaPlayer

Obsolete. Enables access to the sound properties of the player.

ITridentTouchInput

Implemented by the ActiveX control to receive touch input.

ITridentTouchInputSite

Provides management for touch manipulation of the ActiveX control.

IViewObjectPresentFlip

Interface implemented by an ActiveX control in order to use the ISurfacePresenterFlip mechanism for enabling efficient, rotation-aware Microsoft Direct3D 11 presentation.

IViewObjectPresentFlip2

Extends the functionality of the IViewObjectPresentFlip interface (to be implemented by ActiveX controls using the ISurfacePresenterFlip mechanism).

IViewObjectPresentFlipSite

Entry point to using the ISurfacePresenterFlip mechanism for enabling efficient, rotation-aware ActiveX controls using Direct3D 11 (and above) presentation.

IViewObjectPresentFlipSite2

Adds functionality to the IViewObjectPresentFlipSite interface (for enabling efficient, rotation-aware ActiveX controls using Direct3D 11+ presentation).

IViewObjectPresentNotify

Provides an interface that provides a mechanism for the host to notify the control when a frame has started rendering.

IViewObjectPresentNotifySite

Provides an interface for ISurfacePresenter-aware ActiveX controls that allow the control to synchronize presentation with the host.

IViewObjectPresentSite

Provides an interface to the OLE swap chain to enable ActiveX controls to use hardware acceleration to render by using the ISurfacePresenter interface.

IViewObjectPrint

Allows an ActiveX control to specify a bitmap to be sent to the printer at print time. If implemented, when Windows Internet Explorer 9 prints a page, the interface will be called to get the bitmap.

IWebBridge

Provides properties and methods for the web bridge. Used with scriptlets. See Security and Compatibility in Internet Explorer 7 regarding the use of scriptlets.

IWebBrowser2

Exposes methods that are implemented by the WebBrowser control (Microsoft ActiveX control) or implemented by an instance of the InternetExplorer application (OLE Automation). For the Microsoft .NET Framework version of this control, see WebBrowser Control (Windows Forms).

IWebBrowserEventsService

Exposes methods used to raise WebBrowser navigation events.

IWebBrowserEventsUrlService

Exposes methods used to provide the current URL to fire WebBrowser navigation events.

IWrappedProtocol

IXMLGenericParse

Provides a method to specify whether to do a generic parse.

IZoomEvents

Provides a method that notifies hosts of changes in the zoom state.

 

Scripting Object Interfaces