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

# XStoreShowAssociatedProductsUIResult

> XStoreShowAssociatedProductsUIResult

# XStoreShowAssociatedProductsUIResult

取得呼叫 [XStoreShowAssociatedProductsUIAsync](/zh-TW/reference/system/xstore/functions/xstoreshowassociatedproductsuiasync) 的結果。

<a id="syntaxSection" />

## 語法

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

<a id="parametersSection" />

### 參數

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

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

<a id="retvalSection" />

### 傳回值

類型：HRESULT

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

<a id="remarksSection" />

## 備註

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

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

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

<a id="requirementsSection" />

## 需求

**標頭：** XStore.h

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

<a id="seealsoSection" />

## 另請參閱

[XStore](/zh-TW/reference/system/xstore/xstore_members)\
[XAsyncBlock](/zh-TW/reference/system/xasync/structs/xasyncblock)\
[XStoreShowProductPageUIResult](/zh-TW/reference/system/xstore/functions/xstoreshowproductpageuiresult)


## Related topics

- [XStoreShowAssociatedProductsUIResult](/reference/system/xstore/functions/xstoreshowassociatedproductsuiresult.md)
- [XStoreShowProductPageUIResult](/reference/system/xstore/functions/xstoreshowproductpageuiresult.md)
- [XStore](/reference/system/xstore/xstore_members.md)
- [XStoreShowAssociatedProductsUIAsync](/reference/system/xstore/functions/xstoreshowassociatedproductsuiasync.md)
- [XStoreQueryAssociatedProductsResult](/reference/system/xstore/functions/xstorequeryassociatedproductsresult.md)
