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

# PFEntityGetAPIEndpoint

> Obtient le point de terminaison d'API pour la PFServiceConfig associée à un handle d'entité.

Obtient le point de terminaison d'API pour la PFServiceConfig associée à un handle d'entité.

## Syntaxe

```cpp theme={null}
HRESULT PFEntityGetAPIEndpoint(  
    PFEntityHandle entityHandle,  
    size_t apiEndpointSize,  
    char* apiEndpoint,  
    size_t* apiEndpointUsed  
)  
```

### Paramètres

**`entityHandle`**   PFEntityHandle

PFEntityHandle retourné par un appel d'authentification.

**`apiEndpointSize`**   size\_t

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

**`apiEndpoint`**   char\*<br />*Out\_writes(apiEndpointSize)*

Mémoire tampon dans laquelle la chaîne du point de terminaison d'API sera écrite.

**`apiEndpointUsed`**   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/services/playfab/api-references/c/pfentity/pfentity_members)


## Related topics

- [Handles d'entité](/fr/services/playfab/sdks/c/entity-handles.md)
- [Vue d'ensemble de l'API C Services - PFEntity.h](/fr/services/playfab/api-references/c/pfentity/pfentity_members.md)
- [PFEntityGetAPIEndpointSize](/fr/services/playfab/api-references/c/pfentity/functions/pfentitygetapiendpointsize.md)
- [PartyEndpoint::GetEntityId](/fr/services/playfab/multiplayer/networking/reference/classes/PartyEndpoint/methods/partyendpoint_getentityid.md)
- [PartyEndpoint::GetEntityType](/fr/services/playfab/multiplayer/networking/reference/classes/PartyEndpoint/methods/partyendpoint_getentitytype.md)
