IAppxBlockMapFile interface
Represents a file in the block map.
Members
The IAppxBlockMapFile interface inherits from the IUnknown interface. IAppxBlockMapFile also has these types of members:
Methods
The IAppxBlockMapFile interface has these methods.
| Method | Description |
|---|---|
| GetBlocks |
Retrieves an enumerator for traversing the blocks of a file listed in the block map. |
| GetLocalFileHeaderSize |
Retrieves the size of the zip local file header of the associated zip file item. |
| GetName |
Retrieves the name of the associated zip file item. |
| GetUncompressedSize |
Retrieves the uncompressed size of the associated zip file item. |
| 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.
Examples
For a example code, see Read app package manifest info sample (DescribeAppx).
Requirements
|
Minimum supported client |
Windows 8 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps only] |
|
Header |
|
|
IDL |
|
|
IID |
IID_IAppxBlockMapFile is defined as 277672ac-4f63-42c1-8abc-beae3600eb59 |
See also
- Samples
- Read app package manifest info sample (DescribeAppx)
- Reference
- IAppxBlockMapBlock
- IAppxBlockMapBlocksEnumerator
- IAppxBlockMapFilesEnumerator
- IAppxBlockMapReader