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

# XStoreQueryEntitledProductsResult

> XStoreQueryEntitledProductsResult

# XStoreQueryEntitledProductsResult

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

## Syntaxe

```cpp theme={null}
HRESULT XStoreQueryEntitledProductsResult(  
         XAsyncBlock* async,  
         XStoreProductQueryHandle* productQueryHandle  
)  
```

### Paramètres

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

`XAsyncBlock` passé à [XStoreQueryEntitledProductsAsync](https://docs.xbox.com/fr/reference/system/xstore/functions/xstorequeryentitledproductsasync.md).
Utilisez [XAsyncBlock](https://docs.xbox.com/fr/reference/system/xasync/structs/xasyncblock.md) pour interroger l'état de l'appel et récupérer ses résultats.
Pour plus d'informations, consultez [XAsyncBlock](https://docs.xbox.com/fr/reference/system/xasync/structs/xasyncblock.md).

*productQueryHandle*   \_Out\_\
Type : XStoreProductQueryHandle\*

Au retour, contient un XStoreProductQueryHandle représentant la requête. Le XStoreProductQueryHandle retourné peut être passé à [XStoreEnumerateProductsQuery](https://docs.xbox.com/fr/reference/system/xstore/functions/xstoreenumerateproductsquery.md) pour énumérer les produits retournés par la requête.

### Valeur renvoyée

Type : HRESULT

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

## Remarques

Cette fonction de résultat récupère les résultats de l'exécution de [XStoreQueryEntitledProductsAsync](https://docs.xbox.com/fr/reference/system/xstore/functions/xstorequeryentitledproductsasync.md), ainsi que les informations sur les produits si l'exécution a réussi.
Appelez cette fonction après [XStoreQueryEntitledProductsAsync](https://docs.xbox.com/fr/reference/system/xstore/functions/xstorequeryentitledproductsasync.md), généralement dans le contexte d'une fonction de rappel.

Pour obtenir un exemple d'utilisation, consultez [XStoreQueryEntitledProductsAsync](https://docs.xbox.com/fr/reference/system/xstore/functions/xstorequeryentitledproductsasync.md).

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

## Documentation conceptuelle

* [Accorder aux joueurs l'accès au contenu des extensions](https://docs.xbox.com/fr/publishing/xstore-commerce/xstore-granting-access.md)
* [Implémenter les achats en jeu dans votre jeu](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/pc-dev/tutorials/pc-e2e-guide/e2e-services/e2e-in-game-purchases)
* [Opérations de base du Store](https://docs.xbox.com/fr/publishing/xstore-commerce/xstore-basic-operations.md)

## Voir aussi

[XStore](https://docs.xbox.com/fr/reference/system/xstore/xstore_members.md)
[XStoreQueryAssociatedProductsAsync](https://docs.xbox.com/fr/reference/system/xstore/functions/xstorequeryassociatedproductsasync.md)\
[XStoreQueryEntitledProductsAsync](https://docs.xbox.com/fr/reference/system/xstore/functions/xstorequeryentitledproductsasync.md)\
[XStoreQueryProductsAsync](https://docs.xbox.com/fr/reference/system/xstore/functions/xstorequeryproductsasync.md)\
[XStoreQueryProductForCurrentGameAsync](https://docs.xbox.com/fr/reference/system/xstore/functions/xstorequeryproductforcurrentgameasync.md)\
[XStoreQueryProductForPackageAsync](https://docs.xbox.com/fr/reference/system/xstore/functions/xstorequeryproductforpackageasync.md)\
[Opérations de base du Store](https://docs.xbox.com/fr/publishing/xstore-commerce/xstore-basic-operations.md)\
[Accorder aux joueurs l'accès au contenu des extensions](https://docs.xbox.com/fr/publishing/xstore-commerce/xstore-granting-access.md)


## Related topics

- [XStoreQueryEntitledProductsAsync](https://docs.xbox.com/fr/reference/system/xstore/functions/xstorequeryentitledproductsasync.md)
- [XStoreCloseProductsQueryHandle](https://docs.xbox.com/fr/reference/system/xstore/functions/xstorecloseproductsqueryhandle.md)
- [XStoreEnumerateProductsQuery](https://docs.xbox.com/fr/reference/system/xstore/functions/xstoreenumerateproductsquery.md)
- [XStoreProductsQueryHasMorePages](https://docs.xbox.com/fr/reference/system/xstore/functions/xstoreproductsqueryhasmorepages.md)
- [Opérations de base du Store](https://docs.xbox.com/fr/publishing/xstore-commerce/xstore-basic-operations.md)
