#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
#define global IID_ITfComposition "{20168D64-5A8F-4A5A-B7BD-CFA29F4D0FD9}"
#usecom global ITfComposition IID_ITfComposition "{}"
#comfunc global ITfComposition_GetRange 3 sptr
#comfunc global ITfComposition_ShiftStart 4 int,sptr
#comfunc global ITfComposition_ShiftEnd 5 int,sptr
#comfunc global ITfComposition_EndComposition 6 int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。