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_OKContact was found and loaded.
ERROR_NO_MATCHCould not find this contact ID.

See Also

IContact::GetContactID
Tags :


Page view tracker