IOfflineFilesSyncProgress::SyncItemResult method (cscobj.h)

Reports that an item has been processed during the synchronization operation. This method is called even if the operation was unsuccessful. Check the value received in the hrResult parameter to determine whether the operation was successful.

Syntax

HRESULT SyncItemResult(
  [in]  LPCWSTR                    pszFile,
  [in]  HRESULT                    hrResult,
  [in]  IOfflineFilesSyncErrorInfo *pErrorInfo,
  [out] OFFLINEFILES_OP_RESPONSE   *pResponse
);

Parameters

[in] pszFile

Receives the fully qualified UNC path of the item that was processed.

[in] hrResult

Receives the result of the operation for the item. Contains S_OK if the operation completed successfully or an error value otherwise.

[in] pErrorInfo

Receives a pointer to an instance of the IOfflineFilesSyncErrorInfo interface that provides detailed information about the result of the sync operation.

[out] pResponse

Set this parameter to a value from the OFFLINEFILES_OP_RESPONSE enumeration that indicates how the operation is to proceed.

Return value

The return value is ignored.

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header cscobj.h
DLL CscSvc.dll; CscObj.dll

See also

IOfflineFilesSyncProgress