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.
Other versions of this page are also available for the following:
.gif)
.gif)
8/28/2008
This method provides the office information associated with the global address list (GAL) entry.
Syntax
HRESULT GetOffice(
WCHAR* wszBuffer,
UINT cchBuffer
);
Parameters
- wszBuffer
[out] Pointer to a caller-allocated buffer that this method uses to store the office information.
- cchBuffer
[in] The size of the buffer represented by the pointer in the wszBuffer parameter.
Return Value
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 office information was provided successfully. |
Requirements
| Header | iexchangeclient.h, iexchangeclient.idl |
| Library | OWAExchangeClient.lib |
| Windows Embedded CE | Windows CE 5.0 and later |