| #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] |
| #[link(name = "windows")] |
| extern "system" {} |
| #[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; |
| #[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; |
| #[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; |
| #[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 |
| } |
| } |
| #[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 |
| } |
| } |
| #[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; |
| #[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 |
| } |
| } |
| #[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; |
| #[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 |
| } |
| } |
| #[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 |
| } |
| } |
| #[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 |
| } |
| } |
| #[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; |
| #[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; |
| #[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; |