ホーム › Storage.FileServerResourceManager › IFsrmReportManager
IFsrmReportManager
COMIDispatch (デュアル)✅ IDispatch を実装(デュアルインターフェース)。HSP では
comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。メソッド 10
vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
vtbl 7 HRESULT EnumReportJobs(FsrmEnumOptions options, IFsrmCollection** reportJobs)
| options | FsrmEnumOptions | in | 列挙時の動作を制御する FsrmEnumOptions 列挙値を指定する。 |
| reportJobs | IFsrmCollection** | out | 列挙されたレポートジョブを格納するコレクション IFsrmCollection を受け取るポインタである。 |
vtbl 8 HRESULT CreateReportJob(IFsrmReportJob** reportJob)
| reportJob | IFsrmReportJob** | out | 新規に作成されたレポートジョブの IFsrmReportJob インターフェイスを受け取るポインタである。 |
vtbl 9 HRESULT GetReportJob(LPWSTR taskName, IFsrmReportJob** reportJob)
| taskName | LPWSTR | in | 取得対象のレポートジョブに関連付けられたタスク名を指定する文字列である。 |
| reportJob | IFsrmReportJob** | out | 指定したタスク名に対応するレポートジョブの IFsrmReportJob インターフェイスを受け取るポインタである。 |
vtbl 10 HRESULT GetOutputDirectory(FsrmReportGenerationContext context, LPWSTR* path)
| context | FsrmReportGenerationContext | in | 出力ディレクトリを取得する対象のレポート生成コンテキストを示す FsrmReportGenerationContext 列挙値を指定する。 |
| path | LPWSTR* | out | 指定したコンテキストにおけるレポートの出力ディレクトリのパスを受け取る文字列ポインタである。 |
vtbl 11 HRESULT SetOutputDirectory(FsrmReportGenerationContext context, LPWSTR path)
| context | FsrmReportGenerationContext | in | 出力ディレクトリを設定する対象のレポート生成コンテキストを示す FsrmReportGenerationContext 列挙値を指定する。 |
| path | LPWSTR | in | 指定したコンテキストにおけるレポートの出力先ディレクトリのパスを指定する文字列である。 |
vtbl 12 HRESULT IsFilterValidForReportType(FsrmReportType reportType, FsrmReportFilter filter, VARIANT_BOOL* valid)
| reportType | FsrmReportType | in | 対象のレポートの種類を示す FsrmReportType 列挙値を指定する。 |
| filter | FsrmReportFilter | in | 有効性を判定する対象のフィルターを示す FsrmReportFilter 列挙値を指定する。 |
| valid | VARIANT_BOOL* | out | 指定したフィルターがレポートの種類に対して有効かどうかを示す VARIANT_BOOL を受け取るポインタである。 |
vtbl 13 HRESULT GetDefaultFilter(FsrmReportType reportType, FsrmReportFilter filter, VARIANT* filterValue)
| reportType | FsrmReportType | in | 対象のレポートの種類を示す FsrmReportType 列挙値を指定する。 |
| filter | FsrmReportFilter | in | 既定値を取得する対象のフィルターを示す FsrmReportFilter 列挙値を指定する。 |
| filterValue | VARIANT* | out | 指定したフィルターの既定値を格納した VARIANT を受け取るポインタである。 |
vtbl 14 HRESULT SetDefaultFilter(FsrmReportType reportType, FsrmReportFilter filter, VARIANT filterValue)
| reportType | FsrmReportType | in | 対象のレポートの種類を示す FsrmReportType 列挙値を指定する。 |
| filter | FsrmReportFilter | in | 既定値を設定する対象のフィルターを示す FsrmReportFilter 列挙値を指定する。 |
| filterValue | VARIANT | in | 指定したフィルターに設定する既定値を格納した VARIANT を指定する。 |
vtbl 15 HRESULT GetReportSizeLimit(FsrmReportLimit limit, VARIANT* limitValue)
| limit | FsrmReportLimit | in | 値を取得する対象のレポートサイズ制限の種類を示す FsrmReportLimit 列挙値を指定する。 |
| limitValue | VARIANT* | out | 指定したサイズ制限の現在値を格納した VARIANT を受け取るポインタである。 |
vtbl 16 HRESULT SetReportSizeLimit(FsrmReportLimit limit, VARIANT limitValue)
| limit | FsrmReportLimit | in | 値を設定する対象のレポートサイズ制限の種類を示す FsrmReportLimit 列挙値を指定する。 |
| limitValue | VARIANT | in | 指定したサイズ制限に設定する値を格納した VARIANT を指定する。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IFsrmReportManager "{27B899FE-6FFA-4481-A184-D3DAADE8A02B}" #usecom global IFsrmReportManager IID_IFsrmReportManager "{0058EF37-AA66-4C48-BD5B-2FCE432AB0C8}" #comfunc global IFsrmReportManager_EnumReportJobs 7 int,sptr #comfunc global IFsrmReportManager_CreateReportJob 8 sptr #comfunc global IFsrmReportManager_GetReportJob 9 wstr,sptr #comfunc global IFsrmReportManager_GetOutputDirectory 10 int,var #comfunc global IFsrmReportManager_SetOutputDirectory 11 int,wstr #comfunc global IFsrmReportManager_IsFilterValidForReportType 12 int,int,var #comfunc global IFsrmReportManager_GetDefaultFilter 13 int,int,var #comfunc global IFsrmReportManager_SetDefaultFilter 14 int,int,int #comfunc global IFsrmReportManager_GetReportSizeLimit 15 int,var #comfunc global IFsrmReportManager_SetReportSizeLimit 16 int,int ; ※数字は 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_IFsrmReportManager "{27B899FE-6FFA-4481-A184-D3DAADE8A02B}" #usecom global IFsrmReportManager IID_IFsrmReportManager "{0058EF37-AA66-4C48-BD5B-2FCE432AB0C8}" #comfunc global IFsrmReportManager_EnumReportJobs 7 int,sptr #comfunc global IFsrmReportManager_CreateReportJob 8 sptr #comfunc global IFsrmReportManager_GetReportJob 9 wstr,sptr #comfunc global IFsrmReportManager_GetOutputDirectory 10 int,sptr #comfunc global IFsrmReportManager_SetOutputDirectory 11 int,wstr #comfunc global IFsrmReportManager_IsFilterValidForReportType 12 int,int,sptr #comfunc global IFsrmReportManager_GetDefaultFilter 13 int,int,sptr #comfunc global IFsrmReportManager_SetDefaultFilter 14 int,int,int #comfunc global IFsrmReportManager_GetReportSizeLimit 15 int,sptr #comfunc global IFsrmReportManager_SetReportSizeLimit 16 int,int ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。 ; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。