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

# 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`](/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`](/pt-BR/reference/system/xuser/structs/xuserplatformremoteconnecteventhandlers)

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

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

[`XUserPlatformRemoteConnectCancelPrompt`](/pt-BR/reference/system/xuser/functions/xuserplatformremoteconnectcancelprompt)


## Related topics

- [XUserPlatformRemoteConnectClosePromptEventHandler](/reference/system/xuser/functions/xuserplatformremoteconnectcloseprompteventhandler.md)
- [XUserPlatformRemoteConnectEventHandlers](/reference/system/xuser/structs/xuserplatformremoteconnecteventhandlers.md)
- [XUserPlatformRemoteConnectShowPromptEventHandler](/ko/reference/system/xuser/functions/xuserplatformremoteconnectshowprompteventhandler.md)
