ホーム › Storage.FileServerResourceManager › IFsrmFileConditionProperty
IFsrmFileConditionProperty
COMIDispatch (デュアル)✅ IDispatch を実装(デュアルインターフェース)。HSP では
comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。メソッド 10
vtbl = vtable インデックス(0始まり)。IDispatch 実装のため HSP ではメソッド名でも呼べます(上記)。低レベルの index 呼び出し用に vtbl も掲載。0〜2 は IUnknown。
| pVal | LPWSTR* | out | 条件の対象となるプロパティの名前を受け取る文字列ポインタである。 |
| newVal | LPWSTR | in | 条件の対象となるプロパティの名前を指定する文字列である。 |
vtbl 11 HRESULT get_PropertyId(FsrmFileSystemPropertyId* pVal)
| pVal | FsrmFileSystemPropertyId* | out | 条件の対象となるファイルシステムプロパティの識別子 FsrmFileSystemPropertyId を受け取るポインタである。 |
vtbl 12 HRESULT put_PropertyId(FsrmFileSystemPropertyId newVal)
| newVal | FsrmFileSystemPropertyId | in | 条件の対象となるファイルシステムプロパティの識別子 FsrmFileSystemPropertyId を指定する。 |
vtbl 13 HRESULT get_Operator(FsrmPropertyConditionType* pVal)
| pVal | FsrmPropertyConditionType* | out | 条件の比較演算子の種類を示す FsrmPropertyConditionType 列挙値を受け取るポインタである。 |
vtbl 14 HRESULT put_Operator(FsrmPropertyConditionType newVal)
| newVal | FsrmPropertyConditionType | in | 条件の比較演算子の種類として設定する FsrmPropertyConditionType 列挙値を指定する。 |
vtbl 15 HRESULT get_ValueType(FsrmPropertyValueType* pVal)
| pVal | FsrmPropertyValueType* | out | 条件で比較する値の型を示す FsrmPropertyValueType 列挙値を受け取るポインタである。 |
vtbl 16 HRESULT put_ValueType(FsrmPropertyValueType newVal)
| newVal | FsrmPropertyValueType | in | 条件で比較する値の型として設定する FsrmPropertyValueType 列挙値を指定する。 |
| pVal | VARIANT* | out | 条件で比較する値を格納した VARIANT を受け取るポインタである。 |
| newVal | VARIANT | in | 条件で比較する値として設定する VARIANT を指定する。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IFsrmFileConditionProperty "{81926775-B981-4479-988F-DA171D627360}" #usecom global IFsrmFileConditionProperty IID_IFsrmFileConditionProperty "{}" #comfunc global IFsrmFileConditionProperty_get_PropertyName 9 var #comfunc global IFsrmFileConditionProperty_put_PropertyName 10 wstr #comfunc global IFsrmFileConditionProperty_get_PropertyId 11 var #comfunc global IFsrmFileConditionProperty_put_PropertyId 12 int #comfunc global IFsrmFileConditionProperty_get_Operator 13 var #comfunc global IFsrmFileConditionProperty_put_Operator 14 int #comfunc global IFsrmFileConditionProperty_get_ValueType 15 var #comfunc global IFsrmFileConditionProperty_put_ValueType 16 int #comfunc global IFsrmFileConditionProperty_get_Value 17 var #comfunc global IFsrmFileConditionProperty_put_Value 18 int ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。 ; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。#define global IID_IFsrmFileConditionProperty "{81926775-B981-4479-988F-DA171D627360}" #usecom global IFsrmFileConditionProperty IID_IFsrmFileConditionProperty "{}" #comfunc global IFsrmFileConditionProperty_get_PropertyName 9 sptr #comfunc global IFsrmFileConditionProperty_put_PropertyName 10 wstr #comfunc global IFsrmFileConditionProperty_get_PropertyId 11 sptr #comfunc global IFsrmFileConditionProperty_put_PropertyId 12 int #comfunc global IFsrmFileConditionProperty_get_Operator 13 sptr #comfunc global IFsrmFileConditionProperty_put_Operator 14 int #comfunc global IFsrmFileConditionProperty_get_ValueType 15 sptr #comfunc global IFsrmFileConditionProperty_put_ValueType 16 int #comfunc global IFsrmFileConditionProperty_get_Value 17 sptr #comfunc global IFsrmFileConditionProperty_put_Value 18 int ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。