]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/ApplicationModel/Contacts/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / ApplicationModel / Contacts / mod.rs
CommitLineData
5e7ed085
FG
1#[cfg(feature = "ApplicationModel_Contacts_DataProvider")]
2pub mod DataProvider;
3#[cfg(feature = "ApplicationModel_Contacts_Provider")]
4pub mod Provider;
5pub type AggregateContactManager = *mut ::core::ffi::c_void;
6pub type Contact = *mut ::core::ffi::c_void;
7pub type ContactAddress = *mut ::core::ffi::c_void;
04454e1e 8#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5e7ed085
FG
9#[repr(transparent)]
10pub struct ContactAddressKind(pub i32);
11impl ContactAddressKind {
12 pub const Home: Self = Self(0i32);
13 pub const Work: Self = Self(1i32);
14 pub const Other: Self = Self(2i32);
15}
16impl ::core::marker::Copy for ContactAddressKind {}
17impl ::core::clone::Clone for ContactAddressKind {
18 fn clone(&self) -> Self {
19 *self
20 }
21}
22pub type ContactAnnotation = *mut ::core::ffi::c_void;
23pub type ContactAnnotationList = *mut ::core::ffi::c_void;
04454e1e 24#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5e7ed085
FG
25#[repr(transparent)]
26pub struct ContactAnnotationOperations(pub u32);
27impl 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}
36impl ::core::marker::Copy for ContactAnnotationOperations {}
37impl ::core::clone::Clone for ContactAnnotationOperations {
38 fn clone(&self) -> Self {
39 *self
40 }
41}
42pub type ContactAnnotationStore = *mut ::core::ffi::c_void;
04454e1e 43#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5e7ed085
FG
44#[repr(transparent)]
45pub struct ContactAnnotationStoreAccessType(pub i32);
46impl ContactAnnotationStoreAccessType {
47 pub const AppAnnotationsReadWrite: Self = Self(0i32);
48 pub const AllAnnotationsReadWrite: Self = Self(1i32);
49}
50impl ::core::marker::Copy for ContactAnnotationStoreAccessType {}
51impl ::core::clone::Clone for ContactAnnotationStoreAccessType {
52 fn clone(&self) -> Self {
53 *self
54 }
55}
56pub type ContactBatch = *mut ::core::ffi::c_void;
04454e1e 57#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5e7ed085
FG
58#[repr(transparent)]
59pub struct ContactBatchStatus(pub i32);
60impl ContactBatchStatus {
61 pub const Success: Self = Self(0i32);
62 pub const ServerSearchSyncManagerError: Self = Self(1i32);
63 pub const ServerSearchUnknownError: Self = Self(2i32);
64}
65impl ::core::marker::Copy for ContactBatchStatus {}
66impl ::core::clone::Clone for ContactBatchStatus {
67 fn clone(&self) -> Self {
68 *self
69 }
70}
71pub type ContactCardDelayedDataLoader = *mut ::core::ffi::c_void;
04454e1e 72#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5e7ed085
FG
73#[repr(transparent)]
74pub struct ContactCardHeaderKind(pub i32);
75impl ContactCardHeaderKind {
76 pub const Default: Self = Self(0i32);
77 pub const Basic: Self = Self(1i32);
78 pub const Enterprise: Self = Self(2i32);
79}
80impl ::core::marker::Copy for ContactCardHeaderKind {}
81impl ::core::clone::Clone for ContactCardHeaderKind {
82 fn clone(&self) -> Self {
83 *self
84 }
85}
86pub type ContactCardOptions = *mut ::core::ffi::c_void;
04454e1e 87#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5e7ed085
FG
88#[repr(transparent)]
89pub struct ContactCardTabKind(pub i32);
90impl 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}
98impl ::core::marker::Copy for ContactCardTabKind {}
99impl ::core::clone::Clone for ContactCardTabKind {
100 fn clone(&self) -> Self {
101 *self
102 }
103}
104pub type ContactChange = *mut ::core::ffi::c_void;
105pub type ContactChangeReader = *mut ::core::ffi::c_void;
106pub type ContactChangeTracker = *mut ::core::ffi::c_void;
04454e1e 107#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5e7ed085
FG
108#[repr(transparent)]
109pub struct ContactChangeType(pub i32);
110impl 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}
116impl ::core::marker::Copy for ContactChangeType {}
117impl ::core::clone::Clone for ContactChangeType {
118 fn clone(&self) -> Self {
119 *self
120 }
121}
122pub type ContactChangedDeferral = *mut ::core::ffi::c_void;
123pub type ContactChangedEventArgs = *mut ::core::ffi::c_void;
124pub type ContactConnectedServiceAccount = *mut ::core::ffi::c_void;
125pub type ContactDate = *mut ::core::ffi::c_void;
04454e1e 126#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5e7ed085
FG
127#[repr(transparent)]
128pub struct ContactDateKind(pub i32);
129impl ContactDateKind {
130 pub const Birthday: Self = Self(0i32);
131 pub const Anniversary: Self = Self(1i32);
132 pub const Other: Self = Self(2i32);
133}
134impl ::core::marker::Copy for ContactDateKind {}
135impl ::core::clone::Clone for ContactDateKind {
136 fn clone(&self) -> Self {
137 *self
138 }
139}
140pub type ContactEmail = *mut ::core::ffi::c_void;
04454e1e 141#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5e7ed085
FG
142#[repr(transparent)]
143pub struct ContactEmailKind(pub i32);
144impl ContactEmailKind {
145 pub const Personal: Self = Self(0i32);
146 pub const Work: Self = Self(1i32);
147 pub const Other: Self = Self(2i32);
148}
149impl ::core::marker::Copy for ContactEmailKind {}
150impl ::core::clone::Clone for ContactEmailKind {
151 fn clone(&self) -> Self {
152 *self
153 }
154}
155pub type ContactField = *mut ::core::ffi::c_void;
04454e1e 156#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5e7ed085
FG
157#[repr(transparent)]
158pub struct ContactFieldCategory(pub i32);
159impl 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}
166impl ::core::marker::Copy for ContactFieldCategory {}
167impl ::core::clone::Clone for ContactFieldCategory {
168 fn clone(&self) -> Self {
169 *self
170 }
171}
172pub type ContactFieldFactory = *mut ::core::ffi::c_void;
04454e1e 173#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5e7ed085
FG
174#[repr(transparent)]
175pub struct ContactFieldType(pub i32);
176impl 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}
190impl ::core::marker::Copy for ContactFieldType {}
191impl ::core::clone::Clone for ContactFieldType {
192 fn clone(&self) -> Self {
193 *self
194 }
195}
196pub type ContactGroup = *mut ::core::ffi::c_void;
197pub type ContactInformation = *mut ::core::ffi::c_void;
198pub type ContactInstantMessageField = *mut ::core::ffi::c_void;
199pub type ContactJobInfo = *mut ::core::ffi::c_void;
200pub type ContactList = *mut ::core::ffi::c_void;
201pub type ContactListLimitedWriteOperations = *mut ::core::ffi::c_void;
04454e1e 202#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5e7ed085
FG
203#[repr(transparent)]
204pub struct ContactListOtherAppReadAccess(pub i32);
205impl 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}
211impl ::core::marker::Copy for ContactListOtherAppReadAccess {}
212impl ::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)]
219pub struct ContactListOtherAppWriteAccess(pub i32);
220impl ContactListOtherAppWriteAccess {
221 pub const None: Self = Self(0i32);
222 pub const SystemOnly: Self = Self(1i32);
223 pub const Limited: Self = Self(2i32);
224}
225impl ::core::marker::Copy for ContactListOtherAppWriteAccess {}
226impl ::core::clone::Clone for ContactListOtherAppWriteAccess {
227 fn clone(&self) -> Self {
228 *self
229 }
230}
231pub type ContactListSyncConstraints = *mut ::core::ffi::c_void;
232pub type ContactListSyncManager = *mut ::core::ffi::c_void;
04454e1e 233#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5e7ed085
FG
234#[repr(transparent)]
235pub struct ContactListSyncStatus(pub i32);
236impl 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}
245impl ::core::marker::Copy for ContactListSyncStatus {}
246impl ::core::clone::Clone for ContactListSyncStatus {
247 fn clone(&self) -> Self {
248 *self
249 }
250}
251pub type ContactLocationField = *mut ::core::ffi::c_void;
252pub type ContactManagerForUser = *mut ::core::ffi::c_void;
253pub type ContactMatchReason = *mut ::core::ffi::c_void;
04454e1e 254#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5e7ed085
FG
255#[repr(transparent)]
256pub struct ContactMatchReasonKind(pub i32);
257impl 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}
265impl ::core::marker::Copy for ContactMatchReasonKind {}
266impl ::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)]
273pub struct ContactNameOrder(pub i32);
274impl ContactNameOrder {
275 pub const FirstNameLastName: Self = Self(0i32);
276 pub const LastNameFirstName: Self = Self(1i32);
277}
278impl ::core::marker::Copy for ContactNameOrder {}
279impl ::core::clone::Clone for ContactNameOrder {
280 fn clone(&self) -> Self {
281 *self
282 }
283}
284pub type ContactPanel = *mut ::core::ffi::c_void;
285pub type ContactPanelClosingEventArgs = *mut ::core::ffi::c_void;
286pub type ContactPanelLaunchFullAppRequestedEventArgs = *mut ::core::ffi::c_void;
287pub type ContactPhone = *mut ::core::ffi::c_void;
04454e1e 288#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5e7ed085
FG
289#[repr(transparent)]
290pub struct ContactPhoneKind(pub i32);
291impl 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}
303impl ::core::marker::Copy for ContactPhoneKind {}
304impl ::core::clone::Clone for ContactPhoneKind {
305 fn clone(&self) -> Self {
306 *self
307 }
308}
309pub type ContactPicker = *mut ::core::ffi::c_void;
04454e1e 310#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5e7ed085
FG
311#[repr(transparent)]
312pub struct ContactQueryDesiredFields(pub u32);
313impl 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}
319impl ::core::marker::Copy for ContactQueryDesiredFields {}
320impl ::core::clone::Clone for ContactQueryDesiredFields {
321 fn clone(&self) -> Self {
322 *self
323 }
324}
325pub type ContactQueryOptions = *mut ::core::ffi::c_void;
04454e1e 326#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5e7ed085
FG
327#[repr(transparent)]
328pub struct ContactQuerySearchFields(pub u32);
329impl 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}
336impl ::core::marker::Copy for ContactQuerySearchFields {}
337impl ::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)]
344pub struct ContactQuerySearchScope(pub i32);
345impl ContactQuerySearchScope {
346 pub const Local: Self = Self(0i32);
347 pub const Server: Self = Self(1i32);
348}
349impl ::core::marker::Copy for ContactQuerySearchScope {}
350impl ::core::clone::Clone for ContactQuerySearchScope {
351 fn clone(&self) -> Self {
352 *self
353 }
354}
355pub type ContactQueryTextSearch = *mut ::core::ffi::c_void;
356pub type ContactReader = *mut ::core::ffi::c_void;
04454e1e 357#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5e7ed085
FG
358#[repr(transparent)]
359pub struct ContactRelationship(pub i32);
360impl 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}
368impl ::core::marker::Copy for ContactRelationship {}
369impl ::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)]
376pub struct ContactSelectionMode(pub i32);
377impl ContactSelectionMode {
378 pub const Contacts: Self = Self(0i32);
379 pub const Fields: Self = Self(1i32);
380}
381impl ::core::marker::Copy for ContactSelectionMode {}
382impl ::core::clone::Clone for ContactSelectionMode {
383 fn clone(&self) -> Self {
384 *self
385 }
386}
387pub type ContactSignificantOther = *mut ::core::ffi::c_void;
388pub type ContactStore = *mut ::core::ffi::c_void;
04454e1e 389#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5e7ed085
FG
390#[repr(transparent)]
391pub struct ContactStoreAccessType(pub i32);
392impl ContactStoreAccessType {
393 pub const AppContactsReadWrite: Self = Self(0i32);
394 pub const AllContactsReadOnly: Self = Self(1i32);
395 pub const AllContactsReadWrite: Self = Self(2i32);
396}
397impl ::core::marker::Copy for ContactStoreAccessType {}
398impl ::core::clone::Clone for ContactStoreAccessType {
399 fn clone(&self) -> Self {
400 *self
401 }
402}
403pub type ContactStoreNotificationTriggerDetails = *mut ::core::ffi::c_void;
404pub type ContactWebsite = *mut ::core::ffi::c_void;
405pub type FullContactCardOptions = *mut ::core::ffi::c_void;
406pub type IContactField = *mut ::core::ffi::c_void;
407pub type IContactFieldFactory = *mut ::core::ffi::c_void;
408pub type IContactInstantMessageFieldFactory = *mut ::core::ffi::c_void;
409pub type IContactLocationFieldFactory = *mut ::core::ffi::c_void;
410pub type PinnedContactIdsQueryResult = *mut ::core::ffi::c_void;
411pub type PinnedContactManager = *mut ::core::ffi::c_void;
04454e1e 412#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"]
5e7ed085
FG
413#[repr(transparent)]
414pub struct PinnedContactSurface(pub i32);
415impl PinnedContactSurface {
416 pub const StartMenu: Self = Self(0i32);
417 pub const Taskbar: Self = Self(1i32);
418}
419impl ::core::marker::Copy for PinnedContactSurface {}
420impl ::core::clone::Clone for PinnedContactSurface {
421 fn clone(&self) -> Self {
422 *self
423 }
424}