diff options
Diffstat (limited to 'vendor/windows-sys/src/Windows/Phone/System/UserProfile')
3 files changed, 33 insertions, 0 deletions
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; |