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

# PFEntityGetEntityKeySize

> Obtém o tamanho em bytes necessário para armazenar o PFEntityKey de uma entidade.

Obtém o tamanho em bytes necessário para armazenar o PFEntityKey de uma entidade.

## Sintaxe

```cpp theme={null}
HRESULT PFEntityGetEntityKeySize(  
    PFEntityHandle entityHandle,  
    size_t* bufferSize  
)  
```

### Parâmetros

**`entityHandle`**   PFEntityHandle

PFEntityHandle retornado de uma chamada de autenticação.

**`bufferSize`**   size\_t\*<br />*output*

O tamanho do buffer em bytes necessário para o EntityKey.

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

- [PFEntityGetEntityKey](/pt-BR/services/playfab/api-references/c/pfentity/functions/pfentitygetentitykey.md)
- [Visão geral da API C de serviços - PFEntity.h](/pt-BR/services/playfab/api-references/c/pfentity/pfentity_members.md)
- [Identificadores de entidade](/pt-BR/services/playfab/sdks/c/entity-handles.md)
- [PFEntityGetSecretKey](/pt-BR/services/playfab/api-references/c/pfentity/functions/pfentitygetsecretkey.md)
- [PFEntityGetSecretKeySize](/pt-BR/services/playfab/api-references/c/pfentity/functions/pfentitygetsecretkeysize.md)
