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