> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XGameUiSetErrorDialogUiResponse

> XGameUiSetErrorDialogUiResponse

# XGameUiSetErrorDialogUiResponse

完成對 XGameUiShowErrorDialogAsync 的呼叫。

## 語法

```cpp theme={null}
STDAPI  XGameUiSetErrorDialogUiResponse(
     XGameUiCallbackHandle callbackHandle
) noexcept;
```

### 參數

*callbackHandle*\
類型：XGameUiCallbackHandle

此回呼叫用的控制代碼。

### 傳回值

類型：STDAPI

呼叫的 HRESULT 成功或錯誤碼。

## 需求

**標頭：** XGameUi.h

**支援的平台：** 僅在 Steam Deck 上支援

## 另請參閱

[XGameUI](/zh-TW/reference/system/xgameui/xgameui_members)

[XGameUiShowErrorDialogAsync](/zh-TW/reference/system/xgameui/functions/xgameuishowerrordialogasync)


## Related topics

- [XGameUiSetErrorDialogUiResponse](/reference/system/xgameui/functions/xgameuiseterrordialoguiresponse.md)
- [XGameUiCallbackHandle](/reference/system/xgameui/structs/xgameuicallbackhandle.md)
