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

## 语法

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

### 参数

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

一个 [XAsyncBlock](https://docs.xbox.com/zh-CN/reference/system/xasync/structs/xasyncblock.md) 对象，当调用完成时，包含产品 UI 结果。

### 返回值

类型：HRESULT

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

## 备注

可以使用 [XAsyncBlock](https://docs.xbox.com/zh-CN/reference/system/xasync/structs/xasyncblock.md) 结构轮询函数调用状态，并检索结果。

要查看与你的游戏关联的可用加载项集合，请调用 [XStoreShowAssociatedProductsUIAsync](https://docs.xbox.com/zh-CN/reference/system/xstore/functions/xstoreshowassociatedproductsuiasync.md)。

要获取对 `XStoreDownloadAndInstallPackagesAsync` 调用的结果，请调用 [XStoreDownloadAndInstallPackagesResult](https://docs.xbox.com/zh-CN/reference/system/xstore/functions/xstoredownloadandinstallpackagesresult.md)。

## 要求

**头文件：** XStore.h

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

## 另请参阅

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


## Related topics

- [XStoreShowProductPageUIResult](https://docs.xbox.com/zh-CN/reference/system/xstore/functions/xstoreshowproductpageuiresult.md)
- [XStore（API 内容）](https://docs.xbox.com/zh-CN/reference/system/xstore/xstore_members.md)
- [在 Unity 项目中使用 GDK API 的 C# 包装器](https://docs.xbox.com/zh-CN/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [XStoreShowAssociatedProductsUIAsync](https://docs.xbox.com/zh-CN/reference/system/xstore/functions/xstoreshowassociatedproductsuiasync.md)
- [XStoreQueryAssociatedProductsResult](https://docs.xbox.com/zh-CN/reference/system/xstore/functions/xstorequeryassociatedproductsresult.md)
