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

# GetIsGameCorePartition

> GetIsGameCorePartition

# GetIsGameCorePartition

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

<a id="syntaxSection" />

## 语法

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

<a id="parametersSection" />

### 参数

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

清单的路径。

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

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

<a id="retvalSection" />

### 返回值

类型：HRESULT

成功时返回 `S_OK`。否则，返回错误代码。有关错误代码的列表，请参阅[错误代码](/reference/errorcodes)。

<a id="remarksSection" />

## 备注

要确定提供的清单是否为 ERA 清单，请调用 [GetIsTitlePartition](/reference/tools/packagingservices/functions/getistitlepartition)。

要确定指定应用程序清单对应包的系列名称，请调用 [GetPackageFamilyNameFromManifest](/reference/tools/packagingservices/functions/getpackagefamilynamefrommanifest)。

有关打包的更多信息，请参阅[打包概览](/build/core-features/common/packaging/overviews/packaging)。

<a id="requirementsSection" />

## 要求

**头文件：** packagingservices.h

**库：** packagingservices.lib

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

<a id="seealsoSection" />

## 另请参阅

[PackagingServices](/reference/tools/packagingservices/packagingservices_members)


## Related topics

- [GetIsTitlePartition](/zh-CN/reference/tools/packagingservices/functions/getistitlepartition.md)
- [GetPackageVersionFromManifest](/zh-CN/reference/tools/packagingservices/functions/getpackageversionfrommanifest.md)
- [ValidateSchemaForManifest](/zh-CN/reference/tools/packagingservices/functions/validateschemaformanifest.md)
- [PackagingServices](/zh-CN/reference/tools/packagingservices/packagingservices_members.md)
- [XtfGetTitleProcessMemoryReports](/zh-CN/reference/tools/xtf/xtfapi/functions/xtfgettitleprocessmemoryreports-xtfapi-xbox-windows-m.md)
