Skip to content

Latest commit

 

History

History
128 lines (107 loc) · 3.93 KB

nf-appxpackaging-iappxbundlefactory-createbundlereader.md

File metadata and controls

128 lines (107 loc) · 3.93 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
NF:appxpackaging.IAppxBundleFactory.CreateBundleReader
IAppxBundleFactory::CreateBundleReader (appxpackaging.h)
Creates a read-only bundle object that reads its contents from an IStream object.
CreateBundleReader
CreateBundleReader method [App packaging and management]
CreateBundleReader method [App packaging and management]
IAppxBundleFactory interface
IAppxBundleFactory interface [App packaging and management]
CreateBundleReader method
IAppxBundleFactory.CreateBundleReader
IAppxBundleFactory::CreateBundleReader
appxpackaging/IAppxBundleFactory::CreateBundleReader
appxpkg.iappxbundlefactory_createbundlereader
appxpkg\iappxbundlefactory_createbundlereader.htm
appxpkg
3D9F7A0A-EF6A-4C99-B9A0-C618138DB5ED
12/05/2018
CreateBundleReader, CreateBundleReader method [App packaging and management], CreateBundleReader method [App packaging and management],IAppxBundleFactory interface, IAppxBundleFactory interface [App packaging and management],CreateBundleReader method, IAppxBundleFactory.CreateBundleReader, IAppxBundleFactory::CreateBundleReader, appxpackaging/IAppxBundleFactory::CreateBundleReader, appxpkg.iappxbundlefactory_createbundlereader
appxpackaging.h
Windows
Windows 8.1 [desktop apps only]
Windows Server 2012 R2 [desktop apps only]
AppxPackaging.idl
Windows
19H1
IAppxBundleFactory::CreateBundleReader
appxpackaging/IAppxBundleFactory::CreateBundleReader
c++
APIRef
kbSyntax
COM
AppxPackaging.h
IAppxBundleFactory.CreateBundleReader

IAppxBundleFactory::CreateBundleReader

-description

Creates a read-only bundle object that reads its contents from an IStream object.

-parameters

-param inputStream [in]

Type: IStream*

The input stream that delivers the content of the package for reading. The stream must support Read, Seek, and Stat. If these methods fail, their error codes might be passed to and returned by this method.

-param bundleReader [out, retval]

Type: IAppxBundleReader**

A bundle reader.

-returns

Type: HRESULT

If the method succeeds, it returns S_OK. Otherwise, it returns an error code that includes, but is not limited to, those in the following table.

Return code Description
APPX_E_INTERLEAVING_NOT_ALLOWED
The ZIP file delivered by inputStream is an interleaved OPC package.
APPX_E_RELATIONSHIPS_NOT_ALLOWED
The OPC package delivered by inputStream contains OPC package/part relationships.
APPX_E_MISSING_REQUIRED_FILE
The OPC package delivered by inputStream does not have a manifest, or a block map, or a signature file when a CI catalog is present.
APPX_E_INVALID_MANIFEST
The bundle manifest is not valid.

-see-also

IAppxBundleFactory