[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,如需转载请自行联系原作者



相关文章
|
8月前
|
存储 缓存 C++
C++ 容器全面剖析:掌握 STL 的奥秘,从入门到高效编程
C++ 标准模板库(STL)提供了一组功能强大的容器类,用于存储和操作数据集合。不同的容器具有独特的特性和应用场景,因此选择合适的容器对于程序的性能和代码的可读性至关重要。对于刚接触 C++ 的开发者来说,了解这些容器的基础知识以及它们的特点是迈向高效编程的重要一步。本文将详细介绍 C++ 常用的容器,包括序列容器(`std::vector`、`std::array`、`std::list`、`std::deque`)、关联容器(`std::set`、`std::map`)和无序容器(`std::unordered_set`、`std::unordered_map`),全面解析它们的特点、用法
C++ 容器全面剖析:掌握 STL 的奥秘,从入门到高效编程
|
12月前
|
安全 程序员 编译器
【实战经验】17个C++编程常见错误及其解决方案
想必不少程序员都有类似的经历:辛苦敲完项目代码,内心满是对作品品质的自信,然而当静态扫描工具登场时,却揭示出诸多隐藏的警告问题。为了让自己的编程之路更加顺畅,也为了持续精进技艺,我想借此机会汇总分享那些常被我们无意间忽视却又导致警告的编程小细节,以此作为对未来的自我警示和提升。
1234 101
|
8月前
|
存储 机器学习/深度学习 编译器
【C++终极篇】C++11:编程新纪元的神秘力量揭秘
【C++终极篇】C++11:编程新纪元的神秘力量揭秘
|
9月前
|
IDE 开发工具 C语言
C++一分钟之-嵌入式编程与裸机开发
通过这些内容的详细介绍和实例解析,希望能帮助您深入理解C++在嵌入式编程与裸机开发中的应用,提高开发效率和代码质量。
224 13
|
8月前
|
存储 算法 C++
深入浅出 C++ STL:解锁高效编程的秘密武器
C++ 标准模板库(STL)是现代 C++ 的核心部分之一,为开发者提供了丰富的预定义数据结构和算法,极大地提升了编程效率和代码的可读性。理解和掌握 STL 对于 C++ 开发者来说至关重要。以下是对 STL 的详细介绍,涵盖其基础知识、发展历史、核心组件、重要性和学习方法。
|
8月前
|
存储 安全 算法
深入理解C++模板编程:从基础到进阶
在C++编程中,模板是实现泛型编程的关键工具。模板使得代码能够适用于不同的数据类型,极大地提升了代码复用性、灵活性和可维护性。本文将深入探讨模板编程的基础知识,包括函数模板和类模板的定义、使用、以及它们的实例化和匹配规则。
|
11月前
|
消息中间件 存储 安全
WK
|
11月前
|
机器学习/深度学习 人工智能 算法
那C++适合开发哪些项目
C++ 是一种功能强大、应用广泛的编程语言,适合开发多种类型的项目。它在游戏开发、操作系统、嵌入式系统、科学计算、金融、图形图像处理、数据库管理、网络通信、人工智能、虚拟现实、航空航天等领域都有广泛应用。C++ 以其高性能、内存管理和跨平台兼容性等优势,成为众多开发者的选择。
WK
525 1
WK
|
11月前
|
开发框架 移动开发 Java
C++和Java哪个更适合开发移动应用
本文对比了C++和Java在移动应用开发中的优劣,从市场需求、学习难度、开发效率、跨平台性和应用领域等方面进行了详细分析。Java在Android开发中占据优势,而C++则适合对性能要求较高的场景。选择应根据具体需求和个人偏好综合考虑。
WK
318 0
WK
|
11月前
|
安全 Java 编译器
C++和Java哪个更适合开发web网站
在Web开发领域,C++和Java各具优势。C++以其高性能、低级控制和跨平台性著称,适用于需要高吞吐量和低延迟的场景,如实时交易系统和在线游戏服务器。Java则凭借其跨平台性、丰富的生态系统和强大的安全性,广泛应用于企业级Web开发,如企业管理系统和电子商务平台。选择时需根据项目需求和技术储备综合考虑。
WK
381 0