IAppxBlockMapBlock interface (appxpackaging.h)

The IAppxBlockMapBlock interface provides a read-only object that represents an individual block within a file contained in the block map file (AppxBlockMap.xml) for the App package. The IAppxBlockMapFile::GetBlocks method is used to return an enumerator for traversing and retrieving the individual blocks of a file listed in the package block map.

Inheritance

The IAppxBlockMapBlock interface inherits from the IUnknown interface. IAppxBlockMapBlock also has these types of members:

Methods

The IAppxBlockMapBlock interface has these methods.

 
IAppxBlockMapBlock::GetCompressedSize

Retrieves compressed size of the block.
IAppxBlockMapBlock::GetHash

Retrieves the hash value of the block.

Remarks

Each Block element has an attribute for the hash value and compressed size of the block.

For a code example, see the Query app package and app manifest sample.

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

IAppxBlockMapBlocksEnumerator

IAppxBlockMapFile

IAppxBlockMapFilesEnumerator

IAppxBlockMapReader

Query app package and app manifest sample