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

# PFAuthenticationAuthenticateGameServerWithCustomIdGetResult

> Obtient le résultat d'un appel PFAuthenticationAuthenticateGameServerWithCustomIdAsync.

Obtient le résultat d'un appel PFAuthenticationAuthenticateGameServerWithCustomIdAsync.

## Syntaxe

```cpp theme={null}
HRESULT PFAuthenticationAuthenticateGameServerWithCustomIdGetResult(  
    XAsyncBlock* async,  
    PFEntityHandle* entityHandle,  
    bool* newlyCreated  
)  
```

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

**`newlyCreated`**   bool\*<br />*optional output*

Défini sur true si le compte a été nouvellement créé lors de cette authentification, et sur false dans le cas contraire

### 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 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 PFAuthenticationAuthenticateGameServerWithCustomIdAsync échoue, entityHandle sera null. Sinon, le handle doit être fermé avec PFEntityCloseHandle lorsqu'il n'est plus nécessaire.

## Configuration requise

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

## Voir aussi

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


## Related topics

- [PFAuthenticationAuthenticateGameServerWithCustomIdAsync](/fr/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationauthenticategameserverwithcustomidasync.md)
- [Vue d'ensemble de l'API C Services - PFAuthentication.h](/fr/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)
- [PFAuthenticationAuthenticateCustomIdResult](/fr/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationauthenticatecustomidresult.md)
- [Authenticate Game Server With Custom Id](/api-reference/authentication/authenticate-game-server-with-custom-id.md)
- [PFAuthenticationServerLoginWithServerCustomIdGetResult](/fr/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithservercustomidgetresult.md)
