共用方式為


XPackageMountWithUiResult

Gets the results of a call to XPackageMountWithUIAsync.

Syntax

HRESULT XPackageMountWithUiResult(
  XAsyncBlock * async,
  XPackageMountHandle * mount
) noexcept;

Parameters

async  _Inout_
Type: XAsyncBlock *

The XAsyncBlock that was used in the call to 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