Share via


IUIAutomation5 介面 (uiautomationclient.h)

擴充 IUIAutomation4 介面,以公開控制 Microsoft 使用者介面自動化 功能的其他方法。

繼承

IUIAutomation5 介面繼承自 IUIAutomation4IUIAutomation5 也有下列類型的成員:

方法

IUIAutomation5 介面具有這些方法。

 
IUIAutomation5::AddNotificationEventHandler

註冊處理通知事件的方法。注意 在實作事件處理程式之前,您應該熟悉了解線程問題中所述的線程問題。
IUIAutomation5::RemoveNotificationEventHandler

拿掉通知事件處理程式。

規格需求

需求
最低支援的用戶端 Windows 10 1607 版 [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 版本 1709 [僅限傳統型應用程式]
目標平台 Windows
標頭 uiautomationclient.h (包含 UIAutomation.h)

另請參閱

IUIAutomation4

用戶端的 使用者介面自動化 元素介面