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

# XPackageMountWithUiResult

> XPackageMountWithUiResult

Gets the results of a call to [XPackageMountWithUIAsync](https://docs.xbox.com/reference/system/xpackage/functions/xpackagemountwithuiasync.md).

## Syntax

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

### Parameters

*async*  \_Inout\_\
Type: XAsyncBlock \*

The XAsyncBlock that was used in the call to [XPackageMountWithUIAsync](https://docs.xbox.com/reference/system/xpackage/functions/xpackagemountwithuiasync.md).

*mount*  \_Out\_\
Type: XPackageMountHandle \*

On return, contains a handle to the mount.

### Return value

Type: HRESULT

HRESULT success or error code.

## Requirements

**Header:** XPackage.h

**Library:** xgameruntime.lib

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

## See also

[XPackage members](https://docs.xbox.com/reference/system/xpackage/xpackage_members.md)


## Related topics

- [XPackageMountWithUiAsync](https://docs.xbox.com/reference/system/xpackage/functions/xpackagemountwithuiasync.md)
- [XPackage (API contents)](https://docs.xbox.com/reference/system/xpackage/xpackage_members.md)
- [Using C# wrappers for GDK APIs in your Unity project](https://docs.xbox.com/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [XPackageMount](https://docs.xbox.com/reference/system/xpackage/functions/xpackagemount.md)
- [XStoreAcquireLicenseForPackageAsync](https://docs.xbox.com/reference/system/xstore/functions/xstoreacquirelicenseforpackageasync.md)
