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

# GetPackageFamilyNameFromManifest

> GetPackageFamilyNameFromManifest

# GetPackageFamilyNameFromManifest

Returns the family name of the package for the specified application manifest.

<a id="syntaxSection" />

## Syntax

```cpp theme={null}
HRESULT GetPackageFamilyNameFromManifest(
         PCWSTR manifestPath,
         WCHAR** packageFamilyName
)
```

<a id="parametersSection" />

### Parameters

*manifestPath*   \_In\_\
Type: PCWSTR

The path to the manifest.

*packageFamilyName*   \_Out\_\
Type: WCHAR\*\*

On return, contains the package family name.

<a id="retvalSection" />

### Return value

Type: HRESULT

Returns `S_OK` if successful. Otherwise, returns an error code. For a list of error codes, see [Error Codes](/reference/errorcodes).

<a id="remarksSection" />

## Remarks

The caller must free the returned string by using `CoTaskMemFree`.

To determine the full name of a package by specifying the package name, the package version, the package architecture, the package resource ID, and the package publisher, call [GetPackageFullNameFromInfo](/reference/tools/packagingservices/functions/getpackagefullnamefrominfo).

For more information about packaging, see [Overview of packaging](/build/core-features/common/packaging/overviews/packaging).

<a id="requirementsSection" />

## Requirements

**Header:** packagingservices.h

**Library:** packagingservices.lib

**Supported platforms:** Windows (for XBOX console tools)

<a id="seealsoSection" />

## See also

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


## Related topics

- [GetPackageFullNameFromInfo](/reference/tools/packagingservices/functions/getpackagefullnamefrominfo.md)
- [GetIsGameCorePartition](/reference/tools/packagingservices/functions/getisgamecorepartition.md)
- [GetIsTitlePartition](/reference/tools/packagingservices/functions/getistitlepartition.md)
- [PackagingServices](/reference/tools/packagingservices/packagingservices_members.md)
- [GetPackageFullNameFromManifest](/reference/tools/packagingservices/functions/getpackagefullnamefrommanifest.md)
