1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 #[cfg(feature = "ApplicationModel_UserDataTasks_DataProvider")]
4 #[link(name = "windows")]
6 pub type UserDataTask
= *mut ::core
::ffi
::c_void
;
7 pub type UserDataTaskBatch
= *mut ::core
::ffi
::c_void
;
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);
20 impl ::core
::marker
::Copy
for UserDataTaskDaysOfWeek {}
21 impl ::core
::clone
::Clone
for UserDataTaskDaysOfWeek
{
22 fn clone(&self) -> Self {
27 pub struct UserDataTaskDetailsKind(pub i32);
28 impl UserDataTaskDetailsKind
{
29 pub const PlainText
: Self = Self(0i32);
30 pub const Html
: Self = Self(1i32);
32 impl ::core
::marker
::Copy
for UserDataTaskDetailsKind {}
33 impl ::core
::clone
::Clone
for UserDataTaskDetailsKind
{
34 fn clone(&self) -> Self {
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);
45 impl ::core
::marker
::Copy
for UserDataTaskKind {}
46 impl ::core
::clone
::Clone
for UserDataTaskKind
{
47 fn clone(&self) -> Self {
51 pub type UserDataTaskList
= *mut ::core
::ffi
::c_void
;
52 pub type UserDataTaskListLimitedWriteOperations
= *mut ::core
::ffi
::c_void
;
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);
60 impl ::core
::marker
::Copy
for UserDataTaskListOtherAppReadAccess {}
61 impl ::core
::clone
::Clone
for UserDataTaskListOtherAppReadAccess
{
62 fn clone(&self) -> Self {
67 pub struct UserDataTaskListOtherAppWriteAccess(pub i32);
68 impl UserDataTaskListOtherAppWriteAccess
{
69 pub const Limited
: Self = Self(0i32);
70 pub const None
: Self = Self(1i32);
72 impl ::core
::marker
::Copy
for UserDataTaskListOtherAppWriteAccess {}
73 impl ::core
::clone
::Clone
for UserDataTaskListOtherAppWriteAccess
{
74 fn clone(&self) -> Self {
78 pub type UserDataTaskListSyncManager
= *mut ::core
::ffi
::c_void
;
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);
89 impl ::core
::marker
::Copy
for UserDataTaskListSyncStatus {}
90 impl ::core
::clone
::Clone
for UserDataTaskListSyncStatus
{
91 fn clone(&self) -> Self {
95 pub type UserDataTaskManager
= *mut ::core
::ffi
::c_void
;
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);
103 impl ::core
::marker
::Copy
for UserDataTaskPriority {}
104 impl ::core
::clone
::Clone
for UserDataTaskPriority
{
105 fn clone(&self) -> Self {
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);
116 impl ::core
::marker
::Copy
for UserDataTaskQueryKind {}
117 impl ::core
::clone
::Clone
for UserDataTaskQueryKind
{
118 fn clone(&self) -> Self {
122 pub type UserDataTaskQueryOptions
= *mut ::core
::ffi
::c_void
;
124 pub struct UserDataTaskQuerySortProperty(pub i32);
125 impl UserDataTaskQuerySortProperty
{
126 pub const DueDate
: Self = Self(0i32);
128 impl ::core
::marker
::Copy
for UserDataTaskQuerySortProperty {}
129 impl ::core
::clone
::Clone
for UserDataTaskQuerySortProperty
{
130 fn clone(&self) -> Self {
134 pub type UserDataTaskReader
= *mut ::core
::ffi
::c_void
;
135 pub type UserDataTaskRecurrenceProperties
= *mut ::core
::ffi
::c_void
;
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);
146 impl ::core
::marker
::Copy
for UserDataTaskRecurrenceUnit {}
147 impl ::core
::clone
::Clone
for UserDataTaskRecurrenceUnit
{
148 fn clone(&self) -> Self {
152 pub type UserDataTaskRegenerationProperties
= *mut ::core
::ffi
::c_void
;
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);
161 impl ::core
::marker
::Copy
for UserDataTaskRegenerationUnit {}
162 impl ::core
::clone
::Clone
for UserDataTaskRegenerationUnit
{
163 fn clone(&self) -> Self {
168 pub struct UserDataTaskSensitivity(pub i32);
169 impl UserDataTaskSensitivity
{
170 pub const Public
: Self = Self(0i32);
171 pub const Private
: Self = Self(1i32);
173 impl ::core
::marker
::Copy
for UserDataTaskSensitivity {}
174 impl ::core
::clone
::Clone
for UserDataTaskSensitivity
{
175 fn clone(&self) -> Self {
179 pub type UserDataTaskStore
= *mut ::core
::ffi
::c_void
;
181 pub struct UserDataTaskStoreAccessType(pub i32);
182 impl UserDataTaskStoreAccessType
{
183 pub const AppTasksReadWrite
: Self = Self(0i32);
184 pub const AllTasksLimitedReadWrite
: Self = Self(1i32);
186 impl ::core
::marker
::Copy
for UserDataTaskStoreAccessType {}
187 impl ::core
::clone
::Clone
for UserDataTaskStoreAccessType
{
188 fn clone(&self) -> Self {
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);
201 impl ::core
::marker
::Copy
for UserDataTaskWeekOfMonth {}
202 impl ::core
::clone
::Clone
for UserDataTaskWeekOfMonth
{
203 fn clone(&self) -> Self {