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

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`](/pt-BR/reference/system/xuser/functions/xuserplatformremoteconnectshowprompteventhandler)

[`XUserPlatformRemoteConnectClosePromptEventHandler`](/pt-BR/reference/system/xuser/functions/xuserplatformremoteconnectcloseprompteventhandler)

[`XUserPlatformRemoteConnectSetEventHandlers`](/pt-BR/reference/system/xuser/functions/xuserplatformremoteconnectseteventhandlers)

[`XUserPlatformRemoteConnectEventHandlers`](/pt-BR/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)
