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

# XUserPlatformRemoteConnectClosePromptEventHandler

> XUserPlatformRemoteConnectClosePromptEventHandler

# XUserPlatformRemoteConnectClosePromptEventHandler

Manipulador de eventos de fechamento do prompt de autenticação remota.

## Sintaxe

```cpp theme={null}
typedef void (XUserPlatformRemoteConnectClosePromptEventHandler)(
    _In_opt_ void* context,
    _In_ uint32_t userIdentifier,
    _In_ XUserPlatformOperation operation
);
```

### Parâmetros

*context*    \_In\_opt\_\
Tipo: void\*

Ponteiro opcional para dados usados pelo manipulador de eventos.

*userIdentifier*    \_In\_\
Tipo: uint32\_t

O identificador de usuário que foi passado ao XUser quando o usuário foi adicionado.

*operation*    \_In\_\
Tipo: XUserPlatformOperation

O identificador desta operação.

### Valor retornado

## Comentários

Este evento é gerado quando o processo de autenticação de conexão remota é concluído e o prompt não é mais necessário. Este evento sempre será chamado com a mesma operação de um evento [`XUserPlatformRemoteConnectShowPromptEventHandler`](https://docs.xbox.com/pt-BR/reference/system/xuser/functions/xuserplatformremoteconnectshowprompteventhandler) anterior.

Todos os argumentos pertencem ao chamador (exceto context).

## Requisitos

**Cabeçalho:** XUser.h

**Biblioteca:** xgameruntime.lib

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

## Confira também

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

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

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

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


## Related topics

- [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)
- [XUserPlatformRemoteConnectCancelPrompt](https://docs.xbox.com/pt-BR/reference/system/xuser/functions/xuserplatformremoteconnectcancelprompt.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)
