1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 #[link(name = "windows")]
3 extern "system" {
4     #[cfg(feature = "Win32_Foundation")]
BrowseForGPO(lpbrowseinfo: *mut GPOBROWSEINFO) -> ::windows_sys::core::HRESULT5     pub fn BrowseForGPO(lpbrowseinfo: *mut GPOBROWSEINFO) -> ::windows_sys::core::HRESULT;
6     #[cfg(feature = "Win32_Foundation")]
CommandLineFromMsiDescriptor(descriptor: super::super::Foundation::PWSTR, commandline: super::super::Foundation::PWSTR, commandlinelength: *mut u32) -> u327     pub fn CommandLineFromMsiDescriptor(descriptor: super::super::Foundation::PWSTR, commandline: super::super::Foundation::PWSTR, commandlinelength: *mut u32) -> u32;
8     #[cfg(feature = "Win32_Foundation")]
CreateGPOLink(lpgpo: super::super::Foundation::PWSTR, lpcontainer: super::super::Foundation::PWSTR, fhighpriority: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT9     pub fn CreateGPOLink(lpgpo: super::super::Foundation::PWSTR, lpcontainer: super::super::Foundation::PWSTR, fhighpriority: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT;
10     #[cfg(feature = "Win32_Foundation")]
DeleteAllGPOLinks(lpcontainer: super::super::Foundation::PWSTR) -> ::windows_sys::core::HRESULT11     pub fn DeleteAllGPOLinks(lpcontainer: super::super::Foundation::PWSTR) -> ::windows_sys::core::HRESULT;
12     #[cfg(feature = "Win32_Foundation")]
DeleteGPOLink(lpgpo: super::super::Foundation::PWSTR, lpcontainer: super::super::Foundation::PWSTR) -> ::windows_sys::core::HRESULT13     pub fn DeleteGPOLink(lpgpo: super::super::Foundation::PWSTR, lpcontainer: super::super::Foundation::PWSTR) -> ::windows_sys::core::HRESULT;
14     #[cfg(feature = "Win32_Foundation")]
EnterCriticalPolicySection(bmachine: super::super::Foundation::BOOL) -> super::super::Foundation::HANDLE15     pub fn EnterCriticalPolicySection(bmachine: super::super::Foundation::BOOL) -> super::super::Foundation::HANDLE;
16     #[cfg(feature = "Win32_Foundation")]
ExportRSoPData(lpnamespace: super::super::Foundation::PWSTR, lpfilename: super::super::Foundation::PWSTR) -> ::windows_sys::core::HRESULT17     pub fn ExportRSoPData(lpnamespace: super::super::Foundation::PWSTR, lpfilename: super::super::Foundation::PWSTR) -> ::windows_sys::core::HRESULT;
18     #[cfg(feature = "Win32_Foundation")]
FreeGPOListA(pgpolist: *const GROUP_POLICY_OBJECTA) -> super::super::Foundation::BOOL19     pub fn FreeGPOListA(pgpolist: *const GROUP_POLICY_OBJECTA) -> super::super::Foundation::BOOL;
20     #[cfg(feature = "Win32_Foundation")]
FreeGPOListW(pgpolist: *const GROUP_POLICY_OBJECTW) -> super::super::Foundation::BOOL21     pub fn FreeGPOListW(pgpolist: *const GROUP_POLICY_OBJECTW) -> super::super::Foundation::BOOL;
22     #[cfg(feature = "Win32_Foundation")]
GenerateGPNotification(bmachine: super::super::Foundation::BOOL, lpwszmgmtproduct: super::super::Foundation::PWSTR, dwmgmtproductoptions: u32) -> u3223     pub fn GenerateGPNotification(bmachine: super::super::Foundation::BOOL, lpwszmgmtproduct: super::super::Foundation::PWSTR, dwmgmtproductoptions: u32) -> u32;
24     #[cfg(feature = "Win32_Foundation")]
GetAppliedGPOListA(dwflags: u32, pmachinename: super::super::Foundation::PSTR, psiduser: super::super::Foundation::PSID, pguidextension: *const ::windows_sys::core::GUID, ppgpolist: *mut *mut GROUP_POLICY_OBJECTA) -> u3225     pub fn GetAppliedGPOListA(dwflags: u32, pmachinename: super::super::Foundation::PSTR, psiduser: super::super::Foundation::PSID, pguidextension: *const ::windows_sys::core::GUID, ppgpolist: *mut *mut GROUP_POLICY_OBJECTA) -> u32;
26     #[cfg(feature = "Win32_Foundation")]
GetAppliedGPOListW(dwflags: u32, pmachinename: super::super::Foundation::PWSTR, psiduser: super::super::Foundation::PSID, pguidextension: *const ::windows_sys::core::GUID, ppgpolist: *mut *mut GROUP_POLICY_OBJECTW) -> u3227     pub fn GetAppliedGPOListW(dwflags: u32, pmachinename: super::super::Foundation::PWSTR, psiduser: super::super::Foundation::PSID, pguidextension: *const ::windows_sys::core::GUID, ppgpolist: *mut *mut GROUP_POLICY_OBJECTW) -> u32;
28     #[cfg(feature = "Win32_Foundation")]
GetGPOListA(htoken: super::super::Foundation::HANDLE, lpname: super::super::Foundation::PSTR, lphostname: super::super::Foundation::PSTR, lpcomputername: super::super::Foundation::PSTR, dwflags: u32, pgpolist: *mut *mut GROUP_POLICY_OBJECTA) -> super::super::Foundation::BOOL29     pub fn GetGPOListA(htoken: super::super::Foundation::HANDLE, lpname: super::super::Foundation::PSTR, lphostname: super::super::Foundation::PSTR, lpcomputername: super::super::Foundation::PSTR, dwflags: u32, pgpolist: *mut *mut GROUP_POLICY_OBJECTA) -> super::super::Foundation::BOOL;
30     #[cfg(feature = "Win32_Foundation")]
GetGPOListW(htoken: super::super::Foundation::HANDLE, lpname: super::super::Foundation::PWSTR, lphostname: super::super::Foundation::PWSTR, lpcomputername: super::super::Foundation::PWSTR, dwflags: u32, pgpolist: *mut *mut GROUP_POLICY_OBJECTW) -> super::super::Foundation::BOOL31     pub fn GetGPOListW(htoken: super::super::Foundation::HANDLE, lpname: super::super::Foundation::PWSTR, lphostname: super::super::Foundation::PWSTR, lpcomputername: super::super::Foundation::PWSTR, dwflags: u32, pgpolist: *mut *mut GROUP_POLICY_OBJECTW) -> super::super::Foundation::BOOL;
32     #[cfg(feature = "Win32_Foundation")]
GetLocalManagedApplicationData(productcode: super::super::Foundation::PWSTR, displayname: *mut super::super::Foundation::PWSTR, supporturl: *mut super::super::Foundation::PWSTR)33     pub fn GetLocalManagedApplicationData(productcode: super::super::Foundation::PWSTR, displayname: *mut super::super::Foundation::PWSTR, supporturl: *mut super::super::Foundation::PWSTR);
34     #[cfg(feature = "Win32_Foundation")]
GetLocalManagedApplications(buserapps: super::super::Foundation::BOOL, pdwapps: *mut u32, prglocalapps: *mut *mut LOCALMANAGEDAPPLICATION) -> u3235     pub fn GetLocalManagedApplications(buserapps: super::super::Foundation::BOOL, pdwapps: *mut u32, prglocalapps: *mut *mut LOCALMANAGEDAPPLICATION) -> u32;
36     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Shell"))]
GetManagedApplicationCategories(dwreserved: u32, pappcategory: *mut super::super::UI::Shell::APPCATEGORYINFOLIST) -> u3237     pub fn GetManagedApplicationCategories(dwreserved: u32, pappcategory: *mut super::super::UI::Shell::APPCATEGORYINFOLIST) -> u32;
38     #[cfg(feature = "Win32_Foundation")]
GetManagedApplications(pcategory: *const ::windows_sys::core::GUID, dwqueryflags: u32, dwinfolevel: u32, pdwapps: *mut u32, prgmanagedapps: *mut *mut MANAGEDAPPLICATION) -> u3239     pub fn GetManagedApplications(pcategory: *const ::windows_sys::core::GUID, dwqueryflags: u32, dwinfolevel: u32, pdwapps: *mut u32, prgmanagedapps: *mut *mut MANAGEDAPPLICATION) -> u32;
40     #[cfg(feature = "Win32_Foundation")]
ImportRSoPData(lpnamespace: super::super::Foundation::PWSTR, lpfilename: super::super::Foundation::PWSTR) -> ::windows_sys::core::HRESULT41     pub fn ImportRSoPData(lpnamespace: super::super::Foundation::PWSTR, lpfilename: super::super::Foundation::PWSTR) -> ::windows_sys::core::HRESULT;
42     #[cfg(feature = "Win32_Foundation")]
InstallApplication(pinstallinfo: *const INSTALLDATA) -> u3243     pub fn InstallApplication(pinstallinfo: *const INSTALLDATA) -> u32;
44     #[cfg(feature = "Win32_Foundation")]
LeaveCriticalPolicySection(hsection: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL45     pub fn LeaveCriticalPolicySection(hsection: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL;
ProcessGroupPolicyCompleted(extensionid: *const ::windows_sys::core::GUID, pasynchandle: usize, dwstatus: u32) -> u3246     pub fn ProcessGroupPolicyCompleted(extensionid: *const ::windows_sys::core::GUID, pasynchandle: usize, dwstatus: u32) -> u32;
ProcessGroupPolicyCompletedEx(extensionid: *const ::windows_sys::core::GUID, pasynchandle: usize, dwstatus: u32, rsopstatus: ::windows_sys::core::HRESULT) -> u3247     pub fn ProcessGroupPolicyCompletedEx(extensionid: *const ::windows_sys::core::GUID, pasynchandle: usize, dwstatus: u32, rsopstatus: ::windows_sys::core::HRESULT) -> u32;
48     #[cfg(feature = "Win32_Foundation")]
RefreshPolicy(bmachine: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL49     pub fn RefreshPolicy(bmachine: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL;
50     #[cfg(feature = "Win32_Foundation")]
RefreshPolicyEx(bmachine: super::super::Foundation::BOOL, dwoptions: u32) -> super::super::Foundation::BOOL51     pub fn RefreshPolicyEx(bmachine: super::super::Foundation::BOOL, dwoptions: u32) -> super::super::Foundation::BOOL;
52     #[cfg(feature = "Win32_Foundation")]
RegisterGPNotification(hevent: super::super::Foundation::HANDLE, bmachine: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL53     pub fn RegisterGPNotification(hevent: super::super::Foundation::HANDLE, bmachine: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL;
54     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))]
RsopAccessCheckByType( psecuritydescriptor: *const super::super::Security::SECURITY_DESCRIPTOR, pprincipalselfsid: super::super::Foundation::PSID, prsoptoken: *const ::core::ffi::c_void, dwdesiredaccessmask: u32, pobjecttypelist: *const super::super::Security::OBJECT_TYPE_LIST, objecttypelistlength: u32, pgenericmapping: *const super::super::Security::GENERIC_MAPPING, pprivilegeset: *const super::super::Security::PRIVILEGE_SET, pdwprivilegesetlength: *const u32, pdwgrantedaccessmask: *mut u32, pbaccessstatus: *mut i32, ) -> ::windows_sys::core::HRESULT55     pub fn RsopAccessCheckByType(
56         psecuritydescriptor: *const super::super::Security::SECURITY_DESCRIPTOR,
57         pprincipalselfsid: super::super::Foundation::PSID,
58         prsoptoken: *const ::core::ffi::c_void,
59         dwdesiredaccessmask: u32,
60         pobjecttypelist: *const super::super::Security::OBJECT_TYPE_LIST,
61         objecttypelistlength: u32,
62         pgenericmapping: *const super::super::Security::GENERIC_MAPPING,
63         pprivilegeset: *const super::super::Security::PRIVILEGE_SET,
64         pdwprivilegesetlength: *const u32,
65         pdwgrantedaccessmask: *mut u32,
66         pbaccessstatus: *mut i32,
67     ) -> ::windows_sys::core::HRESULT;
68     #[cfg(feature = "Win32_Foundation")]
RsopFileAccessCheck(pszfilename: super::super::Foundation::PWSTR, prsoptoken: *const ::core::ffi::c_void, dwdesiredaccessmask: u32, pdwgrantedaccessmask: *mut u32, pbaccessstatus: *mut i32) -> ::windows_sys::core::HRESULT69     pub fn RsopFileAccessCheck(pszfilename: super::super::Foundation::PWSTR, prsoptoken: *const ::core::ffi::c_void, dwdesiredaccessmask: u32, pdwgrantedaccessmask: *mut u32, pbaccessstatus: *mut i32) -> ::windows_sys::core::HRESULT;
70     #[cfg(feature = "Win32_System_Wmi")]
RsopResetPolicySettingStatus(dwflags: u32, pservices: super::Wmi::IWbemServices, psettinginstance: super::Wmi::IWbemClassObject) -> ::windows_sys::core::HRESULT71     pub fn RsopResetPolicySettingStatus(dwflags: u32, pservices: super::Wmi::IWbemServices, psettinginstance: super::Wmi::IWbemClassObject) -> ::windows_sys::core::HRESULT;
72     #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Wmi"))]
RsopSetPolicySettingStatus(dwflags: u32, pservices: super::Wmi::IWbemServices, psettinginstance: super::Wmi::IWbemClassObject, ninfo: u32, pstatus: *const POLICYSETTINGSTATUSINFO) -> ::windows_sys::core::HRESULT73     pub fn RsopSetPolicySettingStatus(dwflags: u32, pservices: super::Wmi::IWbemServices, psettinginstance: super::Wmi::IWbemClassObject, ninfo: u32, pstatus: *const POLICYSETTINGSTATUSINFO) -> ::windows_sys::core::HRESULT;
74     #[cfg(feature = "Win32_Foundation")]
UninstallApplication(productcode: super::super::Foundation::PWSTR, dwstatus: u32) -> u3275     pub fn UninstallApplication(productcode: super::super::Foundation::PWSTR, dwstatus: u32) -> u32;
76     #[cfg(feature = "Win32_Foundation")]
UnregisterGPNotification(hevent: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL77     pub fn UnregisterGPNotification(hevent: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL;
78 }
79 pub type APPSTATE = i32;
80 pub const ABSENT: APPSTATE = 0i32;
81 pub const ASSIGNED: APPSTATE = 1i32;
82 pub const PUBLISHED: APPSTATE = 2i32;
83 pub const CLSID_GPESnapIn: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2411771700, data2: 41185, data3: 4561, data4: [167, 211, 0, 0, 248, 117, 113, 227] };
84 pub const CLSID_GroupPolicyObject: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3931121442, data2: 41533, data3: 4561, data4: [167, 211, 0, 0, 248, 117, 113, 227] };
85 pub const CLSID_RSOPSnapIn: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
86     data1: 1841528907,
87     data2: 29202,
88     data3: 17805,
89     data4: [173, 176, 154, 7, 226, 174, 31, 162],
90 };
91 pub type CriticalPolicySectionHandle = isize;
92 pub const FLAG_ASSUME_COMP_WQLFILTER_TRUE: u32 = 33554432u32;
93 pub const FLAG_ASSUME_SLOW_LINK: u32 = 536870912u32;
94 pub const FLAG_ASSUME_USER_WQLFILTER_TRUE: u32 = 67108864u32;
95 pub const FLAG_FORCE_CREATENAMESPACE: u32 = 4u32;
96 pub const FLAG_LOOPBACK_MERGE: u32 = 268435456u32;
97 pub const FLAG_LOOPBACK_REPLACE: u32 = 134217728u32;
98 pub const FLAG_NO_COMPUTER: u32 = 2u32;
99 pub const FLAG_NO_CSE_INVOKE: u32 = 1073741824u32;
100 pub const FLAG_NO_GPO_FILTER: u32 = 2147483648u32;
101 pub const FLAG_NO_USER: u32 = 1u32;
102 pub const FLAG_PLANNING_MODE: u32 = 16777216u32;
103 pub const GPC_BLOCK_POLICY: u32 = 1u32;
104 pub const GPM: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
105     data1: 4117317384,
106     data2: 35070,
107     data3: 19253,
108     data4: [186, 191, 229, 97, 98, 213, 251, 200],
109 };
110 pub const GPMAsyncCancel: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 925341353, data2: 30444, data3: 18333, data4: [173, 108, 85, 99, 24, 237, 95, 157] };
111 pub const GPMBackup: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
112     data1: 3977925816,
113     data2: 24314,
114     data3: 18474,
115     data4: [147, 192, 138, 216, 111, 13, 104, 195],
116 };
117 pub const GPMBackupCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
118     data1: 3952018267,
119     data2: 28891,
120     data3: 19103,
121     data4: [150, 118, 55, 194, 89, 148, 233, 220],
122 };
123 pub const GPMBackupDir: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 4242843037, data2: 3873, data3: 19194, data4: [184, 89, 230, 208, 198, 44, 209, 12] };
124 pub const GPMBackupDirEx: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
125     data1: 3904936074,
126     data2: 52995,
127     data3: 19547,
128     data4: [139, 226, 42, 169, 173, 50, 170, 218],
129 };
130 pub type GPMBackupType = i32;
131 pub const typeGPO: GPMBackupType = 0i32;
132 pub const typeStarterGPO: GPMBackupType = 1i32;
133 pub const GPMCSECollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
134     data1: 3482499112,
135     data2: 11588,
136     data3: 19297,
137     data4: [177, 10, 179, 39, 175, 212, 45, 168],
138 };
139 pub const GPMClientSideExtension: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
140     data1: 3248678670,
141     data2: 26012,
142     data3: 19226,
143     data4: [148, 11, 248, 139, 10, 249, 200, 164],
144 };
145 pub const GPMConstants: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 945154176, data2: 52638, data3: 19724, data4: [158, 175, 21, 121, 40, 58, 24, 136] };
146 pub type GPMDestinationOption = i32;
147 pub const opDestinationSameAsSource: GPMDestinationOption = 0i32;
148 pub const opDestinationNone: GPMDestinationOption = 1i32;
149 pub const opDestinationByRelativeName: GPMDestinationOption = 2i32;
150 pub const opDestinationSet: GPMDestinationOption = 3i32;
151 pub const GPMDomain: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
152     data1: 1896415678,
153     data2: 4176,
154     data3: 19633,
155     data4: [131, 138, 197, 207, 242, 89, 225, 131],
156 };
157 pub type GPMEntryType = i32;
158 pub const typeUser: GPMEntryType = 0i32;
159 pub const typeComputer: GPMEntryType = 1i32;
160 pub const typeLocalGroup: GPMEntryType = 2i32;
161 pub const typeGlobalGroup: GPMEntryType = 3i32;
162 pub const typeUniversalGroup: GPMEntryType = 4i32;
163 pub const typeUNCPath: GPMEntryType = 5i32;
164 pub const typeUnknown: GPMEntryType = 6i32;
165 pub const GPMGPO: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
166     data1: 3536726420,
167     data2: 22965,
168     data3: 16484,
169     data4: [181, 129, 77, 104, 72, 106, 22, 196],
170 };
171 pub const GPMGPOCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2047177509, data2: 33581, data3: 19939, data4: [164, 31, 199, 128, 67, 106, 78, 9] };
172 pub const GPMGPOLink: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
173     data1: 3252656256,
174     data2: 21251,
175     data3: 17094,
176     data4: [138, 60, 4, 136, 225, 191, 115, 100],
177 };
178 pub const GPMGPOLinksCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
179     data1: 4142749722,
180     data2: 18853,
181     data3: 18402,
182     data4: [183, 113, 253, 141, 192, 43, 98, 89],
183 };
184 pub const GPMMapEntry: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2358727251, data2: 21553, data3: 17521, data4: [179, 93, 6, 38, 201, 40, 37, 138] };
185 pub const GPMMapEntryCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
186     data1: 217537883,
187     data2: 41889,
188     data3: 19541,
189     data4: [180, 254, 158, 20, 156, 65, 246, 109],
190 };
191 pub const GPMMigrationTable: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1437548611, data2: 10758, data3: 20338, data4: [171, 239, 99, 27, 68, 7, 156, 118] };
192 pub const GPMPermission: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1483842570, data2: 59840, data3: 18156, data4: [145, 62, 148, 78, 249, 34, 90, 148] };
193 pub type GPMPermissionType = i32;
194 pub const permGPOApply: GPMPermissionType = 65536i32;
195 pub const permGPORead: GPMPermissionType = 65792i32;
196 pub const permGPOEdit: GPMPermissionType = 65793i32;
197 pub const permGPOEditSecurityAndDelete: GPMPermissionType = 65794i32;
198 pub const permGPOCustom: GPMPermissionType = 65795i32;
199 pub const permWMIFilterEdit: GPMPermissionType = 131072i32;
200 pub const permWMIFilterFullControl: GPMPermissionType = 131073i32;
201 pub const permWMIFilterCustom: GPMPermissionType = 131074i32;
202 pub const permSOMLink: GPMPermissionType = 1835008i32;
203 pub const permSOMLogging: GPMPermissionType = 1573120i32;
204 pub const permSOMPlanning: GPMPermissionType = 1573376i32;
205 pub const permSOMWMICreate: GPMPermissionType = 1049344i32;
206 pub const permSOMWMIFullControl: GPMPermissionType = 1049345i32;
207 pub const permSOMGPOCreate: GPMPermissionType = 1049600i32;
208 pub const permStarterGPORead: GPMPermissionType = 197888i32;
209 pub const permStarterGPOEdit: GPMPermissionType = 197889i32;
210 pub const permStarterGPOFullControl: GPMPermissionType = 197890i32;
211 pub const permStarterGPOCustom: GPMPermissionType = 197891i32;
212 pub const permSOMStarterGPOCreate: GPMPermissionType = 1049856i32;
213 pub const GPMRSOP: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
214     data1: 1218120879,
215     data2: 40642,
216     data3: 20151,
217     data4: [145, 245, 182, 247, 29, 67, 218, 140],
218 };
219 pub type GPMRSOPMode = i32;
220 pub const rsopUnknown: GPMRSOPMode = 0i32;
221 pub const rsopPlanning: GPMRSOPMode = 1i32;
222 pub const rsopLogging: GPMRSOPMode = 2i32;
223 pub type GPMReportType = i32;
224 pub const repXML: GPMReportType = 0i32;
225 pub const repHTML: GPMReportType = 1i32;
226 pub const repInfraXML: GPMReportType = 2i32;
227 pub const repInfraRefreshXML: GPMReportType = 3i32;
228 pub const repClientHealthXML: GPMReportType = 4i32;
229 pub const repClientHealthRefreshXML: GPMReportType = 5i32;
230 pub type GPMReportingOptions = i32;
231 pub const opReportLegacy: GPMReportingOptions = 0i32;
232 pub const opReportComments: GPMReportingOptions = 1i32;
233 pub const GPMResult: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
234     data1: 2450528960,
235     data2: 37511,
236     data3: 16902,
237     data4: [163, 178, 75, 219, 115, 210, 37, 246],
238 };
239 pub const GPMSOM: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
240     data1: 853098412,
241     data2: 17678,
242     data3: 17615,
243     data4: [130, 156, 139, 34, 255, 107, 218, 225],
244 };
245 pub const GPMSOMCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 616689991, data2: 14112, data3: 20315, data4: [169, 195, 6, 180, 228, 249, 49, 210] };
246 pub type GPMSOMType = i32;
247 pub const somSite: GPMSOMType = 0i32;
248 pub const somDomain: GPMSOMType = 1i32;
249 pub const somOU: GPMSOMType = 2i32;
250 pub const GPMSearchCriteria: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 397068838, data2: 23776, data3: 17658, data4: [140, 192, 82, 89, 230, 72, 53, 102] };
251 pub type GPMSearchOperation = i32;
252 pub const opEquals: GPMSearchOperation = 0i32;
253 pub const opContains: GPMSearchOperation = 1i32;
254 pub const opNotContains: GPMSearchOperation = 2i32;
255 pub const opNotEquals: GPMSearchOperation = 3i32;
256 pub type GPMSearchProperty = i32;
257 pub const gpoPermissions: GPMSearchProperty = 0i32;
258 pub const gpoEffectivePermissions: GPMSearchProperty = 1i32;
259 pub const gpoDisplayName: GPMSearchProperty = 2i32;
260 pub const gpoWMIFilter: GPMSearchProperty = 3i32;
261 pub const gpoID: GPMSearchProperty = 4i32;
262 pub const gpoComputerExtensions: GPMSearchProperty = 5i32;
263 pub const gpoUserExtensions: GPMSearchProperty = 6i32;
264 pub const somLinks: GPMSearchProperty = 7i32;
265 pub const gpoDomain: GPMSearchProperty = 8i32;
266 pub const backupMostRecent: GPMSearchProperty = 9i32;
267 pub const starterGPOPermissions: GPMSearchProperty = 10i32;
268 pub const starterGPOEffectivePermissions: GPMSearchProperty = 11i32;
269 pub const starterGPODisplayName: GPMSearchProperty = 12i32;
270 pub const starterGPOID: GPMSearchProperty = 13i32;
271 pub const starterGPODomain: GPMSearchProperty = 14i32;
272 pub const GPMSecurityInfo: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
273     data1: 1417305743,
274     data2: 37218,
275     data3: 17686,
276     data4: [164, 223, 157, 219, 150, 134, 216, 70],
277 };
278 pub const GPMSitesContainer: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
279     data1: 580869186,
280     data2: 34092,
281     data3: 19248,
282     data4: [148, 95, 197, 34, 190, 155, 211, 134],
283 };
284 pub const GPMStarterGPOBackup: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 949895178, data2: 55535, data3: 17755, data4: [168, 97, 95, 156, 163, 74, 106, 2] };
285 pub const GPMStarterGPOBackupCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3881739677, data2: 6891, data3: 19637, data4: [167, 138, 40, 29, 170, 88, 36, 6] };
286 pub const GPMStarterGPOCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
287     data1: 2197334667,
288     data2: 18874,
289     data3: 17330,
290     data4: [149, 110, 51, 151, 249, 185, 76, 58],
291 };
292 pub type GPMStarterGPOType = i32;
293 pub const typeSystem: GPMStarterGPOType = 0i32;
294 pub const typeCustom: GPMStarterGPOType = 1i32;
295 pub const GPMStatusMessage: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1266142356, data2: 53845, data3: 16539, data4: [188, 98, 55, 8, 129, 113, 90, 25] };
296 pub const GPMStatusMsgCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 673506494, data2: 19404, data3: 19628, data4: [158, 96, 14, 62, 215, 241, 36, 150] };
297 pub const GPMTemplate: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
298     data1: 3975271508,
299     data2: 29146,
300     data3: 20015,
301     data4: [168, 192, 129, 133, 70, 89, 17, 217],
302 };
303 pub const GPMTrustee: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3309989901, data2: 6582, data3: 16913, data4: [188, 176, 232, 226, 71, 94, 71, 30] };
304 pub const GPMWMIFilter: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
305     data1: 1650935256,
306     data2: 3562,
307     data3: 16482,
308     data4: [191, 96, 207, 197, 177, 202, 18, 134],
309 };
310 pub const GPMWMIFilterCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
311     data1: 1960602920,
312     data2: 59424,
313     data3: 18390,
314     data4: [160, 184, 240, 141, 147, 215, 250, 51],
315 };
316 pub const GPM_DONOTUSE_W2KDC: u32 = 2u32;
317 pub const GPM_DONOT_VALIDATEDC: u32 = 1u32;
318 pub const GPM_MIGRATIONTABLE_ONLY: u32 = 1u32;
319 pub const GPM_PROCESS_SECURITY: u32 = 2u32;
320 pub const GPM_USE_ANYDC: u32 = 1u32;
321 pub const GPM_USE_PDC: u32 = 0u32;
322 #[repr(C)]
323 #[cfg(feature = "Win32_Foundation")]
324 pub struct GPOBROWSEINFO {
325     pub dwSize: u32,
326     pub dwFlags: u32,
327     pub hwndOwner: super::super::Foundation::HWND,
328     pub lpTitle: super::super::Foundation::PWSTR,
329     pub lpInitialOU: super::super::Foundation::PWSTR,
330     pub lpDSPath: super::super::Foundation::PWSTR,
331     pub dwDSPathSize: u32,
332     pub lpName: super::super::Foundation::PWSTR,
333     pub dwNameSize: u32,
334     pub gpoType: GROUP_POLICY_OBJECT_TYPE,
335     pub gpoHint: GROUP_POLICY_HINT_TYPE,
336 }
337 #[cfg(feature = "Win32_Foundation")]
338 impl ::core::marker::Copy for GPOBROWSEINFO {}
339 #[cfg(feature = "Win32_Foundation")]
340 impl ::core::clone::Clone for GPOBROWSEINFO {
clone(&self) -> Self341     fn clone(&self) -> Self {
342         *self
343     }
344 }
345 pub const GPO_BROWSE_DISABLENEW: u32 = 1u32;
346 pub const GPO_BROWSE_INITTOALL: u32 = 16u32;
347 pub const GPO_BROWSE_NOCOMPUTERS: u32 = 2u32;
348 pub const GPO_BROWSE_NODSGPOS: u32 = 4u32;
349 pub const GPO_BROWSE_NOUSERGPOS: u32 = 32u32;
350 pub const GPO_BROWSE_OPENBUTTON: u32 = 8u32;
351 pub const GPO_BROWSE_SENDAPPLYONEDIT: u32 = 64u32;
352 pub const GPO_FLAG_DISABLE: u32 = 1u32;
353 pub const GPO_FLAG_FORCE: u32 = 2u32;
354 pub const GPO_INFO_FLAG_ASYNC_FOREGROUND: u32 = 4096u32;
355 pub const GPO_INFO_FLAG_BACKGROUND: u32 = 16u32;
356 pub const GPO_INFO_FLAG_FORCED_REFRESH: u32 = 1024u32;
357 pub const GPO_INFO_FLAG_LINKTRANSITION: u32 = 256u32;
358 pub const GPO_INFO_FLAG_LOGRSOP_TRANSITION: u32 = 512u32;
359 pub const GPO_INFO_FLAG_MACHINE: u32 = 1u32;
360 pub const GPO_INFO_FLAG_NOCHANGES: u32 = 128u32;
361 pub const GPO_INFO_FLAG_SAFEMODE_BOOT: u32 = 2048u32;
362 pub const GPO_INFO_FLAG_SLOWLINK: u32 = 32u32;
363 pub const GPO_INFO_FLAG_VERBOSE: u32 = 64u32;
364 pub type GPO_LINK = i32;
365 pub const GPLinkUnknown: GPO_LINK = 0i32;
366 pub const GPLinkMachine: GPO_LINK = 1i32;
367 pub const GPLinkSite: GPO_LINK = 2i32;
368 pub const GPLinkDomain: GPO_LINK = 3i32;
369 pub const GPLinkOrganizationalUnit: GPO_LINK = 4i32;
370 pub const GPO_LIST_FLAG_MACHINE: u32 = 1u32;
371 pub const GPO_LIST_FLAG_NO_SECURITYFILTERS: u32 = 8u32;
372 pub const GPO_LIST_FLAG_NO_WMIFILTERS: u32 = 4u32;
373 pub const GPO_LIST_FLAG_SITEONLY: u32 = 2u32;
374 pub const GPO_OPEN_LOAD_REGISTRY: u32 = 1u32;
375 pub const GPO_OPEN_READ_ONLY: u32 = 2u32;
376 pub const GPO_OPTION_DISABLE_MACHINE: u32 = 2u32;
377 pub const GPO_OPTION_DISABLE_USER: u32 = 1u32;
378 pub const GPO_SECTION_MACHINE: u32 = 2u32;
379 pub const GPO_SECTION_ROOT: u32 = 0u32;
380 pub const GPO_SECTION_USER: u32 = 1u32;
381 pub type GROUP_POLICY_HINT_TYPE = i32;
382 pub const GPHintUnknown: GROUP_POLICY_HINT_TYPE = 0i32;
383 pub const GPHintMachine: GROUP_POLICY_HINT_TYPE = 1i32;
384 pub const GPHintSite: GROUP_POLICY_HINT_TYPE = 2i32;
385 pub const GPHintDomain: GROUP_POLICY_HINT_TYPE = 3i32;
386 pub const GPHintOrganizationalUnit: GROUP_POLICY_HINT_TYPE = 4i32;
387 #[repr(C)]
388 #[cfg(feature = "Win32_Foundation")]
389 pub struct GROUP_POLICY_OBJECTA {
390     pub dwOptions: u32,
391     pub dwVersion: u32,
392     pub lpDSPath: super::super::Foundation::PSTR,
393     pub lpFileSysPath: super::super::Foundation::PSTR,
394     pub lpDisplayName: super::super::Foundation::PSTR,
395     pub szGPOName: [super::super::Foundation::CHAR; 50],
396     pub GPOLink: GPO_LINK,
397     pub lParam: super::super::Foundation::LPARAM,
398     pub pNext: *mut GROUP_POLICY_OBJECTA,
399     pub pPrev: *mut GROUP_POLICY_OBJECTA,
400     pub lpExtensions: super::super::Foundation::PSTR,
401     pub lParam2: super::super::Foundation::LPARAM,
402     pub lpLink: super::super::Foundation::PSTR,
403 }
404 #[cfg(feature = "Win32_Foundation")]
405 impl ::core::marker::Copy for GROUP_POLICY_OBJECTA {}
406 #[cfg(feature = "Win32_Foundation")]
407 impl ::core::clone::Clone for GROUP_POLICY_OBJECTA {
clone(&self) -> Self408     fn clone(&self) -> Self {
409         *self
410     }
411 }
412 #[repr(C)]
413 #[cfg(feature = "Win32_Foundation")]
414 pub struct GROUP_POLICY_OBJECTW {
415     pub dwOptions: u32,
416     pub dwVersion: u32,
417     pub lpDSPath: super::super::Foundation::PWSTR,
418     pub lpFileSysPath: super::super::Foundation::PWSTR,
419     pub lpDisplayName: super::super::Foundation::PWSTR,
420     pub szGPOName: [u16; 50],
421     pub GPOLink: GPO_LINK,
422     pub lParam: super::super::Foundation::LPARAM,
423     pub pNext: *mut GROUP_POLICY_OBJECTW,
424     pub pPrev: *mut GROUP_POLICY_OBJECTW,
425     pub lpExtensions: super::super::Foundation::PWSTR,
426     pub lParam2: super::super::Foundation::LPARAM,
427     pub lpLink: super::super::Foundation::PWSTR,
428 }
429 #[cfg(feature = "Win32_Foundation")]
430 impl ::core::marker::Copy for GROUP_POLICY_OBJECTW {}
431 #[cfg(feature = "Win32_Foundation")]
432 impl ::core::clone::Clone for GROUP_POLICY_OBJECTW {
clone(&self) -> Self433     fn clone(&self) -> Self {
434         *self
435     }
436 }
437 pub type GROUP_POLICY_OBJECT_TYPE = i32;
438 pub const GPOTypeLocal: GROUP_POLICY_OBJECT_TYPE = 0i32;
439 pub const GPOTypeRemote: GROUP_POLICY_OBJECT_TYPE = 1i32;
440 pub const GPOTypeDS: GROUP_POLICY_OBJECT_TYPE = 2i32;
441 pub const GPOTypeLocalUser: GROUP_POLICY_OBJECT_TYPE = 3i32;
442 pub const GPOTypeLocalGroup: GROUP_POLICY_OBJECT_TYPE = 4i32;
443 pub type IGPEInformation = *mut ::core::ffi::c_void;
444 pub type IGPM = *mut ::core::ffi::c_void;
445 pub type IGPM2 = *mut ::core::ffi::c_void;
446 pub type IGPMAsyncCancel = *mut ::core::ffi::c_void;
447 pub type IGPMAsyncProgress = *mut ::core::ffi::c_void;
448 pub type IGPMBackup = *mut ::core::ffi::c_void;
449 pub type IGPMBackupCollection = *mut ::core::ffi::c_void;
450 pub type IGPMBackupDir = *mut ::core::ffi::c_void;
451 pub type IGPMBackupDirEx = *mut ::core::ffi::c_void;
452 pub type IGPMCSECollection = *mut ::core::ffi::c_void;
453 pub type IGPMClientSideExtension = *mut ::core::ffi::c_void;
454 pub type IGPMConstants = *mut ::core::ffi::c_void;
455 pub type IGPMConstants2 = *mut ::core::ffi::c_void;
456 pub type IGPMDomain = *mut ::core::ffi::c_void;
457 pub type IGPMDomain2 = *mut ::core::ffi::c_void;
458 pub type IGPMDomain3 = *mut ::core::ffi::c_void;
459 pub type IGPMGPO = *mut ::core::ffi::c_void;
460 pub type IGPMGPO2 = *mut ::core::ffi::c_void;
461 pub type IGPMGPO3 = *mut ::core::ffi::c_void;
462 pub type IGPMGPOCollection = *mut ::core::ffi::c_void;
463 pub type IGPMGPOLink = *mut ::core::ffi::c_void;
464 pub type IGPMGPOLinksCollection = *mut ::core::ffi::c_void;
465 pub type IGPMMapEntry = *mut ::core::ffi::c_void;
466 pub type IGPMMapEntryCollection = *mut ::core::ffi::c_void;
467 pub type IGPMMigrationTable = *mut ::core::ffi::c_void;
468 pub type IGPMPermission = *mut ::core::ffi::c_void;
469 pub type IGPMRSOP = *mut ::core::ffi::c_void;
470 pub type IGPMResult = *mut ::core::ffi::c_void;
471 pub type IGPMSOM = *mut ::core::ffi::c_void;
472 pub type IGPMSOMCollection = *mut ::core::ffi::c_void;
473 pub type IGPMSearchCriteria = *mut ::core::ffi::c_void;
474 pub type IGPMSecurityInfo = *mut ::core::ffi::c_void;
475 pub type IGPMSitesContainer = *mut ::core::ffi::c_void;
476 pub type IGPMStarterGPO = *mut ::core::ffi::c_void;
477 pub type IGPMStarterGPOBackup = *mut ::core::ffi::c_void;
478 pub type IGPMStarterGPOBackupCollection = *mut ::core::ffi::c_void;
479 pub type IGPMStarterGPOCollection = *mut ::core::ffi::c_void;
480 pub type IGPMStatusMessage = *mut ::core::ffi::c_void;
481 pub type IGPMStatusMsgCollection = *mut ::core::ffi::c_void;
482 pub type IGPMTrustee = *mut ::core::ffi::c_void;
483 pub type IGPMWMIFilter = *mut ::core::ffi::c_void;
484 pub type IGPMWMIFilterCollection = *mut ::core::ffi::c_void;
485 pub type IGroupPolicyObject = *mut ::core::ffi::c_void;
486 #[repr(C)]
487 #[cfg(feature = "Win32_Foundation")]
488 pub struct INSTALLDATA {
489     pub Type: INSTALLSPECTYPE,
490     pub Spec: INSTALLSPEC,
491 }
492 #[cfg(feature = "Win32_Foundation")]
493 impl ::core::marker::Copy for INSTALLDATA {}
494 #[cfg(feature = "Win32_Foundation")]
495 impl ::core::clone::Clone for INSTALLDATA {
clone(&self) -> Self496     fn clone(&self) -> Self {
497         *self
498     }
499 }
500 #[repr(C)]
501 #[cfg(feature = "Win32_Foundation")]
502 pub union INSTALLSPEC {
503     pub AppName: INSTALLSPEC_0,
504     pub FileExt: super::super::Foundation::PWSTR,
505     pub ProgId: super::super::Foundation::PWSTR,
506     pub COMClass: INSTALLSPEC_1,
507 }
508 #[cfg(feature = "Win32_Foundation")]
509 impl ::core::marker::Copy for INSTALLSPEC {}
510 #[cfg(feature = "Win32_Foundation")]
511 impl ::core::clone::Clone for INSTALLSPEC {
clone(&self) -> Self512     fn clone(&self) -> Self {
513         *self
514     }
515 }
516 #[repr(C)]
517 #[cfg(feature = "Win32_Foundation")]
518 pub struct INSTALLSPEC_0 {
519     pub Name: super::super::Foundation::PWSTR,
520     pub GPOId: ::windows_sys::core::GUID,
521 }
522 #[cfg(feature = "Win32_Foundation")]
523 impl ::core::marker::Copy for INSTALLSPEC_0 {}
524 #[cfg(feature = "Win32_Foundation")]
525 impl ::core::clone::Clone for INSTALLSPEC_0 {
clone(&self) -> Self526     fn clone(&self) -> Self {
527         *self
528     }
529 }
530 #[repr(C)]
531 #[cfg(feature = "Win32_Foundation")]
532 pub struct INSTALLSPEC_1 {
533     pub Clsid: ::windows_sys::core::GUID,
534     pub ClsCtx: u32,
535 }
536 #[cfg(feature = "Win32_Foundation")]
537 impl ::core::marker::Copy for INSTALLSPEC_1 {}
538 #[cfg(feature = "Win32_Foundation")]
539 impl ::core::clone::Clone for INSTALLSPEC_1 {
clone(&self) -> Self540     fn clone(&self) -> Self {
541         *self
542     }
543 }
544 pub type INSTALLSPECTYPE = i32;
545 pub const APPNAME: INSTALLSPECTYPE = 1i32;
546 pub const FILEEXT: INSTALLSPECTYPE = 2i32;
547 pub const PROGID: INSTALLSPECTYPE = 3i32;
548 pub const COMCLASS: INSTALLSPECTYPE = 4i32;
549 pub type IRSOPInformation = *mut ::core::ffi::c_void;
550 #[repr(C)]
551 #[cfg(feature = "Win32_Foundation")]
552 pub struct LOCALMANAGEDAPPLICATION {
553     pub pszDeploymentName: super::super::Foundation::PWSTR,
554     pub pszPolicyName: super::super::Foundation::PWSTR,
555     pub pszProductId: super::super::Foundation::PWSTR,
556     pub dwState: u32,
557 }
558 #[cfg(feature = "Win32_Foundation")]
559 impl ::core::marker::Copy for LOCALMANAGEDAPPLICATION {}
560 #[cfg(feature = "Win32_Foundation")]
561 impl ::core::clone::Clone for LOCALMANAGEDAPPLICATION {
clone(&self) -> Self562     fn clone(&self) -> Self {
563         *self
564     }
565 }
566 pub const LOCALSTATE_ASSIGNED: u32 = 1u32;
567 pub const LOCALSTATE_ORPHANED: u32 = 32u32;
568 pub const LOCALSTATE_POLICYREMOVE_ORPHAN: u32 = 8u32;
569 pub const LOCALSTATE_POLICYREMOVE_UNINSTALL: u32 = 16u32;
570 pub const LOCALSTATE_PUBLISHED: u32 = 2u32;
571 pub const LOCALSTATE_UNINSTALLED: u32 = 64u32;
572 pub const LOCALSTATE_UNINSTALL_UNMANAGED: u32 = 4u32;
573 #[repr(C)]
574 #[cfg(feature = "Win32_Foundation")]
575 pub struct MANAGEDAPPLICATION {
576     pub pszPackageName: super::super::Foundation::PWSTR,
577     pub pszPublisher: super::super::Foundation::PWSTR,
578     pub dwVersionHi: u32,
579     pub dwVersionLo: u32,
580     pub dwRevision: u32,
581     pub GpoId: ::windows_sys::core::GUID,
582     pub pszPolicyName: super::super::Foundation::PWSTR,
583     pub ProductId: ::windows_sys::core::GUID,
584     pub Language: u16,
585     pub pszOwner: super::super::Foundation::PWSTR,
586     pub pszCompany: super::super::Foundation::PWSTR,
587     pub pszComments: super::super::Foundation::PWSTR,
588     pub pszContact: super::super::Foundation::PWSTR,
589     pub pszSupportUrl: super::super::Foundation::PWSTR,
590     pub dwPathType: u32,
591     pub bInstalled: super::super::Foundation::BOOL,
592 }
593 #[cfg(feature = "Win32_Foundation")]
594 impl ::core::marker::Copy for MANAGEDAPPLICATION {}
595 #[cfg(feature = "Win32_Foundation")]
596 impl ::core::clone::Clone for MANAGEDAPPLICATION {
clone(&self) -> Self597     fn clone(&self) -> Self {
598         *self
599     }
600 }
601 pub const MANAGED_APPS_FROMCATEGORY: u32 = 2u32;
602 pub const MANAGED_APPS_INFOLEVEL_DEFAULT: u32 = 65536u32;
603 pub const MANAGED_APPS_USERAPPLICATIONS: u32 = 1u32;
604 pub const MANAGED_APPTYPE_SETUPEXE: u32 = 2u32;
605 pub const MANAGED_APPTYPE_UNSUPPORTED: u32 = 3u32;
606 pub const MANAGED_APPTYPE_WINDOWSINSTALLER: u32 = 1u32;
607 pub const NODEID_Machine: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2411771703, data2: 41185, data3: 4561, data4: [167, 211, 0, 0, 248, 117, 113, 227] };
608 pub const NODEID_MachineSWSettings: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2411771706, data2: 41185, data3: 4561, data4: [167, 211, 0, 0, 248, 117, 113, 227] };
609 pub const NODEID_RSOPMachine: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
610     data1: 3175881262,
611     data2: 2938,
612     data3: 19042,
613     data4: [166, 176, 192, 87, 117, 57, 201, 126],
614 };
615 pub const NODEID_RSOPMachineSWSettings: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1786128190, data2: 60302, data3: 17883, data4: [148, 197, 37, 102, 58, 95, 44, 26] };
616 pub const NODEID_RSOPUser: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
617     data1: 2877765199,
618     data2: 3308,
619     data3: 19672,
620     data4: [155, 248, 137, 143, 52, 98, 143, 184],
621 };
622 pub const NODEID_RSOPUserSWSettings: ::windows_sys::core::GUID = ::windows_sys::core::GUID {
623     data1: 3844889827,
624     data2: 64807,
625     data3: 17410,
626     data4: [132, 222, 217, 165, 242, 133, 137, 16],
627 };
628 pub const NODEID_User: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2411771704, data2: 41185, data3: 4561, data4: [167, 211, 0, 0, 248, 117, 113, 227] };
629 pub const NODEID_UserSWSettings: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2411771708, data2: 41185, data3: 4561, data4: [167, 211, 0, 0, 248, 117, 113, 227] };
630 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Wmi"))]
631 pub type PFNGENERATEGROUPPOLICY = unsafe extern "system" fn(dwflags: u32, pbabort: *mut super::super::Foundation::BOOL, pwszsite: super::super::Foundation::PWSTR, pcomputertarget: *const RSOP_TARGET, pusertarget: *const RSOP_TARGET) -> u32;
632 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))]
633 pub type PFNPROCESSGROUPPOLICY = unsafe extern "system" fn(dwflags: u32, htoken: super::super::Foundation::HANDLE, hkeyroot: super::Registry::HKEY, pdeletedgpolist: *const GROUP_POLICY_OBJECTA, pchangedgpolist: *const GROUP_POLICY_OBJECTA, phandle: usize, pbabort: *mut super::super::Foundation::BOOL, pstatuscallback: ::core::option::Option<PFNSTATUSMESSAGECALLBACK>) -> u32;
634 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry", feature = "Win32_System_Wmi"))]
635 pub type PFNPROCESSGROUPPOLICYEX = unsafe extern "system" fn(dwflags: u32, htoken: super::super::Foundation::HANDLE, hkeyroot: super::Registry::HKEY, pdeletedgpolist: *const GROUP_POLICY_OBJECTA, pchangedgpolist: *const GROUP_POLICY_OBJECTA, phandle: usize, pbabort: *mut super::super::Foundation::BOOL, pstatuscallback: ::core::option::Option<PFNSTATUSMESSAGECALLBACK>, pwbemservices: super::Wmi::IWbemServices, prsopstatus: *mut ::windows_sys::core::HRESULT) -> u32;
636 #[cfg(feature = "Win32_Foundation")]
637 pub type PFNSTATUSMESSAGECALLBACK = unsafe extern "system" fn(bverbose: super::super::Foundation::BOOL, lpmessage: super::super::Foundation::PWSTR) -> u32;
638 pub const PI_APPLYPOLICY: u32 = 2u32;
639 pub const PI_NOUI: u32 = 1u32;
640 #[repr(C)]
641 #[cfg(feature = "Win32_Foundation")]
642 pub struct POLICYSETTINGSTATUSINFO {
643     pub szKey: super::super::Foundation::PWSTR,
644     pub szEventSource: super::super::Foundation::PWSTR,
645     pub szEventLogName: super::super::Foundation::PWSTR,
646     pub dwEventID: u32,
647     pub dwErrorCode: u32,
648     pub status: SETTINGSTATUS,
649     pub timeLogged: super::super::Foundation::SYSTEMTIME,
650 }
651 #[cfg(feature = "Win32_Foundation")]
652 impl ::core::marker::Copy for POLICYSETTINGSTATUSINFO {}
653 #[cfg(feature = "Win32_Foundation")]
654 impl ::core::clone::Clone for POLICYSETTINGSTATUSINFO {
clone(&self) -> Self655     fn clone(&self) -> Self {
656         *self
657     }
658 }
659 pub const PT_MANDATORY: u32 = 4u32;
660 pub const PT_ROAMING: u32 = 2u32;
661 pub const PT_ROAMING_PREEXISTING: u32 = 8u32;
662 pub const PT_TEMPORARY: u32 = 1u32;
663 pub const RP_FORCE: u32 = 1u32;
664 pub const RP_SYNC: u32 = 2u32;
665 pub const RSOP_COMPUTER_ACCESS_DENIED: u32 = 2u32;
666 pub const RSOP_INFO_FLAG_DIAGNOSTIC_MODE: u32 = 1u32;
667 pub const RSOP_NO_COMPUTER: u32 = 65536u32;
668 pub const RSOP_NO_USER: u32 = 131072u32;
669 pub const RSOP_PLANNING_ASSUME_COMP_WQLFILTER_TRUE: u32 = 16u32;
670 pub const RSOP_PLANNING_ASSUME_LOOPBACK_MERGE: u32 = 2u32;
671 pub const RSOP_PLANNING_ASSUME_LOOPBACK_REPLACE: u32 = 4u32;
672 pub const RSOP_PLANNING_ASSUME_SLOW_LINK: u32 = 1u32;
673 pub const RSOP_PLANNING_ASSUME_USER_WQLFILTER_TRUE: u32 = 8u32;
674 #[repr(C)]
675 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Wmi"))]
676 pub struct RSOP_TARGET {
677     pub pwszAccountName: super::super::Foundation::PWSTR,
678     pub pwszNewSOM: super::super::Foundation::PWSTR,
679     pub psaSecurityGroups: *mut super::Com::SAFEARRAY,
680     pub pRsopToken: *mut ::core::ffi::c_void,
681     pub pGPOList: *mut GROUP_POLICY_OBJECTA,
682     pub pWbemServices: super::Wmi::IWbemServices,
683 }
684 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Wmi"))]
685 impl ::core::marker::Copy for RSOP_TARGET {}
686 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Wmi"))]
687 impl ::core::clone::Clone for RSOP_TARGET {
clone(&self) -> Self688     fn clone(&self) -> Self {
689         *self
690     }
691 }
692 pub const RSOP_TEMPNAMESPACE_EXISTS: u32 = 4u32;
693 pub const RSOP_USER_ACCESS_DENIED: u32 = 1u32;
694 pub type SETTINGSTATUS = i32;
695 pub const RSOPUnspecified: SETTINGSTATUS = 0i32;
696 pub const RSOPApplied: SETTINGSTATUS = 1i32;
697 pub const RSOPIgnored: SETTINGSTATUS = 2i32;
698 pub const RSOPFailed: SETTINGSTATUS = 3i32;
699 pub const RSOPSubsettingFailed: SETTINGSTATUS = 4i32;
700