Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

IAppxBlockMapReader::GetFile method

Retrieves data corresponding to a file in the block map with the specified file name.

Syntax


HRESULT GetFile(
  [in]          LPCWSTR           fileName,
  [out, retval] IAppxBlockMapFile **file
);

Parameters

fileName [in]

Type: LPCWSTR

The name of the file.

file [out, retval]

Type: IAppxBlockMapFile**

The data about the file's attributes and blocks.

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 codeDescription
HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND)

The specified file name does not match the name of a file listed in the block map.

 

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

AppxPackaging.h

IDL

AppxPackaging.idl

IID

IID_IAppxBlockMapReader is defined as 5efec991-bca3-42d1-9ec2-e92d609ec22a

See also

IAppxBlockMapReader

 

 

Show:
© 2015 Microsoft