From 698f8c2f01ea549d77d7dc3338a12e04c11057b9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:02:58 +0200 Subject: Adding upstream version 1.64.0+dfsg1. Signed-off-by: Daniel Baumann --- .../ApplicationModel/Contacts/DataProvider/mod.rs | 10 + .../ApplicationModel/Contacts/Provider/mod.rs | 16 + .../src/Windows/ApplicationModel/Contacts/mod.rs | 424 +++++++++++++++++++++ 3 files changed, 450 insertions(+) create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Contacts/DataProvider/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Contacts/Provider/mod.rs create mode 100644 vendor/windows-sys/src/Windows/ApplicationModel/Contacts/mod.rs (limited to 'vendor/windows-sys/src/Windows/ApplicationModel/Contacts') diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Contacts/DataProvider/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Contacts/DataProvider/mod.rs new file mode 100644 index 000000000..c3fa83f83 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Contacts/DataProvider/mod.rs @@ -0,0 +1,10 @@ +pub type ContactDataProviderConnection = *mut ::core::ffi::c_void; +pub type ContactDataProviderTriggerDetails = *mut ::core::ffi::c_void; +pub type ContactListCreateOrUpdateContactRequest = *mut ::core::ffi::c_void; +pub type ContactListCreateOrUpdateContactRequestEventArgs = *mut ::core::ffi::c_void; +pub type ContactListDeleteContactRequest = *mut ::core::ffi::c_void; +pub type ContactListDeleteContactRequestEventArgs = *mut ::core::ffi::c_void; +pub type ContactListServerSearchReadBatchRequest = *mut ::core::ffi::c_void; +pub type ContactListServerSearchReadBatchRequestEventArgs = *mut ::core::ffi::c_void; +pub type ContactListSyncManagerSyncRequest = *mut ::core::ffi::c_void; +pub type ContactListSyncManagerSyncRequestEventArgs = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Contacts/Provider/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Contacts/Provider/mod.rs new file mode 100644 index 000000000..d200d329e --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Contacts/Provider/mod.rs @@ -0,0 +1,16 @@ +#[doc = "*Required features: `\"ApplicationModel_Contacts_Provider\"`*"] +#[repr(transparent)] +pub struct AddContactResult(pub i32); +impl AddContactResult { + pub const Added: Self = Self(0i32); + pub const AlreadyAdded: Self = Self(1i32); + pub const Unavailable: Self = Self(2i32); +} +impl ::core::marker::Copy for AddContactResult {} +impl ::core::clone::Clone for AddContactResult { + fn clone(&self) -> Self { + *self + } +} +pub type ContactPickerUI = *mut ::core::ffi::c_void; +pub type ContactRemovedEventArgs = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/Contacts/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/Contacts/mod.rs new file mode 100644 index 000000000..cb88f9365 --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/Contacts/mod.rs @@ -0,0 +1,424 @@ +#[cfg(feature = "ApplicationModel_Contacts_DataProvider")] +pub mod DataProvider; +#[cfg(feature = "ApplicationModel_Contacts_Provider")] +pub mod Provider; +pub type AggregateContactManager = *mut ::core::ffi::c_void; +pub type Contact = *mut ::core::ffi::c_void; +pub type ContactAddress = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactAddressKind(pub i32); +impl ContactAddressKind { + pub const Home: Self = Self(0i32); + pub const Work: Self = Self(1i32); + pub const Other: Self = Self(2i32); +} +impl ::core::marker::Copy for ContactAddressKind {} +impl ::core::clone::Clone for ContactAddressKind { + fn clone(&self) -> Self { + *self + } +} +pub type ContactAnnotation = *mut ::core::ffi::c_void; +pub type ContactAnnotationList = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactAnnotationOperations(pub u32); +impl ContactAnnotationOperations { + pub const None: Self = Self(0u32); + pub const ContactProfile: Self = Self(1u32); + pub const Message: Self = Self(2u32); + pub const AudioCall: Self = Self(4u32); + pub const VideoCall: Self = Self(8u32); + pub const SocialFeeds: Self = Self(16u32); + pub const Share: Self = Self(32u32); +} +impl ::core::marker::Copy for ContactAnnotationOperations {} +impl ::core::clone::Clone for ContactAnnotationOperations { + fn clone(&self) -> Self { + *self + } +} +pub type ContactAnnotationStore = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactAnnotationStoreAccessType(pub i32); +impl ContactAnnotationStoreAccessType { + pub const AppAnnotationsReadWrite: Self = Self(0i32); + pub const AllAnnotationsReadWrite: Self = Self(1i32); +} +impl ::core::marker::Copy for ContactAnnotationStoreAccessType {} +impl ::core::clone::Clone for ContactAnnotationStoreAccessType { + fn clone(&self) -> Self { + *self + } +} +pub type ContactBatch = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactBatchStatus(pub i32); +impl ContactBatchStatus { + pub const Success: Self = Self(0i32); + pub const ServerSearchSyncManagerError: Self = Self(1i32); + pub const ServerSearchUnknownError: Self = Self(2i32); +} +impl ::core::marker::Copy for ContactBatchStatus {} +impl ::core::clone::Clone for ContactBatchStatus { + fn clone(&self) -> Self { + *self + } +} +pub type ContactCardDelayedDataLoader = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactCardHeaderKind(pub i32); +impl ContactCardHeaderKind { + pub const Default: Self = Self(0i32); + pub const Basic: Self = Self(1i32); + pub const Enterprise: Self = Self(2i32); +} +impl ::core::marker::Copy for ContactCardHeaderKind {} +impl ::core::clone::Clone for ContactCardHeaderKind { + fn clone(&self) -> Self { + *self + } +} +pub type ContactCardOptions = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactCardTabKind(pub i32); +impl ContactCardTabKind { + pub const Default: Self = Self(0i32); + pub const Email: Self = Self(1i32); + pub const Messaging: Self = Self(2i32); + pub const Phone: Self = Self(3i32); + pub const Video: Self = Self(4i32); + pub const OrganizationalHierarchy: Self = Self(5i32); +} +impl ::core::marker::Copy for ContactCardTabKind {} +impl ::core::clone::Clone for ContactCardTabKind { + fn clone(&self) -> Self { + *self + } +} +pub type ContactChange = *mut ::core::ffi::c_void; +pub type ContactChangeReader = *mut ::core::ffi::c_void; +pub type ContactChangeTracker = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactChangeType(pub i32); +impl ContactChangeType { + pub const Created: Self = Self(0i32); + pub const Modified: Self = Self(1i32); + pub const Deleted: Self = Self(2i32); + pub const ChangeTrackingLost: Self = Self(3i32); +} +impl ::core::marker::Copy for ContactChangeType {} +impl ::core::clone::Clone for ContactChangeType { + fn clone(&self) -> Self { + *self + } +} +pub type ContactChangedDeferral = *mut ::core::ffi::c_void; +pub type ContactChangedEventArgs = *mut ::core::ffi::c_void; +pub type ContactConnectedServiceAccount = *mut ::core::ffi::c_void; +pub type ContactDate = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactDateKind(pub i32); +impl ContactDateKind { + pub const Birthday: Self = Self(0i32); + pub const Anniversary: Self = Self(1i32); + pub const Other: Self = Self(2i32); +} +impl ::core::marker::Copy for ContactDateKind {} +impl ::core::clone::Clone for ContactDateKind { + fn clone(&self) -> Self { + *self + } +} +pub type ContactEmail = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactEmailKind(pub i32); +impl ContactEmailKind { + pub const Personal: Self = Self(0i32); + pub const Work: Self = Self(1i32); + pub const Other: Self = Self(2i32); +} +impl ::core::marker::Copy for ContactEmailKind {} +impl ::core::clone::Clone for ContactEmailKind { + fn clone(&self) -> Self { + *self + } +} +pub type ContactField = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactFieldCategory(pub i32); +impl ContactFieldCategory { + pub const None: Self = Self(0i32); + pub const Home: Self = Self(1i32); + pub const Work: Self = Self(2i32); + pub const Mobile: Self = Self(3i32); + pub const Other: Self = Self(4i32); +} +impl ::core::marker::Copy for ContactFieldCategory {} +impl ::core::clone::Clone for ContactFieldCategory { + fn clone(&self) -> Self { + *self + } +} +pub type ContactFieldFactory = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactFieldType(pub i32); +impl ContactFieldType { + pub const Email: Self = Self(0i32); + pub const PhoneNumber: Self = Self(1i32); + pub const Location: Self = Self(2i32); + pub const InstantMessage: Self = Self(3i32); + pub const Custom: Self = Self(4i32); + pub const ConnectedServiceAccount: Self = Self(5i32); + pub const ImportantDate: Self = Self(6i32); + pub const Address: Self = Self(7i32); + pub const SignificantOther: Self = Self(8i32); + pub const Notes: Self = Self(9i32); + pub const Website: Self = Self(10i32); + pub const JobInfo: Self = Self(11i32); +} +impl ::core::marker::Copy for ContactFieldType {} +impl ::core::clone::Clone for ContactFieldType { + fn clone(&self) -> Self { + *self + } +} +pub type ContactGroup = *mut ::core::ffi::c_void; +pub type ContactInformation = *mut ::core::ffi::c_void; +pub type ContactInstantMessageField = *mut ::core::ffi::c_void; +pub type ContactJobInfo = *mut ::core::ffi::c_void; +pub type ContactList = *mut ::core::ffi::c_void; +pub type ContactListLimitedWriteOperations = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactListOtherAppReadAccess(pub i32); +impl ContactListOtherAppReadAccess { + pub const SystemOnly: Self = Self(0i32); + pub const Limited: Self = Self(1i32); + pub const Full: Self = Self(2i32); + pub const None: Self = Self(3i32); +} +impl ::core::marker::Copy for ContactListOtherAppReadAccess {} +impl ::core::clone::Clone for ContactListOtherAppReadAccess { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactListOtherAppWriteAccess(pub i32); +impl ContactListOtherAppWriteAccess { + pub const None: Self = Self(0i32); + pub const SystemOnly: Self = Self(1i32); + pub const Limited: Self = Self(2i32); +} +impl ::core::marker::Copy for ContactListOtherAppWriteAccess {} +impl ::core::clone::Clone for ContactListOtherAppWriteAccess { + fn clone(&self) -> Self { + *self + } +} +pub type ContactListSyncConstraints = *mut ::core::ffi::c_void; +pub type ContactListSyncManager = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactListSyncStatus(pub i32); +impl ContactListSyncStatus { + pub const Idle: Self = Self(0i32); + pub const Syncing: Self = Self(1i32); + pub const UpToDate: Self = Self(2i32); + pub const AuthenticationError: Self = Self(3i32); + pub const PolicyError: Self = Self(4i32); + pub const UnknownError: Self = Self(5i32); + pub const ManualAccountRemovalRequired: Self = Self(6i32); +} +impl ::core::marker::Copy for ContactListSyncStatus {} +impl ::core::clone::Clone for ContactListSyncStatus { + fn clone(&self) -> Self { + *self + } +} +pub type ContactLocationField = *mut ::core::ffi::c_void; +pub type ContactManagerForUser = *mut ::core::ffi::c_void; +pub type ContactMatchReason = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactMatchReasonKind(pub i32); +impl ContactMatchReasonKind { + pub const Name: Self = Self(0i32); + pub const EmailAddress: Self = Self(1i32); + pub const PhoneNumber: Self = Self(2i32); + pub const JobInfo: Self = Self(3i32); + pub const YomiName: Self = Self(4i32); + pub const Other: Self = Self(5i32); +} +impl ::core::marker::Copy for ContactMatchReasonKind {} +impl ::core::clone::Clone for ContactMatchReasonKind { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactNameOrder(pub i32); +impl ContactNameOrder { + pub const FirstNameLastName: Self = Self(0i32); + pub const LastNameFirstName: Self = Self(1i32); +} +impl ::core::marker::Copy for ContactNameOrder {} +impl ::core::clone::Clone for ContactNameOrder { + fn clone(&self) -> Self { + *self + } +} +pub type ContactPanel = *mut ::core::ffi::c_void; +pub type ContactPanelClosingEventArgs = *mut ::core::ffi::c_void; +pub type ContactPanelLaunchFullAppRequestedEventArgs = *mut ::core::ffi::c_void; +pub type ContactPhone = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactPhoneKind(pub i32); +impl ContactPhoneKind { + pub const Home: Self = Self(0i32); + pub const Mobile: Self = Self(1i32); + pub const Work: Self = Self(2i32); + pub const Other: Self = Self(3i32); + pub const Pager: Self = Self(4i32); + pub const BusinessFax: Self = Self(5i32); + pub const HomeFax: Self = Self(6i32); + pub const Company: Self = Self(7i32); + pub const Assistant: Self = Self(8i32); + pub const Radio: Self = Self(9i32); +} +impl ::core::marker::Copy for ContactPhoneKind {} +impl ::core::clone::Clone for ContactPhoneKind { + fn clone(&self) -> Self { + *self + } +} +pub type ContactPicker = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactQueryDesiredFields(pub u32); +impl ContactQueryDesiredFields { + pub const None: Self = Self(0u32); + pub const PhoneNumber: Self = Self(1u32); + pub const EmailAddress: Self = Self(2u32); + pub const PostalAddress: Self = Self(4u32); +} +impl ::core::marker::Copy for ContactQueryDesiredFields {} +impl ::core::clone::Clone for ContactQueryDesiredFields { + fn clone(&self) -> Self { + *self + } +} +pub type ContactQueryOptions = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactQuerySearchFields(pub u32); +impl ContactQuerySearchFields { + pub const None: Self = Self(0u32); + pub const Name: Self = Self(1u32); + pub const Email: Self = Self(2u32); + pub const Phone: Self = Self(4u32); + pub const All: Self = Self(4294967295u32); +} +impl ::core::marker::Copy for ContactQuerySearchFields {} +impl ::core::clone::Clone for ContactQuerySearchFields { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactQuerySearchScope(pub i32); +impl ContactQuerySearchScope { + pub const Local: Self = Self(0i32); + pub const Server: Self = Self(1i32); +} +impl ::core::marker::Copy for ContactQuerySearchScope {} +impl ::core::clone::Clone for ContactQuerySearchScope { + fn clone(&self) -> Self { + *self + } +} +pub type ContactQueryTextSearch = *mut ::core::ffi::c_void; +pub type ContactReader = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactRelationship(pub i32); +impl ContactRelationship { + pub const Other: Self = Self(0i32); + pub const Spouse: Self = Self(1i32); + pub const Partner: Self = Self(2i32); + pub const Sibling: Self = Self(3i32); + pub const Parent: Self = Self(4i32); + pub const Child: Self = Self(5i32); +} +impl ::core::marker::Copy for ContactRelationship {} +impl ::core::clone::Clone for ContactRelationship { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactSelectionMode(pub i32); +impl ContactSelectionMode { + pub const Contacts: Self = Self(0i32); + pub const Fields: Self = Self(1i32); +} +impl ::core::marker::Copy for ContactSelectionMode {} +impl ::core::clone::Clone for ContactSelectionMode { + fn clone(&self) -> Self { + *self + } +} +pub type ContactSignificantOther = *mut ::core::ffi::c_void; +pub type ContactStore = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct ContactStoreAccessType(pub i32); +impl ContactStoreAccessType { + pub const AppContactsReadWrite: Self = Self(0i32); + pub const AllContactsReadOnly: Self = Self(1i32); + pub const AllContactsReadWrite: Self = Self(2i32); +} +impl ::core::marker::Copy for ContactStoreAccessType {} +impl ::core::clone::Clone for ContactStoreAccessType { + fn clone(&self) -> Self { + *self + } +} +pub type ContactStoreNotificationTriggerDetails = *mut ::core::ffi::c_void; +pub type ContactWebsite = *mut ::core::ffi::c_void; +pub type FullContactCardOptions = *mut ::core::ffi::c_void; +pub type IContactField = *mut ::core::ffi::c_void; +pub type IContactFieldFactory = *mut ::core::ffi::c_void; +pub type IContactInstantMessageFieldFactory = *mut ::core::ffi::c_void; +pub type IContactLocationFieldFactory = *mut ::core::ffi::c_void; +pub type PinnedContactIdsQueryResult = *mut ::core::ffi::c_void; +pub type PinnedContactManager = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_Contacts\"`*"] +#[repr(transparent)] +pub struct PinnedContactSurface(pub i32); +impl PinnedContactSurface { + pub const StartMenu: Self = Self(0i32); + pub const Taskbar: Self = Self(1i32); +} +impl ::core::marker::Copy for PinnedContactSurface {} +impl ::core::clone::Clone for PinnedContactSurface { + fn clone(&self) -> Self { + *self + } +} -- cgit v1.2.3