> ## 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.

# XStorePackageUpdate

> XStorePackageUpdate

# XStorePackageUpdate

Describes a package update.

## Syntax

```cpp theme={null}
typedef struct XStorePackageUpdate {  
    char packageIdentifier[XPACKAGE_IDENTIFIER_MAX_LENGTH];  
    bool isMandatory;  
} XStorePackageUpdate  
```

### Members

*packageIdentifier*\
Type: char\[XPACKAGE\_IDENTIFIER\_MAX\_LENGTH]

A string that uniquely identifies a store package. For more information about package identifiers, see [Manage and license downloadable content (DLC)](/publishing/xstore-commerce/xstore-dlc).

*isMandatory*\
Type: bool

Indicates if the update is mandatory.

## Remarks

To retrieve the list of available updates call [XStoreQueryGameAndDlcPackageUpdatesAsync](/reference/system/xstore/functions/xstorequerygameanddlcpackageupdatesasync). The available updates will be returned in [XStoreQueryGameAndDlcPackageUpdatesResult](/reference/system/xstore/functions/xstorequerygameanddlcpackageupdatesresult). [XStoreQueryGameAndDlcPackageUpdatesResult](/reference/system/xstore/functions/xstorequerygameanddlcpackageupdatesresult) has a return parameter that is a list of **XStorePackageUpdate** objects.

## Requirements

**Header:** XStore.h (included in XGameRuntime.h)

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

## Conceptual documentation

* [Checking for updates](/publishing/xstore-commerce/xstore-checking-updates)

## See also

[XStore](/reference/system/xstore/xstore_members)\
[XStoreQueryGameAndDlcPackageUpdatesAsync](/reference/system/xstore/functions/xstorequerygameanddlcpackageupdatesasync)\
[XStoreQueryGameAndDlcPackageUpdatesResult](/reference/system/xstore/functions/xstorequerygameanddlcpackageupdatesresult)


## Related topics

- [Checking for updates](/publishing/xstore-commerce/xstore-checking-updates.md)
- [XStoreQueryPackageUpdatesResult](/reference/system/xstore/functions/xstorequerypackageupdatesresult.md)
- [XStoreQueryGameAndDlcPackageUpdatesResult](/reference/system/xstore/functions/xstorequerygameanddlcpackageupdatesresult.md)
- [XStore](/reference/system/xstore/xstore_members.md)
- [XStoreQueryPackageUpdatesAsync](/reference/system/xstore/functions/xstorequerypackageupdatesasync.md)
