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

# PFAuthenticationLoginWithXUserGetResultSize

> Obtém o tamanho em bytes necessário para armazenar o resultado de uma chamada de PFAuthenticationLoginWithXUserAsync.

Obtém o tamanho em bytes necessário para armazenar o resultado de uma chamada de PFAuthenticationLoginWithXUserAsync.

## Sintaxe

```cpp theme={null}
HRESULT PFAuthenticationLoginWithXUserGetResultSize(  
    XAsyncBlock* async,  
    size_t* bufferSize  
)  
```

### Parâmetros

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

XAsyncBlock para a operação assíncrona.

**`bufferSize`**   size\_t\*<br />*output*

O tamanho do buffer em bytes necessário para o resultado.

### 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\_EXPIRED\_XBOX\_LIVE\_TOKEN, E\_PF\_INVALID\_XBOX\_LIVE\_TOKEN, E\_PF\_REQUEST\_VIEW\_CONSTRAINT\_PARAMS\_NOT\_ALLOWED, E\_PF\_SIGNED\_REQUEST\_NOT\_ALLOWED, E\_PF\_XBOX\_INACCESSIBLE, E\_PF\_XBOX\_REJECTED\_XSTS\_EXCHANGE\_REQUEST, E\_PF\_XBOX\_XASS\_EXCHANGE\_FAILURE 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.

## Requisitos

**Cabeçalho:** PFAuthentication\_Xbox.h

## Confira também

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


## Related topics

- [Estratégias de vinculação de contas para o PlayFab Game Saves](/pt-BR/services/playfab/player-progression/game-saves/linking.md)
- [PFAuthenticationLoginWithXUserGetResult](/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithxusergetresult.md)
- [PFAuthenticationLoginWithSteamGetResultSize](/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithsteamgetresultsize.md)
- [PFAuthenticationLoginWithPSNGetResultSize](/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithpsngetresultsize.md)
- [PFAuthenticationServerLoginWithSteamIdGetResultSize](/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithsteamidgetresultsize.md)
