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

IFsrmFileScreenManager

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

メソッド 9

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 CreateFileScreen(LPWSTR path, IFsrmFileScreen** fileScreen)
pathLPWSTRinファイルスクリーンを適用する対象ディレクトリのパスを指定する文字列である。
fileScreenIFsrmFileScreen**out新規に作成されたファイルスクリーンの IFsrmFileScreen インターフェイスを受け取るポインタである。
vtbl 10 HRESULT GetFileScreen(LPWSTR path, IFsrmFileScreen** fileScreen)
pathLPWSTRin取得対象のファイルスクリーンが適用されているディレクトリのパスを指定する文字列である。
fileScreenIFsrmFileScreen**out指定したパスに対応するファイルスクリーンの IFsrmFileScreen インターフェイスを受け取るポインタである。
vtbl 11 HRESULT EnumFileScreens(LPWSTR path, FsrmEnumOptions options, IFsrmCommittableCollection** fileScreens)
pathLPWSTRin列挙対象とするファイルスクリーンのルートディレクトリのパスを指定する文字列である。NULL の場合はすべてのファイルスクリーンが対象となる。
optionsFsrmEnumOptionsin列挙時の動作を制御する FsrmEnumOptions 列挙値を指定する。
fileScreensIFsrmCommittableCollection**out列挙されたファイルスクリーンを格納するコレクション IFsrmCommittableCollection を受け取るポインタである。
vtbl 12 HRESULT CreateFileScreenException(LPWSTR path, IFsrmFileScreenException** fileScreenException)
pathLPWSTRinファイルスクリーン例外を適用する対象ディレクトリのパスを指定する文字列である。
fileScreenExceptionIFsrmFileScreenException**out新規に作成されたファイルスクリーン例外の IFsrmFileScreenException インターフェイスを受け取るポインタである。
vtbl 13 HRESULT GetFileScreenException(LPWSTR path, IFsrmFileScreenException** fileScreenException)
pathLPWSTRin取得対象のファイルスクリーン例外が適用されているディレクトリのパスを指定する文字列である。
fileScreenExceptionIFsrmFileScreenException**out指定したパスに対応するファイルスクリーン例外の IFsrmFileScreenException インターフェイスを受け取るポインタである。
vtbl 14 HRESULT EnumFileScreenExceptions(LPWSTR path, FsrmEnumOptions options, IFsrmCommittableCollection** fileScreenExceptions)
pathLPWSTRin列挙対象とするファイルスクリーン例外のルートディレクトリのパスを指定する文字列である。NULL の場合はすべての例外が対象となる。
optionsFsrmEnumOptionsin列挙時の動作を制御する FsrmEnumOptions 列挙値を指定する。
fileScreenExceptionsIFsrmCommittableCollection**out列挙されたファイルスクリーン例外を格納するコレクション IFsrmCommittableCollection を受け取るポインタである。
vtbl 15 HRESULT CreateFileScreenCollection(IFsrmCommittableCollection** collection)
collectionIFsrmCommittableCollection**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 不要)。