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

# XStoreShowAssociatedProductsUIAsync

> XStoreShowAssociatedProductsUIAsync

This will open up the Microsoft Store app and show the set of available add-ons associated with the game. This can be further filtered by product type. This is an alternative to enumerating and presenting the available products within the game.

> [!NOTE]
>
> Note, this API opens the store in a web browser and it is suggested to use XStoreShowProductPageUI or XStoreShowPurchaseUI if your games is appearing in the console, XBOX App on PC, or game streaming storefronts.

![Add-ons for this game](https://mintcdn.com/microsoft-4404708b/-_0FrcE2bDxzGxv-/images/gdk/reference/addonsforthisgame-small.png?fit=max\&auto=format\&n=-_0FrcE2bDxzGxv-\&q=85\&s=2d03bf5581fce6d5486ef468e2821bf6)

## Syntax

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

### Parameters

*storeContextHandle*   \_In\_\
Type: XStoreContextHandle

The store context handle for the user returned by [XStoreCreateContext](https://docs.xbox.com/reference/system/xstore/functions/xstorecreatecontext.md).

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

The ID of the product.

*productKinds*   \_In\_\
Type: XStoreProductKind

An enumeration indicating the kind of products to show.

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

An [XAsyncBlock](https://docs.xbox.com/reference/system/xasync/structs/xasyncblock.md) defining the asynchronous work being done. The [XAsyncBlock](https://docs.xbox.com/reference/system/xasync/structs/xasyncblock.md) can be used to poll for the call's status and retrieve call results. See [XAsyncBlock](https://docs.xbox.com/reference/system/xasync/structs/xasyncblock.md) for more information.

### Return value

Type: HRESULT

HRESULT success or error code.

## Requirements

**Header:** XStore.h

**Library:** \*\*\*\*.lib
**Supported Platforms**: Windows, XBOX One family consoles and XBOX Series consoles

## Conceptual documentation

* [Implement in-game purchases in your game](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/pc-dev/tutorials/pc-e2e-guide/e2e-services/e2e-in-game-purchases)
* [Basic store operations](https://docs.xbox.com/publishing/xstore-commerce/xstore-basic-operations.md)

## See also

[XStore](https://docs.xbox.com/reference/system/xstore/xstore_members.md)


## Related topics

- [XStoreShowAssociatedProductsUIResult](https://docs.xbox.com/reference/system/xstore/functions/xstoreshowassociatedproductsuiresult.md)
- [Basic store operations](https://docs.xbox.com/publishing/xstore-commerce/xstore-basic-operations.md)
- [XStore (API contents)](https://docs.xbox.com/reference/system/xstore/xstore_members.md)
- [Using C# wrappers for GDK APIs in your Unity project](https://docs.xbox.com/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [XStoreQueryAssociatedProductsForStoreIdAsync](https://docs.xbox.com/reference/system/xstore/functions/xstorequeryassociatedproductsforstoreidasync.md)
