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

IContactAggregationLinkCollection

COM
IIDf8bc0e93-fb55-4f28-b9fa-b1c274153292継承元IUnknown自前メソッド開始 vtbl3

メソッド 4

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

vtbl 3 HRESULT FindFirst(IContactAggregationLink** ppServerContactLink)
ppServerContactLinkIContactAggregationLink**outコレクション内の最初のサーバー連絡先リンクを表す IContactAggregationLink インターフェイスを受け取るポインタへのポインタである。
vtbl 4 HRESULT FindFirstByRemoteId(LPWSTR pSourceType, LPWSTR pAccountId, CONTACT_AGGREGATION_BLOB* pRemoteId, IContactAggregationLink** ppServerContactLink)
pSourceTypeLPWSTRin検索対象のソース種別を指定する文字列である。
pAccountIdLPWSTRin検索対象のアカウント ID を指定する文字列である。
pRemoteIdCONTACT_AGGREGATION_BLOB*in検索キーとなるリモート ID を表す CONTACT_AGGREGATION_BLOB へのポインタである。
ppServerContactLinkIContactAggregationLink**out条件に一致した最初のサーバー連絡先リンクを表す IContactAggregationLink インターフェイスを受け取るポインタへのポインタである。
vtbl 5 HRESULT FindNext(IContactAggregationLink** ppServerContactLink)
ppServerContactLinkIContactAggregationLink**outコレクション内の次のサーバー連絡先リンクを表す IContactAggregationLink インターフェイスを受け取るポインタへのポインタである。
vtbl 6 HRESULT get_Count(DWORD* pCount)
pCountDWORD*outコレクションに含まれるサーバー連絡先リンクの数を受け取る変数へのポインタである。

HSP用 COM定義

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

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