Syntax
Parameters
provider   _In_Type: XGameSaveProviderHandle XGameSaveProvider containing the XGameSaveContainerInfo. containerNamePrefix   _In_opt_z_
Type: char* A prefix that will be used to search the list of containers for matching container names. context   _In_opt_
Type: void* Pointer that will be passed into the callback function. callback   _In_
Type: XGameSaveContainerInfoCallback* The callback function to run for every container that matches the prefix, return false to stop the enumeration. Use this function to collect the XGameSaveContainerInfo.
Return value
Type: HRESULT Function result.Remarks
Use this function to inspect what containers are available for a user. This may include data that is needed to show in UX. Enumerating this set will not cause a sync for a SyncOnDemand provider and will allow the caller to actually inspect the sync status via the needsSync field of XGameSaveContainerInfo. Any read of blob data or usage of an update context on a container that has needsSync set to true will force a sync and could potentially return various sync errors. You may use XGameSaveEnumerateContainerInfo if you do not need to specify a prefix for your enumerated containers. XGameSaveEnumerateContainerInfo will return the full list of available containers.Requirements
Header: XGameSave.h Library: xgameruntime.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesConceptual documentation
See also
XGameSaveXGameSaveEnumerateContainerInfo
Debugging Game Saves
