IAccessibleApplication 编辑

other-licenses/ia2/AccessibleApplication.idlNot scriptable This interface gives access to the application's name and version information. 1.0 66 Introduced Gecko 1.9 Inherits from: IUnknown Last changed in Gecko 1.9 (Firefox 3)

This interface provides the AT with the information it needs to differentiate this application from other applications, from other versions of this application, or from other versions of this application running on different versions of an accessibility bridge or accessibility toolkit. Servers implementing IAccessible2 should provide access to the IAccessibleApplication interface via QueryService from any object so that ATs can easily determine specific information about the application such as its name or version.

Method overview

[propget] HRESULT appName([out] BSTR name );
[propget] HRESULT appVersion([out] BSTR version );
[propget] HRESULT toolkitName([out] BSTR name );
[propget] HRESULT toolkitVersion([out] BSTR version );

Methods

appName()

Returns the application name.

[propget] HRESULT appName(
  [out] BSTR name
);
Parameters
name
The application name.
Return value

S_FALSE if there is nothing to return, [out] value is null. S_OK.

appVersion()

Returns the application version.

[propget] HRESULT appVersion(
  [out] BSTR version
);
Parameters
version
The application version.
Return value

S_FALSE if there is nothing to return, [out] value is null. S_OK.

toolkitName()

Returns the toolkit/bridge name.

[propget] HRESULT toolkitName(
  [out] BSTR name
);
Parameters
name
The toolkit/bridge name.
Return value

S_FALSE if there is nothing to return, [out] value is null. S_OK.

toolkitVersion()

Returns the toolkit/bridge version.

[propget] HRESULT toolkitVersion(
  [out] BSTR version
);
Parameters
version
The toolkit/bridge version.
Return value

S_FALSE if there is nothing to return, [out] value is null. S_OK.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:124 次

字数:3848

最后编辑:8年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文