ホーム › UI.Accessibility › IUIAutomationProxyFactoryMapping
IUIAutomationProxyFactoryMapping
COMメソッド 9
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
| count | DWORD* | out | マッピングテーブルに登録されたエントリ数を受け取るポインタである。 |
| table | SAFEARRAY** | out | プロキシファクトリエントリの一覧を格納した SAFEARRAY を受け取るポインタである。 |
vtbl 5 HRESULT GetEntry(DWORD index, IUIAutomationProxyFactoryEntry** entry)
| index | DWORD | in | 取得するエントリの 0 始まりのインデックスを指定する。 |
| entry | IUIAutomationProxyFactoryEntry** | out | 指定したインデックスのプロキシファクトリエントリを受け取るポインタである。 |
| factoryList | SAFEARRAY* | in | 新しいマッピングとして設定するプロキシファクトリエントリの一覧を格納した SAFEARRAY を指定する。 |
| before | DWORD | in | 挿入位置を表す、この位置の前に挿入するインデックスを指定する。 |
| factoryList | SAFEARRAY* | in | 挿入するプロキシファクトリエントリの一覧を格納した SAFEARRAY を指定する。 |
vtbl 8 HRESULT InsertEntry(DWORD before, IUIAutomationProxyFactoryEntry* factory)
| before | DWORD | in | 挿入位置を表す、この位置の前に挿入するインデックスを指定する。 |
| factory | IUIAutomationProxyFactoryEntry* | in | 挿入するプロキシファクトリエントリを指定する。 |
| index | DWORD | in | 削除するエントリの 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 指定が可能。#define global IID_IUIAutomationProxyFactoryMapping "{09E31E18-872D-4873-93D1-1E541EC133FD}" #usecom global IUIAutomationProxyFactoryMapping IID_IUIAutomationProxyFactoryMapping "{}" #comfunc global IUIAutomationProxyFactoryMapping_get_Count 3 sptr #comfunc global IUIAutomationProxyFactoryMapping_GetTable 4 sptr #comfunc global IUIAutomationProxyFactoryMapping_GetEntry 5 int,sptr #comfunc global IUIAutomationProxyFactoryMapping_SetTable 6 sptr #comfunc global IUIAutomationProxyFactoryMapping_InsertEntries 7 int,sptr #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が無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。