Skip to main content

XUserResolvePrivilegeWithUiAsync

Displays a user interface to allow a user to resolve any issues related to the specified privilege.

Syntax

Parameters

user   _In_
Type: XUserHandle
The user that we are displaying the resolution UI to. options   _In_
Type: XUserPrivilegeOptions
User privilege options. privilege   _In_
Type: XUserPrivilege
The required user privilege. async   _Inout_
Type: XAsyncBlock*
An XAsyncBlock for polling for the call’s status and retrieving call results.

Return value

Type: HRESULT HRESULT success or error code.
For a list of error codes, see Error Codes.

Remarks

To retrieve the result of a call to XUserResolvePrivilegeWithUiAsync, call XUserResolvePrivilegeWithUiResult. The following example shows how to use the XUserResolvePrivilegeWithUiAsync function.

Requirements

Header: XUser.h Library: xgameruntime.lib Supported platforms: Windows, Steam Deck, XBOX One family consoles and XBOX Series consoles

Conceptual documentation

See also

XUser XUserResolvePrivilegeWithUiResult
Last modified on August 20, 2026