Win32 API 日本語リファレンス
ホームUI.Accessibility › IUIAutomationProxyFactoryEntry

IUIAutomationProxyFactoryEntry

COM
IIDd50e472e-b64b-490c-bca1-d30696f9f289継承元IUnknown自前メソッド開始 vtbl3

メソッド 13

vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。

vtbl 3 HRESULT get_ProxyFactory(IUIAutomationProxyFactory** factory)
factoryIUIAutomationProxyFactory**outこのエントリに関連付けられたプロキシファクトリを受け取るポインタである。
vtbl 4 HRESULT get_ClassName(LPWSTR* className)
classNameLPWSTR*outこのエントリが対象とするウィンドウクラス名を受け取るポインタである。
vtbl 5 HRESULT get_ImageName(LPWSTR* imageName)
imageNameLPWSTR*outこのエントリが対象とする実行可能イメージ名を受け取るポインタである。
vtbl 6 HRESULT get_AllowSubstringMatch(BOOL* allowSubstringMatch)
allowSubstringMatchBOOL*outクラス名やイメージ名の部分一致を許可するかどうかを受け取るポインタである。
vtbl 7 HRESULT get_CanCheckBaseClass(BOOL* canCheckBaseClass)
canCheckBaseClassBOOL*out基底クラスとの照合を行うかどうかを受け取るポインタである。
vtbl 8 HRESULT get_NeedsAdviseEvents(BOOL* adviseEvents)
adviseEventsBOOL*outプロバイダーがイベント通知の開始・終了通知を必要とするかどうかを受け取るポインタである。
vtbl 9 HRESULT put_ClassName(LPWSTR className)
classNameLPWSTRinこのエントリが対象とするウィンドウクラス名を指定する。
vtbl 10 HRESULT put_ImageName(LPWSTR imageName)
imageNameLPWSTRinこのエントリが対象とする実行可能イメージ名を指定する。
vtbl 11 HRESULT put_AllowSubstringMatch(BOOL allowSubstringMatch)
allowSubstringMatchBOOLinクラス名やイメージ名の部分一致を許可するかどうかを指定する。
vtbl 12 HRESULT put_CanCheckBaseClass(BOOL canCheckBaseClass)
canCheckBaseClassBOOLin基底クラスとの照合を行うかどうかを指定する。
vtbl 13 HRESULT put_NeedsAdviseEvents(BOOL adviseEvents)
adviseEventsBOOLinプロバイダーがイベント通知の開始・終了通知を必要とするかどうかを指定する。
vtbl 14 HRESULT SetWinEventsForAutomationEvent(UIA_EVENT_ID eventId, UIA_PROPERTY_ID propertyId, SAFEARRAY* winEvents)
eventIdUIA_EVENT_IDin対応付ける UI オートメーションイベントの ID を指定する。
propertyIdUIA_PROPERTY_IDinプロパティ変更イベントの場合に対象とするプロパティ ID を指定する。
winEventsSAFEARRAY*inオートメーションイベントへマッピングする WinEvent の一覧を格納した SAFEARRAY を指定する。
vtbl 15 HRESULT GetWinEventsForAutomationEvent(UIA_EVENT_ID eventId, UIA_PROPERTY_ID propertyId, SAFEARRAY** winEvents)
eventIdUIA_EVENT_IDin対象とする UI オートメーションイベントの ID を指定する。
propertyIdUIA_PROPERTY_IDinプロパティ変更イベントの場合に対象とするプロパティ ID を指定する。
winEventsSAFEARRAY**out指定したオートメーションイベントへマッピングされた WinEvent の一覧を格納した SAFEARRAY を受け取るポインタである。

HSP用 COM定義

#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"

出力引数:
#define global IID_IUIAutomationProxyFactoryEntry "{D50E472E-B64B-490C-BCA1-D30696F9F289}"
#usecom global IUIAutomationProxyFactoryEntry IID_IUIAutomationProxyFactoryEntry "{}"
#comfunc global IUIAutomationProxyFactoryEntry_get_ProxyFactory                3 sptr
#comfunc global IUIAutomationProxyFactoryEntry_get_ClassName                   4 var
#comfunc global IUIAutomationProxyFactoryEntry_get_ImageName                   5 var
#comfunc global IUIAutomationProxyFactoryEntry_get_AllowSubstringMatch         6 var
#comfunc global IUIAutomationProxyFactoryEntry_get_CanCheckBaseClass           7 var
#comfunc global IUIAutomationProxyFactoryEntry_get_NeedsAdviseEvents           8 var
#comfunc global IUIAutomationProxyFactoryEntry_put_ClassName                   9 wstr
#comfunc global IUIAutomationProxyFactoryEntry_put_ImageName                   10 wstr
#comfunc global IUIAutomationProxyFactoryEntry_put_AllowSubstringMatch         11 int
#comfunc global IUIAutomationProxyFactoryEntry_put_CanCheckBaseClass           12 int
#comfunc global IUIAutomationProxyFactoryEntry_put_NeedsAdviseEvents           13 int
#comfunc global IUIAutomationProxyFactoryEntry_SetWinEventsForAutomationEvent  14 int,int,var
#comfunc global IUIAutomationProxyFactoryEntry_GetWinEventsForAutomationEvent  15 int,int,var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。