IContactManager::Load Method

Loads an IContact object with the data from the contact referenced by the computer-local contact ID.

Syntax

HRESULT Load(      
    LPCWSTR pszContactID,
    IContact **ppContact
);

Parameters

  • pszContactID
    [in] Specifies the contact ID to load.
  • ppContact
    [out] Specifies the destination IContact object.

Return Value

Returns one of the following values:

S_OK Contact was found and loaded.
ERROR_NO_MATCH Could not find this contact ID.

See Also

IContact::GetContactID