> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFServiceConfigCreateHandle

> Crea una configuración de servicio de PlayFab.

Crea una configuración de servicio de PlayFab.

## Sintaxis

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

### Parámetros

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

Cadena que se usa para conectarse a una instancia de PlayFab Service.

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

TitleId de PlayFab para el título. Se encuentra en Game Manager para el título en el sitio web de PlayFab.

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

Puntero a un PFServiceConfigHandle en el que se va a escribir.

### Valor devuelto

Tipo: HRESULT

Código de resultado de esta operación de API. Los valores posibles son S\_OK, E\_PF\_NOT\_INITIALIZED o E\_INVALIDARG.

## Requisitos

**Encabezado:** PFServiceConfig.h

## Consulte también

[Miembros de PFServiceConfig](https://docs.xbox.com/es/services/playfab/api-references/c/pfserviceconfig/pfserviceconfig_members.md)


## Related topics

- [Tutorial de la canalización de eventos](https://docs.xbox.com/es/services/playfab/sdks/c/event-pipeline/eventpipeline-tutorial.md)
- [PFAuthenticationLoginWithNintendoServiceAccountAsync](https://docs.xbox.com/es/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithnintendoserviceaccountasync.md)
- [PFAuthenticationLoginWithGooglePlayGamesServicesAsync](https://docs.xbox.com/es/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithgoogleplaygamesservicesasync.md)
- [PFAuthenticationLoginWithPSNAsync](https://docs.xbox.com/es/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithpsnasync.md)
- [PFAuthenticationLoginWithAppleAsync](https://docs.xbox.com/es/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithappleasync.md)
