1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 #[cfg(feature = "UI_Core_AnimationMetrics")]
3 pub mod AnimationMetrics;
4 #[cfg(feature = "UI_Core_Preview")]
5 pub mod Preview;
6 #[link(name = "windows")]
7 extern "system" {}
8 pub type AcceleratorKeyEventArgs = *mut ::core::ffi::c_void;
9 #[repr(transparent)]
10 pub struct AppViewBackButtonVisibility(pub i32);
11 impl AppViewBackButtonVisibility {
12     pub const Visible: Self = Self(0i32);
13     pub const Collapsed: Self = Self(1i32);
14     pub const Disabled: Self = Self(2i32);
15 }
16 impl ::core::marker::Copy for AppViewBackButtonVisibility {}
17 impl ::core::clone::Clone for AppViewBackButtonVisibility {
clone(&self) -> Self18     fn clone(&self) -> Self {
19         *self
20     }
21 }
22 pub type AutomationProviderRequestedEventArgs = *mut ::core::ffi::c_void;
23 pub type BackRequestedEventArgs = *mut ::core::ffi::c_void;
24 pub type CharacterReceivedEventArgs = *mut ::core::ffi::c_void;
25 pub type ClosestInteractiveBoundsRequestedEventArgs = *mut ::core::ffi::c_void;
26 #[repr(transparent)]
27 pub struct CoreAcceleratorKeyEventType(pub i32);
28 impl CoreAcceleratorKeyEventType {
29     pub const Character: Self = Self(2i32);
30     pub const DeadCharacter: Self = Self(3i32);
31     pub const KeyDown: Self = Self(0i32);
32     pub const KeyUp: Self = Self(1i32);
33     pub const SystemCharacter: Self = Self(6i32);
34     pub const SystemDeadCharacter: Self = Self(7i32);
35     pub const SystemKeyDown: Self = Self(4i32);
36     pub const SystemKeyUp: Self = Self(5i32);
37     pub const UnicodeCharacter: Self = Self(8i32);
38 }
39 impl ::core::marker::Copy for CoreAcceleratorKeyEventType {}
40 impl ::core::clone::Clone for CoreAcceleratorKeyEventType {
clone(&self) -> Self41     fn clone(&self) -> Self {
42         *self
43     }
44 }
45 pub type CoreAcceleratorKeys = *mut ::core::ffi::c_void;
46 pub type CoreComponentInputSource = *mut ::core::ffi::c_void;
47 pub type CoreCursor = *mut ::core::ffi::c_void;
48 #[repr(transparent)]
49 pub struct CoreCursorType(pub i32);
50 impl CoreCursorType {
51     pub const Arrow: Self = Self(0i32);
52     pub const Cross: Self = Self(1i32);
53     pub const Custom: Self = Self(2i32);
54     pub const Hand: Self = Self(3i32);
55     pub const Help: Self = Self(4i32);
56     pub const IBeam: Self = Self(5i32);
57     pub const SizeAll: Self = Self(6i32);
58     pub const SizeNortheastSouthwest: Self = Self(7i32);
59     pub const SizeNorthSouth: Self = Self(8i32);
60     pub const SizeNorthwestSoutheast: Self = Self(9i32);
61     pub const SizeWestEast: Self = Self(10i32);
62     pub const UniversalNo: Self = Self(11i32);
63     pub const UpArrow: Self = Self(12i32);
64     pub const Wait: Self = Self(13i32);
65     pub const Pin: Self = Self(14i32);
66     pub const Person: Self = Self(15i32);
67 }
68 impl ::core::marker::Copy for CoreCursorType {}
69 impl ::core::clone::Clone for CoreCursorType {
clone(&self) -> Self70     fn clone(&self) -> Self {
71         *self
72     }
73 }
74 pub type CoreDispatcher = *mut ::core::ffi::c_void;
75 #[repr(transparent)]
76 pub struct CoreDispatcherPriority(pub i32);
77 impl CoreDispatcherPriority {
78     pub const Idle: Self = Self(-2i32);
79     pub const Low: Self = Self(-1i32);
80     pub const Normal: Self = Self(0i32);
81     pub const High: Self = Self(1i32);
82 }
83 impl ::core::marker::Copy for CoreDispatcherPriority {}
84 impl ::core::clone::Clone for CoreDispatcherPriority {
clone(&self) -> Self85     fn clone(&self) -> Self {
86         *self
87     }
88 }
89 #[repr(transparent)]
90 pub struct CoreIndependentInputFilters(pub u32);
91 impl CoreIndependentInputFilters {
92     pub const None: Self = Self(0u32);
93     pub const MouseButton: Self = Self(1u32);
94     pub const MouseWheel: Self = Self(2u32);
95     pub const MouseHover: Self = Self(4u32);
96     pub const PenWithBarrel: Self = Self(8u32);
97     pub const PenInverted: Self = Self(16u32);
98 }
99 impl ::core::marker::Copy for CoreIndependentInputFilters {}
100 impl ::core::clone::Clone for CoreIndependentInputFilters {
clone(&self) -> Self101     fn clone(&self) -> Self {
102         *self
103     }
104 }
105 pub type CoreIndependentInputSource = *mut ::core::ffi::c_void;
106 pub type CoreIndependentInputSourceController = *mut ::core::ffi::c_void;
107 #[repr(transparent)]
108 pub struct CoreInputDeviceTypes(pub u32);
109 impl CoreInputDeviceTypes {
110     pub const None: Self = Self(0u32);
111     pub const Touch: Self = Self(1u32);
112     pub const Pen: Self = Self(2u32);
113     pub const Mouse: Self = Self(4u32);
114 }
115 impl ::core::marker::Copy for CoreInputDeviceTypes {}
116 impl ::core::clone::Clone for CoreInputDeviceTypes {
clone(&self) -> Self117     fn clone(&self) -> Self {
118         *self
119     }
120 }
121 #[repr(C)]
122 pub struct CorePhysicalKeyStatus {
123     pub RepeatCount: u32,
124     pub ScanCode: u32,
125     pub IsExtendedKey: bool,
126     pub IsMenuKeyDown: bool,
127     pub WasKeyDown: bool,
128     pub IsKeyReleased: bool,
129 }
130 impl ::core::marker::Copy for CorePhysicalKeyStatus {}
131 impl ::core::clone::Clone for CorePhysicalKeyStatus {
clone(&self) -> Self132     fn clone(&self) -> Self {
133         *self
134     }
135 }
136 #[repr(transparent)]
137 pub struct CoreProcessEventsOption(pub i32);
138 impl CoreProcessEventsOption {
139     pub const ProcessOneAndAllPending: Self = Self(0i32);
140     pub const ProcessOneIfPresent: Self = Self(1i32);
141     pub const ProcessUntilQuit: Self = Self(2i32);
142     pub const ProcessAllIfPresent: Self = Self(3i32);
143 }
144 impl ::core::marker::Copy for CoreProcessEventsOption {}
145 impl ::core::clone::Clone for CoreProcessEventsOption {
clone(&self) -> Self146     fn clone(&self) -> Self {
147         *self
148     }
149 }
150 #[repr(C)]
151 #[cfg(feature = "Foundation")]
152 pub struct CoreProximityEvaluation {
153     pub Score: i32,
154     pub AdjustedPoint: super::super::Foundation::Point,
155 }
156 #[cfg(feature = "Foundation")]
157 impl ::core::marker::Copy for CoreProximityEvaluation {}
158 #[cfg(feature = "Foundation")]
159 impl ::core::clone::Clone for CoreProximityEvaluation {
clone(&self) -> Self160     fn clone(&self) -> Self {
161         *self
162     }
163 }
164 #[repr(transparent)]
165 pub struct CoreProximityEvaluationScore(pub i32);
166 impl CoreProximityEvaluationScore {
167     pub const Closest: Self = Self(0i32);
168     pub const Farthest: Self = Self(2147483647i32);
169 }
170 impl ::core::marker::Copy for CoreProximityEvaluationScore {}
171 impl ::core::clone::Clone for CoreProximityEvaluationScore {
clone(&self) -> Self172     fn clone(&self) -> Self {
173         *self
174     }
175 }
176 #[repr(transparent)]
177 pub struct CoreVirtualKeyStates(pub u32);
178 impl CoreVirtualKeyStates {
179     pub const None: Self = Self(0u32);
180     pub const Down: Self = Self(1u32);
181     pub const Locked: Self = Self(2u32);
182 }
183 impl ::core::marker::Copy for CoreVirtualKeyStates {}
184 impl ::core::clone::Clone for CoreVirtualKeyStates {
clone(&self) -> Self185     fn clone(&self) -> Self {
186         *self
187     }
188 }
189 pub type CoreWindow = *mut ::core::ffi::c_void;
190 #[repr(transparent)]
191 pub struct CoreWindowActivationMode(pub i32);
192 impl CoreWindowActivationMode {
193     pub const None: Self = Self(0i32);
194     pub const Deactivated: Self = Self(1i32);
195     pub const ActivatedNotForeground: Self = Self(2i32);
196     pub const ActivatedInForeground: Self = Self(3i32);
197 }
198 impl ::core::marker::Copy for CoreWindowActivationMode {}
199 impl ::core::clone::Clone for CoreWindowActivationMode {
clone(&self) -> Self200     fn clone(&self) -> Self {
201         *self
202     }
203 }
204 #[repr(transparent)]
205 pub struct CoreWindowActivationState(pub i32);
206 impl CoreWindowActivationState {
207     pub const CodeActivated: Self = Self(0i32);
208     pub const Deactivated: Self = Self(1i32);
209     pub const PointerActivated: Self = Self(2i32);
210 }
211 impl ::core::marker::Copy for CoreWindowActivationState {}
212 impl ::core::clone::Clone for CoreWindowActivationState {
clone(&self) -> Self213     fn clone(&self) -> Self {
214         *self
215     }
216 }
217 pub type CoreWindowDialog = *mut ::core::ffi::c_void;
218 pub type CoreWindowEventArgs = *mut ::core::ffi::c_void;
219 #[repr(transparent)]
220 pub struct CoreWindowFlowDirection(pub i32);
221 impl CoreWindowFlowDirection {
222     pub const LeftToRight: Self = Self(0i32);
223     pub const RightToLeft: Self = Self(1i32);
224 }
225 impl ::core::marker::Copy for CoreWindowFlowDirection {}
226 impl ::core::clone::Clone for CoreWindowFlowDirection {
clone(&self) -> Self227     fn clone(&self) -> Self {
228         *self
229     }
230 }
231 pub type CoreWindowFlyout = *mut ::core::ffi::c_void;
232 pub type CoreWindowPopupShowingEventArgs = *mut ::core::ffi::c_void;
233 pub type CoreWindowResizeManager = *mut ::core::ffi::c_void;
234 pub type DispatchedHandler = *mut ::core::ffi::c_void;
235 pub type ICoreAcceleratorKeys = *mut ::core::ffi::c_void;
236 pub type ICoreInputSourceBase = *mut ::core::ffi::c_void;
237 pub type ICorePointerInputSource = *mut ::core::ffi::c_void;
238 pub type ICorePointerInputSource2 = *mut ::core::ffi::c_void;
239 pub type ICorePointerRedirector = *mut ::core::ffi::c_void;
240 pub type ICoreWindow = *mut ::core::ffi::c_void;
241 pub type ICoreWindowEventArgs = *mut ::core::ffi::c_void;
242 pub type IInitializeWithCoreWindow = *mut ::core::ffi::c_void;
243 pub type IdleDispatchedHandler = *mut ::core::ffi::c_void;
244 pub type IdleDispatchedHandlerArgs = *mut ::core::ffi::c_void;
245 pub type InputEnabledEventArgs = *mut ::core::ffi::c_void;
246 pub type KeyEventArgs = *mut ::core::ffi::c_void;
247 pub type PointerEventArgs = *mut ::core::ffi::c_void;
248 pub type SystemNavigationManager = *mut ::core::ffi::c_void;
249 pub type TouchHitTestingEventArgs = *mut ::core::ffi::c_void;
250 pub type VisibilityChangedEventArgs = *mut ::core::ffi::c_void;
251 pub type WindowActivatedEventArgs = *mut ::core::ffi::c_void;
252 pub type WindowSizeChangedEventArgs = *mut ::core::ffi::c_void;
253