Win32 API 日本語リファレンス
ホームStorage.FileServerResourceManager › IFsrmFileManagementJobManager

IFsrmFileManagementJobManager

COMIDispatch (デュアル)
IDispatch を実装(デュアルインターフェース)。HSP では comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。
IIDee321ecb-d95e-48e9-907c-c7685a013235継承元IDispatch呼び出し名前(IDispatch) または vtbl自前メソッド開始 vtbl7

メソッド 5

vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。

vtbl 7 HRESULT get_ActionVariables(SAFEARRAY** variables)
variablesSAFEARRAY**outファイル管理ジョブのアクションで使用可能な変数名の一覧を格納した SAFEARRAY を受け取るポインタである。
vtbl 8 HRESULT get_ActionVariableDescriptions(SAFEARRAY** descriptions)
descriptionsSAFEARRAY**out各アクション変数に対応する説明文の一覧を格納した SAFEARRAY を受け取るポインタである。
vtbl 9 HRESULT EnumFileManagementJobs(FsrmEnumOptions options, IFsrmCollection** fileManagementJobs)
optionsFsrmEnumOptionsin列挙時の動作を制御する FsrmEnumOptions 列挙値を指定する。
fileManagementJobsIFsrmCollection**out列挙されたファイル管理ジョブを格納するコレクション IFsrmCollection を受け取るポインタである。
vtbl 10 HRESULT CreateFileManagementJob(IFsrmFileManagementJob** fileManagementJob)
fileManagementJobIFsrmFileManagementJob**out新規に作成されたファイル管理ジョブの IFsrmFileManagementJob インターフェイスを受け取るポインタである。
vtbl 11 HRESULT GetFileManagementJob(LPWSTR name, IFsrmFileManagementJob** fileManagementJob)
nameLPWSTRin取得対象のファイル管理ジョブの名前を指定する文字列である。
fileManagementJobIFsrmFileManagementJob**out指定した名前に一致するファイル管理ジョブの IFsrmFileManagementJob インターフェイスを受け取るポインタである。

HSP用 COM定義

#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"

出力引数:
#define global IID_IFsrmFileManagementJobManager "{EE321ECB-D95E-48E9-907C-C7685A013235}"
#usecom global IFsrmFileManagementJobManager IID_IFsrmFileManagementJobManager "{EB18F9B2-4C3A-4321-B203-205120CFF614}"
#comfunc global IFsrmFileManagementJobManager_get_ActionVariables             7 var
#comfunc global IFsrmFileManagementJobManager_get_ActionVariableDescriptions  8 var
#comfunc global IFsrmFileManagementJobManager_EnumFileManagementJobs          9 int,sptr
#comfunc global IFsrmFileManagementJobManager_CreateFileManagementJob         10 sptr
#comfunc global IFsrmFileManagementJobManager_GetFileManagementJob            11 wstr,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。