> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFEntityGetEntityTokenResultSize

> 取得儲存 PFEntityGetEntityTokenAsync 呼叫結果所需的大小 (以位元組為單位)。

取得儲存 PFEntityGetEntityTokenAsync 呼叫結果所需的大小 (以位元組為單位)。

## 語法

```cpp theme={null}
HRESULT PFEntityGetEntityTokenResultSize(  
    XAsyncBlock* async,  
    size_t* bufferSize  
)  
```

### 參數

**`async`**   XAsyncBlock\*\
*Inout*

用於非同步作業的 XAsyncBlock。

**`bufferSize`**   size\_t\*\
*output*

結果所需的緩衝區大小 (以位元組為單位)。

### 傳回值

類型：HRESULT

此 API 作業的結果代碼。

## 需求

**標頭：** PFEntity.h

## 另請參閱

[PFEntity 成員](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pfentity/pfentity_members.md)


## Related topics

- [服務 C API 概觀 - PFEntity.h](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pfentity/pfentity_members.md)
- [實體控制代碼](https://docs.xbox.com/zh-TW/services/playfab/sdks/c/entity-handles.md)
- [PFEntityGetEntityTokenResult](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pfentity/functions/pfentitygetentitytokenresult.md)
- [PFAuthenticationValidateEntityTokenGetResultSize](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationvalidateentitytokengetresultsize.md)
- [PFAuthenticationValidateEntityTokenGetResult](https://docs.xbox.com/zh-TW/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationvalidateentitytokengetresult.md)
