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

# PFAuthenticationLoginWithGooglePlayGamesServicesGetResult

> Obtient le résultat d'un appel PFAuthenticationLoginWithGooglePlayGamesServicesAsync. Le PFEntityHandle est toujours retourné, mais les informations supplémentaires de PFAuthenticationLoginResult ne sont retournées que si une mémoire tampon est fournie.

Obtient le résultat d'un appel PFAuthenticationLoginWithGooglePlayGamesServicesAsync. Le PFEntityHandle est toujours retourné, mais les informations supplémentaires de PFAuthenticationLoginResult ne sont retournées que si une mémoire tampon est fournie.

## Syntaxe

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

### Paramètres

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

XAsyncBlock pour l'opération asynchrone.

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

PFEntityHandle pouvant être utilisé pour authentifier d'autres appels d'API PlayFab.

**`bufferSize`**   size\_t

La taille de la mémoire tampon pour l'objet de résultat.

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

Mémoire tampon d'octets utilisée pour la valeur de résultat Login et ses champs.

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

Pointeur vers l'objet LoginResult.

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

Le nombre d'octets utilisés dans la mémoire tampon fournie.

### Valeur de retour

Type : HRESULT

Code de résultat de cette opération d'API. Si l'appel au service échoue, le résultat sera E\_PF\_ENCRYPTION\_KEY\_MISSING, E\_PF\_EVALUATION\_MODE\_PLAYER\_COUNT\_EXCEEDED, E\_PF\_GOOGLE\_O\_AUTH\_ERROR, E\_PF\_GOOGLE\_O\_AUTH\_NOT\_CONFIGURED\_FOR\_TITLE, E\_PF\_INVALID\_GOOGLE\_PLAY\_GAMES\_SERVER\_AUTH\_CODE, E\_PF\_INVALID\_GOOGLE\_TOKEN, E\_PF\_INVALID\_GOOGLE\_TOKEN, E\_PF\_PLAYER\_SECRET\_ALREADY\_CONFIGURED, E\_PF\_PLAYER\_SECRET\_NOT\_CONFIGURED, E\_PF\_REQUEST\_VIEW\_CONSTRAINT\_PARAMS\_NOT\_ALLOWED ou l'une des erreurs globales du service PlayFab. Consultez la page de documentation "Handling PlayFab Errors" pour plus de détails sur la gestion des erreurs.

## Notes

Si l'appel PFAuthenticationLoginWithGooglePlayGamesServicesAsync échoue, entityHandle sera null. Sinon, le handle doit être fermé avec PFEntityCloseHandle lorsqu'il n'est plus nécessaire. S'il est retourné, 'result' est un pointeur à l'intérieur de 'buffer' et n'a pas besoin d'être libéré séparément.

## Configuration requise

**En-tête :** PFAuthentication.h

## Voir aussi

[Membres de PFAuthentication](/fr/services/playfab/api-references/c/pfauthentication/pfauthentication_members)


## Related topics

- [PFAuthenticationLoginWithGooglePlayGamesServicesAsync](/fr/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithgoogleplaygamesservicesasync.md)
- [Vue d'ensemble de l'API C Services - PFAuthentication.h](/fr/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)
- [PFAuthenticationLoginWithGooglePlayGamesServicesGetResultSize](/fr/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithgoogleplaygamesservicesgetresultsize.md)
- [Login With Google Play Games Services](/api-reference/authentication/login-with-google-play-games-services.md)
- [PFAuthenticationLoginWithGoogleAccountGetResult](/fr/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithgoogleaccountgetresult.md)
