Export (0) Print
Expand All

IAppxBundleManifestReader::GetStream method

Gets the raw XML document without any preprocessing.

Syntax


HRESULT GetStream(
  [out, retval]  IStream **manifestStream
);

Parameters

manifestStream [out, retval]

Type: IStream**

The read-only stream that represents the XML content of the manifest.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

The raw XML stream is the entire source stream and might contain elements and attributes in other namespaces that are ignored by the manifest reader. For example, the XML stream might have elements in other namespaces that were marked in the IgnorableNamespaces attribute in the Package element, which were not validated. So, we recommend not to trust or parse this XML without security testing.

Requirements

Minimum supported client

Windows 8.1 [desktop apps only]

Minimum supported server

Windows Server 2012 R2 [desktop apps only]

Header

AppxPackaging.h

IDL

AppxPackaging.idl

IID

IID_IAppxBundleManifestReader is defined as CF0EBBC1-CC99-4106-91EB-E67462E04FB0

See also

IAppxBundleManifestReader

 

 

Show:
© 2014 Microsoft