XGameSaveInitializeProvider
Provides and initializes a XGameSave Provider handle.Syntax
Parameters
requestingUser _In_Type: XUserHandle Handle to an XBOX Live user. configurationId _In_z_
Type: char* Service configuration ID (SCID). syncOnDemand _In_
Type: bool When true, syncOnDemand only downloads data from the service if needed. Does not work if device is offline. Setting to true may cause sync progress UI to be shown. provider _Outptr_result_nullonfailure_
Type: XGameSaveProviderHandle* A handle to the XGameSave Provider to be created.
Return value
Type: HRESULT Function result.Common errors
- E_GS_USER_CANCELED
- E_GS_USER_NOT_REGISTERED_IN_SERVICE
- E_GS_NO_ACCESS
- E_GS_NO_SERVICE_CONFIGURATION
Remarks
This function isn’t safe to call on a time-sensitive thread. For more information, see Time-sensitive threads.
The XGameSave API requires your title to have its title ID and service configuration ID (SCID)
- XGameSaveCreateUpdate
- XGameSaveEnumeratorBlobInfo
- XGameSaveEnumerateBlobInfoByName
- XGameSaveEnumerateContainerInfo
- XGameSaveEnumerateContainerInfoByName
Requirements
Header: XGameSave.h Library: xgameruntime.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesConceptual documentation
See also
XGameSaveXGameSaveInitializeProviderAsync
Debugging Game Saves
