> ## 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*
類型：XUserPlatformRemoteConnectShowPromptEventHandler\*

顯示提示處理常式

*close*
類型：XUserPlatformRemoteConnectClosePromptEventHandler\*

關閉提示處理常式

*context*
類型：void\*

事件處理常式所使用之資料的選用指標。

## 備註

兩個處理常式都必須同時設定。

## 需求

**標頭：** XUser.h

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

## 另請參閱

[XUser](/zh-TW/reference/system/xuser/xuser_members)

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

[XUserPlatformRemoteConnectClosePromptEventHandler](/zh-TW/reference/system/xuser/functions/xuserplatformremoteconnectcloseprompteventhandler)

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

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


## Related topics

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