Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method provides the work phone number of the contact.
HRESULT GetWorkPhoneNumber( WCHAR* wszBuffer, UINT cchBuffer);
Parameters
- wszBuffer
[out] Pointer to a caller-allocated buffer that this method uses to store the work phone number. - cchBuffer
[in] The size of the buffer represented by the pointer in the wszBuffer parameter.
Return Values
The following table shows possible return values:
Value | Description |
---|---|
E_POINTER | The address in wszBuffer is not valid. |
E_INVALIDARG | The size of the provided buffer, according to cchBuffer, was 0. |
S_OK | The work 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
IExchangeClientContactInformation
Send Feedback on this topic to the authors