> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XGameStreamingInitialize

> XGameStreamingInitialize

# XGameStreamingInitialize

Game Streaming API를 초기화합니다.

## 구문

```cpp theme={null}
HRESULT XGameStreamingInitialize(  
)  
```

### 매개 변수

없음

### 반환 값

형식: HRESULT

성공하면 S\_OK를 반환하고, 그렇지 않으면 오류 코드를 반환합니다. 오류 코드 목록은 [오류 코드](https://docs.xbox.com/ko/reference/errorcodes.md)를 참조하세요.

## 설명

> [!NOTE]
>
> 이 함수는 시간에 민감한 스레드에서 호출하기에 안전하지 않습니다. 자세한 내용은 [시간에 민감한 스레드](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/overviews/threads/time-sensitive-threads)를 참조하세요.

이 API는 다른 대부분의 XGameStreaming API를 호출하기 전에 호출해야 합니다. 이 API가 호출되지 않은 경우 다른 API는 `E_GAMESTREAMING_NOT_INITIALIZED`를 반환합니다.

## 요구 사항

**헤더:** XGameStreaming.h

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

**지원 플랫폼:** Windows, XBOX One 제품군 콘솔 및 XBOX Series 콘솔

## 개념 문서

* [시간에 민감한 스레드](https://learn.microsoft.com/gaming/gdk/docs/gdk-dev/console-dev/overviews/threads/time-sensitive-threads)

## 함께 보기

[XGameStreamingUninitialize](https://docs.xbox.com/ko/reference/system/xgamestreaming/functions/xgamestreaminguninitialize.md)\
[XGameStreaming](https://docs.xbox.com/ko/reference/system/xgamestreaming/xgamestreaming_members.md)


## Related topics

- [XGameStreamingUninitialize](https://docs.xbox.com/ko/reference/system/xgamestreaming/functions/xgamestreaminguninitialize.md)
- [XGameStreaming (API 콘텐츠)](https://docs.xbox.com/ko/reference/system/xgamestreaming/xgamestreaming_members.md)
- [XGameStreamingRegisterConnectionStateChanged](https://docs.xbox.com/ko/reference/system/xgamestreaming/functions/xgamestreamingregisterconnectionstatechanged.md)
- [XGameStreamingSetResolution](https://docs.xbox.com/ko/reference/system/xgamestreaming/functions/xgamestreamingsetresolution.md)
- [XGameStreamingGetClients](https://docs.xbox.com/ko/reference/system/xgamestreaming/functions/xgamestreaminggetclients.md)
