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

# XStoreDownloadPackageUpdatesResult

> XStoreDownloadPackageUpdatesResult

# XStoreDownloadPackageUpdatesResult

Obtient les résultats d'un appel à [XStoreDownloadPackageUpdatesAsync](https://docs.xbox.com/fr-CA/reference/system/xstore/functions/xstoredownloadpackageupdatesasync.md).

## Syntaxe

```cpp theme={null}
HRESULT XStoreDownloadPackageUpdatesResult(  
         XAsyncBlock* async  
)  
```

### Paramètres

*async*   \_Inout\_\
Type : [XAsyncBlock\*](https://docs.xbox.com/fr-CA/reference/system/xasync/structs/xasyncblock.md)

Le XAsyncBlock qui a été passé à [XStoreDownloadPackageUpdatesAsync](https://docs.xbox.com/fr-CA/reference/system/xstore/functions/xstoredownloadpackageupdatesasync.md). Le [XAsyncBlock](https://docs.xbox.com/fr-CA/reference/system/xasync/structs/xasyncblock.md) peut servir à interroger l'état de l'appel et à récupérer les résultats de l'appel. Pour plus d'informations, consultez [XAsyncBlock](https://docs.xbox.com/fr-CA/reference/system/xasync/structs/xasyncblock.md).

### Valeur de retour

Type : HRESULT

S\_OK en cas de réussite; sinon, retourne un code d'erreur.

## Remarques

Cette fonction de résultat vous permet de récupérer les résultats d'exécution de [XStoreDownloadPackageUpdatesAsync](https://docs.xbox.com/fr-CA/reference/system/xstore/functions/xstoredownloadpackageupdatesasync.md). Par conséquent, cette fonction doit être appelée après l'appel de [XStoreDownloadPackageUpdatesAsync](https://docs.xbox.com/fr-CA/reference/system/xstore/functions/xstoredownloadpackageupdatesasync.md), habituellement dans le contexte d'une fonction de rappel.

Consultez [XStoreQueryGameAndDlcPackageUpdatesAsync](https://docs.xbox.com/fr-CA/reference/system/xstore/functions/xstorequerygameanddlcpackageupdatesasync.md) pour un exemple d'utilisation.

## Configuration requise

**En-tête :** XStore.h (inclus dans XGameRuntime.h)

**Bibliothèque :** xgameruntime.lib

**Plateformes prises en charge :** Windows, consoles de la famille XBOX One et consoles XBOX Series

## Voir aussi

[XStore](https://docs.xbox.com/fr-CA/reference/system/xstore/xstore_members.md)\
[XStoreDownloadPackageUpdatesAsync](https://docs.xbox.com/fr-CA/reference/system/xstore/functions/xstoredownloadpackageupdatesasync.md)


## Related topics

- [XStoreDownloadPackageUpdatesAsync](https://docs.xbox.com/fr-CA/reference/system/xstore/functions/xstoredownloadpackageupdatesasync.md)
- [XStore (contenu de l'API)](https://docs.xbox.com/fr-CA/reference/system/xstore/xstore_members.md)
- [Utilisation des wrappers C# pour les API du GDK dans votre projet Unity](https://docs.xbox.com/fr-CA/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [XStoreDownloadAndInstallPackageUpdatesResult](https://docs.xbox.com/fr-CA/reference/system/xstore/functions/xstoredownloadandinstallpackageupdatesresult.md)
- [XStoreDownloadAndInstallPackageUpdatesAsync](https://docs.xbox.com/fr-CA/reference/system/xstore/functions/xstoredownloadandinstallpackageupdatesasync.md)
