> ## 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`](/zh-TW/reference/system/xuser/functions/xuserplatformremoteconnectshowprompteventhandler) 事件相同的作業來呼叫。

所有引數均由呼叫者擁有 (context 除外)。

## 需求

**標頭：** XUser.h

**程式庫：** xgameruntime.lib

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

## 另請參閱

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

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

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

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


## Related topics

- [XUserPlatformRemoteConnectClosePromptEventHandler](/reference/system/xuser/functions/xuserplatformremoteconnectcloseprompteventhandler.md)
- [XUserPlatformRemoteConnectEventHandlers](/reference/system/xuser/structs/xuserplatformremoteconnecteventhandlers.md)
- [XUserPlatformRemoteConnectShowPromptEventHandler](/ko/reference/system/xuser/functions/xuserplatformremoteconnectshowprompteventhandler.md)
