1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] 2 #[cfg(feature = "UI_Xaml_Automation_Peers")] 3 pub mod Peers; 4 #[cfg(feature = "UI_Xaml_Automation_Provider")] 5 pub mod Provider; 6 #[cfg(feature = "UI_Xaml_Automation_Text")] 7 pub mod Text; 8 #[link(name = "windows")] 9 extern "system" {} 10 pub type AnnotationPatternIdentifiers = *mut ::core::ffi::c_void; 11 #[repr(transparent)] 12 pub struct AnnotationType(pub i32); 13 impl AnnotationType { 14 pub const Unknown: Self = Self(60000i32); 15 pub const SpellingError: Self = Self(60001i32); 16 pub const GrammarError: Self = Self(60002i32); 17 pub const Comment: Self = Self(60003i32); 18 pub const FormulaError: Self = Self(60004i32); 19 pub const TrackChanges: Self = Self(60005i32); 20 pub const Header: Self = Self(60006i32); 21 pub const Footer: Self = Self(60007i32); 22 pub const Highlighted: Self = Self(60008i32); 23 pub const Endnote: Self = Self(60009i32); 24 pub const Footnote: Self = Self(60010i32); 25 pub const InsertionChange: Self = Self(60011i32); 26 pub const DeletionChange: Self = Self(60012i32); 27 pub const MoveChange: Self = Self(60013i32); 28 pub const FormatChange: Self = Self(60014i32); 29 pub const UnsyncedChange: Self = Self(60015i32); 30 pub const EditingLockedChange: Self = Self(60016i32); 31 pub const ExternalChange: Self = Self(60017i32); 32 pub const ConflictingChange: Self = Self(60018i32); 33 pub const Author: Self = Self(60019i32); 34 pub const AdvancedProofingIssue: Self = Self(60020i32); 35 pub const DataValidationError: Self = Self(60021i32); 36 pub const CircularReferenceError: Self = Self(60022i32); 37 } 38 impl ::core::marker::Copy for AnnotationType {} 39 impl ::core::clone::Clone for AnnotationType { clone(&self) -> Self40 fn clone(&self) -> Self { 41 *self 42 } 43 } 44 #[repr(transparent)] 45 pub struct AutomationActiveEnd(pub i32); 46 impl AutomationActiveEnd { 47 pub const None: Self = Self(0i32); 48 pub const Start: Self = Self(1i32); 49 pub const End: Self = Self(2i32); 50 } 51 impl ::core::marker::Copy for AutomationActiveEnd {} 52 impl ::core::clone::Clone for AutomationActiveEnd { clone(&self) -> Self53 fn clone(&self) -> Self { 54 *self 55 } 56 } 57 #[repr(transparent)] 58 pub struct AutomationAnimationStyle(pub i32); 59 impl AutomationAnimationStyle { 60 pub const None: Self = Self(0i32); 61 pub const LasVegasLights: Self = Self(1i32); 62 pub const BlinkingBackground: Self = Self(2i32); 63 pub const SparkleText: Self = Self(3i32); 64 pub const MarchingBlackAnts: Self = Self(4i32); 65 pub const MarchingRedAnts: Self = Self(5i32); 66 pub const Shimmer: Self = Self(6i32); 67 pub const Other: Self = Self(7i32); 68 } 69 impl ::core::marker::Copy for AutomationAnimationStyle {} 70 impl ::core::clone::Clone for AutomationAnimationStyle { clone(&self) -> Self71 fn clone(&self) -> Self { 72 *self 73 } 74 } 75 pub type AutomationAnnotation = *mut ::core::ffi::c_void; 76 #[repr(transparent)] 77 pub struct AutomationBulletStyle(pub i32); 78 impl AutomationBulletStyle { 79 pub const None: Self = Self(0i32); 80 pub const HollowRoundBullet: Self = Self(1i32); 81 pub const FilledRoundBullet: Self = Self(2i32); 82 pub const HollowSquareBullet: Self = Self(3i32); 83 pub const FilledSquareBullet: Self = Self(4i32); 84 pub const DashBullet: Self = Self(5i32); 85 pub const Other: Self = Self(6i32); 86 } 87 impl ::core::marker::Copy for AutomationBulletStyle {} 88 impl ::core::clone::Clone for AutomationBulletStyle { clone(&self) -> Self89 fn clone(&self) -> Self { 90 *self 91 } 92 } 93 #[repr(transparent)] 94 pub struct AutomationCaretBidiMode(pub i32); 95 impl AutomationCaretBidiMode { 96 pub const LTR: Self = Self(0i32); 97 pub const RTL: Self = Self(1i32); 98 } 99 impl ::core::marker::Copy for AutomationCaretBidiMode {} 100 impl ::core::clone::Clone for AutomationCaretBidiMode { clone(&self) -> Self101 fn clone(&self) -> Self { 102 *self 103 } 104 } 105 #[repr(transparent)] 106 pub struct AutomationCaretPosition(pub i32); 107 impl AutomationCaretPosition { 108 pub const Unknown: Self = Self(0i32); 109 pub const EndOfLine: Self = Self(1i32); 110 pub const BeginningOfLine: Self = Self(2i32); 111 } 112 impl ::core::marker::Copy for AutomationCaretPosition {} 113 impl ::core::clone::Clone for AutomationCaretPosition { clone(&self) -> Self114 fn clone(&self) -> Self { 115 *self 116 } 117 } 118 pub type AutomationElementIdentifiers = *mut ::core::ffi::c_void; 119 #[repr(transparent)] 120 pub struct AutomationFlowDirections(pub i32); 121 impl AutomationFlowDirections { 122 pub const Default: Self = Self(0i32); 123 pub const RightToLeft: Self = Self(1i32); 124 pub const BottomToTop: Self = Self(2i32); 125 pub const Vertical: Self = Self(3i32); 126 } 127 impl ::core::marker::Copy for AutomationFlowDirections {} 128 impl ::core::clone::Clone for AutomationFlowDirections { clone(&self) -> Self129 fn clone(&self) -> Self { 130 *self 131 } 132 } 133 #[repr(transparent)] 134 pub struct AutomationOutlineStyles(pub i32); 135 impl AutomationOutlineStyles { 136 pub const None: Self = Self(0i32); 137 pub const Outline: Self = Self(1i32); 138 pub const Shadow: Self = Self(2i32); 139 pub const Engraved: Self = Self(3i32); 140 pub const Embossed: Self = Self(4i32); 141 } 142 impl ::core::marker::Copy for AutomationOutlineStyles {} 143 impl ::core::clone::Clone for AutomationOutlineStyles { clone(&self) -> Self144 fn clone(&self) -> Self { 145 *self 146 } 147 } 148 pub type AutomationProperties = *mut ::core::ffi::c_void; 149 pub type AutomationProperty = *mut ::core::ffi::c_void; 150 #[repr(transparent)] 151 pub struct AutomationStyleId(pub i32); 152 impl AutomationStyleId { 153 pub const Heading1: Self = Self(70001i32); 154 pub const Heading2: Self = Self(70002i32); 155 pub const Heading3: Self = Self(70003i32); 156 pub const Heading4: Self = Self(70004i32); 157 pub const Heading5: Self = Self(70005i32); 158 pub const Heading6: Self = Self(70006i32); 159 pub const Heading7: Self = Self(70007i32); 160 pub const Heading8: Self = Self(70008i32); 161 pub const Heading9: Self = Self(70009i32); 162 pub const Title: Self = Self(70010i32); 163 pub const Subtitle: Self = Self(70011i32); 164 pub const Normal: Self = Self(70012i32); 165 pub const Emphasis: Self = Self(70013i32); 166 pub const Quote: Self = Self(70014i32); 167 pub const BulletedList: Self = Self(70015i32); 168 } 169 impl ::core::marker::Copy for AutomationStyleId {} 170 impl ::core::clone::Clone for AutomationStyleId { clone(&self) -> Self171 fn clone(&self) -> Self { 172 *self 173 } 174 } 175 #[repr(transparent)] 176 pub struct AutomationTextDecorationLineStyle(pub i32); 177 impl AutomationTextDecorationLineStyle { 178 pub const None: Self = Self(0i32); 179 pub const Single: Self = Self(1i32); 180 pub const WordsOnly: Self = Self(2i32); 181 pub const Double: Self = Self(3i32); 182 pub const Dot: Self = Self(4i32); 183 pub const Dash: Self = Self(5i32); 184 pub const DashDot: Self = Self(6i32); 185 pub const DashDotDot: Self = Self(7i32); 186 pub const Wavy: Self = Self(8i32); 187 pub const ThickSingle: Self = Self(9i32); 188 pub const DoubleWavy: Self = Self(10i32); 189 pub const ThickWavy: Self = Self(11i32); 190 pub const LongDash: Self = Self(12i32); 191 pub const ThickDash: Self = Self(13i32); 192 pub const ThickDashDot: Self = Self(14i32); 193 pub const ThickDashDotDot: Self = Self(15i32); 194 pub const ThickDot: Self = Self(16i32); 195 pub const ThickLongDash: Self = Self(17i32); 196 pub const Other: Self = Self(18i32); 197 } 198 impl ::core::marker::Copy for AutomationTextDecorationLineStyle {} 199 impl ::core::clone::Clone for AutomationTextDecorationLineStyle { clone(&self) -> Self200 fn clone(&self) -> Self { 201 *self 202 } 203 } 204 #[repr(transparent)] 205 pub struct AutomationTextEditChangeType(pub i32); 206 impl AutomationTextEditChangeType { 207 pub const None: Self = Self(0i32); 208 pub const AutoCorrect: Self = Self(1i32); 209 pub const Composition: Self = Self(2i32); 210 pub const CompositionFinalized: Self = Self(3i32); 211 } 212 impl ::core::marker::Copy for AutomationTextEditChangeType {} 213 impl ::core::clone::Clone for AutomationTextEditChangeType { clone(&self) -> Self214 fn clone(&self) -> Self { 215 *self 216 } 217 } 218 pub type DockPatternIdentifiers = *mut ::core::ffi::c_void; 219 #[repr(transparent)] 220 pub struct DockPosition(pub i32); 221 impl DockPosition { 222 pub const Top: Self = Self(0i32); 223 pub const Left: Self = Self(1i32); 224 pub const Bottom: Self = Self(2i32); 225 pub const Right: Self = Self(3i32); 226 pub const Fill: Self = Self(4i32); 227 pub const None: Self = Self(5i32); 228 } 229 impl ::core::marker::Copy for DockPosition {} 230 impl ::core::clone::Clone for DockPosition { clone(&self) -> Self231 fn clone(&self) -> Self { 232 *self 233 } 234 } 235 pub type DragPatternIdentifiers = *mut ::core::ffi::c_void; 236 pub type DropTargetPatternIdentifiers = *mut ::core::ffi::c_void; 237 pub type ExpandCollapsePatternIdentifiers = *mut ::core::ffi::c_void; 238 #[repr(transparent)] 239 pub struct ExpandCollapseState(pub i32); 240 impl ExpandCollapseState { 241 pub const Collapsed: Self = Self(0i32); 242 pub const Expanded: Self = Self(1i32); 243 pub const PartiallyExpanded: Self = Self(2i32); 244 pub const LeafNode: Self = Self(3i32); 245 } 246 impl ::core::marker::Copy for ExpandCollapseState {} 247 impl ::core::clone::Clone for ExpandCollapseState { clone(&self) -> Self248 fn clone(&self) -> Self { 249 *self 250 } 251 } 252 pub type GridItemPatternIdentifiers = *mut ::core::ffi::c_void; 253 pub type GridPatternIdentifiers = *mut ::core::ffi::c_void; 254 pub type MultipleViewPatternIdentifiers = *mut ::core::ffi::c_void; 255 pub type RangeValuePatternIdentifiers = *mut ::core::ffi::c_void; 256 #[repr(transparent)] 257 pub struct RowOrColumnMajor(pub i32); 258 impl RowOrColumnMajor { 259 pub const RowMajor: Self = Self(0i32); 260 pub const ColumnMajor: Self = Self(1i32); 261 pub const Indeterminate: Self = Self(2i32); 262 } 263 impl ::core::marker::Copy for RowOrColumnMajor {} 264 impl ::core::clone::Clone for RowOrColumnMajor { clone(&self) -> Self265 fn clone(&self) -> Self { 266 *self 267 } 268 } 269 #[repr(transparent)] 270 pub struct ScrollAmount(pub i32); 271 impl ScrollAmount { 272 pub const LargeDecrement: Self = Self(0i32); 273 pub const SmallDecrement: Self = Self(1i32); 274 pub const NoAmount: Self = Self(2i32); 275 pub const LargeIncrement: Self = Self(3i32); 276 pub const SmallIncrement: Self = Self(4i32); 277 } 278 impl ::core::marker::Copy for ScrollAmount {} 279 impl ::core::clone::Clone for ScrollAmount { clone(&self) -> Self280 fn clone(&self) -> Self { 281 *self 282 } 283 } 284 pub type ScrollPatternIdentifiers = *mut ::core::ffi::c_void; 285 pub type SelectionItemPatternIdentifiers = *mut ::core::ffi::c_void; 286 pub type SelectionPatternIdentifiers = *mut ::core::ffi::c_void; 287 pub type SpreadsheetItemPatternIdentifiers = *mut ::core::ffi::c_void; 288 pub type StylesPatternIdentifiers = *mut ::core::ffi::c_void; 289 #[repr(transparent)] 290 pub struct SupportedTextSelection(pub i32); 291 impl SupportedTextSelection { 292 pub const None: Self = Self(0i32); 293 pub const Single: Self = Self(1i32); 294 pub const Multiple: Self = Self(2i32); 295 } 296 impl ::core::marker::Copy for SupportedTextSelection {} 297 impl ::core::clone::Clone for SupportedTextSelection { clone(&self) -> Self298 fn clone(&self) -> Self { 299 *self 300 } 301 } 302 #[repr(transparent)] 303 pub struct SynchronizedInputType(pub i32); 304 impl SynchronizedInputType { 305 pub const KeyUp: Self = Self(1i32); 306 pub const KeyDown: Self = Self(2i32); 307 pub const LeftMouseUp: Self = Self(4i32); 308 pub const LeftMouseDown: Self = Self(8i32); 309 pub const RightMouseUp: Self = Self(16i32); 310 pub const RightMouseDown: Self = Self(32i32); 311 } 312 impl ::core::marker::Copy for SynchronizedInputType {} 313 impl ::core::clone::Clone for SynchronizedInputType { clone(&self) -> Self314 fn clone(&self) -> Self { 315 *self 316 } 317 } 318 pub type TableItemPatternIdentifiers = *mut ::core::ffi::c_void; 319 pub type TablePatternIdentifiers = *mut ::core::ffi::c_void; 320 pub type TogglePatternIdentifiers = *mut ::core::ffi::c_void; 321 #[repr(transparent)] 322 pub struct ToggleState(pub i32); 323 impl ToggleState { 324 pub const Off: Self = Self(0i32); 325 pub const On: Self = Self(1i32); 326 pub const Indeterminate: Self = Self(2i32); 327 } 328 impl ::core::marker::Copy for ToggleState {} 329 impl ::core::clone::Clone for ToggleState { clone(&self) -> Self330 fn clone(&self) -> Self { 331 *self 332 } 333 } 334 pub type TransformPattern2Identifiers = *mut ::core::ffi::c_void; 335 pub type TransformPatternIdentifiers = *mut ::core::ffi::c_void; 336 pub type ValuePatternIdentifiers = *mut ::core::ffi::c_void; 337 #[repr(transparent)] 338 pub struct WindowInteractionState(pub i32); 339 impl WindowInteractionState { 340 pub const Running: Self = Self(0i32); 341 pub const Closing: Self = Self(1i32); 342 pub const ReadyForUserInteraction: Self = Self(2i32); 343 pub const BlockedByModalWindow: Self = Self(3i32); 344 pub const NotResponding: Self = Self(4i32); 345 } 346 impl ::core::marker::Copy for WindowInteractionState {} 347 impl ::core::clone::Clone for WindowInteractionState { clone(&self) -> Self348 fn clone(&self) -> Self { 349 *self 350 } 351 } 352 pub type WindowPatternIdentifiers = *mut ::core::ffi::c_void; 353 #[repr(transparent)] 354 pub struct WindowVisualState(pub i32); 355 impl WindowVisualState { 356 pub const Normal: Self = Self(0i32); 357 pub const Maximized: Self = Self(1i32); 358 pub const Minimized: Self = Self(2i32); 359 } 360 impl ::core::marker::Copy for WindowVisualState {} 361 impl ::core::clone::Clone for WindowVisualState { clone(&self) -> Self362 fn clone(&self) -> Self { 363 *self 364 } 365 } 366 #[repr(transparent)] 367 pub struct ZoomUnit(pub i32); 368 impl ZoomUnit { 369 pub const NoAmount: Self = Self(0i32); 370 pub const LargeDecrement: Self = Self(1i32); 371 pub const SmallDecrement: Self = Self(2i32); 372 pub const LargeIncrement: Self = Self(3i32); 373 pub const SmallIncrement: Self = Self(4i32); 374 } 375 impl ::core::marker::Copy for ZoomUnit {} 376 impl ::core::clone::Clone for ZoomUnit { clone(&self) -> Self377 fn clone(&self) -> Self { 378 *self 379 } 380 } 381