#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_ITfCandidateListUIElement "{EA1EA138-19DF-11D7-A6D2-00065B84435C}"
#usecom global ITfCandidateListUIElement IID_ITfCandidateListUIElement "{}"
#comfunc global ITfCandidateListUIElement_GetUpdatedFlags 7 var
#comfunc global ITfCandidateListUIElement_GetDocumentMgr 8 sptr
#comfunc global ITfCandidateListUIElement_GetCount 9 var
#comfunc global ITfCandidateListUIElement_GetSelection 10 var
#comfunc global ITfCandidateListUIElement_GetString 11 int,var
#comfunc global ITfCandidateListUIElement_GetPageIndex 12 var,int,var
#comfunc global ITfCandidateListUIElement_SetPageIndex 13 var,int
#comfunc global ITfCandidateListUIElement_GetCurrentPage 14 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_ITfCandidateListUIElement "{EA1EA138-19DF-11D7-A6D2-00065B84435C}"
#usecom global ITfCandidateListUIElement IID_ITfCandidateListUIElement "{}"
#comfunc global ITfCandidateListUIElement_GetUpdatedFlags 7 sptr
#comfunc global ITfCandidateListUIElement_GetDocumentMgr 8 sptr
#comfunc global ITfCandidateListUIElement_GetCount 9 sptr
#comfunc global ITfCandidateListUIElement_GetSelection 10 sptr
#comfunc global ITfCandidateListUIElement_GetString 11 int,sptr
#comfunc global ITfCandidateListUIElement_GetPageIndex 12 sptr,int,sptr
#comfunc global ITfCandidateListUIElement_SetPageIndex 13 sptr,int
#comfunc global ITfCandidateListUIElement_GetCurrentPage 14 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。