1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] 2 #[cfg(feature = "ApplicationModel_UserDataTasks_DataProvider")] 3 pub mod DataProvider; 4 #[link(name = "windows")] 5 extern "system" {} 6 pub type UserDataTask = *mut ::core::ffi::c_void; 7 pub type UserDataTaskBatch = *mut ::core::ffi::c_void; 8 #[repr(transparent)] 9 pub struct UserDataTaskDaysOfWeek(pub u32); 10 impl UserDataTaskDaysOfWeek { 11 pub const None: Self = Self(0u32); 12 pub const Sunday: Self = Self(1u32); 13 pub const Monday: Self = Self(2u32); 14 pub const Tuesday: Self = Self(4u32); 15 pub const Wednesday: Self = Self(8u32); 16 pub const Thursday: Self = Self(16u32); 17 pub const Friday: Self = Self(32u32); 18 pub const Saturday: Self = Self(64u32); 19 } 20 impl ::core::marker::Copy for UserDataTaskDaysOfWeek {} 21 impl ::core::clone::Clone for UserDataTaskDaysOfWeek { clone(&self) -> Self22 fn clone(&self) -> Self { 23 *self 24 } 25 } 26 #[repr(transparent)] 27 pub struct UserDataTaskDetailsKind(pub i32); 28 impl UserDataTaskDetailsKind { 29 pub const PlainText: Self = Self(0i32); 30 pub const Html: Self = Self(1i32); 31 } 32 impl ::core::marker::Copy for UserDataTaskDetailsKind {} 33 impl ::core::clone::Clone for UserDataTaskDetailsKind { clone(&self) -> Self34 fn clone(&self) -> Self { 35 *self 36 } 37 } 38 #[repr(transparent)] 39 pub struct UserDataTaskKind(pub i32); 40 impl UserDataTaskKind { 41 pub const Single: Self = Self(0i32); 42 pub const Recurring: Self = Self(1i32); 43 pub const Regenerating: Self = Self(2i32); 44 } 45 impl ::core::marker::Copy for UserDataTaskKind {} 46 impl ::core::clone::Clone for UserDataTaskKind { clone(&self) -> Self47 fn clone(&self) -> Self { 48 *self 49 } 50 } 51 pub type UserDataTaskList = *mut ::core::ffi::c_void; 52 pub type UserDataTaskListLimitedWriteOperations = *mut ::core::ffi::c_void; 53 #[repr(transparent)] 54 pub struct UserDataTaskListOtherAppReadAccess(pub i32); 55 impl UserDataTaskListOtherAppReadAccess { 56 pub const Full: Self = Self(0i32); 57 pub const SystemOnly: Self = Self(1i32); 58 pub const None: Self = Self(2i32); 59 } 60 impl ::core::marker::Copy for UserDataTaskListOtherAppReadAccess {} 61 impl ::core::clone::Clone for UserDataTaskListOtherAppReadAccess { clone(&self) -> Self62 fn clone(&self) -> Self { 63 *self 64 } 65 } 66 #[repr(transparent)] 67 pub struct UserDataTaskListOtherAppWriteAccess(pub i32); 68 impl UserDataTaskListOtherAppWriteAccess { 69 pub const Limited: Self = Self(0i32); 70 pub const None: Self = Self(1i32); 71 } 72 impl ::core::marker::Copy for UserDataTaskListOtherAppWriteAccess {} 73 impl ::core::clone::Clone for UserDataTaskListOtherAppWriteAccess { clone(&self) -> Self74 fn clone(&self) -> Self { 75 *self 76 } 77 } 78 pub type UserDataTaskListSyncManager = *mut ::core::ffi::c_void; 79 #[repr(transparent)] 80 pub struct UserDataTaskListSyncStatus(pub i32); 81 impl UserDataTaskListSyncStatus { 82 pub const Idle: Self = Self(0i32); 83 pub const Syncing: Self = Self(1i32); 84 pub const UpToDate: Self = Self(2i32); 85 pub const AuthenticationError: Self = Self(3i32); 86 pub const PolicyError: Self = Self(4i32); 87 pub const UnknownError: Self = Self(5i32); 88 } 89 impl ::core::marker::Copy for UserDataTaskListSyncStatus {} 90 impl ::core::clone::Clone for UserDataTaskListSyncStatus { clone(&self) -> Self91 fn clone(&self) -> Self { 92 *self 93 } 94 } 95 pub type UserDataTaskManager = *mut ::core::ffi::c_void; 96 #[repr(transparent)] 97 pub struct UserDataTaskPriority(pub i32); 98 impl UserDataTaskPriority { 99 pub const Normal: Self = Self(0i32); 100 pub const Low: Self = Self(-1i32); 101 pub const High: Self = Self(1i32); 102 } 103 impl ::core::marker::Copy for UserDataTaskPriority {} 104 impl ::core::clone::Clone for UserDataTaskPriority { clone(&self) -> Self105 fn clone(&self) -> Self { 106 *self 107 } 108 } 109 #[repr(transparent)] 110 pub struct UserDataTaskQueryKind(pub i32); 111 impl UserDataTaskQueryKind { 112 pub const All: Self = Self(0i32); 113 pub const Incomplete: Self = Self(1i32); 114 pub const Complete: Self = Self(2i32); 115 } 116 impl ::core::marker::Copy for UserDataTaskQueryKind {} 117 impl ::core::clone::Clone for UserDataTaskQueryKind { clone(&self) -> Self118 fn clone(&self) -> Self { 119 *self 120 } 121 } 122 pub type UserDataTaskQueryOptions = *mut ::core::ffi::c_void; 123 #[repr(transparent)] 124 pub struct UserDataTaskQuerySortProperty(pub i32); 125 impl UserDataTaskQuerySortProperty { 126 pub const DueDate: Self = Self(0i32); 127 } 128 impl ::core::marker::Copy for UserDataTaskQuerySortProperty {} 129 impl ::core::clone::Clone for UserDataTaskQuerySortProperty { clone(&self) -> Self130 fn clone(&self) -> Self { 131 *self 132 } 133 } 134 pub type UserDataTaskReader = *mut ::core::ffi::c_void; 135 pub type UserDataTaskRecurrenceProperties = *mut ::core::ffi::c_void; 136 #[repr(transparent)] 137 pub struct UserDataTaskRecurrenceUnit(pub i32); 138 impl UserDataTaskRecurrenceUnit { 139 pub const Daily: Self = Self(0i32); 140 pub const Weekly: Self = Self(1i32); 141 pub const Monthly: Self = Self(2i32); 142 pub const MonthlyOnDay: Self = Self(3i32); 143 pub const Yearly: Self = Self(4i32); 144 pub const YearlyOnDay: Self = Self(5i32); 145 } 146 impl ::core::marker::Copy for UserDataTaskRecurrenceUnit {} 147 impl ::core::clone::Clone for UserDataTaskRecurrenceUnit { clone(&self) -> Self148 fn clone(&self) -> Self { 149 *self 150 } 151 } 152 pub type UserDataTaskRegenerationProperties = *mut ::core::ffi::c_void; 153 #[repr(transparent)] 154 pub struct UserDataTaskRegenerationUnit(pub i32); 155 impl UserDataTaskRegenerationUnit { 156 pub const Daily: Self = Self(0i32); 157 pub const Weekly: Self = Self(1i32); 158 pub const Monthly: Self = Self(2i32); 159 pub const Yearly: Self = Self(4i32); 160 } 161 impl ::core::marker::Copy for UserDataTaskRegenerationUnit {} 162 impl ::core::clone::Clone for UserDataTaskRegenerationUnit { clone(&self) -> Self163 fn clone(&self) -> Self { 164 *self 165 } 166 } 167 #[repr(transparent)] 168 pub struct UserDataTaskSensitivity(pub i32); 169 impl UserDataTaskSensitivity { 170 pub const Public: Self = Self(0i32); 171 pub const Private: Self = Self(1i32); 172 } 173 impl ::core::marker::Copy for UserDataTaskSensitivity {} 174 impl ::core::clone::Clone for UserDataTaskSensitivity { clone(&self) -> Self175 fn clone(&self) -> Self { 176 *self 177 } 178 } 179 pub type UserDataTaskStore = *mut ::core::ffi::c_void; 180 #[repr(transparent)] 181 pub struct UserDataTaskStoreAccessType(pub i32); 182 impl UserDataTaskStoreAccessType { 183 pub const AppTasksReadWrite: Self = Self(0i32); 184 pub const AllTasksLimitedReadWrite: Self = Self(1i32); 185 } 186 impl ::core::marker::Copy for UserDataTaskStoreAccessType {} 187 impl ::core::clone::Clone for UserDataTaskStoreAccessType { clone(&self) -> Self188 fn clone(&self) -> Self { 189 *self 190 } 191 } 192 #[repr(transparent)] 193 pub struct UserDataTaskWeekOfMonth(pub i32); 194 impl UserDataTaskWeekOfMonth { 195 pub const First: Self = Self(0i32); 196 pub const Second: Self = Self(1i32); 197 pub const Third: Self = Self(2i32); 198 pub const Fourth: Self = Self(3i32); 199 pub const Last: Self = Self(4i32); 200 } 201 impl ::core::marker::Copy for UserDataTaskWeekOfMonth {} 202 impl ::core::clone::Clone for UserDataTaskWeekOfMonth { clone(&self) -> Self203 fn clone(&self) -> Self { 204 *self 205 } 206 } 207