Skip to content

Latest commit

 

History

History
102 lines (68 loc) · 4.55 KB

nn-appxpackaging-iappxmanifestreader.md

File metadata and controls

102 lines (68 loc) · 4.55 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NN:appxpackaging.IAppxManifestReader
IAppxManifestReader (appxpackaging.h)
Represents an object model of the package manifest that provides methods to access manifest elements and attributes. (IAppxManifestReader)
IAppxManifestReader
IAppxManifestReader interface [App packaging and management]
IAppxManifestReader interface [App packaging and management]
described
appxpackaging/IAppxManifestReader
appxpkg.iappxmanifestreader
appxpkg\iappxmanifestreader.htm
appxpkg
3DA45F2F-7088-4A9B-968C-91E402CAA412
12/05/2018
IAppxManifestReader, IAppxManifestReader interface [App packaging and management], IAppxManifestReader interface [App packaging and management],described, appxpackaging/IAppxManifestReader, appxpkg.iappxmanifestreader
appxpackaging.h
Windows
Windows 8 [desktop apps only]
Windows Server 2012 [desktop apps only]
AppxPackaging.idl
Windows
19H1
IAppxManifestReader
appxpackaging/IAppxManifestReader
c++
APIRef
kbSyntax
COM
AppxPackaging.h
IAppxManifestReader

IAppxManifestReader interface

-description

Represents an object model of the package manifest that provides methods to access manifest elements and attributes.

-inheritance

The IAppxManifestReader interface inherits from the IUnknown interface. IAppxManifestReader also has these types of members:

-remarks

Do not implement this object. Use the provided implementation instead.

This IAppxManifestReader object parses and validates the app package manifest and exposes elements and attributes in the manifest in a type-safe manner. This object can also be used to get an underlying IStream for the raw XML if needed.

Note  Starting with Windows 8.1, we recommend not to use IAppxManifestReader::GetResources anymore to only iterate over the Language values in the manifest. Instead, use IAppxManifestReader2::GetResources because it iterates over other resource qualifiers as well, such as, Scale and DXFeatureLevel.
 
This object can be retrieved using the CreateManifestReader method of the IAppxFactory interface or the GetManifest method of the IAppxPackageReader interface. In either case, the manifest is validated before returning the IAppxManifestReader object. If the XML is not syntactically valid, then the above mentioned methods fail, and the IAppxManifestReader object is not returned.

Examples

For an example, see Quickstart: Read app package manifest info.

-see-also

APPX_CAPABILITIES

IAppxManifestApplicationsEnumerator

IAppxManifestDeviceCapabilitiesEnumerator

IAppxManifestPackageDependenciesEnumerator

IAppxManifestPackageId

IAppxManifestProperties

IAppxManifestResourcesEnumerator