Debian Codegraph @

.cargo/vendor/windows-sys/src/Windows/Win32/Management/MobileDeviceManagementRegistration/mod.rs

raw
1 ::windows_targets::link!("mdmlocalmanagement.dll" "system" fn ApplyLocalManagementSyncML(syncmlrequest : ::windows_sys::core::PCWSTR, syncmlresult : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
2 ::windows_targets::link!("mdmregistration.dll" "system" fn DiscoverManagementService(pszupn : ::windows_sys::core::PCWSTR, ppmgmtinfo : *mut *mut MANAGEMENT_SERVICE_INFO) -> ::windows_sys::core::HRESULT);
3 ::windows_targets::link!("mdmregistration.dll" "system" fn DiscoverManagementServiceEx(pszupn : ::windows_sys::core::PCWSTR, pszdiscoveryservicecandidate : ::windows_sys::core::PCWSTR, ppmgmtinfo : *mut *mut MANAGEMENT_SERVICE_INFO) -> ::windows_sys::core::HRESULT);
4 ::windows_targets::link!("mdmregistration.dll" "system" fn GetDeviceManagementConfigInfo(providerid : ::windows_sys::core::PCWSTR, configstringbufferlength : *mut u32, configstring : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
5 ::windows_targets::link!("mdmregistration.dll" "system" fn GetDeviceRegistrationInfo(deviceinformationclass : REGISTRATION_INFORMATION_CLASS, ppdeviceregistrationinfo : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
6 ::windows_targets::link!("mdmregistration.dll" "system" fn GetManagementAppHyperlink(cchhyperlink : u32, pszhyperlink : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
7 #[cfg(feature = "Win32_Foundation")]
8 ::windows_targets::link!("mdmregistration.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsDeviceRegisteredWithManagement(pfisdeviceregisteredwithmanagement : *mut super::super::Foundation:: BOOL, cchupn : u32, pszupn : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
9 #[cfg(feature = "Win32_Foundation")]
10 ::windows_targets::link!("mdmregistration.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsManagementRegistrationAllowed(pfismanagementregistrationallowed : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
11 #[cfg(feature = "Win32_Foundation")]
12 ::windows_targets::link!("mdmregistration.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsMdmUxWithoutAadAllowed(isenrollmentallowed : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
13 ::windows_targets::link!("mdmregistration.dll" "system" fn RegisterDeviceDualEnrollMmpcUsingAADDeviceCredentials(cchenrollmentid : u32, pszenrollmentid : ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
14 #[cfg(feature = "Win32_Foundation")]
15 ::windows_targets::link!("mdmlocalmanagement.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RegisterDeviceWithLocalManagement(alreadyregistered : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
16 ::windows_targets::link!("mdmregistration.dll" "system" fn RegisterDeviceWithManagement(pszupn : ::windows_sys::core::PCWSTR, ppszmdmserviceuri : ::windows_sys::core::PCWSTR, ppzsaccesstoken : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
17 #[cfg(feature = "Win32_Foundation")]
18 ::windows_targets::link!("mdmregistration.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RegisterDeviceWithManagementUsingAADCredentials(usertoken : super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT);
19 ::windows_targets::link!("mdmregistration.dll" "system" fn RegisterDeviceWithManagementUsingAADDeviceCredentials() -> ::windows_sys::core::HRESULT);
20 ::windows_targets::link!("mdmregistration.dll" "system" fn RegisterDeviceWithManagementUsingAADDeviceCredentials2(mdmapplicationid : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
21 ::windows_targets::link!("mdmregistration.dll" "system" fn SetDeviceManagementConfigInfo(providerid : ::windows_sys::core::PCWSTR, configstring : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
22 #[cfg(feature = "Win32_Foundation")]
23 ::windows_targets::link!("mdmregistration.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetManagedExternally(ismanagedexternally : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT);
24 ::windows_targets::link!("mdmlocalmanagement.dll" "system" fn UnregisterDeviceWithLocalManagement() -> ::windows_sys::core::HRESULT);
25 ::windows_targets::link!("mdmregistration.dll" "system" fn UnregisterDeviceWithManagement(enrollmentid : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
26 pub const DEVICEREGISTRATIONTYPE_MAM: u32 = 5u32;
27 pub const DEVICEREGISTRATIONTYPE_MDM_DEVICEWIDE_WITH_AAD: u32 = 6u32;
28 pub const DEVICEREGISTRATIONTYPE_MDM_ONLY: u32 = 0u32;
29 pub const DEVICEREGISTRATIONTYPE_MDM_USERSPECIFIC_WITH_AAD: u32 = 13u32;
30 pub const DEVICE_ENROLLER_FACILITY_CODE: u32 = 24u32;
31 pub const DeviceRegistrationBasicInfo: REGISTRATION_INFORMATION_CLASS = 1i32;
32 pub const MDM_REGISTRATION_FACILITY_CODE: u32 = 25u32;
33 pub const MENROLL_E_CERTAUTH_FAILED_TO_FIND_CERT: ::windows_sys::core::HRESULT = -2145910744i32;
34 pub const MENROLL_E_CERTPOLICY_PRIVATEKEYCREATION_FAILED: ::windows_sys::core::HRESULT = -2145910745i32;
35 pub const MENROLL_E_CONNECTIVITY: ::windows_sys::core::HRESULT = -2145910768i32;
36 pub const MENROLL_E_DEVICECAPREACHED: ::windows_sys::core::HRESULT = -2145910765i32;
37 pub const MENROLL_E_DEVICENOTSUPPORTED: ::windows_sys::core::HRESULT = -2145910764i32;
38 pub const MENROLL_E_DEVICE_ALREADY_ENROLLED: ::windows_sys::core::HRESULT = -2145910774i32;
39 pub const MENROLL_E_DEVICE_AUTHENTICATION_ERROR: ::windows_sys::core::HRESULT = -2145910782i32;
40 pub const MENROLL_E_DEVICE_AUTHORIZATION_ERROR: ::windows_sys::core::HRESULT = -2145910781i32;
41 pub const MENROLL_E_DEVICE_CERTIFCATEREQUEST_ERROR: ::windows_sys::core::HRESULT = -2145910780i32;
42 pub const MENROLL_E_DEVICE_CERTIFICATEREQUEST_ERROR: ::windows_sys::core::HRESULT = -2145910780i32;
43 pub const MENROLL_E_DEVICE_CONFIGMGRSERVER_ERROR: ::windows_sys::core::HRESULT = -2145910779i32;
44 pub const MENROLL_E_DEVICE_INTERNALSERVICE_ERROR: ::windows_sys::core::HRESULT = -2145910778i32;
45 pub const MENROLL_E_DEVICE_INVALIDSECURITY_ERROR: ::windows_sys::core::HRESULT = -2145910777i32;
46 pub const MENROLL_E_DEVICE_MANAGEMENT_BLOCKED: ::windows_sys::core::HRESULT = -2145910746i32;
47 pub const MENROLL_E_DEVICE_MESSAGE_FORMAT_ERROR: ::windows_sys::core::HRESULT = -2145910783i32;
48 pub const MENROLL_E_DEVICE_NOT_ENROLLED: ::windows_sys::core::HRESULT = -2145910773i32;
49 pub const MENROLL_E_DEVICE_UNKNOWN_ERROR: ::windows_sys::core::HRESULT = -2145910776i32;
50 pub const MENROLL_E_DISCOVERY_SEC_CERT_DATE_INVALID: ::windows_sys::core::HRESULT = -2145910771i32;
51 pub const MENROLL_E_EMPTY_MESSAGE: ::windows_sys::core::HRESULT = -2145910743i32;
52 pub const MENROLL_E_ENROLLMENTDATAINVALID: ::windows_sys::core::HRESULT = -2145910759i32;
53 pub const MENROLL_E_ENROLLMENT_IN_PROGRESS: ::windows_sys::core::HRESULT = -2145910775i32;
54 pub const MENROLL_E_INMAINTENANCE: ::windows_sys::core::HRESULT = -2145910761i32;
55 pub const MENROLL_E_INSECUREREDIRECT: ::windows_sys::core::HRESULT = -2145910758i32;
56 pub const MENROLL_E_INVALIDSSLCERT: ::windows_sys::core::HRESULT = -2145910766i32;
57 pub const MENROLL_E_MDM_NOT_CONFIGURED: ::windows_sys::core::HRESULT = -2145910735i32;
58 pub const MENROLL_E_NOTELIGIBLETORENEW: ::windows_sys::core::HRESULT = -2145910762i32;
59 pub const MENROLL_E_NOTSUPPORTED: ::windows_sys::core::HRESULT = -2145910763i32;
60 pub const MENROLL_E_NOT_SUPPORTED: ::windows_sys::core::HRESULT = -2145910763i32;
61 pub const MENROLL_E_PASSWORD_NEEDED: ::windows_sys::core::HRESULT = -2145910770i32;
62 pub const MENROLL_E_PLATFORM_LICENSE_ERROR: ::windows_sys::core::HRESULT = -2145910756i32;
63 pub const MENROLL_E_PLATFORM_UNKNOWN_ERROR: ::windows_sys::core::HRESULT = -2145910755i32;
64 pub const MENROLL_E_PLATFORM_WRONG_STATE: ::windows_sys::core::HRESULT = -2145910757i32;
65 pub const MENROLL_E_PROV_CSP_APPMGMT: ::windows_sys::core::HRESULT = -2145910747i32;
66 pub const MENROLL_E_PROV_CSP_CERTSTORE: ::windows_sys::core::HRESULT = -2145910754i32;
67 pub const MENROLL_E_PROV_CSP_DMCLIENT: ::windows_sys::core::HRESULT = -2145910752i32;
68 pub const MENROLL_E_PROV_CSP_MISC: ::windows_sys::core::HRESULT = -2145910750i32;
69 pub const MENROLL_E_PROV_CSP_PFW: ::windows_sys::core::HRESULT = -2145910751i32;
70 pub const MENROLL_E_PROV_CSP_W7: ::windows_sys::core::HRESULT = -2145910753i32;
71 pub const MENROLL_E_PROV_SSLCERTNOTFOUND: ::windows_sys::core::HRESULT = -2145910748i32;
72 pub const MENROLL_E_PROV_UNKNOWN: ::windows_sys::core::HRESULT = -2145910749i32;
73 pub const MENROLL_E_USERLICENSE: ::windows_sys::core::HRESULT = -2145910760i32;
74 pub const MENROLL_E_USER_CANCELED: ::windows_sys::core::HRESULT = -2145910742i32;
75 pub const MENROLL_E_USER_CANCELLED: ::windows_sys::core::HRESULT = -2145910736i32;
76 pub const MENROLL_E_USER_LICENSE: ::windows_sys::core::HRESULT = -2145910760i32;
77 pub const MENROLL_E_WAB_ERROR: ::windows_sys::core::HRESULT = -2145910769i32;
78 pub const MREGISTER_E_DEVICE_ALREADY_REGISTERED: ::windows_sys::core::HRESULT = -2145845238i32;
79 pub const MREGISTER_E_DEVICE_AUTHENTICATION_ERROR: ::windows_sys::core::HRESULT = -2145845246i32;
80 pub const MREGISTER_E_DEVICE_AUTHORIZATION_ERROR: ::windows_sys::core::HRESULT = -2145845245i32;
81 pub const MREGISTER_E_DEVICE_CERTIFCATEREQUEST_ERROR: ::windows_sys::core::HRESULT = -2145845244i32;
82 pub const MREGISTER_E_DEVICE_CONFIGMGRSERVER_ERROR: ::windows_sys::core::HRESULT = -2145845243i32;
83 pub const MREGISTER_E_DEVICE_INTERNALSERVICE_ERROR: ::windows_sys::core::HRESULT = -2145845242i32;
84 pub const MREGISTER_E_DEVICE_INVALIDSECURITY_ERROR: ::windows_sys::core::HRESULT = -2145845241i32;
85 pub const MREGISTER_E_DEVICE_MESSAGE_FORMAT_ERROR: ::windows_sys::core::HRESULT = -2145845247i32;
86 pub const MREGISTER_E_DEVICE_NOT_AD_REGISTERED_ERROR: ::windows_sys::core::HRESULT = -2145845235i32;
87 pub const MREGISTER_E_DEVICE_NOT_REGISTERED: ::windows_sys::core::HRESULT = -2145845237i32;
88 pub const MREGISTER_E_DEVICE_UNKNOWN_ERROR: ::windows_sys::core::HRESULT = -2145845240i32;
89 pub const MREGISTER_E_DISCOVERY_FAILED: ::windows_sys::core::HRESULT = -2145845234i32;
90 pub const MREGISTER_E_DISCOVERY_REDIRECTED: ::windows_sys::core::HRESULT = -2145845236i32;
91 pub const MREGISTER_E_REGISTRATION_IN_PROGRESS: ::windows_sys::core::HRESULT = -2145845239i32;
92 pub const MaxDeviceInfoClass: REGISTRATION_INFORMATION_CLASS = 2i32;
93 pub type REGISTRATION_INFORMATION_CLASS = i32;
94 #[repr(C)]
95 #[doc = "Required features: `\"Win32_Foundation\"`"]
96 #[cfg(feature = "Win32_Foundation")]
97 pub struct MANAGEMENT_REGISTRATION_INFO {
98 pub fDeviceRegisteredWithManagement: super::super::Foundation::BOOL,
99 pub dwDeviceRegistionKind: u32,
100 pub pszUPN: ::windows_sys::core::PWSTR,
101 pub pszMDMServiceUri: ::windows_sys::core::PWSTR,
102 }
103 #[cfg(feature = "Win32_Foundation")]
104 impl ::core::marker::Copy for MANAGEMENT_REGISTRATION_INFO {}
105 #[cfg(feature = "Win32_Foundation")]
106 impl ::core::clone::Clone for MANAGEMENT_REGISTRATION_INFO {
107 fn clone(&self) -> Self {
108 *self
109 }
110 }
111 #[repr(C)]
112 pub struct MANAGEMENT_SERVICE_INFO {
113 pub pszMDMServiceUri: ::windows_sys::core::PWSTR,
114 pub pszAuthenticationUri: ::windows_sys::core::PWSTR,
115 }
116 impl ::core::marker::Copy for MANAGEMENT_SERVICE_INFO {}
117 impl ::core::clone::Clone for MANAGEMENT_SERVICE_INFO {
118 fn clone(&self) -> Self {
119 *self
120 }
121 }