IAppxFile::GetCompressionOption method (appxpackaging.h)

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

Syntax

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

Parameters

[out, retval] compressionOption

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

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header appxpackaging.h

See also

APPX_COMPRESSION_OPTION

IAppxFile