]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys-0.28.0/src/Windows/Gaming/UI/mod.rs
New upstream version 1.64.0+dfsg1
[rustc.git] / vendor / windows-sys-0.28.0 / 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 #[link(name = "windows")]
3 extern "system" {}
4 #[repr(transparent)]
5 pub struct GameChatMessageOrigin(pub i32);
6 impl GameChatMessageOrigin {
7 pub const Voice: Self = Self(0i32);
8 pub const Text: Self = Self(1i32);
9 }
10 impl ::core::marker::Copy for GameChatMessageOrigin {}
11 impl ::core::clone::Clone for GameChatMessageOrigin {
12 fn clone(&self) -> Self {
13 *self
14 }
15 }
16 pub type GameChatMessageReceivedEventArgs = *mut ::core::ffi::c_void;
17 pub type GameChatOverlay = *mut ::core::ffi::c_void;
18 pub type GameChatOverlayMessageSource = *mut ::core::ffi::c_void;
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;