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

# PFAuthenticationServerLoginWithServerCustomIdGetResult

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

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

## Syntaxe

```cpp theme={null}
HRESULT PFAuthenticationServerLoginWithServerCustomIdGetResult(  
    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-CA/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationentitytokenresponse)<br />*library-allocated output*

TBD

**`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 Login et ses champs.

**`result`**   [PFAuthenticationLoginResult\*\*](/fr-CA/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 de service échoue, le résultat sera E\_PF\_EVALUATION\_MODE\_PLAYER\_COUNT\_EXCEEDED 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 PFAuthenticationServerLoginWithServerCustomIdAsync é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-CA/services/playfab/api-references/c/pfauthentication/pfauthentication_members)


## Related topics

- [PFAuthenticationServerLoginWithServerCustomIdAsync](/fr-CA/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithservercustomidasync.md)
- [Vue d'ensemble de l'API C Services - PFAuthentication.h](/fr-CA/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)
- [PFAuthenticationServerLoginWithServerCustomIdGetResultSize](/fr-CA/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithservercustomidgetresultsize.md)
- [Login With Server Custom Id](/api-reference/authentication/login-with-server-custom-id.md)
- [PFAuthenticationServerLoginWithCustomIDGetResult](/fr-CA/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithcustomidgetresult.md)
