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



相关文章
|
23天前
|
数据安全/隐私保护 C++ 计算机视觉
Qt(C++)开发一款图片防盗用水印制作小工具
文本水印是一种常用的防盗用手段,可以将文本信息嵌入到图片、视频等文件中,用于识别和证明文件的版权归属。在数字化和网络化的时代,大量的原创作品容易被不法分子盗用或侵犯版权,因此加入文本水印成为了保护原创作品和维护知识产权的必要手段。 通常情况下,文本水印可以包含版权声明、制作者姓名、日期、网址等信息,以帮助识别文件的来源和版权归属。同时,为了增强防盗用效果,文本水印通常会采用字体、颜色、角度等多种组合方式,使得水印难以被删除或篡改,有效地降低了盗用意愿和风险。 开发人员可以使用图像处理技术和编程语言实现文本水印的功能,例如使用Qt的QPainter类进行文本绘制操作,将文本信息嵌入到图片中,
69 1
Qt(C++)开发一款图片防盗用水印制作小工具
|
1月前
|
编译器 C++ 开发者
C++一分钟之-C++20新特性:模块化编程
【6月更文挑战第27天】C++20引入模块化编程,缓解`#include`带来的编译时间长和头文件管理难题。模块由接口(`.cppm`)和实现(`.cpp`)组成,使用`import`导入。常见问题包括兼容性、设计不当、暴露私有细节和编译器支持。避免这些问题需分阶段迁移、合理设计、明确接口和关注编译器更新。示例展示了模块定义和使用,提升代码组织和维护性。随着编译器支持加强,模块化将成为C++标准的关键特性。
65 3
|
6天前
|
C++ Windows
FFmpeg开发笔记(三十九)给Visual Studio的C++工程集成FFmpeg
在Windows上使用Visual Studio 2022进行FFmpeg和SDL2集成开发,首先安装FFmpeg至E:\msys64\usr\local\ffmpeg,然后新建C++控制台项目。在项目属性中,添加FFmpeg和SDL2的头文件及库文件目录。接着配置链接器的附加依赖项,包括多个FFmpeg及SDL2的lib文件。在代码中引入FFmpeg的`av_log`函数输出"Hello World",编译并运行,若看到"Hello World",即表示集成成功。详细步骤可参考《FFmpeg开发实战:从零基础到短视频上线》。
20 0
FFmpeg开发笔记(三十九)给Visual Studio的C++工程集成FFmpeg
|
15天前
|
编译器 C++ 开发者
C++一分钟之-嵌入式编程与裸机开发
【7月更文挑战第12天】在嵌入式裸机开发中,C++发挥着关键作用,尤其适合高性能和硬件控制。内存管理是核心挑战,推荐静态分配或手动堆栈管理以防止泄漏和碎片。中断处理应快速,仅设置标志,复杂逻辑移至主循环。编译器优化平衡代码大小和效率,但过度优化会牺牲可读性。通过谨慎实践,开发者能驾驭C++的优势。
26 1
|
1月前
|
存储 C++
【C++航海王:追寻罗杰的编程之路】一篇文章带你了解二叉搜索树
【C++航海王:追寻罗杰的编程之路】一篇文章带你了解二叉搜索树
17 1
|
1月前
|
存储 自然语言处理 C++
【C++航海王:追寻罗杰的编程之路】set|map|multiset|multimap简单介绍
【C++航海王:追寻罗杰的编程之路】set|map|multiset|multimap简单介绍
19 0
【C++航海王:追寻罗杰的编程之路】set|map|multiset|multimap简单介绍
|
24天前
|
存储 编译器 Linux
【C++】string类的使用②(容量接口Capacity )
这篇博客探讨了C++ STL中string的容量接口和元素访问方法。`size()`和`length()`函数等价,返回字符串的长度;`capacity()`提供已分配的字节数,可能大于长度;`max_size()`给出理论最大长度;`reserve()`预分配空间,不改变内容;`resize()`改变字符串长度,可指定填充字符。这些接口用于优化内存管理和适应字符串操作需求。
|
24天前
|
C++ 容器
【C++】string类的使用①(迭代器接口begin,end,rbegin和rend)
迭代器接口是获取容器元素指针的成员函数。`begin()`返回首元素的正向迭代器,`end()`返回末元素之后的位置。`rbegin()`和`rend()`提供反向迭代器,分别指向尾元素和首元素之前。C++11增加了const版本以供只读访问。示例代码展示了如何使用这些迭代器遍历字符串。
|
1月前
|
数据采集 自然语言处理 数据挖掘
一文搞懂:【VC++技术杂谈005】如何与程控仪器通过GPIB接口进行通信
一文搞懂:【VC++技术杂谈005】如何与程控仪器通过GPIB接口进行通信
11 0
|
1月前
|
程序员 C# C++
lpszBlogName C#开发多年中途被迫改行C++但工作中又经常偷偷使用C#的C++程序员
通过AUMID解析出packageFamily,再根据PackageManager解析出安装目录 PackageManager是WinRT的类型,如何在c++中使用WinRT,请参考C++/WinRT 以下代码需要管理员权限才能运行。