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

# XStoreShowAssociatedProductsUIResult

> XStoreShowAssociatedProductsUIResult

# XStoreShowAssociatedProductsUIResult

取得呼叫 [XStoreShowAssociatedProductsUIAsync](https://docs.xbox.com/zh-TW/reference/system/xstore/functions/xstoreshowassociatedproductsuiasync.md) 的結果。

## 語法

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

### 參數

*async*   \_Inout\_\
類型：XAsyncBlock\*

[XAsyncBlock](https://docs.xbox.com/zh-TW/reference/system/xasync/structs/xasyncblock.md) 物件，在呼叫完成時包含產品 UI 結果。

### 傳回值

類型：HRESULT

成功時傳回 **S\_OK**，否則傳回錯誤碼。

## 備註

您可以使用 [XAsyncBlock](https://docs.xbox.com/zh-TW/reference/system/xasync/structs/xasyncblock.md) 結構輪詢函式呼叫狀態，並擷取結果。

若要查看與您的遊戲相關聯的可用附加元件集合，請呼叫 [XStoreShowAssociatedProductsUIAsync](https://docs.xbox.com/zh-TW/reference/system/xstore/functions/xstoreshowassociatedproductsuiasync.md)。

若要取得呼叫 `XStoreDownloadAndInstallPackagesAsync` 的結果，請呼叫 [XStoreDownloadAndInstallPackagesResult](https://docs.xbox.com/zh-TW/reference/system/xstore/functions/xstoredownloadandinstallpackagesresult.md)。

## 需求

**標頭：** XStore.h

**支援的平台**：Windows、XBOX One 系列主機和 XBOX Series 主機

## 另請參閱

[XStore](https://docs.xbox.com/zh-TW/reference/system/xstore/xstore_members.md)\
[XAsyncBlock](https://docs.xbox.com/zh-TW/reference/system/xasync/structs/xasyncblock.md)\
[XStoreShowProductPageUIResult](https://docs.xbox.com/zh-TW/reference/system/xstore/functions/xstoreshowproductpageuiresult.md)


## Related topics

- [XStoreShowProductPageUIResult](https://docs.xbox.com/zh-TW/reference/system/xstore/functions/xstoreshowproductpageuiresult.md)
- [XStore (API 內容)](https://docs.xbox.com/zh-TW/reference/system/xstore/xstore_members.md)
- [在 Unity 專案中使用 GDK API 的 C# 包裝函式](https://docs.xbox.com/zh-TW/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [XStoreShowAssociatedProductsUIAsync](https://docs.xbox.com/zh-TW/reference/system/xstore/functions/xstoreshowassociatedproductsuiasync.md)
- [XStoreQueryAssociatedProductsResult](https://docs.xbox.com/zh-TW/reference/system/xstore/functions/xstorequeryassociatedproductsresult.md)
