Share via


XGameUiShowErrorDialogUiCallback

Signature for a XGameUiShowErrorDialogAsync callback.

Syntax

void CALLBACK XGameUiShowErrorDialogUiCallback(
     
     XGameUiCallbackHandle callbackHandle,
     XTaskQueueHandle queue,
     HRESULT errorCode,
     const char* serviceContext,
     void* context
);

Parameters

callbackHandle
Type: XGameUiCallbackHandle

Handle for this callback invocation.

queue   Type: XTaskQueueHandle

insert Handle to the task queue that the UI callback was executed on.

errorCode
Type: HRESULT

Error code to display to the user.

serviceContext
Type: const char*

The service defined error string to display for the error.

context
Type: void*

Pointer to dev-provided context.

Requirements

Header: XGameUi.h

Supported platforms: Supported only on Steam Deck

See also

XGameUI
XGameUiSetUiCallbacks