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

IFsrmReportManager

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

メソッド 10

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

vtbl 7 HRESULT EnumReportJobs(FsrmEnumOptions options, IFsrmCollection** reportJobs)
optionsFsrmEnumOptionsin列挙時の動作を制御する FsrmEnumOptions 列挙値を指定する。
reportJobsIFsrmCollection**out列挙されたレポートジョブを格納するコレクション IFsrmCollection を受け取るポインタである。
vtbl 8 HRESULT CreateReportJob(IFsrmReportJob** reportJob)
reportJobIFsrmReportJob**out新規に作成されたレポートジョブの IFsrmReportJob インターフェイスを受け取るポインタである。
vtbl 9 HRESULT GetReportJob(LPWSTR taskName, IFsrmReportJob** reportJob)
taskNameLPWSTRin取得対象のレポートジョブに関連付けられたタスク名を指定する文字列である。
reportJobIFsrmReportJob**out指定したタスク名に対応するレポートジョブの IFsrmReportJob インターフェイスを受け取るポインタである。
vtbl 10 HRESULT GetOutputDirectory(FsrmReportGenerationContext context, LPWSTR* path)
contextFsrmReportGenerationContextin出力ディレクトリを取得する対象のレポート生成コンテキストを示す FsrmReportGenerationContext 列挙値を指定する。
pathLPWSTR*out指定したコンテキストにおけるレポートの出力ディレクトリのパスを受け取る文字列ポインタである。
vtbl 11 HRESULT SetOutputDirectory(FsrmReportGenerationContext context, LPWSTR path)
contextFsrmReportGenerationContextin出力ディレクトリを設定する対象のレポート生成コンテキストを示す FsrmReportGenerationContext 列挙値を指定する。
pathLPWSTRin指定したコンテキストにおけるレポートの出力先ディレクトリのパスを指定する文字列である。
vtbl 12 HRESULT IsFilterValidForReportType(FsrmReportType reportType, FsrmReportFilter filter, VARIANT_BOOL* valid)
reportTypeFsrmReportTypein対象のレポートの種類を示す FsrmReportType 列挙値を指定する。
filterFsrmReportFilterin有効性を判定する対象のフィルターを示す FsrmReportFilter 列挙値を指定する。
validVARIANT_BOOL*out指定したフィルターがレポートの種類に対して有効かどうかを示す VARIANT_BOOL を受け取るポインタである。
vtbl 13 HRESULT GetDefaultFilter(FsrmReportType reportType, FsrmReportFilter filter, VARIANT* filterValue)
reportTypeFsrmReportTypein対象のレポートの種類を示す FsrmReportType 列挙値を指定する。
filterFsrmReportFilterin既定値を取得する対象のフィルターを示す FsrmReportFilter 列挙値を指定する。
filterValueVARIANT*out指定したフィルターの既定値を格納した VARIANT を受け取るポインタである。
vtbl 14 HRESULT SetDefaultFilter(FsrmReportType reportType, FsrmReportFilter filter, VARIANT filterValue)
reportTypeFsrmReportTypein対象のレポートの種類を示す FsrmReportType 列挙値を指定する。
filterFsrmReportFilterin既定値を設定する対象のフィルターを示す FsrmReportFilter 列挙値を指定する。
filterValueVARIANTin指定したフィルターに設定する既定値を格納した VARIANT を指定する。
vtbl 15 HRESULT GetReportSizeLimit(FsrmReportLimit limit, VARIANT* limitValue)
limitFsrmReportLimitin値を取得する対象のレポートサイズ制限の種類を示す FsrmReportLimit 列挙値を指定する。
limitValueVARIANT*out指定したサイズ制限の現在値を格納した VARIANT を受け取るポインタである。
vtbl 16 HRESULT SetReportSizeLimit(FsrmReportLimit limit, VARIANT limitValue)
limitFsrmReportLimitin値を設定する対象のレポートサイズ制限の種類を示す FsrmReportLimit 列挙値を指定する。
limitValueVARIANTin指定したサイズ制限に設定する値を格納した 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 不要)。