Win32 API 日本語リファレンス
ホームSystem.Contacts › IContactAggregationAggregateCollection

IContactAggregationAggregateCollection

COM
IID2359f3a6-3a68-40af-98db-0f9eb143c3bb継承元IUnknown自前メソッド開始 vtbl3

メソッド 4

vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。

vtbl 3 HRESULT FindFirst(IContactAggregationAggregate** ppAggregate)
ppAggregateIContactAggregationAggregate**outコレクション内の最初の集約を表す IContactAggregationAggregate インターフェイスを受け取るポインタへのポインタである。
vtbl 4 HRESULT FindFirstByAntiLinkId(LPWSTR pAntiLinkId, IContactAggregationAggregate** ppAggregate)
pAntiLinkIdLPWSTRin検索キーとなるアンチリンク ID を指定する文字列である。
ppAggregateIContactAggregationAggregate**out条件に一致した最初の集約を表す IContactAggregationAggregate インターフェイスを受け取るポインタへのポインタである。
vtbl 5 HRESULT FindNext(IContactAggregationAggregate** ppAggregate)
ppAggregateIContactAggregationAggregate**outコレクション内の次の集約を表す IContactAggregationAggregate インターフェイスを受け取るポインタへのポインタである。
vtbl 6 HRESULT get_Count(INT* pCount)
pCountINT*outコレクションに含まれる集約の数を受け取る変数へのポインタである。

HSP用 COM定義

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

出力引数:
#define global IID_IContactAggregationAggregateCollection "{2359F3A6-3A68-40AF-98DB-0F9EB143C3BB}"
#usecom global IContactAggregationAggregateCollection IID_IContactAggregationAggregateCollection "{}"
#comfunc global IContactAggregationAggregateCollection_FindFirst              3 sptr
#comfunc global IContactAggregationAggregateCollection_FindFirstByAntiLinkId  4 wstr,sptr
#comfunc global IContactAggregationAggregateCollection_FindNext               5 sptr
#comfunc global IContactAggregationAggregateCollection_get_Count              6 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。