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

# XtfUnregisterPackage

> XtfUnregisterPackage

# XtfUnregisterPackage

타이틀 스크래치 드라이브에 배포된 패키지의 등록을 취소합니다.

<a id="syntaxSection" />

## 구문

```cpp theme={null}
HRESULT XtfUnregisterPackage(
         LPCWSTR address,
         LPCWSTR packageFullName
)  
```

<a id="parametersSection" />

### 매개 변수

*address*\
형식: LPCWSTR

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

*packageFullName*\
형식: LPCWSTR

\[in] 등록을 취소할 패키지의 전체 이름입니다.

<a id="retvalSection" />

### 반환값

형식: HRESULT

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

<a id="remarksSection" />

## 설명

이 함수는 [XtfRegisterPackage](/reference/tools/xtf/xtfapi/functions/xtfregisterpackage-xtfapi-xbox-windows-m) 함수로 이전에 배포한 패키지 같은, 타이틀 스크래치 드라이브에 배포된 패키지의 등록을 취소합니다. 이 함수는 지정한 패키지와 관련된 모든 애플리케이션의 등록을 취소하고 제거합니다.

애플리케이션 관리에 대한 자세한 내용은 [Application Management (xbapp.exe) (NDA topic)](/tools/tools-console/commandlinetools/xbapp)을 참조하세요.

<a id="requirementsSection" />

## 요구 사항

**헤더:** xtfapi.h

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

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

## 참고 항목

[XtfRegisterPackage](/reference/tools/xtf/xtfapi/functions/xtfregisterpackage-xtfapi-xbox-windows-m)\
[XTF Transport Errors (NDA topic)](/tools/tools-console/commandlinetools/xtf-transport-errors)


## Related topics

- [XtfRegisterPackage](/ko/reference/tools/xtf/xtfapi/functions/xtfregisterpackage-xtfapi-xbox-windows-m.md)
- [XtfPullUnregisterApp](/ko/reference/tools/xtf/xtfapi/functions/xtfpullunregisterapp-xtfapi-xbox-windows-m.md)
- [XPackageUnregisterPackageInstalled](/ko/reference/system/xpackage/functions/xpackageunregisterpackageinstalled.md)
- [XPackageUnregisterInstallationProgressChanged](/ko/reference/system/xpackage/functions/xpackageunregisterinstallationprogresschanged.md)
- [XStoreUnregisterPackageLicenseLost](/ko/reference/system/xstore/functions/xstoreunregisterpackagelicenselost.md)
