SynchronizedInputPattern_StartListening函式 (uiautomationcoreapi.h)
注意 此函式已被取代。 用戶端應用程式應該改用 Microsoft 使用者介面自動化 元件物件模型 (COM) 介面。
語法
HRESULT SynchronizedInputPattern_StartListening(
[in] HUIAPATTERNOBJECT hobj,
[in] SynchronizedInputType inputType
);
參數
[in] hobj
類型: HUIAPATTERNOBJECT
控制件模式物件。
[in] inputType
SynchronizedInputType 列舉類型的值組合,指定要接聽的輸入類型。
傳回值
類型: HRESULT
如果成功,則傳回S_OK否則傳回錯誤值。
規格需求
需求 | 值 |
---|---|
最低支援的用戶端 | Windows 7、Windows Vista SP2 和 Platform Update for Windows Vista、Windows XP 含 SP3 和適用於 Windows Vista 的平臺更新 [僅限傳統型應用程式] |
最低支援的伺服器 | Windows Server 2008 R2、Windows Server 2008 SP2 和 Platform Update for Windows Server 2008、Windows Server 2003 SP2 和 Platform Update for Windows Server 2008 [僅限桌面應用程式] |
目標平台 | Windows |
標頭 | uiautomationcoreapi.h |
程式庫 | Uiautomationcore.lib |
Dll | Uiautomationcore.dll |
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應