> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XUserPlatformRemoteConnectEventHandlers

> XUserPlatformRemoteConnectEventHandlers

Encapsulates the remote connect event handlers

## Syntax

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

### Members

*show*
Type: XUserPlatformRemoteConnectShowPromptEventHandler\*

Shows the prompt handler

*close*
Type: XUserPlatformRemoteConnectClosePromptEventHandler\*

Closes the prompt handler

*context*
Type: void\*

Optional pointer to data used by the event handlers.

## Remarks

Both handlers must be set at the same time.

## Requirements

**Header:** XUser.h

**Supported platforms:** Supported on Steam Deck

## See also

[XUser](https://docs.xbox.com/reference/system/xuser/xuser_members.md)

[XUserPlatformRemoteConnectShowPromptEventHandler](https://docs.xbox.com/reference/system/xuser/functions/xuserplatformremoteconnectshowprompteventhandler.md)

[XUserPlatformRemoteConnectClosePromptEventHandler](https://docs.xbox.com/reference/system/xuser/functions/xuserplatformremoteconnectcloseprompteventhandler.md)

[XUserPlatformRemoteConnectSetEventHandlers](https://docs.xbox.com/reference/system/xuser/functions/xuserplatformremoteconnectseteventhandlers.md)

[XUserPlatformRemoteConnectCancelPrompt](https://docs.xbox.com/reference/system/xuser/functions/xuserplatformremoteconnectcancelprompt.md)


## Related topics

- [XUserPlatformRemoteConnectSetEventHandlers](https://docs.xbox.com/reference/system/xuser/functions/xuserplatformremoteconnectseteventhandlers.md)
- [XUserPlatformRemoteConnectClosePromptEventHandler](https://docs.xbox.com/reference/system/xuser/functions/xuserplatformremoteconnectcloseprompteventhandler.md)
- [XUserPlatformRemoteConnectShowPromptEventHandler](https://docs.xbox.com/reference/system/xuser/functions/xuserplatformremoteconnectshowprompteventhandler.md)
- [XUserPlatformRemoteConnectCancelPrompt](https://docs.xbox.com/reference/system/xuser/functions/xuserplatformremoteconnectcancelprompt.md)
- [XUser (API contents)](https://docs.xbox.com/reference/system/xuser/xuser_members.md)
