Compartilhar via


IExchangeClientContactInformation::GetDisplayName (Windows CE 5.0)

Send Feedback

This method provides the display name of the contact.

The display name is the name that appears in the global address list (GAL).

HRESULT GetDisplayName(  WCHAR* wszNameBuffer,  UINT cchNameBuffer);

Parameters

  • wszNameBuffer
    [out] Pointer to a caller-allocated buffer that this method uses to store the display name.
  • cchNameBuffer
    [in] The size of the buffer represented by the pointer in the wszNameBuffer parameter.

Return Values

The following table shows possible return values:

Value Description
E_POINTER The address in wszNameBuffer is not valid.
E_INVALIDARG The size of the provided buffer, according to cchBuffer, was 0.
S_OK The display name was provided successfully.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: IExchangeClient.h, IExchangeClient.idl.
Link Library: OWAExchangeClient.lib.

See Also

IExchangeClientContactInformation

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.