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

ITfCandidateListUIElementBehavior

COM
IID85fad185-58ce-497a-9460-355366b64b9a継承元ITfCandidateListUIElement自前メソッド開始 vtbl15

メソッド 3

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

vtbl 15 HRESULT SetSelection(DWORD nIndex)
nIndexDWORDin選択する候補のインデックスを指定する。
vtbl 16 HRESULT Finalize()
vtbl 17 HRESULT Abort()

HSP用 COM定義

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

#define global IID_ITfCandidateListUIElementBehavior "{85FAD185-58CE-497A-9460-355366B64B9A}"
#usecom global ITfCandidateListUIElementBehavior IID_ITfCandidateListUIElementBehavior "{}"
#comfunc global ITfCandidateListUIElementBehavior_SetSelection  15 int
#comfunc global ITfCandidateListUIElementBehavior_Finalize      16
#comfunc global ITfCandidateListUIElementBehavior_Abort         17
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。