IContactManager::Load Method

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

Syntax

HRESULT Load(
  [in]   LPCWSTR pszContactID,
  [out]  IContact **ppContact
);

Parameters

pszContactID [in]
LPCWSTR

Specifies the contact ID to load.

ppContact [out]
IContact

Specifies the destination IContact object.

Return Value

HRESULT

Returns one of the following values:

Return codeDescription
S_OK

Contact was found and loaded.

ERROR_NO_MATCH

Could not find this contact ID.

 

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2003

Header

Contact.h

IDL

Icontact.idl

DLL

Wab32.dll version 6.0 or later

See Also

IContactManager
GetContactID

 

 

Send comments about this topic to Microsoft

Build date: 6/30/2010

Show: