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

> エンティティ ハンドルに関連付けられた PFServiceConfig の API エンドポイントを取得します。

エンティティ ハンドルに関連付けられた PFServiceConfig の API エンドポイントを取得します。

## 構文

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

### パラメーター

**`entityHandle`**   PFEntityHandle

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

**`apiEndpointSize`**   size\_t

指定するバッファーのサイズ。必要なサイズは PFEntityGetAPIEndpointSize から取得できます。

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

API エンドポイント文字列の書き込み先バッファー。

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

null 終端文字を含む、バッファーで使用されたバイト数。

### 戻り値

型: HRESULT

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

## 要件

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

## 関連項目

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


## Related topics

- [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)
- [PFEntityGetAPIEndpointSize](/ja-jp/services/playfab/api-references/c/pfentity/functions/pfentitygetapiendpointsize.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)
