From 1b6a04ca5504955c571d1c97504fb45ea0befee4 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Mon, 8 Jan 2024 01:21:28 +0400 Subject: Initial vendor packages Signed-off-by: Valentin Popov --- .../src/Windows/Win32/System/GroupPolicy/mod.rs | 814 +++++++++++++++++++++ 1 file changed, 814 insertions(+) create mode 100644 vendor/windows-sys-0.45.0/src/Windows/Win32/System/GroupPolicy/mod.rs (limited to 'vendor/windows-sys-0.45.0/src/Windows/Win32/System/GroupPolicy') diff --git a/vendor/windows-sys-0.45.0/src/Windows/Win32/System/GroupPolicy/mod.rs b/vendor/windows-sys-0.45.0/src/Windows/Win32/System/GroupPolicy/mod.rs new file mode 100644 index 0000000..56c01b1 --- /dev/null +++ b/vendor/windows-sys-0.45.0/src/Windows/Win32/System/GroupPolicy/mod.rs @@ -0,0 +1,814 @@ +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "gpedit.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] fn BrowseForGPO ( lpbrowseinfo : *mut GPOBROWSEINFO ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] fn CommandLineFromMsiDescriptor ( descriptor : :: windows_sys::core::PCWSTR , commandline : :: windows_sys::core::PWSTR , commandlinelength : *mut u32 ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "gpedit.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] fn CreateGPOLink ( lpgpo : :: windows_sys::core::PCWSTR , lpcontainer : :: windows_sys::core::PCWSTR , fhighpriority : super::super::Foundation:: BOOL ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "gpedit.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] fn DeleteAllGPOLinks ( lpcontainer : :: windows_sys::core::PCWSTR ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "gpedit.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] fn DeleteGPOLink ( lpgpo : :: windows_sys::core::PCWSTR , lpcontainer : :: windows_sys::core::PCWSTR ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "userenv.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] fn EnterCriticalPolicySection ( bmachine : super::super::Foundation:: BOOL ) -> super::super::Foundation:: HANDLE ); +::windows_sys::core::link ! ( "gpedit.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] fn ExportRSoPData ( lpnamespace : :: windows_sys::core::PCWSTR , lpfilename : :: windows_sys::core::PCWSTR ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "userenv.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] fn FreeGPOListA ( pgpolist : *const GROUP_POLICY_OBJECTA ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "userenv.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] fn FreeGPOListW ( pgpolist : *const GROUP_POLICY_OBJECTW ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "userenv.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] fn GenerateGPNotification ( bmachine : super::super::Foundation:: BOOL , lpwszmgmtproduct : :: windows_sys::core::PCWSTR , dwmgmtproductoptions : u32 ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "userenv.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"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 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "userenv.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"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 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "userenv.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"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 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "userenv.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"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 ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] fn GetLocalManagedApplicationData ( productcode : :: windows_sys::core::PCWSTR , displayname : *mut :: windows_sys::core::PWSTR , supporturl : *mut :: windows_sys::core::PWSTR ) -> ( ) ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] fn GetLocalManagedApplications ( buserapps : super::super::Foundation:: BOOL , pdwapps : *mut u32 , prglocalapps : *mut *mut LOCALMANAGEDAPPLICATION ) -> u32 ); +#[cfg(feature = "Win32_UI_Shell")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_UI_Shell\"`*"] fn GetManagedApplicationCategories ( dwreserved : u32 , pappcategory : *mut super::super::UI::Shell:: APPCATEGORYINFOLIST ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] fn GetManagedApplications ( pcategory : *const :: windows_sys::core::GUID , dwqueryflags : u32 , dwinfolevel : u32 , pdwapps : *mut u32 , prgmanagedapps : *mut *mut MANAGEDAPPLICATION ) -> u32 ); +::windows_sys::core::link ! ( "gpedit.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] fn ImportRSoPData ( lpnamespace : :: windows_sys::core::PCWSTR , lpfilename : :: windows_sys::core::PCWSTR ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] fn InstallApplication ( pinstallinfo : *const INSTALLDATA ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "userenv.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] fn LeaveCriticalPolicySection ( hsection : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); +::windows_sys::core::link ! ( "userenv.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] fn ProcessGroupPolicyCompleted ( extensionid : *const :: windows_sys::core::GUID , pasynchandle : usize , dwstatus : u32 ) -> u32 ); +::windows_sys::core::link ! ( "userenv.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] fn ProcessGroupPolicyCompletedEx ( extensionid : *const :: windows_sys::core::GUID , pasynchandle : usize , dwstatus : u32 , rsopstatus : :: windows_sys::core::HRESULT ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "userenv.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] fn RefreshPolicy ( bmachine : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "userenv.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] fn RefreshPolicyEx ( bmachine : super::super::Foundation:: BOOL , dwoptions : u32 ) -> super::super::Foundation:: BOOL ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "userenv.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] fn RegisterGPNotification ( hevent : super::super::Foundation:: HANDLE , bmachine : super::super::Foundation:: BOOL ) -> super::super::Foundation:: BOOL ); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security"))] +::windows_sys::core::link ! ( "userenv.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"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 i32 ) -> :: windows_sys::core::HRESULT ); +::windows_sys::core::link ! ( "userenv.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] fn RsopFileAccessCheck ( pszfilename : :: windows_sys::core::PCWSTR , prsoptoken : *const ::core::ffi::c_void , dwdesiredaccessmask : u32 , pdwgrantedaccessmask : *mut u32 , pbaccessstatus : *mut i32 ) -> :: windows_sys::core::HRESULT ); +#[cfg(feature = "Win32_System_Wmi")] +::windows_sys::core::link ! ( "userenv.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_System_Wmi\"`*"] fn RsopResetPolicySettingStatus ( dwflags : u32 , pservices : super::Wmi:: IWbemServices , psettinginstance : super::Wmi:: IWbemClassObject ) -> :: windows_sys::core::HRESULT ); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Wmi"))] +::windows_sys::core::link ! ( "userenv.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"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 ); +::windows_sys::core::link ! ( "advapi32.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] fn UninstallApplication ( productcode : :: windows_sys::core::PCWSTR , dwstatus : u32 ) -> u32 ); +#[cfg(feature = "Win32_Foundation")] +::windows_sys::core::link ! ( "userenv.dll""system" #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] fn UnregisterGPNotification ( hevent : super::super::Foundation:: HANDLE ) -> super::super::Foundation:: BOOL ); +pub type IGPEInformation = *mut ::core::ffi::c_void; +pub type IGPM = *mut ::core::ffi::c_void; +pub type IGPM2 = *mut ::core::ffi::c_void; +pub type IGPMAsyncCancel = *mut ::core::ffi::c_void; +pub type IGPMAsyncProgress = *mut ::core::ffi::c_void; +pub type IGPMBackup = *mut ::core::ffi::c_void; +pub type IGPMBackupCollection = *mut ::core::ffi::c_void; +pub type IGPMBackupDir = *mut ::core::ffi::c_void; +pub type IGPMBackupDirEx = *mut ::core::ffi::c_void; +pub type IGPMCSECollection = *mut ::core::ffi::c_void; +pub type IGPMClientSideExtension = *mut ::core::ffi::c_void; +pub type IGPMConstants = *mut ::core::ffi::c_void; +pub type IGPMConstants2 = *mut ::core::ffi::c_void; +pub type IGPMDomain = *mut ::core::ffi::c_void; +pub type IGPMDomain2 = *mut ::core::ffi::c_void; +pub type IGPMDomain3 = *mut ::core::ffi::c_void; +pub type IGPMGPO = *mut ::core::ffi::c_void; +pub type IGPMGPO2 = *mut ::core::ffi::c_void; +pub type IGPMGPO3 = *mut ::core::ffi::c_void; +pub type IGPMGPOCollection = *mut ::core::ffi::c_void; +pub type IGPMGPOLink = *mut ::core::ffi::c_void; +pub type IGPMGPOLinksCollection = *mut ::core::ffi::c_void; +pub type IGPMMapEntry = *mut ::core::ffi::c_void; +pub type IGPMMapEntryCollection = *mut ::core::ffi::c_void; +pub type IGPMMigrationTable = *mut ::core::ffi::c_void; +pub type IGPMPermission = *mut ::core::ffi::c_void; +pub type IGPMRSOP = *mut ::core::ffi::c_void; +pub type IGPMResult = *mut ::core::ffi::c_void; +pub type IGPMSOM = *mut ::core::ffi::c_void; +pub type IGPMSOMCollection = *mut ::core::ffi::c_void; +pub type IGPMSearchCriteria = *mut ::core::ffi::c_void; +pub type IGPMSecurityInfo = *mut ::core::ffi::c_void; +pub type IGPMSitesContainer = *mut ::core::ffi::c_void; +pub type IGPMStarterGPO = *mut ::core::ffi::c_void; +pub type IGPMStarterGPOBackup = *mut ::core::ffi::c_void; +pub type IGPMStarterGPOBackupCollection = *mut ::core::ffi::c_void; +pub type IGPMStarterGPOCollection = *mut ::core::ffi::c_void; +pub type IGPMStatusMessage = *mut ::core::ffi::c_void; +pub type IGPMStatusMsgCollection = *mut ::core::ffi::c_void; +pub type IGPMTrustee = *mut ::core::ffi::c_void; +pub type IGPMWMIFilter = *mut ::core::ffi::c_void; +pub type IGPMWMIFilterCollection = *mut ::core::ffi::c_void; +pub type IGroupPolicyObject = *mut ::core::ffi::c_void; +pub type IRSOPInformation = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const CLSID_GPESnapIn: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8fc0b734_a0e1_11d1_a7d3_0000f87571e3); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const CLSID_GroupPolicyObject: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xea502722_a23d_11d1_a7d3_0000f87571e3); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const CLSID_RSOPSnapIn: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6dc3804b_7212_458d_adb0_9a07e2ae1fa2); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const FLAG_ASSUME_COMP_WQLFILTER_TRUE: u32 = 33554432u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const FLAG_ASSUME_SLOW_LINK: u32 = 536870912u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const FLAG_ASSUME_USER_WQLFILTER_TRUE: u32 = 67108864u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const FLAG_FORCE_CREATENAMESPACE: u32 = 4u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const FLAG_LOOPBACK_MERGE: u32 = 268435456u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const FLAG_LOOPBACK_REPLACE: u32 = 134217728u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const FLAG_NO_COMPUTER: u32 = 2u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const FLAG_NO_CSE_INVOKE: u32 = 1073741824u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const FLAG_NO_GPO_FILTER: u32 = 2147483648u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const FLAG_NO_USER: u32 = 1u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const FLAG_PLANNING_MODE: u32 = 16777216u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPC_BLOCK_POLICY: u32 = 1u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPM: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf5694708_88fe_4b35_babf_e56162d5fbc8); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMAsyncCancel: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x372796a9_76ec_479d_ad6c_556318ed5f9d); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMBackup: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xed1a54b8_5efa_482a_93c0_8ad86f0d68c3); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMBackupCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xeb8f035b_70db_4a9f_9676_37c25994e9dc); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMBackupDir: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xfce4a59d_0f21_4afa_b859_e6d0c62cd10c); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMBackupDirEx: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe8c0988a_cf03_4c5b_8be2_2aa9ad32aada); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMCSECollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xcf92b828_2d44_4b61_b10a_b327afd42da8); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMClientSideExtension: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc1a2e70e_659c_4b1a_940b_f88b0af9c8a4); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMConstants: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x3855e880_cd9e_4d0c_9eaf_1579283a1888); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMDomain: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x710901be_1050_4cb1_838a_c5cff259e183); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMGPO: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd2ce2994_59b5_4064_b581_4d68486a16c4); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMGPOCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x7a057325_832d_4de3_a41f_c780436a4e09); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMGPOLink: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc1df9880_5303_42c6_8a3c_0488e1bf7364); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMGPOLinksCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf6ed581a_49a5_47e2_b771_fd8dc02b6259); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMMapEntry: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8c975253_5431_4471_b35d_0626c928258a); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMMapEntryCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cf75d5b_a3a1_4c55_b4fe_9e149c41f66d); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMMigrationTable: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x55af4043_2a06_4f72_abef_631b44079c76); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMPermission: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5871a40a_e9c0_46ec_913e_944ef9225a94); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMRSOP: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x489b0caf_9ec2_4eb7_91f5_b6f71d43da8c); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMResult: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x92101ac0_9287_4206_a3b2_4bdb73d225f6); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMSOM: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x32d93fac_450e_44cf_829c_8b22ff6bdae1); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMSOMCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x24c1f147_3720_4f5b_a9c3_06b4e4f931d2); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMSearchCriteria: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x17aaca26_5ce0_44fa_8cc0_5259e6483566); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMSecurityInfo: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x547a5e8f_9162_4516_a4df_9ddb9686d846); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMSitesContainer: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x229f5c42_852c_4b30_945f_c522be9bd386); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMStarterGPOBackup: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x389e400a_d8ef_455b_a861_5f9ca34a6a02); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMStarterGPOBackupCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe75ea59d_1aeb_4cb5_a78a_281daa582406); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMStarterGPOCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x82f8aa8b_49ba_43b2_956e_3397f9b94c3a); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMStatusMessage: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4b77cc94_d255_409b_bc62_370881715a19); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMStatusMsgCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x2824e4be_4bcc_4cac_9e60_0e3ed7f12496); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMTemplate: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xecf1d454_71da_4e2f_a8c0_8185465911d9); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMTrustee: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc54a700d_19b6_4211_bcb0_e8e2475e471e); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMWMIFilter: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x626745d8_0dea_4062_bf60_cfc5b1ca1286); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPMWMIFilterCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x74dc6d28_e820_47d6_a0b8_f08d93d7fa33); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPM_DONOTUSE_W2KDC: u32 = 2u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPM_DONOT_VALIDATEDC: u32 = 1u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPM_MIGRATIONTABLE_ONLY: u32 = 1u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPM_PROCESS_SECURITY: u32 = 2u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPM_USE_ANYDC: u32 = 1u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPM_USE_PDC: u32 = 0u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_BROWSE_DISABLENEW: u32 = 1u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_BROWSE_INITTOALL: u32 = 16u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_BROWSE_NOCOMPUTERS: u32 = 2u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_BROWSE_NODSGPOS: u32 = 4u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_BROWSE_NOUSERGPOS: u32 = 32u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_BROWSE_OPENBUTTON: u32 = 8u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_BROWSE_SENDAPPLYONEDIT: u32 = 64u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_FLAG_DISABLE: u32 = 1u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_FLAG_FORCE: u32 = 2u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_INFO_FLAG_ASYNC_FOREGROUND: u32 = 4096u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_INFO_FLAG_BACKGROUND: u32 = 16u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_INFO_FLAG_FORCED_REFRESH: u32 = 1024u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_INFO_FLAG_LINKTRANSITION: u32 = 256u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_INFO_FLAG_LOGRSOP_TRANSITION: u32 = 512u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_INFO_FLAG_MACHINE: u32 = 1u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_INFO_FLAG_NOCHANGES: u32 = 128u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_INFO_FLAG_SAFEMODE_BOOT: u32 = 2048u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_INFO_FLAG_SLOWLINK: u32 = 32u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_INFO_FLAG_VERBOSE: u32 = 64u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_LIST_FLAG_MACHINE: u32 = 1u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_LIST_FLAG_NO_SECURITYFILTERS: u32 = 8u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_LIST_FLAG_NO_WMIFILTERS: u32 = 4u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_LIST_FLAG_SITEONLY: u32 = 2u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_OPEN_LOAD_REGISTRY: u32 = 1u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_OPEN_READ_ONLY: u32 = 2u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_OPTION_DISABLE_MACHINE: u32 = 2u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_OPTION_DISABLE_USER: u32 = 1u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_SECTION_MACHINE: u32 = 2u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_SECTION_ROOT: u32 = 0u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPO_SECTION_USER: u32 = 1u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GP_DLLNAME: ::windows_sys::core::PCWSTR = ::windows_sys::w!("DllName"); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GP_ENABLEASYNCHRONOUSPROCESSING: ::windows_sys::core::PCWSTR = ::windows_sys::w!("EnableAsynchronousProcessing"); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GP_MAXNOGPOLISTCHANGESINTERVAL: ::windows_sys::core::PCWSTR = ::windows_sys::w!("MaxNoGPOListChangesInterval"); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GP_NOBACKGROUNDPOLICY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("NoBackgroundPolicy"); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GP_NOGPOLISTCHANGES: ::windows_sys::core::PCWSTR = ::windows_sys::w!("NoGPOListChanges"); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GP_NOMACHINEPOLICY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("NoMachinePolicy"); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GP_NOSLOWLINK: ::windows_sys::core::PCWSTR = ::windows_sys::w!("NoSlowLink"); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GP_NOTIFYLINKTRANSITION: ::windows_sys::core::PCWSTR = ::windows_sys::w!("NotifyLinkTransition"); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GP_NOUSERPOLICY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("NoUserPolicy"); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GP_PERUSERLOCALSETTINGS: ::windows_sys::core::PCWSTR = ::windows_sys::w!("PerUserLocalSettings"); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GP_PROCESSGROUPPOLICY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("ProcessGroupPolicy"); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GP_REQUIRESSUCCESSFULREGISTRY: ::windows_sys::core::PCWSTR = ::windows_sys::w!("RequiresSuccessfulRegistry"); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const LOCALSTATE_ASSIGNED: u32 = 1u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const LOCALSTATE_ORPHANED: u32 = 32u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const LOCALSTATE_POLICYREMOVE_ORPHAN: u32 = 8u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const LOCALSTATE_POLICYREMOVE_UNINSTALL: u32 = 16u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const LOCALSTATE_PUBLISHED: u32 = 2u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const LOCALSTATE_UNINSTALLED: u32 = 64u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const LOCALSTATE_UNINSTALL_UNMANAGED: u32 = 4u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const MANAGED_APPS_FROMCATEGORY: u32 = 2u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const MANAGED_APPS_INFOLEVEL_DEFAULT: u32 = 65536u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const MANAGED_APPS_USERAPPLICATIONS: u32 = 1u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const MANAGED_APPTYPE_SETUPEXE: u32 = 2u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const MANAGED_APPTYPE_UNSUPPORTED: u32 = 3u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const MANAGED_APPTYPE_WINDOWSINSTALLER: u32 = 1u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const NODEID_Machine: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8fc0b737_a0e1_11d1_a7d3_0000f87571e3); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const NODEID_MachineSWSettings: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8fc0b73a_a0e1_11d1_a7d3_0000f87571e3); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const NODEID_RSOPMachine: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xbd4c1a2e_0b7a_4a62_a6b0_c0577539c97e); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const NODEID_RSOPMachineSWSettings: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6a76273e_eb8e_45db_94c5_25663a5f2c1a); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const NODEID_RSOPUser: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xab87364f_0cec_4cd8_9bf8_898f34628fb8); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const NODEID_RSOPUserSWSettings: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xe52c5ce3_fd27_4402_84de_d9a5f2858910); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const NODEID_User: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8fc0b738_a0e1_11d1_a7d3_0000f87571e3); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const NODEID_UserSWSettings: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8fc0b73c_a0e1_11d1_a7d3_0000f87571e3); +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const PI_APPLYPOLICY: u32 = 2u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const PI_NOUI: u32 = 1u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const PT_MANDATORY: u32 = 4u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const PT_ROAMING: u32 = 2u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const PT_ROAMING_PREEXISTING: u32 = 8u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const PT_TEMPORARY: u32 = 1u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const RP_FORCE: u32 = 1u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const RP_SYNC: u32 = 2u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const RSOP_COMPUTER_ACCESS_DENIED: u32 = 2u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const RSOP_INFO_FLAG_DIAGNOSTIC_MODE: u32 = 1u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const RSOP_NO_COMPUTER: u32 = 65536u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const RSOP_NO_USER: u32 = 131072u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const RSOP_PLANNING_ASSUME_COMP_WQLFILTER_TRUE: u32 = 16u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const RSOP_PLANNING_ASSUME_LOOPBACK_MERGE: u32 = 2u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const RSOP_PLANNING_ASSUME_LOOPBACK_REPLACE: u32 = 4u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const RSOP_PLANNING_ASSUME_SLOW_LINK: u32 = 1u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const RSOP_PLANNING_ASSUME_USER_WQLFILTER_TRUE: u32 = 8u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const RSOP_TEMPNAMESPACE_EXISTS: u32 = 4u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const RSOP_USER_ACCESS_DENIED: u32 = 1u32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub type APPSTATE = i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const ABSENT: APPSTATE = 0i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const ASSIGNED: APPSTATE = 1i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const PUBLISHED: APPSTATE = 2i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub type GPMBackupType = i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const typeGPO: GPMBackupType = 0i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const typeStarterGPO: GPMBackupType = 1i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub type GPMDestinationOption = i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const opDestinationSameAsSource: GPMDestinationOption = 0i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const opDestinationNone: GPMDestinationOption = 1i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const opDestinationByRelativeName: GPMDestinationOption = 2i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const opDestinationSet: GPMDestinationOption = 3i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub type GPMEntryType = i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const typeUser: GPMEntryType = 0i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const typeComputer: GPMEntryType = 1i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const typeLocalGroup: GPMEntryType = 2i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const typeGlobalGroup: GPMEntryType = 3i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const typeUniversalGroup: GPMEntryType = 4i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const typeUNCPath: GPMEntryType = 5i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const typeUnknown: GPMEntryType = 6i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub type GPMPermissionType = i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const permGPOApply: GPMPermissionType = 65536i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const permGPORead: GPMPermissionType = 65792i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const permGPOEdit: GPMPermissionType = 65793i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const permGPOEditSecurityAndDelete: GPMPermissionType = 65794i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const permGPOCustom: GPMPermissionType = 65795i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const permWMIFilterEdit: GPMPermissionType = 131072i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const permWMIFilterFullControl: GPMPermissionType = 131073i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const permWMIFilterCustom: GPMPermissionType = 131074i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const permSOMLink: GPMPermissionType = 1835008i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const permSOMLogging: GPMPermissionType = 1573120i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const permSOMPlanning: GPMPermissionType = 1573376i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const permSOMWMICreate: GPMPermissionType = 1049344i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const permSOMWMIFullControl: GPMPermissionType = 1049345i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const permSOMGPOCreate: GPMPermissionType = 1049600i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const permStarterGPORead: GPMPermissionType = 197888i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const permStarterGPOEdit: GPMPermissionType = 197889i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const permStarterGPOFullControl: GPMPermissionType = 197890i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const permStarterGPOCustom: GPMPermissionType = 197891i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const permSOMStarterGPOCreate: GPMPermissionType = 1049856i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub type GPMRSOPMode = i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const rsopUnknown: GPMRSOPMode = 0i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const rsopPlanning: GPMRSOPMode = 1i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const rsopLogging: GPMRSOPMode = 2i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub type GPMReportType = i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const repXML: GPMReportType = 0i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const repHTML: GPMReportType = 1i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const repInfraXML: GPMReportType = 2i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const repInfraRefreshXML: GPMReportType = 3i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const repClientHealthXML: GPMReportType = 4i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const repClientHealthRefreshXML: GPMReportType = 5i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub type GPMReportingOptions = i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const opReportLegacy: GPMReportingOptions = 0i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const opReportComments: GPMReportingOptions = 1i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub type GPMSOMType = i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const somSite: GPMSOMType = 0i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const somDomain: GPMSOMType = 1i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const somOU: GPMSOMType = 2i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub type GPMSearchOperation = i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const opEquals: GPMSearchOperation = 0i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const opContains: GPMSearchOperation = 1i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const opNotContains: GPMSearchOperation = 2i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const opNotEquals: GPMSearchOperation = 3i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub type GPMSearchProperty = i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const gpoPermissions: GPMSearchProperty = 0i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const gpoEffectivePermissions: GPMSearchProperty = 1i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const gpoDisplayName: GPMSearchProperty = 2i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const gpoWMIFilter: GPMSearchProperty = 3i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const gpoID: GPMSearchProperty = 4i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const gpoComputerExtensions: GPMSearchProperty = 5i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const gpoUserExtensions: GPMSearchProperty = 6i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const somLinks: GPMSearchProperty = 7i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const gpoDomain: GPMSearchProperty = 8i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const backupMostRecent: GPMSearchProperty = 9i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const starterGPOPermissions: GPMSearchProperty = 10i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const starterGPOEffectivePermissions: GPMSearchProperty = 11i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const starterGPODisplayName: GPMSearchProperty = 12i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const starterGPOID: GPMSearchProperty = 13i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const starterGPODomain: GPMSearchProperty = 14i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub type GPMStarterGPOType = i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const typeSystem: GPMStarterGPOType = 0i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const typeCustom: GPMStarterGPOType = 1i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub type GPO_LINK = i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPLinkUnknown: GPO_LINK = 0i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPLinkMachine: GPO_LINK = 1i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPLinkSite: GPO_LINK = 2i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPLinkDomain: GPO_LINK = 3i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPLinkOrganizationalUnit: GPO_LINK = 4i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub type GROUP_POLICY_HINT_TYPE = i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPHintUnknown: GROUP_POLICY_HINT_TYPE = 0i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPHintMachine: GROUP_POLICY_HINT_TYPE = 1i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPHintSite: GROUP_POLICY_HINT_TYPE = 2i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPHintDomain: GROUP_POLICY_HINT_TYPE = 3i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPHintOrganizationalUnit: GROUP_POLICY_HINT_TYPE = 4i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub type GROUP_POLICY_OBJECT_TYPE = i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPOTypeLocal: GROUP_POLICY_OBJECT_TYPE = 0i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPOTypeRemote: GROUP_POLICY_OBJECT_TYPE = 1i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPOTypeDS: GROUP_POLICY_OBJECT_TYPE = 2i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPOTypeLocalUser: GROUP_POLICY_OBJECT_TYPE = 3i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const GPOTypeLocalGroup: GROUP_POLICY_OBJECT_TYPE = 4i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub type INSTALLSPECTYPE = i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const APPNAME: INSTALLSPECTYPE = 1i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const FILEEXT: INSTALLSPECTYPE = 2i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const PROGID: INSTALLSPECTYPE = 3i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const COMCLASS: INSTALLSPECTYPE = 4i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub type SETTINGSTATUS = i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const RSOPUnspecified: SETTINGSTATUS = 0i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const RSOPApplied: SETTINGSTATUS = 1i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const RSOPIgnored: SETTINGSTATUS = 2i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const RSOPFailed: SETTINGSTATUS = 3i32; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub const RSOPSubsettingFailed: SETTINGSTATUS = 4i32; +pub type CriticalPolicySectionHandle = isize; +#[repr(C)] +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct GPOBROWSEINFO { + pub dwSize: u32, + pub dwFlags: u32, + pub hwndOwner: super::super::Foundation::HWND, + pub lpTitle: ::windows_sys::core::PWSTR, + pub lpInitialOU: ::windows_sys::core::PWSTR, + pub lpDSPath: ::windows_sys::core::PWSTR, + pub dwDSPathSize: u32, + pub lpName: ::windows_sys::core::PWSTR, + pub dwNameSize: u32, + pub gpoType: GROUP_POLICY_OBJECT_TYPE, + pub gpoHint: GROUP_POLICY_HINT_TYPE, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for GPOBROWSEINFO {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for GPOBROWSEINFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct GROUP_POLICY_OBJECTA { + pub dwOptions: u32, + pub dwVersion: u32, + pub lpDSPath: ::windows_sys::core::PSTR, + pub lpFileSysPath: ::windows_sys::core::PSTR, + pub lpDisplayName: ::windows_sys::core::PSTR, + pub szGPOName: [super::super::Foundation::CHAR; 50], + pub GPOLink: GPO_LINK, + pub lParam: super::super::Foundation::LPARAM, + pub pNext: *mut GROUP_POLICY_OBJECTA, + pub pPrev: *mut GROUP_POLICY_OBJECTA, + pub lpExtensions: ::windows_sys::core::PSTR, + pub lParam2: super::super::Foundation::LPARAM, + pub lpLink: ::windows_sys::core::PSTR, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for GROUP_POLICY_OBJECTA {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for GROUP_POLICY_OBJECTA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct GROUP_POLICY_OBJECTW { + pub dwOptions: u32, + pub dwVersion: u32, + pub lpDSPath: ::windows_sys::core::PWSTR, + pub lpFileSysPath: ::windows_sys::core::PWSTR, + pub lpDisplayName: ::windows_sys::core::PWSTR, + pub szGPOName: [u16; 50], + pub GPOLink: GPO_LINK, + pub lParam: super::super::Foundation::LPARAM, + pub pNext: *mut GROUP_POLICY_OBJECTW, + pub pPrev: *mut GROUP_POLICY_OBJECTW, + pub lpExtensions: ::windows_sys::core::PWSTR, + pub lParam2: super::super::Foundation::LPARAM, + pub lpLink: ::windows_sys::core::PWSTR, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for GROUP_POLICY_OBJECTW {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for GROUP_POLICY_OBJECTW { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub struct INSTALLDATA { + pub Type: INSTALLSPECTYPE, + pub Spec: INSTALLSPEC, +} +impl ::core::marker::Copy for INSTALLDATA {} +impl ::core::clone::Clone for INSTALLDATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub union INSTALLSPEC { + pub AppName: INSTALLSPEC_0, + pub FileExt: ::windows_sys::core::PWSTR, + pub ProgId: ::windows_sys::core::PWSTR, + pub COMClass: INSTALLSPEC_1, +} +impl ::core::marker::Copy for INSTALLSPEC {} +impl ::core::clone::Clone for INSTALLSPEC { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub struct INSTALLSPEC_0 { + pub Name: ::windows_sys::core::PWSTR, + pub GPOId: ::windows_sys::core::GUID, +} +impl ::core::marker::Copy for INSTALLSPEC_0 {} +impl ::core::clone::Clone for INSTALLSPEC_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub struct INSTALLSPEC_1 { + pub Clsid: ::windows_sys::core::GUID, + pub ClsCtx: u32, +} +impl ::core::marker::Copy for INSTALLSPEC_1 {} +impl ::core::clone::Clone for INSTALLSPEC_1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`*"] +pub struct LOCALMANAGEDAPPLICATION { + pub pszDeploymentName: ::windows_sys::core::PWSTR, + pub pszPolicyName: ::windows_sys::core::PWSTR, + pub pszProductId: ::windows_sys::core::PWSTR, + pub dwState: u32, +} +impl ::core::marker::Copy for LOCALMANAGEDAPPLICATION {} +impl ::core::clone::Clone for LOCALMANAGEDAPPLICATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct MANAGEDAPPLICATION { + pub pszPackageName: ::windows_sys::core::PWSTR, + pub pszPublisher: ::windows_sys::core::PWSTR, + pub dwVersionHi: u32, + pub dwVersionLo: u32, + pub dwRevision: u32, + pub GpoId: ::windows_sys::core::GUID, + pub pszPolicyName: ::windows_sys::core::PWSTR, + pub ProductId: ::windows_sys::core::GUID, + pub Language: u16, + pub pszOwner: ::windows_sys::core::PWSTR, + pub pszCompany: ::windows_sys::core::PWSTR, + pub pszComments: ::windows_sys::core::PWSTR, + pub pszContact: ::windows_sys::core::PWSTR, + pub pszSupportUrl: ::windows_sys::core::PWSTR, + pub dwPathType: u32, + pub bInstalled: super::super::Foundation::BOOL, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for MANAGEDAPPLICATION {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for MANAGEDAPPLICATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub struct POLICYSETTINGSTATUSINFO { + pub szKey: ::windows_sys::core::PWSTR, + pub szEventSource: ::windows_sys::core::PWSTR, + pub szEventLogName: ::windows_sys::core::PWSTR, + pub dwEventID: u32, + pub dwErrorCode: u32, + pub status: SETTINGSTATUS, + pub timeLogged: super::super::Foundation::SYSTEMTIME, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for POLICYSETTINGSTATUSINFO {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for POLICYSETTINGSTATUSINFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Wmi\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Wmi"))] +pub struct RSOP_TARGET { + pub pwszAccountName: ::windows_sys::core::PWSTR, + pub pwszNewSOM: ::windows_sys::core::PWSTR, + pub psaSecurityGroups: *mut super::Com::SAFEARRAY, + pub pRsopToken: *mut ::core::ffi::c_void, + pub pGPOList: *mut GROUP_POLICY_OBJECTA, + pub pWbemServices: super::Wmi::IWbemServices, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Wmi"))] +impl ::core::marker::Copy for RSOP_TARGET {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Wmi"))] +impl ::core::clone::Clone for RSOP_TARGET { + fn clone(&self) -> Self { + *self + } +} +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Wmi\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Com", feature = "Win32_System_Wmi"))] +pub type PFNGENERATEGROUPPOLICY = ::core::option::Option u32>; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] +pub type PFNPROCESSGROUPPOLICY = ::core::option::Option u32>; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"Win32_System_Wmi\"`*"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry", feature = "Win32_System_Wmi"))] +pub type PFNPROCESSGROUPPOLICYEX = ::core::option::Option u32>; +#[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`*"] +#[cfg(feature = "Win32_Foundation")] +pub type PFNSTATUSMESSAGECALLBACK = ::core::option::Option u32>; -- cgit v1.2.3