]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs
New upstream version 1.66.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Gaming / Preview / GamesEnumeration / mod.rs
CommitLineData
04454e1e 1#[doc = "*Required features: `\"Gaming_Preview_GamesEnumeration\"`*"]
5e7ed085
FG
2#[repr(transparent)]
3pub struct GameListCategory(pub i32);
4impl GameListCategory {
5 pub const Candidate: Self = Self(0i32);
6 pub const ConfirmedBySystem: Self = Self(1i32);
7 pub const ConfirmedByUser: Self = Self(2i32);
8}
9impl ::core::marker::Copy for GameListCategory {}
10impl ::core::clone::Clone for GameListCategory {
11 fn clone(&self) -> Self {
12 *self
13 }
14}
15pub type GameListChangedEventHandler = *mut ::core::ffi::c_void;
16pub type GameListEntry = *mut ::core::ffi::c_void;
04454e1e 17#[doc = "*Required features: `\"Gaming_Preview_GamesEnumeration\"`*"]
5e7ed085
FG
18#[repr(transparent)]
19pub struct GameListEntryLaunchableState(pub i32);
20impl GameListEntryLaunchableState {
21 pub const NotLaunchable: Self = Self(0i32);
22 pub const ByLastRunningFullPath: Self = Self(1i32);
23 pub const ByUserProvidedPath: Self = Self(2i32);
24 pub const ByTile: Self = Self(3i32);
25}
26impl ::core::marker::Copy for GameListEntryLaunchableState {}
27impl ::core::clone::Clone for GameListEntryLaunchableState {
28 fn clone(&self) -> Self {
29 *self
30 }
31}
32pub type GameListRemovedEventHandler = *mut ::core::ffi::c_void;
33pub type GameModeConfiguration = *mut ::core::ffi::c_void;
34pub type GameModeUserConfiguration = *mut ::core::ffi::c_void;
35pub type IGameListEntry = *mut ::core::ffi::c_void;