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

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](/reference/system/xuser/xuser_members)

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

[XUserPlatformRemoteConnectClosePromptEventHandler](/reference/system/xuser/functions/xuserplatformremoteconnectcloseprompteventhandler)

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

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


## Related topics

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