> ## 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](/reference/system/xstore/functions/xstoreshowassociatedproductsuiasync) 调用的结果。

<a id="syntaxSection" />

## 语法

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

<a id="parametersSection" />

### 参数

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

一个 [XAsyncBlock](/reference/system/xasync/structs/xasyncblock) 对象，当调用完成时，包含产品 UI 结果。

<a id="retvalSection" />

### 返回值

类型：HRESULT

成功时返回 **S\_OK**，否则返回错误代码。

<a id="remarksSection" />

## 备注

可以使用 [XAsyncBlock](/reference/system/xasync/structs/xasyncblock) 结构轮询函数调用状态，并检索结果。

要查看与你的游戏关联的可用加载项集合，请调用 [XStoreShowAssociatedProductsUIAsync](/reference/system/xstore/functions/xstoreshowassociatedproductsuiasync)。

要获取对 `XStoreDownloadAndInstallPackagesAsync` 调用的结果，请调用 [XStoreDownloadAndInstallPackagesResult](/reference/system/xstore/functions/xstoredownloadandinstallpackagesresult)。

<a id="requirementsSection" />

## 要求

**头文件：** XStore.h

**支持的平台**：Windows、XBOX One 系列主机和 XBOX Series 主机

<a id="seealsoSection" />

## 另请参阅

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


## Related topics

- [XStoreShowProductPageUIResult](/zh-CN/reference/system/xstore/functions/xstoreshowproductpageuiresult.md)
- [XStore](/zh-CN/reference/system/xstore/xstore_members.md)
- [面向 GDK 的 Unity C# API 包装器](/zh-CN/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [XStoreShowAssociatedProductsUIAsync](/zh-CN/reference/system/xstore/functions/xstoreshowassociatedproductsuiasync.md)
- [XStoreQueryAssociatedProductsResult](/zh-CN/reference/system/xstore/functions/xstorequeryassociatedproductsresult.md)
