]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Gaming/UI/mod.rs
New upstream version 1.61.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Gaming / UI / mod.rs
1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 #[doc = "*Required features: 'Gaming_UI'*"]
3 #[repr(transparent)]
4 pub struct GameChatMessageOrigin(pub i32);
5 impl GameChatMessageOrigin {
6 pub const Voice: Self = Self(0i32);
7 pub const Text: Self = Self(1i32);
8 }
9 impl ::core::marker::Copy for GameChatMessageOrigin {}
10 impl ::core::clone::Clone for GameChatMessageOrigin {
11 fn clone(&self) -> Self {
12 *self
13 }
14 }
15 pub type GameChatMessageReceivedEventArgs = *mut ::core::ffi::c_void;
16 pub type GameChatOverlay = *mut ::core::ffi::c_void;
17 pub type GameChatOverlayMessageSource = *mut ::core::ffi::c_void;
18 #[doc = "*Required features: 'Gaming_UI'*"]
19 #[repr(transparent)]
20 pub struct GameChatOverlayPosition(pub i32);
21 impl GameChatOverlayPosition {
22 pub const BottomCenter: Self = Self(0i32);
23 pub const BottomLeft: Self = Self(1i32);
24 pub const BottomRight: Self = Self(2i32);
25 pub const MiddleRight: Self = Self(3i32);
26 pub const MiddleLeft: Self = Self(4i32);
27 pub const TopCenter: Self = Self(5i32);
28 pub const TopLeft: Self = Self(6i32);
29 pub const TopRight: Self = Self(7i32);
30 }
31 impl ::core::marker::Copy for GameChatOverlayPosition {}
32 impl ::core::clone::Clone for GameChatOverlayPosition {
33 fn clone(&self) -> Self {
34 *self
35 }
36 }
37 pub type GameUIProviderActivatedEventArgs = *mut ::core::ffi::c_void;