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 simple mail transport protocol (SMTP) address associated with the global address list (GAL) entry.
HRESULT GetSMTPAddress( WCHAR* wszBuffer, UINT cchBuffer);
Parameters
- wszBuffer
[out] Pointer to a caller-allocated buffer that this method uses to store the SMTP address. - 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 SMTP address 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