IAppxBundleReader::GetFootprintFile method
Retrieves the specified type of footprint file from the bundle.
Syntax
HRESULT GetFootprintFile(
[in] APPX_BUNDLE_FOOTPRINT_FILE_TYPE fileType,
[out, retval] IAppxFile **footprintFile
);
Parameters
- fileType [in]
-
Type: APPX_BUNDLE_FOOTPRINT_FILE_TYPE
The type of footprint file to be retrieved.
- footprintFile [out, retval]
-
Type: IAppxFile**
The file object that corresponds to the footprint file of fileType.
Return value
Type: HRESULT
If the method succeeds, it returns S_OK. Otherwise, it returns an error code that includes, but is not limited to, those in the following table.
| Return code | Description |
|---|---|
|
The fileType parameter is not a valid value in the APPX_BUNDLE_FOOTPRINT_FILE_TYPE enumeration. |
|
The bundle doesn't contain a footprint file of the specified type. GetFootprintFile can return this error for the APPX_BUNDLE_FOOTPRINT_FILE_TYPE_SIGNATURE type. |
Requirements
|
Minimum supported client |
Windows 8.1 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2012 R2 [desktop apps only] |
|
Header |
|
|
IDL |
|
|
IID |
IID_IAppxBundleReader is defined as DD75B8C0-BA76-43B0-AE0F-68656A1DC5C8 |
See also