Partager via


IExchangeClientRequestCallback::OnRequestProgress (Windows Embedded CE 6.0)

1/6/2010

The Exchange client library calls this method when the status of a request has changed.

Syntax

HRESULT OnRequestProgress(
  IExchangeClientRequest* pRequest,
  enum ExchangeClientRequestStatus status
);

Parameters

  • pRequest
    [in] Pointer to an IExchangeClientRequest interface that represents the request for which the status has changed.
  • status
    [in] Value from the ExchangeClientRequestStatus enumeration that represents the new status for the request indicated in the pRequest parameter.

Return Value

The Exchange client library ignores the return value generated by the application's implementation of this method.

Remarks

Application code that implements this method can respond in whatever fashion the application requires.

For example, when this method indicates that a request has successfully finished processing (the second parameter contains e_ecrsSucceeded), application code can retrieve the results of the request using the IExchangeClientRequest::GetDataItemArray method.

Requirements

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

See Also

Reference

IExchangeClientRequestCallback
IExchangeClientRequest::GetDataItemArray
ExchangeClientRequestStatus
IExchangeClientRequest