diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:02:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 12:02:58 +0000 |
commit | 698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch) | |
tree | 173a775858bd501c378080a10dca74132f05bc50 /vendor/windows-sys/src/Windows/ApplicationModel/Resources | |
parent | Initial commit. (diff) | |
download | rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.tar.xz rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.zip |
Adding upstream version 1.64.0+dfsg1.upstream/1.64.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
3 files changed, 78 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Resources/Core/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Resources/Core/mod.rs new file mode 100644 index 000000000..35d3cd74b --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Resources/Core/mod.rs @@ -0,0 +1,56 @@ +pub type NamedResource = *mut ::core::ffi::c_void; +pub type ResourceCandidate = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Resources_Core\"`*"] +#[repr(transparent)] +pub struct ResourceCandidateKind(pub i32); +impl ResourceCandidateKind { + pub const String: Self = Self(0i32); + pub const File: Self = Self(1i32); + pub const EmbeddedData: Self = Self(2i32); +} +impl ::core::marker::Copy for ResourceCandidateKind {} +impl ::core::clone::Clone for ResourceCandidateKind { + fn clone(&self) -> Self { + *self + } +} +pub type ResourceCandidateVectorView = *mut ::core::ffi::c_void; +pub type ResourceContext = *mut ::core::ffi::c_void; +pub type ResourceContextLanguagesVectorView = *mut ::core::ffi::c_void; +#[repr(C)] +#[doc = "*Required features: `\"ApplicationModel_Resources_Core\"`*"] +pub struct ResourceLayoutInfo { + pub MajorVersion: u32, + pub MinorVersion: u32, + pub ResourceSubtreeCount: u32, + pub NamedResourceCount: u32, + pub Checksum: i32, +} +impl ::core::marker::Copy for ResourceLayoutInfo {} +impl ::core::clone::Clone for ResourceLayoutInfo { + fn clone(&self) -> Self { + *self + } +} +pub type ResourceManager = *mut ::core::ffi::c_void; +pub type ResourceMap = *mut ::core::ffi::c_void; +pub type ResourceMapIterator = *mut ::core::ffi::c_void; +pub type ResourceMapMapView = *mut ::core::ffi::c_void; +pub type ResourceMapMapViewIterator = *mut ::core::ffi::c_void; +pub type ResourceQualifier = *mut ::core::ffi::c_void; +pub type ResourceQualifierMapView = *mut ::core::ffi::c_void; +pub type ResourceQualifierObservableMap = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Resources_Core\"`*"] +#[repr(transparent)] +pub struct ResourceQualifierPersistence(pub i32); +impl ResourceQualifierPersistence { + pub const None: Self = Self(0i32); + pub const LocalMachine: Self = Self(1i32); +} +impl ::core::marker::Copy for ResourceQualifierPersistence {} +impl ::core::clone::Clone for ResourceQualifierPersistence { + fn clone(&self) -> Self { + *self + } +} +pub type ResourceQualifierVectorView = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Resources/Management/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Resources/Management/mod.rs new file mode 100644 index 000000000..7f4e312ed --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Resources/Management/mod.rs @@ -0,0 +1,17 @@ +pub type IndexedResourceCandidate = *mut ::core::ffi::c_void; +pub type IndexedResourceQualifier = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Resources_Management\"`*"] +#[repr(transparent)] +pub struct IndexedResourceType(pub i32); +impl IndexedResourceType { + pub const String: Self = Self(0i32); + pub const Path: Self = Self(1i32); + pub const EmbeddedData: Self = Self(2i32); +} +impl ::core::marker::Copy for IndexedResourceType {} +impl ::core::clone::Clone for IndexedResourceType { + fn clone(&self) -> Self { + *self + } +} +pub type ResourceIndexer = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Resources/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Resources/mod.rs new file mode 100644 index 000000000..649a7f9b1 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Resources/mod.rs @@ -0,0 +1,5 @@ +#[cfg(feature = "ApplicationModel_Resources_Core")] +pub mod Core; +#[cfg(feature = "ApplicationModel_Resources_Management")] +pub mod Management; +pub type ResourceLoader = *mut ::core::ffi::c_void; |