APPX_PACKAGE_WRITER_PAYLOAD_STREAM structure (appxpackaging.h)

Contains the data and metadata of files to write into the app package.

Syntax

typedef struct APPX_PACKAGE_WRITER_PAYLOAD_STREAM {
  IStream                 *inputStream;
  LPCWSTR                 fileName;
  LPCWSTR                 contentType;
  APPX_COMPRESSION_OPTION compressionOption;
} APPX_PACKAGE_WRITER_PAYLOAD_STREAM;

Members

inputStream

The source of the payload file.

fileName

Name of the payload file.

contentType

The content type of the payload file.

compressionOption

The degree of compression used for the file in the package.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Header appxpackaging.h