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

# PFAuthenticationLoginWithSteamGetResult

> Obtém o resultado de uma chamada de PFAuthenticationLoginWithSteamAsync. O PFEntityHandle sempre será retornado, mas as informações adicionais em PFAuthenticationLoginResult só serão retornadas se um buffer for fornecido.

Obtém o resultado de uma chamada de PFAuthenticationLoginWithSteamAsync. O PFEntityHandle sempre será retornado, mas as informações adicionais em PFAuthenticationLoginResult só serão retornadas se um buffer for fornecido.

## Sintaxe

```cpp theme={null}
HRESULT PFAuthenticationLoginWithSteamGetResult(  
    XAsyncBlock* async,  
    PFEntityHandle* entityHandle,  
    size_t bufferSize,  
    void* buffer,  
    const PFAuthenticationLoginResult** result,  
    size_t* bufferUsed  
)  
```

### Parâmetros

**`async`**   XAsyncBlock\*<br />*Inout*

XAsyncBlock para a operação assíncrona.

**`entityHandle`**   PFEntityHandle\*<br />*output*

PFEntityHandle que pode ser usado para autenticar outras chamadas de API do PlayFab.

**`bufferSize`**   size\_t

O tamanho do buffer para o objeto de resultado.

**`buffer`**   void\*<br />\**Out\_writes\_bytes\_to\_opt*(bufferSize,*bufferUsed)*

Buffer de bytes usado para o valor do resultado de Login e seus campos.

**`result`**   [PFAuthenticationLoginResult\*\*](/pt-BR/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginresult)<br />*optional, library-allocated output*

Ponteiro para o objeto LoginResult.

**`bufferUsed`**   size\_t\*<br />*optional output*

O número de bytes usados no buffer fornecido.

### Valor retornado

Tipo: HRESULT

Código de resultado para esta operação de API. Se a chamada de serviço não for bem-sucedida, o resultado será E\_PF\_ENCRYPTION\_KEY\_MISSING, E\_PF\_EVALUATION\_MODE\_PLAYER\_COUNT\_EXCEEDED, E\_PF\_INVALID\_STEAM\_TICKET, E\_PF\_PLAYER\_SECRET\_ALREADY\_CONFIGURED, E\_PF\_PLAYER\_SECRET\_NOT\_CONFIGURED, E\_PF\_REQUEST\_VIEW\_CONSTRAINT\_PARAMS\_NOT\_ALLOWED, E\_PF\_STEAM\_NOT\_ENABLED\_FOR\_TITLE, E\_PF\_STEAM\_USER\_NOT\_FOUND ou qualquer um dos erros globais do serviço PlayFab. Consulte a página de documentação "Handling PlayFab Errors" para obter mais detalhes sobre o tratamento de erros.

## Comentários

Se a chamada de PFAuthenticationLoginWithSteamAsync falhar, entityHandle será nulo. Caso contrário, o identificador deverá ser fechado com PFEntityCloseHandle quando não for mais necessário. Se retornado, 'result' é um ponteiro dentro de 'buffer' e não precisa ser liberado separadamente.

## Requisitos

**Cabeçalho:** PFAuthentication.h

## Confira também

[Membros de PFAuthentication](/pt-BR/services/playfab/api-references/c/pfauthentication/pfauthentication_members)


## Related topics

- [PFAuthenticationLoginWithSteamAsync](/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithsteamasync.md)
- [Visão geral da API C do Services - PFAuthentication.h](/pt-BR/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)
- [PFAuthenticationLoginWithSteamGetResultSize](/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithsteamgetresultsize.md)
- [PFAuthenticationServerLoginWithSteamIdGetResult](/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithsteamidgetresult.md)
- [PFAuthenticationServerLoginWithSteamIdGetResultSize](/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithsteamidgetresultsize.md)
