Share via


IExchangeClientGALSearchInformation::GetDisplayName (Windows Embedded CE 6.0)

1/6/2010

This method provides the display name associated with the global address list (GAL) entry.

Syntax

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 Value

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 cchNameBuffer, was 0.

S_OK

The display name was provided successfully.

Requirements

Header iexchangeclient.h, iexchangeclient.idl
Library OWAExchangeClient.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

IExchangeClientGALSearchInformation