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

# XUserPlatformRemoteConnectSetEventHandlers

> XUserPlatformRemoteConnectSetEventHandlers

# XUserPlatformRemoteConnectSetEventHandlers

Define os manipuladores de eventos de conexão remota

## Sintaxe

```cpp theme={null}
HRESULT XUserPlatformRemoteConnectSetEventHandlers(
    _In_opt_ XTaskQueueHandle queue,
    _In_ XUserPlatformRemoteConnectEventHandlers* handlers
) noexcept;
```

### Parâmetros

*queue*\
Tipo: `XTaskQueueHandle` (opcional)

A fila assíncrona na qual os retornos de chamada devem ser invocados.

*handlers*\
Tipo: [`XUserPlatformRemoteConnectEventHandlers`](/pt-BR/reference/system/xuser/structs/xuserplatformremoteconnecteventhandlers)

Os manipuladores de eventos.

### Valor retornado

Tipo: HRESULT

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

## Comentários

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

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

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

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


## Related topics

- [XUserPlatformRemoteConnectSetEventHandlers](/ko/reference/system/xuser/functions/xuserplatformremoteconnectseteventhandlers.md)
- [XUserPlatformRemoteConnectEventHandlers](/reference/system/xuser/structs/xuserplatformremoteconnecteventhandlers.md)
