]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/UI/Notifications/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / UI / Notifications / mod.rs
1 #[cfg(feature = "UI_Notifications_Management")]
2 pub mod Management;
3 #[doc = "*Required features: `\"UI_Notifications\"`*"]
4 #[repr(transparent)]
5 pub struct AdaptiveNotificationContentKind(pub i32);
6 impl AdaptiveNotificationContentKind {
7 pub const Text: Self = Self(0i32);
8 }
9 impl ::core::marker::Copy for AdaptiveNotificationContentKind {}
10 impl ::core::clone::Clone for AdaptiveNotificationContentKind {
11 fn clone(&self) -> Self {
12 *self
13 }
14 }
15 pub type AdaptiveNotificationText = *mut ::core::ffi::c_void;
16 pub type BadgeNotification = *mut ::core::ffi::c_void;
17 #[doc = "*Required features: `\"UI_Notifications\"`*"]
18 #[repr(transparent)]
19 pub struct BadgeTemplateType(pub i32);
20 impl BadgeTemplateType {
21 pub const BadgeGlyph: Self = Self(0i32);
22 pub const BadgeNumber: Self = Self(1i32);
23 }
24 impl ::core::marker::Copy for BadgeTemplateType {}
25 impl ::core::clone::Clone for BadgeTemplateType {
26 fn clone(&self) -> Self {
27 *self
28 }
29 }
30 pub type BadgeUpdateManagerForUser = *mut ::core::ffi::c_void;
31 pub type BadgeUpdater = *mut ::core::ffi::c_void;
32 pub type IAdaptiveNotificationContent = *mut ::core::ffi::c_void;
33 pub type Notification = *mut ::core::ffi::c_void;
34 pub type NotificationBinding = *mut ::core::ffi::c_void;
35 pub type NotificationData = *mut ::core::ffi::c_void;
36 #[doc = "*Required features: `\"UI_Notifications\"`*"]
37 #[repr(transparent)]
38 pub struct NotificationKinds(pub u32);
39 impl NotificationKinds {
40 pub const Unknown: Self = Self(0u32);
41 pub const Toast: Self = Self(1u32);
42 }
43 impl ::core::marker::Copy for NotificationKinds {}
44 impl ::core::clone::Clone for NotificationKinds {
45 fn clone(&self) -> Self {
46 *self
47 }
48 }
49 #[doc = "*Required features: `\"UI_Notifications\"`*"]
50 #[repr(transparent)]
51 pub struct NotificationMirroring(pub i32);
52 impl NotificationMirroring {
53 pub const Allowed: Self = Self(0i32);
54 pub const Disabled: Self = Self(1i32);
55 }
56 impl ::core::marker::Copy for NotificationMirroring {}
57 impl ::core::clone::Clone for NotificationMirroring {
58 fn clone(&self) -> Self {
59 *self
60 }
61 }
62 #[doc = "*Required features: `\"UI_Notifications\"`*"]
63 #[repr(transparent)]
64 pub struct NotificationSetting(pub i32);
65 impl NotificationSetting {
66 pub const Enabled: Self = Self(0i32);
67 pub const DisabledForApplication: Self = Self(1i32);
68 pub const DisabledForUser: Self = Self(2i32);
69 pub const DisabledByGroupPolicy: Self = Self(3i32);
70 pub const DisabledByManifest: Self = Self(4i32);
71 }
72 impl ::core::marker::Copy for NotificationSetting {}
73 impl ::core::clone::Clone for NotificationSetting {
74 fn clone(&self) -> Self {
75 *self
76 }
77 }
78 #[doc = "*Required features: `\"UI_Notifications\"`*"]
79 #[repr(transparent)]
80 pub struct NotificationUpdateResult(pub i32);
81 impl NotificationUpdateResult {
82 pub const Succeeded: Self = Self(0i32);
83 pub const Failed: Self = Self(1i32);
84 pub const NotificationNotFound: Self = Self(2i32);
85 }
86 impl ::core::marker::Copy for NotificationUpdateResult {}
87 impl ::core::clone::Clone for NotificationUpdateResult {
88 fn clone(&self) -> Self {
89 *self
90 }
91 }
92 pub type NotificationVisual = *mut ::core::ffi::c_void;
93 #[doc = "*Required features: `\"UI_Notifications\"`*"]
94 #[repr(transparent)]
95 pub struct PeriodicUpdateRecurrence(pub i32);
96 impl PeriodicUpdateRecurrence {
97 pub const HalfHour: Self = Self(0i32);
98 pub const Hour: Self = Self(1i32);
99 pub const SixHours: Self = Self(2i32);
100 pub const TwelveHours: Self = Self(3i32);
101 pub const Daily: Self = Self(4i32);
102 }
103 impl ::core::marker::Copy for PeriodicUpdateRecurrence {}
104 impl ::core::clone::Clone for PeriodicUpdateRecurrence {
105 fn clone(&self) -> Self {
106 *self
107 }
108 }
109 pub type ScheduledTileNotification = *mut ::core::ffi::c_void;
110 pub type ScheduledToastNotification = *mut ::core::ffi::c_void;
111 pub type ScheduledToastNotificationShowingEventArgs = *mut ::core::ffi::c_void;
112 pub type ShownTileNotification = *mut ::core::ffi::c_void;
113 pub type TileFlyoutNotification = *mut ::core::ffi::c_void;
114 #[doc = "*Required features: `\"UI_Notifications\"`*"]
115 #[repr(transparent)]
116 pub struct TileFlyoutTemplateType(pub i32);
117 impl TileFlyoutTemplateType {
118 pub const TileFlyoutTemplate01: Self = Self(0i32);
119 }
120 impl ::core::marker::Copy for TileFlyoutTemplateType {}
121 impl ::core::clone::Clone for TileFlyoutTemplateType {
122 fn clone(&self) -> Self {
123 *self
124 }
125 }
126 pub type TileFlyoutUpdater = *mut ::core::ffi::c_void;
127 pub type TileNotification = *mut ::core::ffi::c_void;
128 #[doc = "*Required features: `\"UI_Notifications\"`*"]
129 #[repr(transparent)]
130 pub struct TileTemplateType(pub i32);
131 impl TileTemplateType {
132 pub const TileSquareImage: Self = Self(0i32);
133 pub const TileSquareBlock: Self = Self(1i32);
134 pub const TileSquareText01: Self = Self(2i32);
135 pub const TileSquareText02: Self = Self(3i32);
136 pub const TileSquareText03: Self = Self(4i32);
137 pub const TileSquareText04: Self = Self(5i32);
138 pub const TileSquarePeekImageAndText01: Self = Self(6i32);
139 pub const TileSquarePeekImageAndText02: Self = Self(7i32);
140 pub const TileSquarePeekImageAndText03: Self = Self(8i32);
141 pub const TileSquarePeekImageAndText04: Self = Self(9i32);
142 pub const TileWideImage: Self = Self(10i32);
143 pub const TileWideImageCollection: Self = Self(11i32);
144 pub const TileWideImageAndText01: Self = Self(12i32);
145 pub const TileWideImageAndText02: Self = Self(13i32);
146 pub const TileWideBlockAndText01: Self = Self(14i32);
147 pub const TileWideBlockAndText02: Self = Self(15i32);
148 pub const TileWidePeekImageCollection01: Self = Self(16i32);
149 pub const TileWidePeekImageCollection02: Self = Self(17i32);
150 pub const TileWidePeekImageCollection03: Self = Self(18i32);
151 pub const TileWidePeekImageCollection04: Self = Self(19i32);
152 pub const TileWidePeekImageCollection05: Self = Self(20i32);
153 pub const TileWidePeekImageCollection06: Self = Self(21i32);
154 pub const TileWidePeekImageAndText01: Self = Self(22i32);
155 pub const TileWidePeekImageAndText02: Self = Self(23i32);
156 pub const TileWidePeekImage01: Self = Self(24i32);
157 pub const TileWidePeekImage02: Self = Self(25i32);
158 pub const TileWidePeekImage03: Self = Self(26i32);
159 pub const TileWidePeekImage04: Self = Self(27i32);
160 pub const TileWidePeekImage05: Self = Self(28i32);
161 pub const TileWidePeekImage06: Self = Self(29i32);
162 pub const TileWideSmallImageAndText01: Self = Self(30i32);
163 pub const TileWideSmallImageAndText02: Self = Self(31i32);
164 pub const TileWideSmallImageAndText03: Self = Self(32i32);
165 pub const TileWideSmallImageAndText04: Self = Self(33i32);
166 pub const TileWideSmallImageAndText05: Self = Self(34i32);
167 pub const TileWideText01: Self = Self(35i32);
168 pub const TileWideText02: Self = Self(36i32);
169 pub const TileWideText03: Self = Self(37i32);
170 pub const TileWideText04: Self = Self(38i32);
171 pub const TileWideText05: Self = Self(39i32);
172 pub const TileWideText06: Self = Self(40i32);
173 pub const TileWideText07: Self = Self(41i32);
174 pub const TileWideText08: Self = Self(42i32);
175 pub const TileWideText09: Self = Self(43i32);
176 pub const TileWideText10: Self = Self(44i32);
177 pub const TileWideText11: Self = Self(45i32);
178 pub const TileSquare150x150Image: Self = Self(0i32);
179 pub const TileSquare150x150Block: Self = Self(1i32);
180 pub const TileSquare150x150Text01: Self = Self(2i32);
181 pub const TileSquare150x150Text02: Self = Self(3i32);
182 pub const TileSquare150x150Text03: Self = Self(4i32);
183 pub const TileSquare150x150Text04: Self = Self(5i32);
184 pub const TileSquare150x150PeekImageAndText01: Self = Self(6i32);
185 pub const TileSquare150x150PeekImageAndText02: Self = Self(7i32);
186 pub const TileSquare150x150PeekImageAndText03: Self = Self(8i32);
187 pub const TileSquare150x150PeekImageAndText04: Self = Self(9i32);
188 pub const TileWide310x150Image: Self = Self(10i32);
189 pub const TileWide310x150ImageCollection: Self = Self(11i32);
190 pub const TileWide310x150ImageAndText01: Self = Self(12i32);
191 pub const TileWide310x150ImageAndText02: Self = Self(13i32);
192 pub const TileWide310x150BlockAndText01: Self = Self(14i32);
193 pub const TileWide310x150BlockAndText02: Self = Self(15i32);
194 pub const TileWide310x150PeekImageCollection01: Self = Self(16i32);
195 pub const TileWide310x150PeekImageCollection02: Self = Self(17i32);
196 pub const TileWide310x150PeekImageCollection03: Self = Self(18i32);
197 pub const TileWide310x150PeekImageCollection04: Self = Self(19i32);
198 pub const TileWide310x150PeekImageCollection05: Self = Self(20i32);
199 pub const TileWide310x150PeekImageCollection06: Self = Self(21i32);
200 pub const TileWide310x150PeekImageAndText01: Self = Self(22i32);
201 pub const TileWide310x150PeekImageAndText02: Self = Self(23i32);
202 pub const TileWide310x150PeekImage01: Self = Self(24i32);
203 pub const TileWide310x150PeekImage02: Self = Self(25i32);
204 pub const TileWide310x150PeekImage03: Self = Self(26i32);
205 pub const TileWide310x150PeekImage04: Self = Self(27i32);
206 pub const TileWide310x150PeekImage05: Self = Self(28i32);
207 pub const TileWide310x150PeekImage06: Self = Self(29i32);
208 pub const TileWide310x150SmallImageAndText01: Self = Self(30i32);
209 pub const TileWide310x150SmallImageAndText02: Self = Self(31i32);
210 pub const TileWide310x150SmallImageAndText03: Self = Self(32i32);
211 pub const TileWide310x150SmallImageAndText04: Self = Self(33i32);
212 pub const TileWide310x150SmallImageAndText05: Self = Self(34i32);
213 pub const TileWide310x150Text01: Self = Self(35i32);
214 pub const TileWide310x150Text02: Self = Self(36i32);
215 pub const TileWide310x150Text03: Self = Self(37i32);
216 pub const TileWide310x150Text04: Self = Self(38i32);
217 pub const TileWide310x150Text05: Self = Self(39i32);
218 pub const TileWide310x150Text06: Self = Self(40i32);
219 pub const TileWide310x150Text07: Self = Self(41i32);
220 pub const TileWide310x150Text08: Self = Self(42i32);
221 pub const TileWide310x150Text09: Self = Self(43i32);
222 pub const TileWide310x150Text10: Self = Self(44i32);
223 pub const TileWide310x150Text11: Self = Self(45i32);
224 pub const TileSquare310x310BlockAndText01: Self = Self(46i32);
225 pub const TileSquare310x310BlockAndText02: Self = Self(47i32);
226 pub const TileSquare310x310Image: Self = Self(48i32);
227 pub const TileSquare310x310ImageAndText01: Self = Self(49i32);
228 pub const TileSquare310x310ImageAndText02: Self = Self(50i32);
229 pub const TileSquare310x310ImageAndTextOverlay01: Self = Self(51i32);
230 pub const TileSquare310x310ImageAndTextOverlay02: Self = Self(52i32);
231 pub const TileSquare310x310ImageAndTextOverlay03: Self = Self(53i32);
232 pub const TileSquare310x310ImageCollectionAndText01: Self = Self(54i32);
233 pub const TileSquare310x310ImageCollectionAndText02: Self = Self(55i32);
234 pub const TileSquare310x310ImageCollection: Self = Self(56i32);
235 pub const TileSquare310x310SmallImagesAndTextList01: Self = Self(57i32);
236 pub const TileSquare310x310SmallImagesAndTextList02: Self = Self(58i32);
237 pub const TileSquare310x310SmallImagesAndTextList03: Self = Self(59i32);
238 pub const TileSquare310x310SmallImagesAndTextList04: Self = Self(60i32);
239 pub const TileSquare310x310Text01: Self = Self(61i32);
240 pub const TileSquare310x310Text02: Self = Self(62i32);
241 pub const TileSquare310x310Text03: Self = Self(63i32);
242 pub const TileSquare310x310Text04: Self = Self(64i32);
243 pub const TileSquare310x310Text05: Self = Self(65i32);
244 pub const TileSquare310x310Text06: Self = Self(66i32);
245 pub const TileSquare310x310Text07: Self = Self(67i32);
246 pub const TileSquare310x310Text08: Self = Self(68i32);
247 pub const TileSquare310x310TextList01: Self = Self(69i32);
248 pub const TileSquare310x310TextList02: Self = Self(70i32);
249 pub const TileSquare310x310TextList03: Self = Self(71i32);
250 pub const TileSquare310x310SmallImageAndText01: Self = Self(72i32);
251 pub const TileSquare310x310SmallImagesAndTextList05: Self = Self(73i32);
252 pub const TileSquare310x310Text09: Self = Self(74i32);
253 pub const TileSquare71x71IconWithBadge: Self = Self(75i32);
254 pub const TileSquare150x150IconWithBadge: Self = Self(76i32);
255 pub const TileWide310x150IconWithBadgeAndText: Self = Self(77i32);
256 pub const TileSquare71x71Image: Self = Self(78i32);
257 pub const TileTall150x310Image: Self = Self(79i32);
258 }
259 impl ::core::marker::Copy for TileTemplateType {}
260 impl ::core::clone::Clone for TileTemplateType {
261 fn clone(&self) -> Self {
262 *self
263 }
264 }
265 pub type TileUpdateManagerForUser = *mut ::core::ffi::c_void;
266 pub type TileUpdater = *mut ::core::ffi::c_void;
267 pub type ToastActivatedEventArgs = *mut ::core::ffi::c_void;
268 pub type ToastCollection = *mut ::core::ffi::c_void;
269 pub type ToastCollectionManager = *mut ::core::ffi::c_void;
270 #[doc = "*Required features: `\"UI_Notifications\"`*"]
271 #[repr(transparent)]
272 pub struct ToastDismissalReason(pub i32);
273 impl ToastDismissalReason {
274 pub const UserCanceled: Self = Self(0i32);
275 pub const ApplicationHidden: Self = Self(1i32);
276 pub const TimedOut: Self = Self(2i32);
277 }
278 impl ::core::marker::Copy for ToastDismissalReason {}
279 impl ::core::clone::Clone for ToastDismissalReason {
280 fn clone(&self) -> Self {
281 *self
282 }
283 }
284 pub type ToastDismissedEventArgs = *mut ::core::ffi::c_void;
285 pub type ToastFailedEventArgs = *mut ::core::ffi::c_void;
286 #[doc = "*Required features: `\"UI_Notifications\"`*"]
287 #[repr(transparent)]
288 pub struct ToastHistoryChangedType(pub i32);
289 impl ToastHistoryChangedType {
290 pub const Cleared: Self = Self(0i32);
291 pub const Removed: Self = Self(1i32);
292 pub const Expired: Self = Self(2i32);
293 pub const Added: Self = Self(3i32);
294 }
295 impl ::core::marker::Copy for ToastHistoryChangedType {}
296 impl ::core::clone::Clone for ToastHistoryChangedType {
297 fn clone(&self) -> Self {
298 *self
299 }
300 }
301 pub type ToastNotification = *mut ::core::ffi::c_void;
302 pub type ToastNotificationActionTriggerDetail = *mut ::core::ffi::c_void;
303 pub type ToastNotificationHistory = *mut ::core::ffi::c_void;
304 pub type ToastNotificationHistoryChangedTriggerDetail = *mut ::core::ffi::c_void;
305 pub type ToastNotificationManagerForUser = *mut ::core::ffi::c_void;
306 #[doc = "*Required features: `\"UI_Notifications\"`*"]
307 #[repr(transparent)]
308 pub struct ToastNotificationPriority(pub i32);
309 impl ToastNotificationPriority {
310 pub const Default: Self = Self(0i32);
311 pub const High: Self = Self(1i32);
312 }
313 impl ::core::marker::Copy for ToastNotificationPriority {}
314 impl ::core::clone::Clone for ToastNotificationPriority {
315 fn clone(&self) -> Self {
316 *self
317 }
318 }
319 pub type ToastNotifier = *mut ::core::ffi::c_void;
320 #[doc = "*Required features: `\"UI_Notifications\"`*"]
321 #[repr(transparent)]
322 pub struct ToastTemplateType(pub i32);
323 impl ToastTemplateType {
324 pub const ToastImageAndText01: Self = Self(0i32);
325 pub const ToastImageAndText02: Self = Self(1i32);
326 pub const ToastImageAndText03: Self = Self(2i32);
327 pub const ToastImageAndText04: Self = Self(3i32);
328 pub const ToastText01: Self = Self(4i32);
329 pub const ToastText02: Self = Self(5i32);
330 pub const ToastText03: Self = Self(6i32);
331 pub const ToastText04: Self = Self(7i32);
332 }
333 impl ::core::marker::Copy for ToastTemplateType {}
334 impl ::core::clone::Clone for ToastTemplateType {
335 fn clone(&self) -> Self {
336 *self
337 }
338 }
339 pub type UserNotification = *mut ::core::ffi::c_void;
340 pub type UserNotificationChangedEventArgs = *mut ::core::ffi::c_void;
341 #[doc = "*Required features: `\"UI_Notifications\"`*"]
342 #[repr(transparent)]
343 pub struct UserNotificationChangedKind(pub i32);
344 impl UserNotificationChangedKind {
345 pub const Added: Self = Self(0i32);
346 pub const Removed: Self = Self(1i32);
347 }
348 impl ::core::marker::Copy for UserNotificationChangedKind {}
349 impl ::core::clone::Clone for UserNotificationChangedKind {
350 fn clone(&self) -> Self {
351 *self
352 }
353 }