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

# XUserPlatformRemoteConnectClosePromptEventHandler

> XUserPlatformRemoteConnectClosePromptEventHandler

# XUserPlatformRemoteConnectClosePromptEventHandler

リモート認証用のプロンプトを閉じるためのイベント ハンドラーです。

## 構文

```cpp theme={null}
typedef void (XUserPlatformRemoteConnectClosePromptEventHandler)(
    _In_opt_ void* context,
    _In_ uint32_t userIdentifier,
    _In_ XUserPlatformOperation operation
);
```

### パラメーター

*context*    \_In\_opt\_\
Type: void\*

イベント ハンドラーで使用されるデータへの任意ポインター。

*userIdentifier*    \_In\_\
Type: uint32\_t

ユーザーが追加されたときに XUser に渡されたユーザー識別子です。

*operation*    \_In\_\
Type: XUserPlatformOperation

この操作のハンドルです。

### 戻り値

## 解説

このイベントは、リモート接続認証プロセスが完了し、プロンプトが不要になったときに発生します。このイベントは、以前の [`XUserPlatformRemoteConnectShowPromptEventHandler`](/reference/system/xuser/functions/xuserplatformremoteconnectshowprompteventhandler) イベントと同じ operation で常に呼び出されます。

すべての引数は呼び出し元が所有します (context を除く)。

## 要件

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

**ライブラリ:** xgameruntime.lib

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

## 関連項目

[`XUserPlatformRemoteConnectEventHandlers`](/reference/system/xuser/structs/xuserplatformremoteconnecteventhandlers)

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

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

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


## Related topics

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