1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] 2 #[cfg(feature = "Management_Core")] 3 pub mod Core; 4 #[cfg(feature = "Management_Deployment")] 5 pub mod Deployment; 6 #[cfg(feature = "Management_Policies")] 7 pub mod Policies; 8 #[cfg(feature = "Management_Update")] 9 pub mod Update; 10 #[cfg(feature = "Management_Workplace")] 11 pub mod Workplace; 12 #[link(name = "windows")] 13 extern "system" {} 14 pub type MdmAlert = *mut ::core::ffi::c_void; 15 #[repr(transparent)] 16 pub struct MdmAlertDataType(pub i32); 17 impl MdmAlertDataType { 18 pub const String: Self = Self(0i32); 19 pub const Base64: Self = Self(1i32); 20 pub const Boolean: Self = Self(2i32); 21 pub const Integer: Self = Self(3i32); 22 } 23 impl ::core::marker::Copy for MdmAlertDataType {} 24 impl ::core::clone::Clone for MdmAlertDataType { clone(&self) -> Self25 fn clone(&self) -> Self { 26 *self 27 } 28 } 29 #[repr(transparent)] 30 pub struct MdmAlertMark(pub i32); 31 impl MdmAlertMark { 32 pub const None: Self = Self(0i32); 33 pub const Fatal: Self = Self(1i32); 34 pub const Critical: Self = Self(2i32); 35 pub const Warning: Self = Self(3i32); 36 pub const Informational: Self = Self(4i32); 37 } 38 impl ::core::marker::Copy for MdmAlertMark {} 39 impl ::core::clone::Clone for MdmAlertMark { clone(&self) -> Self40 fn clone(&self) -> Self { 41 *self 42 } 43 } 44 pub type MdmSession = *mut ::core::ffi::c_void; 45 #[repr(transparent)] 46 pub struct MdmSessionState(pub i32); 47 impl 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 } 56 impl ::core::marker::Copy for MdmSessionState {} 57 impl ::core::clone::Clone for MdmSessionState { clone(&self) -> Self58 fn clone(&self) -> Self { 59 *self 60 } 61 } 62