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

# XUserPlatformRemoteConnectCancelPrompt

> XUserPlatformRemoteConnectCancelPrompt

# XUserPlatformRemoteConnectCancelPrompt

Signale à XUser que l'invite de connexion à distance a été fermée par l'utilisateur.

## Syntaxe

```cpp theme={null}
STDAPI  XUserPlatformRemoteConnectCancelPrompt(
    _In_ XUserPlatformOperation operation
) noexcept;
```

### Paramètres

*operation*\
Type : XUserPlatformOperation

Le handle de cette opération

### Valeur de retour

Type : HRESULT

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

## Remarques

Cette fonction doit être appelée après un XUserPlatformRemoteConnectShowPromptEventHandler si l'utilisateur ferme l'invite.

L'ensemble du processus de connexion à distance sera annulé et l'opération XUserAdd initiale se terminera avec E\_ABORT.

Le XUserPlatformRemoteConnectClosePromptEventHandler sera appelé normalement.

## Configuration requise

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

**Bibliothèque :** xgameruntime.lib

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

## Voir aussi

[`XUserPlatformRemoteConnectShowPromptEventHandler`](/fr-CA/reference/system/xuser/functions/xuserplatformremoteconnectshowprompteventhandler)

[`XUserPlatformRemoteConnectClosePromptEventHandler`](/fr-CA/reference/system/xuser/functions/xuserplatformremoteconnectcloseprompteventhandler)

[`XUserPlatformRemoteConnectSetEventHandlers`](/fr-CA/reference/system/xuser/functions/xuserplatformremoteconnectseteventhandlers)

[`XUserPlatformRemoteConnectEventHandlers`](/fr-CA/reference/system/xuser/structs/xuserplatformremoteconnecteventhandlers)


## Related topics

- [XUserPlatformRemoteConnectCancelPrompt](/reference/system/xuser/functions/xuserplatformremoteconnectcancelprompt.md)
- [XUserPlatformRemoteConnectClosePromptEventHandler](/reference/system/xuser/functions/xuserplatformremoteconnectcloseprompteventhandler.md)
- [XUserPlatformRemoteConnectShowPromptEventHandler](/ko/reference/system/xuser/functions/xuserplatformremoteconnectshowprompteventhandler.md)
