ホーム › UI.Accessibility › IUIAutomationProxyFactoryMapping
IUIAutomationProxyFactoryMapping
COM公式ドキュメント
プロキシファクトリのテーブルに対するプロパティとメソッドを公開します。各テーブルエントリは IUIAutomationProxyFactoryEntry インターフェイスで表されます。エントリは、システムがプロキシの使用を試みる順序で並んでいます。
メソッド 9
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
プロキシファクトリテーブル内のエントリ数を取得します。
| count | DWORD* | out | マッピングテーブルに登録されたエントリ数を受け取るポインタである。 |
プロキシファクトリテーブル内のすべてのエントリを取得します。
| table | SAFEARRAY** | out | テーブルエントリの配列へのポインターを受け取ります。 |
戻り値
vtbl 5 HRESULT GetEntry(DWORD index, IUIAutomationProxyFactoryEntry** entry)
プロキシファクトリテーブルからエントリを取得します。
| index | DWORD | in | 取得する項目の 0 から始まるインデックス。 |
| entry | IUIAutomationProxyFactoryEntry** | out | エントリへのポインターを受け取ります。 |
戻り値
プロキシファクトリのテーブルを設定します。
| factoryList | SAFEARRAY* | in | テーブルに含めるプロキシファクトリへのポインター。 |
戻り値
プロキシファクトリのテーブルにエントリを挿入します。
| before | DWORD | in | エントリを挿入する位置の 0 から始まるインデックス。 |
| factoryList | SAFEARRAY* | in | テーブルに挿入するエントリへのポインター。 |
戻り値
vtbl 8 HRESULT InsertEntry(DWORD before, IUIAutomationProxyFactoryEntry* factory)
プロキシファクトリのテーブルにエントリを挿入します。
| before | DWORD | in | エントリを挿入する位置の 0 から始まるインデックス。 |
| factory | IUIAutomationProxyFactoryEntry* | in | 挿入するエントリのアドレス。 |
戻り値
プロキシファクトリのテーブルからエントリを削除します。
| index | DWORD | in | 削除するエントリの 0 から始まるインデックス。 |
戻り値
vtbl 10 HRESULT ClearTable()
プロキシファクトリテーブルからすべてのエントリを削除します。
戻り値
vtbl 11 HRESULT RestoreDefaultTable()
プロキシファクトリの既定のテーブルを復元します。
戻り値
出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
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 指定が可能。