ホーム › UI.Accessibility › IUIAutomationNotificationEventHandler
IUIAutomationNotificationEventHandler
COMメソッド 1
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 HRESULT HandleNotificationEvent(IUIAutomationElement* sender, NotificationKind notificationKind, NotificationProcessing notificationProcessing, LPWSTR displayString, LPWSTR activityId)
| sender | IUIAutomationElement* | in | 通知イベントを発生させた UI Automation 要素へのポインタである。 |
| notificationKind | NotificationKind | in | 通知の種類を示す NotificationKind 値を指定する。 |
| notificationProcessing | NotificationProcessing | in | 複数の通知が連続したときの処理方法を示す NotificationProcessing 値を指定する。 |
| displayString | LPWSTR | in | ユーザーに提示する通知メッセージの文字列である。 |
| activityId | LPWSTR | in | 一連の通知を関連付けるためのアクティビティ ID 文字列である。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
#define global IID_IUIAutomationNotificationEventHandler "{C7CB2637-E6C2-4D0C-85DE-4948C02175C7}"
#usecom global IUIAutomationNotificationEventHandler IID_IUIAutomationNotificationEventHandler "{}"
#comfunc global IUIAutomationNotificationEventHandler_HandleNotificationEvent 3 sptr,int,int,wstr,wstr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。