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



相关文章
|
1月前
|
存储 C++ UED
【实战指南】4步实现C++插件化编程,轻松实现功能定制与扩展
本文介绍了如何通过四步实现C++插件化编程,实现功能定制与扩展。主要内容包括引言、概述、需求分析、设计方案、详细设计、验证和总结。通过动态加载功能模块,实现软件的高度灵活性和可扩展性,支持快速定制和市场变化响应。具体步骤涉及配置文件构建、模块编译、动态库入口实现和主程序加载。验证部分展示了模块加载成功的日志和配置信息。总结中强调了插件化编程的优势及其在多个方面的应用。
231 64
|
30天前
|
安全 程序员 编译器
【实战经验】17个C++编程常见错误及其解决方案
想必不少程序员都有类似的经历:辛苦敲完项目代码,内心满是对作品品质的自信,然而当静态扫描工具登场时,却揭示出诸多隐藏的警告问题。为了让自己的编程之路更加顺畅,也为了持续精进技艺,我想借此机会汇总分享那些常被我们无意间忽视却又导致警告的编程小细节,以此作为对未来的自我警示和提升。
89 5
|
1月前
|
存储 搜索推荐 C++
【C++篇】深度剖析C++ STL:玩转 list 容器,解锁高效编程的秘密武器2
【C++篇】深度剖析C++ STL:玩转 list 容器,解锁高效编程的秘密武器
48 2
【C++篇】深度剖析C++ STL:玩转 list 容器,解锁高效编程的秘密武器2
|
1月前
|
安全 程序员 编译器
【C++篇】继承之韵:解构编程奥义,领略面向对象的至高法则
【C++篇】继承之韵:解构编程奥义,领略面向对象的至高法则
81 11
|
1月前
|
存储 C++ 容器
【C++篇】深度剖析C++ STL:玩转 list 容器,解锁高效编程的秘密武器1
【C++篇】深度剖析C++ STL:玩转 list 容器,解锁高效编程的秘密武器
52 5
|
1月前
|
C++
【C++】实现日期类相关接口(三)
【C++】实现日期类相关接口
|
1月前
|
编译器 C语言 C++
C++入门6——模板(泛型编程、函数模板、类模板)
C++入门6——模板(泛型编程、函数模板、类模板)
41 0
C++入门6——模板(泛型编程、函数模板、类模板)
|
1月前
|
算法 编译器 C++
【C++篇】领略模板编程的进阶之美:参数巧思与编译的智慧
【C++篇】领略模板编程的进阶之美:参数巧思与编译的智慧
77 2
|
1月前
|
存储 编译器 C++
【C++篇】引领C++模板初体验:泛型编程的力量与妙用
【C++篇】引领C++模板初体验:泛型编程的力量与妙用
38 2
|
1月前
|
C++
【C++】实现日期类相关接口(二)
【C++】实现日期类相关接口