1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 #[cfg(feature = "ApplicationModel_Contacts_DataProvider")]
4 #[cfg(feature = "ApplicationModel_Contacts_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'*"]
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);
17 impl ::core
::marker
::Copy
for ContactAddressKind {}
18 impl ::core
::clone
::Clone
for ContactAddressKind
{
19 fn clone(&self) -> Self {
23 pub type ContactAnnotation
= *mut ::core
::ffi
::c_void
;
24 pub type ContactAnnotationList
= *mut ::core
::ffi
::c_void
;
25 #[doc = "*Required features: 'ApplicationModel_Contacts'*"]
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);
37 impl ::core
::marker
::Copy
for ContactAnnotationOperations {}
38 impl ::core
::clone
::Clone
for ContactAnnotationOperations
{
39 fn clone(&self) -> Self {
43 pub type ContactAnnotationStore
= *mut ::core
::ffi
::c_void
;
44 #[doc = "*Required features: 'ApplicationModel_Contacts'*"]
46 pub struct ContactAnnotationStoreAccessType(pub i32);
47 impl ContactAnnotationStoreAccessType
{
48 pub const AppAnnotationsReadWrite
: Self = Self(0i32);
49 pub const AllAnnotationsReadWrite
: Self = Self(1i32);
51 impl ::core
::marker
::Copy
for ContactAnnotationStoreAccessType {}
52 impl ::core
::clone
::Clone
for ContactAnnotationStoreAccessType
{
53 fn clone(&self) -> Self {
57 pub type ContactBatch
= *mut ::core
::ffi
::c_void
;
58 #[doc = "*Required features: 'ApplicationModel_Contacts'*"]
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);
66 impl ::core
::marker
::Copy
for ContactBatchStatus {}
67 impl ::core
::clone
::Clone
for ContactBatchStatus
{
68 fn clone(&self) -> Self {
72 pub type ContactCardDelayedDataLoader
= *mut ::core
::ffi
::c_void
;
73 #[doc = "*Required features: 'ApplicationModel_Contacts'*"]
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);
81 impl ::core
::marker
::Copy
for ContactCardHeaderKind {}
82 impl ::core
::clone
::Clone
for ContactCardHeaderKind
{
83 fn clone(&self) -> Self {
87 pub type ContactCardOptions
= *mut ::core
::ffi
::c_void
;
88 #[doc = "*Required features: 'ApplicationModel_Contacts'*"]
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);
99 impl ::core
::marker
::Copy
for ContactCardTabKind {}
100 impl ::core
::clone
::Clone
for ContactCardTabKind
{
101 fn clone(&self) -> Self {
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'*"]
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);
117 impl ::core
::marker
::Copy
for ContactChangeType {}
118 impl ::core
::clone
::Clone
for ContactChangeType
{
119 fn clone(&self) -> Self {
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'*"]
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);
135 impl ::core
::marker
::Copy
for ContactDateKind {}
136 impl ::core
::clone
::Clone
for ContactDateKind
{
137 fn clone(&self) -> Self {
141 pub type ContactEmail
= *mut ::core
::ffi
::c_void
;
142 #[doc = "*Required features: 'ApplicationModel_Contacts'*"]
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);
150 impl ::core
::marker
::Copy
for ContactEmailKind {}
151 impl ::core
::clone
::Clone
for ContactEmailKind
{
152 fn clone(&self) -> Self {
156 pub type ContactField
= *mut ::core
::ffi
::c_void
;
157 #[doc = "*Required features: 'ApplicationModel_Contacts'*"]
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);
167 impl ::core
::marker
::Copy
for ContactFieldCategory {}
168 impl ::core
::clone
::Clone
for ContactFieldCategory
{
169 fn clone(&self) -> Self {
173 pub type ContactFieldFactory
= *mut ::core
::ffi
::c_void
;
174 #[doc = "*Required features: 'ApplicationModel_Contacts'*"]
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);
191 impl ::core
::marker
::Copy
for ContactFieldType {}
192 impl ::core
::clone
::Clone
for ContactFieldType
{
193 fn clone(&self) -> Self {
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'*"]
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);
212 impl ::core
::marker
::Copy
for ContactListOtherAppReadAccess {}
213 impl ::core
::clone
::Clone
for ContactListOtherAppReadAccess
{
214 fn clone(&self) -> Self {
218 #[doc = "*Required features: 'ApplicationModel_Contacts'*"]
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);
226 impl ::core
::marker
::Copy
for ContactListOtherAppWriteAccess {}
227 impl ::core
::clone
::Clone
for ContactListOtherAppWriteAccess
{
228 fn clone(&self) -> Self {
232 pub type ContactListSyncConstraints
= *mut ::core
::ffi
::c_void
;
233 pub type ContactListSyncManager
= *mut ::core
::ffi
::c_void
;
234 #[doc = "*Required features: 'ApplicationModel_Contacts'*"]
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);
246 impl ::core
::marker
::Copy
for ContactListSyncStatus {}
247 impl ::core
::clone
::Clone
for ContactListSyncStatus
{
248 fn clone(&self) -> Self {
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'*"]
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);
266 impl ::core
::marker
::Copy
for ContactMatchReasonKind {}
267 impl ::core
::clone
::Clone
for ContactMatchReasonKind
{
268 fn clone(&self) -> Self {
272 #[doc = "*Required features: 'ApplicationModel_Contacts'*"]
274 pub struct ContactNameOrder(pub i32);
275 impl ContactNameOrder
{
276 pub const FirstNameLastName
: Self = Self(0i32);
277 pub const LastNameFirstName
: Self = Self(1i32);
279 impl ::core
::marker
::Copy
for ContactNameOrder {}
280 impl ::core
::clone
::Clone
for ContactNameOrder
{
281 fn clone(&self) -> Self {
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'*"]
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);
304 impl ::core
::marker
::Copy
for ContactPhoneKind {}
305 impl ::core
::clone
::Clone
for ContactPhoneKind
{
306 fn clone(&self) -> Self {
310 pub type ContactPicker
= *mut ::core
::ffi
::c_void
;
311 #[doc = "*Required features: 'ApplicationModel_Contacts'*"]
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);
320 impl ::core
::marker
::Copy
for ContactQueryDesiredFields {}
321 impl ::core
::clone
::Clone
for ContactQueryDesiredFields
{
322 fn clone(&self) -> Self {
326 pub type ContactQueryOptions
= *mut ::core
::ffi
::c_void
;
327 #[doc = "*Required features: 'ApplicationModel_Contacts'*"]
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);
337 impl ::core
::marker
::Copy
for ContactQuerySearchFields {}
338 impl ::core
::clone
::Clone
for ContactQuerySearchFields
{
339 fn clone(&self) -> Self {
343 #[doc = "*Required features: 'ApplicationModel_Contacts'*"]
345 pub struct ContactQuerySearchScope(pub i32);
346 impl ContactQuerySearchScope
{
347 pub const Local
: Self = Self(0i32);
348 pub const Server
: Self = Self(1i32);
350 impl ::core
::marker
::Copy
for ContactQuerySearchScope {}
351 impl ::core
::clone
::Clone
for ContactQuerySearchScope
{
352 fn clone(&self) -> Self {
356 pub type ContactQueryTextSearch
= *mut ::core
::ffi
::c_void
;
357 pub type ContactReader
= *mut ::core
::ffi
::c_void
;
358 #[doc = "*Required features: 'ApplicationModel_Contacts'*"]
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);
369 impl ::core
::marker
::Copy
for ContactRelationship {}
370 impl ::core
::clone
::Clone
for ContactRelationship
{
371 fn clone(&self) -> Self {
375 #[doc = "*Required features: 'ApplicationModel_Contacts'*"]
377 pub struct ContactSelectionMode(pub i32);
378 impl ContactSelectionMode
{
379 pub const Contacts
: Self = Self(0i32);
380 pub const Fields
: Self = Self(1i32);
382 impl ::core
::marker
::Copy
for ContactSelectionMode {}
383 impl ::core
::clone
::Clone
for ContactSelectionMode
{
384 fn clone(&self) -> Self {
388 pub type ContactSignificantOther
= *mut ::core
::ffi
::c_void
;
389 pub type ContactStore
= *mut ::core
::ffi
::c_void
;
390 #[doc = "*Required features: 'ApplicationModel_Contacts'*"]
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);
398 impl ::core
::marker
::Copy
for ContactStoreAccessType {}
399 impl ::core
::clone
::Clone
for ContactStoreAccessType
{
400 fn clone(&self) -> Self {
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'*"]
415 pub struct PinnedContactSurface(pub i32);
416 impl PinnedContactSurface
{
417 pub const StartMenu
: Self = Self(0i32);
418 pub const Taskbar
: Self = Self(1i32);
420 impl ::core
::marker
::Copy
for PinnedContactSurface {}
421 impl ::core
::clone
::Clone
for PinnedContactSurface
{
422 fn clone(&self) -> Self {