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

> 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\*<br />*In\_z*

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

**`playFabTitleId`**   char\*<br />*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\*<br />*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](/services/playfab/api-references/c/pfserviceconfig/pfserviceconfig_members)


## Related topics

- [Tutorial de la canalización de eventos](/es/services/playfab/sdks/c/event-pipeline/eventpipeline-tutorial.md)
- [PFAuthenticationLoginWithNintendoServiceAccountAsync](/es/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithnintendoserviceaccountasync.md)
- [PFAuthenticationLoginWithGooglePlayGamesServicesAsync](/es/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithgoogleplaygamesservicesasync.md)
- [PFAuthenticationLoginWithPSNAsync](/es/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithpsnasync.md)
- [PFAuthenticationLoginWithXUserAsync](/es/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationloginwithxuserasync.md)
