IAppxBundleFactory::CreateBundleManifestReader method
Creates a read-only bundle manifest object from a standalone stream to AppxBundleManifest.xml.
Syntax
HRESULT CreateBundleManifestReader(
[in] IStream *inputStream,
[out, retval] IAppxBundleManifestReader **manifestReader
);
Parameters
- inputStream [in]
-
Type: IStream*
The input stream that delivers the manifest XML 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.
- manifestReader [out, retval]
-
Type: IAppxBundleManifestReader**
The manifest reader.
Return value
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 |
|---|---|
|
The inputStream does not contain syntactically valid XML for the manifest. |
Requirements
|
Minimum supported client |
Windows 8.1 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2012 R2 [desktop apps only] |
|
Header |
|
|
IDL |
|
|
IID |
IID_IAppxBundleFactory is defined as BBA65864-965F-4A5F-855F-F074BDBF3A7B |
See also