XPackageFeatureEnumerationCallback

The callback used by XPackageEnumerateFeatures to enumerate each feature.

Syntax

bool XPackageFeatureEnumerationCallback(  
         void* context,  
         const XPackageFeature* feature  
)  

Parameters

context   _In_
Type: void*

The context passed to XPackageEnumerateFeatures when enumeration of the features was initiated.

feature   _In_
Type: XPackageFeature*

Pointer to an XPackageFeature structure describing the feature.

Return value

Type: bool

Return true to continue enumerating packages, or false to stop the enumeration.

Remarks

This callback function enumerates the features defined in the package's layout.xml. A prominent feature defined in the package's layout file is the displayName. The displayName 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.

Requirements

Header: XPackage.h

Supported Platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

XPackageEnumerateFeatures
XPackageFeature
XPackage