> ## 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\_\
类型：void\*

指向事件处理程序所使用数据的可选指针。

*userIdentifier*    \_In\_\
类型：uint32\_t

在添加用户时传递给 XUser 的用户标识符。

*operation*    \_In\_\
类型：XUserPlatformOperation

此操作的句柄。

### 返回值

## 注解

当远程连接身份验证过程完成且不再需要提示时会引发此事件。此事件将始终使用与先前 [`XUserPlatformRemoteConnectShowPromptEventHandler`](/reference/system/xuser/functions/xuserplatformremoteconnectshowprompteventhandler) 事件相同的操作被调用。

所有参数均由调用方拥有（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](/zh-CN/reference/system/xuser/functions/xuserplatformremoteconnectshowprompteventhandler.md)
- [XUserPlatformRemoteConnectEventHandlers](/zh-CN/reference/system/xuser/structs/xuserplatformremoteconnecteventhandlers.md)
- [XUserPlatformRemoteConnectCancelPrompt](/zh-CN/reference/system/xuser/functions/xuserplatformremoteconnectcancelprompt.md)
- [XUserPlatformRemoteConnectSetEventHandlers](/zh-CN/reference/system/xuser/functions/xuserplatformremoteconnectseteventhandlers.md)
- [XUserPlatformOperationResult](/zh-CN/reference/system/xuser/enums/XUserPlatformOperationResult.md)
