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

# XGameStreamingGetServerLocationNameSize

> XGameStreamingGetServerLocationNameSize

# XGameStreamingGetServerLocationNameSize

스트리밍 서버 데이터 센터 위치 이름의 크기를 가져옵니다.

<a id="syntaxSection" />

## 구문

```cpp theme={null}
size_t XGameStreamingGetServerLocationNameSize()
```

<a id="parametersSection" />

### 매개 변수

없음.

<a id="retvalSection" />

### 반환 값

형식: size\_t

데이터 서버 위치 이름의 크기입니다.

<a id="remarksSection" />

## 설명

이 함수를 사용하여 [XGameStreamingGetServerLocationName](/reference/system/xgamestreaming/functions/xgamestreaminggetserverlocationname)에 사용할 버퍼 공간을 할당합니다.

XBOX가 Azure 데이터 센터에 연결되어 있지 않으면 반환 값은 0이 됩니다.

이 상황은 게임이 스트리밍되고 있지 않을 때 발생할 수 있습니다. 또한 플레이어가 XBOX 콘솔 스트리밍을 사용하여 게임을 스트리밍하거나, 재정의 값이 설정되지 않은 XBOX 개발자 키트를 통해 스트리밍하는 경우에도 발생할 수 있습니다.

<a id="requirementsSection" />

## 요구 사항

**헤더:** xgamestreaming.h

**라이브러리:** xgameruntime.lib

**지원 플랫폼:** Windows, XBOX One 계열 콘솔 및 XBOX Series 콘솔

<a id="seealsoSection" />

## 함께 보기

[XGameStreaming](/reference/system/xgamestreaming/xgamestreaming_members)\
[XGameStreamingGetServerLocationName](/reference/system/xgamestreaming/functions/xgamestreaminggetserverlocationname)


## Related topics

- [XGameStreamingGetServerLocationName](/ko/reference/system/xgamestreaming/functions/xgamestreaminggetserverlocationname.md)
- [XGameStreaming](/ko/reference/system/xgamestreaming/xgamestreaming_members.md)
- [GDK용 Unity C# API 래퍼](/ko/build/gdk-and-engines/unity/unity-api-wrappers.md)
- [XGameStreamingGetTouchBundleVersionNameSize](/ko/reference/system/xgamestreaming/functions/xgamestreaminggettouchbundleversionnamesize.md)
- [XGameStreamingGetTouchBundleVersion](/ko/reference/system/xgamestreaming/functions/xgamestreaminggettouchbundleversion.md)
