IAppxPackageEditor::UpdateEncryptedPackage method (appxpackaging.h)

Updates an encrypted app package.

Syntax

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

Parameters

[in] baselineEncryptedPackageStream

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

[in] deltaPackageStream

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

[in] updateOption

The update options.

[in] settings

The encrypted app package settings.

[in] 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