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

# XPackageMountWithUiResult

> XPackageMountWithUiResult

# XPackageMountWithUiResult

取得 [XPackageMountWithUIAsync](/zh-TW/reference/system/xpackage/functions/xpackagemountwithuiasync) 呼叫的結果。

## 語法

```cpp theme={null}
HRESULT XPackageMountWithUiResult(
  XAsyncBlock * async,
  XPackageMountHandle * mount
) noexcept;
```

### 參數

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

呼叫 [XPackageMountWithUIAsync](/zh-TW/reference/system/xpackage/functions/xpackagemountwithuiasync) 時所使用的 XAsyncBlock。

*mount*  \_Out\_\
類型：XPackageMountHandle \*

傳回時，包含掛接的控制代碼。

### 傳回值

類型：HRESULT

HRESULT 成功或錯誤碼。

## 需求

**標頭：** XPackage.h

**程式庫：** xgameruntime.lib

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

## 另請參閱

[XPackage 成員](/zh-TW/reference/system/xpackage/xpackage_members)


## Related topics

- [XPackageMountWithUiResult](/reference/system/xpackage/functions/xpackagemountwithuiresult.md)
- [XPackageMountWithUiAsync](/reference/system/xpackage/functions/xpackagemountwithuiasync.md)
