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

> Cria uma configuração de serviço do PlayFab.

Cria uma configuração de serviço do PlayFab.

## Sintaxe

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

### Parâmetros

**`apiEndpoint`**   char\*\
*In\_z*

Cadeia de caracteres usada para se conectar a uma instância do Serviço PlayFab.

**`playFabTitleId`**   char\*\
*In\_z*

TitleId do PlayFab para o título. Encontrado no Game Manager do seu título no site do PlayFab.

**`serviceConfigHandle`**   PFServiceConfigHandle\*\
*output*

Ponteiro para um PFServiceConfigHandle a ser gravado.

### Valor de retorno

Tipo: HRESULT

Código de resultado desta operação de API. Os valores possíveis são S\_OK, E\_PF\_NOT\_INITIALIZED ou E\_INVALIDARG.

## Requisitos

**Cabeçalho:** PFServiceConfig.h

## Confira também

[Membros de PFServiceConfig](/pt-BR/services/playfab/api-references/c/pfserviceconfig/pfserviceconfig_members)


## Related topics

- [Tutorial do Event Pipeline](/pt-BR/services/playfab/sdks/c/event-pipeline/eventpipeline-tutorial.md)
- [PFAuthenticationLoginWithNintendoServiceAccountAsync](/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithnintendoserviceaccountasync.md)
- [PFAuthenticationLoginWithGooglePlayGamesServicesAsync](/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithgoogleplaygamesservicesasync.md)
- [PFAuthenticationLoginWithPSNAsync](/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithpsnasync.md)
- [PFAuthenticationLoginWithFacebookAsync](/pt-BR/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithfacebookasync.md)
