summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Win32/Management/MobileDeviceManagementRegistration/mod.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:21 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:18:21 +0000
commit4e8199b572f2035b7749cba276ece3a26630d23e (patch)
treef09feeed6a0fe39d027b1908aa63ea6b35e4b631 /vendor/windows-sys/src/Windows/Win32/Management/MobileDeviceManagementRegistration/mod.rs
parentAdding upstream version 1.66.0+dfsg1. (diff)
downloadrustc-4e8199b572f2035b7749cba276ece3a26630d23e.tar.xz
rustc-4e8199b572f2035b7749cba276ece3a26630d23e.zip
Adding upstream version 1.67.1+dfsg1.upstream/1.67.1+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/Management/MobileDeviceManagementRegistration/mod.rs')
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Management/MobileDeviceManagementRegistration/mod.rs60
1 files changed, 30 insertions, 30 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/Management/MobileDeviceManagementRegistration/mod.rs b/vendor/windows-sys/src/Windows/Win32/Management/MobileDeviceManagementRegistration/mod.rs
index 9fa99f310..1d1881a24 100644
--- a/vendor/windows-sys/src/Windows/Win32/Management/MobileDeviceManagementRegistration/mod.rs
+++ b/vendor/windows-sys/src/Windows/Win32/Management/MobileDeviceManagementRegistration/mod.rs
@@ -1,4 +1,4 @@
-#[link(name = "windows")]
+#[cfg_attr(windows, link(name = "windows"))]
extern "system" {
#[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"]
pub fn ApplyLocalManagementSyncML(syncmlrequest: ::windows_sys::core::PCWSTR, syncmlresult: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT;
@@ -53,35 +53,6 @@ pub const DEVICEREGISTRATIONTYPE_MDM_ONLY: u32 = 0u32;
pub const DEVICEREGISTRATIONTYPE_MDM_USERSPECIFIC_WITH_AAD: u32 = 13u32;
#[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"]
pub const DEVICE_ENROLLER_FACILITY_CODE: u32 = 24u32;
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`, `\"Win32_Foundation\"`*"]
-#[cfg(feature = "Win32_Foundation")]
-pub struct MANAGEMENT_REGISTRATION_INFO {
- pub fDeviceRegisteredWithManagement: super::super::Foundation::BOOL,
- pub dwDeviceRegistionKind: u32,
- pub pszUPN: ::windows_sys::core::PWSTR,
- pub pszMDMServiceUri: ::windows_sys::core::PWSTR,
-}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::marker::Copy for MANAGEMENT_REGISTRATION_INFO {}
-#[cfg(feature = "Win32_Foundation")]
-impl ::core::clone::Clone for MANAGEMENT_REGISTRATION_INFO {
- fn clone(&self) -> Self {
- *self
- }
-}
-#[repr(C)]
-#[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"]
-pub struct MANAGEMENT_SERVICE_INFO {
- pub pszMDMServiceUri: ::windows_sys::core::PWSTR,
- pub pszAuthenticationUri: ::windows_sys::core::PWSTR,
-}
-impl ::core::marker::Copy for MANAGEMENT_SERVICE_INFO {}
-impl ::core::clone::Clone for MANAGEMENT_SERVICE_INFO {
- fn clone(&self) -> Self {
- *self
- }
-}
#[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"]
pub const MDM_REGISTRATION_FACILITY_CODE: u32 = 25u32;
#[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"]
@@ -210,3 +181,32 @@ pub type REGISTRATION_INFORMATION_CLASS = i32;
pub const DeviceRegistrationBasicInfo: REGISTRATION_INFORMATION_CLASS = 1i32;
#[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"]
pub const MaxDeviceInfoClass: REGISTRATION_INFORMATION_CLASS = 2i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct MANAGEMENT_REGISTRATION_INFO {
+ pub fDeviceRegisteredWithManagement: super::super::Foundation::BOOL,
+ pub dwDeviceRegistionKind: u32,
+ pub pszUPN: ::windows_sys::core::PWSTR,
+ pub pszMDMServiceUri: ::windows_sys::core::PWSTR,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for MANAGEMENT_REGISTRATION_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for MANAGEMENT_REGISTRATION_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Management_MobileDeviceManagementRegistration\"`*"]
+pub struct MANAGEMENT_SERVICE_INFO {
+ pub pszMDMServiceUri: ::windows_sys::core::PWSTR,
+ pub pszAuthenticationUri: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for MANAGEMENT_SERVICE_INFO {}
+impl ::core::clone::Clone for MANAGEMENT_SERVICE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}