ホーム › Storage.FileServerResourceManager › IFsrmFileScreenManager
IFsrmFileScreenManager
COMIDispatch (デュアル)✅ IDispatch を実装(デュアルインターフェース)。HSP では
comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。メソッド 9
vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
| variables | SAFEARRAY** | out | アクションで使用可能な変数名の一覧を格納した SAFEARRAY を受け取るポインタである。 |
| descriptions | SAFEARRAY** | out | 各アクション変数に対応する説明文の一覧を格納した SAFEARRAY を受け取るポインタである。 |
vtbl 9 HRESULT CreateFileScreen(LPWSTR path, IFsrmFileScreen** fileScreen)
| path | LPWSTR | in | ファイルスクリーンを適用する対象ディレクトリのパスを指定する文字列である。 |
| fileScreen | IFsrmFileScreen** | out | 新規に作成されたファイルスクリーンの IFsrmFileScreen インターフェイスを受け取るポインタである。 |
vtbl 10 HRESULT GetFileScreen(LPWSTR path, IFsrmFileScreen** fileScreen)
| path | LPWSTR | in | 取得対象のファイルスクリーンが適用されているディレクトリのパスを指定する文字列である。 |
| fileScreen | IFsrmFileScreen** | out | 指定したパスに対応するファイルスクリーンの IFsrmFileScreen インターフェイスを受け取るポインタである。 |
vtbl 11 HRESULT EnumFileScreens(LPWSTR path, FsrmEnumOptions options, IFsrmCommittableCollection** fileScreens)
| path | LPWSTR | in | 列挙対象とするファイルスクリーンのルートディレクトリのパスを指定する文字列である。NULL の場合はすべてのファイルスクリーンが対象となる。 |
| options | FsrmEnumOptions | in | 列挙時の動作を制御する FsrmEnumOptions 列挙値を指定する。 |
| fileScreens | IFsrmCommittableCollection** | out | 列挙されたファイルスクリーンを格納するコレクション IFsrmCommittableCollection を受け取るポインタである。 |
vtbl 12 HRESULT CreateFileScreenException(LPWSTR path, IFsrmFileScreenException** fileScreenException)
| path | LPWSTR | in | ファイルスクリーン例外を適用する対象ディレクトリのパスを指定する文字列である。 |
| fileScreenException | IFsrmFileScreenException** | out | 新規に作成されたファイルスクリーン例外の IFsrmFileScreenException インターフェイスを受け取るポインタである。 |
vtbl 13 HRESULT GetFileScreenException(LPWSTR path, IFsrmFileScreenException** fileScreenException)
| path | LPWSTR | in | 取得対象のファイルスクリーン例外が適用されているディレクトリのパスを指定する文字列である。 |
| fileScreenException | IFsrmFileScreenException** | out | 指定したパスに対応するファイルスクリーン例外の IFsrmFileScreenException インターフェイスを受け取るポインタである。 |
vtbl 14 HRESULT EnumFileScreenExceptions(LPWSTR path, FsrmEnumOptions options, IFsrmCommittableCollection** fileScreenExceptions)
| path | LPWSTR | in | 列挙対象とするファイルスクリーン例外のルートディレクトリのパスを指定する文字列である。NULL の場合はすべての例外が対象となる。 |
| options | FsrmEnumOptions | in | 列挙時の動作を制御する FsrmEnumOptions 列挙値を指定する。 |
| fileScreenExceptions | IFsrmCommittableCollection** | out | 列挙されたファイルスクリーン例外を格納するコレクション IFsrmCommittableCollection を受け取るポインタである。 |
vtbl 15 HRESULT CreateFileScreenCollection(IFsrmCommittableCollection** collection)
| collection | IFsrmCommittableCollection** | out | 新規に作成された空のコミット可能なコレクション IFsrmCommittableCollection を受け取るポインタである。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IFsrmFileScreenManager "{FF4FA04E-5A94-4BDA-A3A0-D5B4D3C52EBA}" #usecom global IFsrmFileScreenManager IID_IFsrmFileScreenManager "{95941183-DB53-4C5F-B37B-7D0921CF9DC7}" #comfunc global IFsrmFileScreenManager_get_ActionVariables 7 var #comfunc global IFsrmFileScreenManager_get_ActionVariableDescriptions 8 var #comfunc global IFsrmFileScreenManager_CreateFileScreen 9 wstr,sptr #comfunc global IFsrmFileScreenManager_GetFileScreen 10 wstr,sptr #comfunc global IFsrmFileScreenManager_EnumFileScreens 11 wstr,int,sptr #comfunc global IFsrmFileScreenManager_CreateFileScreenException 12 wstr,sptr #comfunc global IFsrmFileScreenManager_GetFileScreenException 13 wstr,sptr #comfunc global IFsrmFileScreenManager_EnumFileScreenExceptions 14 wstr,int,sptr #comfunc global IFsrmFileScreenManager_CreateFileScreenCollection 15 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_IFsrmFileScreenManager "{FF4FA04E-5A94-4BDA-A3A0-D5B4D3C52EBA}" #usecom global IFsrmFileScreenManager IID_IFsrmFileScreenManager "{95941183-DB53-4C5F-B37B-7D0921CF9DC7}" #comfunc global IFsrmFileScreenManager_get_ActionVariables 7 sptr #comfunc global IFsrmFileScreenManager_get_ActionVariableDescriptions 8 sptr #comfunc global IFsrmFileScreenManager_CreateFileScreen 9 wstr,sptr #comfunc global IFsrmFileScreenManager_GetFileScreen 10 wstr,sptr #comfunc global IFsrmFileScreenManager_EnumFileScreens 11 wstr,int,sptr #comfunc global IFsrmFileScreenManager_CreateFileScreenException 12 wstr,sptr #comfunc global IFsrmFileScreenManager_GetFileScreenException 13 wstr,sptr #comfunc global IFsrmFileScreenManager_EnumFileScreenExceptions 14 wstr,int,sptr #comfunc global IFsrmFileScreenManager_CreateFileScreenCollection 15 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 不要)。