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

IContactAggregationManager

COM
IID1d865989-4b1f-4b60-8f34-c2ad468b2b50継承元IUnknown自前メソッド開始 vtbl3

メソッド 15

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

vtbl 3 HRESULT GetVersionInfo(INT* plMajorVersion, INT* plMinorVersion)
plMajorVersionINT*out連絡先集約マネージャーのメジャーバージョン番号を受け取る変数へのポインタである。
plMinorVersionINT*out連絡先集約マネージャーのマイナーバージョン番号を受け取る変数へのポインタである。
vtbl 4 HRESULT CreateOrOpenGroup(LPWSTR pGroupName, CONTACT_AGGREGATION_CREATE_OR_OPEN_OPTIONS options, BOOL* pCreatedGroup, IContactAggregationGroup** ppGroup)
pGroupNameLPWSTRin作成または開くグループの名前を指定する文字列である。
optionsCONTACT_AGGREGATION_CREATE_OR_OPEN_OPTIONSinグループを作成するか既存のものを開くかなどの動作を制御するオプションを指定する。
pCreatedGroupBOOL*outグループが新規作成された場合に TRUE を受け取る変数へのポインタである。
ppGroupIContactAggregationGroup**out作成または取得したグループを表す IContactAggregationGroup インターフェイスを受け取るポインタへのポインタである。
vtbl 5 HRESULT CreateExternalContact(IContactAggregationContact** ppItem)
ppItemIContactAggregationContact**out新規に作成した外部連絡先を表す IContactAggregationContact インターフェイスを受け取るポインタへのポインタである。
vtbl 6 HRESULT CreateServerPerson(IContactAggregationServerPerson** ppServerPerson)
ppServerPersonIContactAggregationServerPerson**out新規に作成したサーバー人物を表す IContactAggregationServerPerson インターフェイスを受け取るポインタへのポインタである。
vtbl 7 HRESULT CreateServerContactLink(IContactAggregationLink** ppServerContactLink)
ppServerContactLinkIContactAggregationLink**out新規に作成したサーバー連絡先リンクを表す IContactAggregationLink インターフェイスを受け取るポインタへのポインタである。
vtbl 8 HRESULT Flush()
vtbl 9 HRESULT OpenAggregateContact(LPWSTR pItemId, IContactAggregationAggregate** ppItem)
pItemIdLPWSTRin開く集約連絡先の項目 ID を指定する文字列である。
ppItemIContactAggregationAggregate**out取得した集約連絡先を表す IContactAggregationAggregate インターフェイスを受け取るポインタへのポインタである。
vtbl 10 HRESULT OpenContact(LPWSTR pItemId, IContactAggregationContact** ppItem)
pItemIdLPWSTRin開く連絡先の項目 ID を指定する文字列である。
ppItemIContactAggregationContact**out取得した連絡先を表す IContactAggregationContact インターフェイスを受け取るポインタへのポインタである。
vtbl 11 HRESULT OpenServerContactLink(LPWSTR pItemId, IContactAggregationLink** ppItem)
pItemIdLPWSTRin開くサーバー連絡先リンクの項目 ID を指定する文字列である。
ppItemIContactAggregationLink**out取得したサーバー連絡先リンクを表す IContactAggregationLink インターフェイスを受け取るポインタへのポインタである。
vtbl 12 HRESULT OpenServerPerson(LPWSTR pItemId, IContactAggregationServerPerson** ppItem)
pItemIdLPWSTRin開くサーバー人物の項目 ID を指定する文字列である。
ppItemIContactAggregationServerPerson**out取得したサーバー人物を表す IContactAggregationServerPerson インターフェイスを受け取るポインタへのポインタである。
vtbl 13 HRESULT get_Contacts(CONTACT_AGGREGATION_COLLECTION_OPTIONS options, IContactAggregationContactCollection** ppItems)
optionsCONTACT_AGGREGATION_COLLECTION_OPTIONSin返す連絡先コレクションの取得方法を制御するオプションを指定する。
ppItemsIContactAggregationContactCollection**out連絡先のコレクションを表す IContactAggregationContactCollection インターフェイスを受け取るポインタへのポインタである。
vtbl 14 HRESULT get_AggregateContacts(CONTACT_AGGREGATION_COLLECTION_OPTIONS options, IContactAggregationAggregateCollection** ppAggregates)
optionsCONTACT_AGGREGATION_COLLECTION_OPTIONSin返す集約連絡先コレクションの取得方法を制御するオプションを指定する。
ppAggregatesIContactAggregationAggregateCollection**out集約連絡先のコレクションを表す IContactAggregationAggregateCollection インターフェイスを受け取るポインタへのポインタである。
vtbl 15 HRESULT get_Groups(CONTACT_AGGREGATION_COLLECTION_OPTIONS options, IContactAggregationGroupCollection** ppGroups)
optionsCONTACT_AGGREGATION_COLLECTION_OPTIONSin返すグループコレクションの取得方法を制御するオプションを指定する。
ppGroupsIContactAggregationGroupCollection**outグループのコレクションを表す IContactAggregationGroupCollection インターフェイスを受け取るポインタへのポインタである。
vtbl 16 HRESULT get_ServerPersons(IContactAggregationServerPersonCollection** ppServerPersonCollection)
ppServerPersonCollectionIContactAggregationServerPersonCollection**outサーバー人物のコレクションを表す IContactAggregationServerPersonCollection インターフェイスを受け取るポインタへのポインタである。
vtbl 17 HRESULT get_ServerContactLinks(LPWSTR pPersonItemId, IContactAggregationLinkCollection** ppServerContactLinkCollection)
pPersonItemIdLPWSTRinサーバー連絡先リンクを取得する対象となる人物の項目 ID を指定する文字列である。
ppServerContactLinkCollectionIContactAggregationLinkCollection**outサーバー連絡先リンクのコレクションを表す IContactAggregationLinkCollection インターフェイスを受け取るポインタへのポインタである。

HSP用 COM定義

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

出力引数:
#define global IID_IContactAggregationManager "{1D865989-4B1F-4B60-8F34-C2AD468B2B50}"
#usecom global IContactAggregationManager IID_IContactAggregationManager "{96C8AD95-C199-44DE-B34E-AC33C442DF39}"
#comfunc global IContactAggregationManager_GetVersionInfo           3 var,var
#comfunc global IContactAggregationManager_CreateOrOpenGroup        4 wstr,int,var,sptr
#comfunc global IContactAggregationManager_CreateExternalContact    5 sptr
#comfunc global IContactAggregationManager_CreateServerPerson       6 sptr
#comfunc global IContactAggregationManager_CreateServerContactLink  7 sptr
#comfunc global IContactAggregationManager_Flush                    8
#comfunc global IContactAggregationManager_OpenAggregateContact     9 wstr,sptr
#comfunc global IContactAggregationManager_OpenContact              10 wstr,sptr
#comfunc global IContactAggregationManager_OpenServerContactLink    11 wstr,sptr
#comfunc global IContactAggregationManager_OpenServerPerson         12 wstr,sptr
#comfunc global IContactAggregationManager_get_Contacts             13 int,sptr
#comfunc global IContactAggregationManager_get_AggregateContacts    14 int,sptr
#comfunc global IContactAggregationManager_get_Groups               15 int,sptr
#comfunc global IContactAggregationManager_get_ServerPersons        16 sptr
#comfunc global IContactAggregationManager_get_ServerContactLinks   17 wstr,sptr
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※#usecom 末尾は CoCreateInstance 用のクラスID(コクラスCLSID, SDKから自動取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。
; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。