> ## 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.

# XGameUiShowMessageDialogUiCallback

> XGameUiShowMessageDialogUiCallback

# XGameUiShowMessageDialogUiCallback

XGameUiShowMessageDialogAsync コールバックのシグネチャ。

## 構文

```cpp theme={null}
void CALLBACK XGameUiShowMessageDialogUiCallback(
    
    XGameUiCallbackHandle callbackHandle,
    XTaskQueueHandle queue,
    const char* titleText,
    const char* contentText,
    const char* firstButtonText,
    const char* secondButtonText,
    const char* thirdButtonText,
    XGameUiMessageDialogButton defaultButton,
    XGameUiMessageDialogButton cancelButton,
    void* context.
);
```

## パラメーター

*callbackHandle*\
Type: XGameUiCallbackHandle

このコールバック呼び出しのハンドル。

*queue*\
Type: XTaskQueueHandle

UI コールバックが実行されたタスク キューへのハンドル。

*titleText*\
Type: const char\*

メッセージ ダイアログのテキスト タイトル。

*contentText*\
Type: const char\*

メッセージ ダイアログ内に表示されるテキスト。

*firstButtonText*\
Type: const char\*

メッセージ ダイアログの 1 番目のボタンに表示されるテキスト。

*secondButtonText*\
Type: const char\*

メッセージ ダイアログの 2 番目のボタンに表示されるテキスト。

*thirdButtonText*\
Type: const char\*

メッセージ ダイアログの 3 番目のボタンに表示されるテキスト。

*defaultButton*\
Type: XGameUiMessageDialogButton

メッセージ ダイアログが最初に表示されるときに既定で選択されるボタンを示します。

*cancelButton*\
Type: XGameUiMessageDialogButton

キャンセル アクションを表すボタンを示します。

*context*\
Type: void\*

開発者から提供されるコンテキストへのポインター。

## 要件

**ヘッダー:** XGameUi.h

**サポートされているプラットフォーム:** Steam Deck でのみサポート

## 関連項目

[XGameUI](/reference/system/xgameui/xgameui_members)\
[XGameUiSetUiCallbacks](/reference/system/xgameui/functions/xgameuisetuicallbacks)


## Related topics

- [XGameUiUiCallbacks](/ja-jp/reference/system/xgameui/structs/xgameuiuicallbacks.md)
- [XGameUiSetMessageDialogUiResponse](/ja-jp/reference/system/xgameui/functions/xgameuisetmessagedialoguiresponse.md)
- [XGameUiShowErrorDialogUiCallback](/ja-jp/reference/system/xgameui/functions/xgameuishowerrordialoguicallback.md)
- [XGameUiShowMessageDialogAsync](/ja-jp/reference/system/xgameui/functions/xgameuishowmessagedialogasync.md)
- [XGameUiShowMessageDialogResult](/ja-jp/reference/system/xgameui/functions/xgameuishowmessagedialogresult.md)
