> ## 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 종결자를 포함하여 버퍼에서 사용된 바이트 수입니다.

### 반환 값

Type: HRESULT

이 API 작업의 결과 코드입니다.

## 요구 사항

**헤더:** PFServiceConfig.h

## 참고 항목

[PFServiceConfig 멤버](/services/playfab/api-references/c/pfserviceconfig/pfserviceconfig_members)


## Related topics

- [Services C API 개요 - PFServiceConfig.h](/ko/services/playfab/api-references/c/pfserviceconfig/pfserviceconfig_members.md)
- [SDK 수명 주기](/ko/services/playfab/sdks/c/lifecycle.md)
- [PFServiceConfigGetAPIEndpointSize](/ko/services/playfab/api-references/c/pfserviceconfig/functions/pfserviceconfiggetapiendpointsize.md)
- [PFEntityGetAPIEndpoint](/ko/services/playfab/api-references/c/pfentity/functions/pfentitygetapiendpoint.md)
- [PartyLocalEndpoint::GetEndpointStatistics](/ko/services/playfab/multiplayer/networking/reference/classes/PartyLocalEndpoint/methods/partylocalendpoint_getendpointstatistics.md)
