#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IStillImageW "{641BD880-2DC8-11D0-90EA-00AA0060F86C}"
#usecom global IStillImageW IID_IStillImageW "{}"
#comfunc global IStillImageW_Initialize 3 sptr,int
#comfunc global IStillImageW_GetDeviceList 4 int,int,var,sptr
#comfunc global IStillImageW_GetDeviceInfo 5 wstr,sptr
#comfunc global IStillImageW_CreateDevice 6 wstr,int,sptr,sptr
#comfunc global IStillImageW_GetDeviceValue 7 wstr,wstr,var,var,var
#comfunc global IStillImageW_SetDeviceValue 8 wstr,wstr,int,var,int
#comfunc global IStillImageW_GetSTILaunchInformation 9 var,var,var
#comfunc global IStillImageW_RegisterLaunchApplication 10 wstr,wstr
#comfunc global IStillImageW_UnregisterLaunchApplication 11 wstr
#comfunc global IStillImageW_EnableHwNotifications 12 wstr,int
#comfunc global IStillImageW_GetHwNotificationState 13 wstr,var
#comfunc global IStillImageW_RefreshDeviceBus 14 wstr
#comfunc global IStillImageW_LaunchApplicationForDevice 15 wstr,wstr,var
#comfunc global IStillImageW_SetupDeviceParameters 16 var
#comfunc global IStillImageW_WriteToErrorLog 17 int,wstr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IStillImageW "{641BD880-2DC8-11D0-90EA-00AA0060F86C}"
#usecom global IStillImageW IID_IStillImageW "{}"
#comfunc global IStillImageW_Initialize 3 sptr,int
#comfunc global IStillImageW_GetDeviceList 4 int,int,sptr,sptr
#comfunc global IStillImageW_GetDeviceInfo 5 wstr,sptr
#comfunc global IStillImageW_CreateDevice 6 wstr,int,sptr,sptr
#comfunc global IStillImageW_GetDeviceValue 7 wstr,wstr,sptr,sptr,sptr
#comfunc global IStillImageW_SetDeviceValue 8 wstr,wstr,int,sptr,int
#comfunc global IStillImageW_GetSTILaunchInformation 9 sptr,sptr,sptr
#comfunc global IStillImageW_RegisterLaunchApplication 10 wstr,wstr
#comfunc global IStillImageW_UnregisterLaunchApplication 11 wstr
#comfunc global IStillImageW_EnableHwNotifications 12 wstr,int
#comfunc global IStillImageW_GetHwNotificationState 13 wstr,sptr
#comfunc global IStillImageW_RefreshDeviceBus 14 wstr
#comfunc global IStillImageW_LaunchApplicationForDevice 15 wstr,wstr,sptr
#comfunc global IStillImageW_SetupDeviceParameters 16 sptr
#comfunc global IStillImageW_WriteToErrorLog 17 int,wstr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。