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

# XStoreShowAssociatedProductsUIAsync

> XStoreShowAssociatedProductsUIAsync

# XStoreShowAssociatedProductsUIAsync

Ouvre l'application Microsoft Store et affiche l'ensemble des extensions disponibles associées au jeu. Cet affichage peut être filtré davantage par type de produit. Il s'agit d'une alternative à l'énumération et à la présentation des produits disponibles dans le jeu.

<Note>Remarque : cette API ouvre le Store dans un navigateur web. Il est recommandé d'utiliser XStoreShowProductPageUI ou XStoreShowPurchaseUI si votre jeu apparaît sur la console, dans l'application XBOX sur PC ou dans des vitrines de streaming de jeux.</Note>

<img src="https://mintcdn.com/microsoft-4404708b/-_0FrcE2bDxzGxv-/images/gdk/reference/addonsforthisgame-small.png?fit=max&auto=format&n=-_0FrcE2bDxzGxv-&q=85&s=2d03bf5581fce6d5486ef468e2821bf6" alt="Extensions pour ce jeu" width="600" height="332" data-path="images/gdk/reference/addonsforthisgame-small.png" />

## Syntaxe

```cpp theme={null}
HRESULT XStoreShowAssociatedProductsUIAsync(  
         const XStoreContextHandle storeContextHandle,  
         const char* storeId,  
         XStoreProductKind productKinds,  
         XAsyncBlock* async  
)  
```

### Paramètres

*storeContextHandle*   \_In\_\
Type : XStoreContextHandle

Handle de contexte du Store de l'utilisateur, retourné par [XStoreCreateContext](/fr/reference/system/xstore/functions/xstorecreatecontext).

*storeId*   \_In\_z\_\
Type : char\*

ID du produit.

*productKinds*   \_In\_\
Type : XStoreProductKind

Énumération indiquant le type de produits à afficher.

*async*   \_Inout\_\
Type : XAsyncBlock\*

[XAsyncBlock](/fr/reference/system/xasync/structs/xasyncblock) définissant le travail asynchrone en cours. Le [XAsyncBlock](/fr/reference/system/xasync/structs/xasyncblock) peut être utilisé pour interroger l'état de l'appel et récupérer ses résultats. Pour plus d'informations, consultez [XAsyncBlock](/fr/reference/system/xasync/structs/xasyncblock).

### Valeur de retour

Type : HRESULT

Code de réussite ou d'erreur HRESULT.

## Configuration requise

**En-tête :** XStore.h

**Bibliothèque :** \*\*\*\*.lib
**Plateformes prises en charge** : Windows, consoles de la famille XBOX One et consoles XBOX Series

## Documentation conceptuelle

* [Implémenter des achats dans le 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](/fr/publishing/xstore-commerce/xstore-basic-operations)

## Voir aussi

[XStore](/fr/reference/system/xstore/xstore_members)


## Related topics

- [XStoreShowAssociatedProductsUIResult](/fr/reference/system/xstore/functions/xstoreshowassociatedproductsuiresult.md)
- [Opérations de base du Store](/fr/publishing/xstore-commerce/xstore-basic-operations.md)
- [XStore](/fr/reference/system/xstore/xstore_members.md)
- [Wrappers d'API C# Unity pour le GDK](/fr/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [XStoreShowProductPageUIAsync](/fr/reference/system/xstore/functions/xstoreshowproductpageuiasync.md)
