Share via


IExchangeClient::Uninitialize (Windows Embedded CE 6.0)

1/6/2010

This method starts the shutdown procedure for the Exchange client library.

During shutdown, all requests that are pending and currently being processed are cancelled.

When the requests are cancelled and the library is ready to exit, the library calls the IExchangeClientRequestCallback::OnShutdown method.

Application code should not release its IExchangeClient reference until OnShutdown is called.

Syntax

HRESULT Uninitialize();

Parameters

None.

Return Value

The following table shows possible return values:

Value Description

OWAEC_E_NOTINITIALIZED

This instance of the Exchange client has not been initialized.

It must be initialized using the IExchangeClient::Initialize method.

S_OK

The shutdown process was started successfully.

Requirements

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

See Also

Reference

IExchangeClient
IExchangeClient::Initialize
IExchangeClientRequestCallback::OnShutdown