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

# XtfRemoveTitleOSFromCache

> XtfRemoveTitleOSFromCache

# XtfRemoveTitleOSFromCache

콘솔 캐시에서 Game OS를 제거합니다.

<a id="syntaxSection" />

## 구문

```cpp theme={null}
HRESULT XtfRemoveTitleOSFromCache(
         PCWSTR address,
         PCWSTR osIdentifier
)  
```

<a id="parametersSection" />

### 매개 변수

*address*<br />형식: PCWSTR

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

*osIdentifier*<br />형식: PCWSTR

\[in] 제거할 OS의 식별자입니다. 이 식별자는 다음 중 하나일 수 있습니다:

* 제거할 Game OS 버전의 4부 버전 번호를 포함하는 MicrosoftGame.config 파일의 전체 경로와 파일 이름
* GameOs.xvd 파일의 전체 경로와 파일 이름
* MicrosoftGame.config 또는 GameOS.vxd 파일이 포함된 디렉터리의 전체 경로
* 제거할 Game OS의 4부 버전 번호

유효한 식별자의 예:

* D:\MyGame
* \MyDevPC\share\MyGame\MicrosoftGame.config
* xd:\Titles\MyGamePFN\GameOs.xvd
* 10.0.18236.1002

<a id="retvalSection" />

### 반환값

형식: HRESULT

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

<a id="remarksSection" />

## 설명

이 함수를 사용하여 지정된 Game OS를 콘솔 캐시에서 제거함으로써 프로비저닝된 Game OS 파일을 관리하세요. 폴백 OS로 플래그가 지정된 Game OS를 제거하려고 시도하면 오류가 발생합니다.

제거하려는 Game OS의 [FourPartVersion](/reference/tools/xtf/xtfapi/structs/fourpartversion-xtfapi-xbox-windows-s)이 있는 경우 대신 [XtfRemoveTitleOSFromCacheByVersion](/reference/tools/xtf/xtfapi/functions/xtfremovetitleosfromcachebyversion-xtfapi-xbox-windows-m) 함수를 사용하여 해당 Game OS 버전을 제거하세요. [XtfGetCachedTitleOSVersions](/reference/tools/xtf/xtfapi/functions/xtfgetcachedtitleosversions-xtfapi-xbox-windows-m) 함수를 사용하여 콘솔에 캐시된 각 Game OS의 `FourPartVersion`을 가져오거나, [XtfGetTitleOSFourPartVersion](/reference/tools/xtf/xtfapi/functions/xtfgettitleosfourpartversion-xtfapi-xbox-windows-m) 함수를 사용하여 현재 실행 중인 타이틀의 Game OS에 대한 `FourPartVersion`을 가져올 수 있습니다.

또한 [XtfCacheTitleOS](/reference/tools/xtf/xtfapi/functions/xtfcachetitleos-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 />[XTF Transport Errors (NDA topic)](/tools/tools-console/commandlinetools/xtf-transport-errors)<br />[Additional Xtf APIs](/reference/tools/xtf/xtfapi/atoc-xtfapi)


## Related topics

- [XtfRemoveTitleOSFromCacheByVersion](/ko/reference/tools/xtf/xtfapi/functions/xtfremovetitleosfromcachebyversion-xtfapi-xbox-windows-m.md)
- [XtfCacheTitleOS](/ko/reference/tools/xtf/xtfapi/functions/xtfcachetitleos-xtfapi-xbox-windows-m.md)
- [XtfGetCachedTitleOSVersions](/ko/reference/tools/xtf/xtfapi/functions/xtfgetcachedtitleosversions-xtfapi-xbox-windows-m.md)
- [XtfGetCachedTitleOSVersionsCallback](/ko/reference/tools/xtf/xtfapi/functions/xtfgetcachedtitleosversionscallback-xtfapi-xbox-windows-m.md)
- [FourPartVersion](/ko/reference/tools/xtf/xtfapi/structs/fourpartversion-xtfapi-xbox-windows-s.md)
