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 ForegroundText(pub i32); 6 impl ForegroundText { 7 pub const Dark: Self = Self(0i32); 8 pub const Light: Self = Self(1i32); 9 } 10 impl ::core::marker::Copy for ForegroundText {} 11 impl ::core::clone::Clone for ForegroundText { clone(&self) -> Self12 fn clone(&self) -> Self { 13 *self 14 } 15 } 16 pub type JumpList = *mut ::core::ffi::c_void; 17 pub type JumpListItem = *mut ::core::ffi::c_void; 18 #[repr(transparent)] 19 pub struct JumpListItemKind(pub i32); 20 impl JumpListItemKind { 21 pub const Arguments: Self = Self(0i32); 22 pub const Separator: Self = Self(1i32); 23 } 24 impl ::core::marker::Copy for JumpListItemKind {} 25 impl ::core::clone::Clone for JumpListItemKind { clone(&self) -> Self26 fn clone(&self) -> Self { 27 *self 28 } 29 } 30 #[repr(transparent)] 31 pub struct JumpListSystemGroupKind(pub i32); 32 impl JumpListSystemGroupKind { 33 pub const None: Self = Self(0i32); 34 pub const Frequent: Self = Self(1i32); 35 pub const Recent: Self = Self(2i32); 36 } 37 impl ::core::marker::Copy for JumpListSystemGroupKind {} 38 impl ::core::clone::Clone for JumpListSystemGroupKind { clone(&self) -> Self39 fn clone(&self) -> Self { 40 *self 41 } 42 } 43 pub type SecondaryTile = *mut ::core::ffi::c_void; 44 pub type SecondaryTileVisualElements = *mut ::core::ffi::c_void; 45 pub type StartScreenManager = *mut ::core::ffi::c_void; 46 pub type TileMixedRealityModel = *mut ::core::ffi::c_void; 47 #[repr(transparent)] 48 pub struct TileMixedRealityModelActivationBehavior(pub i32); 49 impl TileMixedRealityModelActivationBehavior { 50 pub const Default: Self = Self(0i32); 51 pub const None: Self = Self(1i32); 52 } 53 impl ::core::marker::Copy for TileMixedRealityModelActivationBehavior {} 54 impl ::core::clone::Clone for TileMixedRealityModelActivationBehavior { clone(&self) -> Self55 fn clone(&self) -> Self { 56 *self 57 } 58 } 59 #[repr(transparent)] 60 pub struct TileOptions(pub u32); 61 impl TileOptions { 62 pub const None: Self = Self(0u32); 63 pub const ShowNameOnLogo: Self = Self(1u32); 64 pub const ShowNameOnWideLogo: Self = Self(2u32); 65 pub const CopyOnDeployment: Self = Self(4u32); 66 } 67 impl ::core::marker::Copy for TileOptions {} 68 impl ::core::clone::Clone for TileOptions { clone(&self) -> Self69 fn clone(&self) -> Self { 70 *self 71 } 72 } 73 #[repr(transparent)] 74 pub struct TileSize(pub i32); 75 impl TileSize { 76 pub const Default: Self = Self(0i32); 77 pub const Square30x30: Self = Self(1i32); 78 pub const Square70x70: Self = Self(2i32); 79 pub const Square150x150: Self = Self(3i32); 80 pub const Wide310x150: Self = Self(4i32); 81 pub const Square310x310: Self = Self(5i32); 82 pub const Square71x71: Self = Self(6i32); 83 pub const Square44x44: Self = Self(7i32); 84 } 85 impl ::core::marker::Copy for TileSize {} 86 impl ::core::clone::Clone for TileSize { clone(&self) -> Self87 fn clone(&self) -> Self { 88 *self 89 } 90 } 91 pub type VisualElementsRequest = *mut ::core::ffi::c_void; 92 pub type VisualElementsRequestDeferral = *mut ::core::ffi::c_void; 93 pub type VisualElementsRequestedEventArgs = *mut ::core::ffi::c_void; 94