[IE编程] IE8 新增的C++开发接口

简介:
IE8 中新增API 函数:
AcquireModalDialogLockAndParent 
Notify Internet Explorer that the caller will handle its own message loop.
IEAssociateThreadWithTab 
Associates a UI thread with a tab in Internet Explorer.
IECreateDirectory 
Creates a new directory by calling the standard CreateDirectory function from a higher-integrity user context.
IECreateFile 
Calls the standard CreateFile function from a higher-integrity user context. Creates or opens a file, file stream, directory, physical disk, volume, console buffer, tape drive, communications resource, mailslot, or named pipe. The function returns a handle that can be used to access the object.
IEDeleteFile 
Calls the standard DeleteFile from a higher integrity user context to delete an existing file.
IEDisassociateThreadWithTab 
Removes a UI thread association.
IEFindFirstFile 
Calls the standard FindFirstFile function from a higher-integrity user context. Searches a directory for a file or subdirectory with a name that matches a specific name.
IEGetFileAttributesEx 
Calls the standard GetFileAttributesEx function from a higher-integrity user context. Retrieves attributes for a specified file or directory.
IEGetProtectedModeCookie 
Calls the standard InternetGetCookieEx from a higher-integrity user context. Retrieves the cookie data from the protected mode cookie store.
IEInstallScope 
This function provides the current Install Scope to a ActiveX
IEIsXMLNSRegistered 
Determines if the XML namespace is already registered.
IEMoveFileEx 
Calls the standard MoveFileEx function from a higher-integrity user context. Moves an existing file or directory, including its children, with various move options.
IERegCreateKeyEx 
Calls the standard RegCreateKeyEx from a higher-integrity user context. Creates the specified registry key. If the key already exists, the function opens it. Note that key names are not case sensitive.
IERegisterWritableRegistryKey 
Calls the standard RegCreateKeyEx from a higher-integrity user context. Registers a key during installation so that low integrity processes can write into this location during run time.
IERegisterWritableRegistryValue 
This function calls the standard RegCreateKeyEx from a higher-integrity user context. It registers a value in a path during installation so that low-integrity processes can write into this location during run time.
IERegisterXMLNS 
Registers the XML namespace.
IERegSetValueEx 
Calls the standard RegSetValueEx from a higher-integrity user context. This function sets the data and type of a specified value under a registry key.
IERemoveDirectory 
Calls the standard RemoveDirectory function from a higher-integrity user context. Deletes an existing empty directory.
IESetProtectedModeCookie 
Calls the standard InternetSetCookieEx from a higher-integrity user context. Creates a cookie with a specified name that is associated with a specified URL.
IEUnregisterWritableRegistry 
Unregister and delete a registry that was registered for writable.
ReleaseModalDialogLockAndParent 
Free and cleanup any resources initialized in AcquireModalDialogLockAndParent.
WaitForTabWindow 
Waits for a tab window to become visible.
IE8 中新增的接口(Interface)
IAuthenticateEx 
Provides the URL moniker with information to authenticate the user.
BindStatusCallbackEx 
Implements the notification object for an asynchronous bind operation.
IDocumentSelector 
Implements the W3C Selectors API . The selectors API supports searching for one or more elements that match a given CSS Selector string.
IDOMStorage 
Implements a version of the IHTMLStorage interface that has been optimized for use in C++.
IElementSelector 
Implements the W3C Selectors API. The W3C Selectors API supports searching for one or more elements that match a given CSS Selector string.
IEnumDOMStorage 
Implements an iterator that can be used to find all DOM Storage areas.
IEnumOpenServiceActivity 
Enumerates all OpenService Accelerator objects.
IEnumOpenServiceActivityCategory 
Enumerates all OpenService Accelerator categories.
IEProcess 
Static helper class used for binding to the IEProcess export tables.
IHTMLAnchorElement3 
Designates the destination of a hypertext link. It extends the IHTMLAnchorElement2 interface.
IHTMLAreaElement2 
Specifies the shape of a hot spot in a client-side image map. It extends the IHTMLAreaElement interface.
IHTMLAreasCollection4 
Extends the IHTMLAreasCollection3 interface.
IHTMLAttributeCollection3 
Provides the ability to programmatically access items in an element's attribute collection. Extends the IHTMLAttributeCollection2 interface.
IHTMLBaseElement2 
Specifies the base URL for the document. It extends the IHTMLBaseElement2 interface.
IHTMLBlockElement3 
Extends the IHTMLBlockElement and IHTMLBlockElement2 interfaces.
IHTMLBodyElement3 
This interface extends the IHTMLBodyElement2 interfaces with support for Asynchronous JavaScript and XML (AJAX) Connection Services.
IHTMLCurrentStyle5 
Extends the IHTMLCurrentStyle4 interface with Cascading Style Sheets, Level 2.1 (CSS2.1)  properties for Internet Explorer 8.
IHTMLDocument6 
Extends IHTMLDocument5 with support for document compatibility modes and DOM Storage events.
IHTMLDocumentCompatibleInfo 
Provides information about the compatibity mode specified by the web page. If the web page specifies multiple compatibility modes, they can be retrieved using IHTMLDocumentCompatibleInfoCollection.
IHTMLDocumentCompatibleInfoCollection 
Provides methods for accessing items in the collection of document compatibility strings supported by the Web page.
IHTMLDOMAttribute3 
Provides programmatic access to the properties and methods that are common to all element objects; extends the IHTMLDOMAttribute interface.
IHTMLDOMConstructor 
Provides access to the contructor object and the prototype object of an object's interface object.
IHTMLDOMConstructorCollection 
Returns a reference to the constructor for objects derived from the interface objects supported by the Internet Explorer
IHTMLElement5 
Provides access to the properties and methods that are common to all element objects.
IHTMLElementCollection4 
This interface extends the IHTMLElementCollection3 interface.
IHTMLEmbedElement2 
This interface extends the IHTMLEmbedElement interface.
IHTMLEventObj5 
Extends IHTMLEventObj4 with event properties for onmessage, onstorage, and onstoragecommit.
IHTMLFormElement4 
This interface extends the IHTMLFormElement, IHTMLFormElement2, and IHTMLFormElement3 interfaces.
IHTMLFrameElement3 
This interface extends the IHTMLFrameElement and IHTMLFrameElement2 interfaces.
IHTMLHeadElement2 
This interface extends the IHTMLHeadElement interface.
IHTMLIFrameElement3 
This interface extends the IHTMLIFrameElement and IHTMLIFrameElement2 interfaces.
IHTMLImgElement3 
This interface extends the IHTMLImgElement and IHTMLImgElement2 interfaces.
IHTMLInputElement3 
This interface extends the IHTMLInputElement and IHTMLInputElement2 interfaces.
IHTMLLinkElement4 
This interface extends the IHTMLLinkElement, IHTMLLinkElement2, and IHTMLLinkElement3 interfaces.
IHTMLMetaElement3 
This interface extends the IHTMLMetaElement and IHTMLMetaElement2 interfaces.
IHTMLObjectElement4 
This interface extends the IHTMLObjectElement, IHTMLObjectElement2, and IHTMLObjectElement3 interfaces.
IHTMLParamElement2 
This interface extends the IHTMLParamElement interface.
IHTMLPhraseElement3 
This interface extends the IHTMLPhraseElement2 interface.
IHTMLRuleStyle6 
Extends the IHTMLRuleStyle5 interface with Cascading Style Sheets, Level 2.1 (CSS2.1) properties for Internet Explorer 8.
IHTMLScreen3 
This interface provides information about the system's screen resolution. It extends the IHTMLScreen2 interface.
IHTMLScriptElement3 
This interface extends the IHTMLScriptElement and IHTMLScriptElement2 interfaces.
IHTMLSelectElement5 
This interface extends the IHTMLSelectElement4 interface.
IHTMLStorage 
Represents a key/value list from DOM Storage.
IHTMLStyle6 
Extends the IHTMLStyle5 interface with Cascading Style Sheets, Level 2.1 (CSS2.1) properties for Internet Explorer 8.
IHTMLWindow6 
This interface extends IHTMLWindow5 with AJAX connection services, cross-domain request, and DOM Storage properties.
IHTMLXDomainRequest 
Implements cross-domain AJAX requests between the browser and a server.
IHTMLXDomainRequestFactory 
Creates an instance of the IHTMLXDomainRequest object.
IHTMLXMLHttpRequest2 
Extends the IHTMLXMLHttpRequest interface.
IHttpNegotiate3 
Extends the IHttpNegotiate interface with support for client certificates.
IIE70DispatchEx 
Implements the IDispatchEx interface for IE7 mode.
IIE80DispatchEx 
Implements the IDispatchEx interface for IE8 mode.
IInternetBindInfoEx 
Provides data that the protocol might require to bind successfully.
IOpenService 
Represents the basic OpenService Accelerator entry.
IOpenServiceActivity 
Exposes details of and methods used to invoke an OpenService Accelerator.
IOpenServiceActivityCategory 
Exposes methods that enumerate Accelerator objects in a category or change the default Accelerator in a category.
IOpenServiceActivityInput 
Represents input on which an activity should execute using named string values.
IOpenServiceActivityManager 
Exposes methods used by third-party applications to access the OpenService Accelerator platform of Internet Explorer 8.
IOpenServiceActivityOutputContext 
Provides access to the output context of an Accelerator.
IOpenServiceManager 
Exposes methods to install and remove XML-based and COM-based Accelerators.
IShellUIHelper3 
Extends IShellUIHelper2 to add support for Internet Explorer 8.
IE8 中新增的枚举类型以及结构体
 
AUTHENTICATEF Enumerated Type 
Flags used by the IAuthenticateEx::AuthenticateEx method to pass information about the authentication request.
AUTHENTICATEINFO Structure 
Contains additional information on the authentication operation.
BINDF2 Enumerated Type 
Flags that specify how a resource is bound to a moniker. This type extends the BINDF enumerated type.
IELAUNCHOPTION_FLAGS Enumerated Type 
Flags for launching Internet Explorer processes in Protected Mode.
IETabWindowExports Structure 
Provides table of tab window related functions exported by the Internet Explorer process.
Install Scopes Constants 
Install Scope bit flag values.
NewProcessCauseConstants Enumerated Type 
Flags passed to the DWebBrowserEvents2::NewProcess event that describe why a new process has been created.
OpenServiceActivityContentType Enumerated Type 
Specifies the content type, which is also called the Accelerator context.
OpenServiceErrors Enumerated Type 
Specifies custom error values used by the OpenService Accelerator


 本文转自 陈本峰 51CTO博客,原文链接:http://blog.51cto.com/wingeek/273621,如需转载请自行联系原作者



相关文章
|
17天前
|
开发框架 Linux C语言
C、C++、boost、Qt在嵌入式系统开发中的使用
C、C++、boost、Qt在嵌入式系统开发中的使用
29 1
|
23天前
|
安全 算法 C++
【C/C++ 泛型编程 应用篇】C++ 如何通过Type traits处理弱枚举和强枚举
【C/C++ 泛型编程 应用篇】C++ 如何通过Type traits处理弱枚举和强枚举
46 3
|
25天前
|
安全 算法 编译器
【C++ 泛型编程 进阶篇】深入探究C++模板参数推导:从基础到高级
【C++ 泛型编程 进阶篇】深入探究C++模板参数推导:从基础到高级
240 3
|
25天前
|
设计模式 程序员 C++
【C++ 泛型编程 高级篇】C++模板元编程:使用模板特化 灵活提取嵌套类型与多容器兼容性
【C++ 泛型编程 高级篇】C++模板元编程:使用模板特化 灵活提取嵌套类型与多容器兼容性
241 2
|
2天前
|
编译器 C++
C++编程之美:探索初始化之源、静态之恒、友情之桥与匿名之韵
C++编程之美:探索初始化之源、静态之恒、友情之桥与匿名之韵
15 0
|
2天前
|
缓存 编译器 API
NumPy与其他语言(如C/C++)的接口实践
【4月更文挑战第17天】本文介绍了NumPy与C/C++的接口实践,包括Python与C/C++交互基础、NumPy的C API和Cython的使用。通过案例展示了如何将C++函数与NumPy数组结合,强调了内存管理、类型匹配、错误处理和性能优化的最佳实践。掌握这些技能对于跨语言交互和集成至关重要。
|
23天前
|
监控 Linux 编译器
Linux C++ 定时器任务接口深度解析: 从理论到实践
Linux C++ 定时器任务接口深度解析: 从理论到实践
67 2
|
24天前
|
存储 移动开发 安全
【C/C++ 口语】C++ 编程常见接口发音一览(不断更新)
【C/C++ 口语】C++ 编程常见接口发音一览(不断更新)
21 0
|
24天前
|
算法 编译器 C++
【C++ 模板编程 基础知识】C++ 模板类部分特例化的参数顺序
【C++ 模板编程 基础知识】C++ 模板类部分特例化的参数顺序
21 0
|
24天前
|
机器学习/深度学习 人工智能 算法
【C++ 职业方向】C++ 职业方向探索:工作职责、编程技能与MBTI人格匹配
【C++ 职业方向】C++ 职业方向探索:工作职责、编程技能与MBTI人格匹配
157 1