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

IUIAutomationCacheRequest

COM
IIDb32a92b5-bc25-4078-9c08-d7ee95c48e03継承元IUnknown自前メソッド開始 vtbl3

メソッド 9

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

vtbl 3 HRESULT AddProperty(UIA_PROPERTY_ID propertyId)
propertyIdUIA_PROPERTY_IDinキャッシュに含めるプロパティを識別するプロパティ ID を指定する。
vtbl 4 HRESULT AddPattern(UIA_PATTERN_ID patternId)
patternIdUIA_PATTERN_IDinキャッシュに含めるコントロールパターンを識別するパターン ID を指定する。
vtbl 5 HRESULT Clone(IUIAutomationCacheRequest** clonedRequest)
clonedRequestIUIAutomationCacheRequest**outこのキャッシュ要求の複製を受け取るインターフェイスポインタへのポインタである。
vtbl 6 HRESULT get_TreeScope(TreeScope* scope)
scopeTreeScope*outキャッシュ対象の範囲(要素自身・子・子孫など)を示す TreeScope 値を受け取るポインタである。
vtbl 7 HRESULT put_TreeScope(TreeScope scope)
scopeTreeScopeinキャッシュ対象とするツリーの範囲を示す TreeScope 値を指定する。
vtbl 8 HRESULT get_TreeFilter(IUIAutomationCondition** filter)
filterIUIAutomationCondition**outキャッシュ対象の要素を絞り込む条件を受け取るインターフェイスポインタへのポインタである。
vtbl 9 HRESULT put_TreeFilter(IUIAutomationCondition* filter)
filterIUIAutomationCondition*inキャッシュ対象の要素を絞り込む条件を表す IUIAutomationCondition へのポインタを指定する。
vtbl 10 HRESULT get_AutomationElementMode(AutomationElementMode* mode)
modeAutomationElementMode*outキャッシュされる要素が完全参照かプロパティのみかを示す AutomationElementMode 値を受け取るポインタである。
vtbl 11 HRESULT put_AutomationElementMode(AutomationElementMode mode)
modeAutomationElementModeinキャッシュされる要素のモード(完全参照かプロパティのみか)を示す AutomationElementMode 値を指定する。

HSP用 COM定義

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

出力引数:
#define global IID_IUIAutomationCacheRequest "{B32A92B5-BC25-4078-9C08-D7EE95C48E03}"
#usecom global IUIAutomationCacheRequest IID_IUIAutomationCacheRequest "{}"
#comfunc global IUIAutomationCacheRequest_AddProperty                3 int
#comfunc global IUIAutomationCacheRequest_AddPattern                 4 int
#comfunc global IUIAutomationCacheRequest_Clone                      5 sptr
#comfunc global IUIAutomationCacheRequest_get_TreeScope              6 var
#comfunc global IUIAutomationCacheRequest_put_TreeScope              7 int
#comfunc global IUIAutomationCacheRequest_get_TreeFilter             8 sptr
#comfunc global IUIAutomationCacheRequest_put_TreeFilter             9 sptr
#comfunc global IUIAutomationCacheRequest_get_AutomationElementMode  10 var
#comfunc global IUIAutomationCacheRequest_put_AutomationElementMode  11 int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。