]>
Commit | Line | Data |
---|---|---|
064997fb FG |
1 | #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] |
2 | #[link(name = "windows")] | |
3 | extern "system" {} | |
4 | #[repr(transparent)] | |
5 | pub struct ExtendedExecutionForegroundReason(pub i32); | |
6 | impl ExtendedExecutionForegroundReason { | |
7 | pub const Unspecified: Self = Self(0i32); | |
8 | pub const SavingData: Self = Self(1i32); | |
9 | pub const BackgroundAudio: Self = Self(2i32); | |
10 | pub const Unconstrained: Self = Self(3i32); | |
11 | } | |
12 | impl ::core::marker::Copy for ExtendedExecutionForegroundReason {} | |
13 | impl ::core::clone::Clone for ExtendedExecutionForegroundReason { | |
14 | fn clone(&self) -> Self { | |
15 | *self | |
16 | } | |
17 | } | |
18 | #[repr(transparent)] | |
19 | pub struct ExtendedExecutionForegroundResult(pub i32); | |
20 | impl ExtendedExecutionForegroundResult { | |
21 | pub const Allowed: Self = Self(0i32); | |
22 | pub const Denied: Self = Self(1i32); | |
23 | } | |
24 | impl ::core::marker::Copy for ExtendedExecutionForegroundResult {} | |
25 | impl ::core::clone::Clone for ExtendedExecutionForegroundResult { | |
26 | fn clone(&self) -> Self { | |
27 | *self | |
28 | } | |
29 | } | |
30 | pub type ExtendedExecutionForegroundRevokedEventArgs = *mut ::core::ffi::c_void; | |
31 | #[repr(transparent)] | |
32 | pub struct ExtendedExecutionForegroundRevokedReason(pub i32); | |
33 | impl ExtendedExecutionForegroundRevokedReason { | |
34 | pub const Resumed: Self = Self(0i32); | |
35 | pub const SystemPolicy: Self = Self(1i32); | |
36 | } | |
37 | impl ::core::marker::Copy for ExtendedExecutionForegroundRevokedReason {} | |
38 | impl ::core::clone::Clone for ExtendedExecutionForegroundRevokedReason { | |
39 | fn clone(&self) -> Self { | |
40 | *self | |
41 | } | |
42 | } | |
43 | pub type ExtendedExecutionForegroundSession = *mut ::core::ffi::c_void; |