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

> Obtient le titleId du PFServiceConfig associé à un handle d'entité.

Obtient le titleId du PFServiceConfig associé à un handle d'entité.

## Syntaxe

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

### Paramètres

**`entityHandle`**   PFEntityHandle

PFEntityHandle retourné par un appel d'authentification.

**`titleIdSize`**   size\_t

Taille de la mémoire tampon fournie. La taille requise peut être obtenue au moyen de PFEntityGetAPIEndpointSize.

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

Mémoire tampon dans laquelle la chaîne titleId sera écrite.

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

Nombre d'octets utilisés dans la mémoire tampon, y compris le terminateur null.

### Valeur de retour

Type : HRESULT

Code de résultat de cette opération d'API.

## Configuration requise

**En-tête :** PFEntity.h

## Voir aussi

[Membres de PFEntity](/fr-CA/services/playfab/api-references/c/pfentity/pfentity_members)


## Related topics

- [Handles d'entité](/fr-CA/services/playfab/sdks/c/entity-handles.md)
- [Vue d'ensemble de l'API C Services - PFEntity.h](/fr-CA/services/playfab/api-references/c/pfentity/pfentity_members.md)
- [PFEntityGetTitleIdSize](/fr-CA/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)
