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

IFsrmFileConditionProperty

COMIDispatch (デュアル)
IDispatch を実装(デュアルインターフェース)。HSP では comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。
IID81926775-b981-4479-988f-da171d627360継承元IFsrmFileCondition呼び出し名前(IDispatch) または vtbl自前メソッド開始 vtbl9

メソッド 10

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

vtbl 9 HRESULT get_PropertyName(LPWSTR* pVal)
pValLPWSTR*out条件の対象となるプロパティの名前を受け取る文字列ポインタである。
vtbl 10 HRESULT put_PropertyName(LPWSTR newVal)
newValLPWSTRin条件の対象となるプロパティの名前を指定する文字列である。
vtbl 11 HRESULT get_PropertyId(FsrmFileSystemPropertyId* pVal)
pValFsrmFileSystemPropertyId*out条件の対象となるファイルシステムプロパティの識別子 FsrmFileSystemPropertyId を受け取るポインタである。
vtbl 12 HRESULT put_PropertyId(FsrmFileSystemPropertyId newVal)
newValFsrmFileSystemPropertyIdin条件の対象となるファイルシステムプロパティの識別子 FsrmFileSystemPropertyId を指定する。
vtbl 13 HRESULT get_Operator(FsrmPropertyConditionType* pVal)
pValFsrmPropertyConditionType*out条件の比較演算子の種類を示す FsrmPropertyConditionType 列挙値を受け取るポインタである。
vtbl 14 HRESULT put_Operator(FsrmPropertyConditionType newVal)
newValFsrmPropertyConditionTypein条件の比較演算子の種類として設定する FsrmPropertyConditionType 列挙値を指定する。
vtbl 15 HRESULT get_ValueType(FsrmPropertyValueType* pVal)
pValFsrmPropertyValueType*out条件で比較する値の型を示す FsrmPropertyValueType 列挙値を受け取るポインタである。
vtbl 16 HRESULT put_ValueType(FsrmPropertyValueType newVal)
newValFsrmPropertyValueTypein条件で比較する値の型として設定する FsrmPropertyValueType 列挙値を指定する。
vtbl 17 HRESULT get_Value(VARIANT* pVal)
pValVARIANT*out条件で比較する値を格納した VARIANT を受け取るポインタである。
vtbl 18 HRESULT put_Value(VARIANT newVal)
newValVARIANTin条件で比較する値として設定する 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 不要)。