ホーム › Storage.FileServerResourceManager › IFsrmFileManagementJobManager
IFsrmFileManagementJobManager
COMIDispatch (デュアル)✅ IDispatch を実装(デュアルインターフェース)。HSP では
comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。メソッド 5
vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
| variables | SAFEARRAY** | out | ファイル管理ジョブのアクションで使用可能な変数名の一覧を格納した SAFEARRAY を受け取るポインタである。 |
| descriptions | SAFEARRAY** | out | 各アクション変数に対応する説明文の一覧を格納した SAFEARRAY を受け取るポインタである。 |
vtbl 9 HRESULT EnumFileManagementJobs(FsrmEnumOptions options, IFsrmCollection** fileManagementJobs)
| options | FsrmEnumOptions | in | 列挙時の動作を制御する FsrmEnumOptions 列挙値を指定する。 |
| fileManagementJobs | IFsrmCollection** | out | 列挙されたファイル管理ジョブを格納するコレクション IFsrmCollection を受け取るポインタである。 |
vtbl 10 HRESULT CreateFileManagementJob(IFsrmFileManagementJob** fileManagementJob)
| fileManagementJob | IFsrmFileManagementJob** | out | 新規に作成されたファイル管理ジョブの IFsrmFileManagementJob インターフェイスを受け取るポインタである。 |
vtbl 11 HRESULT GetFileManagementJob(LPWSTR name, IFsrmFileManagementJob** fileManagementJob)
| name | LPWSTR | in | 取得対象のファイル管理ジョブの名前を指定する文字列である。 |
| fileManagementJob | IFsrmFileManagementJob** | 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 不要)。#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 sptr #comfunc global IFsrmFileManagementJobManager_get_ActionVariableDescriptions 8 sptr #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から自動取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。 ; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。