#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IPhotoProgressDialog "{00F246F9-0750-4F08-9381-2CD8E906A4AE}"
#usecom global IPhotoProgressDialog IID_IPhotoProgressDialog "{00F24CA0-748F-4E8A-894F-0E0357C6799F}"
#comfunc global IPhotoProgressDialog_Create 3 sptr
#comfunc global IPhotoProgressDialog_GetWindow 4 sptr
#comfunc global IPhotoProgressDialog_Destroy 5
#comfunc global IPhotoProgressDialog_SetTitle 6 wstr
#comfunc global IPhotoProgressDialog_ShowCheckbox 7 int,int
#comfunc global IPhotoProgressDialog_SetCheckboxText 8 int,wstr
#comfunc global IPhotoProgressDialog_SetCheckboxCheck 9 int,int
#comfunc global IPhotoProgressDialog_SetCheckboxTooltip 10 int,wstr
#comfunc global IPhotoProgressDialog_IsCheckboxChecked 11 int,var
#comfunc global IPhotoProgressDialog_SetCaption 12 wstr
#comfunc global IPhotoProgressDialog_SetImage 13 int,sptr,sptr
#comfunc global IPhotoProgressDialog_SetPercentComplete 14 int
#comfunc global IPhotoProgressDialog_SetProgressText 15 wstr
#comfunc global IPhotoProgressDialog_SetActionLinkCallback 16 sptr
#comfunc global IPhotoProgressDialog_SetActionLinkText 17 wstr
#comfunc global IPhotoProgressDialog_ShowActionLink 18 int
#comfunc global IPhotoProgressDialog_IsCancelled 19 var
#comfunc global IPhotoProgressDialog_GetUserInput 20 var,sptr,var,var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IPhotoProgressDialog "{00F246F9-0750-4F08-9381-2CD8E906A4AE}"
#usecom global IPhotoProgressDialog IID_IPhotoProgressDialog "{00F24CA0-748F-4E8A-894F-0E0357C6799F}"
#comfunc global IPhotoProgressDialog_Create 3 sptr
#comfunc global IPhotoProgressDialog_GetWindow 4 sptr
#comfunc global IPhotoProgressDialog_Destroy 5
#comfunc global IPhotoProgressDialog_SetTitle 6 wstr
#comfunc global IPhotoProgressDialog_ShowCheckbox 7 int,int
#comfunc global IPhotoProgressDialog_SetCheckboxText 8 int,wstr
#comfunc global IPhotoProgressDialog_SetCheckboxCheck 9 int,int
#comfunc global IPhotoProgressDialog_SetCheckboxTooltip 10 int,wstr
#comfunc global IPhotoProgressDialog_IsCheckboxChecked 11 int,sptr
#comfunc global IPhotoProgressDialog_SetCaption 12 wstr
#comfunc global IPhotoProgressDialog_SetImage 13 int,sptr,sptr
#comfunc global IPhotoProgressDialog_SetPercentComplete 14 int
#comfunc global IPhotoProgressDialog_SetProgressText 15 wstr
#comfunc global IPhotoProgressDialog_SetActionLinkCallback 16 sptr
#comfunc global IPhotoProgressDialog_SetActionLinkText 17 wstr
#comfunc global IPhotoProgressDialog_ShowActionLink 18 int
#comfunc global IPhotoProgressDialog_IsCancelled 19 sptr
#comfunc global IPhotoProgressDialog_GetUserInput 20 sptr,sptr,sptr,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。