IAppxFile::GetCompressionOption method

Retrieves the compression option that is used to store the file in the package.

Syntax


HRESULT GetCompressionOption(
  [out, retval]  APPX_COMPRESSION_OPTION *compressionOption
);

Parameters

compressionOption [out, retval]

Type: APPX_COMPRESSION_OPTION*

A compression option that describes how the file is stored in the package.

Return value

Type: HRESULT

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

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

AppxPackaging.h

IDL

AppxPackaging.idl

IID

IID_IAppxFile is defined as 91df827b-94fd-468f-827b-57f41b2f6f2e

See also

IAppxFile
APPX_COMPRESSION_OPTION

 

 

Show:
© 2014 Microsoft