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

# XUserPlatformRemoteConnectSetEventHandlers

> XUserPlatformRemoteConnectSetEventHandlers

# XUserPlatformRemoteConnectSetEventHandlers

Définit les gestionnaires d'événements de connexion à distance

## Syntaxe

```cpp theme={null}
HRESULT XUserPlatformRemoteConnectSetEventHandlers(
    _In_opt_ XTaskQueueHandle queue,
    _In_ XUserPlatformRemoteConnectEventHandlers* handlers
) noexcept;
```

### Paramètres

*queue*\
Type : `XTaskQueueHandle` (facultatif)

File d'attente asynchrone sur laquelle les rappels doivent être appelés.

*handlers*\
Type : [`XUserPlatformRemoteConnectEventHandlers`](https://docs.xbox.com/fr/reference/system/xuser/structs/xuserplatformremoteconnecteventhandlers)

Gestionnaires d'événements.

### Valeur de retour

Type : HRESULT

Code de résultat de cette opération d'API.

## Remarques

## Configuration requise

**En-tête :** XUser.h

**Bibliothèque :** xgameruntime.lib

**Plateformes prises en charge :** Pris en charge sur Steam Deck

## Voir aussi

[`XUserPlatformRemoteConnectEventHandlers`](https://docs.xbox.com/fr/reference/system/xuser/structs/xuserplatformremoteconnecteventhandlers)

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

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

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


## Related topics

- [XUserPlatformRemoteConnectEventHandlers](https://docs.xbox.com/fr/reference/system/xuser/structs/xuserplatformremoteconnecteventhandlers.md)
- [XUserPlatformRemoteConnectShowPromptEventHandler](https://docs.xbox.com/fr/reference/system/xuser/functions/xuserplatformremoteconnectshowprompteventhandler.md)
- [XUserPlatformRemoteConnectClosePromptEventHandler](https://docs.xbox.com/fr/reference/system/xuser/functions/xuserplatformremoteconnectcloseprompteventhandler.md)
- [XUserPlatformRemoteConnectCancelPrompt](https://docs.xbox.com/fr/reference/system/xuser/functions/xuserplatformremoteconnectcancelprompt.md)
- [XUserPlatformOperationResult](https://docs.xbox.com/fr/reference/system/xuser/enums/XUserPlatformOperationResult.md)
