#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IVdsVolumeMF "{EE2D5DED-6236-4169-931D-B9778CE03DC6}"
#usecom global IVdsVolumeMF IID_IVdsVolumeMF "{}"
#comfunc global IVdsVolumeMF_GetFileSystemProperties 3 var
#comfunc global IVdsVolumeMF_Format 4 int,wstr,int,int,int,int,sptr
#comfunc global IVdsVolumeMF_AddAccessPath 5 wstr
#comfunc global IVdsVolumeMF_QueryAccessPaths 6 var,var
#comfunc global IVdsVolumeMF_QueryReparsePoints 7 var,var
#comfunc global IVdsVolumeMF_DeleteAccessPath 8 wstr,int
#comfunc global IVdsVolumeMF_Mount 9
#comfunc global IVdsVolumeMF_Dismount 10 int,int
#comfunc global IVdsVolumeMF_SetFileSystemFlags 11 int
#comfunc global IVdsVolumeMF_ClearFileSystemFlags 12 int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IVdsVolumeMF "{EE2D5DED-6236-4169-931D-B9778CE03DC6}"
#usecom global IVdsVolumeMF IID_IVdsVolumeMF "{}"
#comfunc global IVdsVolumeMF_GetFileSystemProperties 3 sptr
#comfunc global IVdsVolumeMF_Format 4 int,wstr,int,int,int,int,sptr
#comfunc global IVdsVolumeMF_AddAccessPath 5 wstr
#comfunc global IVdsVolumeMF_QueryAccessPaths 6 sptr,sptr
#comfunc global IVdsVolumeMF_QueryReparsePoints 7 sptr,sptr
#comfunc global IVdsVolumeMF_DeleteAccessPath 8 wstr,int
#comfunc global IVdsVolumeMF_Mount 9
#comfunc global IVdsVolumeMF_Dismount 10 int,int
#comfunc global IVdsVolumeMF_SetFileSystemFlags 11 int
#comfunc global IVdsVolumeMF_ClearFileSystemFlags 12 int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。