]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Phone/Notification/Management/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Phone / Notification / Management / mod.rs
1 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
2 #[repr(transparent)]
3 pub struct AccessoryNotificationType(pub u32);
4 impl AccessoryNotificationType {
5 pub const None: Self = Self(0u32);
6 pub const Phone: Self = Self(1u32);
7 pub const Email: Self = Self(2u32);
8 pub const Reminder: Self = Self(4u32);
9 pub const Alarm: Self = Self(8u32);
10 pub const Toast: Self = Self(16u32);
11 pub const AppUninstalled: Self = Self(32u32);
12 pub const Dnd: Self = Self(64u32);
13 pub const DrivingMode: Self = Self(128u32);
14 pub const BatterySaver: Self = Self(256u32);
15 pub const Media: Self = Self(512u32);
16 pub const CortanaTile: Self = Self(1024u32);
17 pub const ToastCleared: Self = Self(2048u32);
18 pub const CalendarChanged: Self = Self(4096u32);
19 pub const VolumeChanged: Self = Self(8192u32);
20 pub const EmailReadStatusChanged: Self = Self(16384u32);
21 }
22 impl ::core::marker::Copy for AccessoryNotificationType {}
23 impl ::core::clone::Clone for AccessoryNotificationType {
24 fn clone(&self) -> Self {
25 *self
26 }
27 }
28 pub type AlarmNotificationTriggerDetails = *mut ::core::ffi::c_void;
29 pub type AppNotificationInfo = *mut ::core::ffi::c_void;
30 pub type BinaryId = *mut ::core::ffi::c_void;
31 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
32 #[repr(transparent)]
33 pub struct CalendarChangedEvent(pub i32);
34 impl CalendarChangedEvent {
35 pub const LostEvents: Self = Self(0i32);
36 pub const AppointmentAdded: Self = Self(1i32);
37 pub const AppointmentChanged: Self = Self(2i32);
38 pub const AppointmentDeleted: Self = Self(3i32);
39 pub const CalendarAdded: Self = Self(4i32);
40 pub const CalendarChanged: Self = Self(5i32);
41 pub const CalendarDeleted: Self = Self(6i32);
42 }
43 impl ::core::marker::Copy for CalendarChangedEvent {}
44 impl ::core::clone::Clone for CalendarChangedEvent {
45 fn clone(&self) -> Self {
46 *self
47 }
48 }
49 pub type CalendarChangedNotificationTriggerDetails = *mut ::core::ffi::c_void;
50 pub type CortanaTileNotificationTriggerDetails = *mut ::core::ffi::c_void;
51 pub type EmailAccountInfo = *mut ::core::ffi::c_void;
52 pub type EmailFolderInfo = *mut ::core::ffi::c_void;
53 pub type EmailNotificationTriggerDetails = *mut ::core::ffi::c_void;
54 pub type EmailReadNotificationTriggerDetails = *mut ::core::ffi::c_void;
55 pub type IAccessoryNotificationTriggerDetails = *mut ::core::ffi::c_void;
56 pub type MediaControlsTriggerDetails = *mut ::core::ffi::c_void;
57 pub type MediaMetadata = *mut ::core::ffi::c_void;
58 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
59 #[repr(transparent)]
60 pub struct PhoneCallAudioEndpoint(pub i32);
61 impl PhoneCallAudioEndpoint {
62 pub const Default: Self = Self(0i32);
63 pub const Speaker: Self = Self(1i32);
64 pub const Handsfree: Self = Self(2i32);
65 }
66 impl ::core::marker::Copy for PhoneCallAudioEndpoint {}
67 impl ::core::clone::Clone for PhoneCallAudioEndpoint {
68 fn clone(&self) -> Self {
69 *self
70 }
71 }
72 pub type PhoneCallDetails = *mut ::core::ffi::c_void;
73 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
74 #[repr(transparent)]
75 pub struct PhoneCallDirection(pub i32);
76 impl PhoneCallDirection {
77 pub const Incoming: Self = Self(0i32);
78 pub const Outgoing: Self = Self(1i32);
79 }
80 impl ::core::marker::Copy for PhoneCallDirection {}
81 impl ::core::clone::Clone for PhoneCallDirection {
82 fn clone(&self) -> Self {
83 *self
84 }
85 }
86 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
87 #[repr(transparent)]
88 pub struct PhoneCallState(pub i32);
89 impl PhoneCallState {
90 pub const Unknown: Self = Self(0i32);
91 pub const Ringing: Self = Self(1i32);
92 pub const Talking: Self = Self(2i32);
93 pub const Held: Self = Self(3i32);
94 pub const Ended: Self = Self(4i32);
95 }
96 impl ::core::marker::Copy for PhoneCallState {}
97 impl ::core::clone::Clone for PhoneCallState {
98 fn clone(&self) -> Self {
99 *self
100 }
101 }
102 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
103 #[repr(transparent)]
104 pub struct PhoneCallTransport(pub i32);
105 impl PhoneCallTransport {
106 pub const Cellular: Self = Self(0i32);
107 pub const Voip: Self = Self(1i32);
108 }
109 impl ::core::marker::Copy for PhoneCallTransport {}
110 impl ::core::clone::Clone for PhoneCallTransport {
111 fn clone(&self) -> Self {
112 *self
113 }
114 }
115 pub type PhoneLineDetails = *mut ::core::ffi::c_void;
116 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
117 #[repr(transparent)]
118 pub struct PhoneLineRegistrationState(pub i32);
119 impl PhoneLineRegistrationState {
120 pub const Disconnected: Self = Self(0i32);
121 pub const Home: Self = Self(1i32);
122 pub const Roaming: Self = Self(2i32);
123 }
124 impl ::core::marker::Copy for PhoneLineRegistrationState {}
125 impl ::core::clone::Clone for PhoneLineRegistrationState {
126 fn clone(&self) -> Self {
127 *self
128 }
129 }
130 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
131 #[repr(transparent)]
132 pub struct PhoneMediaType(pub i32);
133 impl PhoneMediaType {
134 pub const AudioOnly: Self = Self(0i32);
135 pub const AudioVideo: Self = Self(1i32);
136 }
137 impl ::core::marker::Copy for PhoneMediaType {}
138 impl ::core::clone::Clone for PhoneMediaType {
139 fn clone(&self) -> Self {
140 *self
141 }
142 }
143 pub type PhoneNotificationTriggerDetails = *mut ::core::ffi::c_void;
144 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
145 #[repr(transparent)]
146 pub struct PhoneNotificationType(pub i32);
147 impl PhoneNotificationType {
148 pub const NewCall: Self = Self(0i32);
149 pub const CallChanged: Self = Self(1i32);
150 pub const LineChanged: Self = Self(2i32);
151 pub const PhoneCallAudioEndpointChanged: Self = Self(3i32);
152 pub const PhoneMuteChanged: Self = Self(4i32);
153 }
154 impl ::core::marker::Copy for PhoneNotificationType {}
155 impl ::core::clone::Clone for PhoneNotificationType {
156 fn clone(&self) -> Self {
157 *self
158 }
159 }
160 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
161 #[repr(transparent)]
162 pub struct PlaybackCapability(pub u32);
163 impl PlaybackCapability {
164 pub const None: Self = Self(0u32);
165 pub const Play: Self = Self(1u32);
166 pub const Pause: Self = Self(2u32);
167 pub const Stop: Self = Self(4u32);
168 pub const Record: Self = Self(8u32);
169 pub const FastForward: Self = Self(16u32);
170 pub const Rewind: Self = Self(32u32);
171 pub const Next: Self = Self(64u32);
172 pub const Previous: Self = Self(128u32);
173 pub const ChannelUp: Self = Self(256u32);
174 pub const ChannelDown: Self = Self(512u32);
175 }
176 impl ::core::marker::Copy for PlaybackCapability {}
177 impl ::core::clone::Clone for PlaybackCapability {
178 fn clone(&self) -> Self {
179 *self
180 }
181 }
182 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
183 #[repr(transparent)]
184 pub struct PlaybackCommand(pub i32);
185 impl PlaybackCommand {
186 pub const Play: Self = Self(0i32);
187 pub const Pause: Self = Self(1i32);
188 pub const Stop: Self = Self(2i32);
189 pub const Record: Self = Self(3i32);
190 pub const FastForward: Self = Self(4i32);
191 pub const Rewind: Self = Self(5i32);
192 pub const Next: Self = Self(6i32);
193 pub const Previous: Self = Self(7i32);
194 pub const ChannelUp: Self = Self(8i32);
195 pub const ChannelDown: Self = Self(9i32);
196 }
197 impl ::core::marker::Copy for PlaybackCommand {}
198 impl ::core::clone::Clone for PlaybackCommand {
199 fn clone(&self) -> Self {
200 *self
201 }
202 }
203 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
204 #[repr(transparent)]
205 pub struct PlaybackStatus(pub i32);
206 impl PlaybackStatus {
207 pub const None: Self = Self(0i32);
208 pub const TrackChanged: Self = Self(1i32);
209 pub const Stopped: Self = Self(2i32);
210 pub const Playing: Self = Self(3i32);
211 pub const Paused: Self = Self(4i32);
212 }
213 impl ::core::marker::Copy for PlaybackStatus {}
214 impl ::core::clone::Clone for PlaybackStatus {
215 fn clone(&self) -> Self {
216 *self
217 }
218 }
219 pub type ReminderNotificationTriggerDetails = *mut ::core::ffi::c_void;
220 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
221 #[repr(transparent)]
222 pub struct ReminderState(pub i32);
223 impl ReminderState {
224 pub const Active: Self = Self(0i32);
225 pub const Snoozed: Self = Self(1i32);
226 pub const Dismissed: Self = Self(2i32);
227 }
228 impl ::core::marker::Copy for ReminderState {}
229 impl ::core::clone::Clone for ReminderState {
230 fn clone(&self) -> Self {
231 *self
232 }
233 }
234 pub type SpeedDialEntry = *mut ::core::ffi::c_void;
235 pub type TextResponse = *mut ::core::ffi::c_void;
236 pub type ToastNotificationTriggerDetails = *mut ::core::ffi::c_void;
237 #[doc = "*Required features: `\"Phone_Notification_Management\"`*"]
238 #[repr(transparent)]
239 pub struct VibrateState(pub i32);
240 impl VibrateState {
241 pub const RingerOffVibrateOff: Self = Self(0i32);
242 pub const RingerOffVibrateOn: Self = Self(1i32);
243 pub const RingerOnVibrateOff: Self = Self(2i32);
244 pub const RingerOnVibrateOn: Self = Self(3i32);
245 }
246 impl ::core::marker::Copy for VibrateState {}
247 impl ::core::clone::Clone for VibrateState {
248 fn clone(&self) -> Self {
249 *self
250 }
251 }
252 pub type VolumeInfo = *mut ::core::ffi::c_void;