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

# PFEntityGetAPIEndpointSize

> エンティティ ハンドルから API エンドポイント文字列を保持するために必要なバッファーのサイズを取得します。

エンティティ ハンドルから API エンドポイント文字列を保持するために必要なバッファーのサイズを取得します。

## 構文

```cpp theme={null}
HRESULT PFEntityGetAPIEndpointSize(  
    PFEntityHandle entityHandle,  
    size_t* apiEndpointSize  
)  
```

### パラメーター

**`entityHandle`**   PFEntityHandle

認証呼び出しから返された PFEntityHandle。

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

API エンドポイント文字列に必要なバッファー サイズ (null 終端文字を含む)。

### 戻り値

型: HRESULT

この API 操作の結果コード。

## 要件

**ヘッダー:** PFEntity.h

## 関連項目

[PFEntity メンバー](/services/playfab/api-references/c/pfentity/pfentity_members)


## Related topics

- [PFEntityGetAPIEndpoint](/ja-jp/services/playfab/api-references/c/pfentity/functions/pfentitygetapiendpoint.md)
- [Services C API overview - PFEntity.h](/ja-jp/services/playfab/api-references/c/pfentity/pfentity_members.md)
- [エンティティハンドル](/ja-jp/services/playfab/sdks/c/entity-handles.md)
- [PartyEndpoint::GetEntityId](/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyEndpoint/methods/partyendpoint_getentityid.md)
- [PartyEndpoint::GetEntityType](/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyEndpoint/methods/partyendpoint_getentitytype.md)
