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 --- .../src/Windows/Phone/ApplicationModel/mod.rs | 13 ++ .../src/Windows/Phone/Devices/Notification/mod.rs | 1 + .../src/Windows/Phone/Devices/Power/mod.rs | 1 + .../windows-sys/src/Windows/Phone/Devices/mod.rs | 4 + .../src/Windows/Phone/Management/Deployment/mod.rs | 32 +++ .../src/Windows/Phone/Management/mod.rs | 2 + .../src/Windows/Phone/Media/Devices/mod.rs | 35 +++ vendor/windows-sys/src/Windows/Phone/Media/mod.rs | 2 + .../Windows/Phone/Notification/Management/mod.rs | 252 +++++++++++++++++++++ .../src/Windows/Phone/Notification/mod.rs | 2 + .../Phone/PersonalInformation/Provisioning/mod.rs | 1 + .../src/Windows/Phone/PersonalInformation/mod.rs | 78 +++++++ .../src/Windows/Phone/Speech/Recognition/mod.rs | 16 ++ vendor/windows-sys/src/Windows/Phone/Speech/mod.rs | 2 + .../src/Windows/Phone/StartScreen/mod.rs | 2 + .../src/Windows/Phone/System/Power/mod.rs | 13 ++ .../src/Windows/Phone/System/Profile/mod.rs | 1 + .../System/UserProfile/GameServices/Core/mod.rs | 29 +++ .../Phone/System/UserProfile/GameServices/mod.rs | 2 + .../src/Windows/Phone/System/UserProfile/mod.rs | 2 + vendor/windows-sys/src/Windows/Phone/System/mod.rs | 6 + .../windows-sys/src/Windows/Phone/UI/Input/mod.rs | 2 + vendor/windows-sys/src/Windows/Phone/UI/mod.rs | 2 + vendor/windows-sys/src/Windows/Phone/mod.rs | 20 ++ 24 files changed, 520 insertions(+) create mode 100644 vendor/windows-sys/src/Windows/Phone/ApplicationModel/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Phone/Devices/Notification/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Phone/Devices/Power/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Phone/Devices/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Phone/Management/Deployment/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Phone/Management/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Phone/Media/Devices/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Phone/Media/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Phone/Notification/Management/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Phone/Notification/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Phone/PersonalInformation/Provisioning/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Phone/PersonalInformation/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Phone/Speech/Recognition/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Phone/Speech/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Phone/StartScreen/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Phone/System/Power/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Phone/System/Profile/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Phone/System/UserProfile/GameServices/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Phone/System/UserProfile/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Phone/System/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Phone/UI/Input/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Phone/UI/mod.rs create mode 100644 vendor/windows-sys/src/Windows/Phone/mod.rs (limited to 'vendor/windows-sys/src/Windows/Phone') diff --git a/vendor/windows-sys/src/Windows/Phone/ApplicationModel/mod.rs b/vendor/windows-sys/src/Windows/Phone/ApplicationModel/mod.rs new file mode 100644 index 000000000..69917d290 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/ApplicationModel/mod.rs @@ -0,0 +1,13 @@ +#[doc = "*Required features: `\"Phone_ApplicationModel\"`*"] +#[repr(transparent)] +pub struct ApplicationProfileModes(pub u32); +impl ApplicationProfileModes { + pub const Default: Self = Self(0u32); + pub const Alternate: Self = Self(1u32); +} +impl ::core::marker::Copy for ApplicationProfileModes {} +impl ::core::clone::Clone for ApplicationProfileModes { + fn clone(&self) -> Self { + *self + } +} diff --git a/vendor/windows-sys/src/Windows/Phone/Devices/Notification/mod.rs b/vendor/windows-sys/src/Windows/Phone/Devices/Notification/mod.rs new file mode 100644 index 000000000..487a24aa1 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/Devices/Notification/mod.rs @@ -0,0 +1 @@ +pub type VibrationDevice = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Phone/Devices/Power/mod.rs b/vendor/windows-sys/src/Windows/Phone/Devices/Power/mod.rs new file mode 100644 index 000000000..5e1aae371 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/Devices/Power/mod.rs @@ -0,0 +1 @@ +pub type Battery = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Phone/Devices/mod.rs b/vendor/windows-sys/src/Windows/Phone/Devices/mod.rs new file mode 100644 index 000000000..4a0b968e9 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/Devices/mod.rs @@ -0,0 +1,4 @@ +#[cfg(feature = "Phone_Devices_Notification")] +pub mod Notification; +#[cfg(feature = "Phone_Devices_Power")] +pub mod Power; diff --git a/vendor/windows-sys/src/Windows/Phone/Management/Deployment/mod.rs b/vendor/windows-sys/src/Windows/Phone/Management/Deployment/mod.rs new file mode 100644 index 000000000..cf3daa920 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/Management/Deployment/mod.rs @@ -0,0 +1,32 @@ +pub type Enterprise = *mut ::core::ffi::c_void; +pub type EnterpriseEnrollmentResult = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Phone_Management_Deployment\"`*"] +#[repr(transparent)] +pub struct EnterpriseEnrollmentStatus(pub i32); +impl EnterpriseEnrollmentStatus { + pub const Success: Self = Self(0i32); + pub const CancelledByUser: Self = Self(1i32); + pub const UnknownFailure: Self = Self(2i32); +} +impl ::core::marker::Copy for EnterpriseEnrollmentStatus {} +impl ::core::clone::Clone for EnterpriseEnrollmentStatus { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Phone_Management_Deployment\"`*"] +#[repr(transparent)] +pub struct EnterpriseStatus(pub i32); +impl EnterpriseStatus { + pub const Enrolled: Self = Self(0i32); + pub const Disabled: Self = Self(1i32); + pub const Revoked: Self = Self(2i32); + pub const Expired: Self = Self(3i32); +} +impl ::core::marker::Copy for EnterpriseStatus {} +impl ::core::clone::Clone for EnterpriseStatus { + fn clone(&self) -> Self { + *self + } +} +pub type PackageInstallResult = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Phone/Management/mod.rs b/vendor/windows-sys/src/Windows/Phone/Management/mod.rs new file mode 100644 index 000000000..3be72f1f2 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/Management/mod.rs @@ -0,0 +1,2 @@ +#[cfg(feature = "Phone_Management_Deployment")] +pub mod Deployment; diff --git a/vendor/windows-sys/src/Windows/Phone/Media/Devices/mod.rs b/vendor/windows-sys/src/Windows/Phone/Media/Devices/mod.rs new file mode 100644 index 000000000..efd403f2e --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/Media/Devices/mod.rs @@ -0,0 +1,35 @@ +#[doc = "*Required features: `\"Phone_Media_Devices\"`*"] +#[repr(transparent)] +pub struct AudioRoutingEndpoint(pub i32); +impl AudioRoutingEndpoint { + pub const Default: Self = Self(0i32); + pub const Earpiece: Self = Self(1i32); + pub const Speakerphone: Self = Self(2i32); + pub const Bluetooth: Self = Self(3i32); + pub const WiredHeadset: Self = Self(4i32); + pub const WiredHeadsetSpeakerOnly: Self = Self(5i32); + pub const BluetoothWithNoiseAndEchoCancellation: Self = Self(6i32); + pub const BluetoothPreferred: Self = Self(7i32); +} +impl ::core::marker::Copy for AudioRoutingEndpoint {} +impl ::core::clone::Clone for AudioRoutingEndpoint { + fn clone(&self) -> Self { + *self + } +} +pub type AudioRoutingManager = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Phone_Media_Devices\"`*"] +#[repr(transparent)] +pub struct AvailableAudioRoutingEndpoints(pub u32); +impl AvailableAudioRoutingEndpoints { + pub const None: Self = Self(0u32); + pub const Earpiece: Self = Self(1u32); + pub const Speakerphone: Self = Self(2u32); + pub const Bluetooth: Self = Self(4u32); +} +impl ::core::marker::Copy for AvailableAudioRoutingEndpoints {} +impl ::core::clone::Clone for AvailableAudioRoutingEndpoints { + fn clone(&self) -> Self { + *self + } +} diff --git a/vendor/windows-sys/src/Windows/Phone/Media/mod.rs b/vendor/windows-sys/src/Windows/Phone/Media/mod.rs new file mode 100644 index 000000000..bedf4c4be --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/Media/mod.rs @@ -0,0 +1,2 @@ +#[cfg(feature = "Phone_Media_Devices")] +pub mod Devices; diff --git a/vendor/windows-sys/src/Windows/Phone/Notification/Management/mod.rs b/vendor/windows-sys/src/Windows/Phone/Notification/Management/mod.rs new file mode 100644 index 000000000..55fbb51ef --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/Notification/Management/mod.rs @@ -0,0 +1,252 @@ +#[doc = "*Required features: `\"Phone_Notification_Management\"`*"] +#[repr(transparent)] +pub struct AccessoryNotificationType(pub u32); +impl AccessoryNotificationType { + pub const None: Self = Self(0u32); + pub const Phone: Self = Self(1u32); + pub const Email: Self = Self(2u32); + pub const Reminder: Self = Self(4u32); + pub const Alarm: Self = Self(8u32); + pub const Toast: Self = Self(16u32); + pub const AppUninstalled: Self = Self(32u32); + pub const Dnd: Self = Self(64u32); + pub const DrivingMode: Self = Self(128u32); + pub const BatterySaver: Self = Self(256u32); + pub const Media: Self = Self(512u32); + pub const CortanaTile: Self = Self(1024u32); + pub const ToastCleared: Self = Self(2048u32); + pub const CalendarChanged: Self = Self(4096u32); + pub const VolumeChanged: Self = Self(8192u32); + pub const EmailReadStatusChanged: Self = Self(16384u32); +} +impl ::core::marker::Copy for AccessoryNotificationType {} +impl ::core::clone::Clone for AccessoryNotificationType { + fn clone(&self) -> Self { + *self + } +} +pub type AlarmNotificationTriggerDetails = *mut ::core::ffi::c_void; +pub type AppNotificationInfo = *mut ::core::ffi::c_void; +pub type BinaryId = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Phone_Notification_Management\"`*"] +#[repr(transparent)] +pub struct CalendarChangedEvent(pub i32); +impl CalendarChangedEvent { + pub const LostEvents: Self = Self(0i32); + pub const AppointmentAdded: Self = Self(1i32); + pub const AppointmentChanged: Self = Self(2i32); + pub const AppointmentDeleted: Self = Self(3i32); + pub const CalendarAdded: Self = Self(4i32); + pub const CalendarChanged: Self = Self(5i32); + pub const CalendarDeleted: Self = Self(6i32); +} +impl ::core::marker::Copy for CalendarChangedEvent {} +impl ::core::clone::Clone for CalendarChangedEvent { + fn clone(&self) -> Self { + *self + } +} +pub type CalendarChangedNotificationTriggerDetails = *mut ::core::ffi::c_void; +pub type CortanaTileNotificationTriggerDetails = *mut ::core::ffi::c_void; +pub type EmailAccountInfo = *mut ::core::ffi::c_void; +pub type EmailFolderInfo = *mut ::core::ffi::c_void; +pub type EmailNotificationTriggerDetails = *mut ::core::ffi::c_void; +pub type EmailReadNotificationTriggerDetails = *mut ::core::ffi::c_void; +pub type IAccessoryNotificationTriggerDetails = *mut ::core::ffi::c_void; +pub type MediaControlsTriggerDetails = *mut ::core::ffi::c_void; +pub type MediaMetadata = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Phone_Notification_Management\"`*"] +#[repr(transparent)] +pub struct PhoneCallAudioEndpoint(pub i32); +impl PhoneCallAudioEndpoint { + pub const Default: Self = Self(0i32); + pub const Speaker: Self = Self(1i32); + pub const Handsfree: Self = Self(2i32); +} +impl ::core::marker::Copy for PhoneCallAudioEndpoint {} +impl ::core::clone::Clone for PhoneCallAudioEndpoint { + fn clone(&self) -> Self { + *self + } +} +pub type PhoneCallDetails = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Phone_Notification_Management\"`*"] +#[repr(transparent)] +pub struct PhoneCallDirection(pub i32); +impl PhoneCallDirection { + pub const Incoming: Self = Self(0i32); + pub const Outgoing: Self = Self(1i32); +} +impl ::core::marker::Copy for PhoneCallDirection {} +impl ::core::clone::Clone for PhoneCallDirection { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Phone_Notification_Management\"`*"] +#[repr(transparent)] +pub struct PhoneCallState(pub i32); +impl PhoneCallState { + pub const Unknown: Self = Self(0i32); + pub const Ringing: Self = Self(1i32); + pub const Talking: Self = Self(2i32); + pub const Held: Self = Self(3i32); + pub const Ended: Self = Self(4i32); +} +impl ::core::marker::Copy for PhoneCallState {} +impl ::core::clone::Clone for PhoneCallState { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Phone_Notification_Management\"`*"] +#[repr(transparent)] +pub struct PhoneCallTransport(pub i32); +impl PhoneCallTransport { + pub const Cellular: Self = Self(0i32); + pub const Voip: Self = Self(1i32); +} +impl ::core::marker::Copy for PhoneCallTransport {} +impl ::core::clone::Clone for PhoneCallTransport { + fn clone(&self) -> Self { + *self + } +} +pub type PhoneLineDetails = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Phone_Notification_Management\"`*"] +#[repr(transparent)] +pub struct PhoneLineRegistrationState(pub i32); +impl PhoneLineRegistrationState { + pub const Disconnected: Self = Self(0i32); + pub const Home: Self = Self(1i32); + pub const Roaming: Self = Self(2i32); +} +impl ::core::marker::Copy for PhoneLineRegistrationState {} +impl ::core::clone::Clone for PhoneLineRegistrationState { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Phone_Notification_Management\"`*"] +#[repr(transparent)] +pub struct PhoneMediaType(pub i32); +impl PhoneMediaType { + pub const AudioOnly: Self = Self(0i32); + pub const AudioVideo: Self = Self(1i32); +} +impl ::core::marker::Copy for PhoneMediaType {} +impl ::core::clone::Clone for PhoneMediaType { + fn clone(&self) -> Self { + *self + } +} +pub type PhoneNotificationTriggerDetails = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Phone_Notification_Management\"`*"] +#[repr(transparent)] +pub struct PhoneNotificationType(pub i32); +impl PhoneNotificationType { + pub const NewCall: Self = Self(0i32); + pub const CallChanged: Self = Self(1i32); + pub const LineChanged: Self = Self(2i32); + pub const PhoneCallAudioEndpointChanged: Self = Self(3i32); + pub const PhoneMuteChanged: Self = Self(4i32); +} +impl ::core::marker::Copy for PhoneNotificationType {} +impl ::core::clone::Clone for PhoneNotificationType { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Phone_Notification_Management\"`*"] +#[repr(transparent)] +pub struct PlaybackCapability(pub u32); +impl PlaybackCapability { + pub const None: Self = Self(0u32); + pub const Play: Self = Self(1u32); + pub const Pause: Self = Self(2u32); + pub const Stop: Self = Self(4u32); + pub const Record: Self = Self(8u32); + pub const FastForward: Self = Self(16u32); + pub const Rewind: Self = Self(32u32); + pub const Next: Self = Self(64u32); + pub const Previous: Self = Self(128u32); + pub const ChannelUp: Self = Self(256u32); + pub const ChannelDown: Self = Self(512u32); +} +impl ::core::marker::Copy for PlaybackCapability {} +impl ::core::clone::Clone for PlaybackCapability { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Phone_Notification_Management\"`*"] +#[repr(transparent)] +pub struct PlaybackCommand(pub i32); +impl PlaybackCommand { + pub const Play: Self = Self(0i32); + pub const Pause: Self = Self(1i32); + pub const Stop: Self = Self(2i32); + pub const Record: Self = Self(3i32); + pub const FastForward: Self = Self(4i32); + pub const Rewind: Self = Self(5i32); + pub const Next: Self = Self(6i32); + pub const Previous: Self = Self(7i32); + pub const ChannelUp: Self = Self(8i32); + pub const ChannelDown: Self = Self(9i32); +} +impl ::core::marker::Copy for PlaybackCommand {} +impl ::core::clone::Clone for PlaybackCommand { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Phone_Notification_Management\"`*"] +#[repr(transparent)] +pub struct PlaybackStatus(pub i32); +impl PlaybackStatus { + pub const None: Self = Self(0i32); + pub const TrackChanged: Self = Self(1i32); + pub const Stopped: Self = Self(2i32); + pub const Playing: Self = Self(3i32); + pub const Paused: Self = Self(4i32); +} +impl ::core::marker::Copy for PlaybackStatus {} +impl ::core::clone::Clone for PlaybackStatus { + fn clone(&self) -> Self { + *self + } +} +pub type ReminderNotificationTriggerDetails = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Phone_Notification_Management\"`*"] +#[repr(transparent)] +pub struct ReminderState(pub i32); +impl ReminderState { + pub const Active: Self = Self(0i32); + pub const Snoozed: Self = Self(1i32); + pub const Dismissed: Self = Self(2i32); +} +impl ::core::marker::Copy for ReminderState {} +impl ::core::clone::Clone for ReminderState { + fn clone(&self) -> Self { + *self + } +} +pub type SpeedDialEntry = *mut ::core::ffi::c_void; +pub type TextResponse = *mut ::core::ffi::c_void; +pub type ToastNotificationTriggerDetails = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Phone_Notification_Management\"`*"] +#[repr(transparent)] +pub struct VibrateState(pub i32); +impl VibrateState { + pub const RingerOffVibrateOff: Self = Self(0i32); + pub const RingerOffVibrateOn: Self = Self(1i32); + pub const RingerOnVibrateOff: Self = Self(2i32); + pub const RingerOnVibrateOn: Self = Self(3i32); +} +impl ::core::marker::Copy for VibrateState {} +impl ::core::clone::Clone for VibrateState { + fn clone(&self) -> Self { + *self + } +} +pub type VolumeInfo = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Phone/Notification/mod.rs b/vendor/windows-sys/src/Windows/Phone/Notification/mod.rs new file mode 100644 index 000000000..02724fbee --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/Notification/mod.rs @@ -0,0 +1,2 @@ +#[cfg(feature = "Phone_Notification_Management")] +pub mod Management; diff --git a/vendor/windows-sys/src/Windows/Phone/PersonalInformation/Provisioning/mod.rs b/vendor/windows-sys/src/Windows/Phone/PersonalInformation/Provisioning/mod.rs new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/PersonalInformation/Provisioning/mod.rs @@ -0,0 +1 @@ + diff --git a/vendor/windows-sys/src/Windows/Phone/PersonalInformation/mod.rs b/vendor/windows-sys/src/Windows/Phone/PersonalInformation/mod.rs new file mode 100644 index 000000000..8df1042e5 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/PersonalInformation/mod.rs @@ -0,0 +1,78 @@ +#[cfg(feature = "Phone_PersonalInformation_Provisioning")] +pub mod Provisioning; +pub type ContactAddress = *mut ::core::ffi::c_void; +pub type ContactChangeRecord = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Phone_PersonalInformation\"`*"] +#[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); +} +impl ::core::marker::Copy for ContactChangeType {} +impl ::core::clone::Clone for ContactChangeType { + fn clone(&self) -> Self { + *self + } +} +pub type ContactInformation = *mut ::core::ffi::c_void; +pub type ContactQueryOptions = *mut ::core::ffi::c_void; +pub type ContactQueryResult = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Phone_PersonalInformation\"`*"] +#[repr(transparent)] +pub struct ContactQueryResultOrdering(pub i32); +impl ContactQueryResultOrdering { + pub const SystemDefault: Self = Self(0i32); + pub const GivenNameFamilyName: Self = Self(1i32); + pub const FamilyNameGivenName: Self = Self(2i32); +} +impl ::core::marker::Copy for ContactQueryResultOrdering {} +impl ::core::clone::Clone for ContactQueryResultOrdering { + fn clone(&self) -> Self { + *self + } +} +pub type ContactStore = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Phone_PersonalInformation\"`*"] +#[repr(transparent)] +pub struct ContactStoreApplicationAccessMode(pub i32); +impl ContactStoreApplicationAccessMode { + pub const LimitedReadOnly: Self = Self(0i32); + pub const ReadOnly: Self = Self(1i32); +} +impl ::core::marker::Copy for ContactStoreApplicationAccessMode {} +impl ::core::clone::Clone for ContactStoreApplicationAccessMode { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Phone_PersonalInformation\"`*"] +#[repr(transparent)] +pub struct ContactStoreSystemAccessMode(pub i32); +impl ContactStoreSystemAccessMode { + pub const ReadOnly: Self = Self(0i32); + pub const ReadWrite: Self = Self(1i32); +} +impl ::core::marker::Copy for ContactStoreSystemAccessMode {} +impl ::core::clone::Clone for ContactStoreSystemAccessMode { + fn clone(&self) -> Self { + *self + } +} +pub type IContactInformation = *mut ::core::ffi::c_void; +pub type IContactInformation2 = *mut ::core::ffi::c_void; +pub type StoredContact = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Phone_PersonalInformation\"`*"] +#[repr(transparent)] +pub struct VCardFormat(pub i32); +impl VCardFormat { + pub const Version2_1: Self = Self(0i32); + pub const Version3: Self = Self(1i32); +} +impl ::core::marker::Copy for VCardFormat {} +impl ::core::clone::Clone for VCardFormat { + fn clone(&self) -> Self { + *self + } +} diff --git a/vendor/windows-sys/src/Windows/Phone/Speech/Recognition/mod.rs b/vendor/windows-sys/src/Windows/Phone/Speech/Recognition/mod.rs new file mode 100644 index 000000000..b7bf360a5 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/Speech/Recognition/mod.rs @@ -0,0 +1,16 @@ +#[doc = "*Required features: `\"Phone_Speech_Recognition\"`*"] +#[repr(transparent)] +pub struct SpeechRecognitionUIStatus(pub i32); +impl SpeechRecognitionUIStatus { + pub const Succeeded: Self = Self(0i32); + pub const Busy: Self = Self(1i32); + pub const Cancelled: Self = Self(2i32); + pub const Preempted: Self = Self(3i32); + pub const PrivacyPolicyDeclined: Self = Self(4i32); +} +impl ::core::marker::Copy for SpeechRecognitionUIStatus {} +impl ::core::clone::Clone for SpeechRecognitionUIStatus { + fn clone(&self) -> Self { + *self + } +} diff --git a/vendor/windows-sys/src/Windows/Phone/Speech/mod.rs b/vendor/windows-sys/src/Windows/Phone/Speech/mod.rs new file mode 100644 index 000000000..f7220c5a2 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/Speech/mod.rs @@ -0,0 +1,2 @@ +#[cfg(feature = "Phone_Speech_Recognition")] +pub mod Recognition; diff --git a/vendor/windows-sys/src/Windows/Phone/StartScreen/mod.rs b/vendor/windows-sys/src/Windows/Phone/StartScreen/mod.rs new file mode 100644 index 000000000..35eb3217a --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/StartScreen/mod.rs @@ -0,0 +1,2 @@ +pub type DualSimTile = *mut ::core::ffi::c_void; +pub type IToastNotificationManagerStatics3 = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Phone/System/Power/mod.rs b/vendor/windows-sys/src/Windows/Phone/System/Power/mod.rs new file mode 100644 index 000000000..cd814efe8 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/System/Power/mod.rs @@ -0,0 +1,13 @@ +#[doc = "*Required features: `\"Phone_System_Power\"`*"] +#[repr(transparent)] +pub struct PowerSavingMode(pub i32); +impl PowerSavingMode { + pub const Off: Self = Self(0i32); + pub const On: Self = Self(1i32); +} +impl ::core::marker::Copy for PowerSavingMode {} +impl ::core::clone::Clone for PowerSavingMode { + fn clone(&self) -> Self { + *self + } +} diff --git a/vendor/windows-sys/src/Windows/Phone/System/Profile/mod.rs b/vendor/windows-sys/src/Windows/Phone/System/Profile/mod.rs new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/System/Profile/mod.rs @@ -0,0 +1 @@ + diff --git a/vendor/windows-sys/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs b/vendor/windows-sys/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs new file mode 100644 index 000000000..a2aacc92a --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/System/UserProfile/GameServices/Core/mod.rs @@ -0,0 +1,29 @@ +#[doc = "*Required features: `\"Phone_System_UserProfile_GameServices_Core\"`*"] +#[repr(transparent)] +pub struct GameServiceGameOutcome(pub i32); +impl GameServiceGameOutcome { + pub const None: Self = Self(0i32); + pub const Win: Self = Self(1i32); + pub const Loss: Self = Self(2i32); + pub const Tie: Self = Self(3i32); +} +impl ::core::marker::Copy for GameServiceGameOutcome {} +impl ::core::clone::Clone for GameServiceGameOutcome { + fn clone(&self) -> Self { + *self + } +} +pub type GameServicePropertyCollection = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Phone_System_UserProfile_GameServices_Core\"`*"] +#[repr(transparent)] +pub struct GameServiceScoreKind(pub i32); +impl GameServiceScoreKind { + pub const Number: Self = Self(0i32); + pub const Time: Self = Self(1i32); +} +impl ::core::marker::Copy for GameServiceScoreKind {} +impl ::core::clone::Clone for GameServiceScoreKind { + fn clone(&self) -> Self { + *self + } +} diff --git a/vendor/windows-sys/src/Windows/Phone/System/UserProfile/GameServices/mod.rs b/vendor/windows-sys/src/Windows/Phone/System/UserProfile/GameServices/mod.rs new file mode 100644 index 000000000..44d33c779 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/System/UserProfile/GameServices/mod.rs @@ -0,0 +1,2 @@ +#[cfg(feature = "Phone_System_UserProfile_GameServices_Core")] +pub mod Core; diff --git a/vendor/windows-sys/src/Windows/Phone/System/UserProfile/mod.rs b/vendor/windows-sys/src/Windows/Phone/System/UserProfile/mod.rs new file mode 100644 index 000000000..51cb3bde1 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/System/UserProfile/mod.rs @@ -0,0 +1,2 @@ +#[cfg(feature = "Phone_System_UserProfile_GameServices")] +pub mod GameServices; diff --git a/vendor/windows-sys/src/Windows/Phone/System/mod.rs b/vendor/windows-sys/src/Windows/Phone/System/mod.rs new file mode 100644 index 000000000..c7fe0efcd --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/System/mod.rs @@ -0,0 +1,6 @@ +#[cfg(feature = "Phone_System_Power")] +pub mod Power; +#[cfg(feature = "Phone_System_Profile")] +pub mod Profile; +#[cfg(feature = "Phone_System_UserProfile")] +pub mod UserProfile; diff --git a/vendor/windows-sys/src/Windows/Phone/UI/Input/mod.rs b/vendor/windows-sys/src/Windows/Phone/UI/Input/mod.rs new file mode 100644 index 000000000..4e497f4ad --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/UI/Input/mod.rs @@ -0,0 +1,2 @@ +pub type BackPressedEventArgs = *mut ::core::ffi::c_void; +pub type CameraEventArgs = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys/src/Windows/Phone/UI/mod.rs b/vendor/windows-sys/src/Windows/Phone/UI/mod.rs new file mode 100644 index 000000000..b6ce91862 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/UI/mod.rs @@ -0,0 +1,2 @@ +#[cfg(feature = "Phone_UI_Input")] +pub mod Input; diff --git a/vendor/windows-sys/src/Windows/Phone/mod.rs b/vendor/windows-sys/src/Windows/Phone/mod.rs new file mode 100644 index 000000000..ad6cd492c --- /dev/null +++ b/vendor/windows-sys/src/Windows/Phone/mod.rs @@ -0,0 +1,20 @@ +#[cfg(feature = "Phone_ApplicationModel")] +pub mod ApplicationModel; +#[cfg(feature = "Phone_Devices")] +pub mod Devices; +#[cfg(feature = "Phone_Management")] +pub mod Management; +#[cfg(feature = "Phone_Media")] +pub mod Media; +#[cfg(feature = "Phone_Notification")] +pub mod Notification; +#[cfg(feature = "Phone_PersonalInformation")] +pub mod PersonalInformation; +#[cfg(feature = "Phone_Speech")] +pub mod Speech; +#[cfg(feature = "Phone_StartScreen")] +pub mod StartScreen; +#[cfg(feature = "Phone_System")] +pub mod System; +#[cfg(feature = "Phone_UI")] +pub mod UI; -- cgit v1.2.3