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

# XUserPlatformRemoteConnectEventHandlers

> XUserPlatformRemoteConnectEventHandlers

# XUserPlatformRemoteConnectEventHandlers

リモート接続イベント ハンドラーをカプセル化します。

## 構文

```cpp theme={null}
typedef struct XUserPlatformRemoteConnectEventHandlers {
    XUserPlatformRemoteConnectShowPromptEventHandler* show;
    XUserPlatformRemoteConnectClosePromptEventHandler* close;
    void* context;
} XUserPlatformRemoteConnectEventHandlers;
```

### メンバー

*show*
Type: XUserPlatformRemoteConnectShowPromptEventHandler\*

プロンプトを表示するハンドラーです。

*close*
Type: XUserPlatformRemoteConnectClosePromptEventHandler\*

プロンプトを閉じるハンドラーです。

*context*
Type: void\*

イベント ハンドラーが使用するデータへのオプションのポインターです。

## 解説

両方のハンドラーを同時に設定する必要があります。

## 要件

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

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

## 関連項目

[XUser](/reference/system/xuser/xuser_members)

[XUserPlatformRemoteConnectShowPromptEventHandler](/reference/system/xuser/functions/xuserplatformremoteconnectshowprompteventhandler)

[XUserPlatformRemoteConnectClosePromptEventHandler](/reference/system/xuser/functions/xuserplatformremoteconnectcloseprompteventhandler)

[XUserPlatformRemoteConnectSetEventHandlers](/reference/system/xuser/functions/xuserplatformremoteconnectseteventhandlers)

[XUserPlatformRemoteConnectCancelPrompt](/reference/system/xuser/functions/xuserplatformremoteconnectcancelprompt)


## Related topics

- [XUserPlatformRemoteConnectSetEventHandlers](/ja-jp/reference/system/xuser/functions/xuserplatformremoteconnectseteventhandlers.md)
- [XUserPlatformRemoteConnectClosePromptEventHandler](/ja-jp/reference/system/xuser/functions/xuserplatformremoteconnectcloseprompteventhandler.md)
- [XUserPlatformRemoteConnectShowPromptEventHandler](/ja-jp/reference/system/xuser/functions/xuserplatformremoteconnectshowprompteventhandler.md)
- [XUserPlatformRemoteConnectCancelPrompt](/ja-jp/reference/system/xuser/functions/xuserplatformremoteconnectcancelprompt.md)
- [XUserPlatformOperationResult](/ja-jp/reference/system/xuser/enums/XUserPlatformOperationResult.md)
