From 4e8199b572f2035b7749cba276ece3a26630d23e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:18:21 +0200 Subject: Adding upstream version 1.67.1+dfsg1. Signed-off-by: Daniel Baumann --- .../MobileDeviceManagementRegistration/mod.rs | 60 +++++++++++----------- 1 file changed, 30 insertions(+), 30 deletions(-) (limited to 'vendor/windows-sys/src/Windows/Win32/Management') 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 + } +} -- cgit v1.2.3