| 1 |
#[cfg(feature = "Win32_Security_AppLocker")] |
| 2 |
#[doc = "Required features: `\"Win32_Security_AppLocker\"`"] |
| 3 |
pub mod AppLocker; |
| 4 |
#[cfg(feature = "Win32_Security_Authentication")] |
| 5 |
#[doc = "Required features: `\"Win32_Security_Authentication\"`"] |
| 6 |
pub mod Authentication; |
| 7 |
#[cfg(feature = "Win32_Security_Authorization")] |
| 8 |
#[doc = "Required features: `\"Win32_Security_Authorization\"`"] |
| 9 |
pub mod Authorization; |
| 10 |
#[cfg(feature = "Win32_Security_Credentials")] |
| 11 |
#[doc = "Required features: `\"Win32_Security_Credentials\"`"] |
| 12 |
pub mod Credentials; |
| 13 |
#[cfg(feature = "Win32_Security_Cryptography")] |
| 14 |
#[doc = "Required features: `\"Win32_Security_Cryptography\"`"] |
| 15 |
pub mod Cryptography; |
| 16 |
#[cfg(feature = "Win32_Security_DiagnosticDataQuery")] |
| 17 |
#[doc = "Required features: `\"Win32_Security_DiagnosticDataQuery\"`"] |
| 18 |
pub mod DiagnosticDataQuery; |
| 19 |
#[cfg(feature = "Win32_Security_DirectoryServices")] |
| 20 |
#[doc = "Required features: `\"Win32_Security_DirectoryServices\"`"] |
| 21 |
pub mod DirectoryServices; |
| 22 |
#[cfg(feature = "Win32_Security_EnterpriseData")] |
| 23 |
#[doc = "Required features: `\"Win32_Security_EnterpriseData\"`"] |
| 24 |
pub mod EnterpriseData; |
| 25 |
#[cfg(feature = "Win32_Security_ExtensibleAuthenticationProtocol")] |
| 26 |
#[doc = "Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`"] |
| 27 |
pub mod ExtensibleAuthenticationProtocol; |
| 28 |
#[cfg(feature = "Win32_Security_Isolation")] |
| 29 |
#[doc = "Required features: `\"Win32_Security_Isolation\"`"] |
| 30 |
pub mod Isolation; |
| 31 |
#[cfg(feature = "Win32_Security_LicenseProtection")] |
| 32 |
#[doc = "Required features: `\"Win32_Security_LicenseProtection\"`"] |
| 33 |
pub mod LicenseProtection; |
| 34 |
#[cfg(feature = "Win32_Security_NetworkAccessProtection")] |
| 35 |
#[doc = "Required features: `\"Win32_Security_NetworkAccessProtection\"`"] |
| 36 |
pub mod NetworkAccessProtection; |
| 37 |
#[cfg(feature = "Win32_Security_WinTrust")] |
| 38 |
#[doc = "Required features: `\"Win32_Security_WinTrust\"`"] |
| 39 |
pub mod WinTrust; |
| 40 |
#[cfg(feature = "Win32_Security_WinWlx")] |
| 41 |
#[doc = "Required features: `\"Win32_Security_WinWlx\"`"] |
| 42 |
pub mod WinWlx; |
| 43 |
#[cfg(feature = "Win32_Foundation")] |
| 44 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AccessCheck(psecuritydescriptor : PSECURITY_DESCRIPTOR, clienttoken : super::Foundation:: HANDLE, desiredaccess : u32, genericmapping : *const GENERIC_MAPPING, privilegeset : *mut PRIVILEGE_SET, privilegesetlength : *mut u32, grantedaccess : *mut u32, accessstatus : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 45 |
#[cfg(feature = "Win32_Foundation")] |
| 46 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AccessCheckAndAuditAlarmA(subsystemname : ::windows_sys::core::PCSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_sys::core::PCSTR, objectname : ::windows_sys::core::PCSTR, securitydescriptor : PSECURITY_DESCRIPTOR, desiredaccess : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatus : *mut super::Foundation:: BOOL, pfgenerateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 47 |
#[cfg(feature = "Win32_Foundation")] |
| 48 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AccessCheckAndAuditAlarmW(subsystemname : ::windows_sys::core::PCWSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_sys::core::PCWSTR, objectname : ::windows_sys::core::PCWSTR, securitydescriptor : PSECURITY_DESCRIPTOR, desiredaccess : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatus : *mut super::Foundation:: BOOL, pfgenerateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 49 |
#[cfg(feature = "Win32_Foundation")] |
| 50 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AccessCheckByType(psecuritydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, clienttoken : super::Foundation:: HANDLE, desiredaccess : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, privilegeset : *mut PRIVILEGE_SET, privilegesetlength : *mut u32, grantedaccess : *mut u32, accessstatus : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 51 |
#[cfg(feature = "Win32_Foundation")] |
| 52 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AccessCheckByTypeAndAuditAlarmA(subsystemname : ::windows_sys::core::PCSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_sys::core::PCSTR, objectname : ::windows_sys::core::PCSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatus : *mut super::Foundation:: BOOL, pfgenerateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 53 |
#[cfg(feature = "Win32_Foundation")] |
| 54 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AccessCheckByTypeAndAuditAlarmW(subsystemname : ::windows_sys::core::PCWSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_sys::core::PCWSTR, objectname : ::windows_sys::core::PCWSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatus : *mut super::Foundation:: BOOL, pfgenerateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 55 |
#[cfg(feature = "Win32_Foundation")] |
| 56 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AccessCheckByTypeResultList(psecuritydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, clienttoken : super::Foundation:: HANDLE, desiredaccess : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, privilegeset : *mut PRIVILEGE_SET, privilegesetlength : *mut u32, grantedaccesslist : *mut u32, accessstatuslist : *mut u32) -> super::Foundation:: BOOL); |
| 57 |
#[cfg(feature = "Win32_Foundation")] |
| 58 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AccessCheckByTypeResultListAndAuditAlarmA(subsystemname : ::windows_sys::core::PCSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_sys::core::PCSTR, objectname : ::windows_sys::core::PCSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatuslist : *mut u32, pfgenerateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 59 |
#[cfg(feature = "Win32_Foundation")] |
| 60 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AccessCheckByTypeResultListAndAuditAlarmByHandleA(subsystemname : ::windows_sys::core::PCSTR, handleid : *const ::core::ffi::c_void, clienttoken : super::Foundation:: HANDLE, objecttypename : ::windows_sys::core::PCSTR, objectname : ::windows_sys::core::PCSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccess : *mut u32, accessstatuslist : *mut u32, pfgenerateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 61 |
#[cfg(feature = "Win32_Foundation")] |
| 62 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AccessCheckByTypeResultListAndAuditAlarmByHandleW(subsystemname : ::windows_sys::core::PCWSTR, handleid : *const ::core::ffi::c_void, clienttoken : super::Foundation:: HANDLE, objecttypename : ::windows_sys::core::PCWSTR, objectname : ::windows_sys::core::PCWSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccesslist : *mut u32, accessstatuslist : *mut u32, pfgenerateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 63 |
#[cfg(feature = "Win32_Foundation")] |
| 64 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AccessCheckByTypeResultListAndAuditAlarmW(subsystemname : ::windows_sys::core::PCWSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_sys::core::PCWSTR, objectname : ::windows_sys::core::PCWSTR, securitydescriptor : PSECURITY_DESCRIPTOR, principalselfsid : super::Foundation:: PSID, desiredaccess : u32, audittype : AUDIT_EVENT_TYPE, flags : u32, objecttypelist : *mut OBJECT_TYPE_LIST, objecttypelistlength : u32, genericmapping : *const GENERIC_MAPPING, objectcreation : super::Foundation:: BOOL, grantedaccesslist : *mut u32, accessstatuslist : *mut u32, pfgenerateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 65 |
#[cfg(feature = "Win32_Foundation")] |
| 66 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddAccessAllowedAce(pacl : *mut ACL, dwacerevision : ACE_REVISION, accessmask : u32, psid : super::Foundation:: PSID) -> super::Foundation:: BOOL); |
| 67 |
#[cfg(feature = "Win32_Foundation")] |
| 68 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddAccessAllowedAceEx(pacl : *mut ACL, dwacerevision : ACE_REVISION, aceflags : ACE_FLAGS, accessmask : u32, psid : super::Foundation:: PSID) -> super::Foundation:: BOOL); |
| 69 |
#[cfg(feature = "Win32_Foundation")] |
| 70 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddAccessAllowedObjectAce(pacl : *mut ACL, dwacerevision : ACE_REVISION, aceflags : ACE_FLAGS, accessmask : u32, objecttypeguid : *const ::windows_sys::core::GUID, inheritedobjecttypeguid : *const ::windows_sys::core::GUID, psid : super::Foundation:: PSID) -> super::Foundation:: BOOL); |
| 71 |
#[cfg(feature = "Win32_Foundation")] |
| 72 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddAccessDeniedAce(pacl : *mut ACL, dwacerevision : ACE_REVISION, accessmask : u32, psid : super::Foundation:: PSID) -> super::Foundation:: BOOL); |
| 73 |
#[cfg(feature = "Win32_Foundation")] |
| 74 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddAccessDeniedAceEx(pacl : *mut ACL, dwacerevision : ACE_REVISION, aceflags : ACE_FLAGS, accessmask : u32, psid : super::Foundation:: PSID) -> super::Foundation:: BOOL); |
| 75 |
#[cfg(feature = "Win32_Foundation")] |
| 76 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddAccessDeniedObjectAce(pacl : *mut ACL, dwacerevision : ACE_REVISION, aceflags : ACE_FLAGS, accessmask : u32, objecttypeguid : *const ::windows_sys::core::GUID, inheritedobjecttypeguid : *const ::windows_sys::core::GUID, psid : super::Foundation:: PSID) -> super::Foundation:: BOOL); |
| 77 |
#[cfg(feature = "Win32_Foundation")] |
| 78 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddAce(pacl : *mut ACL, dwacerevision : ACE_REVISION, dwstartingaceindex : u32, pacelist : *const ::core::ffi::c_void, nacelistlength : u32) -> super::Foundation:: BOOL); |
| 79 |
#[cfg(feature = "Win32_Foundation")] |
| 80 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddAuditAccessAce(pacl : *mut ACL, dwacerevision : ACE_REVISION, dwaccessmask : u32, psid : super::Foundation:: PSID, bauditsuccess : super::Foundation:: BOOL, bauditfailure : super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 81 |
#[cfg(feature = "Win32_Foundation")] |
| 82 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddAuditAccessAceEx(pacl : *mut ACL, dwacerevision : ACE_REVISION, aceflags : ACE_FLAGS, dwaccessmask : u32, psid : super::Foundation:: PSID, bauditsuccess : super::Foundation:: BOOL, bauditfailure : super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 83 |
#[cfg(feature = "Win32_Foundation")] |
| 84 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddAuditAccessObjectAce(pacl : *mut ACL, dwacerevision : ACE_REVISION, aceflags : ACE_FLAGS, accessmask : u32, objecttypeguid : *const ::windows_sys::core::GUID, inheritedobjecttypeguid : *const ::windows_sys::core::GUID, psid : super::Foundation:: PSID, bauditsuccess : super::Foundation:: BOOL, bauditfailure : super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 85 |
#[cfg(feature = "Win32_Foundation")] |
| 86 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddConditionalAce(pacl : *mut ACL, dwacerevision : ACE_REVISION, aceflags : ACE_FLAGS, acetype : u8, accessmask : u32, psid : super::Foundation:: PSID, conditionstr : ::windows_sys::core::PCWSTR, returnlength : *mut u32) -> super::Foundation:: BOOL); |
| 87 |
#[cfg(feature = "Win32_Foundation")] |
| 88 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddMandatoryAce(pacl : *mut ACL, dwacerevision : ACE_REVISION, aceflags : ACE_FLAGS, mandatorypolicy : u32, plabelsid : super::Foundation:: PSID) -> super::Foundation:: BOOL); |
| 89 |
#[cfg(feature = "Win32_Foundation")] |
| 90 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddResourceAttributeAce(pacl : *mut ACL, dwacerevision : ACE_REVISION, aceflags : ACE_FLAGS, accessmask : u32, psid : super::Foundation:: PSID, pattributeinfo : *const CLAIM_SECURITY_ATTRIBUTES_INFORMATION, preturnlength : *mut u32) -> super::Foundation:: BOOL); |
| 91 |
#[cfg(feature = "Win32_Foundation")] |
| 92 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddScopedPolicyIDAce(pacl : *mut ACL, dwacerevision : ACE_REVISION, aceflags : ACE_FLAGS, accessmask : u32, psid : super::Foundation:: PSID) -> super::Foundation:: BOOL); |
| 93 |
#[cfg(feature = "Win32_Foundation")] |
| 94 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AdjustTokenGroups(tokenhandle : super::Foundation:: HANDLE, resettodefault : super::Foundation:: BOOL, newstate : *const TOKEN_GROUPS, bufferlength : u32, previousstate : *mut TOKEN_GROUPS, returnlength : *mut u32) -> super::Foundation:: BOOL); |
| 95 |
#[cfg(feature = "Win32_Foundation")] |
| 96 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AdjustTokenPrivileges(tokenhandle : super::Foundation:: HANDLE, disableallprivileges : super::Foundation:: BOOL, newstate : *const TOKEN_PRIVILEGES, bufferlength : u32, previousstate : *mut TOKEN_PRIVILEGES, returnlength : *mut u32) -> super::Foundation:: BOOL); |
| 97 |
#[cfg(feature = "Win32_Foundation")] |
| 98 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AllocateAndInitializeSid(pidentifierauthority : *const SID_IDENTIFIER_AUTHORITY, nsubauthoritycount : u8, nsubauthority0 : u32, nsubauthority1 : u32, nsubauthority2 : u32, nsubauthority3 : u32, nsubauthority4 : u32, nsubauthority5 : u32, nsubauthority6 : u32, nsubauthority7 : u32, psid : *mut super::Foundation:: PSID) -> super::Foundation:: BOOL); |
| 99 |
#[cfg(feature = "Win32_Foundation")] |
| 100 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AllocateLocallyUniqueId(luid : *mut super::Foundation:: LUID) -> super::Foundation:: BOOL); |
| 101 |
#[cfg(feature = "Win32_Foundation")] |
| 102 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AreAllAccessesGranted(grantedaccess : u32, desiredaccess : u32) -> super::Foundation:: BOOL); |
| 103 |
#[cfg(feature = "Win32_Foundation")] |
| 104 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AreAnyAccessesGranted(grantedaccess : u32, desiredaccess : u32) -> super::Foundation:: BOOL); |
| 105 |
#[cfg(feature = "Win32_Foundation")] |
| 106 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CheckTokenCapability(tokenhandle : super::Foundation:: HANDLE, capabilitysidtocheck : super::Foundation:: PSID, hascapability : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 107 |
#[cfg(feature = "Win32_Foundation")] |
| 108 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CheckTokenMembership(tokenhandle : super::Foundation:: HANDLE, sidtocheck : super::Foundation:: PSID, ismember : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 109 |
#[cfg(feature = "Win32_Foundation")] |
| 110 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CheckTokenMembershipEx(tokenhandle : super::Foundation:: HANDLE, sidtocheck : super::Foundation:: PSID, flags : u32, ismember : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 111 |
#[cfg(feature = "Win32_Foundation")] |
| 112 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ConvertToAutoInheritPrivateObjectSecurity(parentdescriptor : PSECURITY_DESCRIPTOR, currentsecuritydescriptor : PSECURITY_DESCRIPTOR, newsecuritydescriptor : *mut PSECURITY_DESCRIPTOR, objecttype : *const ::windows_sys::core::GUID, isdirectoryobject : super::Foundation:: BOOLEAN, genericmapping : *const GENERIC_MAPPING) -> super::Foundation:: BOOL); |
| 113 |
#[cfg(feature = "Win32_Foundation")] |
| 114 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CopySid(ndestinationsidlength : u32, pdestinationsid : super::Foundation:: PSID, psourcesid : super::Foundation:: PSID) -> super::Foundation:: BOOL); |
| 115 |
#[cfg(feature = "Win32_Foundation")] |
| 116 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CreatePrivateObjectSecurity(parentdescriptor : PSECURITY_DESCRIPTOR, creatordescriptor : PSECURITY_DESCRIPTOR, newdescriptor : *mut PSECURITY_DESCRIPTOR, isdirectoryobject : super::Foundation:: BOOL, token : super::Foundation:: HANDLE, genericmapping : *const GENERIC_MAPPING) -> super::Foundation:: BOOL); |
| 117 |
#[cfg(feature = "Win32_Foundation")] |
| 118 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CreatePrivateObjectSecurityEx(parentdescriptor : PSECURITY_DESCRIPTOR, creatordescriptor : PSECURITY_DESCRIPTOR, newdescriptor : *mut PSECURITY_DESCRIPTOR, objecttype : *const ::windows_sys::core::GUID, iscontainerobject : super::Foundation:: BOOL, autoinheritflags : SECURITY_AUTO_INHERIT_FLAGS, token : super::Foundation:: HANDLE, genericmapping : *const GENERIC_MAPPING) -> super::Foundation:: BOOL); |
| 119 |
#[cfg(feature = "Win32_Foundation")] |
| 120 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CreatePrivateObjectSecurityWithMultipleInheritance(parentdescriptor : PSECURITY_DESCRIPTOR, creatordescriptor : PSECURITY_DESCRIPTOR, newdescriptor : *mut PSECURITY_DESCRIPTOR, objecttypes : *const *const ::windows_sys::core::GUID, guidcount : u32, iscontainerobject : super::Foundation:: BOOL, autoinheritflags : SECURITY_AUTO_INHERIT_FLAGS, token : super::Foundation:: HANDLE, genericmapping : *const GENERIC_MAPPING) -> super::Foundation:: BOOL); |
| 121 |
#[cfg(feature = "Win32_Foundation")] |
| 122 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CreateRestrictedToken(existingtokenhandle : super::Foundation:: HANDLE, flags : CREATE_RESTRICTED_TOKEN_FLAGS, disablesidcount : u32, sidstodisable : *const SID_AND_ATTRIBUTES, deleteprivilegecount : u32, privilegestodelete : *const LUID_AND_ATTRIBUTES, restrictedsidcount : u32, sidstorestrict : *const SID_AND_ATTRIBUTES, newtokenhandle : *mut super::Foundation:: HANDLE) -> super::Foundation:: BOOL); |
| 123 |
#[cfg(feature = "Win32_Foundation")] |
| 124 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CreateWellKnownSid(wellknownsidtype : WELL_KNOWN_SID_TYPE, domainsid : super::Foundation:: PSID, psid : super::Foundation:: PSID, cbsid : *mut u32) -> super::Foundation:: BOOL); |
| 125 |
#[cfg(feature = "Win32_Foundation")] |
| 126 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DeleteAce(pacl : *mut ACL, dwaceindex : u32) -> super::Foundation:: BOOL); |
| 127 |
#[cfg(feature = "Win32_Foundation")] |
| 128 |
::windows_targets::link!("api-ms-win-security-base-l1-2-2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DeriveCapabilitySidsFromName(capname : ::windows_sys::core::PCWSTR, capabilitygroupsids : *mut *mut super::Foundation:: PSID, capabilitygroupsidcount : *mut u32, capabilitysids : *mut *mut super::Foundation:: PSID, capabilitysidcount : *mut u32) -> super::Foundation:: BOOL); |
| 129 |
#[cfg(feature = "Win32_Foundation")] |
| 130 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DestroyPrivateObjectSecurity(objectdescriptor : *const PSECURITY_DESCRIPTOR) -> super::Foundation:: BOOL); |
| 131 |
#[cfg(feature = "Win32_Foundation")] |
| 132 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DuplicateToken(existingtokenhandle : super::Foundation:: HANDLE, impersonationlevel : SECURITY_IMPERSONATION_LEVEL, duplicatetokenhandle : *mut super::Foundation:: HANDLE) -> super::Foundation:: BOOL); |
| 133 |
#[cfg(feature = "Win32_Foundation")] |
| 134 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DuplicateTokenEx(hexistingtoken : super::Foundation:: HANDLE, dwdesiredaccess : TOKEN_ACCESS_MASK, lptokenattributes : *const SECURITY_ATTRIBUTES, impersonationlevel : SECURITY_IMPERSONATION_LEVEL, tokentype : TOKEN_TYPE, phnewtoken : *mut super::Foundation:: HANDLE) -> super::Foundation:: BOOL); |
| 135 |
#[cfg(feature = "Win32_Foundation")] |
| 136 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EqualDomainSid(psid1 : super::Foundation:: PSID, psid2 : super::Foundation:: PSID, pfequal : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 137 |
#[cfg(feature = "Win32_Foundation")] |
| 138 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EqualPrefixSid(psid1 : super::Foundation:: PSID, psid2 : super::Foundation:: PSID) -> super::Foundation:: BOOL); |
| 139 |
#[cfg(feature = "Win32_Foundation")] |
| 140 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EqualSid(psid1 : super::Foundation:: PSID, psid2 : super::Foundation:: PSID) -> super::Foundation:: BOOL); |
| 141 |
#[cfg(feature = "Win32_Foundation")] |
| 142 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindFirstFreeAce(pacl : *const ACL, pace : *mut *mut ::core::ffi::c_void) -> super::Foundation:: BOOL); |
| 143 |
#[cfg(feature = "Win32_Foundation")] |
| 144 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FreeSid(psid : super::Foundation:: PSID) -> *mut ::core::ffi::c_void); |
| 145 |
#[cfg(feature = "Win32_Foundation")] |
| 146 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetAce(pacl : *const ACL, dwaceindex : u32, pace : *mut *mut ::core::ffi::c_void) -> super::Foundation:: BOOL); |
| 147 |
#[cfg(feature = "Win32_Foundation")] |
| 148 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetAclInformation(pacl : *const ACL, paclinformation : *mut ::core::ffi::c_void, naclinformationlength : u32, dwaclinformationclass : ACL_INFORMATION_CLASS) -> super::Foundation:: BOOL); |
| 149 |
#[cfg(feature = "Win32_Foundation")] |
| 150 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetAppContainerAce(acl : *const ACL, startingaceindex : u32, appcontainerace : *mut *mut ::core::ffi::c_void, appcontaineraceindex : *mut u32) -> super::Foundation:: BOOL); |
| 151 |
#[cfg(feature = "Win32_Foundation")] |
| 152 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetCachedSigningLevel(file : super::Foundation:: HANDLE, flags : *mut u32, signinglevel : *mut u32, thumbprint : *mut u8, thumbprintsize : *mut u32, thumbprintalgorithm : *mut u32) -> super::Foundation:: BOOL); |
| 153 |
#[cfg(feature = "Win32_Foundation")] |
| 154 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetFileSecurityA(lpfilename : ::windows_sys::core::PCSTR, requestedinformation : u32, psecuritydescriptor : PSECURITY_DESCRIPTOR, nlength : u32, lpnlengthneeded : *mut u32) -> super::Foundation:: BOOL); |
| 155 |
#[cfg(feature = "Win32_Foundation")] |
| 156 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetFileSecurityW(lpfilename : ::windows_sys::core::PCWSTR, requestedinformation : u32, psecuritydescriptor : PSECURITY_DESCRIPTOR, nlength : u32, lpnlengthneeded : *mut u32) -> super::Foundation:: BOOL); |
| 157 |
#[cfg(feature = "Win32_Foundation")] |
| 158 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetKernelObjectSecurity(handle : super::Foundation:: HANDLE, requestedinformation : u32, psecuritydescriptor : PSECURITY_DESCRIPTOR, nlength : u32, lpnlengthneeded : *mut u32) -> super::Foundation:: BOOL); |
| 159 |
#[cfg(feature = "Win32_Foundation")] |
| 160 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetLengthSid(psid : super::Foundation:: PSID) -> u32); |
| 161 |
#[cfg(feature = "Win32_Foundation")] |
| 162 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetPrivateObjectSecurity(objectdescriptor : PSECURITY_DESCRIPTOR, securityinformation : OBJECT_SECURITY_INFORMATION, resultantdescriptor : PSECURITY_DESCRIPTOR, descriptorlength : u32, returnlength : *mut u32) -> super::Foundation:: BOOL); |
| 163 |
#[cfg(feature = "Win32_Foundation")] |
| 164 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetSecurityDescriptorControl(psecuritydescriptor : PSECURITY_DESCRIPTOR, pcontrol : *mut u16, lpdwrevision : *mut u32) -> super::Foundation:: BOOL); |
| 165 |
#[cfg(feature = "Win32_Foundation")] |
| 166 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetSecurityDescriptorDacl(psecuritydescriptor : PSECURITY_DESCRIPTOR, lpbdaclpresent : *mut super::Foundation:: BOOL, pdacl : *mut *mut ACL, lpbdacldefaulted : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 167 |
#[cfg(feature = "Win32_Foundation")] |
| 168 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetSecurityDescriptorGroup(psecuritydescriptor : PSECURITY_DESCRIPTOR, pgroup : *mut super::Foundation:: PSID, lpbgroupdefaulted : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 169 |
::windows_targets::link!("advapi32.dll" "system" fn GetSecurityDescriptorLength(psecuritydescriptor : PSECURITY_DESCRIPTOR) -> u32); |
| 170 |
#[cfg(feature = "Win32_Foundation")] |
| 171 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetSecurityDescriptorOwner(psecuritydescriptor : PSECURITY_DESCRIPTOR, powner : *mut super::Foundation:: PSID, lpbownerdefaulted : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 172 |
::windows_targets::link!("advapi32.dll" "system" fn GetSecurityDescriptorRMControl(securitydescriptor : PSECURITY_DESCRIPTOR, rmcontrol : *mut u8) -> u32); |
| 173 |
#[cfg(feature = "Win32_Foundation")] |
| 174 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetSecurityDescriptorSacl(psecuritydescriptor : PSECURITY_DESCRIPTOR, lpbsaclpresent : *mut super::Foundation:: BOOL, psacl : *mut *mut ACL, lpbsacldefaulted : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 175 |
#[cfg(feature = "Win32_Foundation")] |
| 176 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetSidIdentifierAuthority(psid : super::Foundation:: PSID) -> *mut SID_IDENTIFIER_AUTHORITY); |
| 177 |
::windows_targets::link!("advapi32.dll" "system" fn GetSidLengthRequired(nsubauthoritycount : u8) -> u32); |
| 178 |
#[cfg(feature = "Win32_Foundation")] |
| 179 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetSidSubAuthority(psid : super::Foundation:: PSID, nsubauthority : u32) -> *mut u32); |
| 180 |
#[cfg(feature = "Win32_Foundation")] |
| 181 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetSidSubAuthorityCount(psid : super::Foundation:: PSID) -> *mut u8); |
| 182 |
#[cfg(feature = "Win32_Foundation")] |
| 183 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetTokenInformation(tokenhandle : super::Foundation:: HANDLE, tokeninformationclass : TOKEN_INFORMATION_CLASS, tokeninformation : *mut ::core::ffi::c_void, tokeninformationlength : u32, returnlength : *mut u32) -> super::Foundation:: BOOL); |
| 184 |
#[cfg(feature = "Win32_Foundation")] |
| 185 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetUserObjectSecurity(hobj : super::Foundation:: HANDLE, psirequested : *const u32, psid : PSECURITY_DESCRIPTOR, nlength : u32, lpnlengthneeded : *mut u32) -> super::Foundation:: BOOL); |
| 186 |
#[cfg(feature = "Win32_Foundation")] |
| 187 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetWindowsAccountDomainSid(psid : super::Foundation:: PSID, pdomainsid : super::Foundation:: PSID, cbdomainsid : *mut u32) -> super::Foundation:: BOOL); |
| 188 |
#[cfg(feature = "Win32_Foundation")] |
| 189 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ImpersonateAnonymousToken(threadhandle : super::Foundation:: HANDLE) -> super::Foundation:: BOOL); |
| 190 |
#[cfg(feature = "Win32_Foundation")] |
| 191 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ImpersonateLoggedOnUser(htoken : super::Foundation:: HANDLE) -> super::Foundation:: BOOL); |
| 192 |
#[cfg(feature = "Win32_Foundation")] |
| 193 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ImpersonateSelf(impersonationlevel : SECURITY_IMPERSONATION_LEVEL) -> super::Foundation:: BOOL); |
| 194 |
#[cfg(feature = "Win32_Foundation")] |
| 195 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn InitializeAcl(pacl : *mut ACL, nacllength : u32, dwaclrevision : ACE_REVISION) -> super::Foundation:: BOOL); |
| 196 |
#[cfg(feature = "Win32_Foundation")] |
| 197 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn InitializeSecurityDescriptor(psecuritydescriptor : PSECURITY_DESCRIPTOR, dwrevision : u32) -> super::Foundation:: BOOL); |
| 198 |
#[cfg(feature = "Win32_Foundation")] |
| 199 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn InitializeSid(sid : super::Foundation:: PSID, pidentifierauthority : *const SID_IDENTIFIER_AUTHORITY, nsubauthoritycount : u8) -> super::Foundation:: BOOL); |
| 200 |
#[cfg(feature = "Win32_Foundation")] |
| 201 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsTokenRestricted(tokenhandle : super::Foundation:: HANDLE) -> super::Foundation:: BOOL); |
| 202 |
#[cfg(feature = "Win32_Foundation")] |
| 203 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsValidAcl(pacl : *const ACL) -> super::Foundation:: BOOL); |
| 204 |
#[cfg(feature = "Win32_Foundation")] |
| 205 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsValidSecurityDescriptor(psecuritydescriptor : PSECURITY_DESCRIPTOR) -> super::Foundation:: BOOL); |
| 206 |
#[cfg(feature = "Win32_Foundation")] |
| 207 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsValidSid(psid : super::Foundation:: PSID) -> super::Foundation:: BOOL); |
| 208 |
#[cfg(feature = "Win32_Foundation")] |
| 209 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsWellKnownSid(psid : super::Foundation:: PSID, wellknownsidtype : WELL_KNOWN_SID_TYPE) -> super::Foundation:: BOOL); |
| 210 |
#[cfg(feature = "Win32_Foundation")] |
| 211 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LogonUserA(lpszusername : ::windows_sys::core::PCSTR, lpszdomain : ::windows_sys::core::PCSTR, lpszpassword : ::windows_sys::core::PCSTR, dwlogontype : LOGON32_LOGON, dwlogonprovider : LOGON32_PROVIDER, phtoken : *mut super::Foundation:: HANDLE) -> super::Foundation:: BOOL); |
| 212 |
#[cfg(feature = "Win32_Foundation")] |
| 213 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LogonUserExA(lpszusername : ::windows_sys::core::PCSTR, lpszdomain : ::windows_sys::core::PCSTR, lpszpassword : ::windows_sys::core::PCSTR, dwlogontype : LOGON32_LOGON, dwlogonprovider : LOGON32_PROVIDER, phtoken : *mut super::Foundation:: HANDLE, pplogonsid : *mut super::Foundation:: PSID, ppprofilebuffer : *mut *mut ::core::ffi::c_void, pdwprofilelength : *mut u32, pquotalimits : *mut QUOTA_LIMITS) -> super::Foundation:: BOOL); |
| 214 |
#[cfg(feature = "Win32_Foundation")] |
| 215 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LogonUserExW(lpszusername : ::windows_sys::core::PCWSTR, lpszdomain : ::windows_sys::core::PCWSTR, lpszpassword : ::windows_sys::core::PCWSTR, dwlogontype : LOGON32_LOGON, dwlogonprovider : LOGON32_PROVIDER, phtoken : *mut super::Foundation:: HANDLE, pplogonsid : *mut super::Foundation:: PSID, ppprofilebuffer : *mut *mut ::core::ffi::c_void, pdwprofilelength : *mut u32, pquotalimits : *mut QUOTA_LIMITS) -> super::Foundation:: BOOL); |
| 216 |
#[cfg(feature = "Win32_Foundation")] |
| 217 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LogonUserW(lpszusername : ::windows_sys::core::PCWSTR, lpszdomain : ::windows_sys::core::PCWSTR, lpszpassword : ::windows_sys::core::PCWSTR, dwlogontype : LOGON32_LOGON, dwlogonprovider : LOGON32_PROVIDER, phtoken : *mut super::Foundation:: HANDLE) -> super::Foundation:: BOOL); |
| 218 |
#[cfg(feature = "Win32_Foundation")] |
| 219 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LookupAccountNameA(lpsystemname : ::windows_sys::core::PCSTR, lpaccountname : ::windows_sys::core::PCSTR, sid : super::Foundation:: PSID, cbsid : *mut u32, referenceddomainname : ::windows_sys::core::PSTR, cchreferenceddomainname : *mut u32, peuse : *mut SID_NAME_USE) -> super::Foundation:: BOOL); |
| 220 |
#[cfg(feature = "Win32_Foundation")] |
| 221 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LookupAccountNameW(lpsystemname : ::windows_sys::core::PCWSTR, lpaccountname : ::windows_sys::core::PCWSTR, sid : super::Foundation:: PSID, cbsid : *mut u32, referenceddomainname : ::windows_sys::core::PWSTR, cchreferenceddomainname : *mut u32, peuse : *mut SID_NAME_USE) -> super::Foundation:: BOOL); |
| 222 |
#[cfg(feature = "Win32_Foundation")] |
| 223 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LookupAccountSidA(lpsystemname : ::windows_sys::core::PCSTR, sid : super::Foundation:: PSID, name : ::windows_sys::core::PSTR, cchname : *mut u32, referenceddomainname : ::windows_sys::core::PSTR, cchreferenceddomainname : *mut u32, peuse : *mut SID_NAME_USE) -> super::Foundation:: BOOL); |
| 224 |
#[cfg(feature = "Win32_Foundation")] |
| 225 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LookupAccountSidW(lpsystemname : ::windows_sys::core::PCWSTR, sid : super::Foundation:: PSID, name : ::windows_sys::core::PWSTR, cchname : *mut u32, referenceddomainname : ::windows_sys::core::PWSTR, cchreferenceddomainname : *mut u32, peuse : *mut SID_NAME_USE) -> super::Foundation:: BOOL); |
| 226 |
#[cfg(feature = "Win32_Foundation")] |
| 227 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LookupPrivilegeDisplayNameA(lpsystemname : ::windows_sys::core::PCSTR, lpname : ::windows_sys::core::PCSTR, lpdisplayname : ::windows_sys::core::PSTR, cchdisplayname : *mut u32, lplanguageid : *mut u32) -> super::Foundation:: BOOL); |
| 228 |
#[cfg(feature = "Win32_Foundation")] |
| 229 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LookupPrivilegeDisplayNameW(lpsystemname : ::windows_sys::core::PCWSTR, lpname : ::windows_sys::core::PCWSTR, lpdisplayname : ::windows_sys::core::PWSTR, cchdisplayname : *mut u32, lplanguageid : *mut u32) -> super::Foundation:: BOOL); |
| 230 |
#[cfg(feature = "Win32_Foundation")] |
| 231 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LookupPrivilegeNameA(lpsystemname : ::windows_sys::core::PCSTR, lpluid : *const super::Foundation:: LUID, lpname : ::windows_sys::core::PSTR, cchname : *mut u32) -> super::Foundation:: BOOL); |
| 232 |
#[cfg(feature = "Win32_Foundation")] |
| 233 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LookupPrivilegeNameW(lpsystemname : ::windows_sys::core::PCWSTR, lpluid : *const super::Foundation:: LUID, lpname : ::windows_sys::core::PWSTR, cchname : *mut u32) -> super::Foundation:: BOOL); |
| 234 |
#[cfg(feature = "Win32_Foundation")] |
| 235 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LookupPrivilegeValueA(lpsystemname : ::windows_sys::core::PCSTR, lpname : ::windows_sys::core::PCSTR, lpluid : *mut super::Foundation:: LUID) -> super::Foundation:: BOOL); |
| 236 |
#[cfg(feature = "Win32_Foundation")] |
| 237 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LookupPrivilegeValueW(lpsystemname : ::windows_sys::core::PCWSTR, lpname : ::windows_sys::core::PCWSTR, lpluid : *mut super::Foundation:: LUID) -> super::Foundation:: BOOL); |
| 238 |
#[cfg(feature = "Win32_Foundation")] |
| 239 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MakeAbsoluteSD(pselfrelativesecuritydescriptor : PSECURITY_DESCRIPTOR, pabsolutesecuritydescriptor : PSECURITY_DESCRIPTOR, lpdwabsolutesecuritydescriptorsize : *mut u32, pdacl : *mut ACL, lpdwdaclsize : *mut u32, psacl : *mut ACL, lpdwsaclsize : *mut u32, powner : super::Foundation:: PSID, lpdwownersize : *mut u32, pprimarygroup : super::Foundation:: PSID, lpdwprimarygroupsize : *mut u32) -> super::Foundation:: BOOL); |
| 240 |
#[cfg(feature = "Win32_Foundation")] |
| 241 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MakeSelfRelativeSD(pabsolutesecuritydescriptor : PSECURITY_DESCRIPTOR, pselfrelativesecuritydescriptor : PSECURITY_DESCRIPTOR, lpdwbufferlength : *mut u32) -> super::Foundation:: BOOL); |
| 242 |
::windows_targets::link!("advapi32.dll" "system" fn MapGenericMask(accessmask : *mut u32, genericmapping : *const GENERIC_MAPPING) -> ()); |
| 243 |
#[cfg(feature = "Win32_Foundation")] |
| 244 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ObjectCloseAuditAlarmA(subsystemname : ::windows_sys::core::PCSTR, handleid : *const ::core::ffi::c_void, generateonclose : super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 245 |
#[cfg(feature = "Win32_Foundation")] |
| 246 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ObjectCloseAuditAlarmW(subsystemname : ::windows_sys::core::PCWSTR, handleid : *const ::core::ffi::c_void, generateonclose : super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 247 |
#[cfg(feature = "Win32_Foundation")] |
| 248 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ObjectDeleteAuditAlarmA(subsystemname : ::windows_sys::core::PCSTR, handleid : *const ::core::ffi::c_void, generateonclose : super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 249 |
#[cfg(feature = "Win32_Foundation")] |
| 250 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ObjectDeleteAuditAlarmW(subsystemname : ::windows_sys::core::PCWSTR, handleid : *const ::core::ffi::c_void, generateonclose : super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 251 |
#[cfg(feature = "Win32_Foundation")] |
| 252 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ObjectOpenAuditAlarmA(subsystemname : ::windows_sys::core::PCSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_sys::core::PCSTR, objectname : ::windows_sys::core::PCSTR, psecuritydescriptor : PSECURITY_DESCRIPTOR, clienttoken : super::Foundation:: HANDLE, desiredaccess : u32, grantedaccess : u32, privileges : *const PRIVILEGE_SET, objectcreation : super::Foundation:: BOOL, accessgranted : super::Foundation:: BOOL, generateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 253 |
#[cfg(feature = "Win32_Foundation")] |
| 254 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ObjectOpenAuditAlarmW(subsystemname : ::windows_sys::core::PCWSTR, handleid : *const ::core::ffi::c_void, objecttypename : ::windows_sys::core::PCWSTR, objectname : ::windows_sys::core::PCWSTR, psecuritydescriptor : PSECURITY_DESCRIPTOR, clienttoken : super::Foundation:: HANDLE, desiredaccess : u32, grantedaccess : u32, privileges : *const PRIVILEGE_SET, objectcreation : super::Foundation:: BOOL, accessgranted : super::Foundation:: BOOL, generateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 255 |
#[cfg(feature = "Win32_Foundation")] |
| 256 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ObjectPrivilegeAuditAlarmA(subsystemname : ::windows_sys::core::PCSTR, handleid : *const ::core::ffi::c_void, clienttoken : super::Foundation:: HANDLE, desiredaccess : u32, privileges : *const PRIVILEGE_SET, accessgranted : super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 257 |
#[cfg(feature = "Win32_Foundation")] |
| 258 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ObjectPrivilegeAuditAlarmW(subsystemname : ::windows_sys::core::PCWSTR, handleid : *const ::core::ffi::c_void, clienttoken : super::Foundation:: HANDLE, desiredaccess : u32, privileges : *const PRIVILEGE_SET, accessgranted : super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 259 |
#[cfg(feature = "Win32_Foundation")] |
| 260 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PrivilegeCheck(clienttoken : super::Foundation:: HANDLE, requiredprivileges : *mut PRIVILEGE_SET, pfresult : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 261 |
#[cfg(feature = "Win32_Foundation")] |
| 262 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PrivilegedServiceAuditAlarmA(subsystemname : ::windows_sys::core::PCSTR, servicename : ::windows_sys::core::PCSTR, clienttoken : super::Foundation:: HANDLE, privileges : *const PRIVILEGE_SET, accessgranted : super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 263 |
#[cfg(feature = "Win32_Foundation")] |
| 264 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PrivilegedServiceAuditAlarmW(subsystemname : ::windows_sys::core::PCWSTR, servicename : ::windows_sys::core::PCWSTR, clienttoken : super::Foundation:: HANDLE, privileges : *const PRIVILEGE_SET, accessgranted : super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 265 |
::windows_targets::link!("advapi32.dll" "system" fn QuerySecurityAccessMask(securityinformation : OBJECT_SECURITY_INFORMATION, desiredaccess : *mut u32) -> ()); |
| 266 |
#[cfg(feature = "Win32_Foundation")] |
| 267 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RevertToSelf() -> super::Foundation:: BOOL); |
| 268 |
#[cfg(feature = "Win32_Foundation")] |
| 269 |
::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtlConvertSidToUnicodeString(unicodestring : *mut super::Foundation:: UNICODE_STRING, sid : super::Foundation:: PSID, allocatedestinationstring : super::Foundation:: BOOLEAN) -> super::Foundation:: NTSTATUS); |
| 270 |
#[cfg(feature = "Win32_Foundation")] |
| 271 |
::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtlNormalizeSecurityDescriptor(securitydescriptor : *mut PSECURITY_DESCRIPTOR, securitydescriptorlength : u32, newsecuritydescriptor : *mut PSECURITY_DESCRIPTOR, newsecuritydescriptorlength : *mut u32, checkonly : super::Foundation:: BOOLEAN) -> super::Foundation:: BOOLEAN); |
| 272 |
#[cfg(feature = "Win32_Foundation")] |
| 273 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetAclInformation(pacl : *mut ACL, paclinformation : *const ::core::ffi::c_void, naclinformationlength : u32, dwaclinformationclass : ACL_INFORMATION_CLASS) -> super::Foundation:: BOOL); |
| 274 |
#[cfg(feature = "Win32_Foundation")] |
| 275 |
::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetCachedSigningLevel(sourcefiles : *const super::Foundation:: HANDLE, sourcefilecount : u32, flags : u32, targetfile : super::Foundation:: HANDLE) -> super::Foundation:: BOOL); |
| 276 |
#[cfg(feature = "Win32_Foundation")] |
| 277 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetFileSecurityA(lpfilename : ::windows_sys::core::PCSTR, securityinformation : OBJECT_SECURITY_INFORMATION, psecuritydescriptor : PSECURITY_DESCRIPTOR) -> super::Foundation:: BOOL); |
| 278 |
#[cfg(feature = "Win32_Foundation")] |
| 279 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetFileSecurityW(lpfilename : ::windows_sys::core::PCWSTR, securityinformation : OBJECT_SECURITY_INFORMATION, psecuritydescriptor : PSECURITY_DESCRIPTOR) -> super::Foundation:: BOOL); |
| 280 |
#[cfg(feature = "Win32_Foundation")] |
| 281 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetKernelObjectSecurity(handle : super::Foundation:: HANDLE, securityinformation : OBJECT_SECURITY_INFORMATION, securitydescriptor : PSECURITY_DESCRIPTOR) -> super::Foundation:: BOOL); |
| 282 |
#[cfg(feature = "Win32_Foundation")] |
| 283 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetPrivateObjectSecurity(securityinformation : OBJECT_SECURITY_INFORMATION, modificationdescriptor : PSECURITY_DESCRIPTOR, objectssecuritydescriptor : *mut PSECURITY_DESCRIPTOR, genericmapping : *const GENERIC_MAPPING, token : super::Foundation:: HANDLE) -> super::Foundation:: BOOL); |
| 284 |
#[cfg(feature = "Win32_Foundation")] |
| 285 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetPrivateObjectSecurityEx(securityinformation : OBJECT_SECURITY_INFORMATION, modificationdescriptor : PSECURITY_DESCRIPTOR, objectssecuritydescriptor : *mut PSECURITY_DESCRIPTOR, autoinheritflags : SECURITY_AUTO_INHERIT_FLAGS, genericmapping : *const GENERIC_MAPPING, token : super::Foundation:: HANDLE) -> super::Foundation:: BOOL); |
| 286 |
::windows_targets::link!("advapi32.dll" "system" fn SetSecurityAccessMask(securityinformation : OBJECT_SECURITY_INFORMATION, desiredaccess : *mut u32) -> ()); |
| 287 |
#[cfg(feature = "Win32_Foundation")] |
| 288 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetSecurityDescriptorControl(psecuritydescriptor : PSECURITY_DESCRIPTOR, controlbitsofinterest : SECURITY_DESCRIPTOR_CONTROL, controlbitstoset : SECURITY_DESCRIPTOR_CONTROL) -> super::Foundation:: BOOL); |
| 289 |
#[cfg(feature = "Win32_Foundation")] |
| 290 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetSecurityDescriptorDacl(psecuritydescriptor : PSECURITY_DESCRIPTOR, bdaclpresent : super::Foundation:: BOOL, pdacl : *const ACL, bdacldefaulted : super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 291 |
#[cfg(feature = "Win32_Foundation")] |
| 292 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetSecurityDescriptorGroup(psecuritydescriptor : PSECURITY_DESCRIPTOR, pgroup : super::Foundation:: PSID, bgroupdefaulted : super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 293 |
#[cfg(feature = "Win32_Foundation")] |
| 294 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetSecurityDescriptorOwner(psecuritydescriptor : PSECURITY_DESCRIPTOR, powner : super::Foundation:: PSID, bownerdefaulted : super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 295 |
::windows_targets::link!("advapi32.dll" "system" fn SetSecurityDescriptorRMControl(securitydescriptor : PSECURITY_DESCRIPTOR, rmcontrol : *const u8) -> u32); |
| 296 |
#[cfg(feature = "Win32_Foundation")] |
| 297 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetSecurityDescriptorSacl(psecuritydescriptor : PSECURITY_DESCRIPTOR, bsaclpresent : super::Foundation:: BOOL, psacl : *const ACL, bsacldefaulted : super::Foundation:: BOOL) -> super::Foundation:: BOOL); |
| 298 |
#[cfg(feature = "Win32_Foundation")] |
| 299 |
::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetTokenInformation(tokenhandle : super::Foundation:: HANDLE, tokeninformationclass : TOKEN_INFORMATION_CLASS, tokeninformation : *const ::core::ffi::c_void, tokeninformationlength : u32) -> super::Foundation:: BOOL); |
| 300 |
#[cfg(feature = "Win32_Foundation")] |
| 301 |
::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetUserObjectSecurity(hobj : super::Foundation:: HANDLE, psirequested : *const OBJECT_SECURITY_INFORMATION, psid : PSECURITY_DESCRIPTOR) -> super::Foundation:: BOOL); |
| 302 |
pub const ACE_INHERITED_OBJECT_TYPE_PRESENT: SYSTEM_AUDIT_OBJECT_ACE_FLAGS = 2u32; |
| 303 |
pub const ACE_OBJECT_TYPE_PRESENT: SYSTEM_AUDIT_OBJECT_ACE_FLAGS = 1u32; |
| 304 |
pub const ACL_REVISION: ACE_REVISION = 2u32; |
| 305 |
pub const ACL_REVISION_DS: ACE_REVISION = 4u32; |
| 306 |
pub const ATTRIBUTE_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 32u32; |
| 307 |
pub const AclRevisionInformation: ACL_INFORMATION_CLASS = 1i32; |
| 308 |
pub const AclSizeInformation: ACL_INFORMATION_CLASS = 2i32; |
| 309 |
pub const AuditEventDirectoryServiceAccess: AUDIT_EVENT_TYPE = 1i32; |
| 310 |
pub const AuditEventObjectAccess: AUDIT_EVENT_TYPE = 0i32; |
| 311 |
pub const BACKUP_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 65536u32; |
| 312 |
pub const CLAIM_SECURITY_ATTRIBUTE_DISABLED: CLAIM_SECURITY_ATTRIBUTE_FLAGS = 16u32; |
| 313 |
pub const CLAIM_SECURITY_ATTRIBUTE_DISABLED_BY_DEFAULT: CLAIM_SECURITY_ATTRIBUTE_FLAGS = 8u32; |
| 314 |
pub const CLAIM_SECURITY_ATTRIBUTE_MANDATORY: CLAIM_SECURITY_ATTRIBUTE_FLAGS = 32u32; |
| 315 |
pub const CLAIM_SECURITY_ATTRIBUTE_NON_INHERITABLE: CLAIM_SECURITY_ATTRIBUTE_FLAGS = 1u32; |
| 316 |
pub const CLAIM_SECURITY_ATTRIBUTE_TYPE_BOOLEAN: CLAIM_SECURITY_ATTRIBUTE_VALUE_TYPE = 6u16; |
| 317 |
pub const CLAIM_SECURITY_ATTRIBUTE_TYPE_FQBN: CLAIM_SECURITY_ATTRIBUTE_VALUE_TYPE = 4u16; |
| 318 |
pub const CLAIM_SECURITY_ATTRIBUTE_TYPE_INT64: CLAIM_SECURITY_ATTRIBUTE_VALUE_TYPE = 1u16; |
| 319 |
pub const CLAIM_SECURITY_ATTRIBUTE_TYPE_OCTET_STRING: CLAIM_SECURITY_ATTRIBUTE_VALUE_TYPE = 16u16; |
| 320 |
pub const CLAIM_SECURITY_ATTRIBUTE_TYPE_SID: CLAIM_SECURITY_ATTRIBUTE_VALUE_TYPE = 5u16; |
| 321 |
pub const CLAIM_SECURITY_ATTRIBUTE_TYPE_STRING: CLAIM_SECURITY_ATTRIBUTE_VALUE_TYPE = 3u16; |
| 322 |
pub const CLAIM_SECURITY_ATTRIBUTE_TYPE_UINT64: CLAIM_SECURITY_ATTRIBUTE_VALUE_TYPE = 2u16; |
| 323 |
pub const CLAIM_SECURITY_ATTRIBUTE_USE_FOR_DENY_ONLY: CLAIM_SECURITY_ATTRIBUTE_FLAGS = 4u32; |
| 324 |
pub const CLAIM_SECURITY_ATTRIBUTE_VALUE_CASE_SENSITIVE: CLAIM_SECURITY_ATTRIBUTE_FLAGS = 2u32; |
| 325 |
pub const CONTAINER_INHERIT_ACE: ACE_FLAGS = 2u32; |
| 326 |
pub const CVT_SECONDS: u32 = 1u32; |
| 327 |
pub const DACL_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 4u32; |
| 328 |
pub const DISABLE_MAX_PRIVILEGE: CREATE_RESTRICTED_TOKEN_FLAGS = 1u32; |
| 329 |
pub const ENUM_PERIOD_DAYS: ENUM_PERIOD = 3i32; |
| 330 |
pub const ENUM_PERIOD_HOURS: ENUM_PERIOD = 2i32; |
| 331 |
pub const ENUM_PERIOD_INVALID: ENUM_PERIOD = -1i32; |
| 332 |
pub const ENUM_PERIOD_MINUTES: ENUM_PERIOD = 1i32; |
| 333 |
pub const ENUM_PERIOD_MONTHS: ENUM_PERIOD = 5i32; |
| 334 |
pub const ENUM_PERIOD_SECONDS: ENUM_PERIOD = 0i32; |
| 335 |
pub const ENUM_PERIOD_WEEKS: ENUM_PERIOD = 4i32; |
| 336 |
pub const ENUM_PERIOD_YEARS: ENUM_PERIOD = 6i32; |
| 337 |
pub const FAILED_ACCESS_ACE_FLAG: ACE_FLAGS = 128u32; |
| 338 |
pub const GROUP_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 2u32; |
| 339 |
pub const INHERITED_ACE: ACE_FLAGS = 16u32; |
| 340 |
pub const INHERIT_NO_PROPAGATE: ACE_FLAGS = 4u32; |
| 341 |
pub const INHERIT_ONLY: ACE_FLAGS = 8u32; |
| 342 |
pub const INHERIT_ONLY_ACE: ACE_FLAGS = 8u32; |
| 343 |
pub const LABEL_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 16u32; |
| 344 |
pub const LOGON32_LOGON_BATCH: LOGON32_LOGON = 4u32; |
| 345 |
pub const LOGON32_LOGON_INTERACTIVE: LOGON32_LOGON = 2u32; |
| 346 |
pub const LOGON32_LOGON_NETWORK: LOGON32_LOGON = 3u32; |
| 347 |
pub const LOGON32_LOGON_NETWORK_CLEARTEXT: LOGON32_LOGON = 8u32; |
| 348 |
pub const LOGON32_LOGON_NEW_CREDENTIALS: LOGON32_LOGON = 9u32; |
| 349 |
pub const LOGON32_LOGON_SERVICE: LOGON32_LOGON = 5u32; |
| 350 |
pub const LOGON32_LOGON_UNLOCK: LOGON32_LOGON = 7u32; |
| 351 |
pub const LOGON32_PROVIDER_DEFAULT: LOGON32_PROVIDER = 0u32; |
| 352 |
pub const LOGON32_PROVIDER_WINNT40: LOGON32_PROVIDER = 2u32; |
| 353 |
pub const LOGON32_PROVIDER_WINNT50: LOGON32_PROVIDER = 3u32; |
| 354 |
pub const LUA_TOKEN: CREATE_RESTRICTED_TOKEN_FLAGS = 4u32; |
| 355 |
pub const MandatoryLevelCount: MANDATORY_LEVEL = 6i32; |
| 356 |
pub const MandatoryLevelHigh: MANDATORY_LEVEL = 3i32; |
| 357 |
pub const MandatoryLevelLow: MANDATORY_LEVEL = 1i32; |
| 358 |
pub const MandatoryLevelMedium: MANDATORY_LEVEL = 2i32; |
| 359 |
pub const MandatoryLevelSecureProcess: MANDATORY_LEVEL = 5i32; |
| 360 |
pub const MandatoryLevelSystem: MANDATORY_LEVEL = 4i32; |
| 361 |
pub const MandatoryLevelUntrusted: MANDATORY_LEVEL = 0i32; |
| 362 |
pub const MaxTokenInfoClass: TOKEN_INFORMATION_CLASS = 49i32; |
| 363 |
pub const NO_INHERITANCE: ACE_FLAGS = 0u32; |
| 364 |
pub const NO_PROPAGATE_INHERIT_ACE: ACE_FLAGS = 4u32; |
| 365 |
pub const OBJECT_INHERIT_ACE: ACE_FLAGS = 1u32; |
| 366 |
pub const OWNER_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 1u32; |
| 367 |
pub const PROTECTED_DACL_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 2147483648u32; |
| 368 |
pub const PROTECTED_SACL_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 1073741824u32; |
| 369 |
pub const SACL_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 8u32; |
| 370 |
pub const SANDBOX_INERT: CREATE_RESTRICTED_TOKEN_FLAGS = 2u32; |
| 371 |
pub const SCOPE_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 64u32; |
| 372 |
pub const SECURITY_APP_PACKAGE_AUTHORITY: SID_IDENTIFIER_AUTHORITY = SID_IDENTIFIER_AUTHORITY { Value: [0, 0, 0, 0, 0, 15] }; |
| 373 |
pub const SECURITY_AUTHENTICATION_AUTHORITY: SID_IDENTIFIER_AUTHORITY = SID_IDENTIFIER_AUTHORITY { Value: [0, 0, 0, 0, 0, 18] }; |
| 374 |
pub const SECURITY_CREATOR_SID_AUTHORITY: SID_IDENTIFIER_AUTHORITY = SID_IDENTIFIER_AUTHORITY { Value: [0, 0, 0, 0, 0, 3] }; |
| 375 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 376 |
#[cfg(feature = "Win32_Foundation")] |
| 377 |
pub const SECURITY_DYNAMIC_TRACKING: super::Foundation::BOOLEAN = 1u8; |
| 378 |
pub const SECURITY_LOCAL_SID_AUTHORITY: SID_IDENTIFIER_AUTHORITY = SID_IDENTIFIER_AUTHORITY { Value: [0, 0, 0, 0, 0, 2] }; |
| 379 |
pub const SECURITY_MANDATORY_LABEL_AUTHORITY: SID_IDENTIFIER_AUTHORITY = SID_IDENTIFIER_AUTHORITY { Value: [0, 0, 0, 0, 0, 16] }; |
| 380 |
pub const SECURITY_NON_UNIQUE_AUTHORITY: SID_IDENTIFIER_AUTHORITY = SID_IDENTIFIER_AUTHORITY { Value: [0, 0, 0, 0, 0, 4] }; |
| 381 |
pub const SECURITY_NT_AUTHORITY: SID_IDENTIFIER_AUTHORITY = SID_IDENTIFIER_AUTHORITY { Value: [0, 0, 0, 0, 0, 5] }; |
| 382 |
pub const SECURITY_NULL_SID_AUTHORITY: SID_IDENTIFIER_AUTHORITY = SID_IDENTIFIER_AUTHORITY { Value: [0, 0, 0, 0, 0, 0] }; |
| 383 |
pub const SECURITY_PROCESS_TRUST_AUTHORITY: SID_IDENTIFIER_AUTHORITY = SID_IDENTIFIER_AUTHORITY { Value: [0, 0, 0, 0, 0, 19] }; |
| 384 |
pub const SECURITY_RESOURCE_MANAGER_AUTHORITY: SID_IDENTIFIER_AUTHORITY = SID_IDENTIFIER_AUTHORITY { Value: [0, 0, 0, 0, 0, 9] }; |
| 385 |
pub const SECURITY_SCOPED_POLICY_ID_AUTHORITY: SID_IDENTIFIER_AUTHORITY = SID_IDENTIFIER_AUTHORITY { Value: [0, 0, 0, 0, 0, 17] }; |
| 386 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 387 |
#[cfg(feature = "Win32_Foundation")] |
| 388 |
pub const SECURITY_STATIC_TRACKING: super::Foundation::BOOLEAN = 0u8; |
| 389 |
pub const SECURITY_WORLD_SID_AUTHORITY: SID_IDENTIFIER_AUTHORITY = SID_IDENTIFIER_AUTHORITY { Value: [0, 0, 0, 0, 0, 1] }; |
| 390 |
pub const SEF_AVOID_OWNER_CHECK: SECURITY_AUTO_INHERIT_FLAGS = 16u32; |
| 391 |
pub const SEF_AVOID_OWNER_RESTRICTION: SECURITY_AUTO_INHERIT_FLAGS = 4096u32; |
| 392 |
pub const SEF_AVOID_PRIVILEGE_CHECK: SECURITY_AUTO_INHERIT_FLAGS = 8u32; |
| 393 |
pub const SEF_DACL_AUTO_INHERIT: SECURITY_AUTO_INHERIT_FLAGS = 1u32; |
| 394 |
pub const SEF_DEFAULT_DESCRIPTOR_FOR_OBJECT: SECURITY_AUTO_INHERIT_FLAGS = 4u32; |
| 395 |
pub const SEF_DEFAULT_GROUP_FROM_PARENT: SECURITY_AUTO_INHERIT_FLAGS = 64u32; |
| 396 |
pub const SEF_DEFAULT_OWNER_FROM_PARENT: SECURITY_AUTO_INHERIT_FLAGS = 32u32; |
| 397 |
pub const SEF_MACL_NO_EXECUTE_UP: SECURITY_AUTO_INHERIT_FLAGS = 1024u32; |
| 398 |
pub const SEF_MACL_NO_READ_UP: SECURITY_AUTO_INHERIT_FLAGS = 512u32; |
| 399 |
pub const SEF_MACL_NO_WRITE_UP: SECURITY_AUTO_INHERIT_FLAGS = 256u32; |
| 400 |
pub const SEF_SACL_AUTO_INHERIT: SECURITY_AUTO_INHERIT_FLAGS = 2u32; |
| 401 |
pub const SE_ASSIGNPRIMARYTOKEN_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeAssignPrimaryTokenPrivilege"); |
| 402 |
pub const SE_AUDIT_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeAuditPrivilege"); |
| 403 |
pub const SE_BACKUP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeBackupPrivilege"); |
| 404 |
pub const SE_CHANGE_NOTIFY_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeChangeNotifyPrivilege"); |
| 405 |
pub const SE_CREATE_GLOBAL_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeCreateGlobalPrivilege"); |
| 406 |
pub const SE_CREATE_PAGEFILE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeCreatePagefilePrivilege"); |
| 407 |
pub const SE_CREATE_PERMANENT_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeCreatePermanentPrivilege"); |
| 408 |
pub const SE_CREATE_SYMBOLIC_LINK_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeCreateSymbolicLinkPrivilege"); |
| 409 |
pub const SE_CREATE_TOKEN_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeCreateTokenPrivilege"); |
| 410 |
pub const SE_DACL_AUTO_INHERITED: SECURITY_DESCRIPTOR_CONTROL = 1024u16; |
| 411 |
pub const SE_DACL_AUTO_INHERIT_REQ: SECURITY_DESCRIPTOR_CONTROL = 256u16; |
| 412 |
pub const SE_DACL_DEFAULTED: SECURITY_DESCRIPTOR_CONTROL = 8u16; |
| 413 |
pub const SE_DACL_PRESENT: SECURITY_DESCRIPTOR_CONTROL = 4u16; |
| 414 |
pub const SE_DACL_PROTECTED: SECURITY_DESCRIPTOR_CONTROL = 4096u16; |
| 415 |
pub const SE_DEBUG_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeDebugPrivilege"); |
| 416 |
pub const SE_DELEGATE_SESSION_USER_IMPERSONATE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeDelegateSessionUserImpersonatePrivilege"); |
| 417 |
pub const SE_ENABLE_DELEGATION_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeEnableDelegationPrivilege"); |
| 418 |
pub const SE_GROUP_DEFAULTED: SECURITY_DESCRIPTOR_CONTROL = 2u16; |
| 419 |
pub const SE_IMPERSONATE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeImpersonatePrivilege"); |
| 420 |
pub const SE_INCREASE_QUOTA_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeIncreaseQuotaPrivilege"); |
| 421 |
pub const SE_INC_BASE_PRIORITY_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeIncreaseBasePriorityPrivilege"); |
| 422 |
pub const SE_INC_WORKING_SET_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeIncreaseWorkingSetPrivilege"); |
| 423 |
pub const SE_LOAD_DRIVER_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeLoadDriverPrivilege"); |
| 424 |
pub const SE_LOCK_MEMORY_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeLockMemoryPrivilege"); |
| 425 |
pub const SE_MACHINE_ACCOUNT_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeMachineAccountPrivilege"); |
| 426 |
pub const SE_MANAGE_VOLUME_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeManageVolumePrivilege"); |
| 427 |
pub const SE_OWNER_DEFAULTED: SECURITY_DESCRIPTOR_CONTROL = 1u16; |
| 428 |
pub const SE_PRIVILEGE_ENABLED: TOKEN_PRIVILEGES_ATTRIBUTES = 2u32; |
| 429 |
pub const SE_PRIVILEGE_ENABLED_BY_DEFAULT: TOKEN_PRIVILEGES_ATTRIBUTES = 1u32; |
| 430 |
pub const SE_PRIVILEGE_REMOVED: TOKEN_PRIVILEGES_ATTRIBUTES = 4u32; |
| 431 |
pub const SE_PRIVILEGE_USED_FOR_ACCESS: TOKEN_PRIVILEGES_ATTRIBUTES = 2147483648u32; |
| 432 |
pub const SE_PROF_SINGLE_PROCESS_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeProfileSingleProcessPrivilege"); |
| 433 |
pub const SE_RELABEL_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeRelabelPrivilege"); |
| 434 |
pub const SE_REMOTE_SHUTDOWN_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeRemoteShutdownPrivilege"); |
| 435 |
pub const SE_RESTORE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeRestorePrivilege"); |
| 436 |
pub const SE_RM_CONTROL_VALID: SECURITY_DESCRIPTOR_CONTROL = 16384u16; |
| 437 |
pub const SE_SACL_AUTO_INHERITED: SECURITY_DESCRIPTOR_CONTROL = 2048u16; |
| 438 |
pub const SE_SACL_AUTO_INHERIT_REQ: SECURITY_DESCRIPTOR_CONTROL = 512u16; |
| 439 |
pub const SE_SACL_DEFAULTED: SECURITY_DESCRIPTOR_CONTROL = 32u16; |
| 440 |
pub const SE_SACL_PRESENT: SECURITY_DESCRIPTOR_CONTROL = 16u16; |
| 441 |
pub const SE_SACL_PROTECTED: SECURITY_DESCRIPTOR_CONTROL = 8192u16; |
| 442 |
pub const SE_SECURITY_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeSecurityPrivilege"); |
| 443 |
pub const SE_SELF_RELATIVE: SECURITY_DESCRIPTOR_CONTROL = 32768u16; |
| 444 |
pub const SE_SHUTDOWN_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeShutdownPrivilege"); |
| 445 |
pub const SE_SYNC_AGENT_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeSyncAgentPrivilege"); |
| 446 |
pub const SE_SYSTEMTIME_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeSystemtimePrivilege"); |
| 447 |
pub const SE_SYSTEM_ENVIRONMENT_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeSystemEnvironmentPrivilege"); |
| 448 |
pub const SE_SYSTEM_PROFILE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeSystemProfilePrivilege"); |
| 449 |
pub const SE_TAKE_OWNERSHIP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeTakeOwnershipPrivilege"); |
| 450 |
pub const SE_TCB_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeTcbPrivilege"); |
| 451 |
pub const SE_TIME_ZONE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeTimeZonePrivilege"); |
| 452 |
pub const SE_TRUSTED_CREDMAN_ACCESS_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeTrustedCredManAccessPrivilege"); |
| 453 |
pub const SE_UNDOCK_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeUndockPrivilege"); |
| 454 |
pub const SE_UNSOLICITED_INPUT_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeUnsolicitedInputPrivilege"); |
| 455 |
pub const SUB_CONTAINERS_AND_OBJECTS_INHERIT: ACE_FLAGS = 3u32; |
| 456 |
pub const SUB_CONTAINERS_ONLY_INHERIT: ACE_FLAGS = 2u32; |
| 457 |
pub const SUB_OBJECTS_ONLY_INHERIT: ACE_FLAGS = 1u32; |
| 458 |
pub const SUCCESSFUL_ACCESS_ACE_FLAG: ACE_FLAGS = 64u32; |
| 459 |
pub const SecurityAnonymous: SECURITY_IMPERSONATION_LEVEL = 0i32; |
| 460 |
pub const SecurityDelegation: SECURITY_IMPERSONATION_LEVEL = 3i32; |
| 461 |
pub const SecurityIdentification: SECURITY_IMPERSONATION_LEVEL = 1i32; |
| 462 |
pub const SecurityImpersonation: SECURITY_IMPERSONATION_LEVEL = 2i32; |
| 463 |
pub const SidTypeAlias: SID_NAME_USE = 4i32; |
| 464 |
pub const SidTypeComputer: SID_NAME_USE = 9i32; |
| 465 |
pub const SidTypeDeletedAccount: SID_NAME_USE = 6i32; |
| 466 |
pub const SidTypeDomain: SID_NAME_USE = 3i32; |
| 467 |
pub const SidTypeGroup: SID_NAME_USE = 2i32; |
| 468 |
pub const SidTypeInvalid: SID_NAME_USE = 7i32; |
| 469 |
pub const SidTypeLabel: SID_NAME_USE = 10i32; |
| 470 |
pub const SidTypeLogonSession: SID_NAME_USE = 11i32; |
| 471 |
pub const SidTypeUnknown: SID_NAME_USE = 8i32; |
| 472 |
pub const SidTypeUser: SID_NAME_USE = 1i32; |
| 473 |
pub const SidTypeWellKnownGroup: SID_NAME_USE = 5i32; |
| 474 |
pub const TOKEN_ACCESS_PSEUDO_HANDLE: TOKEN_ACCESS_MASK = 24u32; |
| 475 |
pub const TOKEN_ACCESS_PSEUDO_HANDLE_WIN8: TOKEN_ACCESS_MASK = 24u32; |
| 476 |
pub const TOKEN_ACCESS_SYSTEM_SECURITY: TOKEN_ACCESS_MASK = 16777216u32; |
| 477 |
pub const TOKEN_ADJUST_DEFAULT: TOKEN_ACCESS_MASK = 128u32; |
| 478 |
pub const TOKEN_ADJUST_GROUPS: TOKEN_ACCESS_MASK = 64u32; |
| 479 |
pub const TOKEN_ADJUST_PRIVILEGES: TOKEN_ACCESS_MASK = 32u32; |
| 480 |
pub const TOKEN_ADJUST_SESSIONID: TOKEN_ACCESS_MASK = 256u32; |
| 481 |
pub const TOKEN_ALL_ACCESS: TOKEN_ACCESS_MASK = 983551u32; |
| 482 |
pub const TOKEN_ASSIGN_PRIMARY: TOKEN_ACCESS_MASK = 1u32; |
| 483 |
pub const TOKEN_DELETE: TOKEN_ACCESS_MASK = 65536u32; |
| 484 |
pub const TOKEN_DUPLICATE: TOKEN_ACCESS_MASK = 2u32; |
| 485 |
pub const TOKEN_EXECUTE: TOKEN_ACCESS_MASK = 131072u32; |
| 486 |
pub const TOKEN_IMPERSONATE: TOKEN_ACCESS_MASK = 4u32; |
| 487 |
pub const TOKEN_MANDATORY_POLICY_NEW_PROCESS_MIN: TOKEN_MANDATORY_POLICY_ID = 2u32; |
| 488 |
pub const TOKEN_MANDATORY_POLICY_NO_WRITE_UP: TOKEN_MANDATORY_POLICY_ID = 1u32; |
| 489 |
pub const TOKEN_MANDATORY_POLICY_OFF: TOKEN_MANDATORY_POLICY_ID = 0u32; |
| 490 |
pub const TOKEN_MANDATORY_POLICY_VALID_MASK: TOKEN_MANDATORY_POLICY_ID = 3u32; |
| 491 |
pub const TOKEN_QUERY: TOKEN_ACCESS_MASK = 8u32; |
| 492 |
pub const TOKEN_QUERY_SOURCE: TOKEN_ACCESS_MASK = 16u32; |
| 493 |
pub const TOKEN_READ: TOKEN_ACCESS_MASK = 131080u32; |
| 494 |
pub const TOKEN_READ_CONTROL: TOKEN_ACCESS_MASK = 131072u32; |
| 495 |
pub const TOKEN_TRUST_CONSTRAINT_MASK: TOKEN_ACCESS_MASK = 131096u32; |
| 496 |
pub const TOKEN_WRITE: TOKEN_ACCESS_MASK = 131296u32; |
| 497 |
pub const TOKEN_WRITE_DAC: TOKEN_ACCESS_MASK = 262144u32; |
| 498 |
pub const TOKEN_WRITE_OWNER: TOKEN_ACCESS_MASK = 524288u32; |
| 499 |
pub const TokenAccessInformation: TOKEN_INFORMATION_CLASS = 22i32; |
| 500 |
pub const TokenAppContainerNumber: TOKEN_INFORMATION_CLASS = 32i32; |
| 501 |
pub const TokenAppContainerSid: TOKEN_INFORMATION_CLASS = 31i32; |
| 502 |
pub const TokenAuditPolicy: TOKEN_INFORMATION_CLASS = 16i32; |
| 503 |
pub const TokenBnoIsolation: TOKEN_INFORMATION_CLASS = 44i32; |
| 504 |
pub const TokenCapabilities: TOKEN_INFORMATION_CLASS = 30i32; |
| 505 |
pub const TokenChildProcessFlags: TOKEN_INFORMATION_CLASS = 45i32; |
| 506 |
pub const TokenDefaultDacl: TOKEN_INFORMATION_CLASS = 6i32; |
| 507 |
pub const TokenDeviceClaimAttributes: TOKEN_INFORMATION_CLASS = 34i32; |
| 508 |
pub const TokenDeviceGroups: TOKEN_INFORMATION_CLASS = 37i32; |
| 509 |
pub const TokenElevation: TOKEN_INFORMATION_CLASS = 20i32; |
| 510 |
pub const TokenElevationType: TOKEN_INFORMATION_CLASS = 18i32; |
| 511 |
pub const TokenElevationTypeDefault: TOKEN_ELEVATION_TYPE = 1i32; |
| 512 |
pub const TokenElevationTypeFull: TOKEN_ELEVATION_TYPE = 2i32; |
| 513 |
pub const TokenElevationTypeLimited: TOKEN_ELEVATION_TYPE = 3i32; |
| 514 |
pub const TokenGroups: TOKEN_INFORMATION_CLASS = 2i32; |
| 515 |
pub const TokenGroupsAndPrivileges: TOKEN_INFORMATION_CLASS = 13i32; |
| 516 |
pub const TokenHasRestrictions: TOKEN_INFORMATION_CLASS = 21i32; |
| 517 |
pub const TokenImpersonation: TOKEN_TYPE = 2i32; |
| 518 |
pub const TokenImpersonationLevel: TOKEN_INFORMATION_CLASS = 9i32; |
| 519 |
pub const TokenIntegrityLevel: TOKEN_INFORMATION_CLASS = 25i32; |
| 520 |
pub const TokenIsAppContainer: TOKEN_INFORMATION_CLASS = 29i32; |
| 521 |
pub const TokenIsAppSilo: TOKEN_INFORMATION_CLASS = 48i32; |
| 522 |
pub const TokenIsLessPrivilegedAppContainer: TOKEN_INFORMATION_CLASS = 46i32; |
| 523 |
pub const TokenIsRestricted: TOKEN_INFORMATION_CLASS = 40i32; |
| 524 |
pub const TokenIsSandboxed: TOKEN_INFORMATION_CLASS = 47i32; |
| 525 |
pub const TokenLinkedToken: TOKEN_INFORMATION_CLASS = 19i32; |
| 526 |
pub const TokenLogonSid: TOKEN_INFORMATION_CLASS = 28i32; |
| 527 |
pub const TokenMandatoryPolicy: TOKEN_INFORMATION_CLASS = 27i32; |
| 528 |
pub const TokenOrigin: TOKEN_INFORMATION_CLASS = 17i32; |
| 529 |
pub const TokenOwner: TOKEN_INFORMATION_CLASS = 4i32; |
| 530 |
pub const TokenPrimary: TOKEN_TYPE = 1i32; |
| 531 |
pub const TokenPrimaryGroup: TOKEN_INFORMATION_CLASS = 5i32; |
| 532 |
pub const TokenPrivateNameSpace: TOKEN_INFORMATION_CLASS = 42i32; |
| 533 |
pub const TokenPrivileges: TOKEN_INFORMATION_CLASS = 3i32; |
| 534 |
pub const TokenProcessTrustLevel: TOKEN_INFORMATION_CLASS = 41i32; |
| 535 |
pub const TokenRestrictedDeviceClaimAttributes: TOKEN_INFORMATION_CLASS = 36i32; |
| 536 |
pub const TokenRestrictedDeviceGroups: TOKEN_INFORMATION_CLASS = 38i32; |
| 537 |
pub const TokenRestrictedSids: TOKEN_INFORMATION_CLASS = 11i32; |
| 538 |
pub const TokenRestrictedUserClaimAttributes: TOKEN_INFORMATION_CLASS = 35i32; |
| 539 |
pub const TokenSandBoxInert: TOKEN_INFORMATION_CLASS = 15i32; |
| 540 |
pub const TokenSecurityAttributes: TOKEN_INFORMATION_CLASS = 39i32; |
| 541 |
pub const TokenSessionId: TOKEN_INFORMATION_CLASS = 12i32; |
| 542 |
pub const TokenSessionReference: TOKEN_INFORMATION_CLASS = 14i32; |
| 543 |
pub const TokenSingletonAttributes: TOKEN_INFORMATION_CLASS = 43i32; |
| 544 |
pub const TokenSource: TOKEN_INFORMATION_CLASS = 7i32; |
| 545 |
pub const TokenStatistics: TOKEN_INFORMATION_CLASS = 10i32; |
| 546 |
pub const TokenType: TOKEN_INFORMATION_CLASS = 8i32; |
| 547 |
pub const TokenUIAccess: TOKEN_INFORMATION_CLASS = 26i32; |
| 548 |
pub const TokenUser: TOKEN_INFORMATION_CLASS = 1i32; |
| 549 |
pub const TokenUserClaimAttributes: TOKEN_INFORMATION_CLASS = 33i32; |
| 550 |
pub const TokenVirtualizationAllowed: TOKEN_INFORMATION_CLASS = 23i32; |
| 551 |
pub const TokenVirtualizationEnabled: TOKEN_INFORMATION_CLASS = 24i32; |
| 552 |
pub const UNPROTECTED_DACL_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 536870912u32; |
| 553 |
pub const UNPROTECTED_SACL_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 268435456u32; |
| 554 |
pub const WRITE_RESTRICTED: CREATE_RESTRICTED_TOKEN_FLAGS = 8u32; |
| 555 |
pub const WinAccountAdministratorSid: WELL_KNOWN_SID_TYPE = 38i32; |
| 556 |
pub const WinAccountCertAdminsSid: WELL_KNOWN_SID_TYPE = 46i32; |
| 557 |
pub const WinAccountCloneableControllersSid: WELL_KNOWN_SID_TYPE = 100i32; |
| 558 |
pub const WinAccountComputersSid: WELL_KNOWN_SID_TYPE = 44i32; |
| 559 |
pub const WinAccountControllersSid: WELL_KNOWN_SID_TYPE = 45i32; |
| 560 |
pub const WinAccountDefaultSystemManagedSid: WELL_KNOWN_SID_TYPE = 110i32; |
| 561 |
pub const WinAccountDomainAdminsSid: WELL_KNOWN_SID_TYPE = 41i32; |
| 562 |
pub const WinAccountDomainGuestsSid: WELL_KNOWN_SID_TYPE = 43i32; |
| 563 |
pub const WinAccountDomainUsersSid: WELL_KNOWN_SID_TYPE = 42i32; |
| 564 |
pub const WinAccountEnterpriseAdminsSid: WELL_KNOWN_SID_TYPE = 48i32; |
| 565 |
pub const WinAccountEnterpriseKeyAdminsSid: WELL_KNOWN_SID_TYPE = 114i32; |
| 566 |
pub const WinAccountGuestSid: WELL_KNOWN_SID_TYPE = 39i32; |
| 567 |
pub const WinAccountKeyAdminsSid: WELL_KNOWN_SID_TYPE = 113i32; |
| 568 |
pub const WinAccountKrbtgtSid: WELL_KNOWN_SID_TYPE = 40i32; |
| 569 |
pub const WinAccountPolicyAdminsSid: WELL_KNOWN_SID_TYPE = 49i32; |
| 570 |
pub const WinAccountProtectedUsersSid: WELL_KNOWN_SID_TYPE = 107i32; |
| 571 |
pub const WinAccountRasAndIasServersSid: WELL_KNOWN_SID_TYPE = 50i32; |
| 572 |
pub const WinAccountReadonlyControllersSid: WELL_KNOWN_SID_TYPE = 75i32; |
| 573 |
pub const WinAccountSchemaAdminsSid: WELL_KNOWN_SID_TYPE = 47i32; |
| 574 |
pub const WinAnonymousSid: WELL_KNOWN_SID_TYPE = 13i32; |
| 575 |
pub const WinApplicationPackageAuthoritySid: WELL_KNOWN_SID_TYPE = 83i32; |
| 576 |
pub const WinAuthenticatedUserSid: WELL_KNOWN_SID_TYPE = 17i32; |
| 577 |
pub const WinAuthenticationAuthorityAssertedSid: WELL_KNOWN_SID_TYPE = 103i32; |
| 578 |
pub const WinAuthenticationFreshKeyAuthSid: WELL_KNOWN_SID_TYPE = 118i32; |
| 579 |
pub const WinAuthenticationKeyPropertyAttestationSid: WELL_KNOWN_SID_TYPE = 117i32; |
| 580 |
pub const WinAuthenticationKeyPropertyMFASid: WELL_KNOWN_SID_TYPE = 116i32; |
| 581 |
pub const WinAuthenticationKeyTrustSid: WELL_KNOWN_SID_TYPE = 115i32; |
| 582 |
pub const WinAuthenticationServiceAssertedSid: WELL_KNOWN_SID_TYPE = 104i32; |
| 583 |
pub const WinBatchSid: WELL_KNOWN_SID_TYPE = 10i32; |
| 584 |
pub const WinBuiltinAccessControlAssistanceOperatorsSid: WELL_KNOWN_SID_TYPE = 101i32; |
| 585 |
pub const WinBuiltinAccountOperatorsSid: WELL_KNOWN_SID_TYPE = 30i32; |
| 586 |
pub const WinBuiltinAdministratorsSid: WELL_KNOWN_SID_TYPE = 26i32; |
| 587 |
pub const WinBuiltinAnyPackageSid: WELL_KNOWN_SID_TYPE = 84i32; |
| 588 |
pub const WinBuiltinAuthorizationAccessSid: WELL_KNOWN_SID_TYPE = 59i32; |
| 589 |
pub const WinBuiltinBackupOperatorsSid: WELL_KNOWN_SID_TYPE = 33i32; |
| 590 |
pub const WinBuiltinCertSvcDComAccessGroup: WELL_KNOWN_SID_TYPE = 78i32; |
| 591 |
pub const WinBuiltinCryptoOperatorsSid: WELL_KNOWN_SID_TYPE = 64i32; |
| 592 |
pub const WinBuiltinDCOMUsersSid: WELL_KNOWN_SID_TYPE = 61i32; |
| 593 |
pub const WinBuiltinDefaultSystemManagedGroupSid: WELL_KNOWN_SID_TYPE = 111i32; |
| 594 |
pub const WinBuiltinDeviceOwnersSid: WELL_KNOWN_SID_TYPE = 119i32; |
| 595 |
pub const WinBuiltinDomainSid: WELL_KNOWN_SID_TYPE = 25i32; |
| 596 |
pub const WinBuiltinEventLogReadersGroup: WELL_KNOWN_SID_TYPE = 76i32; |
| 597 |
pub const WinBuiltinGuestsSid: WELL_KNOWN_SID_TYPE = 28i32; |
| 598 |
pub const WinBuiltinHyperVAdminsSid: WELL_KNOWN_SID_TYPE = 99i32; |
| 599 |
pub const WinBuiltinIUsersSid: WELL_KNOWN_SID_TYPE = 62i32; |
| 600 |
pub const WinBuiltinIncomingForestTrustBuildersSid: WELL_KNOWN_SID_TYPE = 56i32; |
| 601 |
pub const WinBuiltinNetworkConfigurationOperatorsSid: WELL_KNOWN_SID_TYPE = 37i32; |
| 602 |
pub const WinBuiltinPerfLoggingUsersSid: WELL_KNOWN_SID_TYPE = 58i32; |
| 603 |
pub const WinBuiltinPerfMonitoringUsersSid: WELL_KNOWN_SID_TYPE = 57i32; |
| 604 |
pub const WinBuiltinPowerUsersSid: WELL_KNOWN_SID_TYPE = 29i32; |
| 605 |
pub const WinBuiltinPreWindows2000CompatibleAccessSid: WELL_KNOWN_SID_TYPE = 35i32; |
| 606 |
pub const WinBuiltinPrintOperatorsSid: WELL_KNOWN_SID_TYPE = 32i32; |
| 607 |
pub const WinBuiltinRDSEndpointServersSid: WELL_KNOWN_SID_TYPE = 96i32; |
| 608 |
pub const WinBuiltinRDSManagementServersSid: WELL_KNOWN_SID_TYPE = 97i32; |
| 609 |
pub const WinBuiltinRDSRemoteAccessServersSid: WELL_KNOWN_SID_TYPE = 95i32; |
| 610 |
pub const WinBuiltinRemoteDesktopUsersSid: WELL_KNOWN_SID_TYPE = 36i32; |
| 611 |
pub const WinBuiltinRemoteManagementUsersSid: WELL_KNOWN_SID_TYPE = 102i32; |
| 612 |
pub const WinBuiltinReplicatorSid: WELL_KNOWN_SID_TYPE = 34i32; |
| 613 |
pub const WinBuiltinStorageReplicaAdminsSid: WELL_KNOWN_SID_TYPE = 112i32; |
| 614 |
pub const WinBuiltinSystemOperatorsSid: WELL_KNOWN_SID_TYPE = 31i32; |
| 615 |
pub const WinBuiltinTerminalServerLicenseServersSid: WELL_KNOWN_SID_TYPE = 60i32; |
| 616 |
pub const WinBuiltinUsersSid: WELL_KNOWN_SID_TYPE = 27i32; |
| 617 |
pub const WinCacheablePrincipalsGroupSid: WELL_KNOWN_SID_TYPE = 72i32; |
| 618 |
pub const WinCapabilityAppointmentsSid: WELL_KNOWN_SID_TYPE = 108i32; |
| 619 |
pub const WinCapabilityContactsSid: WELL_KNOWN_SID_TYPE = 109i32; |
| 620 |
pub const WinCapabilityDocumentsLibrarySid: WELL_KNOWN_SID_TYPE = 91i32; |
| 621 |
pub const WinCapabilityEnterpriseAuthenticationSid: WELL_KNOWN_SID_TYPE = 93i32; |
| 622 |
pub const WinCapabilityInternetClientServerSid: WELL_KNOWN_SID_TYPE = 86i32; |
| 623 |
pub const WinCapabilityInternetClientSid: WELL_KNOWN_SID_TYPE = 85i32; |
| 624 |
pub const WinCapabilityMusicLibrarySid: WELL_KNOWN_SID_TYPE = 90i32; |
| 625 |
pub const WinCapabilityPicturesLibrarySid: WELL_KNOWN_SID_TYPE = 88i32; |
| 626 |
pub const WinCapabilityPrivateNetworkClientServerSid: WELL_KNOWN_SID_TYPE = 87i32; |
| 627 |
pub const WinCapabilityRemovableStorageSid: WELL_KNOWN_SID_TYPE = 94i32; |
| 628 |
pub const WinCapabilitySharedUserCertificatesSid: WELL_KNOWN_SID_TYPE = 92i32; |
| 629 |
pub const WinCapabilityVideosLibrarySid: WELL_KNOWN_SID_TYPE = 89i32; |
| 630 |
pub const WinConsoleLogonSid: WELL_KNOWN_SID_TYPE = 81i32; |
| 631 |
pub const WinCreatorGroupServerSid: WELL_KNOWN_SID_TYPE = 6i32; |
| 632 |
pub const WinCreatorGroupSid: WELL_KNOWN_SID_TYPE = 4i32; |
| 633 |
pub const WinCreatorOwnerRightsSid: WELL_KNOWN_SID_TYPE = 71i32; |
| 634 |
pub const WinCreatorOwnerServerSid: WELL_KNOWN_SID_TYPE = 5i32; |
| 635 |
pub const WinCreatorOwnerSid: WELL_KNOWN_SID_TYPE = 3i32; |
| 636 |
pub const WinDialupSid: WELL_KNOWN_SID_TYPE = 8i32; |
| 637 |
pub const WinDigestAuthenticationSid: WELL_KNOWN_SID_TYPE = 52i32; |
| 638 |
pub const WinEnterpriseControllersSid: WELL_KNOWN_SID_TYPE = 15i32; |
| 639 |
pub const WinEnterpriseReadonlyControllersSid: WELL_KNOWN_SID_TYPE = 74i32; |
| 640 |
pub const WinHighLabelSid: WELL_KNOWN_SID_TYPE = 68i32; |
| 641 |
pub const WinIUserSid: WELL_KNOWN_SID_TYPE = 63i32; |
| 642 |
pub const WinInteractiveSid: WELL_KNOWN_SID_TYPE = 11i32; |
| 643 |
pub const WinLocalAccountAndAdministratorSid: WELL_KNOWN_SID_TYPE = 106i32; |
| 644 |
pub const WinLocalAccountSid: WELL_KNOWN_SID_TYPE = 105i32; |
| 645 |
pub const WinLocalLogonSid: WELL_KNOWN_SID_TYPE = 80i32; |
| 646 |
pub const WinLocalServiceSid: WELL_KNOWN_SID_TYPE = 23i32; |
| 647 |
pub const WinLocalSid: WELL_KNOWN_SID_TYPE = 2i32; |
| 648 |
pub const WinLocalSystemSid: WELL_KNOWN_SID_TYPE = 22i32; |
| 649 |
pub const WinLogonIdsSid: WELL_KNOWN_SID_TYPE = 21i32; |
| 650 |
pub const WinLowLabelSid: WELL_KNOWN_SID_TYPE = 66i32; |
| 651 |
pub const WinMediumLabelSid: WELL_KNOWN_SID_TYPE = 67i32; |
| 652 |
pub const WinMediumPlusLabelSid: WELL_KNOWN_SID_TYPE = 79i32; |
| 653 |
pub const WinNTLMAuthenticationSid: WELL_KNOWN_SID_TYPE = 51i32; |
| 654 |
pub const WinNetworkServiceSid: WELL_KNOWN_SID_TYPE = 24i32; |
| 655 |
pub const WinNetworkSid: WELL_KNOWN_SID_TYPE = 9i32; |
| 656 |
pub const WinNewEnterpriseReadonlyControllersSid: WELL_KNOWN_SID_TYPE = 77i32; |
| 657 |
pub const WinNonCacheablePrincipalsGroupSid: WELL_KNOWN_SID_TYPE = 73i32; |
| 658 |
pub const WinNtAuthoritySid: WELL_KNOWN_SID_TYPE = 7i32; |
| 659 |
pub const WinNullSid: WELL_KNOWN_SID_TYPE = 0i32; |
| 660 |
pub const WinOtherOrganizationSid: WELL_KNOWN_SID_TYPE = 55i32; |
| 661 |
pub const WinProxySid: WELL_KNOWN_SID_TYPE = 14i32; |
| 662 |
pub const WinRemoteLogonIdSid: WELL_KNOWN_SID_TYPE = 20i32; |
| 663 |
pub const WinRestrictedCodeSid: WELL_KNOWN_SID_TYPE = 18i32; |
| 664 |
pub const WinSChannelAuthenticationSid: WELL_KNOWN_SID_TYPE = 53i32; |
| 665 |
pub const WinSelfSid: WELL_KNOWN_SID_TYPE = 16i32; |
| 666 |
pub const WinServiceSid: WELL_KNOWN_SID_TYPE = 12i32; |
| 667 |
pub const WinSystemLabelSid: WELL_KNOWN_SID_TYPE = 69i32; |
| 668 |
pub const WinTerminalServerSid: WELL_KNOWN_SID_TYPE = 19i32; |
| 669 |
pub const WinThisOrganizationCertificateSid: WELL_KNOWN_SID_TYPE = 82i32; |
| 670 |
pub const WinThisOrganizationSid: WELL_KNOWN_SID_TYPE = 54i32; |
| 671 |
pub const WinUntrustedLabelSid: WELL_KNOWN_SID_TYPE = 65i32; |
| 672 |
pub const WinUserModeDriversSid: WELL_KNOWN_SID_TYPE = 98i32; |
| 673 |
pub const WinWorldSid: WELL_KNOWN_SID_TYPE = 1i32; |
| 674 |
pub const WinWriteRestrictedCodeSid: WELL_KNOWN_SID_TYPE = 70i32; |
| 675 |
pub const cwcFILENAMESUFFIXMAX: u32 = 20u32; |
| 676 |
pub const cwcHRESULTSTRING: u32 = 40u32; |
| 677 |
pub const szLBRACE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("{"); |
| 678 |
pub const szLPAREN: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("("); |
| 679 |
pub const szRBRACE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("}"); |
| 680 |
pub const szRPAREN: ::windows_sys::core::PCSTR = ::windows_sys::core::s!(")"); |
| 681 |
pub const wszCERTENROLLSHAREPATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertSrv\\CertEnroll"); |
| 682 |
pub const wszFCSAPARM_CERTFILENAMESUFFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%4"); |
| 683 |
pub const wszFCSAPARM_CONFIGDN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%6"); |
| 684 |
pub const wszFCSAPARM_CRLDELTAFILENAMESUFFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%9"); |
| 685 |
pub const wszFCSAPARM_CRLFILENAMESUFFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%8"); |
| 686 |
pub const wszFCSAPARM_DOMAINDN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%5"); |
| 687 |
pub const wszFCSAPARM_DSCACERTATTRIBUTE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%11"); |
| 688 |
pub const wszFCSAPARM_DSCRLATTRIBUTE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%10"); |
| 689 |
pub const wszFCSAPARM_DSCROSSCERTPAIRATTRIBUTE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%14"); |
| 690 |
pub const wszFCSAPARM_DSKRACERTATTRIBUTE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%13"); |
| 691 |
pub const wszFCSAPARM_DSUSERCERTATTRIBUTE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%12"); |
| 692 |
pub const wszFCSAPARM_SANITIZEDCANAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%3"); |
| 693 |
pub const wszFCSAPARM_SANITIZEDCANAMEHASH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%7"); |
| 694 |
pub const wszFCSAPARM_SERVERDNSNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%1"); |
| 695 |
pub const wszFCSAPARM_SERVERSHORTNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%2"); |
| 696 |
pub const wszLBRACE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("{"); |
| 697 |
pub const wszLPAREN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("("); |
| 698 |
pub const wszRBRACE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("}"); |
| 699 |
pub const wszRPAREN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(")"); |
| 700 |
pub type ACE_FLAGS = u32; |
| 701 |
pub type ACE_REVISION = u32; |
| 702 |
pub type ACL_INFORMATION_CLASS = i32; |
| 703 |
pub type AUDIT_EVENT_TYPE = i32; |
| 704 |
pub type CLAIM_SECURITY_ATTRIBUTE_FLAGS = u32; |
| 705 |
pub type CLAIM_SECURITY_ATTRIBUTE_VALUE_TYPE = u16; |
| 706 |
pub type CREATE_RESTRICTED_TOKEN_FLAGS = u32; |
| 707 |
pub type ENUM_PERIOD = i32; |
| 708 |
pub type LOGON32_LOGON = u32; |
| 709 |
pub type LOGON32_PROVIDER = u32; |
| 710 |
pub type MANDATORY_LEVEL = i32; |
| 711 |
pub type OBJECT_SECURITY_INFORMATION = u32; |
| 712 |
pub type SECURITY_AUTO_INHERIT_FLAGS = u32; |
| 713 |
pub type SECURITY_DESCRIPTOR_CONTROL = u16; |
| 714 |
pub type SECURITY_IMPERSONATION_LEVEL = i32; |
| 715 |
pub type SID_NAME_USE = i32; |
| 716 |
pub type SYSTEM_AUDIT_OBJECT_ACE_FLAGS = u32; |
| 717 |
pub type TOKEN_ACCESS_MASK = u32; |
| 718 |
pub type TOKEN_ELEVATION_TYPE = i32; |
| 719 |
pub type TOKEN_INFORMATION_CLASS = i32; |
| 720 |
pub type TOKEN_MANDATORY_POLICY_ID = u32; |
| 721 |
pub type TOKEN_PRIVILEGES_ATTRIBUTES = u32; |
| 722 |
pub type TOKEN_TYPE = i32; |
| 723 |
pub type WELL_KNOWN_SID_TYPE = i32; |
| 724 |
#[repr(C)] |
| 725 |
pub struct ACCESS_ALLOWED_ACE { |
| 726 |
pub Header: ACE_HEADER, |
| 727 |
pub Mask: u32, |
| 728 |
pub SidStart: u32, |
| 729 |
} |
| 730 |
impl ::core::marker::Copy for ACCESS_ALLOWED_ACE {} |
| 731 |
impl ::core::clone::Clone for ACCESS_ALLOWED_ACE { |
| 732 |
fn clone(&self) -> Self { |
| 733 |
*self |
| 734 |
} |
| 735 |
} |
| 736 |
#[repr(C)] |
| 737 |
pub struct ACCESS_ALLOWED_CALLBACK_ACE { |
| 738 |
pub Header: ACE_HEADER, |
| 739 |
pub Mask: u32, |
| 740 |
pub SidStart: u32, |
| 741 |
} |
| 742 |
impl ::core::marker::Copy for ACCESS_ALLOWED_CALLBACK_ACE {} |
| 743 |
impl ::core::clone::Clone for ACCESS_ALLOWED_CALLBACK_ACE { |
| 744 |
fn clone(&self) -> Self { |
| 745 |
*self |
| 746 |
} |
| 747 |
} |
| 748 |
#[repr(C)] |
| 749 |
pub struct ACCESS_ALLOWED_CALLBACK_OBJECT_ACE { |
| 750 |
pub Header: ACE_HEADER, |
| 751 |
pub Mask: u32, |
| 752 |
pub Flags: SYSTEM_AUDIT_OBJECT_ACE_FLAGS, |
| 753 |
pub ObjectType: ::windows_sys::core::GUID, |
| 754 |
pub InheritedObjectType: ::windows_sys::core::GUID, |
| 755 |
pub SidStart: u32, |
| 756 |
} |
| 757 |
impl ::core::marker::Copy for ACCESS_ALLOWED_CALLBACK_OBJECT_ACE {} |
| 758 |
impl ::core::clone::Clone for ACCESS_ALLOWED_CALLBACK_OBJECT_ACE { |
| 759 |
fn clone(&self) -> Self { |
| 760 |
*self |
| 761 |
} |
| 762 |
} |
| 763 |
#[repr(C)] |
| 764 |
pub struct ACCESS_ALLOWED_OBJECT_ACE { |
| 765 |
pub Header: ACE_HEADER, |
| 766 |
pub Mask: u32, |
| 767 |
pub Flags: SYSTEM_AUDIT_OBJECT_ACE_FLAGS, |
| 768 |
pub ObjectType: ::windows_sys::core::GUID, |
| 769 |
pub InheritedObjectType: ::windows_sys::core::GUID, |
| 770 |
pub SidStart: u32, |
| 771 |
} |
| 772 |
impl ::core::marker::Copy for ACCESS_ALLOWED_OBJECT_ACE {} |
| 773 |
impl ::core::clone::Clone for ACCESS_ALLOWED_OBJECT_ACE { |
| 774 |
fn clone(&self) -> Self { |
| 775 |
*self |
| 776 |
} |
| 777 |
} |
| 778 |
#[repr(C)] |
| 779 |
pub struct ACCESS_DENIED_ACE { |
| 780 |
pub Header: ACE_HEADER, |
| 781 |
pub Mask: u32, |
| 782 |
pub SidStart: u32, |
| 783 |
} |
| 784 |
impl ::core::marker::Copy for ACCESS_DENIED_ACE {} |
| 785 |
impl ::core::clone::Clone for ACCESS_DENIED_ACE { |
| 786 |
fn clone(&self) -> Self { |
| 787 |
*self |
| 788 |
} |
| 789 |
} |
| 790 |
#[repr(C)] |
| 791 |
pub struct ACCESS_DENIED_CALLBACK_ACE { |
| 792 |
pub Header: ACE_HEADER, |
| 793 |
pub Mask: u32, |
| 794 |
pub SidStart: u32, |
| 795 |
} |
| 796 |
impl ::core::marker::Copy for ACCESS_DENIED_CALLBACK_ACE {} |
| 797 |
impl ::core::clone::Clone for ACCESS_DENIED_CALLBACK_ACE { |
| 798 |
fn clone(&self) -> Self { |
| 799 |
*self |
| 800 |
} |
| 801 |
} |
| 802 |
#[repr(C)] |
| 803 |
pub struct ACCESS_DENIED_CALLBACK_OBJECT_ACE { |
| 804 |
pub Header: ACE_HEADER, |
| 805 |
pub Mask: u32, |
| 806 |
pub Flags: SYSTEM_AUDIT_OBJECT_ACE_FLAGS, |
| 807 |
pub ObjectType: ::windows_sys::core::GUID, |
| 808 |
pub InheritedObjectType: ::windows_sys::core::GUID, |
| 809 |
pub SidStart: u32, |
| 810 |
} |
| 811 |
impl ::core::marker::Copy for ACCESS_DENIED_CALLBACK_OBJECT_ACE {} |
| 812 |
impl ::core::clone::Clone for ACCESS_DENIED_CALLBACK_OBJECT_ACE { |
| 813 |
fn clone(&self) -> Self { |
| 814 |
*self |
| 815 |
} |
| 816 |
} |
| 817 |
#[repr(C)] |
| 818 |
pub struct ACCESS_DENIED_OBJECT_ACE { |
| 819 |
pub Header: ACE_HEADER, |
| 820 |
pub Mask: u32, |
| 821 |
pub Flags: SYSTEM_AUDIT_OBJECT_ACE_FLAGS, |
| 822 |
pub ObjectType: ::windows_sys::core::GUID, |
| 823 |
pub InheritedObjectType: ::windows_sys::core::GUID, |
| 824 |
pub SidStart: u32, |
| 825 |
} |
| 826 |
impl ::core::marker::Copy for ACCESS_DENIED_OBJECT_ACE {} |
| 827 |
impl ::core::clone::Clone for ACCESS_DENIED_OBJECT_ACE { |
| 828 |
fn clone(&self) -> Self { |
| 829 |
*self |
| 830 |
} |
| 831 |
} |
| 832 |
#[repr(C)] |
| 833 |
pub struct ACCESS_REASONS { |
| 834 |
pub Data: [u32; 32], |
| 835 |
} |
| 836 |
impl ::core::marker::Copy for ACCESS_REASONS {} |
| 837 |
impl ::core::clone::Clone for ACCESS_REASONS { |
| 838 |
fn clone(&self) -> Self { |
| 839 |
*self |
| 840 |
} |
| 841 |
} |
| 842 |
#[repr(C)] |
| 843 |
pub struct ACE_HEADER { |
| 844 |
pub AceType: u8, |
| 845 |
pub AceFlags: u8, |
| 846 |
pub AceSize: u16, |
| 847 |
} |
| 848 |
impl ::core::marker::Copy for ACE_HEADER {} |
| 849 |
impl ::core::clone::Clone for ACE_HEADER { |
| 850 |
fn clone(&self) -> Self { |
| 851 |
*self |
| 852 |
} |
| 853 |
} |
| 854 |
#[repr(C)] |
| 855 |
pub struct ACL { |
| 856 |
pub AclRevision: u8, |
| 857 |
pub Sbz1: u8, |
| 858 |
pub AclSize: u16, |
| 859 |
pub AceCount: u16, |
| 860 |
pub Sbz2: u16, |
| 861 |
} |
| 862 |
impl ::core::marker::Copy for ACL {} |
| 863 |
impl ::core::clone::Clone for ACL { |
| 864 |
fn clone(&self) -> Self { |
| 865 |
*self |
| 866 |
} |
| 867 |
} |
| 868 |
#[repr(C)] |
| 869 |
pub struct ACL_REVISION_INFORMATION { |
| 870 |
pub AclRevision: u32, |
| 871 |
} |
| 872 |
impl ::core::marker::Copy for ACL_REVISION_INFORMATION {} |
| 873 |
impl ::core::clone::Clone for ACL_REVISION_INFORMATION { |
| 874 |
fn clone(&self) -> Self { |
| 875 |
*self |
| 876 |
} |
| 877 |
} |
| 878 |
#[repr(C)] |
| 879 |
pub struct ACL_SIZE_INFORMATION { |
| 880 |
pub AceCount: u32, |
| 881 |
pub AclBytesInUse: u32, |
| 882 |
pub AclBytesFree: u32, |
| 883 |
} |
| 884 |
impl ::core::marker::Copy for ACL_SIZE_INFORMATION {} |
| 885 |
impl ::core::clone::Clone for ACL_SIZE_INFORMATION { |
| 886 |
fn clone(&self) -> Self { |
| 887 |
*self |
| 888 |
} |
| 889 |
} |
| 890 |
#[repr(C)] |
| 891 |
pub struct CLAIM_SECURITY_ATTRIBUTES_INFORMATION { |
| 892 |
pub Version: u16, |
| 893 |
pub Reserved: u16, |
| 894 |
pub AttributeCount: u32, |
| 895 |
pub Attribute: CLAIM_SECURITY_ATTRIBUTES_INFORMATION_0, |
| 896 |
} |
| 897 |
impl ::core::marker::Copy for CLAIM_SECURITY_ATTRIBUTES_INFORMATION {} |
| 898 |
impl ::core::clone::Clone for CLAIM_SECURITY_ATTRIBUTES_INFORMATION { |
| 899 |
fn clone(&self) -> Self { |
| 900 |
*self |
| 901 |
} |
| 902 |
} |
| 903 |
#[repr(C)] |
| 904 |
pub union CLAIM_SECURITY_ATTRIBUTES_INFORMATION_0 { |
| 905 |
pub pAttributeV1: *mut CLAIM_SECURITY_ATTRIBUTE_V1, |
| 906 |
} |
| 907 |
impl ::core::marker::Copy for CLAIM_SECURITY_ATTRIBUTES_INFORMATION_0 {} |
| 908 |
impl ::core::clone::Clone for CLAIM_SECURITY_ATTRIBUTES_INFORMATION_0 { |
| 909 |
fn clone(&self) -> Self { |
| 910 |
*self |
| 911 |
} |
| 912 |
} |
| 913 |
#[repr(C)] |
| 914 |
pub struct CLAIM_SECURITY_ATTRIBUTE_FQBN_VALUE { |
| 915 |
pub Version: u64, |
| 916 |
pub Name: ::windows_sys::core::PWSTR, |
| 917 |
} |
| 918 |
impl ::core::marker::Copy for CLAIM_SECURITY_ATTRIBUTE_FQBN_VALUE {} |
| 919 |
impl ::core::clone::Clone for CLAIM_SECURITY_ATTRIBUTE_FQBN_VALUE { |
| 920 |
fn clone(&self) -> Self { |
| 921 |
*self |
| 922 |
} |
| 923 |
} |
| 924 |
#[repr(C)] |
| 925 |
pub struct CLAIM_SECURITY_ATTRIBUTE_OCTET_STRING_VALUE { |
| 926 |
pub pValue: *mut ::core::ffi::c_void, |
| 927 |
pub ValueLength: u32, |
| 928 |
} |
| 929 |
impl ::core::marker::Copy for CLAIM_SECURITY_ATTRIBUTE_OCTET_STRING_VALUE {} |
| 930 |
impl ::core::clone::Clone for CLAIM_SECURITY_ATTRIBUTE_OCTET_STRING_VALUE { |
| 931 |
fn clone(&self) -> Self { |
| 932 |
*self |
| 933 |
} |
| 934 |
} |
| 935 |
#[repr(C)] |
| 936 |
pub struct CLAIM_SECURITY_ATTRIBUTE_RELATIVE_V1 { |
| 937 |
pub Name: u32, |
| 938 |
pub ValueType: CLAIM_SECURITY_ATTRIBUTE_VALUE_TYPE, |
| 939 |
pub Reserved: u16, |
| 940 |
pub Flags: CLAIM_SECURITY_ATTRIBUTE_FLAGS, |
| 941 |
pub ValueCount: u32, |
| 942 |
pub Values: CLAIM_SECURITY_ATTRIBUTE_RELATIVE_V1_0, |
| 943 |
} |
| 944 |
impl ::core::marker::Copy for CLAIM_SECURITY_ATTRIBUTE_RELATIVE_V1 {} |
| 945 |
impl ::core::clone::Clone for CLAIM_SECURITY_ATTRIBUTE_RELATIVE_V1 { |
| 946 |
fn clone(&self) -> Self { |
| 947 |
*self |
| 948 |
} |
| 949 |
} |
| 950 |
#[repr(C)] |
| 951 |
pub union CLAIM_SECURITY_ATTRIBUTE_RELATIVE_V1_0 { |
| 952 |
pub pInt64: [u32; 1], |
| 953 |
pub pUint64: [u32; 1], |
| 954 |
pub ppString: [u32; 1], |
| 955 |
pub pFqbn: [u32; 1], |
| 956 |
pub pOctetString: [u32; 1], |
| 957 |
} |
| 958 |
impl ::core::marker::Copy for CLAIM_SECURITY_ATTRIBUTE_RELATIVE_V1_0 {} |
| 959 |
impl ::core::clone::Clone for CLAIM_SECURITY_ATTRIBUTE_RELATIVE_V1_0 { |
| 960 |
fn clone(&self) -> Self { |
| 961 |
*self |
| 962 |
} |
| 963 |
} |
| 964 |
#[repr(C)] |
| 965 |
pub struct CLAIM_SECURITY_ATTRIBUTE_V1 { |
| 966 |
pub Name: ::windows_sys::core::PWSTR, |
| 967 |
pub ValueType: CLAIM_SECURITY_ATTRIBUTE_VALUE_TYPE, |
| 968 |
pub Reserved: u16, |
| 969 |
pub Flags: u32, |
| 970 |
pub ValueCount: u32, |
| 971 |
pub Values: CLAIM_SECURITY_ATTRIBUTE_V1_0, |
| 972 |
} |
| 973 |
impl ::core::marker::Copy for CLAIM_SECURITY_ATTRIBUTE_V1 {} |
| 974 |
impl ::core::clone::Clone for CLAIM_SECURITY_ATTRIBUTE_V1 { |
| 975 |
fn clone(&self) -> Self { |
| 976 |
*self |
| 977 |
} |
| 978 |
} |
| 979 |
#[repr(C)] |
| 980 |
pub union CLAIM_SECURITY_ATTRIBUTE_V1_0 { |
| 981 |
pub pInt64: *mut i64, |
| 982 |
pub pUint64: *mut u64, |
| 983 |
pub ppString: *mut ::windows_sys::core::PWSTR, |
| 984 |
pub pFqbn: *mut CLAIM_SECURITY_ATTRIBUTE_FQBN_VALUE, |
| 985 |
pub pOctetString: *mut CLAIM_SECURITY_ATTRIBUTE_OCTET_STRING_VALUE, |
| 986 |
} |
| 987 |
impl ::core::marker::Copy for CLAIM_SECURITY_ATTRIBUTE_V1_0 {} |
| 988 |
impl ::core::clone::Clone for CLAIM_SECURITY_ATTRIBUTE_V1_0 { |
| 989 |
fn clone(&self) -> Self { |
| 990 |
*self |
| 991 |
} |
| 992 |
} |
| 993 |
#[repr(C)] |
| 994 |
pub struct GENERIC_MAPPING { |
| 995 |
pub GenericRead: u32, |
| 996 |
pub GenericWrite: u32, |
| 997 |
pub GenericExecute: u32, |
| 998 |
pub GenericAll: u32, |
| 999 |
} |
| 1000 |
impl ::core::marker::Copy for GENERIC_MAPPING {} |
| 1001 |
impl ::core::clone::Clone for GENERIC_MAPPING { |
| 1002 |
fn clone(&self) -> Self { |
| 1003 |
*self |
| 1004 |
} |
| 1005 |
} |
| 1006 |
pub type HDIAGNOSTIC_DATA_QUERY_SESSION = isize; |
| 1007 |
pub type HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION = isize; |
| 1008 |
pub type HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION = isize; |
| 1009 |
pub type HDIAGNOSTIC_EVENT_TAG_DESCRIPTION = isize; |
| 1010 |
pub type HDIAGNOSTIC_RECORD = isize; |
| 1011 |
pub type HDIAGNOSTIC_REPORT = isize; |
| 1012 |
#[repr(C)] |
| 1013 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1014 |
#[cfg(feature = "Win32_Foundation")] |
| 1015 |
pub struct LLFILETIME { |
| 1016 |
pub Anonymous: LLFILETIME_0, |
| 1017 |
} |
| 1018 |
#[cfg(feature = "Win32_Foundation")] |
| 1019 |
impl ::core::marker::Copy for LLFILETIME {} |
| 1020 |
#[cfg(feature = "Win32_Foundation")] |
| 1021 |
impl ::core::clone::Clone for LLFILETIME { |
| 1022 |
fn clone(&self) -> Self { |
| 1023 |
*self |
| 1024 |
} |
| 1025 |
} |
| 1026 |
#[repr(C)] |
| 1027 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1028 |
#[cfg(feature = "Win32_Foundation")] |
| 1029 |
pub union LLFILETIME_0 { |
| 1030 |
pub ll: i64, |
| 1031 |
pub ft: super::Foundation::FILETIME, |
| 1032 |
} |
| 1033 |
#[cfg(feature = "Win32_Foundation")] |
| 1034 |
impl ::core::marker::Copy for LLFILETIME_0 {} |
| 1035 |
#[cfg(feature = "Win32_Foundation")] |
| 1036 |
impl ::core::clone::Clone for LLFILETIME_0 { |
| 1037 |
fn clone(&self) -> Self { |
| 1038 |
*self |
| 1039 |
} |
| 1040 |
} |
| 1041 |
#[repr(C)] |
| 1042 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1043 |
#[cfg(feature = "Win32_Foundation")] |
| 1044 |
pub struct LUID_AND_ATTRIBUTES { |
| 1045 |
pub Luid: super::Foundation::LUID, |
| 1046 |
pub Attributes: TOKEN_PRIVILEGES_ATTRIBUTES, |
| 1047 |
} |
| 1048 |
#[cfg(feature = "Win32_Foundation")] |
| 1049 |
impl ::core::marker::Copy for LUID_AND_ATTRIBUTES {} |
| 1050 |
#[cfg(feature = "Win32_Foundation")] |
| 1051 |
impl ::core::clone::Clone for LUID_AND_ATTRIBUTES { |
| 1052 |
fn clone(&self) -> Self { |
| 1053 |
*self |
| 1054 |
} |
| 1055 |
} |
| 1056 |
pub type NCRYPT_DESCRIPTOR_HANDLE = isize; |
| 1057 |
pub type NCRYPT_STREAM_HANDLE = isize; |
| 1058 |
#[repr(C)] |
| 1059 |
pub struct OBJECT_TYPE_LIST { |
| 1060 |
pub Level: u16, |
| 1061 |
pub Sbz: u16, |
| 1062 |
pub ObjectType: *mut ::windows_sys::core::GUID, |
| 1063 |
} |
| 1064 |
impl ::core::marker::Copy for OBJECT_TYPE_LIST {} |
| 1065 |
impl ::core::clone::Clone for OBJECT_TYPE_LIST { |
| 1066 |
fn clone(&self) -> Self { |
| 1067 |
*self |
| 1068 |
} |
| 1069 |
} |
| 1070 |
#[repr(C)] |
| 1071 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1072 |
#[cfg(feature = "Win32_Foundation")] |
| 1073 |
pub struct PRIVILEGE_SET { |
| 1074 |
pub PrivilegeCount: u32, |
| 1075 |
pub Control: u32, |
| 1076 |
pub Privilege: [LUID_AND_ATTRIBUTES; 1], |
| 1077 |
} |
| 1078 |
#[cfg(feature = "Win32_Foundation")] |
| 1079 |
impl ::core::marker::Copy for PRIVILEGE_SET {} |
| 1080 |
#[cfg(feature = "Win32_Foundation")] |
| 1081 |
impl ::core::clone::Clone for PRIVILEGE_SET { |
| 1082 |
fn clone(&self) -> Self { |
| 1083 |
*self |
| 1084 |
} |
| 1085 |
} |
| 1086 |
pub type PSECURITY_DESCRIPTOR = *mut ::core::ffi::c_void; |
| 1087 |
#[repr(C)] |
| 1088 |
pub struct QUOTA_LIMITS { |
| 1089 |
pub PagedPoolLimit: usize, |
| 1090 |
pub NonPagedPoolLimit: usize, |
| 1091 |
pub MinimumWorkingSetSize: usize, |
| 1092 |
pub MaximumWorkingSetSize: usize, |
| 1093 |
pub PagefileLimit: usize, |
| 1094 |
pub TimeLimit: i64, |
| 1095 |
} |
| 1096 |
impl ::core::marker::Copy for QUOTA_LIMITS {} |
| 1097 |
impl ::core::clone::Clone for QUOTA_LIMITS { |
| 1098 |
fn clone(&self) -> Self { |
| 1099 |
*self |
| 1100 |
} |
| 1101 |
} |
| 1102 |
pub type SAFER_LEVEL_HANDLE = isize; |
| 1103 |
pub type SC_HANDLE = isize; |
| 1104 |
#[repr(C)] |
| 1105 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1106 |
#[cfg(feature = "Win32_Foundation")] |
| 1107 |
pub struct SECURITY_ATTRIBUTES { |
| 1108 |
pub nLength: u32, |
| 1109 |
pub lpSecurityDescriptor: *mut ::core::ffi::c_void, |
| 1110 |
pub bInheritHandle: super::Foundation::BOOL, |
| 1111 |
} |
| 1112 |
#[cfg(feature = "Win32_Foundation")] |
| 1113 |
impl ::core::marker::Copy for SECURITY_ATTRIBUTES {} |
| 1114 |
#[cfg(feature = "Win32_Foundation")] |
| 1115 |
impl ::core::clone::Clone for SECURITY_ATTRIBUTES { |
| 1116 |
fn clone(&self) -> Self { |
| 1117 |
*self |
| 1118 |
} |
| 1119 |
} |
| 1120 |
#[repr(C)] |
| 1121 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1122 |
#[cfg(feature = "Win32_Foundation")] |
| 1123 |
pub struct SECURITY_CAPABILITIES { |
| 1124 |
pub AppContainerSid: super::Foundation::PSID, |
| 1125 |
pub Capabilities: *mut SID_AND_ATTRIBUTES, |
| 1126 |
pub CapabilityCount: u32, |
| 1127 |
pub Reserved: u32, |
| 1128 |
} |
| 1129 |
#[cfg(feature = "Win32_Foundation")] |
| 1130 |
impl ::core::marker::Copy for SECURITY_CAPABILITIES {} |
| 1131 |
#[cfg(feature = "Win32_Foundation")] |
| 1132 |
impl ::core::clone::Clone for SECURITY_CAPABILITIES { |
| 1133 |
fn clone(&self) -> Self { |
| 1134 |
*self |
| 1135 |
} |
| 1136 |
} |
| 1137 |
#[repr(C)] |
| 1138 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1139 |
#[cfg(feature = "Win32_Foundation")] |
| 1140 |
pub struct SECURITY_DESCRIPTOR { |
| 1141 |
pub Revision: u8, |
| 1142 |
pub Sbz1: u8, |
| 1143 |
pub Control: SECURITY_DESCRIPTOR_CONTROL, |
| 1144 |
pub Owner: super::Foundation::PSID, |
| 1145 |
pub Group: super::Foundation::PSID, |
| 1146 |
pub Sacl: *mut ACL, |
| 1147 |
pub Dacl: *mut ACL, |
| 1148 |
} |
| 1149 |
#[cfg(feature = "Win32_Foundation")] |
| 1150 |
impl ::core::marker::Copy for SECURITY_DESCRIPTOR {} |
| 1151 |
#[cfg(feature = "Win32_Foundation")] |
| 1152 |
impl ::core::clone::Clone for SECURITY_DESCRIPTOR { |
| 1153 |
fn clone(&self) -> Self { |
| 1154 |
*self |
| 1155 |
} |
| 1156 |
} |
| 1157 |
#[repr(C)] |
| 1158 |
pub struct SECURITY_DESCRIPTOR_RELATIVE { |
| 1159 |
pub Revision: u8, |
| 1160 |
pub Sbz1: u8, |
| 1161 |
pub Control: SECURITY_DESCRIPTOR_CONTROL, |
| 1162 |
pub Owner: u32, |
| 1163 |
pub Group: u32, |
| 1164 |
pub Sacl: u32, |
| 1165 |
pub Dacl: u32, |
| 1166 |
} |
| 1167 |
impl ::core::marker::Copy for SECURITY_DESCRIPTOR_RELATIVE {} |
| 1168 |
impl ::core::clone::Clone for SECURITY_DESCRIPTOR_RELATIVE { |
| 1169 |
fn clone(&self) -> Self { |
| 1170 |
*self |
| 1171 |
} |
| 1172 |
} |
| 1173 |
#[repr(C)] |
| 1174 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1175 |
#[cfg(feature = "Win32_Foundation")] |
| 1176 |
pub struct SECURITY_QUALITY_OF_SERVICE { |
| 1177 |
pub Length: u32, |
| 1178 |
pub ImpersonationLevel: SECURITY_IMPERSONATION_LEVEL, |
| 1179 |
pub ContextTrackingMode: u8, |
| 1180 |
pub EffectiveOnly: super::Foundation::BOOLEAN, |
| 1181 |
} |
| 1182 |
#[cfg(feature = "Win32_Foundation")] |
| 1183 |
impl ::core::marker::Copy for SECURITY_QUALITY_OF_SERVICE {} |
| 1184 |
#[cfg(feature = "Win32_Foundation")] |
| 1185 |
impl ::core::clone::Clone for SECURITY_QUALITY_OF_SERVICE { |
| 1186 |
fn clone(&self) -> Self { |
| 1187 |
*self |
| 1188 |
} |
| 1189 |
} |
| 1190 |
#[repr(C)] |
| 1191 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1192 |
#[cfg(feature = "Win32_Foundation")] |
| 1193 |
pub struct SE_ACCESS_REPLY { |
| 1194 |
pub Size: u32, |
| 1195 |
pub ResultListCount: u32, |
| 1196 |
pub GrantedAccess: *mut u32, |
| 1197 |
pub AccessStatus: *mut u32, |
| 1198 |
pub AccessReason: *mut ACCESS_REASONS, |
| 1199 |
pub Privileges: *mut *mut PRIVILEGE_SET, |
| 1200 |
} |
| 1201 |
#[cfg(feature = "Win32_Foundation")] |
| 1202 |
impl ::core::marker::Copy for SE_ACCESS_REPLY {} |
| 1203 |
#[cfg(feature = "Win32_Foundation")] |
| 1204 |
impl ::core::clone::Clone for SE_ACCESS_REPLY { |
| 1205 |
fn clone(&self) -> Self { |
| 1206 |
*self |
| 1207 |
} |
| 1208 |
} |
| 1209 |
#[repr(C)] |
| 1210 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1211 |
#[cfg(feature = "Win32_Foundation")] |
| 1212 |
pub struct SE_ACCESS_REQUEST { |
| 1213 |
pub Size: u32, |
| 1214 |
pub SeSecurityDescriptor: *mut SE_SECURITY_DESCRIPTOR, |
| 1215 |
pub DesiredAccess: u32, |
| 1216 |
pub PreviouslyGrantedAccess: u32, |
| 1217 |
pub PrincipalSelfSid: super::Foundation::PSID, |
| 1218 |
pub GenericMapping: *mut GENERIC_MAPPING, |
| 1219 |
pub ObjectTypeListCount: u32, |
| 1220 |
pub ObjectTypeList: *mut OBJECT_TYPE_LIST, |
| 1221 |
} |
| 1222 |
#[cfg(feature = "Win32_Foundation")] |
| 1223 |
impl ::core::marker::Copy for SE_ACCESS_REQUEST {} |
| 1224 |
#[cfg(feature = "Win32_Foundation")] |
| 1225 |
impl ::core::clone::Clone for SE_ACCESS_REQUEST { |
| 1226 |
fn clone(&self) -> Self { |
| 1227 |
*self |
| 1228 |
} |
| 1229 |
} |
| 1230 |
#[repr(C)] |
| 1231 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1232 |
#[cfg(feature = "Win32_Foundation")] |
| 1233 |
pub struct SE_IMPERSONATION_STATE { |
| 1234 |
pub Token: *mut ::core::ffi::c_void, |
| 1235 |
pub CopyOnOpen: super::Foundation::BOOLEAN, |
| 1236 |
pub EffectiveOnly: super::Foundation::BOOLEAN, |
| 1237 |
pub Level: SECURITY_IMPERSONATION_LEVEL, |
| 1238 |
} |
| 1239 |
#[cfg(feature = "Win32_Foundation")] |
| 1240 |
impl ::core::marker::Copy for SE_IMPERSONATION_STATE {} |
| 1241 |
#[cfg(feature = "Win32_Foundation")] |
| 1242 |
impl ::core::clone::Clone for SE_IMPERSONATION_STATE { |
| 1243 |
fn clone(&self) -> Self { |
| 1244 |
*self |
| 1245 |
} |
| 1246 |
} |
| 1247 |
#[repr(C)] |
| 1248 |
pub struct SE_SECURITY_DESCRIPTOR { |
| 1249 |
pub Size: u32, |
| 1250 |
pub Flags: u32, |
| 1251 |
pub SecurityDescriptor: PSECURITY_DESCRIPTOR, |
| 1252 |
} |
| 1253 |
impl ::core::marker::Copy for SE_SECURITY_DESCRIPTOR {} |
| 1254 |
impl ::core::clone::Clone for SE_SECURITY_DESCRIPTOR { |
| 1255 |
fn clone(&self) -> Self { |
| 1256 |
*self |
| 1257 |
} |
| 1258 |
} |
| 1259 |
#[repr(C)] |
| 1260 |
pub union SE_SID { |
| 1261 |
pub Sid: SID, |
| 1262 |
pub Buffer: [u8; 68], |
| 1263 |
} |
| 1264 |
impl ::core::marker::Copy for SE_SID {} |
| 1265 |
impl ::core::clone::Clone for SE_SID { |
| 1266 |
fn clone(&self) -> Self { |
| 1267 |
*self |
| 1268 |
} |
| 1269 |
} |
| 1270 |
#[repr(C)] |
| 1271 |
pub struct SID { |
| 1272 |
pub Revision: u8, |
| 1273 |
pub SubAuthorityCount: u8, |
| 1274 |
pub IdentifierAuthority: SID_IDENTIFIER_AUTHORITY, |
| 1275 |
pub SubAuthority: [u32; 1], |
| 1276 |
} |
| 1277 |
impl ::core::marker::Copy for SID {} |
| 1278 |
impl ::core::clone::Clone for SID { |
| 1279 |
fn clone(&self) -> Self { |
| 1280 |
*self |
| 1281 |
} |
| 1282 |
} |
| 1283 |
#[repr(C)] |
| 1284 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1285 |
#[cfg(feature = "Win32_Foundation")] |
| 1286 |
pub struct SID_AND_ATTRIBUTES { |
| 1287 |
pub Sid: super::Foundation::PSID, |
| 1288 |
pub Attributes: u32, |
| 1289 |
} |
| 1290 |
#[cfg(feature = "Win32_Foundation")] |
| 1291 |
impl ::core::marker::Copy for SID_AND_ATTRIBUTES {} |
| 1292 |
#[cfg(feature = "Win32_Foundation")] |
| 1293 |
impl ::core::clone::Clone for SID_AND_ATTRIBUTES { |
| 1294 |
fn clone(&self) -> Self { |
| 1295 |
*self |
| 1296 |
} |
| 1297 |
} |
| 1298 |
#[repr(C)] |
| 1299 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1300 |
#[cfg(feature = "Win32_Foundation")] |
| 1301 |
pub struct SID_AND_ATTRIBUTES_HASH { |
| 1302 |
pub SidCount: u32, |
| 1303 |
pub SidAttr: *mut SID_AND_ATTRIBUTES, |
| 1304 |
pub Hash: [usize; 32], |
| 1305 |
} |
| 1306 |
#[cfg(feature = "Win32_Foundation")] |
| 1307 |
impl ::core::marker::Copy for SID_AND_ATTRIBUTES_HASH {} |
| 1308 |
#[cfg(feature = "Win32_Foundation")] |
| 1309 |
impl ::core::clone::Clone for SID_AND_ATTRIBUTES_HASH { |
| 1310 |
fn clone(&self) -> Self { |
| 1311 |
*self |
| 1312 |
} |
| 1313 |
} |
| 1314 |
#[repr(C)] |
| 1315 |
pub struct SID_IDENTIFIER_AUTHORITY { |
| 1316 |
pub Value: [u8; 6], |
| 1317 |
} |
| 1318 |
impl ::core::marker::Copy for SID_IDENTIFIER_AUTHORITY {} |
| 1319 |
impl ::core::clone::Clone for SID_IDENTIFIER_AUTHORITY { |
| 1320 |
fn clone(&self) -> Self { |
| 1321 |
*self |
| 1322 |
} |
| 1323 |
} |
| 1324 |
#[repr(C)] |
| 1325 |
pub struct SYSTEM_ACCESS_FILTER_ACE { |
| 1326 |
pub Header: ACE_HEADER, |
| 1327 |
pub Mask: u32, |
| 1328 |
pub SidStart: u32, |
| 1329 |
} |
| 1330 |
impl ::core::marker::Copy for SYSTEM_ACCESS_FILTER_ACE {} |
| 1331 |
impl ::core::clone::Clone for SYSTEM_ACCESS_FILTER_ACE { |
| 1332 |
fn clone(&self) -> Self { |
| 1333 |
*self |
| 1334 |
} |
| 1335 |
} |
| 1336 |
#[repr(C)] |
| 1337 |
pub struct SYSTEM_ALARM_ACE { |
| 1338 |
pub Header: ACE_HEADER, |
| 1339 |
pub Mask: u32, |
| 1340 |
pub SidStart: u32, |
| 1341 |
} |
| 1342 |
impl ::core::marker::Copy for SYSTEM_ALARM_ACE {} |
| 1343 |
impl ::core::clone::Clone for SYSTEM_ALARM_ACE { |
| 1344 |
fn clone(&self) -> Self { |
| 1345 |
*self |
| 1346 |
} |
| 1347 |
} |
| 1348 |
#[repr(C)] |
| 1349 |
pub struct SYSTEM_ALARM_CALLBACK_ACE { |
| 1350 |
pub Header: ACE_HEADER, |
| 1351 |
pub Mask: u32, |
| 1352 |
pub SidStart: u32, |
| 1353 |
} |
| 1354 |
impl ::core::marker::Copy for SYSTEM_ALARM_CALLBACK_ACE {} |
| 1355 |
impl ::core::clone::Clone for SYSTEM_ALARM_CALLBACK_ACE { |
| 1356 |
fn clone(&self) -> Self { |
| 1357 |
*self |
| 1358 |
} |
| 1359 |
} |
| 1360 |
#[repr(C)] |
| 1361 |
pub struct SYSTEM_ALARM_CALLBACK_OBJECT_ACE { |
| 1362 |
pub Header: ACE_HEADER, |
| 1363 |
pub Mask: u32, |
| 1364 |
pub Flags: SYSTEM_AUDIT_OBJECT_ACE_FLAGS, |
| 1365 |
pub ObjectType: ::windows_sys::core::GUID, |
| 1366 |
pub InheritedObjectType: ::windows_sys::core::GUID, |
| 1367 |
pub SidStart: u32, |
| 1368 |
} |
| 1369 |
impl ::core::marker::Copy for SYSTEM_ALARM_CALLBACK_OBJECT_ACE {} |
| 1370 |
impl ::core::clone::Clone for SYSTEM_ALARM_CALLBACK_OBJECT_ACE { |
| 1371 |
fn clone(&self) -> Self { |
| 1372 |
*self |
| 1373 |
} |
| 1374 |
} |
| 1375 |
#[repr(C)] |
| 1376 |
pub struct SYSTEM_ALARM_OBJECT_ACE { |
| 1377 |
pub Header: ACE_HEADER, |
| 1378 |
pub Mask: u32, |
| 1379 |
pub Flags: u32, |
| 1380 |
pub ObjectType: ::windows_sys::core::GUID, |
| 1381 |
pub InheritedObjectType: ::windows_sys::core::GUID, |
| 1382 |
pub SidStart: u32, |
| 1383 |
} |
| 1384 |
impl ::core::marker::Copy for SYSTEM_ALARM_OBJECT_ACE {} |
| 1385 |
impl ::core::clone::Clone for SYSTEM_ALARM_OBJECT_ACE { |
| 1386 |
fn clone(&self) -> Self { |
| 1387 |
*self |
| 1388 |
} |
| 1389 |
} |
| 1390 |
#[repr(C)] |
| 1391 |
pub struct SYSTEM_AUDIT_ACE { |
| 1392 |
pub Header: ACE_HEADER, |
| 1393 |
pub Mask: u32, |
| 1394 |
pub SidStart: u32, |
| 1395 |
} |
| 1396 |
impl ::core::marker::Copy for SYSTEM_AUDIT_ACE {} |
| 1397 |
impl ::core::clone::Clone for SYSTEM_AUDIT_ACE { |
| 1398 |
fn clone(&self) -> Self { |
| 1399 |
*self |
| 1400 |
} |
| 1401 |
} |
| 1402 |
#[repr(C)] |
| 1403 |
pub struct SYSTEM_AUDIT_CALLBACK_ACE { |
| 1404 |
pub Header: ACE_HEADER, |
| 1405 |
pub Mask: u32, |
| 1406 |
pub SidStart: u32, |
| 1407 |
} |
| 1408 |
impl ::core::marker::Copy for SYSTEM_AUDIT_CALLBACK_ACE {} |
| 1409 |
impl ::core::clone::Clone for SYSTEM_AUDIT_CALLBACK_ACE { |
| 1410 |
fn clone(&self) -> Self { |
| 1411 |
*self |
| 1412 |
} |
| 1413 |
} |
| 1414 |
#[repr(C)] |
| 1415 |
pub struct SYSTEM_AUDIT_CALLBACK_OBJECT_ACE { |
| 1416 |
pub Header: ACE_HEADER, |
| 1417 |
pub Mask: u32, |
| 1418 |
pub Flags: SYSTEM_AUDIT_OBJECT_ACE_FLAGS, |
| 1419 |
pub ObjectType: ::windows_sys::core::GUID, |
| 1420 |
pub InheritedObjectType: ::windows_sys::core::GUID, |
| 1421 |
pub SidStart: u32, |
| 1422 |
} |
| 1423 |
impl ::core::marker::Copy for SYSTEM_AUDIT_CALLBACK_OBJECT_ACE {} |
| 1424 |
impl ::core::clone::Clone for SYSTEM_AUDIT_CALLBACK_OBJECT_ACE { |
| 1425 |
fn clone(&self) -> Self { |
| 1426 |
*self |
| 1427 |
} |
| 1428 |
} |
| 1429 |
#[repr(C)] |
| 1430 |
pub struct SYSTEM_AUDIT_OBJECT_ACE { |
| 1431 |
pub Header: ACE_HEADER, |
| 1432 |
pub Mask: u32, |
| 1433 |
pub Flags: SYSTEM_AUDIT_OBJECT_ACE_FLAGS, |
| 1434 |
pub ObjectType: ::windows_sys::core::GUID, |
| 1435 |
pub InheritedObjectType: ::windows_sys::core::GUID, |
| 1436 |
pub SidStart: u32, |
| 1437 |
} |
| 1438 |
impl ::core::marker::Copy for SYSTEM_AUDIT_OBJECT_ACE {} |
| 1439 |
impl ::core::clone::Clone for SYSTEM_AUDIT_OBJECT_ACE { |
| 1440 |
fn clone(&self) -> Self { |
| 1441 |
*self |
| 1442 |
} |
| 1443 |
} |
| 1444 |
#[repr(C)] |
| 1445 |
pub struct SYSTEM_MANDATORY_LABEL_ACE { |
| 1446 |
pub Header: ACE_HEADER, |
| 1447 |
pub Mask: u32, |
| 1448 |
pub SidStart: u32, |
| 1449 |
} |
| 1450 |
impl ::core::marker::Copy for SYSTEM_MANDATORY_LABEL_ACE {} |
| 1451 |
impl ::core::clone::Clone for SYSTEM_MANDATORY_LABEL_ACE { |
| 1452 |
fn clone(&self) -> Self { |
| 1453 |
*self |
| 1454 |
} |
| 1455 |
} |
| 1456 |
#[repr(C)] |
| 1457 |
pub struct SYSTEM_PROCESS_TRUST_LABEL_ACE { |
| 1458 |
pub Header: ACE_HEADER, |
| 1459 |
pub Mask: u32, |
| 1460 |
pub SidStart: u32, |
| 1461 |
} |
| 1462 |
impl ::core::marker::Copy for SYSTEM_PROCESS_TRUST_LABEL_ACE {} |
| 1463 |
impl ::core::clone::Clone for SYSTEM_PROCESS_TRUST_LABEL_ACE { |
| 1464 |
fn clone(&self) -> Self { |
| 1465 |
*self |
| 1466 |
} |
| 1467 |
} |
| 1468 |
#[repr(C)] |
| 1469 |
pub struct SYSTEM_RESOURCE_ATTRIBUTE_ACE { |
| 1470 |
pub Header: ACE_HEADER, |
| 1471 |
pub Mask: u32, |
| 1472 |
pub SidStart: u32, |
| 1473 |
} |
| 1474 |
impl ::core::marker::Copy for SYSTEM_RESOURCE_ATTRIBUTE_ACE {} |
| 1475 |
impl ::core::clone::Clone for SYSTEM_RESOURCE_ATTRIBUTE_ACE { |
| 1476 |
fn clone(&self) -> Self { |
| 1477 |
*self |
| 1478 |
} |
| 1479 |
} |
| 1480 |
#[repr(C)] |
| 1481 |
pub struct SYSTEM_SCOPED_POLICY_ID_ACE { |
| 1482 |
pub Header: ACE_HEADER, |
| 1483 |
pub Mask: u32, |
| 1484 |
pub SidStart: u32, |
| 1485 |
} |
| 1486 |
impl ::core::marker::Copy for SYSTEM_SCOPED_POLICY_ID_ACE {} |
| 1487 |
impl ::core::clone::Clone for SYSTEM_SCOPED_POLICY_ID_ACE { |
| 1488 |
fn clone(&self) -> Self { |
| 1489 |
*self |
| 1490 |
} |
| 1491 |
} |
| 1492 |
#[repr(C)] |
| 1493 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1494 |
#[cfg(feature = "Win32_Foundation")] |
| 1495 |
pub struct TOKEN_ACCESS_INFORMATION { |
| 1496 |
pub SidHash: *mut SID_AND_ATTRIBUTES_HASH, |
| 1497 |
pub RestrictedSidHash: *mut SID_AND_ATTRIBUTES_HASH, |
| 1498 |
pub Privileges: *mut TOKEN_PRIVILEGES, |
| 1499 |
pub AuthenticationId: super::Foundation::LUID, |
| 1500 |
pub TokenType: TOKEN_TYPE, |
| 1501 |
pub ImpersonationLevel: SECURITY_IMPERSONATION_LEVEL, |
| 1502 |
pub MandatoryPolicy: TOKEN_MANDATORY_POLICY, |
| 1503 |
pub Flags: u32, |
| 1504 |
pub AppContainerNumber: u32, |
| 1505 |
pub PackageSid: super::Foundation::PSID, |
| 1506 |
pub CapabilitiesHash: *mut SID_AND_ATTRIBUTES_HASH, |
| 1507 |
pub TrustLevelSid: super::Foundation::PSID, |
| 1508 |
pub SecurityAttributes: *mut ::core::ffi::c_void, |
| 1509 |
} |
| 1510 |
#[cfg(feature = "Win32_Foundation")] |
| 1511 |
impl ::core::marker::Copy for TOKEN_ACCESS_INFORMATION {} |
| 1512 |
#[cfg(feature = "Win32_Foundation")] |
| 1513 |
impl ::core::clone::Clone for TOKEN_ACCESS_INFORMATION { |
| 1514 |
fn clone(&self) -> Self { |
| 1515 |
*self |
| 1516 |
} |
| 1517 |
} |
| 1518 |
#[repr(C)] |
| 1519 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1520 |
#[cfg(feature = "Win32_Foundation")] |
| 1521 |
pub struct TOKEN_APPCONTAINER_INFORMATION { |
| 1522 |
pub TokenAppContainer: super::Foundation::PSID, |
| 1523 |
} |
| 1524 |
#[cfg(feature = "Win32_Foundation")] |
| 1525 |
impl ::core::marker::Copy for TOKEN_APPCONTAINER_INFORMATION {} |
| 1526 |
#[cfg(feature = "Win32_Foundation")] |
| 1527 |
impl ::core::clone::Clone for TOKEN_APPCONTAINER_INFORMATION { |
| 1528 |
fn clone(&self) -> Self { |
| 1529 |
*self |
| 1530 |
} |
| 1531 |
} |
| 1532 |
#[repr(C)] |
| 1533 |
pub struct TOKEN_AUDIT_POLICY { |
| 1534 |
pub PerUserPolicy: [u8; 30], |
| 1535 |
} |
| 1536 |
impl ::core::marker::Copy for TOKEN_AUDIT_POLICY {} |
| 1537 |
impl ::core::clone::Clone for TOKEN_AUDIT_POLICY { |
| 1538 |
fn clone(&self) -> Self { |
| 1539 |
*self |
| 1540 |
} |
| 1541 |
} |
| 1542 |
#[repr(C)] |
| 1543 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1544 |
#[cfg(feature = "Win32_Foundation")] |
| 1545 |
pub struct TOKEN_CONTROL { |
| 1546 |
pub TokenId: super::Foundation::LUID, |
| 1547 |
pub AuthenticationId: super::Foundation::LUID, |
| 1548 |
pub ModifiedId: super::Foundation::LUID, |
| 1549 |
pub TokenSource: TOKEN_SOURCE, |
| 1550 |
} |
| 1551 |
#[cfg(feature = "Win32_Foundation")] |
| 1552 |
impl ::core::marker::Copy for TOKEN_CONTROL {} |
| 1553 |
#[cfg(feature = "Win32_Foundation")] |
| 1554 |
impl ::core::clone::Clone for TOKEN_CONTROL { |
| 1555 |
fn clone(&self) -> Self { |
| 1556 |
*self |
| 1557 |
} |
| 1558 |
} |
| 1559 |
#[repr(C)] |
| 1560 |
pub struct TOKEN_DEFAULT_DACL { |
| 1561 |
pub DefaultDacl: *mut ACL, |
| 1562 |
} |
| 1563 |
impl ::core::marker::Copy for TOKEN_DEFAULT_DACL {} |
| 1564 |
impl ::core::clone::Clone for TOKEN_DEFAULT_DACL { |
| 1565 |
fn clone(&self) -> Self { |
| 1566 |
*self |
| 1567 |
} |
| 1568 |
} |
| 1569 |
#[repr(C)] |
| 1570 |
pub struct TOKEN_DEVICE_CLAIMS { |
| 1571 |
pub DeviceClaims: *mut ::core::ffi::c_void, |
| 1572 |
} |
| 1573 |
impl ::core::marker::Copy for TOKEN_DEVICE_CLAIMS {} |
| 1574 |
impl ::core::clone::Clone for TOKEN_DEVICE_CLAIMS { |
| 1575 |
fn clone(&self) -> Self { |
| 1576 |
*self |
| 1577 |
} |
| 1578 |
} |
| 1579 |
#[repr(C)] |
| 1580 |
pub struct TOKEN_ELEVATION { |
| 1581 |
pub TokenIsElevated: u32, |
| 1582 |
} |
| 1583 |
impl ::core::marker::Copy for TOKEN_ELEVATION {} |
| 1584 |
impl ::core::clone::Clone for TOKEN_ELEVATION { |
| 1585 |
fn clone(&self) -> Self { |
| 1586 |
*self |
| 1587 |
} |
| 1588 |
} |
| 1589 |
#[repr(C)] |
| 1590 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1591 |
#[cfg(feature = "Win32_Foundation")] |
| 1592 |
pub struct TOKEN_GROUPS { |
| 1593 |
pub GroupCount: u32, |
| 1594 |
pub Groups: [SID_AND_ATTRIBUTES; 1], |
| 1595 |
} |
| 1596 |
#[cfg(feature = "Win32_Foundation")] |
| 1597 |
impl ::core::marker::Copy for TOKEN_GROUPS {} |
| 1598 |
#[cfg(feature = "Win32_Foundation")] |
| 1599 |
impl ::core::clone::Clone for TOKEN_GROUPS { |
| 1600 |
fn clone(&self) -> Self { |
| 1601 |
*self |
| 1602 |
} |
| 1603 |
} |
| 1604 |
#[repr(C)] |
| 1605 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1606 |
#[cfg(feature = "Win32_Foundation")] |
| 1607 |
pub struct TOKEN_GROUPS_AND_PRIVILEGES { |
| 1608 |
pub SidCount: u32, |
| 1609 |
pub SidLength: u32, |
| 1610 |
pub Sids: *mut SID_AND_ATTRIBUTES, |
| 1611 |
pub RestrictedSidCount: u32, |
| 1612 |
pub RestrictedSidLength: u32, |
| 1613 |
pub RestrictedSids: *mut SID_AND_ATTRIBUTES, |
| 1614 |
pub PrivilegeCount: u32, |
| 1615 |
pub PrivilegeLength: u32, |
| 1616 |
pub Privileges: *mut LUID_AND_ATTRIBUTES, |
| 1617 |
pub AuthenticationId: super::Foundation::LUID, |
| 1618 |
} |
| 1619 |
#[cfg(feature = "Win32_Foundation")] |
| 1620 |
impl ::core::marker::Copy for TOKEN_GROUPS_AND_PRIVILEGES {} |
| 1621 |
#[cfg(feature = "Win32_Foundation")] |
| 1622 |
impl ::core::clone::Clone for TOKEN_GROUPS_AND_PRIVILEGES { |
| 1623 |
fn clone(&self) -> Self { |
| 1624 |
*self |
| 1625 |
} |
| 1626 |
} |
| 1627 |
#[repr(C)] |
| 1628 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1629 |
#[cfg(feature = "Win32_Foundation")] |
| 1630 |
pub struct TOKEN_LINKED_TOKEN { |
| 1631 |
pub LinkedToken: super::Foundation::HANDLE, |
| 1632 |
} |
| 1633 |
#[cfg(feature = "Win32_Foundation")] |
| 1634 |
impl ::core::marker::Copy for TOKEN_LINKED_TOKEN {} |
| 1635 |
#[cfg(feature = "Win32_Foundation")] |
| 1636 |
impl ::core::clone::Clone for TOKEN_LINKED_TOKEN { |
| 1637 |
fn clone(&self) -> Self { |
| 1638 |
*self |
| 1639 |
} |
| 1640 |
} |
| 1641 |
#[repr(C)] |
| 1642 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1643 |
#[cfg(feature = "Win32_Foundation")] |
| 1644 |
pub struct TOKEN_MANDATORY_LABEL { |
| 1645 |
pub Label: SID_AND_ATTRIBUTES, |
| 1646 |
} |
| 1647 |
#[cfg(feature = "Win32_Foundation")] |
| 1648 |
impl ::core::marker::Copy for TOKEN_MANDATORY_LABEL {} |
| 1649 |
#[cfg(feature = "Win32_Foundation")] |
| 1650 |
impl ::core::clone::Clone for TOKEN_MANDATORY_LABEL { |
| 1651 |
fn clone(&self) -> Self { |
| 1652 |
*self |
| 1653 |
} |
| 1654 |
} |
| 1655 |
#[repr(C)] |
| 1656 |
pub struct TOKEN_MANDATORY_POLICY { |
| 1657 |
pub Policy: TOKEN_MANDATORY_POLICY_ID, |
| 1658 |
} |
| 1659 |
impl ::core::marker::Copy for TOKEN_MANDATORY_POLICY {} |
| 1660 |
impl ::core::clone::Clone for TOKEN_MANDATORY_POLICY { |
| 1661 |
fn clone(&self) -> Self { |
| 1662 |
*self |
| 1663 |
} |
| 1664 |
} |
| 1665 |
#[repr(C)] |
| 1666 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1667 |
#[cfg(feature = "Win32_Foundation")] |
| 1668 |
pub struct TOKEN_ORIGIN { |
| 1669 |
pub OriginatingLogonSession: super::Foundation::LUID, |
| 1670 |
} |
| 1671 |
#[cfg(feature = "Win32_Foundation")] |
| 1672 |
impl ::core::marker::Copy for TOKEN_ORIGIN {} |
| 1673 |
#[cfg(feature = "Win32_Foundation")] |
| 1674 |
impl ::core::clone::Clone for TOKEN_ORIGIN { |
| 1675 |
fn clone(&self) -> Self { |
| 1676 |
*self |
| 1677 |
} |
| 1678 |
} |
| 1679 |
#[repr(C)] |
| 1680 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1681 |
#[cfg(feature = "Win32_Foundation")] |
| 1682 |
pub struct TOKEN_OWNER { |
| 1683 |
pub Owner: super::Foundation::PSID, |
| 1684 |
} |
| 1685 |
#[cfg(feature = "Win32_Foundation")] |
| 1686 |
impl ::core::marker::Copy for TOKEN_OWNER {} |
| 1687 |
#[cfg(feature = "Win32_Foundation")] |
| 1688 |
impl ::core::clone::Clone for TOKEN_OWNER { |
| 1689 |
fn clone(&self) -> Self { |
| 1690 |
*self |
| 1691 |
} |
| 1692 |
} |
| 1693 |
#[repr(C)] |
| 1694 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1695 |
#[cfg(feature = "Win32_Foundation")] |
| 1696 |
pub struct TOKEN_PRIMARY_GROUP { |
| 1697 |
pub PrimaryGroup: super::Foundation::PSID, |
| 1698 |
} |
| 1699 |
#[cfg(feature = "Win32_Foundation")] |
| 1700 |
impl ::core::marker::Copy for TOKEN_PRIMARY_GROUP {} |
| 1701 |
#[cfg(feature = "Win32_Foundation")] |
| 1702 |
impl ::core::clone::Clone for TOKEN_PRIMARY_GROUP { |
| 1703 |
fn clone(&self) -> Self { |
| 1704 |
*self |
| 1705 |
} |
| 1706 |
} |
| 1707 |
#[repr(C)] |
| 1708 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1709 |
#[cfg(feature = "Win32_Foundation")] |
| 1710 |
pub struct TOKEN_PRIVILEGES { |
| 1711 |
pub PrivilegeCount: u32, |
| 1712 |
pub Privileges: [LUID_AND_ATTRIBUTES; 1], |
| 1713 |
} |
| 1714 |
#[cfg(feature = "Win32_Foundation")] |
| 1715 |
impl ::core::marker::Copy for TOKEN_PRIVILEGES {} |
| 1716 |
#[cfg(feature = "Win32_Foundation")] |
| 1717 |
impl ::core::clone::Clone for TOKEN_PRIVILEGES { |
| 1718 |
fn clone(&self) -> Self { |
| 1719 |
*self |
| 1720 |
} |
| 1721 |
} |
| 1722 |
#[repr(C)] |
| 1723 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1724 |
#[cfg(feature = "Win32_Foundation")] |
| 1725 |
pub struct TOKEN_SOURCE { |
| 1726 |
pub SourceName: [u8; 8], |
| 1727 |
pub SourceIdentifier: super::Foundation::LUID, |
| 1728 |
} |
| 1729 |
#[cfg(feature = "Win32_Foundation")] |
| 1730 |
impl ::core::marker::Copy for TOKEN_SOURCE {} |
| 1731 |
#[cfg(feature = "Win32_Foundation")] |
| 1732 |
impl ::core::clone::Clone for TOKEN_SOURCE { |
| 1733 |
fn clone(&self) -> Self { |
| 1734 |
*self |
| 1735 |
} |
| 1736 |
} |
| 1737 |
#[repr(C)] |
| 1738 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1739 |
#[cfg(feature = "Win32_Foundation")] |
| 1740 |
pub struct TOKEN_STATISTICS { |
| 1741 |
pub TokenId: super::Foundation::LUID, |
| 1742 |
pub AuthenticationId: super::Foundation::LUID, |
| 1743 |
pub ExpirationTime: i64, |
| 1744 |
pub TokenType: TOKEN_TYPE, |
| 1745 |
pub ImpersonationLevel: SECURITY_IMPERSONATION_LEVEL, |
| 1746 |
pub DynamicCharged: u32, |
| 1747 |
pub DynamicAvailable: u32, |
| 1748 |
pub GroupCount: u32, |
| 1749 |
pub PrivilegeCount: u32, |
| 1750 |
pub ModifiedId: super::Foundation::LUID, |
| 1751 |
} |
| 1752 |
#[cfg(feature = "Win32_Foundation")] |
| 1753 |
impl ::core::marker::Copy for TOKEN_STATISTICS {} |
| 1754 |
#[cfg(feature = "Win32_Foundation")] |
| 1755 |
impl ::core::clone::Clone for TOKEN_STATISTICS { |
| 1756 |
fn clone(&self) -> Self { |
| 1757 |
*self |
| 1758 |
} |
| 1759 |
} |
| 1760 |
#[repr(C)] |
| 1761 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1762 |
#[cfg(feature = "Win32_Foundation")] |
| 1763 |
pub struct TOKEN_USER { |
| 1764 |
pub User: SID_AND_ATTRIBUTES, |
| 1765 |
} |
| 1766 |
#[cfg(feature = "Win32_Foundation")] |
| 1767 |
impl ::core::marker::Copy for TOKEN_USER {} |
| 1768 |
#[cfg(feature = "Win32_Foundation")] |
| 1769 |
impl ::core::clone::Clone for TOKEN_USER { |
| 1770 |
fn clone(&self) -> Self { |
| 1771 |
*self |
| 1772 |
} |
| 1773 |
} |
| 1774 |
#[repr(C)] |
| 1775 |
pub struct TOKEN_USER_CLAIMS { |
| 1776 |
pub UserClaims: *mut ::core::ffi::c_void, |
| 1777 |
} |
| 1778 |
impl ::core::marker::Copy for TOKEN_USER_CLAIMS {} |
| 1779 |
impl ::core::clone::Clone for TOKEN_USER_CLAIMS { |
| 1780 |
fn clone(&self) -> Self { |
| 1781 |
*self |
| 1782 |
} |
| 1783 |
} |
| 1784 |
#[doc = "Required features: `\"Win32_Foundation\"`"] |
| 1785 |
#[cfg(feature = "Win32_Foundation")] |
| 1786 |
pub type PLSA_AP_CALL_PACKAGE_UNTRUSTED = ::core::option::Option<unsafe extern "system" fn(clientrequest: *const *const ::core::ffi::c_void, protocolsubmitbuffer: *const ::core::ffi::c_void, clientbufferbase: *const ::core::ffi::c_void, submitbufferlength: u32, protocolreturnbuffer: *mut *mut ::core::ffi::c_void, returnbufferlength: *mut u32, protocolstatus: *mut i32) -> super::Foundation::NTSTATUS>; |
| 1787 |
pub type SEC_THREAD_START = ::core::option::Option<unsafe extern "system" fn(lpthreadparameter: *mut ::core::ffi::c_void) -> u32>; |