IExchangeClient::Initialize (Windows CE 5.0)

Send Feedback

This method initializes the Exchange client library and registers a client-provided IExchangeClientRequestCallback implementation that the Exchange client library uses to provide information, including results and in-progress status updates, to client code.

HRESULT Initialize(  IExchangeClientRequestCallback* piCallback);

Parameters

  • piCallback
    [in] Pointer to an IExchangeClientRequestCallback implementation provided by application code using the Exchange client library.

    The methods in this instance should respond to status updates as needed by the application.

Return Values

The following table shows the possible return values:

Value Description
E_POINTER The address in piCallback does not point to a valid object.

The Exchange client library cannot initialize.

OWAEC_E_ALREADYINITIALIZED This instance of the Exchange client library has already been initialized.
S_OK The pointer to the callback object was stored successfully.

Requirements

OS Versions: Windows CE 5.0 and later.
Header: IExchangeClient.h, IExchangeClient.idl.
Link Library: OWAExchangeClient.lib.

See Also

IExchangeClient | IExchangeClientRequestCallback

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.