IAppxPackageEditor::UpdatePackageManifest method (appxpackaging.h)

Updates an app package manifest.

Syntax

HRESULT UpdatePackageManifest(
  [in] IStream                                             *packageStream,
  [in] IStream                                             *updatedManifestStream,
  [in] BOOL                                                isPackageEncrypted,
  [in] APPX_PACKAGE_EDITOR_UPDATE_PACKAGE_MANIFEST_OPTIONS options
);

Parameters

[in] packageStream

An IStream that provides the contents of the app package associated with the manifest to be updated.

[in] updatedManifestStream

An IStream that provides the contents of the updated app package manifest.

[in] isPackageEncrypted

Flag to specify whether the package is encrypted.

[in] options

Options for app package manifest validation.

Return value

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

Requirements

Requirement Value
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