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

# XtfGetTitleOSFourPartVersion

> XtfGetTitleOSFourPartVersion

# XtfGetTitleOSFourPartVersion

현재 실행 중인 타이틀의 Game OS에 대한 버전 정보를 가져옵니다.

<a id="syntaxSection" />

## 구문

```cpp theme={null}
HRESULT XtfGetTitleOSFourPartVersion(
         PCWSTR address,
         UINT32* flags,
         FourPartVersion* version
)
```

<a id="parametersSection" />

### 매개 변수

*address*<br />형식: PCWSTR

\[in] 콘솔의 주소입니다.

*flags*<br />형식: UINT32\*

\[out] Game OS에 관한 추가 정보를 제공하는 플래그의 비트별 OR 조합입니다. 이 매개 변수는 다음 플래그를 지원합니다:

| 플래그                                  | 값      | 설명                                       |
| ------------------------------------ | ------ | ---------------------------------------- |
| XTF\_CACHED\_TITLE\_OS\_IS\_FALLBACK | 0x0001 | 이 Game OS가 삭제하거나 대체할 수 없는 폴백 OS임을 나타냅니다. |

*version*<br />형식: [FourPartVersion](/reference/tools/xtf/xtfapi/structs/fourpartversion-xtfapi-xbox-windows-s)\*

\[out] Game OS의 4부 버전 번호입니다.

<a id="retvalSection" />

### 반환값

형식: HRESULT

성공하면 `S_OK`를 반환합니다. 그렇지 않으면 HRESULT 오류 코드를 반환합니다.

<a id="remarksSection" />

## 설명

이 함수를 사용하여 현재 실행 중인 타이틀의 Game OS에 대한 버전 정보를 반환합니다. 현재 실행 중인 Game OS가 없으면 오류가 발생합니다. 또한 [XtfGetCachedTitleOSVersions](/reference/tools/xtf/xtfapi/functions/xtfgetcachedtitleosversions-xtfapi-xbox-windows-m) 함수를 사용하여 콘솔에 캐시된 다른 Game OS 버전에 대한 버전 정보를 반환할 수도 있습니다. 프로비저닝된 Game OS 파일 관리에 대한 자세한 내용은 [Application Management (xbapp.exe) (NDA topic)](/tools/tools-console/commandlinetools/xbapp)과 [Provision (xbprovision.exe) (NDA topic)](/tools/tools-console/commandlinetools/xbprovision)을 참조하세요.

<a id="requirementsSection" />

## 요구 사항

**헤더:** xtfapi.h

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

**지원 플랫폼:** Windows(XBOX 콘솔 도구용)

<a id="seealsoSection" />

## 참고 항목

[Run from PC Deployment (NDA topic)](/home/setup-install/concepts/deployment)<br />[XtfGetPackageFullName](/reference/tools/xtf/xtfapi/functions/xtfgetpackagefullname-xtfapi-xbox-windows-m)<br />[XtfGetAumid](/reference/tools/xtf/xtfapi/functions/xtfgetaumid-xtfapi-xbox-windows-m)<br />[XTF Transport Errors (NDA topic)](/tools/tools-console/commandlinetools/xtf-transport-errors)<br />[Additional Xtf APIs](/reference/tools/xtf/xtfapi/atoc-xtfapi)


## Related topics

- [FourPartVersion](/ko/reference/tools/xtf/xtfapi/structs/fourpartversion-xtfapi-xbox-windows-s.md)
- [XtfStartTitleOSByVersion](/ko/reference/tools/xtf/xtfapi/functions/xtfstarttitleosbyversion-xtfapi-xbox-windows-m.md)
- [XtfRemoveTitleOSFromCacheByVersion](/ko/reference/tools/xtf/xtfapi/functions/xtfremovetitleosfromcachebyversion-xtfapi-xbox-windows-m.md)
- [XtfStartTitleOS](/ko/reference/tools/xtf/xtfapi/functions/xtfstarttitleos-xtfapi-xbox-windows-m.md)
- [XtfRemoveTitleOSFromCache](/ko/reference/tools/xtf/xtfapi/functions/xtfremovetitleosfromcache-xtfapi-xbox-windows-m.md)
