IAppxFile::GetSize method (appxpackaging.h)

Retrieves the uncompressed size of the file.

Syntax

HRESULT GetSize(
  [out, retval] UINT64 *size
);

Parameters

[out, retval] size

Type: UINT64*

The uncompressed size, in bytes.

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

IAppxFile