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

# GetIsGameCorePartition

> GetIsGameCorePartition

# GetIsGameCorePartition

指示提供的清单是否为 Microsoft 游戏开发工具包 (GDK) 清单。

## 语法

```cpp theme={null}
HRESULT GetIsGameCorePartition(
         PCWSTR manifestPath,
         BOOL* pIsGameCorePartition
)
```

### 参数

*manifestPath*   \_In\_\
类型：PCWSTR

清单的路径。

*pIsGameCorePartition*   \_Out\_\
类型：BOOL\*

返回时，指示提供的清单是否为 Microsoft 游戏开发工具包 (GDK) 清单。

### 返回值

类型：HRESULT

成功时返回 `S_OK`。否则，返回错误代码。有关错误代码的列表，请参阅[错误代码](https://docs.xbox.com/zh-CN/reference/errorcodes.md)。

## 备注

要确定提供的清单是否为 ERA 清单，请调用 [GetIsTitlePartition](https://docs.xbox.com/zh-CN/reference/tools/packagingservices/functions/getistitlepartition.md)。

要确定指定应用程序清单对应包的系列名称，请调用 [GetPackageFamilyNameFromManifest](https://docs.xbox.com/zh-CN/reference/tools/packagingservices/functions/getpackagefamilynamefrommanifest.md)。

有关打包的更多信息，请参阅[打包概览](https://docs.xbox.com/zh-CN/build/core-features/common/packaging/overviews/packaging.md)。

## 要求

**头文件：** packagingservices.h

**库：** packagingservices.lib

**支持的平台：** Windows（用于 XBOX 主机工具）

## 另请参阅

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


## Related topics

- [GetIsTitlePartition](https://docs.xbox.com/zh-CN/reference/tools/packagingservices/functions/getistitlepartition.md)
- [GetPackageVersionFromManifest](https://docs.xbox.com/zh-CN/reference/tools/packagingservices/functions/getpackageversionfrommanifest.md)
- [ValidateSchemaForManifest](https://docs.xbox.com/zh-CN/reference/tools/packagingservices/functions/validateschemaformanifest.md)
- [PackagingServices（API 内容）](https://docs.xbox.com/zh-CN/reference/tools/packagingservices/packagingservices_members.md)
- [XtfGetTitleProcessMemoryReports](https://docs.xbox.com/zh-CN/reference/tools/xtf/xtfapi/functions/xtfgettitleprocessmemoryreports-xtfapi-xbox-windows-m.md)
