Compartir a través de


ValidateSchemaForManifest

Parses a manifest and validates the schema.

Syntax

HRESULT ValidateSchemaForManifest(
         PCWSTR manifestPath,
         WCHAR** pParsingError
)

Parameters

manifestPath   _In_
Type: PCWSTR

The path to the manifest.

pParsingError   _Out_
Type: WCHAR**

On return, contains descriptions of any parsing errors.

Return value

Type: HRESULT

Returns S_OK if successful. Otherwise, returns an error code. For a list of error codes, see Error Codes.

Remarks

To determine whether the manifest is a Microsoft Game Development Kit (GDK) manifest, call GetIsGameCorePartition.

To validate the schema of a game configuration file, call PackagingValidateGameConfig.

For more information about packaging, see Overview of packaging.

Requirements

Header: packagingservices.h

Library: packagingservices.lib

Supported platforms: Windows (for Xbox console tools)

See also

PackagingServices