ホーム › Storage.FileServerResourceManager › IFsrmStorageModuleDefinition
IFsrmStorageModuleDefinition
COMIDispatch (デュアル)✅ IDispatch を実装(デュアルインターフェース)。HSP では
comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。メソッド 6
vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
vtbl 31 HRESULT get_Capabilities(FsrmStorageModuleCaps* capabilities)
| capabilities | FsrmStorageModuleCaps* | out | ストレージモジュールの機能を示す FsrmStorageModuleCaps 列挙値を受け取るポインタである。 |
vtbl 32 HRESULT put_Capabilities(FsrmStorageModuleCaps capabilities)
| capabilities | FsrmStorageModuleCaps | in | ストレージモジュールの機能として設定する FsrmStorageModuleCaps 列挙値を指定する。 |
vtbl 33 HRESULT get_StorageType(FsrmStorageModuleType* storageType)
| storageType | FsrmStorageModuleType* | out | ストレージモジュールの種類を示す FsrmStorageModuleType 列挙値を受け取るポインタである。 |
vtbl 34 HRESULT put_StorageType(FsrmStorageModuleType storageType)
| storageType | FsrmStorageModuleType | in | ストレージモジュールの種類として設定する FsrmStorageModuleType 列挙値を指定する。 |
vtbl 35 HRESULT get_UpdatesFileContent(VARIANT_BOOL* updatesFileContent)
| updatesFileContent | VARIANT_BOOL* | out | モジュールがファイルの内容を更新するかどうかを示す VARIANT_BOOL を受け取るポインタである。 |
vtbl 36 HRESULT put_UpdatesFileContent(VARIANT_BOOL updatesFileContent)
| updatesFileContent | VARIANT_BOOL | in | モジュールがファイルの内容を更新するかどうかを指定する VARIANT_BOOL である。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IFsrmStorageModuleDefinition "{15A81350-497D-4ABA-80E9-D4DBCC5521FE}" #usecom global IFsrmStorageModuleDefinition IID_IFsrmStorageModuleDefinition "{}" #comfunc global IFsrmStorageModuleDefinition_get_Capabilities 31 var #comfunc global IFsrmStorageModuleDefinition_put_Capabilities 32 int #comfunc global IFsrmStorageModuleDefinition_get_StorageType 33 var #comfunc global IFsrmStorageModuleDefinition_put_StorageType 34 int #comfunc global IFsrmStorageModuleDefinition_get_UpdatesFileContent 35 var #comfunc global IFsrmStorageModuleDefinition_put_UpdatesFileContent 36 int ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。 ; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IFsrmStorageModuleDefinition "{15A81350-497D-4ABA-80E9-D4DBCC5521FE}" #usecom global IFsrmStorageModuleDefinition IID_IFsrmStorageModuleDefinition "{}" #comfunc global IFsrmStorageModuleDefinition_get_Capabilities 31 sptr #comfunc global IFsrmStorageModuleDefinition_put_Capabilities 32 int #comfunc global IFsrmStorageModuleDefinition_get_StorageType 33 sptr #comfunc global IFsrmStorageModuleDefinition_put_StorageType 34 int #comfunc global IFsrmStorageModuleDefinition_get_UpdatesFileContent 35 sptr #comfunc global IFsrmStorageModuleDefinition_put_UpdatesFileContent 36 int ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。