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

# PFServiceConfigCreateHandle

> Crée une configuration de service PlayFab.

Crée une configuration de service PlayFab.

## Syntaxe

```cpp theme={null}
HRESULT PFServiceConfigCreateHandle(  
    const char* apiEndpoint,  
    const char* playFabTitleId,  
    PFServiceConfigHandle* serviceConfigHandle  
)  
```

### Paramètres

**`apiEndpoint`**   char\*<br />*In\_z*

Chaîne utilisée pour se connecter à une instance du service PlayFab.

**`playFabTitleId`**   char\*<br />*In\_z*

TitleId PlayFab du titre. Il se trouve dans Game Manager pour votre titre sur le site web de PlayFab.

**`serviceConfigHandle`**   PFServiceConfigHandle\*<br />*output*

Pointeur vers un PFServiceConfigHandle à écrire.

### Valeur de retour

Type : HRESULT

Code de résultat de cette opération d'API. Les valeurs possibles sont S\_OK, E\_PF\_NOT\_INITIALIZED ou E\_INVALIDARG.

## Configuration requise

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

## Voir aussi

[Membres de PFServiceConfig](/fr/services/playfab/api-references/c/pfserviceconfig/pfserviceconfig_members)


## Related topics

- [Tutoriel Event Pipeline](/fr/services/playfab/sdks/c/event-pipeline/eventpipeline-tutorial.md)
- [PFAuthenticationLoginWithNintendoServiceAccountAsync](/fr/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithnintendoserviceaccountasync.md)
- [PFAuthenticationLoginWithGooglePlayGamesServicesAsync](/fr/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithgoogleplaygamesservicesasync.md)
- [PFAuthenticationLoginWithPSNAsync](/fr/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithpsnasync.md)
- [PFAuthenticationLoginWithXboxAsync](/fr/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithxboxasync.md)
