IAppxPackageEditor::UpdateEncryptedPackage method (appxpackaging.h)

Updates an encrypted app package.

Syntax

HRESULT UpdateEncryptedPackage(
  IStream                                   *baselineEncryptedPackageStream,
  IStream                                   *deltaPackageStream,
  APPX_PACKAGE_EDITOR_UPDATE_PACKAGE_OPTION updateOption,
  const APPX_ENCRYPTED_PACKAGE_SETTINGS2    *settings,
  const APPX_KEY_INFO                       *keyInfo
);

Parameters

baselineEncryptedPackageStream

An IStream that provides the contents of the baseline encrypted app package.

deltaPackageStream

An IStream that provides the contents of the delta (difference) app package.

updateOption

The update options.

settings

The encrypted app package settings.

keyInfo

App package key information.

Return value

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

Requirements

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

See also

IAppxPackageEditor