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

IContactAggregationLink

COM
IIDb6813323-a183-4654-8627-79b30de3a0ec継承元IUnknown自前メソッド開始 vtbl3

メソッド 17

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

vtbl 3 HRESULT Delete()
vtbl 4 HRESULT Save()
vtbl 5 HRESULT get_AccountId(LPWSTR* ppAccountId)
ppAccountIdLPWSTR*outリンクに関連付けられたアカウント ID を受け取る文字列ポインタへのポインタである。
vtbl 6 HRESULT put_AccountId(LPWSTR pAccountId)
pAccountIdLPWSTRinリンクに設定するアカウント ID を指定する文字列である。
vtbl 7 HRESULT get_Id(LPWSTR* ppItemId)
ppItemIdLPWSTR*outリンクの項目 ID を受け取る文字列ポインタへのポインタである。
vtbl 8 HRESULT get_IsLinkResolved(BOOL* pIsLinkResolved)
pIsLinkResolvedBOOL*outリンクが解決済みかどうかを示すブール値を受け取る変数へのポインタである。
vtbl 9 HRESULT put_IsLinkResolved(BOOL isLinkResolved)
isLinkResolvedBOOLinリンクが解決済みであるかどうかを示すブール値を指定する。
vtbl 10 HRESULT get_NetworkSourceIdString(LPWSTR* ppNetworkSourceId)
ppNetworkSourceIdLPWSTR*outリンクのネットワークソース ID を文字列として受け取るポインタへのポインタである。
vtbl 11 HRESULT put_NetworkSourceIdString(LPWSTR pNetworkSourceId)
pNetworkSourceIdLPWSTRinリンクに設定するネットワークソース ID を文字列で指定する。
vtbl 12 HRESULT get_RemoteObjectId(CONTACT_AGGREGATION_BLOB** ppRemoteObjectId)
ppRemoteObjectIdCONTACT_AGGREGATION_BLOB**outリンクのリモートオブジェクト ID を表す CONTACT_AGGREGATION_BLOB を受け取るポインタへのポインタである。
vtbl 13 HRESULT put_RemoteObjectId(CONTACT_AGGREGATION_BLOB* pRemoteObjectId)
pRemoteObjectIdCONTACT_AGGREGATION_BLOB*inリンクに設定するリモートオブジェクト ID を表す CONTACT_AGGREGATION_BLOB へのポインタである。
vtbl 14 HRESULT get_ServerPerson(LPWSTR* ppServerPersonId)
ppServerPersonIdLPWSTR*outリンクに関連付けられたサーバー人物の ID を受け取る文字列ポインタへのポインタである。
vtbl 15 HRESULT put_ServerPerson(LPWSTR pServerPersonId)
pServerPersonIdLPWSTRinリンクに設定するサーバー人物の ID を指定する文字列である。
vtbl 16 HRESULT get_ServerPersonBaseline(LPWSTR* ppServerPersonId)
ppServerPersonIdLPWSTR*outリンクに関連付けられたサーバー人物のベースライン ID を受け取る文字列ポインタへのポインタである。
vtbl 17 HRESULT put_ServerPersonBaseline(LPWSTR pServerPersonId)
pServerPersonIdLPWSTRinリンクに設定するサーバー人物のベースライン ID を指定する文字列である。
vtbl 18 HRESULT get_SyncIdentityHash(CONTACT_AGGREGATION_BLOB** ppSyncIdentityHash)
ppSyncIdentityHashCONTACT_AGGREGATION_BLOB**outリンクの同期 ID ハッシュを表す CONTACT_AGGREGATION_BLOB を受け取るポインタへのポインタである。
vtbl 19 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_IContactAggregationLink "{B6813323-A183-4654-8627-79B30DE3A0EC}"
#usecom global IContactAggregationLink IID_IContactAggregationLink "{}"
#comfunc global IContactAggregationLink_Delete                     3
#comfunc global IContactAggregationLink_Save                       4
#comfunc global IContactAggregationLink_get_AccountId              5 var
#comfunc global IContactAggregationLink_put_AccountId              6 wstr
#comfunc global IContactAggregationLink_get_Id                     7 var
#comfunc global IContactAggregationLink_get_IsLinkResolved         8 var
#comfunc global IContactAggregationLink_put_IsLinkResolved         9 int
#comfunc global IContactAggregationLink_get_NetworkSourceIdString  10 var
#comfunc global IContactAggregationLink_put_NetworkSourceIdString  11 wstr
#comfunc global IContactAggregationLink_get_RemoteObjectId         12 var
#comfunc global IContactAggregationLink_put_RemoteObjectId         13 var
#comfunc global IContactAggregationLink_get_ServerPerson           14 var
#comfunc global IContactAggregationLink_put_ServerPerson           15 wstr
#comfunc global IContactAggregationLink_get_ServerPersonBaseline   16 var
#comfunc global IContactAggregationLink_put_ServerPersonBaseline   17 wstr
#comfunc global IContactAggregationLink_get_SyncIdentityHash       18 var
#comfunc global IContactAggregationLink_put_SyncIdentityHash       19 var
; ※数字は vtbl インデックス(0始まり)。0/1/2 は IUnknown(QueryInterface/AddRef/Release)。
; ※このインターフェースは直接 CoCreateInstance するクラスIDが無いため "{}"(他メソッド/アクティベーションで取得)。
; ※出力/バッファ引数は var(変数直渡し)。varptr 方式にも切替可。