XGameSaveFilesGetFolderWithUiResult

Returns a folder that can be used to contain directories and files for storage in the cloud.

Syntax

HRESULT XGameSaveFilesGetFolderWithUiResult(
  XAsyncBlock * async,
  size_t folderSize,
  char * folderResult
)

Parameters

async
Type: In XAsyncBlock *

Contains the information for the Async call.

folderSize
Type: In size_t

Size of the folder path, in bytes.

folderResult
Type: Out_writes_bytes(folderSize) char *

Folder to contain directories and files for storage in the cloud.

Return value

Type: HRESULT

Function result.

Remarks

Titles are expected to create directories and files in the returned folder. Any files that are not in a sub-path (i.e. container) will be ignored as all items are supposed to be within a container to store in the cloud.

Requirements

Header: XGameSaveFiles.h

See also

XGameSaveFiles members
Win32 file IO with Game Saves (XGameSaveFiles)