XPackageEnumerateFeatures
Enumerates features defined in the package's layout file.
HRESULT XPackageEnumerateFeatures(
const char* packageIdentifier,
void* context,
XPackageFeatureEnumerationCallback* callback
)
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.
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.
Type: HRESULT
HRESULT success or error code.
Header: XPackage.h
Library: xgameruntime.lib
Supported Platforms: Windows, Xbox One family consoles and Xbox Series consoles