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

IContactAggregationContact

COM
IID1eb22e86-4c86-41f0-9f9f-c251e9fda6c3継承元IUnknown自前メソッド開始 vtbl3

メソッド 18

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

vtbl 3 HRESULT Delete()
vtbl 4 HRESULT Save()
vtbl 5 HRESULT MoveToAggregate(LPWSTR pAggregateId)
pAggregateIdLPWSTRinこの連絡先の移動先となる集約の ID を指定する文字列である。
vtbl 6 HRESULT Unlink()
vtbl 7 HRESULT get_AccountId(LPWSTR* ppAccountId)
ppAccountIdLPWSTR*out連絡先に関連付けられたアカウント ID を受け取る文字列ポインタへのポインタである。
vtbl 8 HRESULT put_AccountId(LPWSTR pAccountId)
pAccountIdLPWSTRin連絡先に設定するアカウント ID を指定する文字列である。
vtbl 9 HRESULT get_AggregateId(LPWSTR* ppAggregateId)
ppAggregateIdLPWSTR*out連絡先が属する集約の ID を受け取る文字列ポインタへのポインタである。
vtbl 10 HRESULT get_Id(LPWSTR* ppItemId)
ppItemIdLPWSTR*out連絡先の項目 ID を受け取る文字列ポインタへのポインタである。
vtbl 11 HRESULT get_IsMe(BOOL* pIsMe)
pIsMeBOOL*outこの連絡先が「自分」を表すかどうかを示すブール値を受け取る変数へのポインタである。
vtbl 12 HRESULT get_IsExternal(BOOL* pIsExternal)
pIsExternalBOOL*outこの連絡先が外部連絡先かどうかを示すブール値を受け取る変数へのポインタである。
vtbl 13 HRESULT get_NetworkSourceId(DWORD* pNetworkSourceId)
pNetworkSourceIdDWORD*out連絡先のネットワークソース ID を数値として受け取る変数へのポインタである。
vtbl 14 HRESULT put_NetworkSourceId(DWORD networkSourceId)
networkSourceIdDWORDin連絡先に設定するネットワークソース ID を数値で指定する。
vtbl 15 HRESULT get_NetworkSourceIdString(LPWSTR* ppNetworkSourceId)
ppNetworkSourceIdLPWSTR*out連絡先のネットワークソース ID を文字列として受け取るポインタへのポインタである。
vtbl 16 HRESULT put_NetworkSourceIdString(LPWSTR pNetworkSourceId)
pNetworkSourceIdLPWSTRin連絡先に設定するネットワークソース ID を文字列で指定する。
vtbl 17 HRESULT get_RemoteObjectId(CONTACT_AGGREGATION_BLOB** ppRemoteObjectId)
ppRemoteObjectIdCONTACT_AGGREGATION_BLOB**out連絡先のリモートオブジェクト ID を表す CONTACT_AGGREGATION_BLOB を受け取るポインタへのポインタである。
vtbl 18 HRESULT put_RemoteObjectId(CONTACT_AGGREGATION_BLOB* pRemoteObjectId)
pRemoteObjectIdCONTACT_AGGREGATION_BLOB*in連絡先に設定するリモートオブジェクト ID を表す CONTACT_AGGREGATION_BLOB へのポインタである。
vtbl 19 HRESULT get_SyncIdentityHash(CONTACT_AGGREGATION_BLOB** ppSyncIdentityHash)
ppSyncIdentityHashCONTACT_AGGREGATION_BLOB**out連絡先の同期 ID ハッシュを表す CONTACT_AGGREGATION_BLOB を受け取るポインタへのポインタである。
vtbl 20 HRESULT put_SyncIdentityHash(CONTACT_AGGREGATION_BLOB* pSyncIdentityHash)
pSyncIdentityHashCONTACT_AGGREGATION_BLOB*in連絡先に設定する同期 ID ハッシュを表す CONTACT_AGGREGATION_BLOB へのポインタである。

HSP用 COM定義

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

出力引数:
#define global IID_IContactAggregationContact "{1EB22E86-4C86-41F0-9F9F-C251E9FDA6C3}"
#usecom global IContactAggregationContact IID_IContactAggregationContact "{}"
#comfunc global IContactAggregationContact_Delete                     3
#comfunc global IContactAggregationContact_Save                       4
#comfunc global IContactAggregationContact_MoveToAggregate            5 wstr
#comfunc global IContactAggregationContact_Unlink                     6
#comfunc global IContactAggregationContact_get_AccountId              7 var
#comfunc global IContactAggregationContact_put_AccountId              8 wstr
#comfunc global IContactAggregationContact_get_AggregateId            9 var
#comfunc global IContactAggregationContact_get_Id                     10 var
#comfunc global IContactAggregationContact_get_IsMe                   11 var
#comfunc global IContactAggregationContact_get_IsExternal             12 var
#comfunc global IContactAggregationContact_get_NetworkSourceId        13 var
#comfunc global IContactAggregationContact_put_NetworkSourceId        14 int
#comfunc global IContactAggregationContact_get_NetworkSourceIdString  15 var
#comfunc global IContactAggregationContact_put_NetworkSourceIdString  16 wstr
#comfunc global IContactAggregationContact_get_RemoteObjectId         17 var
#comfunc global IContactAggregationContact_put_RemoteObjectId         18 var
#comfunc global IContactAggregationContact_get_SyncIdentityHash       19 var
#comfunc global IContactAggregationContact_put_SyncIdentityHash       20 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。