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

# PFServiceConfigGetAPIEndpoint

> サービス構成の API エンドポイントを取得します。

サービス構成の API エンドポイントを取得します。

## 構文

```cpp theme={null}
HRESULT PFServiceConfigGetAPIEndpoint(  
    PFServiceConfigHandle handle,  
    size_t apiEndpointSize,  
    char* apiEndpoint,  
    size_t* apiEndpointUsed  
)  
```

### パラメーター

**`handle`**   PFServiceConfigHandle

ServiceConfig ハンドル。

**`apiEndpointSize`**   size\_t

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

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

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

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

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

### 戻り値

型: HRESULT

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

## 要件

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

## 関連項目

[PFServiceConfig のメンバー](/services/playfab/api-references/c/pfserviceconfig/pfserviceconfig_members)


## Related topics

- [Services C API 概要 - PFServiceConfig.h](/ja-jp/services/playfab/api-references/c/pfserviceconfig/pfserviceconfig_members.md)
- [SDK ライフサイクル](/ja-jp/services/playfab/sdks/c/lifecycle.md)
- [PFServiceConfigGetAPIEndpointSize](/ja-jp/services/playfab/api-references/c/pfserviceconfig/functions/pfserviceconfiggetapiendpointsize.md)
- [PFEntityGetAPIEndpoint](/ja-jp/services/playfab/api-references/c/pfentity/functions/pfentitygetapiendpoint.md)
- [PartyLocalEndpoint::GetEndpointStatistics](/ja-jp/services/playfab/multiplayer/networking/reference/classes/PartyLocalEndpoint/methods/partylocalendpoint_getendpointstatistics.md)
