IOfflineFilesEvents::SyncFileResult method (cscobj.h)

Reports the result of synchronizing a particular file.

Syntax

HRESULT SyncFileResult(
  [in] REFGUID rSyncId,
  [in] LPCWSTR pszFile,
  [in] HRESULT hrResult
);

Parameters

[in] rSyncId

Unique identifier for the synchronization operation that generated this event. Provided by the caller of the IOfflineFilesCache::Synchronize, IOfflineFilesCache::Pin, or IOfflineFilesCache::Unpin method. This is GUID_NULL if no ID was provided.

[in] pszFile

Fully qualified UNC path of the processed file.

[in] hrResult

Result of the sync operation on this file. The parameter will contain S_OK if the operation completed successfully or a value otherwise.

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

IOfflineFilesEvents