#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IVssComponentEx "{156C8B5E-F131-4BD7-9C97-D1923BE7E1FA}"
#usecom global IVssComponentEx IID_IVssComponentEx "{}"
#comfunc global IVssComponentEx_SetPrepareForBackupFailureMsg 41 wstr
#comfunc global IVssComponentEx_SetPostSnapshotFailureMsg 42 wstr
#comfunc global IVssComponentEx_GetPrepareForBackupFailureMsg 43 var
#comfunc global IVssComponentEx_GetPostSnapshotFailureMsg 44 var
#comfunc global IVssComponentEx_GetAuthoritativeRestore 45 var
#comfunc global IVssComponentEx_GetRollForward 46 var,var
#comfunc global IVssComponentEx_GetRestoreName 47 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。#define global IID_IVssComponentEx "{156C8B5E-F131-4BD7-9C97-D1923BE7E1FA}"
#usecom global IVssComponentEx IID_IVssComponentEx "{}"
#comfunc global IVssComponentEx_SetPrepareForBackupFailureMsg 41 wstr
#comfunc global IVssComponentEx_SetPostSnapshotFailureMsg 42 wstr
#comfunc global IVssComponentEx_GetPrepareForBackupFailureMsg 43 sptr
#comfunc global IVssComponentEx_GetPostSnapshotFailureMsg 44 sptr
#comfunc global IVssComponentEx_GetAuthoritativeRestore 45 sptr
#comfunc global IVssComponentEx_GetRollForward 46 sptr,sptr
#comfunc global IVssComponentEx_GetRestoreName 47 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。