Skip to main content

Microsoft.Xbox.Wrappers.XGameSave.Provider.GetQuota

Returns the amount of data available to store using the Save game wrapper.

Syntax

Return value

Type: int64_t Returns the number of bytes still available within the storage space.

Remarks

Each game has a limited quota on how much data they can save for a given user. If this quota is exceeded, attempting to save additional data will fail with E_GS_QUOTA_EXCEEDED. To give an accurate view we always make sure that any outstanding writes, updates or deletes are handled first before returning since any of these can change the remaining quota.

Requirements

Header: xgamesavewrappers.hpp Supported platforms: Windows, XBOX One family consoles and XBOX Series consoles
Last modified on August 20, 2026