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

# PFAuthenticationLoginWithXboxGetResultSize

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

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

## Sintaxe

```cpp theme={null}
HRESULT PFAuthenticationLoginWithXboxGetResultSize(  
    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.h

## Confira também

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


## Related topics

- [PFAuthenticationServerLoginWithXboxGetResultSize](/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithxboxgetresultsize.md)
- [PFAuthenticationLoginWithXboxGetResult](/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithxboxgetresult.md)
- [PFAuthenticationServerLoginWithXboxIdGetResultSize](/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithxboxidgetresultsize.md)
- [PFAuthenticationServerLoginWithXboxGetResult](/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithxboxgetresult.md)
- [PFAuthenticationServerLoginWithXboxIdGetResult](/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithxboxidgetresult.md)
