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

IUIAutomationProxyFactoryMapping

COM
IID09e31e18-872d-4873-93d1-1e541ec133fd継承元IUnknown自前メソッド開始 vtbl3

メソッド 9

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

vtbl 3 HRESULT get_Count(DWORD* count)
countDWORD*outマッピングテーブルに登録されたエントリ数を受け取るポインタである。
vtbl 4 HRESULT GetTable(SAFEARRAY** table)
tableSAFEARRAY**outプロキシファクトリエントリの一覧を格納した SAFEARRAY を受け取るポインタである。
vtbl 5 HRESULT GetEntry(DWORD index, IUIAutomationProxyFactoryEntry** entry)
indexDWORDin取得するエントリの 0 始まりのインデックスを指定する。
entryIUIAutomationProxyFactoryEntry**out指定したインデックスのプロキシファクトリエントリを受け取るポインタである。
vtbl 6 HRESULT SetTable(SAFEARRAY* factoryList)
factoryListSAFEARRAY*in新しいマッピングとして設定するプロキシファクトリエントリの一覧を格納した SAFEARRAY を指定する。
vtbl 7 HRESULT InsertEntries(DWORD before, SAFEARRAY* factoryList)
beforeDWORDin挿入位置を表す、この位置の前に挿入するインデックスを指定する。
factoryListSAFEARRAY*in挿入するプロキシファクトリエントリの一覧を格納した SAFEARRAY を指定する。
vtbl 8 HRESULT InsertEntry(DWORD before, IUIAutomationProxyFactoryEntry* factory)
beforeDWORDin挿入位置を表す、この位置の前に挿入するインデックスを指定する。
factoryIUIAutomationProxyFactoryEntry*in挿入するプロキシファクトリエントリを指定する。
vtbl 9 HRESULT RemoveEntry(DWORD index)
indexDWORDin削除するエントリの 0 始まりのインデックスを指定する。
vtbl 10 HRESULT ClearTable()
vtbl 11 HRESULT RestoreDefaultTable()

HSP用 COM定義

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

出力引数:
#define global IID_IUIAutomationProxyFactoryMapping "{09E31E18-872D-4873-93D1-1E541EC133FD}"
#usecom global IUIAutomationProxyFactoryMapping IID_IUIAutomationProxyFactoryMapping "{}"
#comfunc global IUIAutomationProxyFactoryMapping_get_Count            3 var
#comfunc global IUIAutomationProxyFactoryMapping_GetTable             4 var
#comfunc global IUIAutomationProxyFactoryMapping_GetEntry             5 int,sptr
#comfunc global IUIAutomationProxyFactoryMapping_SetTable             6 var
#comfunc global IUIAutomationProxyFactoryMapping_InsertEntries        7 int,var
#comfunc global IUIAutomationProxyFactoryMapping_InsertEntry          8 int,sptr
#comfunc global IUIAutomationProxyFactoryMapping_RemoveEntry          9 int
#comfunc global IUIAutomationProxyFactoryMapping_ClearTable           10
#comfunc global IUIAutomationProxyFactoryMapping_RestoreDefaultTable  11
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。