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

# PFAuthenticationServerLoginWithAndroidDeviceIDGetResult

> Obtient le résultat d'un appel PFAuthenticationServerLoginWithAndroidDeviceIDAsync. 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 PFAuthenticationServerLoginWithAndroidDeviceIDAsync. 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 PFAuthenticationServerLoginWithAndroidDeviceIDGetResult(  
    XAsyncBlock* async,  
    const PFAuthenticationEntityTokenResponse** entityTokenResponse,  
    size_t bufferSize,  
    void* buffer,  
    const PFAuthenticationLoginResult** result,  
    size_t* bufferUsed  
)  
```

### Paramètres

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

XAsyncBlock pour l'opération asynchrone.

**`entityTokenResponse`**   [PFAuthenticationEntityTokenResponse\*\*](/fr/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationentitytokenresponse)<br />*library-allocated output*

À déterminer

**`bufferSize`**   size\_t

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

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

Mémoire tampon d'octets utilisée pour la valeur de résultat de la connexion 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\_EVALUATION\_MODE\_PLAYER\_COUNT\_EXCEEDED, 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 PFAuthenticationServerLoginWithAndroidDeviceIDAsync é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

- [PFAuthenticationServerLoginWithAndroidDeviceIDAsync](/fr/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithandroiddeviceidasync.md)
- [Vue d'ensemble de l'API C Services - PFAuthentication.h](/fr/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)
- [PFAuthenticationServerLoginWithAndroidDeviceIDGetResultSize](/fr/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithandroiddeviceidgetresultsize.md)
- [PFAuthenticationServerLoginWithAndroidDeviceIDRequest](/fr/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationserverloginwithandroiddeviceidrequest.md)
- [PFAuthenticationServerLoginWithIOSDeviceIDGetResult](/fr/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithiosdeviceidgetresult.md)
