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

Gets the results of a call to [XPackageMountWithUIAsync](/reference/system/xpackage/functions/xpackagemountwithuiasync).

## 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](/reference/system/xpackage/functions/xpackagemountwithuiasync).

*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](/reference/system/xpackage/xpackage_members)


## Related topics

- [XPackageMountWithUiAsync](/reference/system/xpackage/functions/xpackagemountwithuiasync.md)
- [XPackage](/reference/system/xpackage/xpackage_members.md)
- [Unity C# API wrappers for the GDK](/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [[DEPRECATED] XPackageMount](/reference/system/xpackage/functions/xpackagemount.md)
- [XStoreAcquireLicenseForPackageAsync](/reference/system/xstore/functions/xstoreacquirelicenseforpackageasync.md)
