Share via


XGameUiSetMessageDialogUiResponse

Sets the result XGameUiMessageDialogButton value to be returned by XGameUiShowMessageDialogResult.

Syntax

HRESULT XGameUiSetMessageDialogUiResponse(
     XGameUiCallbackHandle callbackHandle,
     XGameUiMessageDialogButton response
) noexcept;

Parameters

callbackHandle
Type: XGameUiCallbackHandle

The handle for this callback invocation.

response*
Type: XGameUiMessageDialogButton

The value to return from XGameUiShowMessageDialogResult for the corresponding invocation of XGameUiShowMessageDialogAsync.

Return value

Type: STDAPI

Requirements

Header: XGameUi.h

Supported platforms: Supported only on Steam Deck

See also

XGameUI
XGameUiShowMessageDialogAsync