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

# XUserPlatformRemoteConnectCancelPrompt

> XUserPlatformRemoteConnectCancelPrompt

# XUserPlatformRemoteConnectCancelPrompt

Sinaliza ao XUser que o prompt de conexão remota foi descartado pelo usuário.

## Sintaxe

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

### Parâmetros

*operation*\
Tipo: XUserPlatformOperation

O identificador desta operação

### Valor retornado

Tipo: HRESULT

Código de resultado desta operação de API

## Comentários

Isso deve ser chamado após um XUserPlatformRemoteConnectShowPromptEventHandler se o usuário descartar o prompt.

Todo o processo de conexão remota será cancelado e a operação XUserAdd inicial será concluída com E\_ABORT.

O XUserPlatformRemoteConnectClosePromptEventHandler será chamado normalmente.

## Requisitos

**Cabeçalho:** XUser.h

**Biblioteca:** xgameruntime.lib

**Plataformas com suporte:** com suporte no Steam Deck

## Confira também

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

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

[`XUserPlatformRemoteConnectSetEventHandlers`](https://docs.xbox.com/pt-BR/reference/system/xuser/functions/xuserplatformremoteconnectseteventhandlers)

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


## Related topics

- [XUserPlatformRemoteConnectClosePromptEventHandler](https://docs.xbox.com/pt-BR/reference/system/xuser/functions/xuserplatformremoteconnectcloseprompteventhandler.md)
- [XUserPlatformRemoteConnectShowPromptEventHandler](https://docs.xbox.com/pt-BR/reference/system/xuser/functions/xuserplatformremoteconnectshowprompteventhandler.md)
- [XUserPlatformRemoteConnectEventHandlers](https://docs.xbox.com/pt-BR/reference/system/xuser/structs/xuserplatformremoteconnecteventhandlers.md)
- [XUserPlatformRemoteConnectSetEventHandlers](https://docs.xbox.com/pt-BR/reference/system/xuser/functions/xuserplatformremoteconnectseteventhandlers.md)
- [XUserPlatformOperationResult](https://docs.xbox.com/pt-BR/reference/system/xuser/enums/XUserPlatformOperationResult.md)
