XGameSaveFilesGetFolderWithUiAsync
Returns a folder that can be used to contain directories and files for storage.Syntax
Parameters
requestingUserType: In XUserHandle Handle to an XBOX Live user.
configurationIdType: In_z const char * Service configuration ID (SCID).
asyncType: In XAsyncBlock * Contains the information for the Async call.
Return value
Type: HRESULT Function result.Remarks
Games cannot mix the usage of XGameSaveFiles with the usage of XGameSave. Games much choose which cloud save system they want to use. If the game is using XGameSaveFiles and later calls XGameSaveInitializeProvider, it will error out with E_GS_PROVIDER_MISMATCH. Equally, if the game was using XGameSave and later calls XGameSaveFilesGetFolderWithUiAsync, that will also error out with E_GS_PROVIDER_MISMATCH. When a game is resumed, developers should call XGameSaveFilesGetFolderWithUiAsync in order to ensure that save data is completely up-to-date.Requirements
Header: XGameSaveFiles.hConceptual documentation
- Debugging Game Saves
- Game Saves tools
- Game Saves walkthroughs and samples
- Implement cloud saves in your game
See also
XGameSaveFiles membersXGameSaveFiles Overview
