Skip to main content

XPackageEnumerateFeatures

Enumerates features defined in the package’s layout file.

Syntax

Parameters

packageIdentifier   _In_z_
Type: char*
The package to enumerate the features of the layout file. For more information about package identifiers, see [Manage and license downloadable content (DLC)] (xstore-manage-and-license-optional-packages.md). context   _In_opt_
Type: void*
Context to be passed to the callback specified in the callback parameter. callback   _In_
Type: XPackageFeatureEnumerationCallback*
Caller defined callback.

Remarks

This function enumerates the features defined in the package’s layout.xml. Most importantly, this includes the displayName for that feature which it is shown in the Shell manage page for the game. For information about the packaging technology used with XBOX One titles, see Overview of Packaging.

Return value

Type: HRESULT HRESULT success or error code.

Requirements

Header: XPackage.h Library: xgameruntime.lib Supported Platforms: Windows, XBOX One family consoles and XBOX Series consoles

Conceptual documentation

See also

XPackageFeature
XPackage
Last modified on August 20, 2026