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

# XStoreShowProductPageUIResult

> XStoreShowProductPageUIResult

# XStoreShowProductPageUIResult

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

## 語法

```cpp theme={null}
HRESULT XStoreShowProductPageUIResult(
         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) 物件來輪詢函式呼叫狀態，並擷取結果。

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

若要取得 `XStoreDownloadAndInstallPackagesResult` 所傳回結果中的項目數，請呼叫 [XStoreDownloadAndInstallPackagesResultCount](https://docs.xbox.com/zh-TW/reference/system/xstore/functions/xstoredownloadandinstallpackagesresultcount.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)\
[XStoreShowAssociatedProductsUIResult](https://docs.xbox.com/zh-TW/reference/system/xstore/functions/xstoreshowassociatedproductsuiresult.md)


## Related topics

- [XStoreShowAssociatedProductsUIResult](https://docs.xbox.com/zh-TW/reference/system/xstore/functions/xstoreshowassociatedproductsuiresult.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)
- [XStoreShowProductPageUIAsync](https://docs.xbox.com/zh-TW/reference/system/xstore/functions/xstoreshowproductpageuiasync.md)
- [XStoreProductsQueryNextPageResult](https://docs.xbox.com/zh-TW/reference/system/xstore/functions/xstoreproductsquerynextpageresult.md)
