Partager via


XGameUiShowErrorDialogResult

Gets the result of a call to XGameUiShowErrorDialogAsync.

Syntax

HRESULT XGameUiShowErrorDialogResult(  
         XAsyncBlock* async  
)  

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, Xbox One family consoles and Xbox Series consoles

See also

XGameUI