IExchangeClientGALSearchInformation::GetPhoneNumber (Windows CE 5.0)
This method provides the phone number associated with the global address list (GAL) entry.
HRESULT GetPhoneNumber( WCHAR* wszNumberBuffer, UINT cchNumberBuffer);
Parameters
- wszNumberBuffer
[out] Pointer to a caller-allocated buffer that this method uses to store the phone number. - cchNumberBuffer
[in] The size of the buffer represented by the pointer in the wszNumberBuffer parameter.
Return Values
The following table shows possible return values:
Value | Description |
---|---|
E_POINTER | The address in wszNumberBuffer is not valid. |
E_INVALIDARG | The size of the provided buffer, according to cchNumberBuffer, was 0. |
S_OK | The phone number was provided successfully. |
Requirements
OS Versions: Windows CE 5.0 and later.
Header: IExchangeClient.h, IExchangeClient.idl.
Link Library: OWAExchangeClient.lib.
See Also
IExchangeClientGALSearchInformation
Send Feedback on this topic to the authors