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

# 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)](https://docs.xbox.com/publishing/xstore-commerce/xstore-dlc.md).

*isMandatory*\
Type: bool

Indicates if the update is mandatory.

## Remarks

To retrieve the list of available updates call [XStoreQueryGameAndDlcPackageUpdatesAsync](https://docs.xbox.com/reference/system/xstore/functions/xstorequerygameanddlcpackageupdatesasync.md). The available updates will be returned in [XStoreQueryGameAndDlcPackageUpdatesResult](https://docs.xbox.com/reference/system/xstore/functions/xstorequerygameanddlcpackageupdatesresult.md). [XStoreQueryGameAndDlcPackageUpdatesResult](https://docs.xbox.com/reference/system/xstore/functions/xstorequerygameanddlcpackageupdatesresult.md) 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](https://docs.xbox.com/publishing/xstore-commerce/xstore-checking-updates.md)

## See also

[XStore](https://docs.xbox.com/reference/system/xstore/xstore_members.md)\
[XStoreQueryGameAndDlcPackageUpdatesAsync](https://docs.xbox.com/reference/system/xstore/functions/xstorequerygameanddlcpackageupdatesasync.md)\
[XStoreQueryGameAndDlcPackageUpdatesResult](https://docs.xbox.com/reference/system/xstore/functions/xstorequerygameanddlcpackageupdatesresult.md)


## Related topics

- [Checking for updates](https://docs.xbox.com/publishing/xstore-commerce/xstore-checking-updates.md)
- [XStoreQueryPackageUpdatesResult](https://docs.xbox.com/reference/system/xstore/functions/xstorequerypackageupdatesresult.md)
- [XStoreQueryGameAndDlcPackageUpdatesResult](https://docs.xbox.com/reference/system/xstore/functions/xstorequerygameanddlcpackageupdatesresult.md)
- [XStore (API contents)](https://docs.xbox.com/reference/system/xstore/xstore_members.md)
- [XStoreQueryPackageUpdatesAsync](https://docs.xbox.com/reference/system/xstore/functions/xstorequerypackageupdatesasync.md)
