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

# GetPackageFamilyNameFromManifest

> GetPackageFamilyNameFromManifest

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

## Syntax

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

### Parameters

*manifestPath*   \_In\_\
Type: PCWSTR

The path to the manifest.

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

On return, contains the package family name.

### Return value

Type: HRESULT

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

## 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](https://docs.xbox.com/reference/tools/packagingservices/functions/getpackagefullnamefrominfo.md).

For more information about packaging, see [Overview of packaging](https://docs.xbox.com/build/core-features/common/packaging/overviews/packaging.md).

## Requirements

**Header:** packagingservices.h

**Library:** packagingservices.lib

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

## See also

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


## Related topics

- [GetPackageFullNameFromInfo](https://docs.xbox.com/reference/tools/packagingservices/functions/getpackagefullnamefrominfo.md)
- [GetIsGameCorePartition](https://docs.xbox.com/reference/tools/packagingservices/functions/getisgamecorepartition.md)
- [GetIsTitlePartition](https://docs.xbox.com/reference/tools/packagingservices/functions/getistitlepartition.md)
- [PackagingServices (API contents)](https://docs.xbox.com/reference/tools/packagingservices/packagingservices_members.md)
- [GetPackageFullNameFromManifest](https://docs.xbox.com/reference/tools/packagingservices/functions/getpackagefullnamefrommanifest.md)
