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

# GetPackageVersionFromManifest

> GetPackageVersionFromManifest

# GetPackageVersionFromManifest

지정된 애플리케이션 매니페스트에 대한 패키지의 버전을 반환합니다.

## 구문

```cpp theme={null}
HRESULT GetPackageVersionFromManifest(
         PCWSTR manifestPath,
         UINT64* packageVersion
)
```

### 매개변수

*manifestPath*   \_In\_\
형식: PCWSTR

매니페스트의 경로입니다.

*packageVersion*   \_Out\_\
형식: UINT64\*

반환 시 패키지의 버전을 포함합니다.

### 반환값

형식: HRESULT

성공하면 `S_OK`를 반환합니다. 그렇지 않으면 오류 코드를 반환합니다. 오류 코드 목록은 [Error Codes](https://docs.xbox.com/ko/reference/errorcodes.md)를 참조하십시오.

## 설명

매니페스트가 Microsoft Game Development Kit(GDK) 매니페스트인지 확인하려면 [GetIsGameCorePartition](https://docs.xbox.com/ko/reference/tools/packagingservices/functions/getisgamecorepartition.md)을 호출합니다.

매니페스트를 구문 분석하고 스키마의 유효성을 검사하려면 [ValidateSchemaForManifest](https://docs.xbox.com/ko/reference/tools/packagingservices/functions/validateschemaformanifest.md)를 호출합니다.

패키징에 대한 자세한 내용은 [Overview of packaging](https://docs.xbox.com/ko/build/core-features/common/packaging/overviews/packaging.md)을 참조하십시오.

## 요구 사항

**헤더:** packagingservices.h

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

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

## 함께 보기

[PackagingServices](https://docs.xbox.com/ko/reference/tools/packagingservices/packagingservices_members.md)


## Related topics

- [PackagingServices (API 콘텐츠)](https://docs.xbox.com/ko/reference/tools/packagingservices/packagingservices_members.md)
- [GetPackageFamilyNameFromManifest](https://docs.xbox.com/ko/reference/tools/packagingservices/functions/getpackagefamilynamefrommanifest.md)
- [GetPackageFullNameFromManifest](https://docs.xbox.com/ko/reference/tools/packagingservices/functions/getpackagefullnamefrommanifest.md)
- [Submission Validator 메시지](https://docs.xbox.com/ko/build/core-features/common/packaging/subval/submissionvalidator-messages.md)
- [GetPackageInfoFromGameConfig](https://docs.xbox.com/ko/reference/tools/packagingservices/functions/getpackageinfofromgameconfig.md)
