Events
Nov 19, 11 PM - Nov 21, 11 PM
Gain the competitive edge you need with powerful AI and Cloud solutions by attending Microsoft Ignite online.
Register nowThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Creates a new instance of an IAppxEncryptedPackageWriter.
HRESULT CreateEncryptedPackageWriter(
[in] IStream *outputStream,
[in] IStream *manifestStream,
[in] const APPX_ENCRYPTED_PACKAGE_SETTINGS *settings,
[in] const APPX_KEY_INFO *keyInfo,
const APPX_ENCRYPTED_EXEMPTIONS *exemptedFiles,
[out, retval] IAppxEncryptedPackageWriter **packageWriter
);
[in] outputStream
A writable stream for sending bytes produced by the app package.
[in] manifestStream
A readable stream that defines the package for the AppxManifest.xml.
[in] settings
Settings for creating the package.
[in] keyInfo
Key info containing the base encryption key and key ID for encrypting the package. The base encryption key is used to derive the per file encryption keys. If this parameter is null, the global test key and key ID are used.
exemptedFiles
The list of files to be exempted from encryption.
[out, retval] packageWriter
The package writer object created.
If the method succeeds, it returns S_OK. Otherwise, it returns an error code.
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1607 [desktop apps only] |
Minimum supported server | Windows Server 2016 [desktop apps only] |
Target Platform | Windows |
Header | appxpackaging.h |
Events
Nov 19, 11 PM - Nov 21, 11 PM
Gain the competitive edge you need with powerful AI and Cloud solutions by attending Microsoft Ignite online.
Register now