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

Indica a XUser que el usuario ha descartado el aviso de conexión remota.

## Sintaxis

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

### Parámetros

*operation*\
Tipo: XUserPlatformOperation

El identificador de esta operación

### Valor devuelto

Tipo: HRESULT

Código de resultado de esta operación de API

## Comentarios

Se debe llamar después de un XUserPlatformRemoteConnectShowPromptEventHandler si el usuario descarta el aviso.

Todo el proceso de conexión remota se cancelará y la operación XUserAdd inicial se completará con E\_ABORT.

El XUserPlatformRemoteConnectClosePromptEventHandler se llamará con normalidad.

## Requisitos

**Encabezado:** XUser.h

**Biblioteca:** xgameruntime.lib

**Plataformas compatibles:** Compatible con Steam Deck

## Consulte también

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

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

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

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