Skip to main content

XGameUiShowErrorDialogResult

Gets the result of a call to XGameUiShowErrorDialogAsync.

Syntax

Parameters

async   _In_
Type: XAsyncBlock*
A pointer to the XAsyncBlock object that was passed to XGameUiShowErrorDialogAsync.

Return value

Type: HRESULT HRESULT success or error code.

Remarks

Typically, you specify this function in XAsyncBlock as the callback function for XGameUiShowErrorDialogAsync. You can also retrieve the result by calling this function after XGameUiShowErrorDialogAsync completes.

Requirements

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

See also

XGameUI
Last modified on August 20, 2026