IAppxBundleWriter::Close method

Finalizes the bundle package by writing footprint files at the end of the package, and closes the writer’s output stream.

Syntax


HRESULT Close();

Parameters

This method has no parameters.

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 codeDescription
E_NOT_VALID_STATE

The writer is closed.

 

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_IAppxBundleWriter is defined as EC446FE8-BFEC-4C64-AB4F-49F038F0C6D2

See also

IAppxBundleWriter

 

 

Show: