Export (0) Print
Expand All

APPX_PACKAGE_SETTINGS structure

Represents package settings used to create a package.

Syntax


typedef struct APPX_PACKAGE_SETTINGS {
  BOOL forceZip32;
  IUri *hashMethod;
} APPX_PACKAGE_SETTINGS;

Members

forceZip32

Type: BOOL

TRUE if the package is created as Zip32; FALSE if the package is created as Zip64. The default is Zip64.

hashMethod

Type: IUri*

The hash algorithm URI to use for the block map of the package.

Remarks

Set forceZip32 to TRUE to maintain compatibility with older ZIP tools.

The possible values for hashMethod are:

  • http://www.w3.org/2001/04/xmlenc#sha256
  • http://www.w3.org/2001/04/xmldsig-more#sha384
  • http://www.w3.org/2001/04/xmlenc#sha512

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

AppxPackaging.h

IDL

AppxPackaging.idl

See also

IAppxFactory::CreatePackageWriter

 

 

Show:
© 2014 Microsoft