#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_ITfPropertyStore "{6834B120-88CB-11D2-BF45-00105A2799B5}"
#usecom global ITfPropertyStore IID_ITfPropertyStore "{}"
#comfunc global ITfPropertyStore_GetType 3 var
#comfunc global ITfPropertyStore_GetDataType 4 var
#comfunc global ITfPropertyStore_GetData 5 var
#comfunc global ITfPropertyStore_OnTextUpdated 6 int,sptr,var
#comfunc global ITfPropertyStore_Shrink 7 sptr,var
#comfunc global ITfPropertyStore_Divide 8 sptr,sptr,sptr
#comfunc global ITfPropertyStore_Clone 9 sptr
#comfunc global ITfPropertyStore_GetPropertyRangeCreator 10 var
#comfunc global ITfPropertyStore_Serialize 11 sptr,var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_ITfPropertyStore "{6834B120-88CB-11D2-BF45-00105A2799B5}"
#usecom global ITfPropertyStore IID_ITfPropertyStore "{}"
#comfunc global ITfPropertyStore_GetType 3 sptr
#comfunc global ITfPropertyStore_GetDataType 4 sptr
#comfunc global ITfPropertyStore_GetData 5 sptr
#comfunc global ITfPropertyStore_OnTextUpdated 6 int,sptr,sptr
#comfunc global ITfPropertyStore_Shrink 7 sptr,sptr
#comfunc global ITfPropertyStore_Divide 8 sptr,sptr,sptr
#comfunc global ITfPropertyStore_Clone 9 sptr
#comfunc global ITfPropertyStore_GetPropertyRangeCreator 10 sptr
#comfunc global ITfPropertyStore_Serialize 11 sptr,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。