]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Management/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Management / mod.rs
CommitLineData
5e7ed085
FG
1#[cfg(feature = "Management_Core")]
2pub mod Core;
3#[cfg(feature = "Management_Deployment")]
4pub mod Deployment;
5#[cfg(feature = "Management_Policies")]
6pub mod Policies;
7#[cfg(feature = "Management_Update")]
8pub mod Update;
9#[cfg(feature = "Management_Workplace")]
10pub mod Workplace;
11pub type MdmAlert = *mut ::core::ffi::c_void;
04454e1e 12#[doc = "*Required features: `\"Management\"`*"]
5e7ed085
FG
13#[repr(transparent)]
14pub struct MdmAlertDataType(pub i32);
15impl MdmAlertDataType {
16 pub const String: Self = Self(0i32);
17 pub const Base64: Self = Self(1i32);
18 pub const Boolean: Self = Self(2i32);
19 pub const Integer: Self = Self(3i32);
20}
21impl ::core::marker::Copy for MdmAlertDataType {}
22impl ::core::clone::Clone for MdmAlertDataType {
23 fn clone(&self) -> Self {
24 *self
25 }
26}
04454e1e 27#[doc = "*Required features: `\"Management\"`*"]
5e7ed085
FG
28#[repr(transparent)]
29pub struct MdmAlertMark(pub i32);
30impl MdmAlertMark {
31 pub const None: Self = Self(0i32);
32 pub const Fatal: Self = Self(1i32);
33 pub const Critical: Self = Self(2i32);
34 pub const Warning: Self = Self(3i32);
35 pub const Informational: Self = Self(4i32);
36}
37impl ::core::marker::Copy for MdmAlertMark {}
38impl ::core::clone::Clone for MdmAlertMark {
39 fn clone(&self) -> Self {
40 *self
41 }
42}
43pub type MdmSession = *mut ::core::ffi::c_void;
04454e1e 44#[doc = "*Required features: `\"Management\"`*"]
5e7ed085
FG
45#[repr(transparent)]
46pub struct MdmSessionState(pub i32);
47impl MdmSessionState {
48 pub const NotStarted: Self = Self(0i32);
49 pub const Starting: Self = Self(1i32);
50 pub const Connecting: Self = Self(2i32);
51 pub const Communicating: Self = Self(3i32);
52 pub const AlertStatusAvailable: Self = Self(4i32);
53 pub const Retrying: Self = Self(5i32);
54 pub const Completed: Self = Self(6i32);
55}
56impl ::core::marker::Copy for MdmSessionState {}
57impl ::core::clone::Clone for MdmSessionState {
58 fn clone(&self) -> Self {
59 *self
60 }
61}