ホーム › System.Contacts › IContactAggregationGroupCollection
IContactAggregationGroupCollection
COMメソッド 4
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
vtbl 3 HRESULT FindFirst(IContactAggregationGroup** ppGroup)
| ppGroup | IContactAggregationGroup** | out | コレクション内の最初のグループを表す IContactAggregationGroup インターフェイスを受け取るポインタへのポインタである。 |
vtbl 4 HRESULT FindFirstByGlobalObjectId(GUID* pGlobalObjectId, IContactAggregationGroup** ppGroup)
| pGlobalObjectId | GUID* | in | 検索キーとなるグローバルオブジェクト ID を表す GUID へのポインタである。 |
| ppGroup | IContactAggregationGroup** | out | 条件に一致した最初のグループを表す IContactAggregationGroup インターフェイスを受け取るポインタへのポインタである。 |
vtbl 5 HRESULT FindNext(IContactAggregationGroup** ppGroup)
| ppGroup | IContactAggregationGroup** | out | コレクション内の次のグループを表す IContactAggregationGroup インターフェイスを受け取るポインタへのポインタである。 |
| pCount | DWORD* | out | コレクションに含まれるグループの数を受け取る変数へのポインタである。 |
HSP用 COM定義
#usecom / #comfunc によるHSPのCOM呼び出し定義。数字は vtbl インデックス(0始まり)。クラスIDが無い場合 #usecom の末尾は "{}"、ある場合は "{CLSID}"。
出力引数:
#define global IID_IContactAggregationGroupCollection "{20A19A9C-D2F3-4B83-9143-BEFFD2CC226D}" #usecom global IContactAggregationGroupCollection IID_IContactAggregationGroupCollection "{}" #comfunc global IContactAggregationGroupCollection_FindFirst 3 sptr #comfunc global IContactAggregationGroupCollection_FindFirstByGlobalObjectId 4 var,sptr #comfunc global IContactAggregationGroupCollection_FindNext 5 sptr #comfunc global IContactAggregationGroupCollection_get_Count 6 var ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。#define global IID_IContactAggregationGroupCollection "{20A19A9C-D2F3-4B83-9143-BEFFD2CC226D}" #usecom global IContactAggregationGroupCollection IID_IContactAggregationGroupCollection "{}" #comfunc global IContactAggregationGroupCollection_FindFirst 3 sptr #comfunc global IContactAggregationGroupCollection_FindFirstByGlobalObjectId 4 sptr,sptr #comfunc global IContactAggregationGroupCollection_FindNext 5 sptr #comfunc global IContactAggregationGroupCollection_get_Count 6 sptr ; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。 ; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。