IAppxBlockMapFile interface (appxpackaging.h)

Represents a file in the block map.

Inheritance

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

Methods

The IAppxBlockMapFile interface has these methods.

 
IAppxBlockMapFile::GetBlocks

Retrieves an enumerator for traversing the blocks of a file listed in the block map.
IAppxBlockMapFile::GetLocalFileHeaderSize

Retrieves the size of the zip local file header of the associated zip file item.
IAppxBlockMapFile::GetName

Retrieves the name of the associated zip file item.
IAppxBlockMapFile::GetUncompressedSize

Retrieves the uncompressed size of the associated zip file item.
IAppxBlockMapFile::ValidateFileHash

Validates the content of a file against the hashes stored in the block elements for this block map file.

Remarks

The IAppxBlockMapFile interface provides a read-only object model that represents the files in the block map. Files are represented in the block map file with the File element. You can retrieve the file's attributes and block hashes from the File element. Block hashes can be obtained from the IAppxBlockMapBlock interface.

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

IAppxBlockMapBlock

IAppxBlockMapBlocksEnumerator

IAppxBlockMapFilesEnumerator

IAppxBlockMapReader

Query app package and app manifest sample