IOfflineFilesEvents::SyncEnd method (cscobj.h)
Reports that the Offline Files cache has ended a synchronize operation.
Syntax
HRESULT SyncEnd(
[in] REFGUID rSyncId,
[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] hrResult
Result value indicating the reason for the end of the sync operation. This parameter will be S_OK if the operation completed successfully, HRESULT_FROM_WIN32(ERROR_CANCELLED) if the operation was aborted and an error value if some other failure caused the operation to complete prematurely.
Return value
The return value is ignored.
Remarks
The sync engine is also used to encrypted the Offline Files cache. Therefore, an encryption or unencryption operation will cause this event to be generated.
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 |