共用方式為


IHTMLEditServices2 interface

Extends IHTMLEditServices.

Members

The IHTMLEditServices2 interface inherits from IHTMLEditServices but does not have additional members.

Remarks

To obtain an IHTMLEditServices2 interface pointer, use the following steps.

  1. From an IHTMLDocument interface, call QueryInterface to request an IServiceProvider interface (IID_IServiceProvider).
  2. Call IServiceProvider::QueryService to get an IHTMLEditServices interface. Specify SID_SHTMLEditServices for the guidService parameter and IID_IHTMLEditServices for the riid parameter.
  3. Call QueryInterface on the IHTMLEditServices interface pointer to request an IHTMLEditServices2 interface (IID_IHTMLEditServices2).

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional

Minimum supported server

Windows Server 2003

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IHTMLEditServices

Reference

IHTMLEditDesigner

ISelectionServices

Conceptual

About Edit Designers

Implementing Edit Designers: The Basics

Implementing Edit Designers 2: The Annotator Sample