#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IImageList2 "{192B9D83-50FC-457B-90A0-2B82A8B5DAE1}"
#usecom global IImageList2 IID_IImageList2 "{7C476BA2-02B1-48F4-8048-B24619DDC058}"
#comfunc global IImageList2_Resize 32 int,int
#comfunc global IImageList2_GetOriginalSize 33 int,int,var,var
#comfunc global IImageList2_SetOriginalSize 34 int,int,int
#comfunc global IImageList2_SetCallback 35 sptr
#comfunc global IImageList2_GetCallback 36 var,sptr
#comfunc global IImageList2_ForceImagePresent 37 int,int
#comfunc global IImageList2_DiscardImages 38 int,int,int
#comfunc global IImageList2_PreloadImages 39 var
#comfunc global IImageList2_GetStatistics 40 var
#comfunc global IImageList2_Initialize 41 int,int,int,int,int
#comfunc global IImageList2_Replace2 42 int,sptr,sptr,sptr,int
#comfunc global IImageList2_ReplaceFromImageList 43 int,sptr,int,sptr,int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IImageList2 "{192B9D83-50FC-457B-90A0-2B82A8B5DAE1}"
#usecom global IImageList2 IID_IImageList2 "{7C476BA2-02B1-48F4-8048-B24619DDC058}"
#comfunc global IImageList2_Resize 32 int,int
#comfunc global IImageList2_GetOriginalSize 33 int,int,sptr,sptr
#comfunc global IImageList2_SetOriginalSize 34 int,int,int
#comfunc global IImageList2_SetCallback 35 sptr
#comfunc global IImageList2_GetCallback 36 sptr,sptr
#comfunc global IImageList2_ForceImagePresent 37 int,int
#comfunc global IImageList2_DiscardImages 38 int,int,int
#comfunc global IImageList2_PreloadImages 39 sptr
#comfunc global IImageList2_GetStatistics 40 sptr
#comfunc global IImageList2_Initialize 41 int,int,int,int,int
#comfunc global IImageList2_Replace2 42 int,sptr,sptr,sptr,int
#comfunc global IImageList2_ReplaceFromImageList 43 int,sptr,int,sptr,int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。