summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Devices/Lights/mod.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
commit698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch)
tree173a775858bd501c378080a10dca74132f05bc50 /vendor/windows-sys/src/Windows/Devices/Lights/mod.rs
parentInitial commit. (diff)
downloadrustc-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 'vendor/windows-sys/src/Windows/Devices/Lights/mod.rs')
-rw-r--r--vendor/windows-sys/src/Windows/Devices/Lights/mod.rs46
1 files changed, 46 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Devices/Lights/mod.rs b/vendor/windows-sys/src/Windows/Devices/Lights/mod.rs
new file mode 100644
index 000000000..443d2eb75
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Devices/Lights/mod.rs
@@ -0,0 +1,46 @@
+#[cfg(feature = "Devices_Lights_Effects")]
+pub mod Effects;
+pub type Lamp = *mut ::core::ffi::c_void;
+pub type LampArray = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Devices_Lights\"`*"]
+#[repr(transparent)]
+pub struct LampArrayKind(pub i32);
+impl LampArrayKind {
+ pub const Undefined: Self = Self(0i32);
+ pub const Keyboard: Self = Self(1i32);
+ pub const Mouse: Self = Self(2i32);
+ pub const GameController: Self = Self(3i32);
+ pub const Peripheral: Self = Self(4i32);
+ pub const Scene: Self = Self(5i32);
+ pub const Notification: Self = Self(6i32);
+ pub const Chassis: Self = Self(7i32);
+ pub const Wearable: Self = Self(8i32);
+ pub const Furniture: Self = Self(9i32);
+ pub const Art: Self = Self(10i32);
+}
+impl ::core::marker::Copy for LampArrayKind {}
+impl ::core::clone::Clone for LampArrayKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type LampAvailabilityChangedEventArgs = *mut ::core::ffi::c_void;
+pub type LampInfo = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Devices_Lights\"`*"]
+#[repr(transparent)]
+pub struct LampPurposes(pub u32);
+impl LampPurposes {
+ pub const Undefined: Self = Self(0u32);
+ pub const Control: Self = Self(1u32);
+ pub const Accent: Self = Self(2u32);
+ pub const Branding: Self = Self(4u32);
+ pub const Status: Self = Self(8u32);
+ pub const Illumination: Self = Self(16u32);
+ pub const Presentation: Self = Self(32u32);
+}
+impl ::core::marker::Copy for LampPurposes {}
+impl ::core::clone::Clone for LampPurposes {
+ fn clone(&self) -> Self {
+ *self
+ }
+}