What's New in Internet Explorer 9 (C++)
This page lists the new API added in Internet Explorer 9 for C++ developers.
Functions
IETrackingProtectionEnabledDetermines whether Tracking Protection is enabled.
TriggerFileDownloadDirects Internet Explorer to download a file.
Interfaces
ICanvasGradientSpecifies an object that represents a color gradient on a CanvasRenderingContext2D object.
ICanvasImageDataProvides an object that can represent a rectangle of pixels of a given width and height.
ICanvasPatternProvides a pattern for the fill style by using an image or portion of an image.
ICanvasPixelArrayProvides indexed access to the color components of each pixel of image data.
ICanvasPixelArrayDataProvides an interface to the ICanvasPixelArrayData::GetBufferPointer method, which allows native code (such as an ActiveX control, Browser Help Object (BHO), or WebBrowser control (WebOC) host) access to the CanvasPixelArray
ICanvasRenderingContext2DProvides an object that represents a two-dimensional surface that has an origin (0,0) at the upper-left corner, with x-coordinates increasing as you move right and y-coordinates increasing as you move down.
ICanvasTextMetricsDefines an object that the ICanvasRenderingContext2D::measureText method returns.
IDocumentEventExposes a mechanism whereby the user can create an event object.
IDocumentRangeDefines a range interface that is implemented on the document object.
IDocumentTraversalProvides a way to traverse a filtered list of nodes either in a flat or tree-structured representation.
IDOMBeforeUnloadEventProvides a way to warn the user before a document is unloaded.
IDOMCompositionEventProvides contextual information that is associated with text-composition events.
IDOMCustomEventProvides properties and methods for user-defined custom events.
IDOMDocumentTypeProvides properties that describe the document type of a document object.
IDOMDragEventProvides properties and methods for drag-and-drop events.
IDOMEventProvides properties and methods that are common to all Document Object Model (DOM) events.
IDOMExceptionDescribes errors thrown by DOM operations.
IDOMFocusEventProvides properties and methods for events that are caused by changes in element focus.
IDOMKeyboardEventProvides properties and methods for keystroke events.
IDOMMessageEventProvides properties and methods for cross-document messaging (XDM) events.
IDOMMouseEventProvides properties and methods for mouse pointer events.
IDOMMouseWheelEventProvides properties and methods for mouse wheel movement.
IDOMMutationEventProvides properties and methods for changes to the DOM structure.
IDOMNodeIteratorProvides an object that can be used to traverse filtered lists of nodes or elements by using a flat, logical representation of the document structure. The IDOMNodeIterator is dynamic, reflecting the state of the document as it is edited or changed.
IDOMParserInterface that converts strings of serialized XML source code into a DOM trees.
IDOMParserFactoryInstantiates the DOMParser object.
IDOMProcessingInstructionProvides properties that represent a processing instruction for XML documents.
IDOMSiteModeEventProvides event properties that are specific to pinned site events.
IDOMStorageEventProvides properties and methods for DOM storage events.
IDOMTextEventProvides specific contextual information that is associated with text events.
IDOMTreeWalkerProvides an object that can be used to traverse a filtered hierarchy of nodes or elements in a document. This interface is ideal for navigating a representation of the document's tree structure. The IDOMTreeWalker is dynamic and reflects the state of the document as it is edited or changed.
IDOMUIEventProvides properties and methods that are common to UIevents.
IDOMWheelEventImplements methods and properties that are unique to wheel rotation events.
IDOMXmlSerializerProvides a method that converts nodes in a DOM tree to an XML string.
IDOMXmlSerializerFactoryInstantiates the IDOMXmlSerializer object.
IElementTraversalProvides properties for traversing elements in a document. Conceptually, using this property is the same as using a NodeIterator that filters out everthing except for elements. Because traversing elements is the most common use case for developers, this property offers a simpler interface API.
IEventExceptionDescribes errors thrown by event operations.
IEventTargetImplements methods to register, unregister, and dispatch DOM events.
IGetSVGDocumentThis interface provides methods that allow access to Scalable Vector Graphics (SVG) documents displayed in a webpage.
IHTMLAttributeCollection4Provides programmatic access to items in an element's attribute collection. This interface extends the IHTMLAttributeCollection3 interface.
IHTMLAudioElementSpecifies the sound or audio content, such as music or effects, to be played in a webpage.
IHTMLAudioElementFactoryThis interface is used to create new instances of the IHTMLAudioElement.
IHTMLBodyElement4This interface extends the IHTMLBodyElement3 interface.
IHTMLButtonElement2Contains methods and properties that you can use to render button elements in a webpage. This interface extends the IHTMLButtonElement interface.
IHTMLCanvasElementProvides an interface to implement methods and properties for drawing, rendering, and manipulating images and graphics on a webpage.
IHTMLCommentElement3Extends the IHTMLCommentElement2 interface.
IHTMLCSSImportRuleRepresents an @import rule within a Cascading Style Sheets (CSS) style sheet. The @import rule is used to import style rules from other style sheets.
IHTMLCSSMediaListThis interface provides the abstraction of an ordered collection of media. An empty list is the same as a list that contains the medium
IHTMLCSSMediaRule"all". The items in the media list are accessible via an integral index, starting from 0.This interface represents an @media rule in a CSS style sheet. An @media rule can be used to delimit style rules for specific media types.
IHTMLCSSNamespaceRuleThis interface represents an @namespace rule.
IHTMLCSSRuleThis interface is the abstract base interface for any type of CSS statement (including both rule sets and at-rules). Internet Explorer preserves all rules specified in a CSS style sheet, even if the rule is not recognized by the parser.
IHTMLCSSStyleDeclarationRepresents a single CSS declaration block.
IHTMLDocument7Provides methods and properties for working with documents. This interface extends the IHTMLDocument6 interface.
IHTMLDOMAttribute4Provides programmatic access to the properties and methods that are common to all element objects. This interface extends the IHTMLDOMAttribute2 interface.
IHTMLDOMChildrenCollection2Extends the IHTMLDOMChildrenCollection.
IHTMLDOMImplementation2Provides a method for performing operations that are independent of a particular instance of the DOM. This interface extends the IHTMLDOMImplementation interface.
IHTMLDOMNode3Provides methods to access and modify nodes in the DOM and extends the IHTMLDOMNode2 interface.
IHTMLDOMRangeIHTMLDOMRange specifies a general way to select content between a two boundary points.
IHTMLDOMTextNode3Provides methods to access the data in a text node of a document; extends the IHTMLDOMTextNode2 interface.
IHTMLElement6Provides access to properties and methods that are common to all element objects. This interface extends the IHTMLElement5 interface.
IHTMLElementAppliedStylesProvides methods to rules that are applied to an element.
IHTMLEventObj6Extends IHTMLEventObj5 with pinned site events.
IHTMLFrameSetElement3This interface extends the IHTMLFrameSetElement2 interface.
IHTMLImgElement4This interface extends the IHTMLImgElement3 interface.
IHTMLInputTextElement2Specifies additional properties to use when you are selecting text.
IHTMLLinkElement5Extends the IHTMLLinkElement4 interface.
IHTMLMediaElementProvides methods and properties to play audio or video content to the user.
IHTMLMediaErrorDescribes the last error that occured with an IHTMLMediaElement operation.
IHTMLObjectElement5This interface extends the IHTMLObjectElement, IHTMLObjectElement2, IHTMLObjectElement3, and IHTMLObjectElement4 interfaces.
IHTMLOptionElement4This interface extends the IHTMLOptionElement3 interface.
IHTMLPerformanceThe IHTMLPerformance interface provides properties that help identify and troubleshoot performance problems with a webpage.
IHTMLPerformanceNavigationThe IHTMLPerformanceNavigation interface provides properties that describe the user navigation and server actions required to load the document into the window object.
IHTMLPerformanceTimingProvides properties for accessing the timestamps that are associated with built-in performance marks.
IHTMLRect2This interface provides the ability to programmatically access and manipulate the properties of rectangle elements. This interface extends the IHTMLRect interface.
IHTMLScreen4Extends the IHTMLScreen3 interface.
IHTMLScriptElement4This interface extends the IHTMLScriptElement, IHTMLScriptElement2, and IHTMLScriptElement3 interfaces.
IHTMLSelectElement6Extends the IHTMLSelectElement5 interface.
IHTMLSelectionRepresents the active selection, which is typically a highlighted block of text or other elements in the document. The active selection can be used to complete an action issued by a user or a script.
IHTMLSourceElementProvides a way for webpage authors to specify multiple alternative media resources for IHTMLMediaElement.
IHTMLStorage2This interface extends the IHTMLStorage interface.
IHTMLStyleElement2This interface extends IHTMLStyleElement for Internet Explorer 9. It provides a mechanism by which a style sheet can be retrieved from the node that is responsible for linking it into a document.
IHTMLStyleEnabledProvides an interface for style objects.
IHTMLStyleFontFace2Represents an @font-face rule in a CSS style sheet.
IHTMLStyleMediaDetermines the media type that is supported by the object that displays a webpage.
IHTMLStyleSheet4This interface extends the IHTMLStyleSheet, IHTMLStyleSheet2, and IHTMLStyleSheet3 interfaces for Internet Explorer 9.
IHTMLStyleSheetPage2Represents a single rule set in a CSS style sheet.
IHTMLStyleSheetRule2This interface provides additional access to the methods that are returned when you access the styleSheet object.
IHTMLStyleSheetRuleAppliedProvides methods to get the specificity of a rule that is applied to an element.
IHTMLStyleSheetRulesAppliedCollectionProvides access to a collection of IHTMLStyleSheetRulesAppliedCollection objects.
IHTMLStyleSheetRulesCollection2Provides the abstraction of an ordered collection of CSS rules.
IHTMLStyleSheetsCollection2Provides additional access to the methods that are returned when you access the styleSheet collection object.
IHTMLTable4Provides access to table and table cell data. This interface extends the IHTMLTable3 interface.
IHTMLTableCell3Provides access to additional properties for table cells. This interface extends the IHTMLTableCell2 interface.
IHTMLTableCol3Provides access to table column properties. This interface extends the IHTMLTableCol2 interface.
IHTMLTableRow4Provides access to additional table row properties and methods. This interface extends the IHTMLTableRow3 interface.
IHTMLTableSection4Provides access to additional properties and methods for table sections. This interface extends the IHTMLTableSection3 interface.
IHTMLTextAreaElement2Specifies additional properties for when you select text.
IHTMLTimeRangesImplements a collection of time ranges that have been buffered or played.
IHTMLVideoElementSpecifies the video content to be played in a webpage.
IHTMLWindow7Provides properties that describe the window displaying a webpage. This interface extends the IHTMLWindow6 interface.
INavigatorDoNotTrackThis interface provides a property that indicates whether tracking protection is enabled.
INavigatorGeolocationImplements a property that, if supported, returns the geographic location of the device running Internet Explorer.
IRangeExceptionDescribes errors thrown by range operations.
IRulesAppliedProvides access to the CSS style rules that are applied to an element.
IRulesAppliedCollectionProvides access to a collection of rules that have been applied to an element.
IShellUIHelper4Extends IShellUIHelper3 with methods that support pinned sites.
ISurfacePresenterProvides methods to implement chains of presentation buffers.
ISVGAElementProvides the properties to the a element.
ISVGAngleCorresponds to the svgAngleType basic data type.
ISVGAnimatedAngleProvides SVGAngle properties and attributes that you can animate.
ISVGAnimatedBooleanProvides Boolean attributes that you can animate.
ISVGAnimatedEnumerationProvides attributes whose values are constants from a specified enumeration and that you can animate.
ISVGAnimatedIntegerProvides integer attributes that you can animate.
ISVGAnimatedLengthProvides SVGLength attributes that you can animate.
ISVGAnimatedLengthListProvides SVGLengthList attributes that you can animate.
ISVGAnimatedNumberProvides SVGNumber attributes that you can animate.
ISVGAnimatedNumberListProvides SVGNumberList attributes that you can animate.
ISVGAnimatedPathDataEnables you to animate elements that have an ISVGMatrix::d attribute, which holds SVG path data.
ISVGAnimatedPointsSupports elements that have an ISVGAnimatedPoints::points attribute that you can animate.
ISVGAnimatedPreserveAspectRatioProvides SVGPreserveAspectRatio attributes that you can animate.
ISVGAnimatedRectProvides SVGRect attributes that you can animate.
ISVGAnimatedStringProvides string attributes that you can animate.
ISVGAnimatedTransformListProvides attributes that specify a set of transformations, such as the ISVGTransformable::transform attribute, that you can animate.
ISVGCircleElementProvides the properties for the circle element.
ISVGClipPathElementProvides attributes of the SVGClipPathElement element.
ISVGDefsElementProvides the properties for the defs element.
ISVGDescElementProvides the properties for the desc element.
ISVGDocumentRepresents an SVG document.
ISVGElementDefines the base interface for all SVG DOM interfaces that correspond directly to elements in the SVG language.
ISVGElementInstanceRepresents a single node in the instance tree of SVGElementInstance objects.
ISVGElementInstanceListRepresents an ordered collection of SVGElementInstance objects.
ISVGEllipseElementProvides the properties for the ellipse element.
ISVGExceptionProvides information about an exception that is raised when an SVG operation cannot be performed.
ISVGExternalResourcesRequiredDefines a property that determines how to render documents or graphic elements that reference external resources. The ISVGExternalResourcesRequired interface applies to all elements where the element or one of its descendants can reference an external resource.
ISVGFitToViewBoxDefines DOM attributes that apply to elements with viewBox and preserveAspectRatio attribute values.
ISVGGElementCorresponds to SVGSVGElement, which groups related graphical elements.
ISVGGradientElementDefines a base interface that the SVGLinearGradientElement and SVGRadialGradientElement objects use.
ISVGImageElementCorresponds to the SVG image element. The image element renders supported imaging formats into a given rectangle within the current user coordinate system. Supported formats include PNG, JPEG, and files with a MIME type of
ISVGLangSpace"image/svg+xml".Defines an interface that applies to all elements that have the standard
ISVGLengthxml:langandxml:spaceXML attributes.Defines the length data type.
ISVGLengthListDefines a list of SVGLength objects.
ISVGLinearGradientElementDefines the attributes that are required to apply linear gradients to SVG elements. This interface corresponds to the SVGLinearGradientElement element.
ISVGLineElementDefines the attributes that are required for drawing line segments that start at one point and end at another point. This interface corresponds to the SVG SVGLineElement.
Note Because line elements are single lines and thus are geometrically one-dimensional, they have no interior and theISVGLocatablefillproperty does not apply.Defines attributes and operations that are used by the elements that have a transform attribute and by the elements that can have a bounding box in current user space.
ISVGMarkerElementProvides the properties for the marker element.
ISVGMaskElementProvides properties for the mask element.
ISVGMatrix
Provides properties for the SVGMatrix element.
ISVGMetadataElementThis interface corresponds to the metadata element.
ISVGNumberDefines attributes for the number basic type.
ISVGNumberList
Defines a list of SVGNumber objects.
The ISVGNumberList interface has the same attributes and methods as other SVGxxxList interfaces. You should consider using a single base class to implement the various SVGxxxList interfaces.
You can designate an ISVGNumberList object as read-only so that any attempts to modify the object cause an exception to be thrown.
ISVGPaint
Represents the values of the
fillandstrokeproperties. The ISVGPaint interface corresponds to the paint basic type.Note The ISVGPaint interface is deprecated, and it might be dropped from future versions of the SVG specification.ISVGPathElementCorresponds to the path element.
ISVGPathSegDefines a base interface that correspoinds to a single command that has a path data specification.
ISVGPathSegArcAbsCorresponds to an absolute arcto (A) path data command.
ISVGPathSegArcRelCorresponds to a relative arcto (a) path data command.
ISVGPathSegClosePathReturns a stand-alone, parentless SVGPathSegClosePath object.
ISVGPathSegCurvetoCubicAbsCorresponds to an absolute cubic Bézier curveto (C) path data command.
ISVGPathSegCurvetoCubicRelCorresponds to a relative cubic B
ISVGPathSegCurvetoCubicSmoothAbsCorresponds to an absolute smooth cubic curveto (S) path data command.
ISVGPathSegCurvetoCubicSmoothRelCorresponds to a relative smooth cubic curveto (s) path data command.
ISVGPathSegCurvetoQuadraticAbsCorresponds to an absolute smooth Bézier curveto (Q) path data command.
ISVGPathSegCurvetoQuadraticRelCorresponds to a relative quadratic B
ISVGPathSegCurvetoQuadraticSmoothAbsCorresponds to an absolute smooth quadratic curveto (T) path data command.
ISVGPathSegCurvetoQuadraticSmoothRelCorresponds to a relative smooth quadratic curveto (t) path data command.
ISVGPathSegLinetoAbsCorresponds to an absolute lineto (L) path data command.
ISVGPathSegLinetoHorizontalAbsCorresponds to an absolute horizontal lineto (H) path data command.
ISVGPathSegLinetoHorizontalRelCorresponds to a relative horizontal lineto (h) path data command.
ISVGPathSegLinetoRelProvides properties for a relative lineto (l) path data command.
ISVGPathSegLinetoVerticalAbsProvides properties for an absolute vertical lineto (V) path data command.
ISVGPathSegLinetoVerticalRelProvides properties for a relative vertical lineto (v) path data command.
ISVGPathSegListDefines a list of SVGPathSeg objects.
ISVGPathSegMovetoAbsProvides properties for an absolute moveto (M) path data command.
ISVGPathSegMovetoRelProvides properties for a relative moveto (m) path data command.
ISVGPatternElementProvides properties for the pattern element.
ISVGPointReprsents an (x, y) coordinate pair that represents a point on the screen.
ISVGPointListProvides properties and methods for a list of SVGPoint objects.
ISVGPolygonElementDefines the polygon element.
ISVGPolylineElementDefines the polyline element.
ISVGPreserveAspectRatioProvides properties for the preserveAspectRatio attribute, which is available for some SVG elements.
ISVGRadialGradientElementProvides properties for the radialGradient element.
ISVGRectProvides properties for a rectangle.
ISVGRectElementProvides properties for the rect element.
ISVGScriptElementProvides properties for the script element.
ISVGStopElementProvides the properties for the stop element.
ISVGStringListRepresents a list of strings.
ISVGStylableRepresents an object that you can style.
ISVGStyleElementProvides the properties for the style element.
ISVGSVGElementProvides the properties of the SVG root element.
ISVGSwitchElementProvides the properties for the switch element.
ISVGSymbolElementProvides the properties of the symbol element.
ISVGTestsDescribes characteristics of elements that have the requiredFeatures, requiredExtensions, and systemLanguage attributes.
ISVGTextContentElementProvides attributes for text-related interfaces.
ISVGTextElementCorresponds to the text element.
ISVGTextPathElementCorresponds to the textPath element.
ISVGTextPositioningElementProvides attributes for text-related interfaces.
ISVGTitleElementCorresponds to the title element.
ISVGTransformDefines a component transformation.
ISVGTransformableProvides a property to get the value of a ISVGTransformable::transform attribute.
ISVGTransformListProvides method for maintaining an ordered list of transforms.
ISVGTSpanElementCorresponds to the tspan element.
ISVGURIReferenceProvides a property that gives access to the href attribute of an element.
ISVGUseElementProvides properties that allow you to read the attributes of a use element.
ISVGViewElementProvides a property that gives access to the ISVGViewElement::viewTarget attribute of a view element.
ISVGViewSpecProvides properties that enable you to specify how a document is viewed based on certain parameters (SVG view specification).
ISVGZoomAndPanProvides a property that gives you access to the ISVGZoomAndPan::zoomAndPan attribute of an element.
ISVGZoomEventProvides properties that zoom event handlers can use.
IViewObjectPresentNotifyProvides an interface that provides a mechanism for the host to notify the control when a frame has started rendering.
IViewObjectPresentNotifySiteProvides an interface for ISurfacePresenter-aware ActiveX controls that allow the contol to syncronize presentation with the host.
IViewObjectPresentSiteProvides an interface to the OLE swap chain to enable ActiveX controls to use hardware acceleration to render by using the ISurfacePresenter interface.
IViewObjectPrintAllows an ActiveX control to specify a bitmap to be sent to the printer at print time. If implemented, when Internet Explorer 9 prints a page, the interface will be called to get the bitmap.
IWebGeocoordinatesProvides properties that describe geographic coordinates and other aspects of a geographic location, generally the location of the device running Internet Explorer.
IWebGeolocationProvides methods for obtaining the geographical location of the device running Internet Explorer.
IWebGeopositionProvides properties that describe geographic location data returned by the IWebGeolocation::getCurrentPosition function and the IWebGeolocation::watchPosition function.
IWebGeopositionErrorProvides properties that describe error conditions that occur while trying to retrieve the geographic location of the device running Internet Explorer using the geolocation object.
IWinInetCacheAccessProvides access to Temporary Internet Files (TIF) folder files (Windows CE only).
Enumerations/Structures
Key Identifiers ConstantsThis topic lists the named keys that you can specify in the KeyboardEvent.key attribute in Internet Explorer 9. The list is sorted alphabetically by name.
Note The keycodes for 'NumPad0' through 'NumPad9' are not part of this set. Use the location attribute of the event to know if a key originated from the numeric keypad.svgAngleType Enumerated TypeDefines the SVG angle types.
svgFocusable Enumerated TypeSpecifies if an element can acquire keyboard focus (that is, receive keyboard events) and be a target for field-to-field navigation actions (such as when a user is pressing the Tab key).
svgLengthAdjustTypes Enumerated TypeDefines the unit types for the ISVGTextContentElement interface.
svgLengthType Enumerated TypeDefines the length unit types for SVGLength objects.
svgMarkerOrient Enumerated TypeDefines how the marker element is rotated.
svgMarkerOrientAttribute Enumerated TypeDefines how the marker element is rotated.
svgMarkerUnits Enumerated TypeDefines the marker unit types for the marker element.
svgPathSegType Enumerated TypeDefines the path segment types.
svgPreserveAspectMeetOrSliceType Enumerated TypeDefines the meet-or-slice types for the ISVGPreserveAspectRatio property.
svgPreserveAspectRatioAlignType Enumerated TypeDefines the alignment types for the ISVGPreserveAspectRatio property.
svgSpreadMethod Enumerated TypeDefines how the gradient element fills target regions.
svgTransformType Enumerated TypeDefines the transform types for the ISVGTransform interface.
svgUnitTypes Enumerated TypeDefines the unit types for the svgUnitTypes interface.
VIEW_OBJECT_ALPHA_MODE Enumerated TypeSpecifies how the alpha value for a bitmap or render target should be treated in the buffer.
VIEW_OBJECT_COMPOSITION_MODE Enumerated TypeSpecifies the mode that a surface presentation uses when rendering.
W3CException Error Codes ConstantsThis topic lists the HRESULT values that are translated into W3C exception codes by Internet Explorer 9. The list is sorted alphabetically by name.