diff options
Diffstat (limited to 'vendor/windows-sys/src/Windows/Networking/PushNotifications/mod.rs')
-rw-r--r-- | vendor/windows-sys/src/Windows/Networking/PushNotifications/mod.rs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Networking/PushNotifications/mod.rs b/vendor/windows-sys/src/Windows/Networking/PushNotifications/mod.rs new file mode 100644 index 000000000..81e9d2d92 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Networking/PushNotifications/mod.rs @@ -0,0 +1,21 @@ +pub type PushNotificationChannel = *mut ::core::ffi::c_void; +pub type PushNotificationChannelManagerForUser = *mut ::core::ffi::c_void; +pub type PushNotificationChannelsRevokedEventArgs = *mut ::core::ffi::c_void; +pub type PushNotificationReceivedEventArgs = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Networking_PushNotifications\"`*"] +#[repr(transparent)] +pub struct PushNotificationType(pub i32); +impl PushNotificationType { + pub const Toast: Self = Self(0i32); + pub const Tile: Self = Self(1i32); + pub const Badge: Self = Self(2i32); + pub const Raw: Self = Self(3i32); + pub const TileFlyout: Self = Self(4i32); +} +impl ::core::marker::Copy for PushNotificationType {} +impl ::core::clone::Clone for PushNotificationType { + fn clone(&self) -> Self { + *self + } +} +pub type RawNotification = *mut ::core::ffi::c_void; |