]>
Commit | Line | Data |
---|---|---|
5e7ed085 FG |
1 | #[cfg(feature = "ApplicationModel_Contacts_DataProvider")] |
2 | pub mod DataProvider; | |
3 | #[cfg(feature = "ApplicationModel_Contacts_Provider")] | |
4 | pub mod Provider; | |
5 | pub type AggregateContactManager = *mut ::core::ffi::c_void; | |
6 | pub type Contact = *mut ::core::ffi::c_void; | |
7 | pub type ContactAddress = *mut ::core::ffi::c_void; | |
04454e1e | 8 | #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] |
5e7ed085 FG |
9 | #[repr(transparent)] |
10 | pub struct ContactAddressKind(pub i32); | |
11 | impl ContactAddressKind { | |
12 | pub const Home: Self = Self(0i32); | |
13 | pub const Work: Self = Self(1i32); | |
14 | pub const Other: Self = Self(2i32); | |
15 | } | |
16 | impl ::core::marker::Copy for ContactAddressKind {} | |
17 | impl ::core::clone::Clone for ContactAddressKind { | |
18 | fn clone(&self) -> Self { | |
19 | *self | |
20 | } | |
21 | } | |
22 | pub type ContactAnnotation = *mut ::core::ffi::c_void; | |
23 | pub type ContactAnnotationList = *mut ::core::ffi::c_void; | |
04454e1e | 24 | #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] |
5e7ed085 FG |
25 | #[repr(transparent)] |
26 | pub struct ContactAnnotationOperations(pub u32); | |
27 | impl ContactAnnotationOperations { | |
28 | pub const None: Self = Self(0u32); | |
29 | pub const ContactProfile: Self = Self(1u32); | |
30 | pub const Message: Self = Self(2u32); | |
31 | pub const AudioCall: Self = Self(4u32); | |
32 | pub const VideoCall: Self = Self(8u32); | |
33 | pub const SocialFeeds: Self = Self(16u32); | |
34 | pub const Share: Self = Self(32u32); | |
35 | } | |
36 | impl ::core::marker::Copy for ContactAnnotationOperations {} | |
37 | impl ::core::clone::Clone for ContactAnnotationOperations { | |
38 | fn clone(&self) -> Self { | |
39 | *self | |
40 | } | |
41 | } | |
42 | pub type ContactAnnotationStore = *mut ::core::ffi::c_void; | |
04454e1e | 43 | #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] |
5e7ed085 FG |
44 | #[repr(transparent)] |
45 | pub struct ContactAnnotationStoreAccessType(pub i32); | |
46 | impl ContactAnnotationStoreAccessType { | |
47 | pub const AppAnnotationsReadWrite: Self = Self(0i32); | |
48 | pub const AllAnnotationsReadWrite: Self = Self(1i32); | |
49 | } | |
50 | impl ::core::marker::Copy for ContactAnnotationStoreAccessType {} | |
51 | impl ::core::clone::Clone for ContactAnnotationStoreAccessType { | |
52 | fn clone(&self) -> Self { | |
53 | *self | |
54 | } | |
55 | } | |
56 | pub type ContactBatch = *mut ::core::ffi::c_void; | |
04454e1e | 57 | #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] |
5e7ed085 FG |
58 | #[repr(transparent)] |
59 | pub struct ContactBatchStatus(pub i32); | |
60 | impl ContactBatchStatus { | |
61 | pub const Success: Self = Self(0i32); | |
62 | pub const ServerSearchSyncManagerError: Self = Self(1i32); | |
63 | pub const ServerSearchUnknownError: Self = Self(2i32); | |
64 | } | |
65 | impl ::core::marker::Copy for ContactBatchStatus {} | |
66 | impl ::core::clone::Clone for ContactBatchStatus { | |
67 | fn clone(&self) -> Self { | |
68 | *self | |
69 | } | |
70 | } | |
71 | pub type ContactCardDelayedDataLoader = *mut ::core::ffi::c_void; | |
04454e1e | 72 | #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] |
5e7ed085 FG |
73 | #[repr(transparent)] |
74 | pub struct ContactCardHeaderKind(pub i32); | |
75 | impl ContactCardHeaderKind { | |
76 | pub const Default: Self = Self(0i32); | |
77 | pub const Basic: Self = Self(1i32); | |
78 | pub const Enterprise: Self = Self(2i32); | |
79 | } | |
80 | impl ::core::marker::Copy for ContactCardHeaderKind {} | |
81 | impl ::core::clone::Clone for ContactCardHeaderKind { | |
82 | fn clone(&self) -> Self { | |
83 | *self | |
84 | } | |
85 | } | |
86 | pub type ContactCardOptions = *mut ::core::ffi::c_void; | |
04454e1e | 87 | #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] |
5e7ed085 FG |
88 | #[repr(transparent)] |
89 | pub struct ContactCardTabKind(pub i32); | |
90 | impl ContactCardTabKind { | |
91 | pub const Default: Self = Self(0i32); | |
92 | pub const Email: Self = Self(1i32); | |
93 | pub const Messaging: Self = Self(2i32); | |
94 | pub const Phone: Self = Self(3i32); | |
95 | pub const Video: Self = Self(4i32); | |
96 | pub const OrganizationalHierarchy: Self = Self(5i32); | |
97 | } | |
98 | impl ::core::marker::Copy for ContactCardTabKind {} | |
99 | impl ::core::clone::Clone for ContactCardTabKind { | |
100 | fn clone(&self) -> Self { | |
101 | *self | |
102 | } | |
103 | } | |
104 | pub type ContactChange = *mut ::core::ffi::c_void; | |
105 | pub type ContactChangeReader = *mut ::core::ffi::c_void; | |
106 | pub type ContactChangeTracker = *mut ::core::ffi::c_void; | |
04454e1e | 107 | #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] |
5e7ed085 FG |
108 | #[repr(transparent)] |
109 | pub struct ContactChangeType(pub i32); | |
110 | impl ContactChangeType { | |
111 | pub const Created: Self = Self(0i32); | |
112 | pub const Modified: Self = Self(1i32); | |
113 | pub const Deleted: Self = Self(2i32); | |
114 | pub const ChangeTrackingLost: Self = Self(3i32); | |
115 | } | |
116 | impl ::core::marker::Copy for ContactChangeType {} | |
117 | impl ::core::clone::Clone for ContactChangeType { | |
118 | fn clone(&self) -> Self { | |
119 | *self | |
120 | } | |
121 | } | |
122 | pub type ContactChangedDeferral = *mut ::core::ffi::c_void; | |
123 | pub type ContactChangedEventArgs = *mut ::core::ffi::c_void; | |
124 | pub type ContactConnectedServiceAccount = *mut ::core::ffi::c_void; | |
125 | pub type ContactDate = *mut ::core::ffi::c_void; | |
04454e1e | 126 | #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] |
5e7ed085 FG |
127 | #[repr(transparent)] |
128 | pub struct ContactDateKind(pub i32); | |
129 | impl ContactDateKind { | |
130 | pub const Birthday: Self = Self(0i32); | |
131 | pub const Anniversary: Self = Self(1i32); | |
132 | pub const Other: Self = Self(2i32); | |
133 | } | |
134 | impl ::core::marker::Copy for ContactDateKind {} | |
135 | impl ::core::clone::Clone for ContactDateKind { | |
136 | fn clone(&self) -> Self { | |
137 | *self | |
138 | } | |
139 | } | |
140 | pub type ContactEmail = *mut ::core::ffi::c_void; | |
04454e1e | 141 | #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] |
5e7ed085 FG |
142 | #[repr(transparent)] |
143 | pub struct ContactEmailKind(pub i32); | |
144 | impl ContactEmailKind { | |
145 | pub const Personal: Self = Self(0i32); | |
146 | pub const Work: Self = Self(1i32); | |
147 | pub const Other: Self = Self(2i32); | |
148 | } | |
149 | impl ::core::marker::Copy for ContactEmailKind {} | |
150 | impl ::core::clone::Clone for ContactEmailKind { | |
151 | fn clone(&self) -> Self { | |
152 | *self | |
153 | } | |
154 | } | |
155 | pub type ContactField = *mut ::core::ffi::c_void; | |
04454e1e | 156 | #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] |
5e7ed085 FG |
157 | #[repr(transparent)] |
158 | pub struct ContactFieldCategory(pub i32); | |
159 | impl ContactFieldCategory { | |
160 | pub const None: Self = Self(0i32); | |
161 | pub const Home: Self = Self(1i32); | |
162 | pub const Work: Self = Self(2i32); | |
163 | pub const Mobile: Self = Self(3i32); | |
164 | pub const Other: Self = Self(4i32); | |
165 | } | |
166 | impl ::core::marker::Copy for ContactFieldCategory {} | |
167 | impl ::core::clone::Clone for ContactFieldCategory { | |
168 | fn clone(&self) -> Self { | |
169 | *self | |
170 | } | |
171 | } | |
172 | pub type ContactFieldFactory = *mut ::core::ffi::c_void; | |
04454e1e | 173 | #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] |
5e7ed085 FG |
174 | #[repr(transparent)] |
175 | pub struct ContactFieldType(pub i32); | |
176 | impl ContactFieldType { | |
177 | pub const Email: Self = Self(0i32); | |
178 | pub const PhoneNumber: Self = Self(1i32); | |
179 | pub const Location: Self = Self(2i32); | |
180 | pub const InstantMessage: Self = Self(3i32); | |
181 | pub const Custom: Self = Self(4i32); | |
182 | pub const ConnectedServiceAccount: Self = Self(5i32); | |
183 | pub const ImportantDate: Self = Self(6i32); | |
184 | pub const Address: Self = Self(7i32); | |
185 | pub const SignificantOther: Self = Self(8i32); | |
186 | pub const Notes: Self = Self(9i32); | |
187 | pub const Website: Self = Self(10i32); | |
188 | pub const JobInfo: Self = Self(11i32); | |
189 | } | |
190 | impl ::core::marker::Copy for ContactFieldType {} | |
191 | impl ::core::clone::Clone for ContactFieldType { | |
192 | fn clone(&self) -> Self { | |
193 | *self | |
194 | } | |
195 | } | |
196 | pub type ContactGroup = *mut ::core::ffi::c_void; | |
197 | pub type ContactInformation = *mut ::core::ffi::c_void; | |
198 | pub type ContactInstantMessageField = *mut ::core::ffi::c_void; | |
199 | pub type ContactJobInfo = *mut ::core::ffi::c_void; | |
200 | pub type ContactList = *mut ::core::ffi::c_void; | |
201 | pub type ContactListLimitedWriteOperations = *mut ::core::ffi::c_void; | |
04454e1e | 202 | #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] |
5e7ed085 FG |
203 | #[repr(transparent)] |
204 | pub struct ContactListOtherAppReadAccess(pub i32); | |
205 | impl ContactListOtherAppReadAccess { | |
206 | pub const SystemOnly: Self = Self(0i32); | |
207 | pub const Limited: Self = Self(1i32); | |
208 | pub const Full: Self = Self(2i32); | |
209 | pub const None: Self = Self(3i32); | |
210 | } | |
211 | impl ::core::marker::Copy for ContactListOtherAppReadAccess {} | |
212 | impl ::core::clone::Clone for ContactListOtherAppReadAccess { | |
213 | fn clone(&self) -> Self { | |
214 | *self | |
215 | } | |
216 | } | |
04454e1e | 217 | #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] |
5e7ed085 FG |
218 | #[repr(transparent)] |
219 | pub struct ContactListOtherAppWriteAccess(pub i32); | |
220 | impl ContactListOtherAppWriteAccess { | |
221 | pub const None: Self = Self(0i32); | |
222 | pub const SystemOnly: Self = Self(1i32); | |
223 | pub const Limited: Self = Self(2i32); | |
224 | } | |
225 | impl ::core::marker::Copy for ContactListOtherAppWriteAccess {} | |
226 | impl ::core::clone::Clone for ContactListOtherAppWriteAccess { | |
227 | fn clone(&self) -> Self { | |
228 | *self | |
229 | } | |
230 | } | |
231 | pub type ContactListSyncConstraints = *mut ::core::ffi::c_void; | |
232 | pub type ContactListSyncManager = *mut ::core::ffi::c_void; | |
04454e1e | 233 | #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] |
5e7ed085 FG |
234 | #[repr(transparent)] |
235 | pub struct ContactListSyncStatus(pub i32); | |
236 | impl ContactListSyncStatus { | |
237 | pub const Idle: Self = Self(0i32); | |
238 | pub const Syncing: Self = Self(1i32); | |
239 | pub const UpToDate: Self = Self(2i32); | |
240 | pub const AuthenticationError: Self = Self(3i32); | |
241 | pub const PolicyError: Self = Self(4i32); | |
242 | pub const UnknownError: Self = Self(5i32); | |
243 | pub const ManualAccountRemovalRequired: Self = Self(6i32); | |
244 | } | |
245 | impl ::core::marker::Copy for ContactListSyncStatus {} | |
246 | impl ::core::clone::Clone for ContactListSyncStatus { | |
247 | fn clone(&self) -> Self { | |
248 | *self | |
249 | } | |
250 | } | |
251 | pub type ContactLocationField = *mut ::core::ffi::c_void; | |
252 | pub type ContactManagerForUser = *mut ::core::ffi::c_void; | |
253 | pub type ContactMatchReason = *mut ::core::ffi::c_void; | |
04454e1e | 254 | #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] |
5e7ed085 FG |
255 | #[repr(transparent)] |
256 | pub struct ContactMatchReasonKind(pub i32); | |
257 | impl ContactMatchReasonKind { | |
258 | pub const Name: Self = Self(0i32); | |
259 | pub const EmailAddress: Self = Self(1i32); | |
260 | pub const PhoneNumber: Self = Self(2i32); | |
261 | pub const JobInfo: Self = Self(3i32); | |
262 | pub const YomiName: Self = Self(4i32); | |
263 | pub const Other: Self = Self(5i32); | |
264 | } | |
265 | impl ::core::marker::Copy for ContactMatchReasonKind {} | |
266 | impl ::core::clone::Clone for ContactMatchReasonKind { | |
267 | fn clone(&self) -> Self { | |
268 | *self | |
269 | } | |
270 | } | |
04454e1e | 271 | #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] |
5e7ed085 FG |
272 | #[repr(transparent)] |
273 | pub struct ContactNameOrder(pub i32); | |
274 | impl ContactNameOrder { | |
275 | pub const FirstNameLastName: Self = Self(0i32); | |
276 | pub const LastNameFirstName: Self = Self(1i32); | |
277 | } | |
278 | impl ::core::marker::Copy for ContactNameOrder {} | |
279 | impl ::core::clone::Clone for ContactNameOrder { | |
280 | fn clone(&self) -> Self { | |
281 | *self | |
282 | } | |
283 | } | |
284 | pub type ContactPanel = *mut ::core::ffi::c_void; | |
285 | pub type ContactPanelClosingEventArgs = *mut ::core::ffi::c_void; | |
286 | pub type ContactPanelLaunchFullAppRequestedEventArgs = *mut ::core::ffi::c_void; | |
287 | pub type ContactPhone = *mut ::core::ffi::c_void; | |
04454e1e | 288 | #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] |
5e7ed085 FG |
289 | #[repr(transparent)] |
290 | pub struct ContactPhoneKind(pub i32); | |
291 | impl ContactPhoneKind { | |
292 | pub const Home: Self = Self(0i32); | |
293 | pub const Mobile: Self = Self(1i32); | |
294 | pub const Work: Self = Self(2i32); | |
295 | pub const Other: Self = Self(3i32); | |
296 | pub const Pager: Self = Self(4i32); | |
297 | pub const BusinessFax: Self = Self(5i32); | |
298 | pub const HomeFax: Self = Self(6i32); | |
299 | pub const Company: Self = Self(7i32); | |
300 | pub const Assistant: Self = Self(8i32); | |
301 | pub const Radio: Self = Self(9i32); | |
302 | } | |
303 | impl ::core::marker::Copy for ContactPhoneKind {} | |
304 | impl ::core::clone::Clone for ContactPhoneKind { | |
305 | fn clone(&self) -> Self { | |
306 | *self | |
307 | } | |
308 | } | |
309 | pub type ContactPicker = *mut ::core::ffi::c_void; | |
04454e1e | 310 | #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] |
5e7ed085 FG |
311 | #[repr(transparent)] |
312 | pub struct ContactQueryDesiredFields(pub u32); | |
313 | impl ContactQueryDesiredFields { | |
314 | pub const None: Self = Self(0u32); | |
315 | pub const PhoneNumber: Self = Self(1u32); | |
316 | pub const EmailAddress: Self = Self(2u32); | |
317 | pub const PostalAddress: Self = Self(4u32); | |
318 | } | |
319 | impl ::core::marker::Copy for ContactQueryDesiredFields {} | |
320 | impl ::core::clone::Clone for ContactQueryDesiredFields { | |
321 | fn clone(&self) -> Self { | |
322 | *self | |
323 | } | |
324 | } | |
325 | pub type ContactQueryOptions = *mut ::core::ffi::c_void; | |
04454e1e | 326 | #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] |
5e7ed085 FG |
327 | #[repr(transparent)] |
328 | pub struct ContactQuerySearchFields(pub u32); | |
329 | impl ContactQuerySearchFields { | |
330 | pub const None: Self = Self(0u32); | |
331 | pub const Name: Self = Self(1u32); | |
332 | pub const Email: Self = Self(2u32); | |
333 | pub const Phone: Self = Self(4u32); | |
334 | pub const All: Self = Self(4294967295u32); | |
335 | } | |
336 | impl ::core::marker::Copy for ContactQuerySearchFields {} | |
337 | impl ::core::clone::Clone for ContactQuerySearchFields { | |
338 | fn clone(&self) -> Self { | |
339 | *self | |
340 | } | |
341 | } | |
04454e1e | 342 | #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] |
5e7ed085 FG |
343 | #[repr(transparent)] |
344 | pub struct ContactQuerySearchScope(pub i32); | |
345 | impl ContactQuerySearchScope { | |
346 | pub const Local: Self = Self(0i32); | |
347 | pub const Server: Self = Self(1i32); | |
348 | } | |
349 | impl ::core::marker::Copy for ContactQuerySearchScope {} | |
350 | impl ::core::clone::Clone for ContactQuerySearchScope { | |
351 | fn clone(&self) -> Self { | |
352 | *self | |
353 | } | |
354 | } | |
355 | pub type ContactQueryTextSearch = *mut ::core::ffi::c_void; | |
356 | pub type ContactReader = *mut ::core::ffi::c_void; | |
04454e1e | 357 | #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] |
5e7ed085 FG |
358 | #[repr(transparent)] |
359 | pub struct ContactRelationship(pub i32); | |
360 | impl ContactRelationship { | |
361 | pub const Other: Self = Self(0i32); | |
362 | pub const Spouse: Self = Self(1i32); | |
363 | pub const Partner: Self = Self(2i32); | |
364 | pub const Sibling: Self = Self(3i32); | |
365 | pub const Parent: Self = Self(4i32); | |
366 | pub const Child: Self = Self(5i32); | |
367 | } | |
368 | impl ::core::marker::Copy for ContactRelationship {} | |
369 | impl ::core::clone::Clone for ContactRelationship { | |
370 | fn clone(&self) -> Self { | |
371 | *self | |
372 | } | |
373 | } | |
04454e1e | 374 | #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] |
5e7ed085 FG |
375 | #[repr(transparent)] |
376 | pub struct ContactSelectionMode(pub i32); | |
377 | impl ContactSelectionMode { | |
378 | pub const Contacts: Self = Self(0i32); | |
379 | pub const Fields: Self = Self(1i32); | |
380 | } | |
381 | impl ::core::marker::Copy for ContactSelectionMode {} | |
382 | impl ::core::clone::Clone for ContactSelectionMode { | |
383 | fn clone(&self) -> Self { | |
384 | *self | |
385 | } | |
386 | } | |
387 | pub type ContactSignificantOther = *mut ::core::ffi::c_void; | |
388 | pub type ContactStore = *mut ::core::ffi::c_void; | |
04454e1e | 389 | #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] |
5e7ed085 FG |
390 | #[repr(transparent)] |
391 | pub struct ContactStoreAccessType(pub i32); | |
392 | impl ContactStoreAccessType { | |
393 | pub const AppContactsReadWrite: Self = Self(0i32); | |
394 | pub const AllContactsReadOnly: Self = Self(1i32); | |
395 | pub const AllContactsReadWrite: Self = Self(2i32); | |
396 | } | |
397 | impl ::core::marker::Copy for ContactStoreAccessType {} | |
398 | impl ::core::clone::Clone for ContactStoreAccessType { | |
399 | fn clone(&self) -> Self { | |
400 | *self | |
401 | } | |
402 | } | |
403 | pub type ContactStoreNotificationTriggerDetails = *mut ::core::ffi::c_void; | |
404 | pub type ContactWebsite = *mut ::core::ffi::c_void; | |
405 | pub type FullContactCardOptions = *mut ::core::ffi::c_void; | |
406 | pub type IContactField = *mut ::core::ffi::c_void; | |
407 | pub type IContactFieldFactory = *mut ::core::ffi::c_void; | |
408 | pub type IContactInstantMessageFieldFactory = *mut ::core::ffi::c_void; | |
409 | pub type IContactLocationFieldFactory = *mut ::core::ffi::c_void; | |
410 | pub type PinnedContactIdsQueryResult = *mut ::core::ffi::c_void; | |
411 | pub type PinnedContactManager = *mut ::core::ffi::c_void; | |
04454e1e | 412 | #[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] |
5e7ed085 FG |
413 | #[repr(transparent)] |
414 | pub struct PinnedContactSurface(pub i32); | |
415 | impl PinnedContactSurface { | |
416 | pub const StartMenu: Self = Self(0i32); | |
417 | pub const Taskbar: Self = Self(1i32); | |
418 | } | |
419 | impl ::core::marker::Copy for PinnedContactSurface {} | |
420 | impl ::core::clone::Clone for PinnedContactSurface { | |
421 | fn clone(&self) -> Self { | |
422 | *self | |
423 | } | |
424 | } |