| 1 |
#[cfg(feature = "Win32_Foundation")] |
| 2 |
::windows_targets::link!("gpedit.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BrowseForGPO(lpbrowseinfo : *mut GPOBROWSEINFO) -> ::windows_sys::core::HRESULT); |
| 3 |
::windows_targets::link!("advapi32.dll" "system" fn CommandLineFromMsiDescriptor(descriptor : ::windows_sys::core::PCWSTR, commandline : ::windows_sys::core::PWSTR, commandlinelength : *mut u32) -> u32); |
| 4 |
#[cfg(feature = "Win32_Foundation")] |
| 5 |
::windows_targets::link!("gpedit.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CreateGPOLink(lpgpo : ::windows_sys::core::PCWSTR, lpcontainer : ::windows_sys::core::PCWSTR, fhighpriority : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); |
| 6 |
::windows_targets::link!("gpedit.dll" "system" fn DeleteAllGPOLinks(lpcontainer : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); |
| 7 |
::windows_targets::link!("gpedit.dll" "system" fn DeleteGPOLink(lpgpo : ::windows_sys::core::PCWSTR, lpcontainer : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); |
| 8 |
#[cfg(feature = "Win32_Foundation")] |
| 9 |
::windows_targets::link!("userenv.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EnterCriticalPolicySection(bmachine : super::super::Foundation:: BOOL) -> super::super::Foundation:: HANDLE); |
| 10 |
::windows_targets::link!("gpedit.dll" "system" fn ExportRSoPData(lpnamespace : ::windows_sys::core::PCWSTR, lpfilename : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); |
| 11 |
#[cfg(feature = "Win32_Foundation")] |
| 12 |
::windows_targets::link!("userenv.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FreeGPOListA(pgpolist : *const GROUP_POLICY_OBJECTA) -> super::super::Foundation:: BOOL); |
| 13 |
#[cfg(feature = "Win32_Foundation")] |
| 14 |
::windows_targets::link!("userenv.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FreeGPOListW(pgpolist : *const GROUP_POLICY_OBJECTW) -> super::super::Foundation:: BOOL); |
| 15 |
#[cfg(feature = "Win32_Foundation")] |
| 16 |
::windows_targets::link!("userenv.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GenerateGPNotification(bmachine : super::super::Foundation:: BOOL, lpwszmgmtproduct : ::windows_sys::core::PCWSTR, dwmgmtproductoptions : u32) -> u32); |
| 17 |
#[cfg(feature = "Win32_Foundation")] |
| 18 |
::windows_targets::link!("userenv.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetAppliedGPOListA(dwflags : u32, pmachinename : ::windows_sys::core::PCSTR, psiduser : super::super::Foundation:: PSID, pguidextension : *const ::windows_sys::core::GUID, ppgpolist : *mut *mut GROUP_POLICY_OBJECTA) -> u32); |
| 19 |
#[cfg(feature = "Win32_Foundation")] |
| 20 |
::windows_targets::link!("userenv.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetAppliedGPOListW(dwflags : u32, pmachinename : ::windows_sys::core::PCWSTR, psiduser : super::super::Foundation:: PSID, pguidextension : *const ::windows_sys::core::GUID, ppgpolist : *mut *mut GROUP_POLICY_OBJECTW) -> u32); |
| 21 |
#[cfg(feature = "Win32_Foundation")] |
| 22 |
::windows_targets::link!("userenv.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetGPOListA(htoken : super::super::Foundation:: HANDLE, lpname : ::windows_sys::core::PCSTR, lphostname : ::windows_sys::core::PCSTR, lpcomputername : ::windows_sys::core::PCSTR, dwflags : u32, pgpolist : *mut *mut GROUP_POLICY_OBJECTA) -> super::super::Foundation:: BOOL); |
| 23 |
#[cfg(feature = "Win32_Foundation")] |
| 24 |
::windows_targets::link!("userenv.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetGPOListW(htoken : super::super::Foundation:: HANDLE, lpname : ::windows_sys::core::PCWSTR, lphostname : ::windows_sys::core::PCWSTR, lpcomputername : ::windows_sys::core::PCWSTR, dwflags : u32, pgpolist : *mut *mut GROUP_POLICY_OBJECTW) -> super::super::Foundation:: BOOL); |
| 25 |
::windows_targets::link!("advapi32.dll" "system" fn GetLocalManagedApplicationData(productcode : ::windows_sys::core::PCWSTR, displayname : *mut ::windows_sys::core::PWSTR, supporturl : *mut ::windows_sys::core::PWSTR) -> ()); |
| 26 |
#[cfg(feature = "Win32_Foundation")] |
| 27 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetLocalManagedApplications(buserapps : super::super::Foundation:: BOOL, pdwapps : *mut u32, prglocalapps : *mut *mut LOCALMANAGEDAPPLICATION) -> u32); |
| 28 |
#[cfg(feature = "Win32_UI_Shell")] |
| 29 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_UI_Shell\"`"] fn GetManagedApplicationCategories(dwreserved : u32, pappcategory : *mut super::super::UI::Shell:: APPCATEGORYINFOLIST) -> u32); |
| 30 |
#[cfg(feature = "Win32_Foundation")] |
| 31 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetManagedApplications(pcategory : *const ::windows_sys::core::GUID, dwqueryflags : u32, dwinfolevel : u32, pdwapps : *mut u32, prgmanagedapps : *mut *mut MANAGEDAPPLICATION) -> u32); |
| 32 |
::windows_targets::link!("gpedit.dll" "system" fn ImportRSoPData(lpnamespace : ::windows_sys::core::PCWSTR, lpfilename : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); |
| 33 |
::windows_targets::link!("advapi32.dll" "system" fn InstallApplication(pinstallinfo : *const INSTALLDATA) -> u32); |
| 34 |
#[cfg(feature = "Win32_Foundation")] |
| 35 |
::windows_targets::link!("userenv.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LeaveCriticalPolicySection(hsection : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); |
| 36 |
::windows_targets::link!("userenv.dll" "system" fn ProcessGroupPolicyCompleted(extensionid : *const ::windows_sys::core::GUID, pasynchandle : usize, dwstatus : u32) -> u32); |
| 37 |
::windows_targets::link!("userenv.dll" "system" fn ProcessGroupPolicyCompletedEx(extensionid : *const ::windows_sys::core::GUID, pasynchandle : usize, dwstatus : u32, rsopstatus : ::windows_sys::core::HRESULT) -> u32); |
| 38 |
#[cfg(feature = "Win32_Foundation")] |
| 39 |
::windows_targets::link!("userenv.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RefreshPolicy(bmachine : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); |
| 40 |
#[cfg(feature = "Win32_Foundation")] |
| 41 |
::windows_targets::link!("userenv.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RefreshPolicyEx(bmachine : super::super::Foundation:: BOOL, dwoptions : u32) -> super::super::Foundation:: BOOL); |
| 42 |
#[cfg(feature = "Win32_Foundation")] |
| 43 |
::windows_targets::link!("userenv.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RegisterGPNotification(hevent : super::super::Foundation:: HANDLE, bmachine : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); |
| 44 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] |
| 45 |
::windows_targets::link!("userenv.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security\"`"] fn RsopAccessCheckByType(psecuritydescriptor : super::super::Security:: PSECURITY_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 super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); |
| 46 |
#[cfg(feature = "Win32_Foundation")] |
| 47 |
::windows_targets::link!("userenv.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RsopFileAccessCheck(pszfilename : ::windows_sys::core::PCWSTR, prsoptoken : *const ::core::ffi::c_void, dwdesiredaccessmask : u32, pdwgrantedaccessmask : *mut u32, pbaccessstatus : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); |
| 48 |
#[cfg(feature = "Win32_System_Wmi")] |
| 49 |
::windows_targets::link!("userenv.dll" "system" #[doc = "Required features: `\"Win32_System_Wmi\"`"] fn RsopResetPolicySettingStatus(dwflags : u32, pservices : super::Wmi:: IWbemServices, psettinginstance : super::Wmi:: IWbemClassObject) -> ::windows_sys::core::HRESULT); |
| 50 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Wmi"))] |
| 51 |
::windows_targets::link!("userenv.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Wmi\"`"] fn RsopSetPolicySettingStatus(dwflags : u32, pservices : super::Wmi:: IWbemServices, psettinginstance : super::Wmi:: IWbemClassObject, ninfo : u32, pstatus : *const POLICYSETTINGSTATUSINFO) -> ::windows_sys::core::HRESULT); |
| 52 |
::windows_targets::link!("advapi32.dll" "system" fn UninstallApplication(productcode : ::windows_sys::core::PCWSTR, dwstatus : u32) -> u32); |
| 53 |
#[cfg(feature = "Win32_Foundation")] |
| 54 |
::windows_targets::link!("userenv.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn UnregisterGPNotification(hevent : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); |
| 55 |
pub type IGPEInformation = *mut ::core::ffi::c_void; |
| 56 |
pub type IGPM = *mut ::core::ffi::c_void; |
| 57 |
pub type IGPM2 = *mut ::core::ffi::c_void; |
| 58 |
pub type IGPMAsyncCancel = *mut ::core::ffi::c_void; |
| 59 |
pub type IGPMAsyncProgress = *mut ::core::ffi::c_void; |
| 60 |
pub type IGPMBackup = *mut ::core::ffi::c_void; |
| 61 |
pub type IGPMBackupCollection = *mut ::core::ffi::c_void; |
| 62 |
pub type IGPMBackupDir = *mut ::core::ffi::c_void; |
| 63 |
pub type IGPMBackupDirEx = *mut ::core::ffi::c_void; |
| 64 |
pub type IGPMCSECollection = *mut ::core::ffi::c_void; |
| 65 |
pub type IGPMClientSideExtension = *mut ::core::ffi::c_void; |
| 66 |
pub type IGPMConstants = *mut ::core::ffi::c_void; |
| 67 |
pub type IGPMConstants2 = *mut ::core::ffi::c_void; |
| 68 |
pub type IGPMDomain = *mut ::core::ffi::c_void; |
| 69 |
pub type IGPMDomain2 = *mut ::core::ffi::c_void; |
| 70 |
pub type IGPMDomain3 = *mut ::core::ffi::c_void; |
| 71 |
pub type IGPMGPO = *mut ::core::ffi::c_void; |
| 72 |
pub type IGPMGPO2 = *mut ::core::ffi::c_void; |
| 73 |
pub type IGPMGPO3 = *mut ::core::ffi::c_void; |
| 74 |
pub type IGPMGPOCollection = *mut ::core::ffi::c_void; |
| 75 |
pub type IGPMGPOLink = *mut ::core::ffi::c_void; |
| 76 |
pub type IGPMGPOLinksCollection = *mut ::core::ffi::c_void; |
| 77 |
pub type IGPMMapEntry = *mut ::core::ffi::c_void; |
| 78 |
pub type IGPMMapEntryCollection = *mut ::core::ffi::c_void; |
| 79 |
pub type IGPMMigrationTable = *mut ::core::ffi::c_void; |
| 80 |
pub type IGPMPermission = *mut ::core::ffi::c_void; |
| 81 |
pub type IGPMRSOP = *mut ::core::ffi::c_void; |
| 82 |
pub type IGPMResult = *mut ::core::ffi::c_void; |
| 83 |
pub type IGPMSOM = *mut ::core::ffi::c_void; |
| 84 |
pub type IGPMSOMCollection = *mut ::core::ffi::c_void; |
| 85 |
pub type IGPMSearchCriteria = *mut ::core::ffi::c_void; |
| 86 |
pub type IGPMSecurityInfo = *mut ::core::ffi::c_void; |
| 87 |
pub type IGPMSitesContainer = *mut ::core::ffi::c_void; |
| 88 |
pub type IGPMStarterGPO = *mut ::core::ffi::c_void; |
| 89 |
pub type IGPMStarterGPOBackup = *mut ::core::ffi::c_void; |
| 90 |
pub type IGPMStarterGPOBackupCollection = *mut ::core::ffi::c_void; |
| 91 |
pub type IGPMStarterGPOCollection = *mut ::core::ffi::c_void; |
| 92 |
pub type IGPMStatusMessage = *mut ::core::ffi::c_void; |
| 93 |
pub type IGPMStatusMsgCollection = *mut ::core::ffi::c_void; |
| 94 |
pub type IGPMTrustee = *mut ::core::ffi::c_void; |
| 95 |
pub type IGPMWMIFilter = *mut ::core::ffi::c_void; |
| 96 |
pub type IGPMWMIFilterCollection = *mut ::core::ffi::c_void; |
| 97 |
pub type IGroupPolicyObject = *mut ::core::ffi::c_void; |
| 98 |
pub type IRSOPInformation = *mut ::core::ffi::c_void; |
| 99 |
pub const ABSENT: APPSTATE = 0i32; |
| 100 |
pub const ADMXCOMMENTS_EXTENSION_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6c5a2a86_9eb3_42b9_aa83_a7371ba011b9); |
| 101 |
pub const APPNAME: INSTALLSPECTYPE = 1i32; |
| 102 |
pub const ASSIGNED: APPSTATE = 1i32; |
| 103 |
pub const CLSID_GPESnapIn: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8fc0b734_a0e1_11d1_a7d3_0000f87571e3); |
| 104 |
pub const CLSID_GroupPolicyObject: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xea502722_a23d_11d1_a7d3_0000f87571e3); |
| 105 |
pub const CLSID_RSOPSnapIn: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6dc3804b_7212_458d_adb0_9a07e2ae1fa2); |
| 106 |
pub const COMCLASS: INSTALLSPECTYPE = 4i32; |
| 107 |
pub const FILEEXT: INSTALLSPECTYPE = 2i32; |
| 108 |
pub const FLAG_ASSUME_COMP_WQLFILTER_TRUE: u32 = 33554432u32; |
| 109 |
pub const FLAG_ASSUME_SLOW_LINK: u32 = 536870912u32; |
| 110 |
pub const FLAG_ASSUME_USER_WQLFILTER_TRUE: u32 = 67108864u32; |
| 111 |
pub const FLAG_FORCE_CREATENAMESPACE: u32 = 4u32; |
| 112 |
pub const FLAG_LOOPBACK_MERGE: u32 = 268435456u32; |
| 113 |
pub const FLAG_LOOPBACK_REPLACE: u32 = 134217728u32; |
| 114 |
pub const FLAG_NO_COMPUTER: u32 = 2u32; |
| 115 |
pub const FLAG_NO_CSE_INVOKE: u32 = 1073741824u32; |
| 116 |
pub const FLAG_NO_GPO_FILTER: u32 = 2147483648u32; |
| 117 |
pub const FLAG_NO_USER: u32 = 1u32; |
| 118 |
pub const FLAG_PLANNING_MODE: u32 = 16777216u32; |
| 119 |
pub const GPC_BLOCK_POLICY: u32 = 1u32; |
| 120 |
pub const GPHintDomain: GROUP_POLICY_HINT_TYPE = 3i32; |
| 121 |
pub const GPHintMachine: GROUP_POLICY_HINT_TYPE = 1i32; |
| 122 |
pub const GPHintOrganizationalUnit: GROUP_POLICY_HINT_TYPE = 4i32; |
| 123 |
pub const GPHintSite: GROUP_POLICY_HINT_TYPE = 2i32; |
| 124 |
pub const GPHintUnknown: GROUP_POLICY_HINT_TYPE = 0i32; |
| 125 |
pub const GPLinkDomain: GPO_LINK = 3i32; |
| 126 |
pub const GPLinkMachine: GPO_LINK = 1i32; |
| 127 |
pub const GPLinkOrganizationalUnit: GPO_LINK = 4i32; |
| 128 |
pub const GPLinkSite: GPO_LINK = 2i32; |
| 129 |
pub const GPLinkUnknown: GPO_LINK = 0i32; |
| 130 |
pub const GPM: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf5694708_88fe_4b35_babf_e56162d5fbc8); |
| 131 |
pub const GPMAsyncCancel: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x372796a9_76ec_479d_ad6c_556318ed5f9d); |
| 132 |
pub const GPMBackup: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xed1a54b8_5efa_482a_93c0_8ad86f0d68c3); |
| 133 |
pub const GPMBackupCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xeb8f035b_70db_4a9f_9676_37c25994e9dc); |
| 134 |
pub const GPMBackupDir: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xfce4a59d_0f21_4afa_b859_e6d0c62cd10c); |
| 135 |
pub const GPMBackupDirEx: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe8c0988a_cf03_4c5b_8be2_2aa9ad32aada); |
| 136 |
pub const GPMCSECollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xcf92b828_2d44_4b61_b10a_b327afd42da8); |
| 137 |
pub const GPMClientSideExtension: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc1a2e70e_659c_4b1a_940b_f88b0af9c8a4); |
| 138 |
pub const GPMConstants: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x3855e880_cd9e_4d0c_9eaf_1579283a1888); |
| 139 |
pub const GPMDomain: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x710901be_1050_4cb1_838a_c5cff259e183); |
| 140 |
pub const GPMGPO: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd2ce2994_59b5_4064_b581_4d68486a16c4); |
| 141 |
pub const GPMGPOCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x7a057325_832d_4de3_a41f_c780436a4e09); |
| 142 |
pub const GPMGPOLink: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc1df9880_5303_42c6_8a3c_0488e1bf7364); |
| 143 |
pub const GPMGPOLinksCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf6ed581a_49a5_47e2_b771_fd8dc02b6259); |
| 144 |
pub const GPMMapEntry: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8c975253_5431_4471_b35d_0626c928258a); |
| 145 |
pub const GPMMapEntryCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cf75d5b_a3a1_4c55_b4fe_9e149c41f66d); |
| 146 |
pub const GPMMigrationTable: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x55af4043_2a06_4f72_abef_631b44079c76); |
| 147 |
pub const GPMPermission: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5871a40a_e9c0_46ec_913e_944ef9225a94); |
| 148 |
pub const GPMRSOP: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x489b0caf_9ec2_4eb7_91f5_b6f71d43da8c); |
| 149 |
pub const GPMResult: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x92101ac0_9287_4206_a3b2_4bdb73d225f6); |
| 150 |
pub const GPMSOM: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x32d93fac_450e_44cf_829c_8b22ff6bdae1); |
| 151 |
pub const GPMSOMCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x24c1f147_3720_4f5b_a9c3_06b4e4f931d2); |
| 152 |
pub const GPMSearchCriteria: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x17aaca26_5ce0_44fa_8cc0_5259e6483566); |
| 153 |
pub const GPMSecurityInfo: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x547a5e8f_9162_4516_a4df_9ddb9686d846); |
| 154 |
pub const GPMSitesContainer: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x229f5c42_852c_4b30_945f_c522be9bd386); |
| 155 |
pub const GPMStarterGPOBackup: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x389e400a_d8ef_455b_a861_5f9ca34a6a02); |
| 156 |
pub const GPMStarterGPOBackupCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe75ea59d_1aeb_4cb5_a78a_281daa582406); |
| 157 |
pub const GPMStarterGPOCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x82f8aa8b_49ba_43b2_956e_3397f9b94c3a); |
| 158 |
pub const GPMStatusMessage: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4b77cc94_d255_409b_bc62_370881715a19); |
| 159 |
pub const GPMStatusMsgCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2824e4be_4bcc_4cac_9e60_0e3ed7f12496); |
| 160 |
pub const GPMTemplate: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xecf1d454_71da_4e2f_a8c0_8185465911d9); |
| 161 |
pub const GPMTrustee: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc54a700d_19b6_4211_bcb0_e8e2475e471e); |
| 162 |
pub const GPMWMIFilter: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x626745d8_0dea_4062_bf60_cfc5b1ca1286); |
| 163 |
pub const GPMWMIFilterCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x74dc6d28_e820_47d6_a0b8_f08d93d7fa33); |
| 164 |
pub const GPM_DONOTUSE_W2KDC: u32 = 2u32; |
| 165 |
pub const GPM_DONOT_VALIDATEDC: u32 = 1u32; |
| 166 |
pub const GPM_MIGRATIONTABLE_ONLY: u32 = 1u32; |
| 167 |
pub const GPM_PROCESS_SECURITY: u32 = 2u32; |
| 168 |
pub const GPM_USE_ANYDC: u32 = 1u32; |
| 169 |
pub const GPM_USE_PDC: u32 = 0u32; |
| 170 |
pub const GPOTypeDS: GROUP_POLICY_OBJECT_TYPE = 2i32; |
| 171 |
pub const GPOTypeLocal: GROUP_POLICY_OBJECT_TYPE = 0i32; |
| 172 |
pub const GPOTypeLocalGroup: GROUP_POLICY_OBJECT_TYPE = 4i32; |
| 173 |
pub const GPOTypeLocalUser: GROUP_POLICY_OBJECT_TYPE = 3i32; |
| 174 |
pub const GPOTypeRemote: GROUP_POLICY_OBJECT_TYPE = 1i32; |
| 175 |
pub const GPO_BROWSE_DISABLENEW: u32 = 1u32; |
| 176 |
pub const GPO_BROWSE_INITTOALL: u32 = 16u32; |
| 177 |
pub const GPO_BROWSE_NOCOMPUTERS: u32 = 2u32; |
| 178 |
pub const GPO_BROWSE_NODSGPOS: u32 = 4u32; |
| 179 |
pub const GPO_BROWSE_NOUSERGPOS: u32 = 32u32; |
| 180 |
pub const GPO_BROWSE_OPENBUTTON: u32 = 8u32; |
| 181 |
pub const GPO_BROWSE_SENDAPPLYONEDIT: u32 = 64u32; |
| 182 |
pub const GPO_FLAG_DISABLE: u32 = 1u32; |
| 183 |
pub const GPO_FLAG_FORCE: u32 = 2u32; |
| 184 |
pub const GPO_INFO_FLAG_ASYNC_FOREGROUND: u32 = 4096u32; |
| 185 |
pub const GPO_INFO_FLAG_BACKGROUND: u32 = 16u32; |
| 186 |
pub const GPO_INFO_FLAG_FORCED_REFRESH: u32 = 1024u32; |
| 187 |
pub const GPO_INFO_FLAG_LINKTRANSITION: u32 = 256u32; |
| 188 |
pub const GPO_INFO_FLAG_LOGRSOP_TRANSITION: u32 = 512u32; |
| 189 |
pub const GPO_INFO_FLAG_MACHINE: u32 = 1u32; |
| 190 |
pub const GPO_INFO_FLAG_NOCHANGES: u32 = 128u32; |
| 191 |
pub const GPO_INFO_FLAG_SAFEMODE_BOOT: u32 = 2048u32; |
| 192 |
pub const GPO_INFO_FLAG_SLOWLINK: u32 = 32u32; |
| 193 |
pub const GPO_INFO_FLAG_VERBOSE: u32 = 64u32; |
| 194 |
pub const GPO_LIST_FLAG_MACHINE: u32 = 1u32; |
| 195 |
pub const GPO_LIST_FLAG_NO_SECURITYFILTERS: u32 = 8u32; |
| 196 |
pub const GPO_LIST_FLAG_NO_WMIFILTERS: u32 = 4u32; |
| 197 |
pub const GPO_LIST_FLAG_SITEONLY: u32 = 2u32; |
| 198 |
pub const GPO_OPEN_LOAD_REGISTRY: GPO_OPEN_FLAGS = 1u32; |
| 199 |
pub const GPO_OPEN_READ_ONLY: GPO_OPEN_FLAGS = 2u32; |
| 200 |
pub const GPO_OPTION_DISABLE_MACHINE: GPO_OPTIONS = 2u32; |
| 201 |
pub const GPO_OPTION_DISABLE_USER: GPO_OPTIONS = 1u32; |
| 202 |
pub const GPO_SECTION_MACHINE: GPO_SECTION = 2u32; |
| 203 |
pub const GPO_SECTION_ROOT: GPO_SECTION = 0u32; |
| 204 |
pub const GPO_SECTION_USER: GPO_SECTION = 1u32; |
| 205 |
pub const GP_DLLNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DllName"); |
| 206 |
pub const GP_ENABLEASYNCHRONOUSPROCESSING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EnableAsynchronousProcessing"); |
| 207 |
pub const GP_MAXNOGPOLISTCHANGESINTERVAL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxNoGPOListChangesInterval"); |
| 208 |
pub const GP_NOBACKGROUNDPOLICY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NoBackgroundPolicy"); |
| 209 |
pub const GP_NOGPOLISTCHANGES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NoGPOListChanges"); |
| 210 |
pub const GP_NOMACHINEPOLICY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NoMachinePolicy"); |
| 211 |
pub const GP_NOSLOWLINK: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NoSlowLink"); |
| 212 |
pub const GP_NOTIFYLINKTRANSITION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NotifyLinkTransition"); |
| 213 |
pub const GP_NOUSERPOLICY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NoUserPolicy"); |
| 214 |
pub const GP_PERUSERLOCALSETTINGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PerUserLocalSettings"); |
| 215 |
pub const GP_PROCESSGROUPPOLICY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ProcessGroupPolicy"); |
| 216 |
pub const GP_REQUIRESSUCCESSFULREGISTRY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequiresSuccessfulRegistry"); |
| 217 |
pub const GROUP_POLICY_TRIGGER_EVENT_PROVIDER_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbd2f4252_5e1e_49fc_9a30_f3978ad89ee2); |
| 218 |
pub const LOCALSTATE_ASSIGNED: u32 = 1u32; |
| 219 |
pub const LOCALSTATE_ORPHANED: u32 = 32u32; |
| 220 |
pub const LOCALSTATE_POLICYREMOVE_ORPHAN: u32 = 8u32; |
| 221 |
pub const LOCALSTATE_POLICYREMOVE_UNINSTALL: u32 = 16u32; |
| 222 |
pub const LOCALSTATE_PUBLISHED: u32 = 2u32; |
| 223 |
pub const LOCALSTATE_UNINSTALLED: u32 = 64u32; |
| 224 |
pub const LOCALSTATE_UNINSTALL_UNMANAGED: u32 = 4u32; |
| 225 |
pub const MACHINE_POLICY_PRESENT_TRIGGER_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x659fcae6_5bdb_4da9_b1ff_ca2a178d46e0); |
| 226 |
pub const MANAGED_APPS_FROMCATEGORY: u32 = 2u32; |
| 227 |
pub const MANAGED_APPS_INFOLEVEL_DEFAULT: u32 = 65536u32; |
| 228 |
pub const MANAGED_APPS_USERAPPLICATIONS: u32 = 1u32; |
| 229 |
pub const MANAGED_APPTYPE_SETUPEXE: u32 = 2u32; |
| 230 |
pub const MANAGED_APPTYPE_UNSUPPORTED: u32 = 3u32; |
| 231 |
pub const MANAGED_APPTYPE_WINDOWSINSTALLER: u32 = 1u32; |
| 232 |
pub const NODEID_Machine: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8fc0b737_a0e1_11d1_a7d3_0000f87571e3); |
| 233 |
pub const NODEID_MachineSWSettings: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8fc0b73a_a0e1_11d1_a7d3_0000f87571e3); |
| 234 |
pub const NODEID_RSOPMachine: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbd4c1a2e_0b7a_4a62_a6b0_c0577539c97e); |
| 235 |
pub const NODEID_RSOPMachineSWSettings: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6a76273e_eb8e_45db_94c5_25663a5f2c1a); |
| 236 |
pub const NODEID_RSOPUser: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xab87364f_0cec_4cd8_9bf8_898f34628fb8); |
| 237 |
pub const NODEID_RSOPUserSWSettings: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe52c5ce3_fd27_4402_84de_d9a5f2858910); |
| 238 |
pub const NODEID_User: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8fc0b738_a0e1_11d1_a7d3_0000f87571e3); |
| 239 |
pub const NODEID_UserSWSettings: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8fc0b73c_a0e1_11d1_a7d3_0000f87571e3); |
| 240 |
pub const PI_APPLYPOLICY: u32 = 2u32; |
| 241 |
pub const PI_NOUI: u32 = 1u32; |
| 242 |
pub const PROGID: INSTALLSPECTYPE = 3i32; |
| 243 |
pub const PT_MANDATORY: u32 = 4u32; |
| 244 |
pub const PT_ROAMING: u32 = 2u32; |
| 245 |
pub const PT_ROAMING_PREEXISTING: u32 = 8u32; |
| 246 |
pub const PT_TEMPORARY: u32 = 1u32; |
| 247 |
pub const PUBLISHED: APPSTATE = 2i32; |
| 248 |
pub const REGISTRY_EXTENSION_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x35378eac_683f_11d2_a89a_00c04fbbcfa2); |
| 249 |
pub const RP_FORCE: u32 = 1u32; |
| 250 |
pub const RP_SYNC: u32 = 2u32; |
| 251 |
pub const RSOPApplied: SETTINGSTATUS = 1i32; |
| 252 |
pub const RSOPFailed: SETTINGSTATUS = 3i32; |
| 253 |
pub const RSOPIgnored: SETTINGSTATUS = 2i32; |
| 254 |
pub const RSOPSubsettingFailed: SETTINGSTATUS = 4i32; |
| 255 |
pub const RSOPUnspecified: SETTINGSTATUS = 0i32; |
| 256 |
pub const RSOP_COMPUTER_ACCESS_DENIED: u32 = 2u32; |
| 257 |
pub const RSOP_INFO_FLAG_DIAGNOSTIC_MODE: u32 = 1u32; |
| 258 |
pub const RSOP_NO_COMPUTER: u32 = 65536u32; |
| 259 |
pub const RSOP_NO_USER: u32 = 131072u32; |
| 260 |
pub const RSOP_PLANNING_ASSUME_COMP_WQLFILTER_TRUE: u32 = 16u32; |
| 261 |
pub const RSOP_PLANNING_ASSUME_LOOPBACK_MERGE: u32 = 2u32; |
| 262 |
pub const RSOP_PLANNING_ASSUME_LOOPBACK_REPLACE: u32 = 4u32; |
| 263 |
pub const RSOP_PLANNING_ASSUME_SLOW_LINK: u32 = 1u32; |
| 264 |
pub const RSOP_PLANNING_ASSUME_USER_WQLFILTER_TRUE: u32 = 8u32; |
| 265 |
pub const RSOP_TEMPNAMESPACE_EXISTS: u32 = 4u32; |
| 266 |
pub const RSOP_USER_ACCESS_DENIED: u32 = 1u32; |
| 267 |
pub const USER_POLICY_PRESENT_TRIGGER_GUID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x54fb46c8_f089_464c_b1fd_59d1b62c3b50); |
| 268 |
pub const backupMostRecent: GPMSearchProperty = 9i32; |
| 269 |
pub const gpoComputerExtensions: GPMSearchProperty = 5i32; |
| 270 |
pub const gpoDisplayName: GPMSearchProperty = 2i32; |
| 271 |
pub const gpoDomain: GPMSearchProperty = 8i32; |
| 272 |
pub const gpoEffectivePermissions: GPMSearchProperty = 1i32; |
| 273 |
pub const gpoID: GPMSearchProperty = 4i32; |
| 274 |
pub const gpoPermissions: GPMSearchProperty = 0i32; |
| 275 |
pub const gpoUserExtensions: GPMSearchProperty = 6i32; |
| 276 |
pub const gpoWMIFilter: GPMSearchProperty = 3i32; |
| 277 |
pub const opContains: GPMSearchOperation = 1i32; |
| 278 |
pub const opDestinationByRelativeName: GPMDestinationOption = 2i32; |
| 279 |
pub const opDestinationNone: GPMDestinationOption = 1i32; |
| 280 |
pub const opDestinationSameAsSource: GPMDestinationOption = 0i32; |
| 281 |
pub const opDestinationSet: GPMDestinationOption = 3i32; |
| 282 |
pub const opEquals: GPMSearchOperation = 0i32; |
| 283 |
pub const opNotContains: GPMSearchOperation = 2i32; |
| 284 |
pub const opNotEquals: GPMSearchOperation = 3i32; |
| 285 |
pub const opReportComments: GPMReportingOptions = 1i32; |
| 286 |
pub const opReportLegacy: GPMReportingOptions = 0i32; |
| 287 |
pub const permGPOApply: GPMPermissionType = 65536i32; |
| 288 |
pub const permGPOCustom: GPMPermissionType = 65795i32; |
| 289 |
pub const permGPOEdit: GPMPermissionType = 65793i32; |
| 290 |
pub const permGPOEditSecurityAndDelete: GPMPermissionType = 65794i32; |
| 291 |
pub const permGPORead: GPMPermissionType = 65792i32; |
| 292 |
pub const permSOMGPOCreate: GPMPermissionType = 1049600i32; |
| 293 |
pub const permSOMLink: GPMPermissionType = 1835008i32; |
| 294 |
pub const permSOMLogging: GPMPermissionType = 1573120i32; |
| 295 |
pub const permSOMPlanning: GPMPermissionType = 1573376i32; |
| 296 |
pub const permSOMStarterGPOCreate: GPMPermissionType = 1049856i32; |
| 297 |
pub const permSOMWMICreate: GPMPermissionType = 1049344i32; |
| 298 |
pub const permSOMWMIFullControl: GPMPermissionType = 1049345i32; |
| 299 |
pub const permStarterGPOCustom: GPMPermissionType = 197891i32; |
| 300 |
pub const permStarterGPOEdit: GPMPermissionType = 197889i32; |
| 301 |
pub const permStarterGPOFullControl: GPMPermissionType = 197890i32; |
| 302 |
pub const permStarterGPORead: GPMPermissionType = 197888i32; |
| 303 |
pub const permWMIFilterCustom: GPMPermissionType = 131074i32; |
| 304 |
pub const permWMIFilterEdit: GPMPermissionType = 131072i32; |
| 305 |
pub const permWMIFilterFullControl: GPMPermissionType = 131073i32; |
| 306 |
pub const repClientHealthRefreshXML: GPMReportType = 5i32; |
| 307 |
pub const repClientHealthXML: GPMReportType = 4i32; |
| 308 |
pub const repHTML: GPMReportType = 1i32; |
| 309 |
pub const repInfraRefreshXML: GPMReportType = 3i32; |
| 310 |
pub const repInfraXML: GPMReportType = 2i32; |
| 311 |
pub const repXML: GPMReportType = 0i32; |
| 312 |
pub const rsopLogging: GPMRSOPMode = 2i32; |
| 313 |
pub const rsopPlanning: GPMRSOPMode = 1i32; |
| 314 |
pub const rsopUnknown: GPMRSOPMode = 0i32; |
| 315 |
pub const somDomain: GPMSOMType = 1i32; |
| 316 |
pub const somLinks: GPMSearchProperty = 7i32; |
| 317 |
pub const somOU: GPMSOMType = 2i32; |
| 318 |
pub const somSite: GPMSOMType = 0i32; |
| 319 |
pub const starterGPODisplayName: GPMSearchProperty = 12i32; |
| 320 |
pub const starterGPODomain: GPMSearchProperty = 14i32; |
| 321 |
pub const starterGPOEffectivePermissions: GPMSearchProperty = 11i32; |
| 322 |
pub const starterGPOID: GPMSearchProperty = 13i32; |
| 323 |
pub const starterGPOPermissions: GPMSearchProperty = 10i32; |
| 324 |
pub const typeComputer: GPMEntryType = 1i32; |
| 325 |
pub const typeCustom: GPMStarterGPOType = 1i32; |
| 326 |
pub const typeGPO: GPMBackupType = 0i32; |
| 327 |
pub const typeGlobalGroup: GPMEntryType = 3i32; |
| 328 |
pub const typeLocalGroup: GPMEntryType = 2i32; |
| 329 |
pub const typeStarterGPO: GPMBackupType = 1i32; |
| 330 |
pub const typeSystem: GPMStarterGPOType = 0i32; |
| 331 |
pub const typeUNCPath: GPMEntryType = 5i32; |
| 332 |
pub const typeUniversalGroup: GPMEntryType = 4i32; |
| 333 |
pub const typeUnknown: GPMEntryType = 6i32; |
| 334 |
pub const typeUser: GPMEntryType = 0i32; |
| 335 |
pub type APPSTATE = i32; |
| 336 |
pub type GPMBackupType = i32; |
| 337 |
pub type GPMDestinationOption = i32; |
| 338 |
pub type GPMEntryType = i32; |
| 339 |
pub type GPMPermissionType = i32; |
| 340 |
pub type GPMRSOPMode = i32; |
| 341 |
pub type GPMReportType = i32; |
| 342 |
pub type GPMReportingOptions = i32; |
| 343 |
pub type GPMSOMType = i32; |
| 344 |
pub type GPMSearchOperation = i32; |
| 345 |
pub type GPMSearchProperty = i32; |
| 346 |
pub type GPMStarterGPOType = i32; |
| 347 |
pub type GPO_LINK = i32; |
| 348 |
pub type GPO_OPEN_FLAGS = u32; |
| 349 |
pub type GPO_OPTIONS = u32; |
| 350 |
pub type GPO_SECTION = u32; |
| 351 |
pub type GROUP_POLICY_HINT_TYPE = i32; |
| 352 |
pub type GROUP_POLICY_OBJECT_TYPE = i32; |
| 353 |
pub type INSTALLSPECTYPE = i32; |
| 354 |
pub type SETTINGSTATUS = i32; |
| 355 |
#[repr(C)] |
| 356 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 357 |
#[cfg(feature = "Win32_Foundation")] |
| 358 |
pub struct GPOBROWSEINFO { |
| 359 |
pub dwSize: u32, |
| 360 |
pub dwFlags: u32, |
| 361 |
pub hwndOwner: super::super::Foundation::HWND, |
| 362 |
pub lpTitle: ::windows_sys::core::PWSTR, |
| 363 |
pub lpInitialOU: ::windows_sys::core::PWSTR, |
| 364 |
pub lpDSPath: ::windows_sys::core::PWSTR, |
| 365 |
pub dwDSPathSize: u32, |
| 366 |
pub lpName: ::windows_sys::core::PWSTR, |
| 367 |
pub dwNameSize: u32, |
| 368 |
pub gpoType: GROUP_POLICY_OBJECT_TYPE, |
| 369 |
pub gpoHint: GROUP_POLICY_HINT_TYPE, |
| 370 |
} |
| 371 |
#[cfg(feature = "Win32_Foundation")] |
| 372 |
impl ::core::marker::Copy for GPOBROWSEINFO {} |
| 373 |
#[cfg(feature = "Win32_Foundation")] |
| 374 |
impl ::core::clone::Clone for GPOBROWSEINFO { |
| 375 |
fn clone(&self) -> Self { |
| 376 |
*self |
| 377 |
} |
| 378 |
} |
| 379 |
#[repr(C)] |
| 380 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 381 |
#[cfg(feature = "Win32_Foundation")] |
| 382 |
pub struct GROUP_POLICY_OBJECTA { |
| 383 |
pub dwOptions: u32, |
| 384 |
pub dwVersion: u32, |
| 385 |
pub lpDSPath: ::windows_sys::core::PSTR, |
| 386 |
pub lpFileSysPath: ::windows_sys::core::PSTR, |
| 387 |
pub lpDisplayName: ::windows_sys::core::PSTR, |
| 388 |
pub szGPOName: [u8; 50], |
| 389 |
pub GPOLink: GPO_LINK, |
| 390 |
pub lParam: super::super::Foundation::LPARAM, |
| 391 |
pub pNext: *mut GROUP_POLICY_OBJECTA, |
| 392 |
pub pPrev: *mut GROUP_POLICY_OBJECTA, |
| 393 |
pub lpExtensions: ::windows_sys::core::PSTR, |
| 394 |
pub lParam2: super::super::Foundation::LPARAM, |
| 395 |
pub lpLink: ::windows_sys::core::PSTR, |
| 396 |
} |
| 397 |
#[cfg(feature = "Win32_Foundation")] |
| 398 |
impl ::core::marker::Copy for GROUP_POLICY_OBJECTA {} |
| 399 |
#[cfg(feature = "Win32_Foundation")] |
| 400 |
impl ::core::clone::Clone for GROUP_POLICY_OBJECTA { |
| 401 |
fn clone(&self) -> Self { |
| 402 |
*self |
| 403 |
} |
| 404 |
} |
| 405 |
#[repr(C)] |
| 406 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 407 |
#[cfg(feature = "Win32_Foundation")] |
| 408 |
pub struct GROUP_POLICY_OBJECTW { |
| 409 |
pub dwOptions: u32, |
| 410 |
pub dwVersion: u32, |
| 411 |
pub lpDSPath: ::windows_sys::core::PWSTR, |
| 412 |
pub lpFileSysPath: ::windows_sys::core::PWSTR, |
| 413 |
pub lpDisplayName: ::windows_sys::core::PWSTR, |
| 414 |
pub szGPOName: [u16; 50], |
| 415 |
pub GPOLink: GPO_LINK, |
| 416 |
pub lParam: super::super::Foundation::LPARAM, |
| 417 |
pub pNext: *mut GROUP_POLICY_OBJECTW, |
| 418 |
pub pPrev: *mut GROUP_POLICY_OBJECTW, |
| 419 |
pub lpExtensions: ::windows_sys::core::PWSTR, |
| 420 |
pub lParam2: super::super::Foundation::LPARAM, |
| 421 |
pub lpLink: ::windows_sys::core::PWSTR, |
| 422 |
} |
| 423 |
#[cfg(feature = "Win32_Foundation")] |
| 424 |
impl ::core::marker::Copy for GROUP_POLICY_OBJECTW {} |
| 425 |
#[cfg(feature = "Win32_Foundation")] |
| 426 |
impl ::core::clone::Clone for GROUP_POLICY_OBJECTW { |
| 427 |
fn clone(&self) -> Self { |
| 428 |
*self |
| 429 |
} |
| 430 |
} |
| 431 |
#[repr(C)] |
| 432 |
pub struct INSTALLDATA { |
| 433 |
pub Type: INSTALLSPECTYPE, |
| 434 |
pub Spec: INSTALLSPEC, |
| 435 |
} |
| 436 |
impl ::core::marker::Copy for INSTALLDATA {} |
| 437 |
impl ::core::clone::Clone for INSTALLDATA { |
| 438 |
fn clone(&self) -> Self { |
| 439 |
*self |
| 440 |
} |
| 441 |
} |
| 442 |
#[repr(C)] |
| 443 |
pub union INSTALLSPEC { |
| 444 |
pub AppName: INSTALLSPEC_0, |
| 445 |
pub FileExt: ::windows_sys::core::PWSTR, |
| 446 |
pub ProgId: ::windows_sys::core::PWSTR, |
| 447 |
pub COMClass: INSTALLSPEC_1, |
| 448 |
} |
| 449 |
impl ::core::marker::Copy for INSTALLSPEC {} |
| 450 |
impl ::core::clone::Clone for INSTALLSPEC { |
| 451 |
fn clone(&self) -> Self { |
| 452 |
*self |
| 453 |
} |
| 454 |
} |
| 455 |
#[repr(C)] |
| 456 |
pub struct INSTALLSPEC_0 { |
| 457 |
pub Name: ::windows_sys::core::PWSTR, |
| 458 |
pub GPOId: ::windows_sys::core::GUID, |
| 459 |
} |
| 460 |
impl ::core::marker::Copy for INSTALLSPEC_0 {} |
| 461 |
impl ::core::clone::Clone for INSTALLSPEC_0 { |
| 462 |
fn clone(&self) -> Self { |
| 463 |
*self |
| 464 |
} |
| 465 |
} |
| 466 |
#[repr(C)] |
| 467 |
pub struct INSTALLSPEC_1 { |
| 468 |
pub Clsid: ::windows_sys::core::GUID, |
| 469 |
pub ClsCtx: u32, |
| 470 |
} |
| 471 |
impl ::core::marker::Copy for INSTALLSPEC_1 {} |
| 472 |
impl ::core::clone::Clone for INSTALLSPEC_1 { |
| 473 |
fn clone(&self) -> Self { |
| 474 |
*self |
| 475 |
} |
| 476 |
} |
| 477 |
#[repr(C)] |
| 478 |
pub struct LOCALMANAGEDAPPLICATION { |
| 479 |
pub pszDeploymentName: ::windows_sys::core::PWSTR, |
| 480 |
pub pszPolicyName: ::windows_sys::core::PWSTR, |
| 481 |
pub pszProductId: ::windows_sys::core::PWSTR, |
| 482 |
pub dwState: u32, |
| 483 |
} |
| 484 |
impl ::core::marker::Copy for LOCALMANAGEDAPPLICATION {} |
| 485 |
impl ::core::clone::Clone for LOCALMANAGEDAPPLICATION { |
| 486 |
fn clone(&self) -> Self { |
| 487 |
*self |
| 488 |
} |
| 489 |
} |
| 490 |
#[repr(C)] |
| 491 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 492 |
#[cfg(feature = "Win32_Foundation")] |
| 493 |
pub struct MANAGEDAPPLICATION { |
| 494 |
pub pszPackageName: ::windows_sys::core::PWSTR, |
| 495 |
pub pszPublisher: ::windows_sys::core::PWSTR, |
| 496 |
pub dwVersionHi: u32, |
| 497 |
pub dwVersionLo: u32, |
| 498 |
pub dwRevision: u32, |
| 499 |
pub GpoId: ::windows_sys::core::GUID, |
| 500 |
pub pszPolicyName: ::windows_sys::core::PWSTR, |
| 501 |
pub ProductId: ::windows_sys::core::GUID, |
| 502 |
pub Language: u16, |
| 503 |
pub pszOwner: ::windows_sys::core::PWSTR, |
| 504 |
pub pszCompany: ::windows_sys::core::PWSTR, |
| 505 |
pub pszComments: ::windows_sys::core::PWSTR, |
| 506 |
pub pszContact: ::windows_sys::core::PWSTR, |
| 507 |
pub pszSupportUrl: ::windows_sys::core::PWSTR, |
| 508 |
pub dwPathType: u32, |
| 509 |
pub bInstalled: super::super::Foundation::BOOL, |
| 510 |
} |
| 511 |
#[cfg(feature = "Win32_Foundation")] |
| 512 |
impl ::core::marker::Copy for MANAGEDAPPLICATION {} |
| 513 |
#[cfg(feature = "Win32_Foundation")] |
| 514 |
impl ::core::clone::Clone for MANAGEDAPPLICATION { |
| 515 |
fn clone(&self) -> Self { |
| 516 |
*self |
| 517 |
} |
| 518 |
} |
| 519 |
#[repr(C)] |
| 520 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 521 |
#[cfg(feature = "Win32_Foundation")] |
| 522 |
pub struct POLICYSETTINGSTATUSINFO { |
| 523 |
pub szKey: ::windows_sys::core::PWSTR, |
| 524 |
pub szEventSource: ::windows_sys::core::PWSTR, |
| 525 |
pub szEventLogName: ::windows_sys::core::PWSTR, |
| 526 |
pub dwEventID: u32, |
| 527 |
pub dwErrorCode: u32, |
| 528 |
pub status: SETTINGSTATUS, |
| 529 |
pub timeLogged: super::super::Foundation::SYSTEMTIME, |
| 530 |
} |
| 531 |
#[cfg(feature = "Win32_Foundation")] |
| 532 |
impl ::core::marker::Copy for POLICYSETTINGSTATUSINFO {} |
| 533 |
#[cfg(feature = "Win32_Foundation")] |
| 534 |
impl ::core::clone::Clone for POLICYSETTINGSTATUSINFO { |
| 535 |
fn clone(&self) -> Self { |
| 536 |
*self |
| 537 |
} |
| 538 |
} |
| 539 |
#[repr(C)] |
| 540 |
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Wmi\"`"] |
| 541 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Wmi"))] |
| 542 |
pub struct RSOP_TARGET { |
| 543 |
pub pwszAccountName: ::windows_sys::core::PWSTR, |
| 544 |
pub pwszNewSOM: ::windows_sys::core::PWSTR, |
| 545 |
pub psaSecurityGroups: *mut super::Com::SAFEARRAY, |
| 546 |
pub pRsopToken: *mut ::core::ffi::c_void, |
| 547 |
pub pGPOList: *mut GROUP_POLICY_OBJECTA, |
| 548 |
pub pWbemServices: super::Wmi::IWbemServices, |
| 549 |
} |
| 550 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Wmi"))] |
| 551 |
impl ::core::marker::Copy for RSOP_TARGET {} |
| 552 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Wmi"))] |
| 553 |
impl ::core::clone::Clone for RSOP_TARGET { |
| 554 |
fn clone(&self) -> Self { |
| 555 |
*self |
| 556 |
} |
| 557 |
} |
| 558 |
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Wmi\"`"] |
| 559 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Wmi"))] |
| 560 |
pub type PFNGENERATEGROUPPOLICY = ::core::option::Option<unsafe extern "system" fn(dwflags: u32, pbabort: *mut super::super::Foundation::BOOL, pwszsite: ::windows_sys::core::PCWSTR, pcomputertarget: *const RSOP_TARGET, pusertarget: *const RSOP_TARGET) -> u32>; |
| 561 |
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`"] |
| 562 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] |
| 563 |
pub type PFNPROCESSGROUPPOLICY = ::core::option::Option<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: PFNSTATUSMESSAGECALLBACK) -> u32>; |
| 564 |
#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"Win32_System_Wmi\"`"] |
| 565 |
#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry", feature = "Win32_System_Wmi"))] |
| 566 |
pub type PFNPROCESSGROUPPOLICYEX = ::core::option::Option<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: PFNSTATUSMESSAGECALLBACK, pwbemservices: super::Wmi::IWbemServices, prsopstatus: *mut ::windows_sys::core::HRESULT) -> u32>; |
| 567 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 568 |
#[cfg(feature = "Win32_Foundation")] |
| 569 |
pub type PFNSTATUSMESSAGECALLBACK = ::core::option::Option<unsafe extern "system" fn(bverbose: super::super::Foundation::BOOL, lpmessage: ::windows_sys::core::PCWSTR) -> u32>; |