Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the result of a call to XGameUiShowMessageDialogAsync.
Syntax
HRESULT XGameUiShowMessageDialogResult(  
         XAsyncBlock* async,  
         XGameUiMessageDialogButton* resultButton  
)  
Parameters
async   _In_
Type: XAsyncBlock*
A pointer to the XAsyncBlock object that was passed to XGameUiShowMessageDialogAsync.
resultButton   _Out_
Type: XGameUiMessageDialogButton*
Indicates the button that the user selected in the message dialog box.
Return value
Type: HRESULT
HRESULT success or error code.
Remarks
Typically, you specify this function in XAsyncBlock as the callback function for XGameUiShowMessageDialogAsync.
You can also retrieve the result by calling this function after XGameUiShowMessageDialogAsync completes.
Requirements
Header: XGameUI.h
Library: xgameruntime.lib
Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles