> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XGameSaveContainerInfo

> XGameSaveContainerInfo

# XGameSaveContainerInfo

Information about a XGameSaveContainer.

## Syntax

```cpp theme={null}
typedef struct XGameSaveContainerInfo {  
    const char* name;  
    const char* displayName;  
    uint32_t blobCount;  
    uint64_t totalSize;  
    time_t lastModifiedTime;  
    bool needsSync;  
} XGameSaveContainerInfo  
```

### Members

*name*\
Type: const char\*

Name of the XGameSaveContainer.

*displayName*\
Type: const char\*

Display name of the XGameSaveContainer.

*blobCount*\
Type: uint32\_t

The number of blobs in the XGameSaveContainer.

*totalSize*\
Type: uint64\_t

The total size of the XGameSaveContainer.

*lastModifiedTime*\
Type: time\_t

Last time the XGameSaveContainer was updated.

*needsSync*\
Type: bool

A boolean value that designates whether there is a difference between the local and server side game save data.

<Note>This value will only ever be true if you called XGameSaveInitializeProviderAsync with syncOnDemand set to true. Any attempt to read or write data to a container with needsSync true may cause the sync UX to be displayed over the game.</Note>

## Remarks

This struct describes an **XGameSaveContainer** which may simply be referred to as a container. A container holds one or more pieces of data saved from a title with some common theme or purpose. It is equivalent to a folder in a file storage system. Containers are populated with [XGameSaveBlob](/reference/system/xgamesave/structs/xgamesaveblob) objects which contain individual pieces of data. The GameSave APIs provide atomic updates at the container level such that for any operation applied to is completed as a total success or not at all. If you attempt to change multiple blobs inside of a container and one blob update fails then every blob in the container will remain unchanged at the end of the operation. You can find a title's containers by using the [XGameSaveEnumerateContainerInfo](/reference/system/xgamesave/functions/xgamesaveenumeratecontainerinfo) or [XGameSaveEnumerateContainerInfoByName](/reference/system/xgamesave/functions/xgamesaveenumeratecontainerinfobyname) function. **XGameSaveContainerInfo** is a parameter for [XGameSaveContainerInfoCallback](/reference/system/xgamesave/functions/xgamesavecontainerinfocallback).

## Requirements

**Header:** XGameSave.h

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

## See also

[XGameSave](/reference/system/xgamesave/xgamesave_members)\
[XGameSaveEnumerateContainerInfo](/reference/system/xgamesave/functions/xgamesaveenumeratecontainerinfo)\
[XGameSaveEnumerateContainerInfoByName](/reference/system/xgamesave/functions/xgamesaveenumeratecontainerinfobyname)\
[XGameSaveContainerInfoCallback](/reference/system/xgamesave/functions/xgamesavecontainerinfocallback)


## Related topics

- [XGameSaveContainerInfoCallback](/reference/system/xgamesave/functions/xgamesavecontainerinfocallback.md)
- [XGameSaveEnumerateContainerInfo](/reference/system/xgamesave/functions/xgamesaveenumeratecontainerinfo.md)
- [XGameSaveEnumerateContainerInfoByName](/reference/system/xgamesave/functions/xgamesaveenumeratecontainerinfobyname.md)
- [XGameSaveGetContainerInfo](/reference/system/xgamesave/functions/xgamesavegetcontainerinfo.md)
- [XGameSaveCreateContainer](/reference/system/xgamesave/functions/xgamesavecreatecontainer.md)
