#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IBackgroundCopyJob2 "{54B50739-686F-45EB-9DFF-D6A9A0FAA9AF}"
#usecom global IBackgroundCopyJob2 IID_IBackgroundCopyJob2 "{}"
#comfunc global IBackgroundCopyJob2_SetNotifyCmdLine 35 wstr,wstr
#comfunc global IBackgroundCopyJob2_GetNotifyCmdLine 36 var,var
#comfunc global IBackgroundCopyJob2_GetReplyProgress 37 var
#comfunc global IBackgroundCopyJob2_GetReplyData 38 var,var
#comfunc global IBackgroundCopyJob2_SetReplyFileName 39 wstr
#comfunc global IBackgroundCopyJob2_GetReplyFileName 40 var
#comfunc global IBackgroundCopyJob2_SetCredentials 41 var
#comfunc global IBackgroundCopyJob2_RemoveCredentials 42 int,int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。#define global IID_IBackgroundCopyJob2 "{54B50739-686F-45EB-9DFF-D6A9A0FAA9AF}"
#usecom global IBackgroundCopyJob2 IID_IBackgroundCopyJob2 "{}"
#comfunc global IBackgroundCopyJob2_SetNotifyCmdLine 35 wstr,wstr
#comfunc global IBackgroundCopyJob2_GetNotifyCmdLine 36 sptr,sptr
#comfunc global IBackgroundCopyJob2_GetReplyProgress 37 sptr
#comfunc global IBackgroundCopyJob2_GetReplyData 38 sptr,sptr
#comfunc global IBackgroundCopyJob2_SetReplyFileName 39 wstr
#comfunc global IBackgroundCopyJob2_GetReplyFileName 40 sptr
#comfunc global IBackgroundCopyJob2_SetCredentials 41 sptr
#comfunc global IBackgroundCopyJob2_RemoveCredentials 42 int,int
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。