UIAutomationEventInfo 結構 (uiautomationcore.h)

包含自定義事件的相關信息。

語法

struct UIAutomationEventInfo {
  GUID    guid;
  LPCWSTR pProgrammaticName;
};

成員

guid

類型: GUID

事件識別項。

pProgrammaticName

類型: LPCWSTR

事件的程式設計名稱 (不可本地化的字串) 。

規格需求

需求
最低支援的用戶端 Windows 7、Windows Vista SP2 和 Windows Vista 平臺更新、Windows XP SP3 和 Windows Vista 平臺更新 [傳統型應用程式 |UWP 應用程式]
最低支援的伺服器 Windows Server 2008 R2、Windows Server 2008 SP2 和 Platform Update for Windows Server 2008、Windows Server 2003 SP2 和 Platform Update for Windows Server 2008 [傳統型應用程式 |UWP 應用程式]
標頭 uiautomationcore.h (包含 UIAutomation.h)

另請參閱

自訂屬性、事件和控制件模式

RegisterEvent