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

# PFEntityGetTitleId

> Obtiene el titleId del PFServiceConfig asociado a un identificador de entidad.

Obtiene el titleId del PFServiceConfig asociado a un identificador de entidad.

## Sintaxis

```cpp theme={null}
HRESULT PFEntityGetTitleId(  
    PFEntityHandle entityHandle,  
    size_t titleIdSize,  
    char* titleIdBuffer,  
    size_t* titleIdUsed  
)  
```

### Parámetros

**`entityHandle`**   PFEntityHandle

PFEntityHandle devuelto por una llamada de autenticación.

**`titleIdSize`**   size\_t

Tamaño del búfer proporcionado. El tamaño necesario se puede obtener mediante PFEntityGetAPIEndpointSize.

**`titleIdBuffer`**   char\*<br />**Out\_writes*(titleIdSize)*

Búfer en el que se escribirá la cadena del titleId.

**`titleIdUsed`**   size\_t\*<br />*optional output*

Número de bytes usados en el búfer, incluido el terminador nulo.

### Valor devuelto

Tipo: HRESULT

Código de resultado de esta operación de API.

## Requisitos

**Encabezado:** PFEntity.h

## Consulte también

[Miembros de PFEntity](/es/services/playfab/api-references/c/pfentity/pfentity_members)


## Related topics

- [Identificadores de entidad](/es/services/playfab/sdks/c/entity-handles.md)
- [PFEntityGetTitleIdSize](/es/services/playfab/api-references/c/pfentity/functions/pfentitygettitleidsize.md)
- [Get Entity Item Review](/api-reference/catalog/get-entity-item-review.md)
- [Get Title Players From Xbox Live IDs](/api-reference/account-management/get-title-players-from-xbox-live-ids.md)
- [Get Title Players From Master Player Account Ids](/api-reference/account-management/get-title-players-from-master-player-account-ids.md)
