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

# XStoreShowProductPageUIResult

> XStoreShowProductPageUIResult

# XStoreShowProductPageUIResult

获取对 [XStoreShowProductPageUIAsync](/reference/system/xstore/functions/xstoreshowproductpageuiasync) 调用的结果。

<a id="syntaxSection" />

## 语法

```cpp theme={null}
HRESULT XStoreShowProductPageUIResult(
         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) 对象轮询函数调用状态，并检索结果。

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

要获取由 `XStoreDownloadAndInstallPackagesResult` 返回的结果中的项目数，请调用 [XStoreDownloadAndInstallPackagesResultCount](/reference/system/xstore/functions/xstoredownloadandinstallpackagesresultcount)。

<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)\
[XStoreShowAssociatedProductsUIResult](/reference/system/xstore/functions/xstoreshowassociatedproductsuiresult)


## Related topics

- [XStoreShowAssociatedProductsUIResult](/zh-CN/reference/system/xstore/functions/xstoreshowassociatedproductsuiresult.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)
- [XStoreShowProductPageUIAsync](/zh-CN/reference/system/xstore/functions/xstoreshowproductpageuiasync.md)
- [XStoreProductsQueryNextPageResult](/zh-CN/reference/system/xstore/functions/xstoreproductsquerynextpageresult.md)
