blob: f7ae7a7c1d35caf860e579fbf175efae157dd937 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#![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 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;
#[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;
|