summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/UI/Xaml/Automation/Peers/mod.rs
blob: cab4c39f871dd29b1d74e836e472b2b6ad2009f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
#[doc = "*Required features: `\"UI_Xaml_Automation_Peers\"`*"]
#[repr(transparent)]
pub struct AccessibilityView(pub i32);
impl AccessibilityView {
    pub const Raw: Self = Self(0i32);
    pub const Control: Self = Self(1i32);
    pub const Content: Self = Self(2i32);
}
impl ::core::marker::Copy for AccessibilityView {}
impl ::core::clone::Clone for AccessibilityView {
    fn clone(&self) -> Self {
        *self
    }
}
pub type AppBarAutomationPeer = *mut ::core::ffi::c_void;
pub type AppBarButtonAutomationPeer = *mut ::core::ffi::c_void;
pub type AppBarToggleButtonAutomationPeer = *mut ::core::ffi::c_void;
pub type AutoSuggestBoxAutomationPeer = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"UI_Xaml_Automation_Peers\"`*"]
#[repr(transparent)]
pub struct AutomationControlType(pub i32);
impl AutomationControlType {
    pub const Button: Self = Self(0i32);
    pub const Calendar: Self = Self(1i32);
    pub const CheckBox: Self = Self(2i32);
    pub const ComboBox: Self = Self(3i32);
    pub const Edit: Self = Self(4i32);
    pub const Hyperlink: Self = Self(5i32);
    pub const Image: Self = Self(6i32);
    pub const ListItem: Self = Self(7i32);
    pub const List: Self = Self(8i32);
    pub const Menu: Self = Self(9i32);
    pub const MenuBar: Self = Self(10i32);
    pub const MenuItem: Self = Self(11i32);
    pub const ProgressBar: Self = Self(12i32);
    pub const RadioButton: Self = Self(13i32);
    pub const ScrollBar: Self = Self(14i32);
    pub const Slider: Self = Self(15i32);
    pub const Spinner: Self = Self(16i32);
    pub const StatusBar: Self = Self(17i32);
    pub const Tab: Self = Self(18i32);
    pub const TabItem: Self = Self(19i32);
    pub const Text: Self = Self(20i32);
    pub const ToolBar: Self = Self(21i32);
    pub const ToolTip: Self = Self(22i32);
    pub const Tree: Self = Self(23i32);
    pub const TreeItem: Self = Self(24i32);
    pub const Custom: Self = Self(25i32);
    pub const Group: Self = Self(26i32);
    pub const Thumb: Self = Self(27i32);
    pub const DataGrid: Self = Self(28i32);
    pub const DataItem: Self = Self(29i32);
    pub const Document: Self = Self(30i32);
    pub const SplitButton: Self = Self(31i32);
    pub const Window: Self = Self(32i32);
    pub const Pane: Self = Self(33i32);
    pub const Header: Self = Self(34i32);
    pub const HeaderItem: Self = Self(35i32);
    pub const Table: Self = Self(36i32);
    pub const TitleBar: Self = Self(37i32);
    pub const Separator: Self = Self(38i32);
    pub const SemanticZoom: Self = Self(39i32);
    pub const AppBar: Self = Self(40i32);
}
impl ::core::marker::Copy for AutomationControlType {}
impl ::core::clone::Clone for AutomationControlType {
    fn clone(&self) -> Self {
        *self
    }
}
#[doc = "*Required features: `\"UI_Xaml_Automation_Peers\"`*"]
#[repr(transparent)]
pub struct AutomationEvents(pub i32);
impl AutomationEvents {
    pub const ToolTipOpened: Self = Self(0i32);
    pub const ToolTipClosed: Self = Self(1i32);
    pub const MenuOpened: Self = Self(2i32);
    pub const MenuClosed: Self = Self(3i32);
    pub const AutomationFocusChanged: Self = Self(4i32);
    pub const InvokePatternOnInvoked: Self = Self(5i32);
    pub const SelectionItemPatternOnElementAddedToSelection: Self = Self(6i32);
    pub const SelectionItemPatternOnElementRemovedFromSelection: Self = Self(7i32);
    pub const SelectionItemPatternOnElementSelected: Self = Self(8i32);
    pub const SelectionPatternOnInvalidated: Self = Self(9i32);
    pub const TextPatternOnTextSelectionChanged: Self = Self(10i32);
    pub const TextPatternOnTextChanged: Self = Self(11i32);
    pub const AsyncContentLoaded: Self = Self(12i32);
    pub const PropertyChanged: Self = Self(13i32);
    pub const StructureChanged: Self = Self(14i32);
    pub const DragStart: Self = Self(15i32);
    pub const DragCancel: Self = Self(16i32);
    pub const DragComplete: Self = Self(17i32);
    pub const DragEnter: Self = Self(18i32);
    pub const DragLeave: Self = Self(19i32);
    pub const Dropped: Self = Self(20i32);
    pub const LiveRegionChanged: Self = Self(21i32);
    pub const InputReachedTarget: Self = Self(22i32);
    pub const InputReachedOtherElement: Self = Self(23i32);
    pub const InputDiscarded: Self = Self(24i32);
    pub const WindowClosed: Self = Self(25i32);
    pub const WindowOpened: Self = Self(26i32);
    pub const ConversionTargetChanged: Self = Self(27i32);
    pub const TextEditTextChanged: Self = Self(28i32);
    pub const LayoutInvalidated: Self = Self(29i32);
}
impl ::core::marker::Copy for AutomationEvents {}
impl ::core::clone::Clone for AutomationEvents {
    fn clone(&self) -> Self {
        *self
    }
}
#[doc = "*Required features: `\"UI_Xaml_Automation_Peers\"`*"]
#[repr(transparent)]
pub struct AutomationHeadingLevel(pub i32);
impl AutomationHeadingLevel {
    pub const None: Self = Self(0i32);
    pub const Level1: Self = Self(1i32);
    pub const Level2: Self = Self(2i32);
    pub const Level3: Self = Self(3i32);
    pub const Level4: Self = Self(4i32);
    pub const Level5: Self = Self(5i32);
    pub const Level6: Self = Self(6i32);
    pub const Level7: Self = Self(7i32);
    pub const Level8: Self = Self(8i32);
    pub const Level9: Self = Self(9i32);
}
impl ::core::marker::Copy for AutomationHeadingLevel {}
impl ::core::clone::Clone for AutomationHeadingLevel {
    fn clone(&self) -> Self {
        *self
    }
}
#[doc = "*Required features: `\"UI_Xaml_Automation_Peers\"`*"]
#[repr(transparent)]
pub struct AutomationLandmarkType(pub i32);
impl AutomationLandmarkType {
    pub const None: Self = Self(0i32);
    pub const Custom: Self = Self(1i32);
    pub const Form: Self = Self(2i32);
    pub const Main: Self = Self(3i32);
    pub const Navigation: Self = Self(4i32);
    pub const Search: Self = Self(5i32);
}
impl ::core::marker::Copy for AutomationLandmarkType {}
impl ::core::clone::Clone for AutomationLandmarkType {
    fn clone(&self) -> Self {
        *self
    }
}
#[doc = "*Required features: `\"UI_Xaml_Automation_Peers\"`*"]
#[repr(transparent)]
pub struct AutomationLiveSetting(pub i32);
impl AutomationLiveSetting {
    pub const Off: Self = Self(0i32);
    pub const Polite: Self = Self(1i32);
    pub const Assertive: Self = Self(2i32);
}
impl ::core::marker::Copy for AutomationLiveSetting {}
impl ::core::clone::Clone for AutomationLiveSetting {
    fn clone(&self) -> Self {
        *self
    }
}
#[doc = "*Required features: `\"UI_Xaml_Automation_Peers\"`*"]
#[repr(transparent)]
pub struct AutomationNavigationDirection(pub i32);
impl AutomationNavigationDirection {
    pub const Parent: Self = Self(0i32);
    pub const NextSibling: Self = Self(1i32);
    pub const PreviousSibling: Self = Self(2i32);
    pub const FirstChild: Self = Self(3i32);
    pub const LastChild: Self = Self(4i32);
}
impl ::core::marker::Copy for AutomationNavigationDirection {}
impl ::core::clone::Clone for AutomationNavigationDirection {
    fn clone(&self) -> Self {
        *self
    }
}
#[doc = "*Required features: `\"UI_Xaml_Automation_Peers\"`*"]
#[repr(transparent)]
pub struct AutomationNotificationKind(pub i32);
impl AutomationNotificationKind {
    pub const ItemAdded: Self = Self(0i32);
    pub const ItemRemoved: Self = Self(1i32);
    pub const ActionCompleted: Self = Self(2i32);
    pub const ActionAborted: Self = Self(3i32);
    pub const Other: Self = Self(4i32);
}
impl ::core::marker::Copy for AutomationNotificationKind {}
impl ::core::clone::Clone for AutomationNotificationKind {
    fn clone(&self) -> Self {
        *self
    }
}
#[doc = "*Required features: `\"UI_Xaml_Automation_Peers\"`*"]
#[repr(transparent)]
pub struct AutomationNotificationProcessing(pub i32);
impl AutomationNotificationProcessing {
    pub const ImportantAll: Self = Self(0i32);
    pub const ImportantMostRecent: Self = Self(1i32);
    pub const All: Self = Self(2i32);
    pub const MostRecent: Self = Self(3i32);
    pub const CurrentThenMostRecent: Self = Self(4i32);
}
impl ::core::marker::Copy for AutomationNotificationProcessing {}
impl ::core::clone::Clone for AutomationNotificationProcessing {
    fn clone(&self) -> Self {
        *self
    }
}
#[doc = "*Required features: `\"UI_Xaml_Automation_Peers\"`*"]
#[repr(transparent)]
pub struct AutomationOrientation(pub i32);
impl AutomationOrientation {
    pub const None: Self = Self(0i32);
    pub const Horizontal: Self = Self(1i32);
    pub const Vertical: Self = Self(2i32);
}
impl ::core::marker::Copy for AutomationOrientation {}
impl ::core::clone::Clone for AutomationOrientation {
    fn clone(&self) -> Self {
        *self
    }
}
pub type AutomationPeer = *mut ::core::ffi::c_void;
pub type AutomationPeerAnnotation = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"UI_Xaml_Automation_Peers\"`*"]
#[repr(transparent)]
pub struct AutomationStructureChangeType(pub i32);
impl AutomationStructureChangeType {
    pub const ChildAdded: Self = Self(0i32);
    pub const ChildRemoved: Self = Self(1i32);
    pub const ChildrenInvalidated: Self = Self(2i32);
    pub const ChildrenBulkAdded: Self = Self(3i32);
    pub const ChildrenBulkRemoved: Self = Self(4i32);
    pub const ChildrenReordered: Self = Self(5i32);
}
impl ::core::marker::Copy for AutomationStructureChangeType {}
impl ::core::clone::Clone for AutomationStructureChangeType {
    fn clone(&self) -> Self {
        *self
    }
}
pub type ButtonAutomationPeer = *mut ::core::ffi::c_void;
pub type ButtonBaseAutomationPeer = *mut ::core::ffi::c_void;
pub type CalendarDatePickerAutomationPeer = *mut ::core::ffi::c_void;
pub type CaptureElementAutomationPeer = *mut ::core::ffi::c_void;
pub type CheckBoxAutomationPeer = *mut ::core::ffi::c_void;
pub type ColorPickerSliderAutomationPeer = *mut ::core::ffi::c_void;
pub type ColorSpectrumAutomationPeer = *mut ::core::ffi::c_void;
pub type ComboBoxAutomationPeer = *mut ::core::ffi::c_void;
pub type ComboBoxItemAutomationPeer = *mut ::core::ffi::c_void;
pub type ComboBoxItemDataAutomationPeer = *mut ::core::ffi::c_void;
pub type DatePickerAutomationPeer = *mut ::core::ffi::c_void;
pub type DatePickerFlyoutPresenterAutomationPeer = *mut ::core::ffi::c_void;
pub type FlipViewAutomationPeer = *mut ::core::ffi::c_void;
pub type FlipViewItemAutomationPeer = *mut ::core::ffi::c_void;
pub type FlipViewItemDataAutomationPeer = *mut ::core::ffi::c_void;
pub type FlyoutPresenterAutomationPeer = *mut ::core::ffi::c_void;
pub type FrameworkElementAutomationPeer = *mut ::core::ffi::c_void;
pub type GridViewAutomationPeer = *mut ::core::ffi::c_void;
pub type GridViewHeaderItemAutomationPeer = *mut ::core::ffi::c_void;
pub type GridViewItemAutomationPeer = *mut ::core::ffi::c_void;
pub type GridViewItemDataAutomationPeer = *mut ::core::ffi::c_void;
pub type GroupItemAutomationPeer = *mut ::core::ffi::c_void;
pub type HubAutomationPeer = *mut ::core::ffi::c_void;
pub type HubSectionAutomationPeer = *mut ::core::ffi::c_void;
pub type HyperlinkButtonAutomationPeer = *mut ::core::ffi::c_void;
pub type ImageAutomationPeer = *mut ::core::ffi::c_void;
pub type InkToolbarAutomationPeer = *mut ::core::ffi::c_void;
pub type ItemAutomationPeer = *mut ::core::ffi::c_void;
pub type ItemsControlAutomationPeer = *mut ::core::ffi::c_void;
pub type ListBoxAutomationPeer = *mut ::core::ffi::c_void;
pub type ListBoxItemAutomationPeer = *mut ::core::ffi::c_void;
pub type ListBoxItemDataAutomationPeer = *mut ::core::ffi::c_void;
pub type ListPickerFlyoutPresenterAutomationPeer = *mut ::core::ffi::c_void;
pub type ListViewAutomationPeer = *mut ::core::ffi::c_void;
pub type ListViewBaseAutomationPeer = *mut ::core::ffi::c_void;
pub type ListViewBaseHeaderItemAutomationPeer = *mut ::core::ffi::c_void;
pub type ListViewHeaderItemAutomationPeer = *mut ::core::ffi::c_void;
pub type ListViewItemAutomationPeer = *mut ::core::ffi::c_void;
pub type ListViewItemDataAutomationPeer = *mut ::core::ffi::c_void;
pub type LoopingSelectorAutomationPeer = *mut ::core::ffi::c_void;
pub type LoopingSelectorItemAutomationPeer = *mut ::core::ffi::c_void;
pub type LoopingSelectorItemDataAutomationPeer = *mut ::core::ffi::c_void;
pub type MapControlAutomationPeer = *mut ::core::ffi::c_void;
pub type MediaElementAutomationPeer = *mut ::core::ffi::c_void;
pub type MediaPlayerElementAutomationPeer = *mut ::core::ffi::c_void;
pub type MediaTransportControlsAutomationPeer = *mut ::core::ffi::c_void;
pub type MenuBarAutomationPeer = *mut ::core::ffi::c_void;
pub type MenuBarItemAutomationPeer = *mut ::core::ffi::c_void;
pub type MenuFlyoutItemAutomationPeer = *mut ::core::ffi::c_void;
pub type MenuFlyoutPresenterAutomationPeer = *mut ::core::ffi::c_void;
pub type NavigationViewItemAutomationPeer = *mut ::core::ffi::c_void;
pub type PasswordBoxAutomationPeer = *mut ::core::ffi::c_void;
#[doc = "*Required features: `\"UI_Xaml_Automation_Peers\"`*"]
#[repr(transparent)]
pub struct PatternInterface(pub i32);
impl PatternInterface {
    pub const Invoke: Self = Self(0i32);
    pub const Selection: Self = Self(1i32);
    pub const Value: Self = Self(2i32);
    pub const RangeValue: Self = Self(3i32);
    pub const Scroll: Self = Self(4i32);
    pub const ScrollItem: Self = Self(5i32);
    pub const ExpandCollapse: Self = Self(6i32);
    pub const Grid: Self = Self(7i32);
    pub const GridItem: Self = Self(8i32);
    pub const MultipleView: Self = Self(9i32);
    pub const Window: Self = Self(10i32);
    pub const SelectionItem: Self = Self(11i32);
    pub const Dock: Self = Self(12i32);
    pub const Table: Self = Self(13i32);
    pub const TableItem: Self = Self(14i32);
    pub const Toggle: Self = Self(15i32);
    pub const Transform: Self = Self(16i32);
    pub const Text: Self = Self(17i32);
    pub const ItemContainer: Self = Self(18i32);
    pub const VirtualizedItem: Self = Self(19i32);
    pub const Text2: Self = Self(20i32);
    pub const TextChild: Self = Self(21i32);
    pub const TextRange: Self = Self(22i32);
    pub const Annotation: Self = Self(23i32);
    pub const Drag: Self = Self(24i32);
    pub const DropTarget: Self = Self(25i32);
    pub const ObjectModel: Self = Self(26i32);
    pub const Spreadsheet: Self = Self(27i32);
    pub const SpreadsheetItem: Self = Self(28i32);
    pub const Styles: Self = Self(29i32);
    pub const Transform2: Self = Self(30i32);
    pub const SynchronizedInput: Self = Self(31i32);
    pub const TextEdit: Self = Self(32i32);
    pub const CustomNavigation: Self = Self(33i32);
}
impl ::core::marker::Copy for PatternInterface {}
impl ::core::clone::Clone for PatternInterface {
    fn clone(&self) -> Self {
        *self
    }
}
pub type PersonPictureAutomationPeer = *mut ::core::ffi::c_void;
pub type PickerFlyoutPresenterAutomationPeer = *mut ::core::ffi::c_void;
pub type PivotAutomationPeer = *mut ::core::ffi::c_void;
pub type PivotItemAutomationPeer = *mut ::core::ffi::c_void;
pub type PivotItemDataAutomationPeer = *mut ::core::ffi::c_void;
pub type ProgressBarAutomationPeer = *mut ::core::ffi::c_void;
pub type ProgressRingAutomationPeer = *mut ::core::ffi::c_void;
pub type RadioButtonAutomationPeer = *mut ::core::ffi::c_void;
pub type RangeBaseAutomationPeer = *mut ::core::ffi::c_void;
pub type RatingControlAutomationPeer = *mut ::core::ffi::c_void;
#[repr(C)]
#[doc = "*Required features: `\"UI_Xaml_Automation_Peers\"`*"]
pub struct RawElementProviderRuntimeId {
    pub Part1: u32,
    pub Part2: u32,
}
impl ::core::marker::Copy for RawElementProviderRuntimeId {}
impl ::core::clone::Clone for RawElementProviderRuntimeId {
    fn clone(&self) -> Self {
        *self
    }
}
pub type RepeatButtonAutomationPeer = *mut ::core::ffi::c_void;
pub type RichEditBoxAutomationPeer = *mut ::core::ffi::c_void;
pub type RichTextBlockAutomationPeer = *mut ::core::ffi::c_void;
pub type RichTextBlockOverflowAutomationPeer = *mut ::core::ffi::c_void;
pub type ScrollBarAutomationPeer = *mut ::core::ffi::c_void;
pub type ScrollViewerAutomationPeer = *mut ::core::ffi::c_void;
pub type SearchBoxAutomationPeer = *mut ::core::ffi::c_void;
pub type SelectorAutomationPeer = *mut ::core::ffi::c_void;
pub type SelectorItemAutomationPeer = *mut ::core::ffi::c_void;
pub type SemanticZoomAutomationPeer = *mut ::core::ffi::c_void;
pub type SettingsFlyoutAutomationPeer = *mut ::core::ffi::c_void;
pub type SliderAutomationPeer = *mut ::core::ffi::c_void;
pub type TextBlockAutomationPeer = *mut ::core::ffi::c_void;
pub type TextBoxAutomationPeer = *mut ::core::ffi::c_void;
pub type ThumbAutomationPeer = *mut ::core::ffi::c_void;
pub type TimePickerAutomationPeer = *mut ::core::ffi::c_void;
pub type TimePickerFlyoutPresenterAutomationPeer = *mut ::core::ffi::c_void;
pub type ToggleButtonAutomationPeer = *mut ::core::ffi::c_void;
pub type ToggleMenuFlyoutItemAutomationPeer = *mut ::core::ffi::c_void;
pub type ToggleSwitchAutomationPeer = *mut ::core::ffi::c_void;
pub type TreeViewItemAutomationPeer = *mut ::core::ffi::c_void;
pub type TreeViewListAutomationPeer = *mut ::core::ffi::c_void;