Skip to main content
Returns the amount of data available to store save data in bytes using the PFGameSaveFiles API. Going over quota will return a negative number and cause the service to block the upload.

Syntax

Parameters

localUserHandle   PFLocalUserHandle Local user whose quota to return. remainingQuota   int64_t*
output
The amount of data available to store save data in bytes. Going over quota will return a negative number and cause the service to block the upload

Return value

Type: HRESULT Result code for this API operation. If called when disconnected from cloud, it will return E_PF_GAMESAVE_DISCONNECTED_FROM_CLOUD.

Requirements

Header: PFGameSaveFiles.h

See also

PFGameSaveFiles members
Last modified on September 11, 2026