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

# PFAuthenticationServerLoginWithSteamIdGetResult

> Obtient le résultat d'un appel PFAuthenticationServerLoginWithSteamIdAsync. 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 PFAuthenticationServerLoginWithSteamIdAsync. 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 PFAuthenticationServerLoginWithSteamIdGetResult(  
    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, E\_PF\_INVALID\_SIGNATURE, E\_PF\_INVALID\_SIGNATURE\_TIME, E\_PF\_REQUEST\_VIEW\_CONSTRAINT\_PARAMS\_NOT\_ALLOWED, E\_PF\_STEAM\_NOT\_ENABLED\_FOR\_TITLE, E\_PF\_STEAM\_USER\_NOT\_FOUND 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 PFAuthenticationServerLoginWithSteamIdAsync é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

- [PFAuthenticationServerLoginWithSteamIdAsync](/fr-CA/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithsteamidasync.md)
- [Vue d'ensemble de l'API C Services - PFAuthentication.h](/fr-CA/services/playfab/api-references/c/pfauthentication/pfauthentication_members.md)
- [PFAuthenticationServerLoginWithSteamIdGetResultSize](/fr-CA/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithsteamidgetresultsize.md)
- [PFAuthenticationServerLoginWithServerCustomIdGetResult](/fr-CA/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithservercustomidgetresult.md)
- [PFAuthenticationServerLoginWithXboxIdGetResult](/fr-CA/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithxboxidgetresult.md)
