Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Closes the package writer object's output stream.
Syntax
HRESULT Close(
[in] IStream *manifest,
[in] IStream *contentGroupMap
);
Parameters
[in] manifest
The stream that provides the contents of the manifest for the package. The stream must support Read, Seek, and Stat.
[in] contentGroupMap
The stream that provides the contents of the content group map for the package.
Return value
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 writer is closed. |
|
The input stream contains a manifest that is not valid. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 [desktop apps only] |
Minimum supported server | Windows Server 2016 [desktop apps only] |
Target Platform | Windows |
Header | appxpackaging.h |