Skip to main content
Gets the current progress of the sync operation. Call this from within PFGameSaveFilesUiProgressCallback or poll it periodically while a sync is in progress to get up-to-date byte-level progress. During PreparingForUpload, current/total reflect uncompressed bytes processed/expected. During Uploading, current/total reflect uncompressed bytes transferred/expected. During Downloading, current/total reflect bytes downloaded/expected. If total is 0, the total size is not yet known — titles should treat this as indeterminate progress (e.g., show a spinner) rather than dividing by zero or displaying 0%.

Syntax

Parameters

localUserHandle   PFLocalUserHandle Local user handle. syncState   PFGameSaveFilesSyncState*
optional output
Sync state of the operation. current   uint64_t*
optional output
Current bytes processed in the active state. total   uint64_t*
optional output
Total bytes expected in the active state.

Return value

Type: HRESULT TBD

Requirements

Header: PFGameSaveFilesUi.h

See also

PFGameSaveFilesUi members
Last modified on September 11, 2026