summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Media/ContentRestrictions/mod.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
commit698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch)
tree173a775858bd501c378080a10dca74132f05bc50 /vendor/windows-sys/src/Windows/Media/ContentRestrictions/mod.rs
parentInitial commit. (diff)
downloadrustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.tar.xz
rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.zip
Adding upstream version 1.64.0+dfsg1.upstream/1.64.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Media/ContentRestrictions/mod.rs')
-rw-r--r--vendor/windows-sys/src/Windows/Media/ContentRestrictions/mod.rs35
1 files changed, 35 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Media/ContentRestrictions/mod.rs b/vendor/windows-sys/src/Windows/Media/ContentRestrictions/mod.rs
new file mode 100644
index 000000000..0826e7b93
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Media/ContentRestrictions/mod.rs
@@ -0,0 +1,35 @@
+#[doc = "*Required features: `\"Media_ContentRestrictions\"`*"]
+#[repr(transparent)]
+pub struct ContentAccessRestrictionLevel(pub i32);
+impl ContentAccessRestrictionLevel {
+ pub const Allow: Self = Self(0i32);
+ pub const Warn: Self = Self(1i32);
+ pub const Block: Self = Self(2i32);
+ pub const Hide: Self = Self(3i32);
+}
+impl ::core::marker::Copy for ContentAccessRestrictionLevel {}
+impl ::core::clone::Clone for ContentAccessRestrictionLevel {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type ContentRestrictionsBrowsePolicy = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Media_ContentRestrictions\"`*"]
+#[repr(transparent)]
+pub struct RatedContentCategory(pub i32);
+impl RatedContentCategory {
+ pub const General: Self = Self(0i32);
+ pub const Application: Self = Self(1i32);
+ pub const Game: Self = Self(2i32);
+ pub const Movie: Self = Self(3i32);
+ pub const Television: Self = Self(4i32);
+ pub const Music: Self = Self(5i32);
+}
+impl ::core::marker::Copy for RatedContentCategory {}
+impl ::core::clone::Clone for RatedContentCategory {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type RatedContentDescription = *mut ::core::ffi::c_void;
+pub type RatedContentRestrictions = *mut ::core::ffi::c_void;