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

IFsrmFileGroup

COMIDispatch (デュアル)
IDispatch を実装(デュアルインターフェース)。HSP では comobj 経由でメソッド名による遅延バインド呼び出しができます(vtableインデックス不要)。
IID8dd04909-0e34-4d55-afaa-89e1f1a1bbb9継承元IFsrmObject呼び出し名前(IDispatch) または vtbl自前メソッド開始 vtbl12

メソッド 6

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

vtbl 12 HRESULT get_Name(LPWSTR* name)
nameLPWSTR*outファイルグループの名前を受け取る文字列ポインタである。
vtbl 13 HRESULT put_Name(LPWSTR name)
nameLPWSTRinファイルグループに設定する名前を指定する文字列である。
vtbl 14 HRESULT get_Members(IFsrmMutableCollection** members)
membersIFsrmMutableCollection**outファイルグループに含めるファイルパターンの集合を表すコレクション IFsrmMutableCollection を受け取るポインタである。
vtbl 15 HRESULT put_Members(IFsrmMutableCollection* members)
membersIFsrmMutableCollection*inファイルグループのメンバーとして設定するファイルパターンの集合を表すコレクション IFsrmMutableCollection を指定する。
vtbl 16 HRESULT get_NonMembers(IFsrmMutableCollection** nonMembers)
nonMembersIFsrmMutableCollection**outファイルグループから除外するファイルパターンの集合を表すコレクション IFsrmMutableCollection を受け取るポインタである。
vtbl 17 HRESULT put_NonMembers(IFsrmMutableCollection* nonMembers)
nonMembersIFsrmMutableCollection*inファイルグループから除外するファイルパターンの集合として設定するコレクション IFsrmMutableCollection を指定する。

HSP用 COM定義

#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"

出力引数:
#define global IID_IFsrmFileGroup "{8DD04909-0E34-4D55-AFAA-89E1F1A1BBB9}"
#usecom global IFsrmFileGroup IID_IFsrmFileGroup "{}"
#comfunc global IFsrmFileGroup_get_Name        12 var
#comfunc global IFsrmFileGroup_put_Name        13 wstr
#comfunc global IFsrmFileGroup_get_Members     14 sptr
#comfunc global IFsrmFileGroup_put_Members     15 sptr
#comfunc global IFsrmFileGroup_get_NonMembers  16 sptr
#comfunc global IFsrmFileGroup_put_NonMembers  17 sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。
; ※IDispatch 実装。HSP では comobj 経由でメソッド名による呼び出しも可能(vtbl 不要)。