summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Phone/System
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/Phone/System
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/Phone/System')
-rw-r--r--vendor/windows-sys/src/Windows/Phone/System/Power/mod.rs13
-rw-r--r--vendor/windows-sys/src/Windows/Phone/System/Profile/mod.rs1
-rw-r--r--vendor/windows-sys/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs29
-rw-r--r--vendor/windows-sys/src/Windows/Phone/System/UserProfile/GameServices/mod.rs2
-rw-r--r--vendor/windows-sys/src/Windows/Phone/System/UserProfile/mod.rs2
-rw-r--r--vendor/windows-sys/src/Windows/Phone/System/mod.rs6
6 files changed, 53 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Phone/System/Power/mod.rs b/vendor/windows-sys/src/Windows/Phone/System/Power/mod.rs
new file mode 100644
index 000000000..cd814efe8
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Phone/System/Power/mod.rs
@@ -0,0 +1,13 @@
+#[doc = "*Required features: `\"Phone_System_Power\"`*"]
+#[repr(transparent)]
+pub struct PowerSavingMode(pub i32);
+impl PowerSavingMode {
+ pub const Off: Self = Self(0i32);
+ pub const On: Self = Self(1i32);
+}
+impl ::core::marker::Copy for PowerSavingMode {}
+impl ::core::clone::Clone for PowerSavingMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
diff --git a/vendor/windows-sys/src/Windows/Phone/System/Profile/mod.rs b/vendor/windows-sys/src/Windows/Phone/System/Profile/mod.rs
new file mode 100644
index 000000000..8b1378917
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Phone/System/Profile/mod.rs
@@ -0,0 +1 @@
+
diff --git a/vendor/windows-sys/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs b/vendor/windows-sys/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs
new file mode 100644
index 000000000..a2aacc92a
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs
@@ -0,0 +1,29 @@
+#[doc = "*Required features: `\"Phone_System_UserProfile_GameServices_Core\"`*"]
+#[repr(transparent)]
+pub struct GameServiceGameOutcome(pub i32);
+impl GameServiceGameOutcome {
+ pub const None: Self = Self(0i32);
+ pub const Win: Self = Self(1i32);
+ pub const Loss: Self = Self(2i32);
+ pub const Tie: Self = Self(3i32);
+}
+impl ::core::marker::Copy for GameServiceGameOutcome {}
+impl ::core::clone::Clone for GameServiceGameOutcome {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type GameServicePropertyCollection = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Phone_System_UserProfile_GameServices_Core\"`*"]
+#[repr(transparent)]
+pub struct GameServiceScoreKind(pub i32);
+impl GameServiceScoreKind {
+ pub const Number: Self = Self(0i32);
+ pub const Time: Self = Self(1i32);
+}
+impl ::core::marker::Copy for GameServiceScoreKind {}
+impl ::core::clone::Clone for GameServiceScoreKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
diff --git a/vendor/windows-sys/src/Windows/Phone/System/UserProfile/GameServices/mod.rs b/vendor/windows-sys/src/Windows/Phone/System/UserProfile/GameServices/mod.rs
new file mode 100644
index 000000000..44d33c779
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Phone/System/UserProfile/GameServices/mod.rs
@@ -0,0 +1,2 @@
+#[cfg(feature = "Phone_System_UserProfile_GameServices_Core")]
+pub mod Core;
diff --git a/vendor/windows-sys/src/Windows/Phone/System/UserProfile/mod.rs b/vendor/windows-sys/src/Windows/Phone/System/UserProfile/mod.rs
new file mode 100644
index 000000000..51cb3bde1
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Phone/System/UserProfile/mod.rs
@@ -0,0 +1,2 @@
+#[cfg(feature = "Phone_System_UserProfile_GameServices")]
+pub mod GameServices;
diff --git a/vendor/windows-sys/src/Windows/Phone/System/mod.rs b/vendor/windows-sys/src/Windows/Phone/System/mod.rs
new file mode 100644
index 000000000..c7fe0efcd
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Phone/System/mod.rs
@@ -0,0 +1,6 @@
+#[cfg(feature = "Phone_System_Power")]
+pub mod Power;
+#[cfg(feature = "Phone_System_Profile")]
+pub mod Profile;
+#[cfg(feature = "Phone_System_UserProfile")]
+pub mod UserProfile;