#define global IID_IImageList "{46EB5926-582E-4017-9FDF-E8998DAA0950}"
#usecom global IImageList IID_IImageList "{7C476BA2-02B1-48F4-8048-B24619DDC058}"
#comfunc global IImageList_Add 3 sptr,sptr,var
#comfunc global IImageList_ReplaceIcon 4 int,sptr,var
#comfunc global IImageList_SetOverlayImage 5 int,int
#comfunc global IImageList_Replace 6 int,sptr,sptr
#comfunc global IImageList_AddMasked 7 sptr,int,var
#comfunc global IImageList_Draw 8 var
#comfunc global IImageList_Remove 9 int
#comfunc global IImageList_GetIcon 10 int,int,sptr
#comfunc global IImageList_GetImageInfo 11 int,var
#comfunc global IImageList_Copy 12 int,sptr,int,int
#comfunc global IImageList_Merge 13 int,sptr,int,int,int,var,sptr
#comfunc global IImageList_Clone 14 var,sptr
#comfunc global IImageList_GetImageRect 15 int,var
#comfunc global IImageList_GetIconSize 16 var,var
#comfunc global IImageList_SetIconSize 17 int,int
#comfunc global IImageList_GetImageCount 18 var
#comfunc global IImageList_SetImageCount 19 int
#comfunc global IImageList_SetBkColor 20 int,var
#comfunc global IImageList_GetBkColor 21 var
#comfunc global IImageList_BeginDrag 22 int,int,int
#comfunc global IImageList_EndDrag 23
#comfunc global IImageList_DragEnter 24 sptr,int,int
#comfunc global IImageList_DragLeave 25 sptr
#comfunc global IImageList_DragMove 26 int,int
#comfunc global IImageList_SetDragCursorImage 27 sptr,int,int,int
#comfunc global IImageList_DragShowNolock 28 int
#comfunc global IImageList_GetDragImage 29 var,var,var,sptr
#comfunc global IImageList_GetItemFlags 30 int,var
#comfunc global IImageList_GetOverlayImage 31 int,var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IImageList "{46EB5926-582E-4017-9FDF-E8998DAA0950}"
#usecom global IImageList IID_IImageList "{7C476BA2-02B1-48F4-8048-B24619DDC058}"
#comfunc global IImageList_Add 3 sptr,sptr,sptr
#comfunc global IImageList_ReplaceIcon 4 int,sptr,sptr
#comfunc global IImageList_SetOverlayImage 5 int,int
#comfunc global IImageList_Replace 6 int,sptr,sptr
#comfunc global IImageList_AddMasked 7 sptr,int,sptr
#comfunc global IImageList_Draw 8 sptr
#comfunc global IImageList_Remove 9 int
#comfunc global IImageList_GetIcon 10 int,int,sptr
#comfunc global IImageList_GetImageInfo 11 int,sptr
#comfunc global IImageList_Copy 12 int,sptr,int,int
#comfunc global IImageList_Merge 13 int,sptr,int,int,int,sptr,sptr
#comfunc global IImageList_Clone 14 sptr,sptr
#comfunc global IImageList_GetImageRect 15 int,sptr
#comfunc global IImageList_GetIconSize 16 sptr,sptr
#comfunc global IImageList_SetIconSize 17 int,int
#comfunc global IImageList_GetImageCount 18 sptr
#comfunc global IImageList_SetImageCount 19 int
#comfunc global IImageList_SetBkColor 20 int,sptr
#comfunc global IImageList_GetBkColor 21 sptr
#comfunc global IImageList_BeginDrag 22 int,int,int
#comfunc global IImageList_EndDrag 23
#comfunc global IImageList_DragEnter 24 sptr,int,int
#comfunc global IImageList_DragLeave 25 sptr
#comfunc global IImageList_DragMove 26 int,int
#comfunc global IImageList_SetDragCursorImage 27 sptr,int,int,int
#comfunc global IImageList_DragShowNolock 28 int
#comfunc global IImageList_GetDragImage 29 sptr,sptr,sptr,sptr
#comfunc global IImageList_GetItemFlags 30 int,sptr
#comfunc global IImageList_GetOverlayImage 31 int,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。