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

> Obtém o titleId do PFServiceConfig associado a um identificador de entidade.

Obtém o titleId do PFServiceConfig associado a um identificador de entidade.

## Sintaxe

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

### Parâmetros

**`entityHandle`**   PFEntityHandle

PFEntityHandle retornado de uma chamada de autenticação.

**`titleIdSize`**   size\_t

Tamanho do buffer fornecido. O tamanho necessário pode ser obtido por meio de PFEntityGetAPIEndpointSize.

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

Buffer no qual a cadeia de caracteres do titleId será gravada.

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

O número de bytes usados no buffer, incluindo o terminador nulo.

### Valor de retorno

Tipo: HRESULT

Código de resultado desta operação de API.

## Requisitos

**Cabeçalho:** PFEntity.h

## Confira também

[Membros de PFEntity](/pt-BR/services/playfab/api-references/c/pfentity/pfentity_members)


## Related topics

- [Identificadores de entidade](/pt-BR/services/playfab/sdks/c/entity-handles.md)
- [Visão geral da API C de serviços - PFEntity.h](/pt-BR/services/playfab/api-references/c/pfentity/pfentity_members.md)
- [PFEntityGetTitleIdSize](/pt-BR/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)
