IMailSyncCallBack::Progress (Compact 7)
3/12/2014
The Progress method provides synchronization progress reports to the messaging client, so that it can, in turn provide update details to the user.
Syntax
HRESULT Progress (
LPCWSTR pszProfile,
SYNCPROGRESSITEM * pinfo
);
Parameters
- pszProfile
[in] The profile string that is used to initialize the transport provider.
- pinfo
[out,retval] A pointer to a SYNCPROGRESSITEM structure, which contains information about the state of the synchronization progress.
Return Value
The Progress method returns the following standard HRESULT values.
- S_OK
The operation completed successfully.
- E_FAIL
The operation failed due to an unspecified error.
- E_INVALIDARG
The operation failed because one (or more) of the arguments is not valid.
- E_OUTOFMEMORY
The operation failed because it needs more memory resources.
- E_UNEXPECTED
The operation failed due to an unexpected failure.
Remarks
To provide up-to-date progress status, ensure that the transport calls Progress regularly during a synchronization.
Requirements
Header |
cemapi.h |
Library |
cemapi.lib |