diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:21 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:18:21 +0000 |
commit | 4e8199b572f2035b7749cba276ece3a26630d23e (patch) | |
tree | f09feeed6a0fe39d027b1908aa63ea6b35e4b631 /vendor/windows-sys/src/Windows/Win32/Storage/Packaging/Appx/mod.rs | |
parent | Adding upstream version 1.66.0+dfsg1. (diff) | |
download | rustc-4e8199b572f2035b7749cba276ece3a26630d23e.tar.xz rustc-4e8199b572f2035b7749cba276ece3a26630d23e.zip |
Adding upstream version 1.67.1+dfsg1.upstream/1.67.1+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/Storage/Packaging/Appx/mod.rs')
-rw-r--r-- | vendor/windows-sys/src/Windows/Win32/Storage/Packaging/Appx/mod.rs | 552 |
1 files changed, 276 insertions, 276 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/Storage/Packaging/Appx/mod.rs b/vendor/windows-sys/src/Windows/Win32/Storage/Packaging/Appx/mod.rs index 8cfc35090..418f50759 100644 --- a/vendor/windows-sys/src/Windows/Win32/Storage/Packaging/Appx/mod.rs +++ b/vendor/windows-sys/src/Windows/Win32/Storage/Packaging/Appx/mod.rs @@ -1,4 +1,4 @@ -#[link(name = "windows")] +#[cfg_attr(windows, link(name = "windows"))] extern "system" { #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] pub fn ActivatePackageVirtualizationContext(context: *const PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__, cookie: *mut usize) -> ::windows_sys::core::HRESULT; @@ -179,6 +179,136 @@ extern "system" { #[cfg(feature = "Win32_Foundation")] pub fn VerifyPackageRelativeApplicationId(packagerelativeapplicationid: ::windows_sys::core::PCWSTR) -> super::super::super::Foundation::WIN32_ERROR; } +pub type IAppxBlockMapBlock = *mut ::core::ffi::c_void; +pub type IAppxBlockMapBlocksEnumerator = *mut ::core::ffi::c_void; +pub type IAppxBlockMapFile = *mut ::core::ffi::c_void; +pub type IAppxBlockMapFilesEnumerator = *mut ::core::ffi::c_void; +pub type IAppxBlockMapReader = *mut ::core::ffi::c_void; +pub type IAppxBundleFactory = *mut ::core::ffi::c_void; +pub type IAppxBundleManifestOptionalBundleInfo = *mut ::core::ffi::c_void; +pub type IAppxBundleManifestOptionalBundleInfoEnumerator = *mut ::core::ffi::c_void; +pub type IAppxBundleManifestPackageInfo = *mut ::core::ffi::c_void; +pub type IAppxBundleManifestPackageInfo2 = *mut ::core::ffi::c_void; +pub type IAppxBundleManifestPackageInfo3 = *mut ::core::ffi::c_void; +pub type IAppxBundleManifestPackageInfo4 = *mut ::core::ffi::c_void; +pub type IAppxBundleManifestPackageInfoEnumerator = *mut ::core::ffi::c_void; +pub type IAppxBundleManifestReader = *mut ::core::ffi::c_void; +pub type IAppxBundleManifestReader2 = *mut ::core::ffi::c_void; +pub type IAppxBundleReader = *mut ::core::ffi::c_void; +pub type IAppxBundleWriter = *mut ::core::ffi::c_void; +pub type IAppxBundleWriter2 = *mut ::core::ffi::c_void; +pub type IAppxBundleWriter3 = *mut ::core::ffi::c_void; +pub type IAppxBundleWriter4 = *mut ::core::ffi::c_void; +pub type IAppxContentGroup = *mut ::core::ffi::c_void; +pub type IAppxContentGroupFilesEnumerator = *mut ::core::ffi::c_void; +pub type IAppxContentGroupMapReader = *mut ::core::ffi::c_void; +pub type IAppxContentGroupMapWriter = *mut ::core::ffi::c_void; +pub type IAppxContentGroupsEnumerator = *mut ::core::ffi::c_void; +pub type IAppxEncryptedBundleWriter = *mut ::core::ffi::c_void; +pub type IAppxEncryptedBundleWriter2 = *mut ::core::ffi::c_void; +pub type IAppxEncryptedBundleWriter3 = *mut ::core::ffi::c_void; +pub type IAppxEncryptedPackageWriter = *mut ::core::ffi::c_void; +pub type IAppxEncryptedPackageWriter2 = *mut ::core::ffi::c_void; +pub type IAppxEncryptionFactory = *mut ::core::ffi::c_void; +pub type IAppxEncryptionFactory2 = *mut ::core::ffi::c_void; +pub type IAppxEncryptionFactory3 = *mut ::core::ffi::c_void; +pub type IAppxEncryptionFactory4 = *mut ::core::ffi::c_void; +pub type IAppxFactory = *mut ::core::ffi::c_void; +pub type IAppxFactory2 = *mut ::core::ffi::c_void; +pub type IAppxFile = *mut ::core::ffi::c_void; +pub type IAppxFilesEnumerator = *mut ::core::ffi::c_void; +pub type IAppxManifestApplication = *mut ::core::ffi::c_void; +pub type IAppxManifestApplicationsEnumerator = *mut ::core::ffi::c_void; +pub type IAppxManifestCapabilitiesEnumerator = *mut ::core::ffi::c_void; +pub type IAppxManifestDeviceCapabilitiesEnumerator = *mut ::core::ffi::c_void; +pub type IAppxManifestDriverConstraint = *mut ::core::ffi::c_void; +pub type IAppxManifestDriverConstraintsEnumerator = *mut ::core::ffi::c_void; +pub type IAppxManifestDriverDependenciesEnumerator = *mut ::core::ffi::c_void; +pub type IAppxManifestDriverDependency = *mut ::core::ffi::c_void; +pub type IAppxManifestHostRuntimeDependenciesEnumerator = *mut ::core::ffi::c_void; +pub type IAppxManifestHostRuntimeDependency = *mut ::core::ffi::c_void; +pub type IAppxManifestHostRuntimeDependency2 = *mut ::core::ffi::c_void; +pub type IAppxManifestMainPackageDependenciesEnumerator = *mut ::core::ffi::c_void; +pub type IAppxManifestMainPackageDependency = *mut ::core::ffi::c_void; +pub type IAppxManifestOSPackageDependenciesEnumerator = *mut ::core::ffi::c_void; +pub type IAppxManifestOSPackageDependency = *mut ::core::ffi::c_void; +pub type IAppxManifestOptionalPackageInfo = *mut ::core::ffi::c_void; +pub type IAppxManifestPackageDependenciesEnumerator = *mut ::core::ffi::c_void; +pub type IAppxManifestPackageDependency = *mut ::core::ffi::c_void; +pub type IAppxManifestPackageDependency2 = *mut ::core::ffi::c_void; +pub type IAppxManifestPackageDependency3 = *mut ::core::ffi::c_void; +pub type IAppxManifestPackageId = *mut ::core::ffi::c_void; +pub type IAppxManifestPackageId2 = *mut ::core::ffi::c_void; +pub type IAppxManifestProperties = *mut ::core::ffi::c_void; +pub type IAppxManifestQualifiedResource = *mut ::core::ffi::c_void; +pub type IAppxManifestQualifiedResourcesEnumerator = *mut ::core::ffi::c_void; +pub type IAppxManifestReader = *mut ::core::ffi::c_void; +pub type IAppxManifestReader2 = *mut ::core::ffi::c_void; +pub type IAppxManifestReader3 = *mut ::core::ffi::c_void; +pub type IAppxManifestReader4 = *mut ::core::ffi::c_void; +pub type IAppxManifestReader5 = *mut ::core::ffi::c_void; +pub type IAppxManifestReader6 = *mut ::core::ffi::c_void; +pub type IAppxManifestReader7 = *mut ::core::ffi::c_void; +pub type IAppxManifestResourcesEnumerator = *mut ::core::ffi::c_void; +pub type IAppxManifestTargetDeviceFamiliesEnumerator = *mut ::core::ffi::c_void; +pub type IAppxManifestTargetDeviceFamily = *mut ::core::ffi::c_void; +pub type IAppxPackageEditor = *mut ::core::ffi::c_void; +pub type IAppxPackageReader = *mut ::core::ffi::c_void; +pub type IAppxPackageWriter = *mut ::core::ffi::c_void; +pub type IAppxPackageWriter2 = *mut ::core::ffi::c_void; +pub type IAppxPackageWriter3 = *mut ::core::ffi::c_void; +pub type IAppxPackagingDiagnosticEventSink = *mut ::core::ffi::c_void; +pub type IAppxPackagingDiagnosticEventSinkManager = *mut ::core::ffi::c_void; +pub type IAppxSourceContentGroupMapReader = *mut ::core::ffi::c_void; +pub const AppxBundleFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 932054086, data2: 21380, data3: 17335, data4: [136, 119, 231, 219, 221, 136, 52, 70] }; +pub const AppxEncryptionFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3697692637, data2: 55400, data3: 18158, data4: [135, 128, 141, 25, 108, 183, 57, 247] }; +pub const AppxFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1480761664, data2: 65439, data3: 16742, data4: [143, 92, 98, 245, 183, 176, 199, 129] }; +pub const AppxPackageEditor: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 4026856138, data2: 44732, data3: 19213, data4: [191, 88, 229, 22, 213, 188, 192, 171] }; +pub const AppxPackagingDiagnosticEventSinkManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1355418182, data2: 5512, data3: 16737, data4: [142, 210, 239, 158, 70, 156, 237, 93] }; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PACKAGE_DEPENDENCY_RANK_DEFAULT: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PACKAGE_FILTER_ALL_LOADED: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PACKAGE_FILTER_BUNDLE: u32 = 128u32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PACKAGE_FILTER_DIRECT: u32 = 32u32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PACKAGE_FILTER_DYNAMIC: u32 = 1048576u32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PACKAGE_FILTER_HEAD: u32 = 16u32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PACKAGE_FILTER_HOSTRUNTIME: u32 = 2097152u32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PACKAGE_FILTER_IS_IN_RELATED_SET: u32 = 262144u32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PACKAGE_FILTER_OPTIONAL: u32 = 131072u32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PACKAGE_FILTER_RESOURCE: u32 = 64u32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PACKAGE_FILTER_STATIC: u32 = 524288u32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PACKAGE_INFORMATION_BASIC: u32 = 0u32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PACKAGE_INFORMATION_FULL: u32 = 256u32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PACKAGE_PROPERTY_BUNDLE: u32 = 4u32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PACKAGE_PROPERTY_DEVELOPMENT_MODE: u32 = 65536u32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PACKAGE_PROPERTY_DYNAMIC: u32 = 1048576u32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PACKAGE_PROPERTY_FRAMEWORK: u32 = 1u32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PACKAGE_PROPERTY_HOSTRUNTIME: u32 = 2097152u32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PACKAGE_PROPERTY_IS_IN_RELATED_SET: u32 = 262144u32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PACKAGE_PROPERTY_OPTIONAL: u32 = 8u32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PACKAGE_PROPERTY_RESOURCE: u32 = 2u32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PACKAGE_PROPERTY_STATIC: u32 = 524288u32; #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] pub type APPX_BUNDLE_FOOTPRINT_FILE_TYPE = i32; #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] @@ -249,18 +379,6 @@ pub const APPX_COMPRESSION_OPTION_MAXIMUM: APPX_COMPRESSION_OPTION = 2i32; pub const APPX_COMPRESSION_OPTION_FAST: APPX_COMPRESSION_OPTION = 3i32; #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] pub const APPX_COMPRESSION_OPTION_SUPERFAST: APPX_COMPRESSION_OPTION = 4i32; -#[repr(C)] -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub struct APPX_ENCRYPTED_EXEMPTIONS { - pub count: u32, - pub plainTextFiles: *mut ::windows_sys::core::PWSTR, -} -impl ::core::marker::Copy for APPX_ENCRYPTED_EXEMPTIONS {} -impl ::core::clone::Clone for APPX_ENCRYPTED_EXEMPTIONS { - fn clone(&self) -> Self { - *self - } -} #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] pub type APPX_ENCRYPTED_PACKAGE_OPTIONS = u32; #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] @@ -269,40 +387,6 @@ pub const APPX_ENCRYPTED_PACKAGE_OPTION_NONE: APPX_ENCRYPTED_PACKAGE_OPTIONS = 0 pub const APPX_ENCRYPTED_PACKAGE_OPTION_DIFFUSION: APPX_ENCRYPTED_PACKAGE_OPTIONS = 1u32; #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] pub const APPX_ENCRYPTED_PACKAGE_OPTION_PAGE_HASHING: APPX_ENCRYPTED_PACKAGE_OPTIONS = 2u32; -#[repr(C)] -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -pub struct APPX_ENCRYPTED_PACKAGE_SETTINGS { - pub keyLength: u32, - pub encryptionAlgorithm: ::windows_sys::core::PCWSTR, - pub useDiffusion: super::super::super::Foundation::BOOL, - pub blockMapHashAlgorithm: super::super::super::System::Com::IUri, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl ::core::marker::Copy for APPX_ENCRYPTED_PACKAGE_SETTINGS {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl ::core::clone::Clone for APPX_ENCRYPTED_PACKAGE_SETTINGS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -pub struct APPX_ENCRYPTED_PACKAGE_SETTINGS2 { - pub keyLength: u32, - pub encryptionAlgorithm: ::windows_sys::core::PCWSTR, - pub blockMapHashAlgorithm: super::super::super::System::Com::IUri, - pub options: u32, -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::marker::Copy for APPX_ENCRYPTED_PACKAGE_SETTINGS2 {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for APPX_ENCRYPTED_PACKAGE_SETTINGS2 { - fn clone(&self) -> Self { - *self - } -} #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] pub type APPX_FOOTPRINT_FILE_TYPE = i32; #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] @@ -315,20 +399,6 @@ pub const APPX_FOOTPRINT_FILE_TYPE_SIGNATURE: APPX_FOOTPRINT_FILE_TYPE = 2i32; pub const APPX_FOOTPRINT_FILE_TYPE_CODEINTEGRITY: APPX_FOOTPRINT_FILE_TYPE = 3i32; #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] pub const APPX_FOOTPRINT_FILE_TYPE_CONTENTGROUPMAP: APPX_FOOTPRINT_FILE_TYPE = 4i32; -#[repr(C)] -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub struct APPX_KEY_INFO { - pub keyLength: u32, - pub keyIdLength: u32, - pub key: *mut u8, - pub keyId: *mut u8, -} -impl ::core::marker::Copy for APPX_KEY_INFO {} -impl ::core::clone::Clone for APPX_KEY_INFO { - fn clone(&self) -> Self { - *self - } -} #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] pub type APPX_PACKAGE_ARCHITECTURE = i32; #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] @@ -369,38 +439,6 @@ pub const APPX_PACKAGE_EDITOR_UPDATE_PACKAGE_MANIFEST_OPTION_LOCALIZED: APPX_PAC pub type APPX_PACKAGE_EDITOR_UPDATE_PACKAGE_OPTION = i32; #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] pub const APPX_PACKAGE_EDITOR_UPDATE_PACKAGE_OPTION_APPEND_DELTA: APPX_PACKAGE_EDITOR_UPDATE_PACKAGE_OPTION = 0i32; -#[repr(C)] -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -pub struct APPX_PACKAGE_SETTINGS { - pub forceZip32: super::super::super::Foundation::BOOL, - pub hashMethod: super::super::super::System::Com::IUri, -} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl ::core::marker::Copy for APPX_PACKAGE_SETTINGS {} -#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] -impl ::core::clone::Clone for APPX_PACKAGE_SETTINGS { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`*"] -#[cfg(feature = "Win32_System_Com")] -pub struct APPX_PACKAGE_WRITER_PAYLOAD_STREAM { - pub inputStream: super::super::super::System::Com::IStream, - pub fileName: ::windows_sys::core::PCWSTR, - pub contentType: ::windows_sys::core::PCWSTR, - pub compressionOption: APPX_COMPRESSION_OPTION, -} -#[cfg(feature = "Win32_System_Com")] -impl ::core::marker::Copy for APPX_PACKAGE_WRITER_PAYLOAD_STREAM {} -#[cfg(feature = "Win32_System_Com")] -impl ::core::clone::Clone for APPX_PACKAGE_WRITER_PAYLOAD_STREAM { - fn clone(&self) -> Self { - *self - } -} #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] pub type APPX_PACKAGING_CONTEXT_CHANGE_TYPE = i32; #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] @@ -473,11 +511,6 @@ pub const AppPolicyWindowingModel_Universal: AppPolicyWindowingModel = 1i32; pub const AppPolicyWindowingModel_ClassicDesktop: AppPolicyWindowingModel = 2i32; #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] pub const AppPolicyWindowingModel_ClassicPhone: AppPolicyWindowingModel = 3i32; -pub const AppxBundleFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 932054086, data2: 21380, data3: 17335, data4: [136, 119, 231, 219, 221, 136, 52, 70] }; -pub const AppxEncryptionFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3697692637, data2: 55400, data3: 18158, data4: [135, 128, 141, 25, 108, 183, 57, 247] }; -pub const AppxFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1480761664, data2: 65439, data3: 16742, data4: [143, 92, 98, 245, 183, 176, 199, 129] }; -pub const AppxPackageEditor: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 4026856138, data2: 44732, data3: 19213, data4: [191, 88, 229, 22, 213, 188, 192, 171] }; -pub const AppxPackagingDiagnosticEventSinkManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1355418182, data2: 5512, data3: 16737, data4: [142, 210, 239, 158, 70, 156, 237, 93] }; #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] pub type CreatePackageDependencyOptions = i32; #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] @@ -496,120 +529,163 @@ pub const DX_FEATURE_LEVEL_9: DX_FEATURE_LEVEL = 1i32; pub const DX_FEATURE_LEVEL_10: DX_FEATURE_LEVEL = 2i32; #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] pub const DX_FEATURE_LEVEL_11: DX_FEATURE_LEVEL = 3i32; -pub type IAppxBlockMapBlock = *mut ::core::ffi::c_void; -pub type IAppxBlockMapBlocksEnumerator = *mut ::core::ffi::c_void; -pub type IAppxBlockMapFile = *mut ::core::ffi::c_void; -pub type IAppxBlockMapFilesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxBlockMapReader = *mut ::core::ffi::c_void; -pub type IAppxBundleFactory = *mut ::core::ffi::c_void; -pub type IAppxBundleManifestOptionalBundleInfo = *mut ::core::ffi::c_void; -pub type IAppxBundleManifestOptionalBundleInfoEnumerator = *mut ::core::ffi::c_void; -pub type IAppxBundleManifestPackageInfo = *mut ::core::ffi::c_void; -pub type IAppxBundleManifestPackageInfo2 = *mut ::core::ffi::c_void; -pub type IAppxBundleManifestPackageInfo3 = *mut ::core::ffi::c_void; -pub type IAppxBundleManifestPackageInfo4 = *mut ::core::ffi::c_void; -pub type IAppxBundleManifestPackageInfoEnumerator = *mut ::core::ffi::c_void; -pub type IAppxBundleManifestReader = *mut ::core::ffi::c_void; -pub type IAppxBundleManifestReader2 = *mut ::core::ffi::c_void; -pub type IAppxBundleReader = *mut ::core::ffi::c_void; -pub type IAppxBundleWriter = *mut ::core::ffi::c_void; -pub type IAppxBundleWriter2 = *mut ::core::ffi::c_void; -pub type IAppxBundleWriter3 = *mut ::core::ffi::c_void; -pub type IAppxBundleWriter4 = *mut ::core::ffi::c_void; -pub type IAppxContentGroup = *mut ::core::ffi::c_void; -pub type IAppxContentGroupFilesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxContentGroupMapReader = *mut ::core::ffi::c_void; -pub type IAppxContentGroupMapWriter = *mut ::core::ffi::c_void; -pub type IAppxContentGroupsEnumerator = *mut ::core::ffi::c_void; -pub type IAppxEncryptedBundleWriter = *mut ::core::ffi::c_void; -pub type IAppxEncryptedBundleWriter2 = *mut ::core::ffi::c_void; -pub type IAppxEncryptedBundleWriter3 = *mut ::core::ffi::c_void; -pub type IAppxEncryptedPackageWriter = *mut ::core::ffi::c_void; -pub type IAppxEncryptedPackageWriter2 = *mut ::core::ffi::c_void; -pub type IAppxEncryptionFactory = *mut ::core::ffi::c_void; -pub type IAppxEncryptionFactory2 = *mut ::core::ffi::c_void; -pub type IAppxEncryptionFactory3 = *mut ::core::ffi::c_void; -pub type IAppxEncryptionFactory4 = *mut ::core::ffi::c_void; -pub type IAppxFactory = *mut ::core::ffi::c_void; -pub type IAppxFactory2 = *mut ::core::ffi::c_void; -pub type IAppxFile = *mut ::core::ffi::c_void; -pub type IAppxFilesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestApplication = *mut ::core::ffi::c_void; -pub type IAppxManifestApplicationsEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestCapabilitiesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestDeviceCapabilitiesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestDriverConstraint = *mut ::core::ffi::c_void; -pub type IAppxManifestDriverConstraintsEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestDriverDependenciesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestDriverDependency = *mut ::core::ffi::c_void; -pub type IAppxManifestHostRuntimeDependenciesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestHostRuntimeDependency = *mut ::core::ffi::c_void; -pub type IAppxManifestHostRuntimeDependency2 = *mut ::core::ffi::c_void; -pub type IAppxManifestMainPackageDependenciesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestMainPackageDependency = *mut ::core::ffi::c_void; -pub type IAppxManifestOSPackageDependenciesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestOSPackageDependency = *mut ::core::ffi::c_void; -pub type IAppxManifestOptionalPackageInfo = *mut ::core::ffi::c_void; -pub type IAppxManifestPackageDependenciesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestPackageDependency = *mut ::core::ffi::c_void; -pub type IAppxManifestPackageDependency2 = *mut ::core::ffi::c_void; -pub type IAppxManifestPackageDependency3 = *mut ::core::ffi::c_void; -pub type IAppxManifestPackageId = *mut ::core::ffi::c_void; -pub type IAppxManifestPackageId2 = *mut ::core::ffi::c_void; -pub type IAppxManifestProperties = *mut ::core::ffi::c_void; -pub type IAppxManifestQualifiedResource = *mut ::core::ffi::c_void; -pub type IAppxManifestQualifiedResourcesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestReader = *mut ::core::ffi::c_void; -pub type IAppxManifestReader2 = *mut ::core::ffi::c_void; -pub type IAppxManifestReader3 = *mut ::core::ffi::c_void; -pub type IAppxManifestReader4 = *mut ::core::ffi::c_void; -pub type IAppxManifestReader5 = *mut ::core::ffi::c_void; -pub type IAppxManifestReader6 = *mut ::core::ffi::c_void; -pub type IAppxManifestReader7 = *mut ::core::ffi::c_void; -pub type IAppxManifestResourcesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestTargetDeviceFamiliesEnumerator = *mut ::core::ffi::c_void; -pub type IAppxManifestTargetDeviceFamily = *mut ::core::ffi::c_void; -pub type IAppxPackageEditor = *mut ::core::ffi::c_void; -pub type IAppxPackageReader = *mut ::core::ffi::c_void; -pub type IAppxPackageWriter = *mut ::core::ffi::c_void; -pub type IAppxPackageWriter2 = *mut ::core::ffi::c_void; -pub type IAppxPackageWriter3 = *mut ::core::ffi::c_void; -pub type IAppxPackagingDiagnosticEventSink = *mut ::core::ffi::c_void; -pub type IAppxPackagingDiagnosticEventSinkManager = *mut ::core::ffi::c_void; -pub type IAppxSourceContentGroupMapReader = *mut ::core::ffi::c_void; -#[repr(C)] #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub struct PACKAGEDEPENDENCY_CONTEXT__ { - pub unused: i32, -} -impl ::core::marker::Copy for PACKAGEDEPENDENCY_CONTEXT__ {} -impl ::core::clone::Clone for PACKAGEDEPENDENCY_CONTEXT__ { - fn clone(&self) -> Self { - *self - } -} +pub type PackageDependencyLifetimeKind = i32; #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PACKAGE_DEPENDENCY_RANK_DEFAULT: u32 = 0u32; +pub const PackageDependencyLifetimeKind_Process: PackageDependencyLifetimeKind = 0i32; #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PACKAGE_FILTER_ALL_LOADED: u32 = 0u32; +pub const PackageDependencyLifetimeKind_FilePath: PackageDependencyLifetimeKind = 1i32; #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PACKAGE_FILTER_BUNDLE: u32 = 128u32; +pub const PackageDependencyLifetimeKind_RegistryKey: PackageDependencyLifetimeKind = 2i32; #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PACKAGE_FILTER_DIRECT: u32 = 32u32; +pub type PackageDependencyProcessorArchitectures = i32; #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PACKAGE_FILTER_DYNAMIC: u32 = 1048576u32; +pub const PackageDependencyProcessorArchitectures_None: PackageDependencyProcessorArchitectures = 0i32; #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PACKAGE_FILTER_HEAD: u32 = 16u32; +pub const PackageDependencyProcessorArchitectures_Neutral: PackageDependencyProcessorArchitectures = 1i32; #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PACKAGE_FILTER_HOSTRUNTIME: u32 = 2097152u32; +pub const PackageDependencyProcessorArchitectures_X86: PackageDependencyProcessorArchitectures = 2i32; #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PACKAGE_FILTER_IS_IN_RELATED_SET: u32 = 262144u32; +pub const PackageDependencyProcessorArchitectures_X64: PackageDependencyProcessorArchitectures = 4i32; #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PACKAGE_FILTER_OPTIONAL: u32 = 131072u32; +pub const PackageDependencyProcessorArchitectures_Arm: PackageDependencyProcessorArchitectures = 8i32; #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PACKAGE_FILTER_RESOURCE: u32 = 64u32; +pub const PackageDependencyProcessorArchitectures_Arm64: PackageDependencyProcessorArchitectures = 16i32; #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PACKAGE_FILTER_STATIC: u32 = 524288u32; +pub const PackageDependencyProcessorArchitectures_X86A64: PackageDependencyProcessorArchitectures = 32i32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub type PackageOrigin = i32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PackageOrigin_Unknown: PackageOrigin = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PackageOrigin_Unsigned: PackageOrigin = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PackageOrigin_Inbox: PackageOrigin = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PackageOrigin_Store: PackageOrigin = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PackageOrigin_DeveloperUnsigned: PackageOrigin = 4i32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PackageOrigin_DeveloperSigned: PackageOrigin = 5i32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PackageOrigin_LineOfBusiness: PackageOrigin = 6i32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub type PackagePathType = i32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PackagePathType_Install: PackagePathType = 0i32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PackagePathType_Mutable: PackagePathType = 1i32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PackagePathType_Effective: PackagePathType = 2i32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PackagePathType_MachineExternal: PackagePathType = 3i32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PackagePathType_UserExternal: PackagePathType = 4i32; +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub const PackagePathType_EffectiveExternal: PackagePathType = 5i32; +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub struct APPX_ENCRYPTED_EXEMPTIONS { + pub count: u32, + pub plainTextFiles: *mut ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for APPX_ENCRYPTED_EXEMPTIONS {} +impl ::core::clone::Clone for APPX_ENCRYPTED_EXEMPTIONS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] +pub struct APPX_ENCRYPTED_PACKAGE_SETTINGS { + pub keyLength: u32, + pub encryptionAlgorithm: ::windows_sys::core::PCWSTR, + pub useDiffusion: super::super::super::Foundation::BOOL, + pub blockMapHashAlgorithm: super::super::super::System::Com::IUri, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] +impl ::core::marker::Copy for APPX_ENCRYPTED_PACKAGE_SETTINGS {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] +impl ::core::clone::Clone for APPX_ENCRYPTED_PACKAGE_SETTINGS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`*"] +#[cfg(feature = "Win32_System_Com")] +pub struct APPX_ENCRYPTED_PACKAGE_SETTINGS2 { + pub keyLength: u32, + pub encryptionAlgorithm: ::windows_sys::core::PCWSTR, + pub blockMapHashAlgorithm: super::super::super::System::Com::IUri, + pub options: u32, +} +#[cfg(feature = "Win32_System_Com")] +impl ::core::marker::Copy for APPX_ENCRYPTED_PACKAGE_SETTINGS2 {} +#[cfg(feature = "Win32_System_Com")] +impl ::core::clone::Clone for APPX_ENCRYPTED_PACKAGE_SETTINGS2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub struct APPX_KEY_INFO { + pub keyLength: u32, + pub keyIdLength: u32, + pub key: *mut u8, + pub keyId: *mut u8, +} +impl ::core::marker::Copy for APPX_KEY_INFO {} +impl ::core::clone::Clone for APPX_KEY_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] +pub struct APPX_PACKAGE_SETTINGS { + pub forceZip32: super::super::super::Foundation::BOOL, + pub hashMethod: super::super::super::System::Com::IUri, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] +impl ::core::marker::Copy for APPX_PACKAGE_SETTINGS {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com"))] +impl ::core::clone::Clone for APPX_PACKAGE_SETTINGS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`*"] +#[cfg(feature = "Win32_System_Com")] +pub struct APPX_PACKAGE_WRITER_PAYLOAD_STREAM { + pub inputStream: super::super::super::System::Com::IStream, + pub fileName: ::windows_sys::core::PCWSTR, + pub contentType: ::windows_sys::core::PCWSTR, + pub compressionOption: APPX_COMPRESSION_OPTION, +} +#[cfg(feature = "Win32_System_Com")] +impl ::core::marker::Copy for APPX_PACKAGE_WRITER_PAYLOAD_STREAM {} +#[cfg(feature = "Win32_System_Com")] +impl ::core::clone::Clone for APPX_PACKAGE_WRITER_PAYLOAD_STREAM { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] +pub struct PACKAGEDEPENDENCY_CONTEXT__ { + pub unused: i32, +} +impl ::core::marker::Copy for PACKAGEDEPENDENCY_CONTEXT__ {} +impl ::core::clone::Clone for PACKAGEDEPENDENCY_CONTEXT__ { + fn clone(&self) -> Self { + *self + } +} #[repr(C, packed(4))] #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] pub struct PACKAGE_ID { @@ -643,28 +719,6 @@ impl ::core::clone::Clone for PACKAGE_INFO { *self } } -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PACKAGE_INFORMATION_BASIC: u32 = 0u32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PACKAGE_INFORMATION_FULL: u32 = 256u32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PACKAGE_PROPERTY_BUNDLE: u32 = 4u32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PACKAGE_PROPERTY_DEVELOPMENT_MODE: u32 = 65536u32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PACKAGE_PROPERTY_DYNAMIC: u32 = 1048576u32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PACKAGE_PROPERTY_FRAMEWORK: u32 = 1u32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PACKAGE_PROPERTY_HOSTRUNTIME: u32 = 2097152u32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PACKAGE_PROPERTY_IS_IN_RELATED_SET: u32 = 262144u32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PACKAGE_PROPERTY_OPTIONAL: u32 = 8u32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PACKAGE_PROPERTY_RESOURCE: u32 = 2u32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PACKAGE_PROPERTY_STATIC: u32 = 524288u32; #[repr(C)] #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] pub struct PACKAGE_VERSION { @@ -713,60 +767,6 @@ impl ::core::clone::Clone for PACKAGE_VIRTUALIZATION_CONTEXT_HANDLE__ { *self } } -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub type PackageDependencyLifetimeKind = i32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PackageDependencyLifetimeKind_Process: PackageDependencyLifetimeKind = 0i32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PackageDependencyLifetimeKind_FilePath: PackageDependencyLifetimeKind = 1i32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PackageDependencyLifetimeKind_RegistryKey: PackageDependencyLifetimeKind = 2i32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub type PackageDependencyProcessorArchitectures = i32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PackageDependencyProcessorArchitectures_None: PackageDependencyProcessorArchitectures = 0i32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PackageDependencyProcessorArchitectures_Neutral: PackageDependencyProcessorArchitectures = 1i32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PackageDependencyProcessorArchitectures_X86: PackageDependencyProcessorArchitectures = 2i32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PackageDependencyProcessorArchitectures_X64: PackageDependencyProcessorArchitectures = 4i32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PackageDependencyProcessorArchitectures_Arm: PackageDependencyProcessorArchitectures = 8i32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PackageDependencyProcessorArchitectures_Arm64: PackageDependencyProcessorArchitectures = 16i32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PackageDependencyProcessorArchitectures_X86A64: PackageDependencyProcessorArchitectures = 32i32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub type PackageOrigin = i32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PackageOrigin_Unknown: PackageOrigin = 0i32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PackageOrigin_Unsigned: PackageOrigin = 1i32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PackageOrigin_Inbox: PackageOrigin = 2i32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PackageOrigin_Store: PackageOrigin = 3i32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PackageOrigin_DeveloperUnsigned: PackageOrigin = 4i32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PackageOrigin_DeveloperSigned: PackageOrigin = 5i32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PackageOrigin_LineOfBusiness: PackageOrigin = 6i32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub type PackagePathType = i32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PackagePathType_Install: PackagePathType = 0i32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PackagePathType_Mutable: PackagePathType = 1i32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PackagePathType_Effective: PackagePathType = 2i32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PackagePathType_MachineExternal: PackagePathType = 3i32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PackagePathType_UserExternal: PackagePathType = 4i32; -#[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] -pub const PackagePathType_EffectiveExternal: PackagePathType = 5i32; #[repr(C)] #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`*"] pub struct _PACKAGE_INFO_REFERENCE { |