]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/UI/WindowManagement/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / UI / WindowManagement / mod.rs
CommitLineData
5e7ed085
FG
1#[cfg(feature = "UI_WindowManagement_Preview")]
2pub mod Preview;
3pub type AppWindow = *mut ::core::ffi::c_void;
4pub type AppWindowChangedEventArgs = *mut ::core::ffi::c_void;
5pub type AppWindowCloseRequestedEventArgs = *mut ::core::ffi::c_void;
6pub type AppWindowClosedEventArgs = *mut ::core::ffi::c_void;
04454e1e 7#[doc = "*Required features: `\"UI_WindowManagement\"`*"]
5e7ed085
FG
8#[repr(transparent)]
9pub struct AppWindowClosedReason(pub i32);
10impl AppWindowClosedReason {
11 pub const Other: Self = Self(0i32);
12 pub const AppInitiated: Self = Self(1i32);
13 pub const UserInitiated: Self = Self(2i32);
14}
15impl ::core::marker::Copy for AppWindowClosedReason {}
16impl ::core::clone::Clone for AppWindowClosedReason {
17 fn clone(&self) -> Self {
18 *self
19 }
20}
21pub type AppWindowFrame = *mut ::core::ffi::c_void;
04454e1e 22#[doc = "*Required features: `\"UI_WindowManagement\"`*"]
5e7ed085
FG
23#[repr(transparent)]
24pub struct AppWindowFrameStyle(pub i32);
25impl AppWindowFrameStyle {
26 pub const Default: Self = Self(0i32);
27 pub const NoFrame: Self = Self(1i32);
28}
29impl ::core::marker::Copy for AppWindowFrameStyle {}
30impl ::core::clone::Clone for AppWindowFrameStyle {
31 fn clone(&self) -> Self {
32 *self
33 }
34}
35pub type AppWindowPlacement = *mut ::core::ffi::c_void;
36pub type AppWindowPresentationConfiguration = *mut ::core::ffi::c_void;
04454e1e 37#[doc = "*Required features: `\"UI_WindowManagement\"`*"]
5e7ed085
FG
38#[repr(transparent)]
39pub struct AppWindowPresentationKind(pub i32);
40impl AppWindowPresentationKind {
41 pub const Default: Self = Self(0i32);
42 pub const CompactOverlay: Self = Self(1i32);
43 pub const FullScreen: Self = Self(2i32);
44}
45impl ::core::marker::Copy for AppWindowPresentationKind {}
46impl ::core::clone::Clone for AppWindowPresentationKind {
47 fn clone(&self) -> Self {
48 *self
49 }
50}
51pub type AppWindowPresenter = *mut ::core::ffi::c_void;
52pub type AppWindowTitleBar = *mut ::core::ffi::c_void;
53pub type AppWindowTitleBarOcclusion = *mut ::core::ffi::c_void;
04454e1e 54#[doc = "*Required features: `\"UI_WindowManagement\"`*"]
5e7ed085
FG
55#[repr(transparent)]
56pub struct AppWindowTitleBarVisibility(pub i32);
57impl AppWindowTitleBarVisibility {
58 pub const Default: Self = Self(0i32);
59 pub const AlwaysHidden: Self = Self(1i32);
60}
61impl ::core::marker::Copy for AppWindowTitleBarVisibility {}
62impl ::core::clone::Clone for AppWindowTitleBarVisibility {
63 fn clone(&self) -> Self {
64 *self
65 }
66}
67pub type CompactOverlayPresentationConfiguration = *mut ::core::ffi::c_void;
68pub type DefaultPresentationConfiguration = *mut ::core::ffi::c_void;
69pub type DisplayRegion = *mut ::core::ffi::c_void;
70pub type FullScreenPresentationConfiguration = *mut ::core::ffi::c_void;
71pub type WindowingEnvironment = *mut ::core::ffi::c_void;
72pub type WindowingEnvironmentAddedEventArgs = *mut ::core::ffi::c_void;
73pub type WindowingEnvironmentChangedEventArgs = *mut ::core::ffi::c_void;
04454e1e 74#[doc = "*Required features: `\"UI_WindowManagement\"`*"]
5e7ed085
FG
75#[repr(transparent)]
76pub struct WindowingEnvironmentKind(pub i32);
77impl WindowingEnvironmentKind {
78 pub const Unknown: Self = Self(0i32);
79 pub const Overlapped: Self = Self(1i32);
80 pub const Tiled: Self = Self(2i32);
81}
82impl ::core::marker::Copy for WindowingEnvironmentKind {}
83impl ::core::clone::Clone for WindowingEnvironmentKind {
84 fn clone(&self) -> Self {
85 *self
86 }
87}
88pub type WindowingEnvironmentRemovedEventArgs = *mut ::core::ffi::c_void;