ホーム › System.Contacts › IContactAggregationManager
IContactAggregationManager
COMメソッド 15
vtbl = vtable インデックス(0始まり)。HSP等からCOMメソッドをインデックス指定で呼ぶ際に使用します。0〜2 は IUnknown。
| plMajorVersion | INT* | out | 連絡先集約マネージャーのメジャーバージョン番号を受け取る変数へのポインタである。 |
| plMinorVersion | INT* | out | 連絡先集約マネージャーのマイナーバージョン番号を受け取る変数へのポインタである。 |
vtbl 4 HRESULT CreateOrOpenGroup(LPWSTR pGroupName, CONTACT_AGGREGATION_CREATE_OR_OPEN_OPTIONS options, BOOL* pCreatedGroup, IContactAggregationGroup** ppGroup)
| pGroupName | LPWSTR | in | 作成または開くグループの名前を指定する文字列である。 |
| options | CONTACT_AGGREGATION_CREATE_OR_OPEN_OPTIONS | in | グループを作成するか既存のものを開くかなどの動作を制御するオプションを指定する。 |
| pCreatedGroup | BOOL* | out | グループが新規作成された場合に TRUE を受け取る変数へのポインタである。 |
| ppGroup | IContactAggregationGroup** | out | 作成または取得したグループを表す IContactAggregationGroup インターフェイスを受け取るポインタへのポインタである。 |
vtbl 5 HRESULT CreateExternalContact(IContactAggregationContact** ppItem)
| ppItem | IContactAggregationContact** | out | 新規に作成した外部連絡先を表す IContactAggregationContact インターフェイスを受け取るポインタへのポインタである。 |
vtbl 6 HRESULT CreateServerPerson(IContactAggregationServerPerson** ppServerPerson)
| ppServerPerson | IContactAggregationServerPerson** | out | 新規に作成したサーバー人物を表す IContactAggregationServerPerson インターフェイスを受け取るポインタへのポインタである。 |
vtbl 7 HRESULT CreateServerContactLink(IContactAggregationLink** ppServerContactLink)
| ppServerContactLink | IContactAggregationLink** | out | 新規に作成したサーバー連絡先リンクを表す IContactAggregationLink インターフェイスを受け取るポインタへのポインタである。 |
vtbl 8 HRESULT Flush()
vtbl 9 HRESULT OpenAggregateContact(LPWSTR pItemId, IContactAggregationAggregate** ppItem)
| pItemId | LPWSTR | in | 開く集約連絡先の項目 ID を指定する文字列である。 |
| ppItem | IContactAggregationAggregate** | out | 取得した集約連絡先を表す IContactAggregationAggregate インターフェイスを受け取るポインタへのポインタである。 |
vtbl 10 HRESULT OpenContact(LPWSTR pItemId, IContactAggregationContact** ppItem)
| pItemId | LPWSTR | in | 開く連絡先の項目 ID を指定する文字列である。 |
| ppItem | IContactAggregationContact** | out | 取得した連絡先を表す IContactAggregationContact インターフェイスを受け取るポインタへのポインタである。 |
vtbl 11 HRESULT OpenServerContactLink(LPWSTR pItemId, IContactAggregationLink** ppItem)
| pItemId | LPWSTR | in | 開くサーバー連絡先リンクの項目 ID を指定する文字列である。 |
| ppItem | IContactAggregationLink** | out | 取得したサーバー連絡先リンクを表す IContactAggregationLink インターフェイスを受け取るポインタへのポインタである。 |
vtbl 12 HRESULT OpenServerPerson(LPWSTR pItemId, IContactAggregationServerPerson** ppItem)
| pItemId | LPWSTR | in | 開くサーバー人物の項目 ID を指定する文字列である。 |
| ppItem | IContactAggregationServerPerson** | out | 取得したサーバー人物を表す IContactAggregationServerPerson インターフェイスを受け取るポインタへのポインタである。 |
vtbl 13 HRESULT get_Contacts(CONTACT_AGGREGATION_COLLECTION_OPTIONS options, IContactAggregationContactCollection** ppItems)
| options | CONTACT_AGGREGATION_COLLECTION_OPTIONS | in | 返す連絡先コレクションの取得方法を制御するオプションを指定する。 |
| ppItems | IContactAggregationContactCollection** | out | 連絡先のコレクションを表す IContactAggregationContactCollection インターフェイスを受け取るポインタへのポインタである。 |
vtbl 14 HRESULT get_AggregateContacts(CONTACT_AGGREGATION_COLLECTION_OPTIONS options, IContactAggregationAggregateCollection** ppAggregates)
| options | CONTACT_AGGREGATION_COLLECTION_OPTIONS | in | 返す集約連絡先コレクションの取得方法を制御するオプションを指定する。 |
| ppAggregates | IContactAggregationAggregateCollection** | out | 集約連絡先のコレクションを表す IContactAggregationAggregateCollection インターフェイスを受け取るポインタへのポインタである。 |
vtbl 15 HRESULT get_Groups(CONTACT_AGGREGATION_COLLECTION_OPTIONS options, IContactAggregationGroupCollection** ppGroups)
| options | CONTACT_AGGREGATION_COLLECTION_OPTIONS | in | 返すグループコレクションの取得方法を制御するオプションを指定する。 |
| ppGroups | IContactAggregationGroupCollection** | out | グループのコレクションを表す IContactAggregationGroupCollection インターフェイスを受け取るポインタへのポインタである。 |
vtbl 16 HRESULT get_ServerPersons(IContactAggregationServerPersonCollection** ppServerPersonCollection)
| ppServerPersonCollection | IContactAggregationServerPersonCollection** | out | サーバー人物のコレクションを表す IContactAggregationServerPersonCollection インターフェイスを受け取るポインタへのポインタである。 |
vtbl 17 HRESULT get_ServerContactLinks(LPWSTR pPersonItemId, IContactAggregationLinkCollection** ppServerContactLinkCollection)
| pPersonItemId | LPWSTR | in | サーバー連絡先リンクを取得する対象となる人物の項目 ID を指定する文字列である。 |
| ppServerContactLinkCollection | IContactAggregationLinkCollection** | 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 指定が可能。#define global IID_IContactAggregationManager "{1D865989-4B1F-4B60-8F34-C2AD468B2B50}" #usecom global IContactAggregationManager IID_IContactAggregationManager "{96C8AD95-C199-44DE-B34E-AC33C442DF39}" #comfunc global IContactAggregationManager_GetVersionInfo 3 sptr,sptr #comfunc global IContactAggregationManager_CreateOrOpenGroup 4 wstr,int,sptr,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から自動取得)。 ; ※出力/バッファ引数はポインタ方式(token=sptr / 呼び出しは varptr(変数))。 ; ※ハンドル/void*等の不透明ポインタは IronHSP では intptr 指定が可能。