Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IAppxPackageReader::GetPayloadFiles method

Retrieves an enumerator that iterates through the payload files in the package.

Syntax


HRESULT GetPayloadFiles(
  [out, retval] IAppxFilesEnumerator **filesEnumerator
);

Parameters

filesEnumerator [out, retval]

Type: IAppxFilesEnumerator**

An enumerator over all payload files in the package.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Examples

For an example, see Quickstart: Extract app package contents.

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_IAppxPackageReader is defined as b5c49650-99bc-481c-9a34-3d53a4106708

See also

IAppxPackageReader
IAppxPackageReader::GetFootprintFile
IAppxPackageReader::GetPayloadFile

 

 

Show:
© 2017 Microsoft