Share via


IContactManager::MergeContactIDs Method

Makes an old Contact ID resolve to the same value as a new Contact ID. Subsequent calls to IContactManager::Load with the old contact ID now loads the new contact ID contact.

Syntax

HRESULT MergeContactIDs(      
    LPWSTR pszNewContactID,
    LPCWSTR pszOldContactID
);

Parameters

  • pszNewContactID
    [in] Specifies the ID of the new contact, representing both the old and new contacts.
  • pszOldContactID
    [in] Specifies the ID representing the old contact.

Return Value

Returns one of the following values:

S_OK Address change was successful.