]>
Commit | Line | Data |
---|---|---|
5e7ed085 FG |
1 | #[cfg(feature = "Win32_Security_Authentication_Identity_Provider")] |
2 | pub mod Provider; | |
3 | #[link(name = "windows")] | |
4 | extern "system" { | |
04454e1e | 5 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 6 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 7 | pub fn AcceptSecurityContext(phcredential: *const super::super::Credentials::SecHandle, phcontext: *const super::super::Credentials::SecHandle, pinput: *const SecBufferDesc, fcontextreq: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ, targetdatarep: u32, phnewcontext: *mut super::super::Credentials::SecHandle, poutput: *mut SecBufferDesc, pfcontextattr: *mut u32, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT; |
04454e1e FG |
8 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
9 | #[cfg(feature = "Win32_Security_Credentials")] | |
923072b8 | 10 | pub fn AcquireCredentialsHandleA(pszprincipal: ::windows_sys::core::PCSTR, pszpackage: ::windows_sys::core::PCSTR, fcredentialuse: SECPKG_CRED, pvlogonid: *const ::core::ffi::c_void, pauthdata: *const ::core::ffi::c_void, pgetkeyfn: SEC_GET_KEY_FN, pvgetkeyargument: *const ::core::ffi::c_void, phcredential: *mut super::super::Credentials::SecHandle, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT; |
04454e1e FG |
11 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
12 | #[cfg(feature = "Win32_Security_Credentials")] | |
923072b8 | 13 | pub fn AcquireCredentialsHandleW(pszprincipal: ::windows_sys::core::PCWSTR, pszpackage: ::windows_sys::core::PCWSTR, fcredentialuse: SECPKG_CRED, pvlogonid: *const ::core::ffi::c_void, pauthdata: *const ::core::ffi::c_void, pgetkeyfn: SEC_GET_KEY_FN, pvgetkeyargument: *const ::core::ffi::c_void, phcredential: *mut super::super::Credentials::SecHandle, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT; |
04454e1e FG |
14 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
15 | #[cfg(feature = "Win32_Security_Credentials")] | |
923072b8 | 16 | pub fn AddCredentialsA(hcredentials: *const super::super::Credentials::SecHandle, pszprincipal: ::windows_sys::core::PCSTR, pszpackage: ::windows_sys::core::PCSTR, fcredentialuse: u32, pauthdata: *const ::core::ffi::c_void, pgetkeyfn: SEC_GET_KEY_FN, pvgetkeyargument: *const ::core::ffi::c_void, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT; |
04454e1e FG |
17 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
18 | #[cfg(feature = "Win32_Security_Credentials")] | |
923072b8 | 19 | pub fn AddCredentialsW(hcredentials: *const super::super::Credentials::SecHandle, pszprincipal: ::windows_sys::core::PCWSTR, pszpackage: ::windows_sys::core::PCWSTR, fcredentialuse: u32, pauthdata: *const ::core::ffi::c_void, pgetkeyfn: SEC_GET_KEY_FN, pvgetkeyargument: *const ::core::ffi::c_void, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT; |
04454e1e | 20 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 21 | pub fn AddSecurityPackageA(pszpackagename: ::windows_sys::core::PCSTR, poptions: *const SECURITY_PACKAGE_OPTIONS) -> ::windows_sys::core::HRESULT; |
04454e1e | 22 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 23 | pub fn AddSecurityPackageW(pszpackagename: ::windows_sys::core::PCWSTR, poptions: *const SECURITY_PACKAGE_OPTIONS) -> ::windows_sys::core::HRESULT; |
04454e1e | 24 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 25 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 26 | pub fn ApplyControlToken(phcontext: *const super::super::Credentials::SecHandle, pinput: *const SecBufferDesc) -> ::windows_sys::core::HRESULT; |
04454e1e | 27 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
28 | #[cfg(feature = "Win32_Foundation")] |
29 | pub fn AuditComputeEffectivePolicyBySid(psid: super::super::super::Foundation::PSID, psubcategoryguids: *const ::windows_sys::core::GUID, dwpolicycount: u32, ppauditpolicy: *mut *mut AUDIT_POLICY_INFORMATION) -> super::super::super::Foundation::BOOLEAN; | |
04454e1e | 30 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
31 | #[cfg(feature = "Win32_Foundation")] |
32 | pub fn AuditComputeEffectivePolicyByToken(htokenhandle: super::super::super::Foundation::HANDLE, psubcategoryguids: *const ::windows_sys::core::GUID, dwpolicycount: u32, ppauditpolicy: *mut *mut AUDIT_POLICY_INFORMATION) -> super::super::super::Foundation::BOOLEAN; | |
04454e1e | 33 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
34 | #[cfg(feature = "Win32_Foundation")] |
35 | pub fn AuditEnumerateCategories(ppauditcategoriesarray: *mut *mut ::windows_sys::core::GUID, pdwcountreturned: *mut u32) -> super::super::super::Foundation::BOOLEAN; | |
04454e1e | 36 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
37 | #[cfg(feature = "Win32_Foundation")] |
38 | pub fn AuditEnumeratePerUserPolicy(ppauditsidarray: *mut *mut POLICY_AUDIT_SID_ARRAY) -> super::super::super::Foundation::BOOLEAN; | |
04454e1e | 39 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
40 | #[cfg(feature = "Win32_Foundation")] |
41 | pub fn AuditEnumerateSubCategories(pauditcategoryguid: *const ::windows_sys::core::GUID, bretrieveallsubcategories: super::super::super::Foundation::BOOLEAN, ppauditsubcategoriesarray: *mut *mut ::windows_sys::core::GUID, pdwcountreturned: *mut u32) -> super::super::super::Foundation::BOOLEAN; | |
04454e1e | 42 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 43 | pub fn AuditFree(buffer: *const ::core::ffi::c_void); |
04454e1e | 44 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
45 | #[cfg(feature = "Win32_Foundation")] |
46 | pub fn AuditLookupCategoryGuidFromCategoryId(auditcategoryid: POLICY_AUDIT_EVENT_TYPE, pauditcategoryguid: *mut ::windows_sys::core::GUID) -> super::super::super::Foundation::BOOLEAN; | |
04454e1e | 47 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
48 | #[cfg(feature = "Win32_Foundation")] |
49 | pub fn AuditLookupCategoryIdFromCategoryGuid(pauditcategoryguid: *const ::windows_sys::core::GUID, pauditcategoryid: *mut POLICY_AUDIT_EVENT_TYPE) -> super::super::super::Foundation::BOOLEAN; | |
04454e1e | 50 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 51 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
52 | pub fn AuditLookupCategoryNameA(pauditcategoryguid: *const ::windows_sys::core::GUID, ppszcategoryname: *mut ::windows_sys::core::PSTR) -> super::super::super::Foundation::BOOLEAN; |
53 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 54 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
55 | pub fn AuditLookupCategoryNameW(pauditcategoryguid: *const ::windows_sys::core::GUID, ppszcategoryname: *mut ::windows_sys::core::PWSTR) -> super::super::super::Foundation::BOOLEAN; |
56 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 57 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
58 | pub fn AuditLookupSubCategoryNameA(pauditsubcategoryguid: *const ::windows_sys::core::GUID, ppszsubcategoryname: *mut ::windows_sys::core::PSTR) -> super::super::super::Foundation::BOOLEAN; |
59 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 60 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
61 | pub fn AuditLookupSubCategoryNameW(pauditsubcategoryguid: *const ::windows_sys::core::GUID, ppszsubcategoryname: *mut ::windows_sys::core::PWSTR) -> super::super::super::Foundation::BOOLEAN; |
62 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 63 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
64 | pub fn AuditQueryGlobalSaclA(objecttypename: ::windows_sys::core::PCSTR, acl: *mut *mut super::super::ACL) -> super::super::super::Foundation::BOOLEAN; |
65 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 66 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
67 | pub fn AuditQueryGlobalSaclW(objecttypename: ::windows_sys::core::PCWSTR, acl: *mut *mut super::super::ACL) -> super::super::super::Foundation::BOOLEAN; |
68 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
69 | #[cfg(feature = "Win32_Foundation")] |
70 | pub fn AuditQueryPerUserPolicy(psid: super::super::super::Foundation::PSID, psubcategoryguids: *const ::windows_sys::core::GUID, dwpolicycount: u32, ppauditpolicy: *mut *mut AUDIT_POLICY_INFORMATION) -> super::super::super::Foundation::BOOLEAN; | |
04454e1e | 71 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 72 | #[cfg(feature = "Win32_Foundation")] |
923072b8 | 73 | pub fn AuditQuerySecurity(securityinformation: u32, ppsecuritydescriptor: *mut super::super::PSECURITY_DESCRIPTOR) -> super::super::super::Foundation::BOOLEAN; |
04454e1e | 74 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
75 | #[cfg(feature = "Win32_Foundation")] |
76 | pub fn AuditQuerySystemPolicy(psubcategoryguids: *const ::windows_sys::core::GUID, dwpolicycount: u32, ppauditpolicy: *mut *mut AUDIT_POLICY_INFORMATION) -> super::super::super::Foundation::BOOLEAN; | |
04454e1e | 77 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 78 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
79 | pub fn AuditSetGlobalSaclA(objecttypename: ::windows_sys::core::PCSTR, acl: *const super::super::ACL) -> super::super::super::Foundation::BOOLEAN; |
80 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 81 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
82 | pub fn AuditSetGlobalSaclW(objecttypename: ::windows_sys::core::PCWSTR, acl: *const super::super::ACL) -> super::super::super::Foundation::BOOLEAN; |
83 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
84 | #[cfg(feature = "Win32_Foundation")] |
85 | pub fn AuditSetPerUserPolicy(psid: super::super::super::Foundation::PSID, pauditpolicy: *const AUDIT_POLICY_INFORMATION, dwpolicycount: u32) -> super::super::super::Foundation::BOOLEAN; | |
04454e1e | 86 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 87 | #[cfg(feature = "Win32_Foundation")] |
923072b8 | 88 | pub fn AuditSetSecurity(securityinformation: u32, psecuritydescriptor: super::super::PSECURITY_DESCRIPTOR) -> super::super::super::Foundation::BOOLEAN; |
04454e1e | 89 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
90 | #[cfg(feature = "Win32_Foundation")] |
91 | pub fn AuditSetSystemPolicy(pauditpolicy: *const AUDIT_POLICY_INFORMATION, dwpolicycount: u32) -> super::super::super::Foundation::BOOLEAN; | |
04454e1e | 92 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 93 | #[cfg(feature = "Win32_Foundation")] |
923072b8 | 94 | pub fn ChangeAccountPasswordA(pszpackagename: *const i8, pszdomainname: *const i8, pszaccountname: *const i8, pszoldpassword: *const i8, psznewpassword: *const i8, bimpersonating: super::super::super::Foundation::BOOLEAN, dwreserved: u32, poutput: *mut SecBufferDesc) -> ::windows_sys::core::HRESULT; |
04454e1e | 95 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 96 | #[cfg(feature = "Win32_Foundation")] |
923072b8 | 97 | pub fn ChangeAccountPasswordW(pszpackagename: *const u16, pszdomainname: *const u16, pszaccountname: *const u16, pszoldpassword: *const u16, psznewpassword: *const u16, bimpersonating: super::super::super::Foundation::BOOLEAN, dwreserved: u32, poutput: *mut SecBufferDesc) -> ::windows_sys::core::HRESULT; |
04454e1e | 98 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 99 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 100 | pub fn CompleteAuthToken(phcontext: *const super::super::Credentials::SecHandle, ptoken: *const SecBufferDesc) -> ::windows_sys::core::HRESULT; |
04454e1e | 101 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 FG |
102 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] |
103 | pub fn CredMarshalTargetInfo(intargetinfo: *const super::super::Credentials::CREDENTIAL_TARGET_INFORMATIONW, buffer: *mut *mut u16, buffersize: *mut u32) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 104 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 FG |
105 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] |
106 | pub fn CredUnmarshalTargetInfo(buffer: *const u16, buffersize: u32, rettargetinfo: *mut *mut super::super::Credentials::CREDENTIAL_TARGET_INFORMATIONW, retactualsize: *mut u32) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 107 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 108 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 109 | pub fn DecryptMessage(phcontext: *const super::super::Credentials::SecHandle, pmessage: *const SecBufferDesc, messageseqno: u32, pfqop: *mut u32) -> ::windows_sys::core::HRESULT; |
04454e1e | 110 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 111 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 112 | pub fn DeleteSecurityContext(phcontext: *const super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT; |
04454e1e | 113 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 114 | pub fn DeleteSecurityPackageA(pszpackagename: ::windows_sys::core::PCSTR) -> ::windows_sys::core::HRESULT; |
04454e1e | 115 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 116 | pub fn DeleteSecurityPackageW(pszpackagename: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; |
04454e1e | 117 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 118 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 119 | pub fn EncryptMessage(phcontext: *const super::super::Credentials::SecHandle, fqop: u32, pmessage: *const SecBufferDesc, messageseqno: u32) -> ::windows_sys::core::HRESULT; |
04454e1e | 120 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 121 | pub fn EnumerateSecurityPackagesA(pcpackages: *mut u32, pppackageinfo: *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT; |
04454e1e | 122 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 123 | pub fn EnumerateSecurityPackagesW(pcpackages: *mut u32, pppackageinfo: *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT; |
04454e1e | 124 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 125 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 126 | pub fn ExportSecurityContext(phcontext: *const super::super::Credentials::SecHandle, fflags: EXPORT_SECURITY_CONTEXT_FLAGS, ppackedcontext: *mut SecBuffer, ptoken: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; |
04454e1e | 127 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 128 | pub fn FreeContextBuffer(pvcontextbuffer: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; |
04454e1e | 129 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 130 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 131 | pub fn FreeCredentialsHandle(phcredential: *const super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT; |
04454e1e | 132 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 133 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
134 | pub fn GetComputerObjectNameA(nameformat: EXTENDED_NAME_FORMAT, lpnamebuffer: ::windows_sys::core::PSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN; |
135 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 136 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
137 | pub fn GetComputerObjectNameW(nameformat: EXTENDED_NAME_FORMAT, lpnamebuffer: ::windows_sys::core::PWSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN; |
138 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 139 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
140 | pub fn GetUserNameExA(nameformat: EXTENDED_NAME_FORMAT, lpnamebuffer: ::windows_sys::core::PSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN; |
141 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 142 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
143 | pub fn GetUserNameExW(nameformat: EXTENDED_NAME_FORMAT, lpnamebuffer: ::windows_sys::core::PWSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN; |
144 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] | |
5e7ed085 | 145 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 146 | pub fn ImpersonateSecurityContext(phcontext: *const super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT; |
04454e1e FG |
147 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
148 | #[cfg(feature = "Win32_Security_Credentials")] | |
923072b8 | 149 | pub fn ImportSecurityContextA(pszpackage: ::windows_sys::core::PCSTR, ppackedcontext: *const SecBuffer, token: *const ::core::ffi::c_void, phcontext: *mut super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT; |
04454e1e FG |
150 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
151 | #[cfg(feature = "Win32_Security_Credentials")] | |
923072b8 | 152 | pub fn ImportSecurityContextW(pszpackage: ::windows_sys::core::PCWSTR, ppackedcontext: *const SecBuffer, token: *const ::core::ffi::c_void, phcontext: *mut super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT; |
04454e1e | 153 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 FG |
154 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] |
155 | pub fn InitSecurityInterfaceA() -> *mut SecurityFunctionTableA; | |
04454e1e | 156 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 FG |
157 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] |
158 | pub fn InitSecurityInterfaceW() -> *mut SecurityFunctionTableW; | |
04454e1e | 159 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 160 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 161 | pub fn InitializeSecurityContextA(phcredential: *const super::super::Credentials::SecHandle, phcontext: *const super::super::Credentials::SecHandle, psztargetname: *const i8, fcontextreq: u32, reserved1: u32, targetdatarep: u32, pinput: *const SecBufferDesc, reserved2: u32, phnewcontext: *mut super::super::Credentials::SecHandle, poutput: *mut SecBufferDesc, pfcontextattr: *mut u32, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT; |
04454e1e | 162 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 163 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 164 | pub fn InitializeSecurityContextW(phcredential: *const super::super::Credentials::SecHandle, phcontext: *const super::super::Credentials::SecHandle, psztargetname: *const u16, fcontextreq: u32, reserved1: u32, targetdatarep: u32, pinput: *const SecBufferDesc, reserved2: u32, phnewcontext: *mut super::super::Credentials::SecHandle, poutput: *mut SecBufferDesc, pfcontextattr: *mut u32, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT; |
04454e1e | 165 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
166 | #[cfg(feature = "Win32_Foundation")] |
167 | pub fn LsaAddAccountRights(policyhandle: *const ::core::ffi::c_void, accountsid: super::super::super::Foundation::PSID, userrights: *const super::super::super::Foundation::UNICODE_STRING, countofrights: u32) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 168 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
169 | #[cfg(feature = "Win32_Foundation")] |
170 | pub fn LsaCallAuthenticationPackage(lsahandle: super::super::super::Foundation::HANDLE, authenticationpackage: u32, protocolsubmitbuffer: *const ::core::ffi::c_void, submitbufferlength: u32, protocolreturnbuffer: *mut *mut ::core::ffi::c_void, returnbufferlength: *mut u32, protocolstatus: *mut i32) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 171 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
172 | #[cfg(feature = "Win32_Foundation")] |
173 | pub fn LsaClose(objecthandle: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 174 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
175 | #[cfg(feature = "Win32_Foundation")] |
176 | pub fn LsaConnectUntrusted(lsahandle: *mut super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 177 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
178 | #[cfg(feature = "Win32_Foundation")] |
179 | pub fn LsaCreateTrustedDomainEx(policyhandle: *const ::core::ffi::c_void, trusteddomaininformation: *const TRUSTED_DOMAIN_INFORMATION_EX, authenticationinformation: *const TRUSTED_DOMAIN_AUTH_INFORMATION, desiredaccess: u32, trusteddomainhandle: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 180 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
181 | #[cfg(feature = "Win32_Foundation")] |
182 | pub fn LsaDeleteTrustedDomain(policyhandle: *const ::core::ffi::c_void, trusteddomainsid: super::super::super::Foundation::PSID) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 183 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
184 | #[cfg(feature = "Win32_Foundation")] |
185 | pub fn LsaDeregisterLogonProcess(lsahandle: LsaHandle) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 186 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
187 | #[cfg(feature = "Win32_Foundation")] |
188 | pub fn LsaEnumerateAccountRights(policyhandle: *const ::core::ffi::c_void, accountsid: super::super::super::Foundation::PSID, userrights: *mut *mut super::super::super::Foundation::UNICODE_STRING, countofrights: *mut u32) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 189 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
190 | #[cfg(feature = "Win32_Foundation")] |
191 | pub fn LsaEnumerateAccountsWithUserRight(policyhandle: *const ::core::ffi::c_void, userright: *const super::super::super::Foundation::UNICODE_STRING, buffer: *mut *mut ::core::ffi::c_void, countreturned: *mut u32) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 192 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
193 | #[cfg(feature = "Win32_Foundation")] |
194 | pub fn LsaEnumerateLogonSessions(logonsessioncount: *mut u32, logonsessionlist: *mut *mut super::super::super::Foundation::LUID) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 195 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
196 | #[cfg(feature = "Win32_Foundation")] |
197 | pub fn LsaEnumerateTrustedDomains(policyhandle: *const ::core::ffi::c_void, enumerationcontext: *mut u32, buffer: *mut *mut ::core::ffi::c_void, preferedmaximumlength: u32, countreturned: *mut u32) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 198 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
199 | #[cfg(feature = "Win32_Foundation")] |
200 | pub fn LsaEnumerateTrustedDomainsEx(policyhandle: *const ::core::ffi::c_void, enumerationcontext: *mut u32, buffer: *mut *mut ::core::ffi::c_void, preferedmaximumlength: u32, countreturned: *mut u32) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 201 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
202 | #[cfg(feature = "Win32_Foundation")] |
203 | pub fn LsaFreeMemory(buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 204 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
205 | #[cfg(feature = "Win32_Foundation")] |
206 | pub fn LsaFreeReturnBuffer(buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 207 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
208 | #[cfg(feature = "Win32_Foundation")] |
209 | pub fn LsaGetAppliedCAPIDs(systemname: *const super::super::super::Foundation::UNICODE_STRING, capids: *mut *mut super::super::super::Foundation::PSID, capidcount: *mut u32) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 210 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
211 | #[cfg(feature = "Win32_Foundation")] |
212 | pub fn LsaGetLogonSessionData(logonid: *const super::super::super::Foundation::LUID, pplogonsessiondata: *mut *mut SECURITY_LOGON_SESSION_DATA) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 213 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] |
5e7ed085 FG |
214 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] |
215 | pub fn LsaLogonUser(lsahandle: super::super::super::Foundation::HANDLE, originname: *const super::super::super::System::Kernel::STRING, logontype: SECURITY_LOGON_TYPE, authenticationpackage: u32, authenticationinformation: *const ::core::ffi::c_void, authenticationinformationlength: u32, localgroups: *const super::super::TOKEN_GROUPS, sourcecontext: *const super::super::TOKEN_SOURCE, profilebuffer: *mut *mut ::core::ffi::c_void, profilebufferlength: *mut u32, logonid: *mut super::super::super::Foundation::LUID, token: *mut super::super::super::Foundation::HANDLE, quotas: *mut super::super::QUOTA_LIMITS, substatus: *mut i32) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 216 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] |
5e7ed085 FG |
217 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] |
218 | pub fn LsaLookupAuthenticationPackage(lsahandle: super::super::super::Foundation::HANDLE, packagename: *const super::super::super::System::Kernel::STRING, authenticationpackage: *mut u32) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 219 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
220 | #[cfg(feature = "Win32_Foundation")] |
221 | pub fn LsaLookupNames(policyhandle: *const ::core::ffi::c_void, count: u32, names: *const super::super::super::Foundation::UNICODE_STRING, referenceddomains: *mut *mut LSA_REFERENCED_DOMAIN_LIST, sids: *mut *mut LSA_TRANSLATED_SID) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 222 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
223 | #[cfg(feature = "Win32_Foundation")] |
224 | pub fn LsaLookupNames2(policyhandle: *const ::core::ffi::c_void, flags: u32, count: u32, names: *const super::super::super::Foundation::UNICODE_STRING, referenceddomains: *mut *mut LSA_REFERENCED_DOMAIN_LIST, sids: *mut *mut LSA_TRANSLATED_SID2) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 225 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
226 | #[cfg(feature = "Win32_Foundation")] |
227 | pub fn LsaLookupSids(policyhandle: *const ::core::ffi::c_void, count: u32, sids: *const super::super::super::Foundation::PSID, referenceddomains: *mut *mut LSA_REFERENCED_DOMAIN_LIST, names: *mut *mut LSA_TRANSLATED_NAME) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 228 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
229 | #[cfg(feature = "Win32_Foundation")] |
230 | pub fn LsaLookupSids2(policyhandle: *const ::core::ffi::c_void, lookupoptions: u32, count: u32, sids: *const super::super::super::Foundation::PSID, referenceddomains: *mut *mut LSA_REFERENCED_DOMAIN_LIST, names: *mut *mut LSA_TRANSLATED_NAME) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 231 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
232 | #[cfg(feature = "Win32_Foundation")] |
233 | pub fn LsaNtStatusToWinError(status: super::super::super::Foundation::NTSTATUS) -> u32; | |
04454e1e | 234 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"] |
5e7ed085 FG |
235 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))] |
236 | pub fn LsaOpenPolicy(systemname: *const super::super::super::Foundation::UNICODE_STRING, objectattributes: *const super::super::super::System::WindowsProgramming::OBJECT_ATTRIBUTES, desiredaccess: u32, policyhandle: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 237 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
238 | #[cfg(feature = "Win32_Foundation")] |
239 | pub fn LsaOpenTrustedDomainByName(policyhandle: *const ::core::ffi::c_void, trusteddomainname: *const super::super::super::Foundation::UNICODE_STRING, desiredaccess: u32, trusteddomainhandle: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 240 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
241 | #[cfg(feature = "Win32_Foundation")] |
242 | pub fn LsaQueryCAPs(capids: *const super::super::super::Foundation::PSID, capidcount: u32, caps: *mut *mut CENTRAL_ACCESS_POLICY, capcount: *mut u32) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 243 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
244 | #[cfg(feature = "Win32_Foundation")] |
245 | pub fn LsaQueryDomainInformationPolicy(policyhandle: *const ::core::ffi::c_void, informationclass: POLICY_DOMAIN_INFORMATION_CLASS, buffer: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 246 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
247 | #[cfg(feature = "Win32_Foundation")] |
248 | pub fn LsaQueryForestTrustInformation(policyhandle: *const ::core::ffi::c_void, trusteddomainname: *const super::super::super::Foundation::UNICODE_STRING, foresttrustinfo: *mut *mut LSA_FOREST_TRUST_INFORMATION) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 249 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
250 | #[cfg(feature = "Win32_Foundation")] |
251 | pub fn LsaQueryInformationPolicy(policyhandle: *const ::core::ffi::c_void, informationclass: POLICY_INFORMATION_CLASS, buffer: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 252 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
253 | #[cfg(feature = "Win32_Foundation")] |
254 | pub fn LsaQueryTrustedDomainInfo(policyhandle: *const ::core::ffi::c_void, trusteddomainsid: super::super::super::Foundation::PSID, informationclass: TRUSTED_INFORMATION_CLASS, buffer: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 255 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
256 | #[cfg(feature = "Win32_Foundation")] |
257 | pub fn LsaQueryTrustedDomainInfoByName(policyhandle: *const ::core::ffi::c_void, trusteddomainname: *const super::super::super::Foundation::UNICODE_STRING, informationclass: TRUSTED_INFORMATION_CLASS, buffer: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 258 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] |
5e7ed085 FG |
259 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] |
260 | pub fn LsaRegisterLogonProcess(logonprocessname: *const super::super::super::System::Kernel::STRING, lsahandle: *mut LsaHandle, securitymode: *mut u32) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 261 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
262 | #[cfg(feature = "Win32_Foundation")] |
263 | pub fn LsaRegisterPolicyChangeNotification(informationclass: POLICY_NOTIFICATION_INFORMATION_CLASS, notificationeventhandle: super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 264 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
265 | #[cfg(feature = "Win32_Foundation")] |
266 | pub fn LsaRemoveAccountRights(policyhandle: *const ::core::ffi::c_void, accountsid: super::super::super::Foundation::PSID, allrights: super::super::super::Foundation::BOOLEAN, userrights: *const super::super::super::Foundation::UNICODE_STRING, countofrights: u32) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 267 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
268 | #[cfg(feature = "Win32_Foundation")] |
269 | pub fn LsaRetrievePrivateData(policyhandle: *const ::core::ffi::c_void, keyname: *const super::super::super::Foundation::UNICODE_STRING, privatedata: *mut *mut super::super::super::Foundation::UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 270 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
271 | #[cfg(feature = "Win32_Foundation")] |
272 | pub fn LsaSetCAPs(capdns: *const super::super::super::Foundation::UNICODE_STRING, capdncount: u32, flags: u32) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 273 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
274 | #[cfg(feature = "Win32_Foundation")] |
275 | pub fn LsaSetDomainInformationPolicy(policyhandle: *const ::core::ffi::c_void, informationclass: POLICY_DOMAIN_INFORMATION_CLASS, buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 276 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
277 | #[cfg(feature = "Win32_Foundation")] |
278 | pub fn LsaSetForestTrustInformation(policyhandle: *const ::core::ffi::c_void, trusteddomainname: *const super::super::super::Foundation::UNICODE_STRING, foresttrustinfo: *const LSA_FOREST_TRUST_INFORMATION, checkonly: super::super::super::Foundation::BOOLEAN, collisioninfo: *mut *mut LSA_FOREST_TRUST_COLLISION_INFORMATION) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 279 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
280 | #[cfg(feature = "Win32_Foundation")] |
281 | pub fn LsaSetInformationPolicy(policyhandle: *const ::core::ffi::c_void, informationclass: POLICY_INFORMATION_CLASS, buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 282 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
283 | #[cfg(feature = "Win32_Foundation")] |
284 | pub fn LsaSetTrustedDomainInfoByName(policyhandle: *const ::core::ffi::c_void, trusteddomainname: *const super::super::super::Foundation::UNICODE_STRING, informationclass: TRUSTED_INFORMATION_CLASS, buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 285 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
286 | #[cfg(feature = "Win32_Foundation")] |
287 | pub fn LsaSetTrustedDomainInformation(policyhandle: *const ::core::ffi::c_void, trusteddomainsid: super::super::super::Foundation::PSID, informationclass: TRUSTED_INFORMATION_CLASS, buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 288 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
289 | #[cfg(feature = "Win32_Foundation")] |
290 | pub fn LsaStorePrivateData(policyhandle: *const ::core::ffi::c_void, keyname: *const super::super::super::Foundation::UNICODE_STRING, privatedata: *const super::super::super::Foundation::UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 291 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
292 | #[cfg(feature = "Win32_Foundation")] |
293 | pub fn LsaUnregisterPolicyChangeNotification(informationclass: POLICY_NOTIFICATION_INFORMATION_CLASS, notificationeventhandle: super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 294 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 295 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 296 | pub fn MakeSignature(phcontext: *const super::super::Credentials::SecHandle, fqop: u32, pmessage: *const SecBufferDesc, messageseqno: u32) -> ::windows_sys::core::HRESULT; |
04454e1e | 297 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 298 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 299 | pub fn QueryContextAttributesA(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; |
04454e1e | 300 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 301 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 302 | pub fn QueryContextAttributesExA(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *mut ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT; |
04454e1e | 303 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 304 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 305 | pub fn QueryContextAttributesExW(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *mut ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT; |
04454e1e | 306 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 307 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 308 | pub fn QueryContextAttributesW(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; |
04454e1e | 309 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 310 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 311 | pub fn QueryCredentialsAttributesA(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; |
04454e1e | 312 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 313 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 314 | pub fn QueryCredentialsAttributesExA(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *mut ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT; |
04454e1e | 315 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 316 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 317 | pub fn QueryCredentialsAttributesExW(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *mut ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT; |
04454e1e | 318 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 319 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 320 | pub fn QueryCredentialsAttributesW(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; |
04454e1e | 321 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 322 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 323 | pub fn QuerySecurityContextToken(phcontext: *const super::super::Credentials::SecHandle, token: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; |
04454e1e | 324 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 325 | pub fn QuerySecurityPackageInfoA(pszpackagename: ::windows_sys::core::PCSTR, pppackageinfo: *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT; |
04454e1e | 326 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 327 | pub fn QuerySecurityPackageInfoW(pszpackagename: ::windows_sys::core::PCWSTR, pppackageinfo: *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT; |
04454e1e | 328 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 329 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 330 | pub fn RevertSecurityContext(phcontext: *const super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT; |
04454e1e FG |
331 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
332 | pub fn SLAcquireGenuineTicket(ppticketblob: *mut *mut ::core::ffi::c_void, pcbticketblob: *mut u32, pwsztemplateid: ::windows_sys::core::PCWSTR, pwszserverurl: ::windows_sys::core::PCWSTR, pwszclienttoken: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; | |
333 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] | |
334 | pub fn SLActivateProduct(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, cbappspecificdata: u32, pvappspecificdata: *const ::core::ffi::c_void, pactivationinfo: *const SL_ACTIVATION_INFO_HEADER, pwszproxyserver: ::windows_sys::core::PCWSTR, wproxyport: u16) -> ::windows_sys::core::HRESULT; | |
335 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] | |
5e7ed085 | 336 | pub fn SLClose(hslc: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; |
04454e1e FG |
337 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
338 | pub fn SLConsumeRight(hslc: *const ::core::ffi::c_void, pappid: *const ::windows_sys::core::GUID, pproductskuid: *const ::windows_sys::core::GUID, pwszrightname: ::windows_sys::core::PCWSTR, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; | |
339 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] | |
340 | pub fn SLDepositOfflineConfirmationId(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, pwszinstallationid: ::windows_sys::core::PCWSTR, pwszconfirmationid: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; | |
341 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] | |
342 | pub fn SLDepositOfflineConfirmationIdEx(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, pactivationinfo: *const SL_ACTIVATION_INFO_HEADER, pwszinstallationid: ::windows_sys::core::PCWSTR, pwszconfirmationid: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; | |
343 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] | |
344 | pub fn SLFireEvent(hslc: *const ::core::ffi::c_void, pwszeventid: ::windows_sys::core::PCWSTR, papplicationid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; | |
345 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] | |
346 | pub fn SLGenerateOfflineInstallationId(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, ppwszinstallationid: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; | |
347 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] | |
348 | pub fn SLGenerateOfflineInstallationIdEx(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, pactivationinfo: *const SL_ACTIVATION_INFO_HEADER, ppwszinstallationid: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; | |
349 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] | |
350 | pub fn SLGetApplicationInformation(hslc: *const ::core::ffi::c_void, papplicationid: *const ::windows_sys::core::GUID, pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT; | |
351 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] | |
352 | pub fn SLGetGenuineInformation(pqueryid: *const ::windows_sys::core::GUID, pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT; | |
353 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] | |
5e7ed085 | 354 | pub fn SLGetInstalledProductKeyIds(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, pnproductkeyids: *mut u32, ppproductkeyids: *mut *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; |
04454e1e | 355 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 356 | pub fn SLGetLicense(hslc: *const ::core::ffi::c_void, plicensefileid: *const ::windows_sys::core::GUID, pcblicensefile: *mut u32, ppblicensefile: *mut *mut u8) -> ::windows_sys::core::HRESULT; |
04454e1e | 357 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 358 | pub fn SLGetLicenseFileId(hslc: *const ::core::ffi::c_void, cblicenseblob: u32, pblicenseblob: *const u8, plicensefileid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; |
04454e1e FG |
359 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
360 | pub fn SLGetLicenseInformation(hslc: *const ::core::ffi::c_void, psllicenseid: *const ::windows_sys::core::GUID, pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT; | |
361 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] | |
362 | pub fn SLGetLicensingStatusInformation(hslc: *const ::core::ffi::c_void, pappid: *const ::windows_sys::core::GUID, pproductskuid: *const ::windows_sys::core::GUID, pwszrightname: ::windows_sys::core::PCWSTR, pnstatuscount: *mut u32, pplicensingstatus: *mut *mut SL_LICENSING_STATUS) -> ::windows_sys::core::HRESULT; | |
363 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] | |
364 | pub fn SLGetPKeyId(hslc: *const ::core::ffi::c_void, pwszpkeyalgorithm: ::windows_sys::core::PCWSTR, pwszpkeystring: ::windows_sys::core::PCWSTR, cbpkeyspecificdata: u32, pbpkeyspecificdata: *const u8, ppkeyid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; | |
365 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] | |
366 | pub fn SLGetPKeyInformation(hslc: *const ::core::ffi::c_void, ppkeyid: *const ::windows_sys::core::GUID, pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT; | |
367 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] | |
368 | pub fn SLGetPolicyInformation(hslc: *const ::core::ffi::c_void, pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT; | |
369 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] | |
370 | pub fn SLGetPolicyInformationDWORD(hslc: *const ::core::ffi::c_void, pwszvaluename: ::windows_sys::core::PCWSTR, pdwvalue: *mut u32) -> ::windows_sys::core::HRESULT; | |
371 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] | |
372 | pub fn SLGetProductSkuInformation(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT; | |
373 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] | |
374 | pub fn SLGetReferralInformation(hslc: *const ::core::ffi::c_void, ereferraltype: SLREFERRALTYPE, pskuorappid: *const ::windows_sys::core::GUID, pwszvaluename: ::windows_sys::core::PCWSTR, ppwszvalue: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; | |
375 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] | |
5e7ed085 | 376 | pub fn SLGetSLIDList(hslc: *const ::core::ffi::c_void, equeryidtype: SLIDTYPE, pqueryid: *const ::windows_sys::core::GUID, ereturnidtype: SLIDTYPE, pnreturnids: *mut u32, ppreturnids: *mut *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; |
04454e1e FG |
377 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
378 | pub fn SLGetServerStatus(pwszserverurl: ::windows_sys::core::PCWSTR, pwszacquisitiontype: ::windows_sys::core::PCWSTR, pwszproxyserver: ::windows_sys::core::PCWSTR, wproxyport: u16, phrstatus: *mut ::windows_sys::core::HRESULT) -> ::windows_sys::core::HRESULT; | |
379 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] | |
380 | pub fn SLGetServiceInformation(hslc: *const ::core::ffi::c_void, pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT; | |
381 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] | |
382 | pub fn SLGetWindowsInformation(pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT; | |
383 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] | |
384 | pub fn SLGetWindowsInformationDWORD(pwszvaluename: ::windows_sys::core::PCWSTR, pdwvalue: *mut u32) -> ::windows_sys::core::HRESULT; | |
385 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] | |
5e7ed085 | 386 | pub fn SLInstallLicense(hslc: *const ::core::ffi::c_void, cblicenseblob: u32, pblicenseblob: *const u8, plicensefileid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; |
04454e1e FG |
387 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
388 | pub fn SLInstallProofOfPurchase(hslc: *const ::core::ffi::c_void, pwszpkeyalgorithm: ::windows_sys::core::PCWSTR, pwszpkeystring: ::windows_sys::core::PCWSTR, cbpkeyspecificdata: u32, pbpkeyspecificdata: *const u8, ppkeyid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; | |
389 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] | |
5e7ed085 | 390 | pub fn SLIsGenuineLocal(pappid: *const ::windows_sys::core::GUID, pgenuinestate: *mut SL_GENUINE_STATE, puioptions: *mut SL_NONGENUINE_UI_OPTIONS) -> ::windows_sys::core::HRESULT; |
04454e1e | 391 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 392 | pub fn SLOpen(phslc: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; |
04454e1e FG |
393 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
394 | pub fn SLQueryLicenseValueFromApp(valuename: ::windows_sys::core::PCWSTR, valuetype: *mut u32, databuffer: *mut ::core::ffi::c_void, datasize: u32, resultdatasize: *mut u32) -> ::windows_sys::core::HRESULT; | |
395 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 396 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
397 | pub fn SLRegisterEvent(hslc: *const ::core::ffi::c_void, pwszeventid: ::windows_sys::core::PCWSTR, papplicationid: *const ::windows_sys::core::GUID, hevent: super::super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; |
398 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] | |
5e7ed085 | 399 | pub fn SLSetCurrentProductKey(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, pproductkeyid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; |
04454e1e FG |
400 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
401 | pub fn SLSetGenuineInformation(pqueryid: *const ::windows_sys::core::GUID, pwszvaluename: ::windows_sys::core::PCWSTR, edatatype: SLDATATYPE, cbvalue: u32, pbvalue: *const u8) -> ::windows_sys::core::HRESULT; | |
402 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] | |
5e7ed085 | 403 | pub fn SLUninstallLicense(hslc: *const ::core::ffi::c_void, plicensefileid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; |
04454e1e | 404 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 405 | pub fn SLUninstallProofOfPurchase(hslc: *const ::core::ffi::c_void, ppkeyid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT; |
04454e1e | 406 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 407 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
408 | pub fn SLUnregisterEvent(hslc: *const ::core::ffi::c_void, pwszeventid: ::windows_sys::core::PCWSTR, papplicationid: *const ::windows_sys::core::GUID, hevent: super::super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT; |
409 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] | |
5e7ed085 | 410 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 411 | pub fn SaslAcceptSecurityContext(phcredential: *const super::super::Credentials::SecHandle, phcontext: *const super::super::Credentials::SecHandle, pinput: *const SecBufferDesc, fcontextreq: u32, targetdatarep: u32, phnewcontext: *mut super::super::Credentials::SecHandle, poutput: *mut SecBufferDesc, pfcontextattr: *mut u32, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT; |
04454e1e | 412 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 413 | pub fn SaslEnumerateProfilesA(profilelist: *mut ::windows_sys::core::PSTR, profilecount: *mut u32) -> ::windows_sys::core::HRESULT; |
04454e1e | 414 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 415 | pub fn SaslEnumerateProfilesW(profilelist: *mut ::windows_sys::core::PWSTR, profilecount: *mut u32) -> ::windows_sys::core::HRESULT; |
04454e1e | 416 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 417 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 418 | pub fn SaslGetContextOption(contexthandle: *const super::super::Credentials::SecHandle, option: u32, value: *mut ::core::ffi::c_void, size: u32, needed: *mut u32) -> ::windows_sys::core::HRESULT; |
04454e1e | 419 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 420 | pub fn SaslGetProfilePackageA(profilename: ::windows_sys::core::PCSTR, packageinfo: *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT; |
04454e1e | 421 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 422 | pub fn SaslGetProfilePackageW(profilename: ::windows_sys::core::PCWSTR, packageinfo: *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT; |
04454e1e | 423 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 424 | pub fn SaslIdentifyPackageA(pinput: *const SecBufferDesc, packageinfo: *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT; |
04454e1e | 425 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 426 | pub fn SaslIdentifyPackageW(pinput: *const SecBufferDesc, packageinfo: *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT; |
04454e1e FG |
427 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
428 | #[cfg(feature = "Win32_Security_Credentials")] | |
923072b8 | 429 | pub fn SaslInitializeSecurityContextA(phcredential: *const super::super::Credentials::SecHandle, phcontext: *const super::super::Credentials::SecHandle, psztargetname: ::windows_sys::core::PCSTR, fcontextreq: u32, reserved1: u32, targetdatarep: u32, pinput: *const SecBufferDesc, reserved2: u32, phnewcontext: *mut super::super::Credentials::SecHandle, poutput: *mut SecBufferDesc, pfcontextattr: *mut u32, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT; |
04454e1e FG |
430 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
431 | #[cfg(feature = "Win32_Security_Credentials")] | |
923072b8 | 432 | pub fn SaslInitializeSecurityContextW(phcredential: *const super::super::Credentials::SecHandle, phcontext: *const super::super::Credentials::SecHandle, psztargetname: ::windows_sys::core::PCWSTR, fcontextreq: u32, reserved1: u32, targetdatarep: u32, pinput: *const SecBufferDesc, reserved2: u32, phnewcontext: *mut super::super::Credentials::SecHandle, poutput: *mut SecBufferDesc, pfcontextattr: *mut u32, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT; |
04454e1e | 433 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 434 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 435 | pub fn SaslSetContextOption(contexthandle: *const super::super::Credentials::SecHandle, option: u32, value: *const ::core::ffi::c_void, size: u32) -> ::windows_sys::core::HRESULT; |
04454e1e | 436 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 437 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 438 | pub fn SetContextAttributesA(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *const ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT; |
04454e1e | 439 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 440 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 441 | pub fn SetContextAttributesW(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *const ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT; |
04454e1e | 442 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 443 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 444 | pub fn SetCredentialsAttributesA(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *const ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT; |
04454e1e | 445 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 446 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 447 | pub fn SetCredentialsAttributesW(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *const ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT; |
04454e1e | 448 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
449 | #[cfg(feature = "Win32_Foundation")] |
450 | pub fn SslCrackCertificate(pbcertificate: *mut u8, cbcertificate: u32, dwflags: u32, ppcertificate: *mut *mut X509Certificate) -> super::super::super::Foundation::BOOL; | |
04454e1e | 451 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 452 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
453 | pub fn SslEmptyCacheA(psztargetname: ::windows_sys::core::PCSTR, dwflags: u32) -> super::super::super::Foundation::BOOL; |
454 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 455 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
456 | pub fn SslEmptyCacheW(psztargetname: ::windows_sys::core::PCWSTR, dwflags: u32) -> super::super::super::Foundation::BOOL; |
457 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
458 | #[cfg(feature = "Win32_Foundation")] |
459 | pub fn SslFreeCertificate(pcertificate: *mut X509Certificate); | |
04454e1e | 460 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 461 | pub fn SslGenerateRandomBits(prandomdata: *mut u8, crandomdata: i32); |
04454e1e | 462 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 463 | pub fn SslGetExtensions(clienthello: *const u8, clienthellobytesize: u32, genericextensions: *mut SCH_EXTENSION_DATA, genericextensionscount: u8, bytestoread: *mut u32, flags: SchGetExtensionsOptions) -> ::windows_sys::core::HRESULT; |
04454e1e | 464 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 465 | pub fn SslGetMaximumKeySize(reserved: u32) -> u32; |
04454e1e | 466 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 467 | pub fn SslGetServerIdentity(clienthello: *const u8, clienthellosize: u32, serveridentity: *mut *mut u8, serveridentitysize: *mut u32, flags: u32) -> ::windows_sys::core::HRESULT; |
04454e1e | 468 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 469 | #[cfg(feature = "Win32_Foundation")] |
923072b8 | 470 | pub fn SspiCompareAuthIdentities(authidentity1: *const ::core::ffi::c_void, authidentity2: *const ::core::ffi::c_void, samesupplieduser: *mut super::super::super::Foundation::BOOLEAN, samesuppliedidentity: *mut super::super::super::Foundation::BOOLEAN) -> ::windows_sys::core::HRESULT; |
04454e1e | 471 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 472 | pub fn SspiCopyAuthIdentity(authdata: *const ::core::ffi::c_void, authdatacopy: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; |
04454e1e | 473 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 474 | pub fn SspiDecryptAuthIdentity(encryptedauthdata: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; |
04454e1e | 475 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 476 | pub fn SspiDecryptAuthIdentityEx(options: u32, encryptedauthdata: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; |
04454e1e | 477 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 478 | pub fn SspiEncodeAuthIdentityAsStrings(pauthidentity: *const ::core::ffi::c_void, ppszusername: *mut ::windows_sys::core::PWSTR, ppszdomainname: *mut ::windows_sys::core::PWSTR, ppszpackedcredentialsstring: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; |
04454e1e | 479 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 480 | pub fn SspiEncodeStringsAsAuthIdentity(pszusername: ::windows_sys::core::PCWSTR, pszdomainname: ::windows_sys::core::PCWSTR, pszpackedcredentialsstring: ::windows_sys::core::PCWSTR, ppauthidentity: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; |
04454e1e | 481 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 482 | pub fn SspiEncryptAuthIdentity(authdata: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; |
04454e1e | 483 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 484 | pub fn SspiEncryptAuthIdentityEx(options: u32, authdata: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; |
04454e1e | 485 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 486 | pub fn SspiExcludePackage(authidentity: *const ::core::ffi::c_void, pszpackagename: ::windows_sys::core::PCWSTR, ppnewauthidentity: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; |
04454e1e | 487 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 488 | pub fn SspiFreeAuthIdentity(authdata: *const ::core::ffi::c_void); |
04454e1e | 489 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 490 | pub fn SspiGetTargetHostName(psztargetname: ::windows_sys::core::PCWSTR, pszhostname: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; |
04454e1e | 491 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
492 | #[cfg(feature = "Win32_Foundation")] |
493 | pub fn SspiIsAuthIdentityEncrypted(encryptedauthdata: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOLEAN; | |
04454e1e | 494 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
495 | #[cfg(feature = "Win32_Foundation")] |
496 | pub fn SspiIsPromptingNeeded(errororntstatus: u32) -> super::super::super::Foundation::BOOLEAN; | |
04454e1e | 497 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 498 | pub fn SspiLocalFree(databuffer: *const ::core::ffi::c_void); |
04454e1e | 499 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 500 | pub fn SspiMarshalAuthIdentity(authidentity: *const ::core::ffi::c_void, authidentitylength: *mut u32, authidentitybytearray: *mut *mut i8) -> ::windows_sys::core::HRESULT; |
04454e1e | 501 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 502 | pub fn SspiPrepareForCredRead(authidentity: *const ::core::ffi::c_void, psztargetname: ::windows_sys::core::PCWSTR, pcredmancredentialtype: *mut u32, ppszcredmantargetname: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT; |
04454e1e | 503 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 504 | pub fn SspiPrepareForCredWrite(authidentity: *const ::core::ffi::c_void, psztargetname: ::windows_sys::core::PCWSTR, pcredmancredentialtype: *mut u32, ppszcredmantargetname: *mut ::windows_sys::core::PWSTR, ppszcredmanusername: *mut ::windows_sys::core::PWSTR, ppcredentialblob: *mut *mut u8, pcredentialblobsize: *mut u32) -> ::windows_sys::core::HRESULT; |
04454e1e FG |
505 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
506 | pub fn SspiPromptForCredentialsA(psztargetname: ::windows_sys::core::PCSTR, puiinfo: *const ::core::ffi::c_void, dwautherror: u32, pszpackage: ::windows_sys::core::PCSTR, pinputauthidentity: *const ::core::ffi::c_void, ppauthidentity: *mut *mut ::core::ffi::c_void, pfsave: *mut i32, dwflags: u32) -> u32; | |
507 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] | |
508 | pub fn SspiPromptForCredentialsW(psztargetname: ::windows_sys::core::PCWSTR, puiinfo: *const ::core::ffi::c_void, dwautherror: u32, pszpackage: ::windows_sys::core::PCWSTR, pinputauthidentity: *const ::core::ffi::c_void, ppauthidentity: *mut *mut ::core::ffi::c_void, pfsave: *mut i32, dwflags: u32) -> u32; | |
509 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] | |
923072b8 | 510 | pub fn SspiUnmarshalAuthIdentity(authidentitylength: u32, authidentitybytearray: ::windows_sys::core::PCSTR, ppauthidentity: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; |
04454e1e | 511 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 512 | pub fn SspiValidateAuthIdentity(authdata: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT; |
04454e1e | 513 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 514 | pub fn SspiZeroAuthIdentity(authdata: *const ::core::ffi::c_void); |
04454e1e | 515 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
516 | #[cfg(feature = "Win32_Foundation")] |
517 | pub fn SystemFunction036(randombuffer: *mut ::core::ffi::c_void, randombufferlength: u32) -> super::super::super::Foundation::BOOLEAN; | |
04454e1e | 518 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
519 | #[cfg(feature = "Win32_Foundation")] |
520 | pub fn SystemFunction040(memory: *mut ::core::ffi::c_void, memorysize: u32, optionflags: u32) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 521 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
522 | #[cfg(feature = "Win32_Foundation")] |
523 | pub fn SystemFunction041(memory: *mut ::core::ffi::c_void, memorysize: u32, optionflags: u32) -> super::super::super::Foundation::NTSTATUS; | |
04454e1e | 524 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 525 | pub fn TokenBindingDeleteAllBindings() -> ::windows_sys::core::HRESULT; |
04454e1e | 526 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 527 | pub fn TokenBindingDeleteBinding(targeturl: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT; |
04454e1e | 528 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 529 | pub fn TokenBindingGenerateBinding(keytype: TOKENBINDING_KEY_PARAMETERS_TYPE, targeturl: ::windows_sys::core::PCWSTR, bindingtype: TOKENBINDING_TYPE, tlsekm: *const ::core::ffi::c_void, tlsekmsize: u32, extensionformat: TOKENBINDING_EXTENSION_FORMAT, extensiondata: *const ::core::ffi::c_void, tokenbinding: *mut *mut ::core::ffi::c_void, tokenbindingsize: *mut u32, resultdata: *mut *mut TOKENBINDING_RESULT_DATA) -> ::windows_sys::core::HRESULT; |
04454e1e | 530 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 531 | pub fn TokenBindingGenerateID(keytype: TOKENBINDING_KEY_PARAMETERS_TYPE, publickey: *const ::core::ffi::c_void, publickeysize: u32, resultdata: *mut *mut TOKENBINDING_RESULT_DATA) -> ::windows_sys::core::HRESULT; |
04454e1e | 532 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 533 | pub fn TokenBindingGenerateIDForUri(keytype: TOKENBINDING_KEY_PARAMETERS_TYPE, targeturi: ::windows_sys::core::PCWSTR, resultdata: *mut *mut TOKENBINDING_RESULT_DATA) -> ::windows_sys::core::HRESULT; |
04454e1e | 534 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 535 | pub fn TokenBindingGenerateMessage(tokenbindings: *const *const ::core::ffi::c_void, tokenbindingssize: *const u32, tokenbindingscount: u32, tokenbindingmessage: *mut *mut ::core::ffi::c_void, tokenbindingmessagesize: *mut u32) -> ::windows_sys::core::HRESULT; |
04454e1e | 536 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 537 | pub fn TokenBindingGetHighestSupportedVersion(majorversion: *mut u8, minorversion: *mut u8) -> ::windows_sys::core::HRESULT; |
04454e1e | 538 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 539 | pub fn TokenBindingGetKeyTypesClient(keytypes: *mut *mut TOKENBINDING_KEY_TYPES) -> ::windows_sys::core::HRESULT; |
04454e1e | 540 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 541 | pub fn TokenBindingGetKeyTypesServer(keytypes: *mut *mut TOKENBINDING_KEY_TYPES) -> ::windows_sys::core::HRESULT; |
04454e1e | 542 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 543 | pub fn TokenBindingVerifyMessage(tokenbindingmessage: *const ::core::ffi::c_void, tokenbindingmessagesize: u32, keytype: TOKENBINDING_KEY_PARAMETERS_TYPE, tlsekm: *const ::core::ffi::c_void, tlsekmsize: u32, resultlist: *mut *mut TOKENBINDING_RESULT_LIST) -> ::windows_sys::core::HRESULT; |
04454e1e | 544 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 545 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
546 | pub fn TranslateNameA(lpaccountname: ::windows_sys::core::PCSTR, accountnameformat: EXTENDED_NAME_FORMAT, desirednameformat: EXTENDED_NAME_FORMAT, lptranslatedname: ::windows_sys::core::PSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN; |
547 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 548 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
549 | pub fn TranslateNameW(lpaccountname: ::windows_sys::core::PCWSTR, accountnameformat: EXTENDED_NAME_FORMAT, desirednameformat: EXTENDED_NAME_FORMAT, lptranslatedname: ::windows_sys::core::PWSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN; |
550 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] | |
5e7ed085 | 551 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 552 | pub fn VerifySignature(phcontext: *const super::super::Credentials::SecHandle, pmessage: *const SecBufferDesc, messageseqno: u32, pfqop: *mut u32) -> ::windows_sys::core::HRESULT; |
5e7ed085 | 553 | } |
04454e1e | 554 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 555 | pub type ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ = u32; |
04454e1e | 556 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 557 | pub const ASC_REQ_ALLOCATE_MEMORY: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ = 256u32; |
04454e1e | 558 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 559 | pub const ASC_REQ_CONNECTION: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ = 2048u32; |
04454e1e | 560 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 561 | pub const ASC_REQ_DELEGATE: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ = 1u32; |
04454e1e | 562 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 563 | pub const ASC_REQ_EXTENDED_ERROR: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ = 32768u32; |
04454e1e | 564 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 565 | pub const ASC_REQ_REPLAY_DETECT: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ = 4u32; |
04454e1e | 566 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 567 | pub const ASC_REQ_SEQUENCE_DETECT: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ = 8u32; |
04454e1e | 568 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 569 | pub const ASC_REQ_STREAM: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ = 65536u32; |
04454e1e | 570 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 571 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 572 | pub type ACCEPT_SECURITY_CONTEXT_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: *mut super::super::Credentials::SecHandle, param2: *mut SecBufferDesc, param3: u32, param4: u32, param5: *mut super::super::Credentials::SecHandle, param6: *mut SecBufferDesc, param7: *mut u32, param8: *mut i64) -> ::windows_sys::core::HRESULT>; |
04454e1e | 573 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 574 | pub const ACCOUNT_ADJUST_PRIVILEGES: i32 = 2i32; |
04454e1e | 575 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 576 | pub const ACCOUNT_ADJUST_QUOTAS: i32 = 4i32; |
04454e1e | 577 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 578 | pub const ACCOUNT_ADJUST_SYSTEM_ACCESS: i32 = 8i32; |
04454e1e | 579 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 580 | pub const ACCOUNT_VIEW: i32 = 1i32; |
04454e1e | 581 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 582 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 583 | pub type ACQUIRE_CREDENTIALS_HANDLE_FN_A = ::core::option::Option<unsafe extern "system" fn(param0: *mut i8, param1: *mut i8, param2: u32, param3: *mut ::core::ffi::c_void, param4: *mut ::core::ffi::c_void, param5: SEC_GET_KEY_FN, param6: *mut ::core::ffi::c_void, param7: *mut super::super::Credentials::SecHandle, param8: *mut i64) -> ::windows_sys::core::HRESULT>; |
04454e1e | 584 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 585 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 586 | pub type ACQUIRE_CREDENTIALS_HANDLE_FN_W = ::core::option::Option<unsafe extern "system" fn(param0: *mut u16, param1: *mut u16, param2: u32, param3: *mut ::core::ffi::c_void, param4: *mut ::core::ffi::c_void, param5: SEC_GET_KEY_FN, param6: *mut ::core::ffi::c_void, param7: *mut super::super::Credentials::SecHandle, param8: *mut i64) -> ::windows_sys::core::HRESULT>; |
04454e1e | 587 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 588 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 589 | pub type ADD_CREDENTIALS_FN_A = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: *mut i8, param2: *mut i8, param3: u32, param4: *mut ::core::ffi::c_void, param5: SEC_GET_KEY_FN, param6: *mut ::core::ffi::c_void, param7: *mut i64) -> ::windows_sys::core::HRESULT>; |
04454e1e | 590 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 591 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 592 | pub type ADD_CREDENTIALS_FN_W = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: *mut u16, param2: *mut u16, param3: u32, param4: *mut ::core::ffi::c_void, param5: SEC_GET_KEY_FN, param6: *mut ::core::ffi::c_void, param7: *mut i64) -> ::windows_sys::core::HRESULT>; |
04454e1e | 593 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 594 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 595 | pub type APPLY_CONTROL_TOKEN_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: *mut SecBufferDesc) -> ::windows_sys::core::HRESULT>; |
04454e1e | 596 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 597 | pub const ASC_REQ_ALLOW_CONTEXT_REPLAY: u32 = 4194304u32; |
04454e1e | 598 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 599 | pub const ASC_REQ_ALLOW_MISSING_BINDINGS: u32 = 268435456u32; |
04454e1e | 600 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 601 | pub const ASC_REQ_ALLOW_NON_USER_LOGONS: u32 = 2097152u32; |
04454e1e | 602 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 603 | pub const ASC_REQ_ALLOW_NULL_SESSION: u32 = 1048576u32; |
04454e1e | 604 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 605 | pub const ASC_REQ_CALL_LEVEL: u32 = 4096u32; |
04454e1e | 606 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 607 | pub const ASC_REQ_CONFIDENTIALITY: u32 = 16u32; |
04454e1e | 608 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 609 | pub const ASC_REQ_DATAGRAM: u32 = 1024u32; |
04454e1e | 610 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 611 | pub const ASC_REQ_FRAGMENT_SUPPLIED: u32 = 8192u32; |
04454e1e | 612 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 613 | pub const ASC_REQ_FRAGMENT_TO_FIT: u32 = 8388608u32; |
04454e1e | 614 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 615 | pub const ASC_REQ_IDENTIFY: u32 = 524288u32; |
04454e1e | 616 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 617 | pub const ASC_REQ_INTEGRITY: u32 = 131072u32; |
04454e1e | 618 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 619 | pub const ASC_REQ_LICENSING: u32 = 262144u32; |
04454e1e | 620 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 621 | pub const ASC_REQ_MESSAGES: u64 = 4294967296u64; |
04454e1e | 622 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 623 | pub const ASC_REQ_MUTUAL_AUTH: u32 = 2u32; |
04454e1e | 624 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 625 | pub const ASC_REQ_NO_TOKEN: u32 = 16777216u32; |
04454e1e | 626 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 627 | pub const ASC_REQ_PROXY_BINDINGS: u32 = 67108864u32; |
04454e1e | 628 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 629 | pub const ASC_REQ_SESSION_TICKET: u32 = 64u32; |
04454e1e | 630 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 631 | pub const ASC_REQ_USE_DCE_STYLE: u32 = 512u32; |
04454e1e | 632 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 633 | pub const ASC_REQ_USE_SESSION_KEY: u32 = 32u32; |
04454e1e | 634 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 635 | pub const ASC_RET_ALLOCATED_MEMORY: u32 = 256u32; |
04454e1e | 636 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 637 | pub const ASC_RET_ALLOW_CONTEXT_REPLAY: u32 = 4194304u32; |
04454e1e | 638 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 639 | pub const ASC_RET_ALLOW_NON_USER_LOGONS: u32 = 2097152u32; |
04454e1e | 640 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 641 | pub const ASC_RET_CALL_LEVEL: u32 = 8192u32; |
04454e1e | 642 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 643 | pub const ASC_RET_CONFIDENTIALITY: u32 = 16u32; |
04454e1e | 644 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 645 | pub const ASC_RET_CONNECTION: u32 = 2048u32; |
04454e1e | 646 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 647 | pub const ASC_RET_DATAGRAM: u32 = 1024u32; |
04454e1e | 648 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 649 | pub const ASC_RET_DELEGATE: u32 = 1u32; |
04454e1e | 650 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 651 | pub const ASC_RET_EXTENDED_ERROR: u32 = 32768u32; |
04454e1e | 652 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 653 | pub const ASC_RET_FRAGMENT_ONLY: u32 = 8388608u32; |
04454e1e | 654 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 655 | pub const ASC_RET_IDENTIFY: u32 = 524288u32; |
04454e1e | 656 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 657 | pub const ASC_RET_INTEGRITY: u32 = 131072u32; |
04454e1e | 658 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 659 | pub const ASC_RET_LICENSING: u32 = 262144u32; |
04454e1e | 660 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 661 | pub const ASC_RET_MESSAGES: u64 = 4294967296u64; |
04454e1e | 662 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 663 | pub const ASC_RET_MUTUAL_AUTH: u32 = 2u32; |
04454e1e | 664 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 665 | pub const ASC_RET_NO_ADDITIONAL_TOKEN: u32 = 33554432u32; |
04454e1e | 666 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 667 | pub const ASC_RET_NO_TOKEN: u32 = 16777216u32; |
04454e1e | 668 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 669 | pub const ASC_RET_NULL_SESSION: u32 = 1048576u32; |
04454e1e | 670 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 671 | pub const ASC_RET_REPLAY_DETECT: u32 = 4u32; |
04454e1e | 672 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 673 | pub const ASC_RET_SEQUENCE_DETECT: u32 = 8u32; |
04454e1e | 674 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 675 | pub const ASC_RET_SESSION_TICKET: u32 = 64u32; |
04454e1e | 676 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 677 | pub const ASC_RET_STREAM: u32 = 65536u32; |
04454e1e | 678 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 679 | pub const ASC_RET_THIRD_LEG_FAILED: u32 = 16384u32; |
04454e1e | 680 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 681 | pub const ASC_RET_USED_DCE_STYLE: u32 = 512u32; |
04454e1e | 682 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 683 | pub const ASC_RET_USE_SESSION_KEY: u32 = 32u32; |
04454e1e | 684 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
685 | pub const AUDIT_ENUMERATE_USERS: u32 = 16u32; |
686 | #[repr(C)] | |
04454e1e | 687 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
688 | pub struct AUDIT_POLICY_INFORMATION { |
689 | pub AuditSubCategoryGuid: ::windows_sys::core::GUID, | |
690 | pub AuditingInformation: u32, | |
691 | pub AuditCategoryGuid: ::windows_sys::core::GUID, | |
692 | } | |
693 | impl ::core::marker::Copy for AUDIT_POLICY_INFORMATION {} | |
694 | impl ::core::clone::Clone for AUDIT_POLICY_INFORMATION { | |
695 | fn clone(&self) -> Self { | |
696 | *self | |
697 | } | |
698 | } | |
04454e1e | 699 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 700 | pub const AUDIT_QUERY_MISC_POLICY: u32 = 64u32; |
04454e1e | 701 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 702 | pub const AUDIT_QUERY_SYSTEM_POLICY: u32 = 2u32; |
04454e1e | 703 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 704 | pub const AUDIT_QUERY_USER_POLICY: u32 = 8u32; |
04454e1e | 705 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 706 | pub const AUDIT_SET_MISC_POLICY: u32 = 32u32; |
04454e1e | 707 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 708 | pub const AUDIT_SET_SYSTEM_POLICY: u32 = 1u32; |
04454e1e | 709 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 710 | pub const AUDIT_SET_USER_POLICY: u32 = 4u32; |
04454e1e | 711 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 712 | pub const AUTH_REQ_ALLOW_ENC_TKT_IN_SKEY: u32 = 32u32; |
04454e1e | 713 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 714 | pub const AUTH_REQ_ALLOW_FORWARDABLE: u32 = 1u32; |
04454e1e | 715 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 716 | pub const AUTH_REQ_ALLOW_NOADDRESS: u32 = 16u32; |
04454e1e | 717 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 718 | pub const AUTH_REQ_ALLOW_POSTDATE: u32 = 4u32; |
04454e1e | 719 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 720 | pub const AUTH_REQ_ALLOW_PROXIABLE: u32 = 2u32; |
04454e1e | 721 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 722 | pub const AUTH_REQ_ALLOW_RENEWABLE: u32 = 8u32; |
04454e1e | 723 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 724 | pub const AUTH_REQ_ALLOW_S4U_DELEGATE: u32 = 2048u32; |
04454e1e | 725 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 726 | pub const AUTH_REQ_ALLOW_VALIDATE: u32 = 64u32; |
04454e1e | 727 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 728 | pub const AUTH_REQ_OK_AS_DELEGATE: u32 = 256u32; |
04454e1e | 729 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 730 | pub const AUTH_REQ_PREAUTH_REQUIRED: u32 = 512u32; |
04454e1e | 731 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 732 | pub const AUTH_REQ_TRANSITIVE_TRUST: u32 = 1024u32; |
04454e1e | 733 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
734 | pub const AUTH_REQ_VALIDATE_CLIENT: u32 = 128u32; |
735 | pub const Audit_AccountLogon: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1771542608, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
736 | pub const Audit_AccountLogon_CredentialValidation: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864447, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
737 | pub const Audit_AccountLogon_KerbCredentialValidation: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864450, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
738 | pub const Audit_AccountLogon_Kerberos: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864448, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
739 | pub const Audit_AccountLogon_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864449, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
740 | pub const Audit_AccountManagement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1771542606, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
741 | pub const Audit_AccountManagement_ApplicationGroup: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864441, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
742 | pub const Audit_AccountManagement_ComputerAccount: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864438, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
743 | pub const Audit_AccountManagement_DistributionGroup: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864440, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
744 | pub const Audit_AccountManagement_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864442, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
745 | pub const Audit_AccountManagement_SecurityGroup: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864439, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
746 | pub const Audit_AccountManagement_UserAccount: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864437, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
747 | pub const Audit_DSAccess_DSAccess: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864443, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
748 | pub const Audit_DetailedTracking: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1771542604, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
749 | pub const Audit_DetailedTracking_DpapiActivity: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864429, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
750 | pub const Audit_DetailedTracking_PnpActivity: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864456, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
751 | pub const Audit_DetailedTracking_ProcessCreation: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864427, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
752 | pub const Audit_DetailedTracking_ProcessTermination: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864428, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
753 | pub const Audit_DetailedTracking_RpcCall: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864430, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
754 | pub const Audit_DetailedTracking_TokenRightAdjusted: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864458, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
755 | pub const Audit_DirectoryServiceAccess: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1771542607, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
756 | pub const Audit_DsAccess_AdAuditChanges: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864444, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
757 | pub const Audit_Ds_DetailedReplication: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864446, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
758 | pub const Audit_Ds_Replication: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864445, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
759 | pub const Audit_Logon: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1771542601, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
760 | pub const Audit_Logon_AccountLockout: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864407, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
761 | pub const Audit_Logon_Claims: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864455, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
762 | pub const Audit_Logon_Groups: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864457, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
763 | pub const Audit_Logon_IPSecMainMode: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864408, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
764 | pub const Audit_Logon_IPSecQuickMode: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864409, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
765 | pub const Audit_Logon_IPSecUserMode: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864410, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
766 | pub const Audit_Logon_Logoff: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864406, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
767 | pub const Audit_Logon_Logon: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864405, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
768 | pub const Audit_Logon_NPS: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864451, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
769 | pub const Audit_Logon_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864412, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
770 | pub const Audit_Logon_SpecialLogon: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864411, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
771 | pub const Audit_ObjectAccess: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1771542602, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
772 | pub const Audit_ObjectAccess_ApplicationGenerated: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864418, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
773 | pub const Audit_ObjectAccess_CbacStaging: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864454, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
774 | pub const Audit_ObjectAccess_CertificationServices: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864417, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
775 | pub const Audit_ObjectAccess_DetailedFileShare: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864452, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
776 | pub const Audit_ObjectAccess_FileSystem: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864413, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
777 | pub const Audit_ObjectAccess_FirewallConnection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864422, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
778 | pub const Audit_ObjectAccess_FirewallPacketDrops: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864421, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
779 | pub const Audit_ObjectAccess_Handle: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864419, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
780 | pub const Audit_ObjectAccess_Kernel: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864415, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
781 | pub const Audit_ObjectAccess_Other: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864423, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
782 | pub const Audit_ObjectAccess_Registry: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864414, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
783 | pub const Audit_ObjectAccess_RemovableStorage: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864453, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
784 | pub const Audit_ObjectAccess_Sam: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864416, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
785 | pub const Audit_ObjectAccess_Share: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864420, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
786 | pub const Audit_PolicyChange: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1771542605, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
787 | pub const Audit_PolicyChange_AuditPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864431, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
788 | pub const Audit_PolicyChange_AuthenticationPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864432, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
789 | pub const Audit_PolicyChange_AuthorizationPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864433, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
790 | pub const Audit_PolicyChange_MpsscvRulePolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864434, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
791 | pub const Audit_PolicyChange_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864436, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
792 | pub const Audit_PolicyChange_WfpIPSecPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864435, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
793 | pub const Audit_PrivilegeUse: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1771542603, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
794 | pub const Audit_PrivilegeUse_NonSensitive: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864425, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
795 | pub const Audit_PrivilegeUse_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864426, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
796 | pub const Audit_PrivilegeUse_Sensitive: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864424, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
797 | pub const Audit_System: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1771542600, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
798 | pub const Audit_System_IPSecDriverEvents: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864403, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
799 | pub const Audit_System_Integrity: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864402, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
800 | pub const Audit_System_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864404, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
801 | pub const Audit_System_SecurityStateChange: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864400, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
802 | pub const Audit_System_SecuritySubsystemExtension: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864401, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }; | |
803 | #[repr(C)] | |
04454e1e | 804 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
805 | #[cfg(feature = "Win32_Foundation")] |
806 | pub struct CENTRAL_ACCESS_POLICY { | |
807 | pub CAPID: super::super::super::Foundation::PSID, | |
808 | pub Name: super::super::super::Foundation::UNICODE_STRING, | |
809 | pub Description: super::super::super::Foundation::UNICODE_STRING, | |
810 | pub ChangeId: super::super::super::Foundation::UNICODE_STRING, | |
811 | pub Flags: u32, | |
812 | pub CAPECount: u32, | |
813 | pub CAPEs: *mut *mut CENTRAL_ACCESS_POLICY_ENTRY, | |
814 | } | |
815 | #[cfg(feature = "Win32_Foundation")] | |
816 | impl ::core::marker::Copy for CENTRAL_ACCESS_POLICY {} | |
817 | #[cfg(feature = "Win32_Foundation")] | |
818 | impl ::core::clone::Clone for CENTRAL_ACCESS_POLICY { | |
819 | fn clone(&self) -> Self { | |
820 | *self | |
821 | } | |
822 | } | |
823 | #[repr(C)] | |
04454e1e | 824 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
825 | #[cfg(feature = "Win32_Foundation")] |
826 | pub struct CENTRAL_ACCESS_POLICY_ENTRY { | |
827 | pub Name: super::super::super::Foundation::UNICODE_STRING, | |
828 | pub Description: super::super::super::Foundation::UNICODE_STRING, | |
829 | pub ChangeId: super::super::super::Foundation::UNICODE_STRING, | |
830 | pub LengthAppliesTo: u32, | |
831 | pub AppliesTo: *mut u8, | |
832 | pub LengthSD: u32, | |
923072b8 | 833 | pub SD: super::super::PSECURITY_DESCRIPTOR, |
5e7ed085 | 834 | pub LengthStagedSD: u32, |
923072b8 | 835 | pub StagedSD: super::super::PSECURITY_DESCRIPTOR, |
5e7ed085 FG |
836 | pub Flags: u32, |
837 | } | |
838 | #[cfg(feature = "Win32_Foundation")] | |
839 | impl ::core::marker::Copy for CENTRAL_ACCESS_POLICY_ENTRY {} | |
840 | #[cfg(feature = "Win32_Foundation")] | |
841 | impl ::core::clone::Clone for CENTRAL_ACCESS_POLICY_ENTRY { | |
842 | fn clone(&self) -> Self { | |
843 | *self | |
844 | } | |
845 | } | |
04454e1e | 846 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 847 | pub const CENTRAL_ACCESS_POLICY_OWNER_RIGHTS_PRESENT_FLAG: u32 = 1u32; |
04454e1e | 848 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 849 | pub const CENTRAL_ACCESS_POLICY_STAGED_FLAG: u32 = 65536u32; |
04454e1e | 850 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 851 | pub const CENTRAL_ACCESS_POLICY_STAGED_OWNER_RIGHTS_PRESENT_FLAG: u32 = 256u32; |
04454e1e | 852 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 853 | #[cfg(feature = "Win32_Foundation")] |
923072b8 | 854 | pub type CHANGE_PASSWORD_FN_A = ::core::option::Option<unsafe extern "system" fn(param0: *mut i8, param1: *mut i8, param2: *mut i8, param3: *mut i8, param4: *mut i8, param5: super::super::super::Foundation::BOOLEAN, param6: u32, param7: *mut SecBufferDesc) -> ::windows_sys::core::HRESULT>; |
04454e1e | 855 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 856 | #[cfg(feature = "Win32_Foundation")] |
923072b8 | 857 | pub type CHANGE_PASSWORD_FN_W = ::core::option::Option<unsafe extern "system" fn(param0: *mut u16, param1: *mut u16, param2: *mut u16, param3: *mut u16, param4: *mut u16, param5: super::super::super::Foundation::BOOLEAN, param6: u32, param7: *mut SecBufferDesc) -> ::windows_sys::core::HRESULT>; |
5e7ed085 | 858 | #[repr(C)] |
04454e1e | 859 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
860 | #[cfg(feature = "Win32_Foundation")] |
861 | pub struct CLEAR_BLOCK { | |
862 | pub data: [super::super::super::Foundation::CHAR; 8], | |
863 | } | |
864 | #[cfg(feature = "Win32_Foundation")] | |
865 | impl ::core::marker::Copy for CLEAR_BLOCK {} | |
866 | #[cfg(feature = "Win32_Foundation")] | |
867 | impl ::core::clone::Clone for CLEAR_BLOCK { | |
868 | fn clone(&self) -> Self { | |
869 | *self | |
870 | } | |
871 | } | |
04454e1e | 872 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 873 | pub const CLEAR_BLOCK_LENGTH: u32 = 8u32; |
04454e1e | 874 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 875 | pub const CLOUDAP_NAME: &str = "CloudAP"; |
04454e1e | 876 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 877 | pub const CLOUDAP_NAME_W: &str = "CloudAP"; |
04454e1e | 878 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 879 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 880 | pub type COMPLETE_AUTH_TOKEN_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: *mut SecBufferDesc) -> ::windows_sys::core::HRESULT>; |
04454e1e | 881 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 882 | pub const CREDP_FLAGS_CLEAR_PASSWORD: u32 = 8u32; |
04454e1e | 883 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 884 | pub const CREDP_FLAGS_DONT_CACHE_TI: u32 = 4u32; |
04454e1e | 885 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 886 | pub const CREDP_FLAGS_IN_PROCESS: u32 = 1u32; |
04454e1e | 887 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 888 | pub const CREDP_FLAGS_TRUSTED_CALLER: u32 = 32u32; |
04454e1e | 889 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 890 | pub const CREDP_FLAGS_USER_ENCRYPTED_PASSWORD: u32 = 16u32; |
04454e1e | 891 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 892 | pub const CREDP_FLAGS_USE_MIDL_HEAP: u32 = 2u32; |
04454e1e | 893 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 894 | pub const CREDP_FLAGS_VALIDATE_PROXY_TARGET: u32 = 64u32; |
04454e1e | 895 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 896 | pub type CRED_FETCH = i32; |
04454e1e | 897 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 898 | pub const CredFetchDefault: CRED_FETCH = 0i32; |
04454e1e | 899 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 900 | pub const CredFetchDPAPI: CRED_FETCH = 1i32; |
04454e1e | 901 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 902 | pub const CredFetchForced: CRED_FETCH = 2i32; |
04454e1e | 903 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 904 | pub const CRED_MARSHALED_TI_SIZE_SIZE: u32 = 12u32; |
04454e1e | 905 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 906 | pub const CYPHER_BLOCK_LENGTH: u32 = 8u32; |
04454e1e | 907 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 908 | pub const ClOUDAP_NAME_A: &str = "CloudAP"; |
04454e1e | 909 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 FG |
910 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] |
911 | pub type CredFreeCredentialsFn = ::core::option::Option<unsafe extern "system" fn(count: u32, credentials: *mut *mut ENCRYPTED_CREDENTIALW)>; | |
04454e1e | 912 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 FG |
913 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] |
914 | pub type CredReadDomainCredentialsFn = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, credflags: u32, targetinfo: *const super::super::Credentials::CREDENTIAL_TARGET_INFORMATIONW, flags: u32, count: *mut u32, credential: *mut *mut *mut ENCRYPTED_CREDENTIALW) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 915 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 916 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] |
04454e1e FG |
917 | pub type CredReadFn = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, credflags: u32, targetname: ::windows_sys::core::PCWSTR, r#type: u32, flags: u32, credential: *mut *mut ENCRYPTED_CREDENTIALW) -> super::super::super::Foundation::NTSTATUS>; |
918 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] | |
5e7ed085 FG |
919 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] |
920 | pub type CredWriteFn = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, credflags: u32, credential: *const ENCRYPTED_CREDENTIALW, flags: u32) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 921 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 922 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
923 | pub type CrediUnmarshalandDecodeStringFn = ::core::option::Option<unsafe extern "system" fn(marshaledstring: ::windows_sys::core::PCWSTR, blob: *mut *mut u8, blobsize: *mut u32, isfailurefatal: *mut u8) -> super::super::super::Foundation::NTSTATUS>; |
924 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] | |
5e7ed085 | 925 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 926 | pub type DECRYPT_MESSAGE_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: *mut SecBufferDesc, param2: u32, param3: *mut u32) -> ::windows_sys::core::HRESULT>; |
04454e1e | 927 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 928 | pub const DEFAULT_TLS_SSP_NAME: &str = "Default TLS SSP"; |
04454e1e | 929 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 930 | pub const DEFAULT_TLS_SSP_NAME_A: &str = "Default TLS SSP"; |
04454e1e | 931 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 932 | pub const DEFAULT_TLS_SSP_NAME_W: &str = "Default TLS SSP"; |
04454e1e | 933 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 934 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 935 | pub type DELETE_SECURITY_CONTEXT_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT>; |
04454e1e | 936 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
937 | pub const DOMAIN_NO_LM_OWF_CHANGE: i32 = 64i32; |
938 | #[repr(C)] | |
04454e1e | 939 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
940 | pub struct DOMAIN_PASSWORD_INFORMATION { |
941 | pub MinPasswordLength: u16, | |
942 | pub PasswordHistoryLength: u16, | |
943 | pub PasswordProperties: DOMAIN_PASSWORD_PROPERTIES, | |
944 | pub MaxPasswordAge: i64, | |
945 | pub MinPasswordAge: i64, | |
946 | } | |
947 | impl ::core::marker::Copy for DOMAIN_PASSWORD_INFORMATION {} | |
948 | impl ::core::clone::Clone for DOMAIN_PASSWORD_INFORMATION { | |
949 | fn clone(&self) -> Self { | |
950 | *self | |
951 | } | |
952 | } | |
04454e1e | 953 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 954 | pub type DOMAIN_PASSWORD_PROPERTIES = u32; |
04454e1e | 955 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 956 | pub const DOMAIN_PASSWORD_COMPLEX: DOMAIN_PASSWORD_PROPERTIES = 1u32; |
04454e1e | 957 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 958 | pub const DOMAIN_PASSWORD_NO_ANON_CHANGE: DOMAIN_PASSWORD_PROPERTIES = 2u32; |
04454e1e | 959 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 960 | pub const DOMAIN_PASSWORD_NO_CLEAR_CHANGE: DOMAIN_PASSWORD_PROPERTIES = 4u32; |
04454e1e | 961 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 962 | pub const DOMAIN_LOCKOUT_ADMINS: DOMAIN_PASSWORD_PROPERTIES = 8u32; |
04454e1e | 963 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 964 | pub const DOMAIN_PASSWORD_STORE_CLEARTEXT: DOMAIN_PASSWORD_PROPERTIES = 16u32; |
04454e1e | 965 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 966 | pub const DOMAIN_REFUSE_PASSWORD_CHANGE: DOMAIN_PASSWORD_PROPERTIES = 32u32; |
04454e1e | 967 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 968 | pub const DS_UNKNOWN_ADDRESS_TYPE: u32 = 0u32; |
04454e1e | 969 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
970 | pub const ENABLE_TLS_CLIENT_EARLY_START: u32 = 1u32; |
971 | #[repr(C)] | |
04454e1e | 972 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 FG |
973 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] |
974 | pub struct ENCRYPTED_CREDENTIALW { | |
975 | pub Cred: super::super::Credentials::CREDENTIALW, | |
976 | pub ClearCredentialBlobSize: u32, | |
977 | } | |
978 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] | |
979 | impl ::core::marker::Copy for ENCRYPTED_CREDENTIALW {} | |
980 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] | |
981 | impl ::core::clone::Clone for ENCRYPTED_CREDENTIALW { | |
982 | fn clone(&self) -> Self { | |
983 | *self | |
984 | } | |
985 | } | |
04454e1e | 986 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 987 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 988 | pub type ENCRYPT_MESSAGE_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut SecBufferDesc, param3: u32) -> ::windows_sys::core::HRESULT>; |
04454e1e | 989 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 990 | pub type ENUMERATE_SECURITY_PACKAGES_FN_A = ::core::option::Option<unsafe extern "system" fn(param0: *mut u32, param1: *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT>; |
04454e1e | 991 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 992 | pub type ENUMERATE_SECURITY_PACKAGES_FN_W = ::core::option::Option<unsafe extern "system" fn(param0: *mut u32, param1: *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT>; |
04454e1e | 993 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 994 | pub type EXPORT_SECURITY_CONTEXT_FLAGS = u32; |
04454e1e | 995 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 996 | pub const SECPKG_CONTEXT_EXPORT_RESET_NEW: EXPORT_SECURITY_CONTEXT_FLAGS = 1u32; |
04454e1e | 997 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 998 | pub const SECPKG_CONTEXT_EXPORT_DELETE_OLD: EXPORT_SECURITY_CONTEXT_FLAGS = 2u32; |
04454e1e | 999 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1000 | pub const SECPKG_CONTEXT_EXPORT_TO_KERNEL: EXPORT_SECURITY_CONTEXT_FLAGS = 4u32; |
04454e1e | 1001 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 1002 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 1003 | pub type EXPORT_SECURITY_CONTEXT_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut SecBuffer, param3: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>; |
04454e1e | 1004 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1005 | pub type EXTENDED_NAME_FORMAT = i32; |
04454e1e | 1006 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1007 | pub const NameUnknown: EXTENDED_NAME_FORMAT = 0i32; |
04454e1e | 1008 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1009 | pub const NameFullyQualifiedDN: EXTENDED_NAME_FORMAT = 1i32; |
04454e1e | 1010 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1011 | pub const NameSamCompatible: EXTENDED_NAME_FORMAT = 2i32; |
04454e1e | 1012 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1013 | pub const NameDisplay: EXTENDED_NAME_FORMAT = 3i32; |
04454e1e | 1014 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1015 | pub const NameUniqueId: EXTENDED_NAME_FORMAT = 6i32; |
04454e1e | 1016 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1017 | pub const NameCanonical: EXTENDED_NAME_FORMAT = 7i32; |
04454e1e | 1018 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1019 | pub const NameUserPrincipal: EXTENDED_NAME_FORMAT = 8i32; |
04454e1e | 1020 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1021 | pub const NameCanonicalEx: EXTENDED_NAME_FORMAT = 9i32; |
04454e1e | 1022 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1023 | pub const NameServicePrincipal: EXTENDED_NAME_FORMAT = 10i32; |
04454e1e | 1024 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1025 | pub const NameDnsDomain: EXTENDED_NAME_FORMAT = 12i32; |
04454e1e | 1026 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1027 | pub const NameGivenName: EXTENDED_NAME_FORMAT = 13i32; |
04454e1e | 1028 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1029 | pub const NameSurname: EXTENDED_NAME_FORMAT = 14i32; |
04454e1e | 1030 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1031 | pub const E_RM_UNKNOWN_ERROR: ::windows_sys::core::HRESULT = -1073415165i32; |
04454e1e | 1032 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1033 | pub const FACILITY_SL_ITF: u32 = 4u32; |
04454e1e | 1034 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 1035 | pub type FREE_CONTEXT_BUFFER_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>; |
04454e1e | 1036 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 1037 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 1038 | pub type FREE_CREDENTIALS_HANDLE_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT>; |
5e7ed085 | 1039 | pub type ICcgDomainAuthCredentials = *mut ::core::ffi::c_void; |
04454e1e | 1040 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 1041 | pub const ID_CAP_SLAPI: &str = "slapiQueryLicenseValue"; |
04454e1e | 1042 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 1043 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 1044 | pub type IMPERSONATE_SECURITY_CONTEXT_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT>; |
04454e1e | 1045 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 1046 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 1047 | pub type IMPORT_SECURITY_CONTEXT_FN_A = ::core::option::Option<unsafe extern "system" fn(param0: *mut i8, param1: *mut SecBuffer, param2: *mut ::core::ffi::c_void, param3: *mut super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT>; |
04454e1e | 1048 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 1049 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 1050 | pub type IMPORT_SECURITY_CONTEXT_FN_W = ::core::option::Option<unsafe extern "system" fn(param0: *mut u16, param1: *mut SecBuffer, param2: *mut ::core::ffi::c_void, param3: *mut super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT>; |
04454e1e | 1051 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 1052 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 1053 | pub type INITIALIZE_SECURITY_CONTEXT_FN_A = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: *mut super::super::Credentials::SecHandle, param2: *mut i8, param3: u32, param4: u32, param5: u32, param6: *mut SecBufferDesc, param7: u32, param8: *mut super::super::Credentials::SecHandle, param9: *mut SecBufferDesc, param10: *mut u32, param11: *mut i64) -> ::windows_sys::core::HRESULT>; |
04454e1e | 1054 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 1055 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 1056 | pub type INITIALIZE_SECURITY_CONTEXT_FN_W = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: *mut super::super::Credentials::SecHandle, param2: *mut u16, param3: u32, param4: u32, param5: u32, param6: *mut SecBufferDesc, param7: u32, param8: *mut super::super::Credentials::SecHandle, param9: *mut SecBufferDesc, param10: *mut u32, param11: *mut i64) -> ::windows_sys::core::HRESULT>; |
04454e1e | 1057 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 FG |
1058 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] |
1059 | pub type INIT_SECURITY_INTERFACE_A = ::core::option::Option<unsafe extern "system" fn() -> *mut SecurityFunctionTableA>; | |
04454e1e | 1060 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 FG |
1061 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] |
1062 | pub type INIT_SECURITY_INTERFACE_W = ::core::option::Option<unsafe extern "system" fn() -> *mut SecurityFunctionTableW>; | |
04454e1e | 1063 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1064 | pub const ISC_REQ_ALLOCATE_MEMORY: u32 = 256u32; |
04454e1e | 1065 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1066 | pub const ISC_REQ_CALL_LEVEL: u32 = 4096u32; |
04454e1e | 1067 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1068 | pub const ISC_REQ_CONFIDENTIALITY: u32 = 16u32; |
04454e1e | 1069 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1070 | pub const ISC_REQ_CONFIDENTIALITY_ONLY: u32 = 1073741824u32; |
04454e1e | 1071 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1072 | pub const ISC_REQ_CONNECTION: u32 = 2048u32; |
04454e1e | 1073 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1074 | pub const ISC_REQ_DATAGRAM: u32 = 1024u32; |
04454e1e | 1075 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1076 | pub const ISC_REQ_DEFERRED_CRED_VALIDATION: u64 = 8589934592u64; |
04454e1e | 1077 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1078 | pub const ISC_REQ_DELEGATE: u32 = 1u32; |
04454e1e | 1079 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1080 | pub const ISC_REQ_EXTENDED_ERROR: u32 = 16384u32; |
04454e1e | 1081 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1082 | pub const ISC_REQ_FORWARD_CREDENTIALS: u32 = 4194304u32; |
04454e1e | 1083 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1084 | pub const ISC_REQ_FRAGMENT_SUPPLIED: u32 = 8192u32; |
04454e1e | 1085 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1086 | pub const ISC_REQ_FRAGMENT_TO_FIT: u32 = 2097152u32; |
04454e1e | 1087 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1088 | pub const ISC_REQ_IDENTIFY: u32 = 131072u32; |
04454e1e | 1089 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1090 | pub const ISC_REQ_INTEGRITY: u32 = 65536u32; |
04454e1e | 1091 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1092 | pub const ISC_REQ_MANUAL_CRED_VALIDATION: u32 = 524288u32; |
04454e1e | 1093 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1094 | pub const ISC_REQ_MESSAGES: u64 = 4294967296u64; |
04454e1e | 1095 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1096 | pub const ISC_REQ_MUTUAL_AUTH: u32 = 2u32; |
04454e1e | 1097 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1098 | pub const ISC_REQ_NO_INTEGRITY: u32 = 8388608u32; |
04454e1e | 1099 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1100 | pub const ISC_REQ_NULL_SESSION: u32 = 262144u32; |
04454e1e | 1101 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1102 | pub const ISC_REQ_PROMPT_FOR_CREDS: u32 = 64u32; |
04454e1e | 1103 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1104 | pub const ISC_REQ_REPLAY_DETECT: u32 = 4u32; |
04454e1e | 1105 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1106 | pub const ISC_REQ_RESERVED1: u32 = 1048576u32; |
04454e1e | 1107 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1108 | pub const ISC_REQ_SEQUENCE_DETECT: u32 = 8u32; |
04454e1e | 1109 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1110 | pub const ISC_REQ_STREAM: u32 = 32768u32; |
04454e1e | 1111 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1112 | pub const ISC_REQ_UNVERIFIED_TARGET_NAME: u32 = 536870912u32; |
04454e1e | 1113 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1114 | pub const ISC_REQ_USE_DCE_STYLE: u32 = 512u32; |
04454e1e | 1115 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1116 | pub const ISC_REQ_USE_HTTP_STYLE: u32 = 16777216u32; |
04454e1e | 1117 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1118 | pub const ISC_REQ_USE_SESSION_KEY: u32 = 32u32; |
04454e1e | 1119 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1120 | pub const ISC_REQ_USE_SUPPLIED_CREDS: u32 = 128u32; |
04454e1e | 1121 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1122 | pub const ISC_RET_ALLOCATED_MEMORY: u32 = 256u32; |
04454e1e | 1123 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1124 | pub const ISC_RET_CALL_LEVEL: u32 = 8192u32; |
04454e1e | 1125 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1126 | pub const ISC_RET_CONFIDENTIALITY: u32 = 16u32; |
04454e1e | 1127 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1128 | pub const ISC_RET_CONFIDENTIALITY_ONLY: u32 = 1073741824u32; |
04454e1e | 1129 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1130 | pub const ISC_RET_CONNECTION: u32 = 2048u32; |
04454e1e | 1131 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1132 | pub const ISC_RET_DATAGRAM: u32 = 1024u32; |
04454e1e | 1133 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1134 | pub const ISC_RET_DEFERRED_CRED_VALIDATION: u64 = 8589934592u64; |
04454e1e | 1135 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1136 | pub const ISC_RET_DELEGATE: u32 = 1u32; |
04454e1e | 1137 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1138 | pub const ISC_RET_EXTENDED_ERROR: u32 = 16384u32; |
04454e1e | 1139 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1140 | pub const ISC_RET_FORWARD_CREDENTIALS: u32 = 4194304u32; |
04454e1e | 1141 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1142 | pub const ISC_RET_FRAGMENT_ONLY: u32 = 2097152u32; |
04454e1e | 1143 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1144 | pub const ISC_RET_IDENTIFY: u32 = 131072u32; |
04454e1e | 1145 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1146 | pub const ISC_RET_INTEGRITY: u32 = 65536u32; |
04454e1e | 1147 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1148 | pub const ISC_RET_INTERMEDIATE_RETURN: u32 = 4096u32; |
04454e1e | 1149 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1150 | pub const ISC_RET_MANUAL_CRED_VALIDATION: u32 = 524288u32; |
04454e1e | 1151 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1152 | pub const ISC_RET_MESSAGES: u64 = 4294967296u64; |
04454e1e | 1153 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1154 | pub const ISC_RET_MUTUAL_AUTH: u32 = 2u32; |
04454e1e | 1155 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1156 | pub const ISC_RET_NO_ADDITIONAL_TOKEN: u32 = 33554432u32; |
04454e1e | 1157 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1158 | pub const ISC_RET_NULL_SESSION: u32 = 262144u32; |
04454e1e | 1159 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1160 | pub const ISC_RET_REAUTHENTICATION: u32 = 134217728u32; |
04454e1e | 1161 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1162 | pub const ISC_RET_REPLAY_DETECT: u32 = 4u32; |
04454e1e | 1163 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1164 | pub const ISC_RET_RESERVED1: u32 = 1048576u32; |
04454e1e | 1165 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1166 | pub const ISC_RET_SEQUENCE_DETECT: u32 = 8u32; |
04454e1e | 1167 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1168 | pub const ISC_RET_STREAM: u32 = 32768u32; |
04454e1e | 1169 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1170 | pub const ISC_RET_USED_COLLECTED_CREDS: u32 = 64u32; |
04454e1e | 1171 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1172 | pub const ISC_RET_USED_DCE_STYLE: u32 = 512u32; |
04454e1e | 1173 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1174 | pub const ISC_RET_USED_HTTP_STYLE: u32 = 16777216u32; |
04454e1e | 1175 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1176 | pub const ISC_RET_USED_SUPPLIED_CREDS: u32 = 128u32; |
04454e1e | 1177 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1178 | pub const ISC_RET_USE_SESSION_KEY: u32 = 32u32; |
04454e1e | 1179 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1180 | pub const ISSP_LEVEL: u32 = 32u32; |
04454e1e | 1181 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
1182 | pub const ISSP_MODE: u32 = 1u32; |
1183 | #[repr(C)] | |
04454e1e | 1184 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1185 | #[cfg(feature = "Win32_Foundation")] |
1186 | pub struct KDC_PROXY_CACHE_ENTRY_DATA { | |
1187 | pub SinceLastUsed: u64, | |
1188 | pub DomainName: super::super::super::Foundation::UNICODE_STRING, | |
1189 | pub ProxyServerName: super::super::super::Foundation::UNICODE_STRING, | |
1190 | pub ProxyServerVdir: super::super::super::Foundation::UNICODE_STRING, | |
1191 | pub ProxyServerPort: u16, | |
1192 | pub LogonId: super::super::super::Foundation::LUID, | |
1193 | pub CredUserName: super::super::super::Foundation::UNICODE_STRING, | |
1194 | pub CredDomainName: super::super::super::Foundation::UNICODE_STRING, | |
1195 | pub GlobalCache: super::super::super::Foundation::BOOLEAN, | |
1196 | } | |
1197 | #[cfg(feature = "Win32_Foundation")] | |
1198 | impl ::core::marker::Copy for KDC_PROXY_CACHE_ENTRY_DATA {} | |
1199 | #[cfg(feature = "Win32_Foundation")] | |
1200 | impl ::core::clone::Clone for KDC_PROXY_CACHE_ENTRY_DATA { | |
1201 | fn clone(&self) -> Self { | |
1202 | *self | |
1203 | } | |
1204 | } | |
04454e1e | 1205 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1206 | pub const KDC_PROXY_SETTINGS_FLAGS_FORCEPROXY: u32 = 1u32; |
04454e1e | 1207 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1208 | pub const KDC_PROXY_SETTINGS_V1: u32 = 1u32; |
04454e1e | 1209 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1210 | pub const KERBEROS_REVISION: u32 = 6u32; |
04454e1e | 1211 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1212 | pub const KERBEROS_VERSION: u32 = 5u32; |
04454e1e | 1213 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1214 | pub type KERB_ADDRESS_TYPE = u32; |
04454e1e | 1215 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1216 | pub const DS_INET_ADDRESS: KERB_ADDRESS_TYPE = 1u32; |
04454e1e | 1217 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
1218 | pub const DS_NETBIOS_ADDRESS: KERB_ADDRESS_TYPE = 2u32; |
1219 | #[repr(C)] | |
04454e1e | 1220 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1221 | #[cfg(feature = "Win32_Foundation")] |
1222 | pub struct KERB_ADD_BINDING_CACHE_ENTRY_EX_REQUEST { | |
1223 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
1224 | pub RealmName: super::super::super::Foundation::UNICODE_STRING, | |
1225 | pub KdcAddress: super::super::super::Foundation::UNICODE_STRING, | |
1226 | pub AddressType: KERB_ADDRESS_TYPE, | |
1227 | pub DcFlags: u32, | |
1228 | } | |
1229 | #[cfg(feature = "Win32_Foundation")] | |
1230 | impl ::core::marker::Copy for KERB_ADD_BINDING_CACHE_ENTRY_EX_REQUEST {} | |
1231 | #[cfg(feature = "Win32_Foundation")] | |
1232 | impl ::core::clone::Clone for KERB_ADD_BINDING_CACHE_ENTRY_EX_REQUEST { | |
1233 | fn clone(&self) -> Self { | |
1234 | *self | |
1235 | } | |
1236 | } | |
1237 | #[repr(C)] | |
04454e1e | 1238 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1239 | #[cfg(feature = "Win32_Foundation")] |
1240 | pub struct KERB_ADD_BINDING_CACHE_ENTRY_REQUEST { | |
1241 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
1242 | pub RealmName: super::super::super::Foundation::UNICODE_STRING, | |
1243 | pub KdcAddress: super::super::super::Foundation::UNICODE_STRING, | |
1244 | pub AddressType: KERB_ADDRESS_TYPE, | |
1245 | } | |
1246 | #[cfg(feature = "Win32_Foundation")] | |
1247 | impl ::core::marker::Copy for KERB_ADD_BINDING_CACHE_ENTRY_REQUEST {} | |
1248 | #[cfg(feature = "Win32_Foundation")] | |
1249 | impl ::core::clone::Clone for KERB_ADD_BINDING_CACHE_ENTRY_REQUEST { | |
1250 | fn clone(&self) -> Self { | |
1251 | *self | |
1252 | } | |
1253 | } | |
1254 | #[repr(C)] | |
04454e1e | 1255 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1256 | #[cfg(feature = "Win32_Foundation")] |
1257 | pub struct KERB_ADD_CREDENTIALS_REQUEST { | |
1258 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
1259 | pub UserName: super::super::super::Foundation::UNICODE_STRING, | |
1260 | pub DomainName: super::super::super::Foundation::UNICODE_STRING, | |
1261 | pub Password: super::super::super::Foundation::UNICODE_STRING, | |
1262 | pub LogonId: super::super::super::Foundation::LUID, | |
1263 | pub Flags: KERB_REQUEST_FLAGS, | |
1264 | } | |
1265 | #[cfg(feature = "Win32_Foundation")] | |
1266 | impl ::core::marker::Copy for KERB_ADD_CREDENTIALS_REQUEST {} | |
1267 | #[cfg(feature = "Win32_Foundation")] | |
1268 | impl ::core::clone::Clone for KERB_ADD_CREDENTIALS_REQUEST { | |
1269 | fn clone(&self) -> Self { | |
1270 | *self | |
1271 | } | |
1272 | } | |
1273 | #[repr(C)] | |
04454e1e | 1274 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1275 | #[cfg(feature = "Win32_Foundation")] |
1276 | pub struct KERB_ADD_CREDENTIALS_REQUEST_EX { | |
1277 | pub Credentials: KERB_ADD_CREDENTIALS_REQUEST, | |
1278 | pub PrincipalNameCount: u32, | |
1279 | pub PrincipalNames: [super::super::super::Foundation::UNICODE_STRING; 1], | |
1280 | } | |
1281 | #[cfg(feature = "Win32_Foundation")] | |
1282 | impl ::core::marker::Copy for KERB_ADD_CREDENTIALS_REQUEST_EX {} | |
1283 | #[cfg(feature = "Win32_Foundation")] | |
1284 | impl ::core::clone::Clone for KERB_ADD_CREDENTIALS_REQUEST_EX { | |
1285 | fn clone(&self) -> Self { | |
1286 | *self | |
1287 | } | |
1288 | } | |
1289 | #[repr(C)] | |
04454e1e | 1290 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
1291 | pub struct KERB_AUTH_DATA { |
1292 | pub Type: u32, | |
1293 | pub Length: u32, | |
1294 | pub Data: *mut u8, | |
1295 | } | |
1296 | impl ::core::marker::Copy for KERB_AUTH_DATA {} | |
1297 | impl ::core::clone::Clone for KERB_AUTH_DATA { | |
1298 | fn clone(&self) -> Self { | |
1299 | *self | |
1300 | } | |
1301 | } | |
1302 | #[repr(C)] | |
04454e1e | 1303 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1304 | #[cfg(feature = "Win32_Foundation")] |
1305 | pub struct KERB_BINDING_CACHE_ENTRY_DATA { | |
1306 | pub DiscoveryTime: u64, | |
1307 | pub RealmName: super::super::super::Foundation::UNICODE_STRING, | |
1308 | pub KdcAddress: super::super::super::Foundation::UNICODE_STRING, | |
1309 | pub AddressType: KERB_ADDRESS_TYPE, | |
1310 | pub Flags: u32, | |
1311 | pub DcFlags: u32, | |
1312 | pub CacheFlags: u32, | |
1313 | pub KdcName: super::super::super::Foundation::UNICODE_STRING, | |
1314 | } | |
1315 | #[cfg(feature = "Win32_Foundation")] | |
1316 | impl ::core::marker::Copy for KERB_BINDING_CACHE_ENTRY_DATA {} | |
1317 | #[cfg(feature = "Win32_Foundation")] | |
1318 | impl ::core::clone::Clone for KERB_BINDING_CACHE_ENTRY_DATA { | |
1319 | fn clone(&self) -> Self { | |
1320 | *self | |
1321 | } | |
1322 | } | |
1323 | #[repr(C)] | |
04454e1e | 1324 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
1325 | pub struct KERB_CERTIFICATE_HASHINFO { |
1326 | pub StoreNameLength: u16, | |
1327 | pub HashLength: u16, | |
1328 | } | |
1329 | impl ::core::marker::Copy for KERB_CERTIFICATE_HASHINFO {} | |
1330 | impl ::core::clone::Clone for KERB_CERTIFICATE_HASHINFO { | |
1331 | fn clone(&self) -> Self { | |
1332 | *self | |
1333 | } | |
1334 | } | |
1335 | #[repr(C)] | |
04454e1e | 1336 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
1337 | pub struct KERB_CERTIFICATE_INFO { |
1338 | pub CertInfoSize: u32, | |
1339 | pub InfoType: u32, | |
1340 | } | |
1341 | impl ::core::marker::Copy for KERB_CERTIFICATE_INFO {} | |
1342 | impl ::core::clone::Clone for KERB_CERTIFICATE_INFO { | |
1343 | fn clone(&self) -> Self { | |
1344 | *self | |
1345 | } | |
1346 | } | |
04454e1e | 1347 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1348 | pub type KERB_CERTIFICATE_INFO_TYPE = i32; |
04454e1e | 1349 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
1350 | pub const CertHashInfo: KERB_CERTIFICATE_INFO_TYPE = 1i32; |
1351 | #[repr(C)] | |
04454e1e | 1352 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1353 | #[cfg(feature = "Win32_Foundation")] |
1354 | pub struct KERB_CERTIFICATE_LOGON { | |
1355 | pub MessageType: KERB_LOGON_SUBMIT_TYPE, | |
1356 | pub DomainName: super::super::super::Foundation::UNICODE_STRING, | |
1357 | pub UserName: super::super::super::Foundation::UNICODE_STRING, | |
1358 | pub Pin: super::super::super::Foundation::UNICODE_STRING, | |
1359 | pub Flags: u32, | |
1360 | pub CspDataLength: u32, | |
1361 | pub CspData: *mut u8, | |
1362 | } | |
1363 | #[cfg(feature = "Win32_Foundation")] | |
1364 | impl ::core::marker::Copy for KERB_CERTIFICATE_LOGON {} | |
1365 | #[cfg(feature = "Win32_Foundation")] | |
1366 | impl ::core::clone::Clone for KERB_CERTIFICATE_LOGON { | |
1367 | fn clone(&self) -> Self { | |
1368 | *self | |
1369 | } | |
1370 | } | |
04454e1e | 1371 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1372 | pub const KERB_CERTIFICATE_LOGON_FLAG_CHECK_DUPLICATES: u32 = 1u32; |
04454e1e | 1373 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
1374 | pub const KERB_CERTIFICATE_LOGON_FLAG_USE_CERTIFICATE_INFO: u32 = 2u32; |
1375 | #[repr(C)] | |
04454e1e | 1376 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1377 | #[cfg(feature = "Win32_Foundation")] |
1378 | pub struct KERB_CERTIFICATE_S4U_LOGON { | |
1379 | pub MessageType: KERB_LOGON_SUBMIT_TYPE, | |
1380 | pub Flags: u32, | |
1381 | pub UserPrincipalName: super::super::super::Foundation::UNICODE_STRING, | |
1382 | pub DomainName: super::super::super::Foundation::UNICODE_STRING, | |
1383 | pub CertificateLength: u32, | |
1384 | pub Certificate: *mut u8, | |
1385 | } | |
1386 | #[cfg(feature = "Win32_Foundation")] | |
1387 | impl ::core::marker::Copy for KERB_CERTIFICATE_S4U_LOGON {} | |
1388 | #[cfg(feature = "Win32_Foundation")] | |
1389 | impl ::core::clone::Clone for KERB_CERTIFICATE_S4U_LOGON { | |
1390 | fn clone(&self) -> Self { | |
1391 | *self | |
1392 | } | |
1393 | } | |
04454e1e | 1394 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1395 | pub const KERB_CERTIFICATE_S4U_LOGON_FLAG_CHECK_DUPLICATES: u32 = 1u32; |
04454e1e | 1396 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1397 | pub const KERB_CERTIFICATE_S4U_LOGON_FLAG_CHECK_LOGONHOURS: u32 = 2u32; |
04454e1e | 1398 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1399 | pub const KERB_CERTIFICATE_S4U_LOGON_FLAG_FAIL_IF_NT_AUTH_POLICY_REQUIRED: u32 = 4u32; |
04454e1e | 1400 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
1401 | pub const KERB_CERTIFICATE_S4U_LOGON_FLAG_IDENTIFY: u32 = 8u32; |
1402 | #[repr(C)] | |
04454e1e | 1403 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1404 | #[cfg(feature = "Win32_Foundation")] |
1405 | pub struct KERB_CERTIFICATE_UNLOCK_LOGON { | |
1406 | pub Logon: KERB_CERTIFICATE_LOGON, | |
1407 | pub LogonId: super::super::super::Foundation::LUID, | |
1408 | } | |
1409 | #[cfg(feature = "Win32_Foundation")] | |
1410 | impl ::core::marker::Copy for KERB_CERTIFICATE_UNLOCK_LOGON {} | |
1411 | #[cfg(feature = "Win32_Foundation")] | |
1412 | impl ::core::clone::Clone for KERB_CERTIFICATE_UNLOCK_LOGON { | |
1413 | fn clone(&self) -> Self { | |
1414 | *self | |
1415 | } | |
1416 | } | |
1417 | #[repr(C)] | |
04454e1e | 1418 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1419 | #[cfg(feature = "Win32_Foundation")] |
1420 | pub struct KERB_CHANGEPASSWORD_REQUEST { | |
1421 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
1422 | pub DomainName: super::super::super::Foundation::UNICODE_STRING, | |
1423 | pub AccountName: super::super::super::Foundation::UNICODE_STRING, | |
1424 | pub OldPassword: super::super::super::Foundation::UNICODE_STRING, | |
1425 | pub NewPassword: super::super::super::Foundation::UNICODE_STRING, | |
1426 | pub Impersonating: super::super::super::Foundation::BOOLEAN, | |
1427 | } | |
1428 | #[cfg(feature = "Win32_Foundation")] | |
1429 | impl ::core::marker::Copy for KERB_CHANGEPASSWORD_REQUEST {} | |
1430 | #[cfg(feature = "Win32_Foundation")] | |
1431 | impl ::core::clone::Clone for KERB_CHANGEPASSWORD_REQUEST { | |
1432 | fn clone(&self) -> Self { | |
1433 | *self | |
1434 | } | |
1435 | } | |
04454e1e | 1436 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1437 | pub const KERB_CHECKSUM_CRC32: u32 = 1u32; |
04454e1e | 1438 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1439 | pub const KERB_CHECKSUM_DES_MAC: i32 = -133i32; |
04454e1e | 1440 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1441 | pub const KERB_CHECKSUM_DES_MAC_MD5: i32 = -134i32; |
04454e1e | 1442 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1443 | pub const KERB_CHECKSUM_HMAC_MD5: i32 = -138i32; |
04454e1e | 1444 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1445 | pub const KERB_CHECKSUM_HMAC_SHA1_96_AES128: u32 = 15u32; |
04454e1e | 1446 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1447 | pub const KERB_CHECKSUM_HMAC_SHA1_96_AES128_Ki: i32 = -150i32; |
04454e1e | 1448 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1449 | pub const KERB_CHECKSUM_HMAC_SHA1_96_AES256: u32 = 16u32; |
04454e1e | 1450 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1451 | pub const KERB_CHECKSUM_HMAC_SHA1_96_AES256_Ki: i32 = -151i32; |
04454e1e | 1452 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1453 | pub const KERB_CHECKSUM_KRB_DES_MAC: u32 = 4u32; |
04454e1e | 1454 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1455 | pub const KERB_CHECKSUM_KRB_DES_MAC_K: u32 = 5u32; |
04454e1e | 1456 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1457 | pub const KERB_CHECKSUM_LM: i32 = -130i32; |
04454e1e | 1458 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1459 | pub const KERB_CHECKSUM_MD25: i32 = -135i32; |
04454e1e | 1460 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1461 | pub const KERB_CHECKSUM_MD4: u32 = 2u32; |
04454e1e | 1462 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1463 | pub const KERB_CHECKSUM_MD5: u32 = 7u32; |
04454e1e | 1464 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1465 | pub const KERB_CHECKSUM_MD5_DES: u32 = 8u32; |
04454e1e | 1466 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1467 | pub const KERB_CHECKSUM_MD5_HMAC: i32 = -137i32; |
04454e1e | 1468 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1469 | pub const KERB_CHECKSUM_NONE: u32 = 0u32; |
04454e1e | 1470 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1471 | pub const KERB_CHECKSUM_RC4_MD5: i32 = -136i32; |
04454e1e | 1472 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1473 | pub const KERB_CHECKSUM_REAL_CRC32: i32 = -132i32; |
04454e1e | 1474 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1475 | pub const KERB_CHECKSUM_SHA1: i32 = -131i32; |
04454e1e | 1476 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
1477 | pub const KERB_CHECKSUM_SHA1_NEW: u32 = 14u32; |
1478 | #[repr(C)] | |
04454e1e | 1479 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1480 | #[cfg(feature = "Win32_Foundation")] |
1481 | pub struct KERB_CLEANUP_MACHINE_PKINIT_CREDS_REQUEST { | |
1482 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
1483 | pub LogonId: super::super::super::Foundation::LUID, | |
1484 | } | |
1485 | #[cfg(feature = "Win32_Foundation")] | |
1486 | impl ::core::marker::Copy for KERB_CLEANUP_MACHINE_PKINIT_CREDS_REQUEST {} | |
1487 | #[cfg(feature = "Win32_Foundation")] | |
1488 | impl ::core::clone::Clone for KERB_CLEANUP_MACHINE_PKINIT_CREDS_REQUEST { | |
1489 | fn clone(&self) -> Self { | |
1490 | *self | |
1491 | } | |
1492 | } | |
1493 | #[repr(C)] | |
04454e1e | 1494 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
1495 | pub struct KERB_CLOUD_KERBEROS_DEBUG_DATA_V0 { |
1496 | pub _bitfield: i32, | |
1497 | } | |
1498 | impl ::core::marker::Copy for KERB_CLOUD_KERBEROS_DEBUG_DATA_V0 {} | |
1499 | impl ::core::clone::Clone for KERB_CLOUD_KERBEROS_DEBUG_DATA_V0 { | |
1500 | fn clone(&self) -> Self { | |
1501 | *self | |
1502 | } | |
1503 | } | |
04454e1e | 1504 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
1505 | pub const KERB_CLOUD_KERBEROS_DEBUG_DATA_VERSION: u32 = 0u32; |
1506 | #[repr(C)] | |
04454e1e | 1507 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1508 | #[cfg(feature = "Win32_Foundation")] |
1509 | pub struct KERB_CLOUD_KERBEROS_DEBUG_REQUEST { | |
1510 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
1511 | pub LogonId: super::super::super::Foundation::LUID, | |
1512 | } | |
1513 | #[cfg(feature = "Win32_Foundation")] | |
1514 | impl ::core::marker::Copy for KERB_CLOUD_KERBEROS_DEBUG_REQUEST {} | |
1515 | #[cfg(feature = "Win32_Foundation")] | |
1516 | impl ::core::clone::Clone for KERB_CLOUD_KERBEROS_DEBUG_REQUEST { | |
1517 | fn clone(&self) -> Self { | |
1518 | *self | |
1519 | } | |
1520 | } | |
1521 | #[repr(C)] | |
04454e1e | 1522 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
1523 | pub struct KERB_CLOUD_KERBEROS_DEBUG_RESPONSE { |
1524 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
1525 | pub Version: u32, | |
1526 | pub Length: u32, | |
1527 | pub Data: [u32; 1], | |
1528 | } | |
1529 | impl ::core::marker::Copy for KERB_CLOUD_KERBEROS_DEBUG_RESPONSE {} | |
1530 | impl ::core::clone::Clone for KERB_CLOUD_KERBEROS_DEBUG_RESPONSE { | |
1531 | fn clone(&self) -> Self { | |
1532 | *self | |
1533 | } | |
1534 | } | |
1535 | #[repr(C)] | |
04454e1e | 1536 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
1537 | pub struct KERB_CRYPTO_KEY { |
1538 | pub KeyType: KERB_CRYPTO_KEY_TYPE, | |
1539 | pub Length: u32, | |
1540 | pub Value: *mut u8, | |
1541 | } | |
1542 | impl ::core::marker::Copy for KERB_CRYPTO_KEY {} | |
1543 | impl ::core::clone::Clone for KERB_CRYPTO_KEY { | |
1544 | fn clone(&self) -> Self { | |
1545 | *self | |
1546 | } | |
1547 | } | |
1548 | #[repr(C)] | |
04454e1e | 1549 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
1550 | pub struct KERB_CRYPTO_KEY32 { |
1551 | pub KeyType: i32, | |
1552 | pub Length: u32, | |
1553 | pub Offset: u32, | |
1554 | } | |
1555 | impl ::core::marker::Copy for KERB_CRYPTO_KEY32 {} | |
1556 | impl ::core::clone::Clone for KERB_CRYPTO_KEY32 { | |
1557 | fn clone(&self) -> Self { | |
1558 | *self | |
1559 | } | |
1560 | } | |
04454e1e | 1561 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1562 | pub type KERB_CRYPTO_KEY_TYPE = i32; |
04454e1e | 1563 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1564 | pub const KERB_ETYPE_DES_CBC_CRC: KERB_CRYPTO_KEY_TYPE = 1i32; |
04454e1e | 1565 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1566 | pub const KERB_ETYPE_DES_CBC_MD4: KERB_CRYPTO_KEY_TYPE = 2i32; |
04454e1e | 1567 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1568 | pub const KERB_ETYPE_DES_CBC_MD5: KERB_CRYPTO_KEY_TYPE = 3i32; |
04454e1e | 1569 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1570 | pub const KERB_ETYPE_NULL: KERB_CRYPTO_KEY_TYPE = 0i32; |
04454e1e | 1571 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1572 | pub const KERB_ETYPE_RC4_HMAC_NT: KERB_CRYPTO_KEY_TYPE = 23i32; |
04454e1e | 1573 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1574 | pub const KERB_ETYPE_RC4_MD4: KERB_CRYPTO_KEY_TYPE = -128i32; |
04454e1e | 1575 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
1576 | pub const KERB_DECRYPT_FLAG_DEFAULT_KEY: u32 = 1u32; |
1577 | #[repr(C)] | |
04454e1e | 1578 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1579 | #[cfg(feature = "Win32_Foundation")] |
1580 | pub struct KERB_DECRYPT_REQUEST { | |
1581 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
1582 | pub LogonId: super::super::super::Foundation::LUID, | |
1583 | pub Flags: u32, | |
1584 | pub CryptoType: i32, | |
1585 | pub KeyUsage: i32, | |
1586 | pub Key: KERB_CRYPTO_KEY, | |
1587 | pub EncryptedDataSize: u32, | |
1588 | pub InitialVectorSize: u32, | |
1589 | pub InitialVector: *mut u8, | |
1590 | pub EncryptedData: *mut u8, | |
1591 | } | |
1592 | #[cfg(feature = "Win32_Foundation")] | |
1593 | impl ::core::marker::Copy for KERB_DECRYPT_REQUEST {} | |
1594 | #[cfg(feature = "Win32_Foundation")] | |
1595 | impl ::core::clone::Clone for KERB_DECRYPT_REQUEST { | |
1596 | fn clone(&self) -> Self { | |
1597 | *self | |
1598 | } | |
1599 | } | |
1600 | #[repr(C)] | |
04454e1e | 1601 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
1602 | pub struct KERB_DECRYPT_RESPONSE { |
1603 | pub DecryptedData: [u8; 1], | |
1604 | } | |
1605 | impl ::core::marker::Copy for KERB_DECRYPT_RESPONSE {} | |
1606 | impl ::core::clone::Clone for KERB_DECRYPT_RESPONSE { | |
1607 | fn clone(&self) -> Self { | |
1608 | *self | |
1609 | } | |
1610 | } | |
04454e1e | 1611 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1612 | pub const KERB_ETYPE_AES128_CTS_HMAC_SHA1_96: u32 = 17u32; |
04454e1e | 1613 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1614 | pub const KERB_ETYPE_AES128_CTS_HMAC_SHA1_96_PLAIN: i32 = -148i32; |
04454e1e | 1615 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1616 | pub const KERB_ETYPE_AES256_CTS_HMAC_SHA1_96: u32 = 18u32; |
04454e1e | 1617 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1618 | pub const KERB_ETYPE_AES256_CTS_HMAC_SHA1_96_PLAIN: i32 = -149i32; |
04454e1e | 1619 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1620 | pub const KERB_ETYPE_DEFAULT: u32 = 0u32; |
04454e1e | 1621 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1622 | pub const KERB_ETYPE_DES3_CBC_MD5: u32 = 5u32; |
04454e1e | 1623 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1624 | pub const KERB_ETYPE_DES3_CBC_SHA1: u32 = 7u32; |
04454e1e | 1625 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1626 | pub const KERB_ETYPE_DES3_CBC_SHA1_KD: u32 = 16u32; |
04454e1e | 1627 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1628 | pub const KERB_ETYPE_DES_CBC_MD5_NT: u32 = 20u32; |
04454e1e | 1629 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1630 | pub const KERB_ETYPE_DES_EDE3_CBC_ENV: u32 = 15u32; |
04454e1e | 1631 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1632 | pub const KERB_ETYPE_DES_PLAIN: i32 = -132i32; |
04454e1e | 1633 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1634 | pub const KERB_ETYPE_DSA_SHA1_CMS: u32 = 9u32; |
04454e1e | 1635 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1636 | pub const KERB_ETYPE_DSA_SIGN: u32 = 8u32; |
04454e1e | 1637 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1638 | pub const KERB_ETYPE_PKCS7_PUB: u32 = 13u32; |
04454e1e | 1639 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1640 | pub const KERB_ETYPE_RC2_CBC_ENV: u32 = 12u32; |
04454e1e | 1641 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1642 | pub const KERB_ETYPE_RC4_HMAC_NT_EXP: u32 = 24u32; |
04454e1e | 1643 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1644 | pub const KERB_ETYPE_RC4_HMAC_OLD: i32 = -133i32; |
04454e1e | 1645 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1646 | pub const KERB_ETYPE_RC4_HMAC_OLD_EXP: i32 = -135i32; |
04454e1e | 1647 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1648 | pub const KERB_ETYPE_RC4_LM: i32 = -130i32; |
04454e1e | 1649 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1650 | pub const KERB_ETYPE_RC4_PLAIN: i32 = -140i32; |
04454e1e | 1651 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1652 | pub const KERB_ETYPE_RC4_PLAIN2: i32 = -129i32; |
04454e1e | 1653 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1654 | pub const KERB_ETYPE_RC4_PLAIN_EXP: i32 = -141i32; |
04454e1e | 1655 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1656 | pub const KERB_ETYPE_RC4_PLAIN_OLD: i32 = -134i32; |
04454e1e | 1657 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1658 | pub const KERB_ETYPE_RC4_PLAIN_OLD_EXP: i32 = -136i32; |
04454e1e | 1659 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1660 | pub const KERB_ETYPE_RC4_SHA: i32 = -131i32; |
04454e1e | 1661 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1662 | pub const KERB_ETYPE_RSA_ENV: u32 = 13u32; |
04454e1e | 1663 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1664 | pub const KERB_ETYPE_RSA_ES_OEAP_ENV: u32 = 14u32; |
04454e1e | 1665 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1666 | pub const KERB_ETYPE_RSA_MD5_CMS: u32 = 10u32; |
04454e1e | 1667 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1668 | pub const KERB_ETYPE_RSA_PRIV: u32 = 9u32; |
04454e1e | 1669 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1670 | pub const KERB_ETYPE_RSA_PUB: u32 = 10u32; |
04454e1e | 1671 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1672 | pub const KERB_ETYPE_RSA_PUB_MD5: u32 = 11u32; |
04454e1e | 1673 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1674 | pub const KERB_ETYPE_RSA_PUB_SHA1: u32 = 12u32; |
04454e1e | 1675 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
1676 | pub const KERB_ETYPE_RSA_SHA1_CMS: u32 = 11u32; |
1677 | #[repr(C)] | |
04454e1e | 1678 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1679 | #[cfg(feature = "Win32_Foundation")] |
1680 | pub struct KERB_EXTERNAL_NAME { | |
1681 | pub NameType: i16, | |
1682 | pub NameCount: u16, | |
1683 | pub Names: [super::super::super::Foundation::UNICODE_STRING; 1], | |
1684 | } | |
1685 | #[cfg(feature = "Win32_Foundation")] | |
1686 | impl ::core::marker::Copy for KERB_EXTERNAL_NAME {} | |
1687 | #[cfg(feature = "Win32_Foundation")] | |
1688 | impl ::core::clone::Clone for KERB_EXTERNAL_NAME { | |
1689 | fn clone(&self) -> Self { | |
1690 | *self | |
1691 | } | |
1692 | } | |
1693 | #[repr(C)] | |
04454e1e | 1694 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1695 | #[cfg(feature = "Win32_Foundation")] |
1696 | pub struct KERB_EXTERNAL_TICKET { | |
1697 | pub ServiceName: *mut KERB_EXTERNAL_NAME, | |
1698 | pub TargetName: *mut KERB_EXTERNAL_NAME, | |
1699 | pub ClientName: *mut KERB_EXTERNAL_NAME, | |
1700 | pub DomainName: super::super::super::Foundation::UNICODE_STRING, | |
1701 | pub TargetDomainName: super::super::super::Foundation::UNICODE_STRING, | |
1702 | pub AltTargetDomainName: super::super::super::Foundation::UNICODE_STRING, | |
1703 | pub SessionKey: KERB_CRYPTO_KEY, | |
1704 | pub TicketFlags: KERB_TICKET_FLAGS, | |
1705 | pub Flags: u32, | |
1706 | pub KeyExpirationTime: i64, | |
1707 | pub StartTime: i64, | |
1708 | pub EndTime: i64, | |
1709 | pub RenewUntil: i64, | |
1710 | pub TimeSkew: i64, | |
1711 | pub EncodedTicketSize: u32, | |
1712 | pub EncodedTicket: *mut u8, | |
1713 | } | |
1714 | #[cfg(feature = "Win32_Foundation")] | |
1715 | impl ::core::marker::Copy for KERB_EXTERNAL_TICKET {} | |
1716 | #[cfg(feature = "Win32_Foundation")] | |
1717 | impl ::core::clone::Clone for KERB_EXTERNAL_TICKET { | |
1718 | fn clone(&self) -> Self { | |
1719 | *self | |
1720 | } | |
1721 | } | |
1722 | #[repr(C)] | |
04454e1e | 1723 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1724 | #[cfg(feature = "Win32_Foundation")] |
1725 | pub struct KERB_INTERACTIVE_LOGON { | |
1726 | pub MessageType: KERB_LOGON_SUBMIT_TYPE, | |
1727 | pub LogonDomainName: super::super::super::Foundation::UNICODE_STRING, | |
1728 | pub UserName: super::super::super::Foundation::UNICODE_STRING, | |
1729 | pub Password: super::super::super::Foundation::UNICODE_STRING, | |
1730 | } | |
1731 | #[cfg(feature = "Win32_Foundation")] | |
1732 | impl ::core::marker::Copy for KERB_INTERACTIVE_LOGON {} | |
1733 | #[cfg(feature = "Win32_Foundation")] | |
1734 | impl ::core::clone::Clone for KERB_INTERACTIVE_LOGON { | |
1735 | fn clone(&self) -> Self { | |
1736 | *self | |
1737 | } | |
1738 | } | |
1739 | #[repr(C)] | |
04454e1e | 1740 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1741 | #[cfg(feature = "Win32_Foundation")] |
1742 | pub struct KERB_INTERACTIVE_PROFILE { | |
1743 | pub MessageType: KERB_PROFILE_BUFFER_TYPE, | |
1744 | pub LogonCount: u16, | |
1745 | pub BadPasswordCount: u16, | |
1746 | pub LogonTime: i64, | |
1747 | pub LogoffTime: i64, | |
1748 | pub KickOffTime: i64, | |
1749 | pub PasswordLastSet: i64, | |
1750 | pub PasswordCanChange: i64, | |
1751 | pub PasswordMustChange: i64, | |
1752 | pub LogonScript: super::super::super::Foundation::UNICODE_STRING, | |
1753 | pub HomeDirectory: super::super::super::Foundation::UNICODE_STRING, | |
1754 | pub FullName: super::super::super::Foundation::UNICODE_STRING, | |
1755 | pub ProfilePath: super::super::super::Foundation::UNICODE_STRING, | |
1756 | pub HomeDirectoryDrive: super::super::super::Foundation::UNICODE_STRING, | |
1757 | pub LogonServer: super::super::super::Foundation::UNICODE_STRING, | |
1758 | pub UserFlags: u32, | |
1759 | } | |
1760 | #[cfg(feature = "Win32_Foundation")] | |
1761 | impl ::core::marker::Copy for KERB_INTERACTIVE_PROFILE {} | |
1762 | #[cfg(feature = "Win32_Foundation")] | |
1763 | impl ::core::clone::Clone for KERB_INTERACTIVE_PROFILE { | |
1764 | fn clone(&self) -> Self { | |
1765 | *self | |
1766 | } | |
1767 | } | |
1768 | #[repr(C)] | |
04454e1e | 1769 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1770 | #[cfg(feature = "Win32_Foundation")] |
1771 | pub struct KERB_INTERACTIVE_UNLOCK_LOGON { | |
1772 | pub Logon: KERB_INTERACTIVE_LOGON, | |
1773 | pub LogonId: super::super::super::Foundation::LUID, | |
1774 | } | |
1775 | #[cfg(feature = "Win32_Foundation")] | |
1776 | impl ::core::marker::Copy for KERB_INTERACTIVE_UNLOCK_LOGON {} | |
1777 | #[cfg(feature = "Win32_Foundation")] | |
1778 | impl ::core::clone::Clone for KERB_INTERACTIVE_UNLOCK_LOGON { | |
1779 | fn clone(&self) -> Self { | |
1780 | *self | |
1781 | } | |
1782 | } | |
04454e1e | 1783 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1784 | pub const KERB_LOGON_FLAG_ALLOW_EXPIRED_TICKET: u32 = 1u32; |
04454e1e | 1785 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1786 | pub const KERB_LOGON_FLAG_REDIRECTED: u32 = 2u32; |
04454e1e | 1787 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1788 | pub type KERB_LOGON_SUBMIT_TYPE = i32; |
04454e1e | 1789 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1790 | pub const KerbInteractiveLogon: KERB_LOGON_SUBMIT_TYPE = 2i32; |
04454e1e | 1791 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1792 | pub const KerbSmartCardLogon: KERB_LOGON_SUBMIT_TYPE = 6i32; |
04454e1e | 1793 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1794 | pub const KerbWorkstationUnlockLogon: KERB_LOGON_SUBMIT_TYPE = 7i32; |
04454e1e | 1795 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1796 | pub const KerbSmartCardUnlockLogon: KERB_LOGON_SUBMIT_TYPE = 8i32; |
04454e1e | 1797 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1798 | pub const KerbProxyLogon: KERB_LOGON_SUBMIT_TYPE = 9i32; |
04454e1e | 1799 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1800 | pub const KerbTicketLogon: KERB_LOGON_SUBMIT_TYPE = 10i32; |
04454e1e | 1801 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1802 | pub const KerbTicketUnlockLogon: KERB_LOGON_SUBMIT_TYPE = 11i32; |
04454e1e | 1803 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1804 | pub const KerbS4ULogon: KERB_LOGON_SUBMIT_TYPE = 12i32; |
04454e1e | 1805 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1806 | pub const KerbCertificateLogon: KERB_LOGON_SUBMIT_TYPE = 13i32; |
04454e1e | 1807 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1808 | pub const KerbCertificateS4ULogon: KERB_LOGON_SUBMIT_TYPE = 14i32; |
04454e1e | 1809 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1810 | pub const KerbCertificateUnlockLogon: KERB_LOGON_SUBMIT_TYPE = 15i32; |
04454e1e | 1811 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1812 | pub const KerbNoElevationLogon: KERB_LOGON_SUBMIT_TYPE = 83i32; |
04454e1e | 1813 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
1814 | pub const KerbLuidLogon: KERB_LOGON_SUBMIT_TYPE = 84i32; |
1815 | #[repr(C)] | |
04454e1e | 1816 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
1817 | pub struct KERB_NET_ADDRESS { |
1818 | pub Family: u32, | |
1819 | pub Length: u32, | |
04454e1e | 1820 | pub Address: ::windows_sys::core::PSTR, |
5e7ed085 | 1821 | } |
5e7ed085 | 1822 | impl ::core::marker::Copy for KERB_NET_ADDRESS {} |
5e7ed085 FG |
1823 | impl ::core::clone::Clone for KERB_NET_ADDRESS { |
1824 | fn clone(&self) -> Self { | |
1825 | *self | |
1826 | } | |
1827 | } | |
1828 | #[repr(C)] | |
04454e1e | 1829 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
1830 | pub struct KERB_NET_ADDRESSES { |
1831 | pub Number: u32, | |
1832 | pub Addresses: [KERB_NET_ADDRESS; 1], | |
1833 | } | |
5e7ed085 | 1834 | impl ::core::marker::Copy for KERB_NET_ADDRESSES {} |
5e7ed085 FG |
1835 | impl ::core::clone::Clone for KERB_NET_ADDRESSES { |
1836 | fn clone(&self) -> Self { | |
1837 | *self | |
1838 | } | |
1839 | } | |
04454e1e | 1840 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1841 | pub type KERB_PROFILE_BUFFER_TYPE = i32; |
04454e1e | 1842 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1843 | pub const KerbInteractiveProfile: KERB_PROFILE_BUFFER_TYPE = 2i32; |
04454e1e | 1844 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1845 | pub const KerbSmartCardProfile: KERB_PROFILE_BUFFER_TYPE = 4i32; |
04454e1e | 1846 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1847 | pub const KerbTicketProfile: KERB_PROFILE_BUFFER_TYPE = 6i32; |
04454e1e | 1848 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1849 | pub type KERB_PROTOCOL_MESSAGE_TYPE = i32; |
04454e1e | 1850 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1851 | pub const KerbDebugRequestMessage: KERB_PROTOCOL_MESSAGE_TYPE = 0i32; |
04454e1e | 1852 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1853 | pub const KerbQueryTicketCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 1i32; |
04454e1e | 1854 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1855 | pub const KerbChangeMachinePasswordMessage: KERB_PROTOCOL_MESSAGE_TYPE = 2i32; |
04454e1e | 1856 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1857 | pub const KerbVerifyPacMessage: KERB_PROTOCOL_MESSAGE_TYPE = 3i32; |
04454e1e | 1858 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1859 | pub const KerbRetrieveTicketMessage: KERB_PROTOCOL_MESSAGE_TYPE = 4i32; |
04454e1e | 1860 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1861 | pub const KerbUpdateAddressesMessage: KERB_PROTOCOL_MESSAGE_TYPE = 5i32; |
04454e1e | 1862 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1863 | pub const KerbPurgeTicketCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 6i32; |
04454e1e | 1864 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1865 | pub const KerbChangePasswordMessage: KERB_PROTOCOL_MESSAGE_TYPE = 7i32; |
04454e1e | 1866 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1867 | pub const KerbRetrieveEncodedTicketMessage: KERB_PROTOCOL_MESSAGE_TYPE = 8i32; |
04454e1e | 1868 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1869 | pub const KerbDecryptDataMessage: KERB_PROTOCOL_MESSAGE_TYPE = 9i32; |
04454e1e | 1870 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1871 | pub const KerbAddBindingCacheEntryMessage: KERB_PROTOCOL_MESSAGE_TYPE = 10i32; |
04454e1e | 1872 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1873 | pub const KerbSetPasswordMessage: KERB_PROTOCOL_MESSAGE_TYPE = 11i32; |
04454e1e | 1874 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1875 | pub const KerbSetPasswordExMessage: KERB_PROTOCOL_MESSAGE_TYPE = 12i32; |
04454e1e | 1876 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1877 | pub const KerbVerifyCredentialsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 13i32; |
04454e1e | 1878 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1879 | pub const KerbQueryTicketCacheExMessage: KERB_PROTOCOL_MESSAGE_TYPE = 14i32; |
04454e1e | 1880 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1881 | pub const KerbPurgeTicketCacheExMessage: KERB_PROTOCOL_MESSAGE_TYPE = 15i32; |
04454e1e | 1882 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1883 | pub const KerbRefreshSmartcardCredentialsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 16i32; |
04454e1e | 1884 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1885 | pub const KerbAddExtraCredentialsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 17i32; |
04454e1e | 1886 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1887 | pub const KerbQuerySupplementalCredentialsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 18i32; |
04454e1e | 1888 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1889 | pub const KerbTransferCredentialsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 19i32; |
04454e1e | 1890 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1891 | pub const KerbQueryTicketCacheEx2Message: KERB_PROTOCOL_MESSAGE_TYPE = 20i32; |
04454e1e | 1892 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1893 | pub const KerbSubmitTicketMessage: KERB_PROTOCOL_MESSAGE_TYPE = 21i32; |
04454e1e | 1894 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1895 | pub const KerbAddExtraCredentialsExMessage: KERB_PROTOCOL_MESSAGE_TYPE = 22i32; |
04454e1e | 1896 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1897 | pub const KerbQueryKdcProxyCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 23i32; |
04454e1e | 1898 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1899 | pub const KerbPurgeKdcProxyCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 24i32; |
04454e1e | 1900 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1901 | pub const KerbQueryTicketCacheEx3Message: KERB_PROTOCOL_MESSAGE_TYPE = 25i32; |
04454e1e | 1902 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1903 | pub const KerbCleanupMachinePkinitCredsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 26i32; |
04454e1e | 1904 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1905 | pub const KerbAddBindingCacheEntryExMessage: KERB_PROTOCOL_MESSAGE_TYPE = 27i32; |
04454e1e | 1906 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1907 | pub const KerbQueryBindingCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 28i32; |
04454e1e | 1908 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1909 | pub const KerbPurgeBindingCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 29i32; |
04454e1e | 1910 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1911 | pub const KerbPinKdcMessage: KERB_PROTOCOL_MESSAGE_TYPE = 30i32; |
04454e1e | 1912 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1913 | pub const KerbUnpinAllKdcsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 31i32; |
04454e1e | 1914 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1915 | pub const KerbQueryDomainExtendedPoliciesMessage: KERB_PROTOCOL_MESSAGE_TYPE = 32i32; |
04454e1e | 1916 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1917 | pub const KerbQueryS4U2ProxyCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 33i32; |
04454e1e | 1918 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1919 | pub const KerbRetrieveKeyTabMessage: KERB_PROTOCOL_MESSAGE_TYPE = 34i32; |
04454e1e | 1920 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1921 | pub const KerbRefreshPolicyMessage: KERB_PROTOCOL_MESSAGE_TYPE = 35i32; |
04454e1e | 1922 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 1923 | pub const KerbPrintCloudKerberosDebugMessage: KERB_PROTOCOL_MESSAGE_TYPE = 36i32; |
04454e1e | 1924 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
1925 | pub const KERB_PURGE_ALL_TICKETS: u32 = 1u32; |
1926 | #[repr(C)] | |
04454e1e | 1927 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
1928 | pub struct KERB_PURGE_BINDING_CACHE_REQUEST { |
1929 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
1930 | } | |
1931 | impl ::core::marker::Copy for KERB_PURGE_BINDING_CACHE_REQUEST {} | |
1932 | impl ::core::clone::Clone for KERB_PURGE_BINDING_CACHE_REQUEST { | |
1933 | fn clone(&self) -> Self { | |
1934 | *self | |
1935 | } | |
1936 | } | |
1937 | #[repr(C)] | |
04454e1e | 1938 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1939 | #[cfg(feature = "Win32_Foundation")] |
1940 | pub struct KERB_PURGE_KDC_PROXY_CACHE_REQUEST { | |
1941 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
1942 | pub Flags: u32, | |
1943 | pub LogonId: super::super::super::Foundation::LUID, | |
1944 | } | |
1945 | #[cfg(feature = "Win32_Foundation")] | |
1946 | impl ::core::marker::Copy for KERB_PURGE_KDC_PROXY_CACHE_REQUEST {} | |
1947 | #[cfg(feature = "Win32_Foundation")] | |
1948 | impl ::core::clone::Clone for KERB_PURGE_KDC_PROXY_CACHE_REQUEST { | |
1949 | fn clone(&self) -> Self { | |
1950 | *self | |
1951 | } | |
1952 | } | |
1953 | #[repr(C)] | |
04454e1e | 1954 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
1955 | pub struct KERB_PURGE_KDC_PROXY_CACHE_RESPONSE { |
1956 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
1957 | pub CountOfPurged: u32, | |
1958 | } | |
1959 | impl ::core::marker::Copy for KERB_PURGE_KDC_PROXY_CACHE_RESPONSE {} | |
1960 | impl ::core::clone::Clone for KERB_PURGE_KDC_PROXY_CACHE_RESPONSE { | |
1961 | fn clone(&self) -> Self { | |
1962 | *self | |
1963 | } | |
1964 | } | |
1965 | #[repr(C)] | |
04454e1e | 1966 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1967 | #[cfg(feature = "Win32_Foundation")] |
1968 | pub struct KERB_PURGE_TKT_CACHE_EX_REQUEST { | |
1969 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
1970 | pub LogonId: super::super::super::Foundation::LUID, | |
1971 | pub Flags: u32, | |
1972 | pub TicketTemplate: KERB_TICKET_CACHE_INFO_EX, | |
1973 | } | |
1974 | #[cfg(feature = "Win32_Foundation")] | |
1975 | impl ::core::marker::Copy for KERB_PURGE_TKT_CACHE_EX_REQUEST {} | |
1976 | #[cfg(feature = "Win32_Foundation")] | |
1977 | impl ::core::clone::Clone for KERB_PURGE_TKT_CACHE_EX_REQUEST { | |
1978 | fn clone(&self) -> Self { | |
1979 | *self | |
1980 | } | |
1981 | } | |
1982 | #[repr(C)] | |
04454e1e | 1983 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
1984 | #[cfg(feature = "Win32_Foundation")] |
1985 | pub struct KERB_PURGE_TKT_CACHE_REQUEST { | |
1986 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
1987 | pub LogonId: super::super::super::Foundation::LUID, | |
1988 | pub ServerName: super::super::super::Foundation::UNICODE_STRING, | |
1989 | pub RealmName: super::super::super::Foundation::UNICODE_STRING, | |
1990 | } | |
1991 | #[cfg(feature = "Win32_Foundation")] | |
1992 | impl ::core::marker::Copy for KERB_PURGE_TKT_CACHE_REQUEST {} | |
1993 | #[cfg(feature = "Win32_Foundation")] | |
1994 | impl ::core::clone::Clone for KERB_PURGE_TKT_CACHE_REQUEST { | |
1995 | fn clone(&self) -> Self { | |
1996 | *self | |
1997 | } | |
1998 | } | |
1999 | #[repr(C)] | |
04454e1e | 2000 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
2001 | pub struct KERB_QUERY_BINDING_CACHE_REQUEST { |
2002 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
2003 | } | |
2004 | impl ::core::marker::Copy for KERB_QUERY_BINDING_CACHE_REQUEST {} | |
2005 | impl ::core::clone::Clone for KERB_QUERY_BINDING_CACHE_REQUEST { | |
2006 | fn clone(&self) -> Self { | |
2007 | *self | |
2008 | } | |
2009 | } | |
2010 | #[repr(C)] | |
04454e1e | 2011 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2012 | #[cfg(feature = "Win32_Foundation")] |
2013 | pub struct KERB_QUERY_BINDING_CACHE_RESPONSE { | |
2014 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
2015 | pub CountOfEntries: u32, | |
2016 | pub Entries: *mut KERB_BINDING_CACHE_ENTRY_DATA, | |
2017 | } | |
2018 | #[cfg(feature = "Win32_Foundation")] | |
2019 | impl ::core::marker::Copy for KERB_QUERY_BINDING_CACHE_RESPONSE {} | |
2020 | #[cfg(feature = "Win32_Foundation")] | |
2021 | impl ::core::clone::Clone for KERB_QUERY_BINDING_CACHE_RESPONSE { | |
2022 | fn clone(&self) -> Self { | |
2023 | *self | |
2024 | } | |
2025 | } | |
2026 | #[repr(C)] | |
04454e1e | 2027 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2028 | #[cfg(feature = "Win32_Foundation")] |
2029 | pub struct KERB_QUERY_DOMAIN_EXTENDED_POLICIES_REQUEST { | |
2030 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
2031 | pub Flags: u32, | |
2032 | pub DomainName: super::super::super::Foundation::UNICODE_STRING, | |
2033 | } | |
2034 | #[cfg(feature = "Win32_Foundation")] | |
2035 | impl ::core::marker::Copy for KERB_QUERY_DOMAIN_EXTENDED_POLICIES_REQUEST {} | |
2036 | #[cfg(feature = "Win32_Foundation")] | |
2037 | impl ::core::clone::Clone for KERB_QUERY_DOMAIN_EXTENDED_POLICIES_REQUEST { | |
2038 | fn clone(&self) -> Self { | |
2039 | *self | |
2040 | } | |
2041 | } | |
2042 | #[repr(C)] | |
04454e1e | 2043 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
2044 | pub struct KERB_QUERY_DOMAIN_EXTENDED_POLICIES_RESPONSE { |
2045 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
2046 | pub Flags: u32, | |
2047 | pub ExtendedPolicies: u32, | |
2048 | pub DsFlags: u32, | |
2049 | } | |
2050 | impl ::core::marker::Copy for KERB_QUERY_DOMAIN_EXTENDED_POLICIES_RESPONSE {} | |
2051 | impl ::core::clone::Clone for KERB_QUERY_DOMAIN_EXTENDED_POLICIES_RESPONSE { | |
2052 | fn clone(&self) -> Self { | |
2053 | *self | |
2054 | } | |
2055 | } | |
04454e1e | 2056 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
2057 | pub const KERB_QUERY_DOMAIN_EXTENDED_POLICIES_RESPONSE_FLAG_DAC_DISABLED: u32 = 1u32; |
2058 | #[repr(C)] | |
04454e1e | 2059 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2060 | #[cfg(feature = "Win32_Foundation")] |
2061 | pub struct KERB_QUERY_KDC_PROXY_CACHE_REQUEST { | |
2062 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
2063 | pub Flags: u32, | |
2064 | pub LogonId: super::super::super::Foundation::LUID, | |
2065 | } | |
2066 | #[cfg(feature = "Win32_Foundation")] | |
2067 | impl ::core::marker::Copy for KERB_QUERY_KDC_PROXY_CACHE_REQUEST {} | |
2068 | #[cfg(feature = "Win32_Foundation")] | |
2069 | impl ::core::clone::Clone for KERB_QUERY_KDC_PROXY_CACHE_REQUEST { | |
2070 | fn clone(&self) -> Self { | |
2071 | *self | |
2072 | } | |
2073 | } | |
2074 | #[repr(C)] | |
04454e1e | 2075 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2076 | #[cfg(feature = "Win32_Foundation")] |
2077 | pub struct KERB_QUERY_KDC_PROXY_CACHE_RESPONSE { | |
2078 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
2079 | pub CountOfEntries: u32, | |
2080 | pub Entries: *mut KDC_PROXY_CACHE_ENTRY_DATA, | |
2081 | } | |
2082 | #[cfg(feature = "Win32_Foundation")] | |
2083 | impl ::core::marker::Copy for KERB_QUERY_KDC_PROXY_CACHE_RESPONSE {} | |
2084 | #[cfg(feature = "Win32_Foundation")] | |
2085 | impl ::core::clone::Clone for KERB_QUERY_KDC_PROXY_CACHE_RESPONSE { | |
2086 | fn clone(&self) -> Self { | |
2087 | *self | |
2088 | } | |
2089 | } | |
2090 | #[repr(C)] | |
04454e1e | 2091 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2092 | #[cfg(feature = "Win32_Foundation")] |
2093 | pub struct KERB_QUERY_S4U2PROXY_CACHE_REQUEST { | |
2094 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
2095 | pub Flags: u32, | |
2096 | pub LogonId: super::super::super::Foundation::LUID, | |
2097 | } | |
2098 | #[cfg(feature = "Win32_Foundation")] | |
2099 | impl ::core::marker::Copy for KERB_QUERY_S4U2PROXY_CACHE_REQUEST {} | |
2100 | #[cfg(feature = "Win32_Foundation")] | |
2101 | impl ::core::clone::Clone for KERB_QUERY_S4U2PROXY_CACHE_REQUEST { | |
2102 | fn clone(&self) -> Self { | |
2103 | *self | |
2104 | } | |
2105 | } | |
2106 | #[repr(C)] | |
04454e1e | 2107 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2108 | #[cfg(feature = "Win32_Foundation")] |
2109 | pub struct KERB_QUERY_S4U2PROXY_CACHE_RESPONSE { | |
2110 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
2111 | pub CountOfCreds: u32, | |
2112 | pub Creds: *mut KERB_S4U2PROXY_CRED, | |
2113 | } | |
2114 | #[cfg(feature = "Win32_Foundation")] | |
2115 | impl ::core::marker::Copy for KERB_QUERY_S4U2PROXY_CACHE_RESPONSE {} | |
2116 | #[cfg(feature = "Win32_Foundation")] | |
2117 | impl ::core::clone::Clone for KERB_QUERY_S4U2PROXY_CACHE_RESPONSE { | |
2118 | fn clone(&self) -> Self { | |
2119 | *self | |
2120 | } | |
2121 | } | |
2122 | #[repr(C)] | |
04454e1e | 2123 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2124 | #[cfg(feature = "Win32_Foundation")] |
2125 | pub struct KERB_QUERY_TKT_CACHE_EX2_RESPONSE { | |
2126 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
2127 | pub CountOfTickets: u32, | |
2128 | pub Tickets: [KERB_TICKET_CACHE_INFO_EX2; 1], | |
2129 | } | |
2130 | #[cfg(feature = "Win32_Foundation")] | |
2131 | impl ::core::marker::Copy for KERB_QUERY_TKT_CACHE_EX2_RESPONSE {} | |
2132 | #[cfg(feature = "Win32_Foundation")] | |
2133 | impl ::core::clone::Clone for KERB_QUERY_TKT_CACHE_EX2_RESPONSE { | |
2134 | fn clone(&self) -> Self { | |
2135 | *self | |
2136 | } | |
2137 | } | |
2138 | #[repr(C)] | |
04454e1e | 2139 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2140 | #[cfg(feature = "Win32_Foundation")] |
2141 | pub struct KERB_QUERY_TKT_CACHE_EX3_RESPONSE { | |
2142 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
2143 | pub CountOfTickets: u32, | |
2144 | pub Tickets: [KERB_TICKET_CACHE_INFO_EX3; 1], | |
2145 | } | |
2146 | #[cfg(feature = "Win32_Foundation")] | |
2147 | impl ::core::marker::Copy for KERB_QUERY_TKT_CACHE_EX3_RESPONSE {} | |
2148 | #[cfg(feature = "Win32_Foundation")] | |
2149 | impl ::core::clone::Clone for KERB_QUERY_TKT_CACHE_EX3_RESPONSE { | |
2150 | fn clone(&self) -> Self { | |
2151 | *self | |
2152 | } | |
2153 | } | |
2154 | #[repr(C)] | |
04454e1e | 2155 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2156 | #[cfg(feature = "Win32_Foundation")] |
2157 | pub struct KERB_QUERY_TKT_CACHE_EX_RESPONSE { | |
2158 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
2159 | pub CountOfTickets: u32, | |
2160 | pub Tickets: [KERB_TICKET_CACHE_INFO_EX; 1], | |
2161 | } | |
2162 | #[cfg(feature = "Win32_Foundation")] | |
2163 | impl ::core::marker::Copy for KERB_QUERY_TKT_CACHE_EX_RESPONSE {} | |
2164 | #[cfg(feature = "Win32_Foundation")] | |
2165 | impl ::core::clone::Clone for KERB_QUERY_TKT_CACHE_EX_RESPONSE { | |
2166 | fn clone(&self) -> Self { | |
2167 | *self | |
2168 | } | |
2169 | } | |
2170 | #[repr(C)] | |
04454e1e | 2171 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2172 | #[cfg(feature = "Win32_Foundation")] |
2173 | pub struct KERB_QUERY_TKT_CACHE_REQUEST { | |
2174 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
2175 | pub LogonId: super::super::super::Foundation::LUID, | |
2176 | } | |
2177 | #[cfg(feature = "Win32_Foundation")] | |
2178 | impl ::core::marker::Copy for KERB_QUERY_TKT_CACHE_REQUEST {} | |
2179 | #[cfg(feature = "Win32_Foundation")] | |
2180 | impl ::core::clone::Clone for KERB_QUERY_TKT_CACHE_REQUEST { | |
2181 | fn clone(&self) -> Self { | |
2182 | *self | |
2183 | } | |
2184 | } | |
2185 | #[repr(C)] | |
04454e1e | 2186 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2187 | #[cfg(feature = "Win32_Foundation")] |
2188 | pub struct KERB_QUERY_TKT_CACHE_RESPONSE { | |
2189 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
2190 | pub CountOfTickets: u32, | |
2191 | pub Tickets: [KERB_TICKET_CACHE_INFO; 1], | |
2192 | } | |
2193 | #[cfg(feature = "Win32_Foundation")] | |
2194 | impl ::core::marker::Copy for KERB_QUERY_TKT_CACHE_RESPONSE {} | |
2195 | #[cfg(feature = "Win32_Foundation")] | |
2196 | impl ::core::clone::Clone for KERB_QUERY_TKT_CACHE_RESPONSE { | |
2197 | fn clone(&self) -> Self { | |
2198 | *self | |
2199 | } | |
2200 | } | |
04454e1e | 2201 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2202 | pub const KERB_REFRESH_POLICY_KDC: u32 = 2u32; |
04454e1e | 2203 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
2204 | pub const KERB_REFRESH_POLICY_KERBEROS: u32 = 1u32; |
2205 | #[repr(C)] | |
04454e1e | 2206 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
2207 | pub struct KERB_REFRESH_POLICY_REQUEST { |
2208 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
2209 | pub Flags: u32, | |
2210 | } | |
2211 | impl ::core::marker::Copy for KERB_REFRESH_POLICY_REQUEST {} | |
2212 | impl ::core::clone::Clone for KERB_REFRESH_POLICY_REQUEST { | |
2213 | fn clone(&self) -> Self { | |
2214 | *self | |
2215 | } | |
2216 | } | |
2217 | #[repr(C)] | |
04454e1e | 2218 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
2219 | pub struct KERB_REFRESH_POLICY_RESPONSE { |
2220 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
2221 | pub Flags: u32, | |
2222 | } | |
2223 | impl ::core::marker::Copy for KERB_REFRESH_POLICY_RESPONSE {} | |
2224 | impl ::core::clone::Clone for KERB_REFRESH_POLICY_RESPONSE { | |
2225 | fn clone(&self) -> Self { | |
2226 | *self | |
2227 | } | |
2228 | } | |
04454e1e | 2229 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2230 | pub const KERB_REFRESH_SCCRED_GETTGT: u32 = 1u32; |
04454e1e | 2231 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
2232 | pub const KERB_REFRESH_SCCRED_RELEASE: u32 = 0u32; |
2233 | #[repr(C)] | |
04454e1e | 2234 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2235 | #[cfg(feature = "Win32_Foundation")] |
2236 | pub struct KERB_REFRESH_SCCRED_REQUEST { | |
2237 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
2238 | pub CredentialBlob: super::super::super::Foundation::UNICODE_STRING, | |
2239 | pub LogonId: super::super::super::Foundation::LUID, | |
2240 | pub Flags: u32, | |
2241 | } | |
2242 | #[cfg(feature = "Win32_Foundation")] | |
2243 | impl ::core::marker::Copy for KERB_REFRESH_SCCRED_REQUEST {} | |
2244 | #[cfg(feature = "Win32_Foundation")] | |
2245 | impl ::core::clone::Clone for KERB_REFRESH_SCCRED_REQUEST { | |
2246 | fn clone(&self) -> Self { | |
2247 | *self | |
2248 | } | |
2249 | } | |
04454e1e | 2250 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2251 | pub type KERB_REQUEST_FLAGS = u32; |
04454e1e | 2252 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2253 | pub const KERB_REQUEST_ADD_CREDENTIAL: KERB_REQUEST_FLAGS = 1u32; |
04454e1e | 2254 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2255 | pub const KERB_REQUEST_REPLACE_CREDENTIAL: KERB_REQUEST_FLAGS = 2u32; |
04454e1e | 2256 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
2257 | pub const KERB_REQUEST_REMOVE_CREDENTIAL: KERB_REQUEST_FLAGS = 4u32; |
2258 | #[repr(C)] | |
04454e1e | 2259 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2260 | #[cfg(feature = "Win32_Foundation")] |
2261 | pub struct KERB_RETRIEVE_KEY_TAB_REQUEST { | |
2262 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
2263 | pub Flags: u32, | |
2264 | pub UserName: super::super::super::Foundation::UNICODE_STRING, | |
2265 | pub DomainName: super::super::super::Foundation::UNICODE_STRING, | |
2266 | pub Password: super::super::super::Foundation::UNICODE_STRING, | |
2267 | } | |
2268 | #[cfg(feature = "Win32_Foundation")] | |
2269 | impl ::core::marker::Copy for KERB_RETRIEVE_KEY_TAB_REQUEST {} | |
2270 | #[cfg(feature = "Win32_Foundation")] | |
2271 | impl ::core::clone::Clone for KERB_RETRIEVE_KEY_TAB_REQUEST { | |
2272 | fn clone(&self) -> Self { | |
2273 | *self | |
2274 | } | |
2275 | } | |
2276 | #[repr(C)] | |
04454e1e | 2277 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
2278 | pub struct KERB_RETRIEVE_KEY_TAB_RESPONSE { |
2279 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
2280 | pub KeyTabLength: u32, | |
2281 | pub KeyTab: *mut u8, | |
2282 | } | |
2283 | impl ::core::marker::Copy for KERB_RETRIEVE_KEY_TAB_RESPONSE {} | |
2284 | impl ::core::clone::Clone for KERB_RETRIEVE_KEY_TAB_RESPONSE { | |
2285 | fn clone(&self) -> Self { | |
2286 | *self | |
2287 | } | |
2288 | } | |
04454e1e | 2289 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2290 | pub const KERB_RETRIEVE_TICKET_AS_KERB_CRED: u32 = 8u32; |
04454e1e | 2291 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2292 | pub const KERB_RETRIEVE_TICKET_CACHE_TICKET: u32 = 32u32; |
04454e1e | 2293 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2294 | pub const KERB_RETRIEVE_TICKET_DEFAULT: u32 = 0u32; |
04454e1e | 2295 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2296 | pub const KERB_RETRIEVE_TICKET_DONT_USE_CACHE: u32 = 1u32; |
04454e1e | 2297 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2298 | pub const KERB_RETRIEVE_TICKET_MAX_LIFETIME: u32 = 64u32; |
04454e1e | 2299 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2300 | pub const KERB_RETRIEVE_TICKET_USE_CACHE_ONLY: u32 = 2u32; |
04454e1e | 2301 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2302 | pub const KERB_RETRIEVE_TICKET_USE_CREDHANDLE: u32 = 4u32; |
04454e1e | 2303 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
2304 | pub const KERB_RETRIEVE_TICKET_WITH_SEC_CRED: u32 = 16u32; |
2305 | #[repr(C)] | |
04454e1e | 2306 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 FG |
2307 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] |
2308 | pub struct KERB_RETRIEVE_TKT_REQUEST { | |
2309 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
2310 | pub LogonId: super::super::super::Foundation::LUID, | |
2311 | pub TargetName: super::super::super::Foundation::UNICODE_STRING, | |
2312 | pub TicketFlags: u32, | |
2313 | pub CacheOptions: u32, | |
2314 | pub EncryptionType: KERB_CRYPTO_KEY_TYPE, | |
2315 | pub CredentialsHandle: super::super::Credentials::SecHandle, | |
2316 | } | |
2317 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] | |
2318 | impl ::core::marker::Copy for KERB_RETRIEVE_TKT_REQUEST {} | |
2319 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] | |
2320 | impl ::core::clone::Clone for KERB_RETRIEVE_TKT_REQUEST { | |
2321 | fn clone(&self) -> Self { | |
2322 | *self | |
2323 | } | |
2324 | } | |
2325 | #[repr(C)] | |
04454e1e | 2326 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2327 | #[cfg(feature = "Win32_Foundation")] |
2328 | pub struct KERB_RETRIEVE_TKT_RESPONSE { | |
2329 | pub Ticket: KERB_EXTERNAL_TICKET, | |
2330 | } | |
2331 | #[cfg(feature = "Win32_Foundation")] | |
2332 | impl ::core::marker::Copy for KERB_RETRIEVE_TKT_RESPONSE {} | |
2333 | #[cfg(feature = "Win32_Foundation")] | |
2334 | impl ::core::clone::Clone for KERB_RETRIEVE_TKT_RESPONSE { | |
2335 | fn clone(&self) -> Self { | |
2336 | *self | |
2337 | } | |
2338 | } | |
2339 | #[repr(C)] | |
04454e1e | 2340 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2341 | #[cfg(feature = "Win32_Foundation")] |
2342 | pub struct KERB_S4U2PROXY_CACHE_ENTRY_INFO { | |
2343 | pub ServerName: super::super::super::Foundation::UNICODE_STRING, | |
2344 | pub Flags: u32, | |
2345 | pub LastStatus: super::super::super::Foundation::NTSTATUS, | |
2346 | pub Expiry: i64, | |
2347 | } | |
2348 | #[cfg(feature = "Win32_Foundation")] | |
2349 | impl ::core::marker::Copy for KERB_S4U2PROXY_CACHE_ENTRY_INFO {} | |
2350 | #[cfg(feature = "Win32_Foundation")] | |
2351 | impl ::core::clone::Clone for KERB_S4U2PROXY_CACHE_ENTRY_INFO { | |
2352 | fn clone(&self) -> Self { | |
2353 | *self | |
2354 | } | |
2355 | } | |
04454e1e | 2356 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
2357 | pub const KERB_S4U2PROXY_CACHE_ENTRY_INFO_FLAG_NEGATIVE: u32 = 1u32; |
2358 | #[repr(C)] | |
04454e1e | 2359 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2360 | #[cfg(feature = "Win32_Foundation")] |
2361 | pub struct KERB_S4U2PROXY_CRED { | |
2362 | pub UserName: super::super::super::Foundation::UNICODE_STRING, | |
2363 | pub DomainName: super::super::super::Foundation::UNICODE_STRING, | |
2364 | pub Flags: u32, | |
2365 | pub LastStatus: super::super::super::Foundation::NTSTATUS, | |
2366 | pub Expiry: i64, | |
2367 | pub CountOfEntries: u32, | |
2368 | pub Entries: *mut KERB_S4U2PROXY_CACHE_ENTRY_INFO, | |
2369 | } | |
2370 | #[cfg(feature = "Win32_Foundation")] | |
2371 | impl ::core::marker::Copy for KERB_S4U2PROXY_CRED {} | |
2372 | #[cfg(feature = "Win32_Foundation")] | |
2373 | impl ::core::clone::Clone for KERB_S4U2PROXY_CRED { | |
2374 | fn clone(&self) -> Self { | |
2375 | *self | |
2376 | } | |
2377 | } | |
04454e1e | 2378 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
2379 | pub const KERB_S4U2PROXY_CRED_FLAG_NEGATIVE: u32 = 1u32; |
2380 | #[repr(C)] | |
04454e1e | 2381 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2382 | #[cfg(feature = "Win32_Foundation")] |
2383 | pub struct KERB_S4U_LOGON { | |
2384 | pub MessageType: KERB_LOGON_SUBMIT_TYPE, | |
2385 | pub Flags: u32, | |
2386 | pub ClientUpn: super::super::super::Foundation::UNICODE_STRING, | |
2387 | pub ClientRealm: super::super::super::Foundation::UNICODE_STRING, | |
2388 | } | |
2389 | #[cfg(feature = "Win32_Foundation")] | |
2390 | impl ::core::marker::Copy for KERB_S4U_LOGON {} | |
2391 | #[cfg(feature = "Win32_Foundation")] | |
2392 | impl ::core::clone::Clone for KERB_S4U_LOGON { | |
2393 | fn clone(&self) -> Self { | |
2394 | *self | |
2395 | } | |
2396 | } | |
04454e1e | 2397 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2398 | pub const KERB_S4U_LOGON_FLAG_CHECK_LOGONHOURS: u32 = 2u32; |
04454e1e | 2399 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
2400 | pub const KERB_S4U_LOGON_FLAG_IDENTIFY: u32 = 8u32; |
2401 | #[repr(C)] | |
04454e1e | 2402 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 FG |
2403 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] |
2404 | pub struct KERB_SETPASSWORD_EX_REQUEST { | |
2405 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
2406 | pub LogonId: super::super::super::Foundation::LUID, | |
2407 | pub CredentialsHandle: super::super::Credentials::SecHandle, | |
2408 | pub Flags: u32, | |
2409 | pub AccountRealm: super::super::super::Foundation::UNICODE_STRING, | |
2410 | pub AccountName: super::super::super::Foundation::UNICODE_STRING, | |
2411 | pub Password: super::super::super::Foundation::UNICODE_STRING, | |
2412 | pub ClientRealm: super::super::super::Foundation::UNICODE_STRING, | |
2413 | pub ClientName: super::super::super::Foundation::UNICODE_STRING, | |
2414 | pub Impersonating: super::super::super::Foundation::BOOLEAN, | |
2415 | pub KdcAddress: super::super::super::Foundation::UNICODE_STRING, | |
2416 | pub KdcAddressType: u32, | |
2417 | } | |
2418 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] | |
2419 | impl ::core::marker::Copy for KERB_SETPASSWORD_EX_REQUEST {} | |
2420 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] | |
2421 | impl ::core::clone::Clone for KERB_SETPASSWORD_EX_REQUEST { | |
2422 | fn clone(&self) -> Self { | |
2423 | *self | |
2424 | } | |
2425 | } | |
2426 | #[repr(C)] | |
04454e1e | 2427 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 FG |
2428 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] |
2429 | pub struct KERB_SETPASSWORD_REQUEST { | |
2430 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
2431 | pub LogonId: super::super::super::Foundation::LUID, | |
2432 | pub CredentialsHandle: super::super::Credentials::SecHandle, | |
2433 | pub Flags: u32, | |
2434 | pub DomainName: super::super::super::Foundation::UNICODE_STRING, | |
2435 | pub AccountName: super::super::super::Foundation::UNICODE_STRING, | |
2436 | pub Password: super::super::super::Foundation::UNICODE_STRING, | |
2437 | } | |
2438 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] | |
2439 | impl ::core::marker::Copy for KERB_SETPASSWORD_REQUEST {} | |
2440 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] | |
2441 | impl ::core::clone::Clone for KERB_SETPASSWORD_REQUEST { | |
2442 | fn clone(&self) -> Self { | |
2443 | *self | |
2444 | } | |
2445 | } | |
04454e1e | 2446 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2447 | pub const KERB_SETPASS_USE_CREDHANDLE: u32 = 2u32; |
04454e1e | 2448 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
2449 | pub const KERB_SETPASS_USE_LOGONID: u32 = 1u32; |
2450 | #[repr(C)] | |
04454e1e | 2451 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2452 | #[cfg(feature = "Win32_Foundation")] |
2453 | pub struct KERB_SMART_CARD_LOGON { | |
2454 | pub MessageType: KERB_LOGON_SUBMIT_TYPE, | |
2455 | pub Pin: super::super::super::Foundation::UNICODE_STRING, | |
2456 | pub CspDataLength: u32, | |
2457 | pub CspData: *mut u8, | |
2458 | } | |
2459 | #[cfg(feature = "Win32_Foundation")] | |
2460 | impl ::core::marker::Copy for KERB_SMART_CARD_LOGON {} | |
2461 | #[cfg(feature = "Win32_Foundation")] | |
2462 | impl ::core::clone::Clone for KERB_SMART_CARD_LOGON { | |
2463 | fn clone(&self) -> Self { | |
2464 | *self | |
2465 | } | |
2466 | } | |
2467 | #[repr(C)] | |
04454e1e | 2468 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2469 | #[cfg(feature = "Win32_Foundation")] |
2470 | pub struct KERB_SMART_CARD_PROFILE { | |
2471 | pub Profile: KERB_INTERACTIVE_PROFILE, | |
2472 | pub CertificateSize: u32, | |
2473 | pub CertificateData: *mut u8, | |
2474 | } | |
2475 | #[cfg(feature = "Win32_Foundation")] | |
2476 | impl ::core::marker::Copy for KERB_SMART_CARD_PROFILE {} | |
2477 | #[cfg(feature = "Win32_Foundation")] | |
2478 | impl ::core::clone::Clone for KERB_SMART_CARD_PROFILE { | |
2479 | fn clone(&self) -> Self { | |
2480 | *self | |
2481 | } | |
2482 | } | |
2483 | #[repr(C)] | |
04454e1e | 2484 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2485 | #[cfg(feature = "Win32_Foundation")] |
2486 | pub struct KERB_SMART_CARD_UNLOCK_LOGON { | |
2487 | pub Logon: KERB_SMART_CARD_LOGON, | |
2488 | pub LogonId: super::super::super::Foundation::LUID, | |
2489 | } | |
2490 | #[cfg(feature = "Win32_Foundation")] | |
2491 | impl ::core::marker::Copy for KERB_SMART_CARD_UNLOCK_LOGON {} | |
2492 | #[cfg(feature = "Win32_Foundation")] | |
2493 | impl ::core::clone::Clone for KERB_SMART_CARD_UNLOCK_LOGON { | |
2494 | fn clone(&self) -> Self { | |
2495 | *self | |
2496 | } | |
2497 | } | |
2498 | #[repr(C)] | |
04454e1e | 2499 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2500 | #[cfg(feature = "Win32_Foundation")] |
2501 | pub struct KERB_SUBMIT_TKT_REQUEST { | |
2502 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
2503 | pub LogonId: super::super::super::Foundation::LUID, | |
2504 | pub Flags: u32, | |
2505 | pub Key: KERB_CRYPTO_KEY32, | |
2506 | pub KerbCredSize: u32, | |
2507 | pub KerbCredOffset: u32, | |
2508 | } | |
2509 | #[cfg(feature = "Win32_Foundation")] | |
2510 | impl ::core::marker::Copy for KERB_SUBMIT_TKT_REQUEST {} | |
2511 | #[cfg(feature = "Win32_Foundation")] | |
2512 | impl ::core::clone::Clone for KERB_SUBMIT_TKT_REQUEST { | |
2513 | fn clone(&self) -> Self { | |
2514 | *self | |
2515 | } | |
2516 | } | |
2517 | #[repr(C)] | |
04454e1e | 2518 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2519 | #[cfg(feature = "Win32_Foundation")] |
2520 | pub struct KERB_TICKET_CACHE_INFO { | |
2521 | pub ServerName: super::super::super::Foundation::UNICODE_STRING, | |
2522 | pub RealmName: super::super::super::Foundation::UNICODE_STRING, | |
2523 | pub StartTime: i64, | |
2524 | pub EndTime: i64, | |
2525 | pub RenewTime: i64, | |
2526 | pub EncryptionType: i32, | |
2527 | pub TicketFlags: KERB_TICKET_FLAGS, | |
2528 | } | |
2529 | #[cfg(feature = "Win32_Foundation")] | |
2530 | impl ::core::marker::Copy for KERB_TICKET_CACHE_INFO {} | |
2531 | #[cfg(feature = "Win32_Foundation")] | |
2532 | impl ::core::clone::Clone for KERB_TICKET_CACHE_INFO { | |
2533 | fn clone(&self) -> Self { | |
2534 | *self | |
2535 | } | |
2536 | } | |
2537 | #[repr(C)] | |
04454e1e | 2538 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2539 | #[cfg(feature = "Win32_Foundation")] |
2540 | pub struct KERB_TICKET_CACHE_INFO_EX { | |
2541 | pub ClientName: super::super::super::Foundation::UNICODE_STRING, | |
2542 | pub ClientRealm: super::super::super::Foundation::UNICODE_STRING, | |
2543 | pub ServerName: super::super::super::Foundation::UNICODE_STRING, | |
2544 | pub ServerRealm: super::super::super::Foundation::UNICODE_STRING, | |
2545 | pub StartTime: i64, | |
2546 | pub EndTime: i64, | |
2547 | pub RenewTime: i64, | |
2548 | pub EncryptionType: i32, | |
2549 | pub TicketFlags: u32, | |
2550 | } | |
2551 | #[cfg(feature = "Win32_Foundation")] | |
2552 | impl ::core::marker::Copy for KERB_TICKET_CACHE_INFO_EX {} | |
2553 | #[cfg(feature = "Win32_Foundation")] | |
2554 | impl ::core::clone::Clone for KERB_TICKET_CACHE_INFO_EX { | |
2555 | fn clone(&self) -> Self { | |
2556 | *self | |
2557 | } | |
2558 | } | |
2559 | #[repr(C)] | |
04454e1e | 2560 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2561 | #[cfg(feature = "Win32_Foundation")] |
2562 | pub struct KERB_TICKET_CACHE_INFO_EX2 { | |
2563 | pub ClientName: super::super::super::Foundation::UNICODE_STRING, | |
2564 | pub ClientRealm: super::super::super::Foundation::UNICODE_STRING, | |
2565 | pub ServerName: super::super::super::Foundation::UNICODE_STRING, | |
2566 | pub ServerRealm: super::super::super::Foundation::UNICODE_STRING, | |
2567 | pub StartTime: i64, | |
2568 | pub EndTime: i64, | |
2569 | pub RenewTime: i64, | |
2570 | pub EncryptionType: i32, | |
2571 | pub TicketFlags: u32, | |
2572 | pub SessionKeyType: u32, | |
2573 | pub BranchId: u32, | |
2574 | } | |
2575 | #[cfg(feature = "Win32_Foundation")] | |
2576 | impl ::core::marker::Copy for KERB_TICKET_CACHE_INFO_EX2 {} | |
2577 | #[cfg(feature = "Win32_Foundation")] | |
2578 | impl ::core::clone::Clone for KERB_TICKET_CACHE_INFO_EX2 { | |
2579 | fn clone(&self) -> Self { | |
2580 | *self | |
2581 | } | |
2582 | } | |
2583 | #[repr(C)] | |
04454e1e | 2584 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2585 | #[cfg(feature = "Win32_Foundation")] |
2586 | pub struct KERB_TICKET_CACHE_INFO_EX3 { | |
2587 | pub ClientName: super::super::super::Foundation::UNICODE_STRING, | |
2588 | pub ClientRealm: super::super::super::Foundation::UNICODE_STRING, | |
2589 | pub ServerName: super::super::super::Foundation::UNICODE_STRING, | |
2590 | pub ServerRealm: super::super::super::Foundation::UNICODE_STRING, | |
2591 | pub StartTime: i64, | |
2592 | pub EndTime: i64, | |
2593 | pub RenewTime: i64, | |
2594 | pub EncryptionType: i32, | |
2595 | pub TicketFlags: u32, | |
2596 | pub SessionKeyType: u32, | |
2597 | pub BranchId: u32, | |
2598 | pub CacheFlags: u32, | |
2599 | pub KdcCalled: super::super::super::Foundation::UNICODE_STRING, | |
2600 | } | |
2601 | #[cfg(feature = "Win32_Foundation")] | |
2602 | impl ::core::marker::Copy for KERB_TICKET_CACHE_INFO_EX3 {} | |
2603 | #[cfg(feature = "Win32_Foundation")] | |
2604 | impl ::core::clone::Clone for KERB_TICKET_CACHE_INFO_EX3 { | |
2605 | fn clone(&self) -> Self { | |
2606 | *self | |
2607 | } | |
2608 | } | |
04454e1e | 2609 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2610 | pub type KERB_TICKET_FLAGS = u32; |
04454e1e | 2611 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2612 | pub const KERB_TICKET_FLAGS_forwardable: KERB_TICKET_FLAGS = 1073741824u32; |
04454e1e | 2613 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2614 | pub const KERB_TICKET_FLAGS_forwarded: KERB_TICKET_FLAGS = 536870912u32; |
04454e1e | 2615 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2616 | pub const KERB_TICKET_FLAGS_hw_authent: KERB_TICKET_FLAGS = 1048576u32; |
04454e1e | 2617 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2618 | pub const KERB_TICKET_FLAGS_initial: KERB_TICKET_FLAGS = 4194304u32; |
04454e1e | 2619 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2620 | pub const KERB_TICKET_FLAGS_invalid: KERB_TICKET_FLAGS = 16777216u32; |
04454e1e | 2621 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2622 | pub const KERB_TICKET_FLAGS_may_postdate: KERB_TICKET_FLAGS = 67108864u32; |
04454e1e | 2623 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2624 | pub const KERB_TICKET_FLAGS_ok_as_delegate: KERB_TICKET_FLAGS = 262144u32; |
04454e1e | 2625 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2626 | pub const KERB_TICKET_FLAGS_postdated: KERB_TICKET_FLAGS = 33554432u32; |
04454e1e | 2627 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2628 | pub const KERB_TICKET_FLAGS_pre_authent: KERB_TICKET_FLAGS = 2097152u32; |
04454e1e | 2629 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2630 | pub const KERB_TICKET_FLAGS_proxiable: KERB_TICKET_FLAGS = 268435456u32; |
04454e1e | 2631 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2632 | pub const KERB_TICKET_FLAGS_proxy: KERB_TICKET_FLAGS = 134217728u32; |
04454e1e | 2633 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2634 | pub const KERB_TICKET_FLAGS_renewable: KERB_TICKET_FLAGS = 8388608u32; |
04454e1e | 2635 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2636 | pub const KERB_TICKET_FLAGS_reserved: KERB_TICKET_FLAGS = 2147483648u32; |
04454e1e | 2637 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2638 | pub const KERB_TICKET_FLAGS_reserved1: KERB_TICKET_FLAGS = 1u32; |
04454e1e | 2639 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2640 | pub const KERB_TICKET_FLAGS_cname_in_pa_data: u32 = 262144u32; |
04454e1e | 2641 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2642 | pub const KERB_TICKET_FLAGS_enc_pa_rep: u32 = 65536u32; |
04454e1e | 2643 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
2644 | pub const KERB_TICKET_FLAGS_name_canonicalize: u32 = 65536u32; |
2645 | #[repr(C)] | |
04454e1e | 2646 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
2647 | pub struct KERB_TICKET_LOGON { |
2648 | pub MessageType: KERB_LOGON_SUBMIT_TYPE, | |
2649 | pub Flags: u32, | |
2650 | pub ServiceTicketLength: u32, | |
2651 | pub TicketGrantingTicketLength: u32, | |
2652 | pub ServiceTicket: *mut u8, | |
2653 | pub TicketGrantingTicket: *mut u8, | |
2654 | } | |
2655 | impl ::core::marker::Copy for KERB_TICKET_LOGON {} | |
2656 | impl ::core::clone::Clone for KERB_TICKET_LOGON { | |
2657 | fn clone(&self) -> Self { | |
2658 | *self | |
2659 | } | |
2660 | } | |
2661 | #[repr(C)] | |
04454e1e | 2662 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2663 | #[cfg(feature = "Win32_Foundation")] |
2664 | pub struct KERB_TICKET_PROFILE { | |
2665 | pub Profile: KERB_INTERACTIVE_PROFILE, | |
2666 | pub SessionKey: KERB_CRYPTO_KEY, | |
2667 | } | |
2668 | #[cfg(feature = "Win32_Foundation")] | |
2669 | impl ::core::marker::Copy for KERB_TICKET_PROFILE {} | |
2670 | #[cfg(feature = "Win32_Foundation")] | |
2671 | impl ::core::clone::Clone for KERB_TICKET_PROFILE { | |
2672 | fn clone(&self) -> Self { | |
2673 | *self | |
2674 | } | |
2675 | } | |
2676 | #[repr(C)] | |
04454e1e | 2677 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2678 | #[cfg(feature = "Win32_Foundation")] |
2679 | pub struct KERB_TICKET_UNLOCK_LOGON { | |
2680 | pub Logon: KERB_TICKET_LOGON, | |
2681 | pub LogonId: super::super::super::Foundation::LUID, | |
2682 | } | |
2683 | #[cfg(feature = "Win32_Foundation")] | |
2684 | impl ::core::marker::Copy for KERB_TICKET_UNLOCK_LOGON {} | |
2685 | #[cfg(feature = "Win32_Foundation")] | |
2686 | impl ::core::clone::Clone for KERB_TICKET_UNLOCK_LOGON { | |
2687 | fn clone(&self) -> Self { | |
2688 | *self | |
2689 | } | |
2690 | } | |
04454e1e | 2691 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
2692 | pub const KERB_TRANSFER_CRED_CLEANUP_CREDENTIALS: u32 = 2u32; |
2693 | #[repr(C)] | |
04454e1e | 2694 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2695 | #[cfg(feature = "Win32_Foundation")] |
2696 | pub struct KERB_TRANSFER_CRED_REQUEST { | |
2697 | pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, | |
2698 | pub OriginLogonId: super::super::super::Foundation::LUID, | |
2699 | pub DestinationLogonId: super::super::super::Foundation::LUID, | |
2700 | pub Flags: u32, | |
2701 | } | |
2702 | #[cfg(feature = "Win32_Foundation")] | |
2703 | impl ::core::marker::Copy for KERB_TRANSFER_CRED_REQUEST {} | |
2704 | #[cfg(feature = "Win32_Foundation")] | |
2705 | impl ::core::clone::Clone for KERB_TRANSFER_CRED_REQUEST { | |
2706 | fn clone(&self) -> Self { | |
2707 | *self | |
2708 | } | |
2709 | } | |
04454e1e | 2710 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2711 | pub const KERB_TRANSFER_CRED_WITH_TICKETS: u32 = 1u32; |
04454e1e | 2712 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2713 | pub const KERB_USE_DEFAULT_TICKET_FLAGS: u32 = 0u32; |
04454e1e | 2714 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2715 | pub const KERB_WRAP_NO_ENCRYPT: u32 = 2147483649u32; |
04454e1e | 2716 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2717 | pub const KERN_CONTEXT_CERT_INFO_V1: u32 = 0u32; |
04454e1e | 2718 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 2719 | pub const KRB_ANONYMOUS_STRING: &str = "ANONYMOUS"; |
04454e1e | 2720 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2721 | pub const KRB_NT_ENTERPRISE_PRINCIPAL: u32 = 10u32; |
04454e1e | 2722 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2723 | pub const KRB_NT_ENT_PRINCIPAL_AND_ID: i32 = -130i32; |
04454e1e | 2724 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2725 | pub const KRB_NT_MS_BRANCH_ID: i32 = -133i32; |
04454e1e | 2726 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2727 | pub const KRB_NT_MS_PRINCIPAL: i32 = -128i32; |
04454e1e | 2728 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2729 | pub const KRB_NT_MS_PRINCIPAL_AND_ID: i32 = -129i32; |
04454e1e | 2730 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2731 | pub const KRB_NT_PRINCIPAL: u32 = 1u32; |
04454e1e | 2732 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2733 | pub const KRB_NT_PRINCIPAL_AND_ID: i32 = -131i32; |
04454e1e | 2734 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2735 | pub const KRB_NT_SRV_HST: u32 = 3u32; |
04454e1e | 2736 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2737 | pub const KRB_NT_SRV_INST: u32 = 2u32; |
04454e1e | 2738 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2739 | pub const KRB_NT_SRV_INST_AND_ID: i32 = -132i32; |
04454e1e | 2740 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2741 | pub const KRB_NT_SRV_XHST: u32 = 4u32; |
04454e1e | 2742 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2743 | pub const KRB_NT_UID: u32 = 5u32; |
04454e1e | 2744 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2745 | pub const KRB_NT_UNKNOWN: u32 = 0u32; |
04454e1e | 2746 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2747 | pub const KRB_NT_WELLKNOWN: u32 = 11u32; |
04454e1e | 2748 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2749 | pub const KRB_NT_X500_PRINCIPAL: u32 = 6u32; |
04454e1e | 2750 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 2751 | pub const KRB_WELLKNOWN_STRING: &str = "WELLKNOWN"; |
04454e1e | 2752 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2753 | pub type KSEC_CONTEXT_TYPE = i32; |
04454e1e | 2754 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2755 | pub const KSecPaged: KSEC_CONTEXT_TYPE = 0i32; |
04454e1e | 2756 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
2757 | pub const KSecNonPaged: KSEC_CONTEXT_TYPE = 1i32; |
2758 | #[repr(C)] | |
04454e1e | 2759 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_System_Kernel\"`*"] |
5e7ed085 FG |
2760 | #[cfg(feature = "Win32_System_Kernel")] |
2761 | pub struct KSEC_LIST_ENTRY { | |
2762 | pub List: super::super::super::System::Kernel::LIST_ENTRY, | |
2763 | pub RefCount: i32, | |
2764 | pub Signature: u32, | |
2765 | pub OwningList: *mut ::core::ffi::c_void, | |
2766 | pub Reserved: *mut ::core::ffi::c_void, | |
2767 | } | |
2768 | #[cfg(feature = "Win32_System_Kernel")] | |
2769 | impl ::core::marker::Copy for KSEC_LIST_ENTRY {} | |
2770 | #[cfg(feature = "Win32_System_Kernel")] | |
2771 | impl ::core::clone::Clone for KSEC_LIST_ENTRY { | |
2772 | fn clone(&self) -> Self { | |
2773 | *self | |
2774 | } | |
2775 | } | |
04454e1e | 2776 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2777 | #[cfg(feature = "Win32_Foundation")] |
2778 | pub type KspCompleteTokenFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, token: *const SecBufferDesc) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 2779 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2780 | #[cfg(feature = "Win32_Foundation")] |
2781 | pub type KspDeleteContextFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, lsacontextid: *mut usize) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 2782 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2783 | #[cfg(feature = "Win32_Foundation")] |
2784 | pub type KspGetTokenFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, impersonationtoken: *mut super::super::super::Foundation::HANDLE, rawtoken: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 2785 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2786 | #[cfg(feature = "Win32_Foundation")] |
2787 | pub type KspInitContextFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, contextdata: *const SecBuffer, newcontextid: *mut usize) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 2788 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] |
5e7ed085 FG |
2789 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] |
2790 | pub type KspInitPackageFn = ::core::option::Option<unsafe extern "system" fn(functiontable: *const SECPKG_KERNEL_FUNCTIONS) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 2791 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2792 | #[cfg(feature = "Win32_Foundation")] |
2793 | pub type KspMakeSignatureFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, fqop: u32, message: *const SecBufferDesc, messageseqno: u32) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 2794 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2795 | #[cfg(feature = "Win32_Foundation")] |
2796 | pub type KspMapHandleFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, lsacontextid: *mut usize) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 2797 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2798 | #[cfg(feature = "Win32_Foundation")] |
2799 | pub type KspQueryAttributesFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, attribute: u32, buffer: *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 2800 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2801 | #[cfg(feature = "Win32_Foundation")] |
2802 | pub type KspSealMessageFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, fqop: u32, message: *const SecBufferDesc, messageseqno: u32) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 2803 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2804 | #[cfg(feature = "Win32_Foundation")] |
2805 | pub type KspSerializeAuthDataFn = ::core::option::Option<unsafe extern "system" fn(pvauthdata: *const ::core::ffi::c_void, size: *mut u32, serializeddata: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 2806 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2807 | #[cfg(feature = "Win32_Foundation")] |
2808 | pub type KspSetPagingModeFn = ::core::option::Option<unsafe extern "system" fn(pagingmode: super::super::super::Foundation::BOOLEAN) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 2809 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2810 | #[cfg(feature = "Win32_Foundation")] |
2811 | pub type KspUnsealMessageFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, message: *const SecBufferDesc, messageseqno: u32, pfqop: *mut u32) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 2812 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2813 | #[cfg(feature = "Win32_Foundation")] |
2814 | pub type KspVerifySignatureFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, message: *const SecBufferDesc, messageseqno: u32, pfqop: *mut u32) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 2815 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2816 | pub const LCRED_CRED_EXISTS: u32 = 1u32; |
04454e1e | 2817 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2818 | pub const LCRED_STATUS_NOCRED: u32 = 0u32; |
04454e1e | 2819 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2820 | pub const LCRED_STATUS_UNKNOWN_ISSUER: u32 = 2u32; |
04454e1e | 2821 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
2822 | pub const LOGON_GRACE_LOGON: u32 = 16777216u32; |
2823 | #[repr(C)] | |
04454e1e | 2824 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
2825 | pub struct LOGON_HOURS { |
2826 | pub UnitsPerWeek: u16, | |
2827 | pub LogonHours: *mut u8, | |
2828 | } | |
2829 | impl ::core::marker::Copy for LOGON_HOURS {} | |
2830 | impl ::core::clone::Clone for LOGON_HOURS { | |
2831 | fn clone(&self) -> Self { | |
2832 | *self | |
2833 | } | |
2834 | } | |
04454e1e | 2835 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2836 | pub const LOGON_LM_V2: u32 = 4096u32; |
04454e1e | 2837 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2838 | pub const LOGON_MANAGED_SERVICE: u32 = 524288u32; |
04454e1e | 2839 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2840 | pub const LOGON_NO_ELEVATION: u32 = 262144u32; |
04454e1e | 2841 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2842 | pub const LOGON_NO_OPTIMIZED: u32 = 131072u32; |
04454e1e | 2843 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2844 | pub const LOGON_NTLMV2_ENABLED: u32 = 256u32; |
04454e1e | 2845 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2846 | pub const LOGON_NTLM_V2: u32 = 8192u32; |
04454e1e | 2847 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2848 | pub const LOGON_NT_V2: u32 = 2048u32; |
04454e1e | 2849 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2850 | pub const LOGON_OPTIMIZED: u32 = 16384u32; |
04454e1e | 2851 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2852 | pub const LOGON_PKINIT: u32 = 65536u32; |
04454e1e | 2853 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2854 | pub const LOGON_WINLOGON: u32 = 32768u32; |
04454e1e | 2855 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2856 | pub const LOOKUP_TRANSLATE_NAMES: u32 = 2048u32; |
04454e1e | 2857 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2858 | pub const LOOKUP_VIEW_LOCAL_INFORMATION: u32 = 1u32; |
04454e1e | 2859 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2860 | pub const LSASETCAPS_RELOAD_FLAG: u32 = 1u32; |
04454e1e | 2861 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2862 | pub const LSASETCAPS_VALID_FLAG_MASK: u32 = 1u32; |
04454e1e | 2863 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 2864 | pub const LSA_ADT_LEGACY_SECURITY_SOURCE_NAME: &str = "Security"; |
04454e1e | 2865 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 2866 | pub const LSA_ADT_SECURITY_SOURCE_NAME: &str = "Microsoft-Windows-Security-Auditing"; |
04454e1e | 2867 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 2868 | pub const LSA_AP_NAME_CALL_PACKAGE: &str = "LsaApCallPackage\u{0}"; |
04454e1e | 2869 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 2870 | pub const LSA_AP_NAME_CALL_PACKAGE_PASSTHROUGH: &str = "LsaApCallPackagePassthrough\u{0}"; |
04454e1e | 2871 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 2872 | pub const LSA_AP_NAME_CALL_PACKAGE_UNTRUSTED: &str = "LsaApCallPackageUntrusted\u{0}"; |
04454e1e | 2873 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 2874 | pub const LSA_AP_NAME_INITIALIZE_PACKAGE: &str = "LsaApInitializePackage\u{0}"; |
04454e1e | 2875 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 2876 | pub const LSA_AP_NAME_LOGON_TERMINATED: &str = "LsaApLogonTerminated\u{0}"; |
04454e1e | 2877 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 2878 | pub const LSA_AP_NAME_LOGON_USER: &str = "LsaApLogonUser\u{0}"; |
04454e1e | 2879 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 2880 | pub const LSA_AP_NAME_LOGON_USER_EX: &str = "LsaApLogonUserEx\u{0}"; |
04454e1e | 2881 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 2882 | pub const LSA_AP_NAME_LOGON_USER_EX2: &str = "LsaApLogonUserEx2\u{0}"; |
04454e1e | 2883 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2884 | #[cfg(feature = "Win32_Foundation")] |
2885 | pub type LSA_AP_POST_LOGON_USER = ::core::option::Option<unsafe extern "system" fn(postlogonuserinfo: *const SECPKG_POST_LOGON_USER_INFO) -> super::super::super::Foundation::NTSTATUS>; | |
2886 | #[repr(C)] | |
04454e1e | 2887 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
2888 | pub struct LSA_AUTH_INFORMATION { |
2889 | pub LastUpdateTime: i64, | |
2890 | pub AuthType: LSA_AUTH_INFORMATION_AUTH_TYPE, | |
2891 | pub AuthInfoLength: u32, | |
2892 | pub AuthInfo: *mut u8, | |
2893 | } | |
2894 | impl ::core::marker::Copy for LSA_AUTH_INFORMATION {} | |
2895 | impl ::core::clone::Clone for LSA_AUTH_INFORMATION { | |
2896 | fn clone(&self) -> Self { | |
2897 | *self | |
2898 | } | |
2899 | } | |
04454e1e | 2900 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2901 | pub type LSA_AUTH_INFORMATION_AUTH_TYPE = u32; |
04454e1e | 2902 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2903 | pub const TRUST_AUTH_TYPE_NONE: LSA_AUTH_INFORMATION_AUTH_TYPE = 0u32; |
04454e1e | 2904 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2905 | pub const TRUST_AUTH_TYPE_NT4OWF: LSA_AUTH_INFORMATION_AUTH_TYPE = 1u32; |
04454e1e | 2906 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2907 | pub const TRUST_AUTH_TYPE_CLEAR: LSA_AUTH_INFORMATION_AUTH_TYPE = 2u32; |
04454e1e | 2908 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2909 | pub const TRUST_AUTH_TYPE_VERSION: LSA_AUTH_INFORMATION_AUTH_TYPE = 3u32; |
04454e1e | 2910 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
2911 | pub const LSA_CALL_LICENSE_SERVER: u32 = 2147483648u32; |
2912 | #[repr(C)] | |
04454e1e | 2913 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] |
5e7ed085 FG |
2914 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] |
2915 | pub struct LSA_DISPATCH_TABLE { | |
2916 | pub CreateLogonSession: PLSA_CREATE_LOGON_SESSION, | |
2917 | pub DeleteLogonSession: PLSA_DELETE_LOGON_SESSION, | |
2918 | pub AddCredential: PLSA_ADD_CREDENTIAL, | |
2919 | pub GetCredentials: PLSA_GET_CREDENTIALS, | |
2920 | pub DeleteCredential: PLSA_DELETE_CREDENTIAL, | |
2921 | pub AllocateLsaHeap: PLSA_ALLOCATE_LSA_HEAP, | |
2922 | pub FreeLsaHeap: PLSA_FREE_LSA_HEAP, | |
2923 | pub AllocateClientBuffer: PLSA_ALLOCATE_CLIENT_BUFFER, | |
2924 | pub FreeClientBuffer: PLSA_FREE_CLIENT_BUFFER, | |
2925 | pub CopyToClientBuffer: PLSA_COPY_TO_CLIENT_BUFFER, | |
2926 | pub CopyFromClientBuffer: PLSA_COPY_FROM_CLIENT_BUFFER, | |
2927 | } | |
2928 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] | |
2929 | impl ::core::marker::Copy for LSA_DISPATCH_TABLE {} | |
2930 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] | |
2931 | impl ::core::clone::Clone for LSA_DISPATCH_TABLE { | |
2932 | fn clone(&self) -> Self { | |
2933 | *self | |
2934 | } | |
2935 | } | |
2936 | #[repr(C)] | |
04454e1e | 2937 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2938 | #[cfg(feature = "Win32_Foundation")] |
2939 | pub struct LSA_ENUMERATION_INFORMATION { | |
2940 | pub Sid: super::super::super::Foundation::PSID, | |
2941 | } | |
2942 | #[cfg(feature = "Win32_Foundation")] | |
2943 | impl ::core::marker::Copy for LSA_ENUMERATION_INFORMATION {} | |
2944 | #[cfg(feature = "Win32_Foundation")] | |
2945 | impl ::core::clone::Clone for LSA_ENUMERATION_INFORMATION { | |
2946 | fn clone(&self) -> Self { | |
2947 | *self | |
2948 | } | |
2949 | } | |
2950 | #[repr(C)] | |
04454e1e | 2951 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
2952 | pub struct LSA_FOREST_TRUST_BINARY_DATA { |
2953 | pub Length: u32, | |
2954 | pub Buffer: *mut u8, | |
2955 | } | |
2956 | impl ::core::marker::Copy for LSA_FOREST_TRUST_BINARY_DATA {} | |
2957 | impl ::core::clone::Clone for LSA_FOREST_TRUST_BINARY_DATA { | |
2958 | fn clone(&self) -> Self { | |
2959 | *self | |
2960 | } | |
2961 | } | |
2962 | #[repr(C)] | |
04454e1e | 2963 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2964 | #[cfg(feature = "Win32_Foundation")] |
2965 | pub struct LSA_FOREST_TRUST_COLLISION_INFORMATION { | |
2966 | pub RecordCount: u32, | |
2967 | pub Entries: *mut *mut LSA_FOREST_TRUST_COLLISION_RECORD, | |
2968 | } | |
2969 | #[cfg(feature = "Win32_Foundation")] | |
2970 | impl ::core::marker::Copy for LSA_FOREST_TRUST_COLLISION_INFORMATION {} | |
2971 | #[cfg(feature = "Win32_Foundation")] | |
2972 | impl ::core::clone::Clone for LSA_FOREST_TRUST_COLLISION_INFORMATION { | |
2973 | fn clone(&self) -> Self { | |
2974 | *self | |
2975 | } | |
2976 | } | |
2977 | #[repr(C)] | |
04454e1e | 2978 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
2979 | #[cfg(feature = "Win32_Foundation")] |
2980 | pub struct LSA_FOREST_TRUST_COLLISION_RECORD { | |
2981 | pub Index: u32, | |
2982 | pub Type: LSA_FOREST_TRUST_COLLISION_RECORD_TYPE, | |
2983 | pub Flags: u32, | |
2984 | pub Name: super::super::super::Foundation::UNICODE_STRING, | |
2985 | } | |
2986 | #[cfg(feature = "Win32_Foundation")] | |
2987 | impl ::core::marker::Copy for LSA_FOREST_TRUST_COLLISION_RECORD {} | |
2988 | #[cfg(feature = "Win32_Foundation")] | |
2989 | impl ::core::clone::Clone for LSA_FOREST_TRUST_COLLISION_RECORD { | |
2990 | fn clone(&self) -> Self { | |
2991 | *self | |
2992 | } | |
2993 | } | |
04454e1e | 2994 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2995 | pub type LSA_FOREST_TRUST_COLLISION_RECORD_TYPE = i32; |
04454e1e | 2996 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2997 | pub const CollisionTdo: LSA_FOREST_TRUST_COLLISION_RECORD_TYPE = 0i32; |
04454e1e | 2998 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 2999 | pub const CollisionXref: LSA_FOREST_TRUST_COLLISION_RECORD_TYPE = 1i32; |
04454e1e | 3000 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3001 | pub const CollisionOther: LSA_FOREST_TRUST_COLLISION_RECORD_TYPE = 2i32; |
3002 | #[repr(C)] | |
04454e1e | 3003 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3004 | #[cfg(feature = "Win32_Foundation")] |
3005 | pub struct LSA_FOREST_TRUST_DOMAIN_INFO { | |
3006 | pub Sid: super::super::super::Foundation::PSID, | |
3007 | pub DnsName: super::super::super::Foundation::UNICODE_STRING, | |
3008 | pub NetbiosName: super::super::super::Foundation::UNICODE_STRING, | |
3009 | } | |
3010 | #[cfg(feature = "Win32_Foundation")] | |
3011 | impl ::core::marker::Copy for LSA_FOREST_TRUST_DOMAIN_INFO {} | |
3012 | #[cfg(feature = "Win32_Foundation")] | |
3013 | impl ::core::clone::Clone for LSA_FOREST_TRUST_DOMAIN_INFO { | |
3014 | fn clone(&self) -> Self { | |
3015 | *self | |
3016 | } | |
3017 | } | |
3018 | #[repr(C)] | |
04454e1e | 3019 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3020 | #[cfg(feature = "Win32_Foundation")] |
3021 | pub struct LSA_FOREST_TRUST_INFORMATION { | |
3022 | pub RecordCount: u32, | |
3023 | pub Entries: *mut *mut LSA_FOREST_TRUST_RECORD, | |
3024 | } | |
3025 | #[cfg(feature = "Win32_Foundation")] | |
3026 | impl ::core::marker::Copy for LSA_FOREST_TRUST_INFORMATION {} | |
3027 | #[cfg(feature = "Win32_Foundation")] | |
3028 | impl ::core::clone::Clone for LSA_FOREST_TRUST_INFORMATION { | |
3029 | fn clone(&self) -> Self { | |
3030 | *self | |
3031 | } | |
3032 | } | |
3033 | #[repr(C)] | |
04454e1e | 3034 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3035 | #[cfg(feature = "Win32_Foundation")] |
3036 | pub struct LSA_FOREST_TRUST_RECORD { | |
3037 | pub Flags: u32, | |
3038 | pub ForestTrustType: LSA_FOREST_TRUST_RECORD_TYPE, | |
3039 | pub Time: i64, | |
3040 | pub ForestTrustData: LSA_FOREST_TRUST_RECORD_0, | |
3041 | } | |
3042 | #[cfg(feature = "Win32_Foundation")] | |
3043 | impl ::core::marker::Copy for LSA_FOREST_TRUST_RECORD {} | |
3044 | #[cfg(feature = "Win32_Foundation")] | |
3045 | impl ::core::clone::Clone for LSA_FOREST_TRUST_RECORD { | |
3046 | fn clone(&self) -> Self { | |
3047 | *self | |
3048 | } | |
3049 | } | |
3050 | #[repr(C)] | |
04454e1e | 3051 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3052 | #[cfg(feature = "Win32_Foundation")] |
3053 | pub union LSA_FOREST_TRUST_RECORD_0 { | |
3054 | pub TopLevelName: super::super::super::Foundation::UNICODE_STRING, | |
3055 | pub DomainInfo: LSA_FOREST_TRUST_DOMAIN_INFO, | |
3056 | pub Data: LSA_FOREST_TRUST_BINARY_DATA, | |
3057 | } | |
3058 | #[cfg(feature = "Win32_Foundation")] | |
3059 | impl ::core::marker::Copy for LSA_FOREST_TRUST_RECORD_0 {} | |
3060 | #[cfg(feature = "Win32_Foundation")] | |
3061 | impl ::core::clone::Clone for LSA_FOREST_TRUST_RECORD_0 { | |
3062 | fn clone(&self) -> Self { | |
3063 | *self | |
3064 | } | |
3065 | } | |
04454e1e | 3066 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3067 | pub type LSA_FOREST_TRUST_RECORD_TYPE = i32; |
04454e1e | 3068 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3069 | pub const ForestTrustTopLevelName: LSA_FOREST_TRUST_RECORD_TYPE = 0i32; |
04454e1e | 3070 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3071 | pub const ForestTrustTopLevelNameEx: LSA_FOREST_TRUST_RECORD_TYPE = 1i32; |
04454e1e | 3072 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3073 | pub const ForestTrustDomainInfo: LSA_FOREST_TRUST_RECORD_TYPE = 2i32; |
04454e1e | 3074 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3075 | pub const ForestTrustRecordTypeLast: LSA_FOREST_TRUST_RECORD_TYPE = 2i32; |
04454e1e | 3076 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3077 | pub const LSA_FOREST_TRUST_RECORD_TYPE_UNRECOGNIZED: u32 = 2147483648u32; |
04454e1e | 3078 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3079 | pub const LSA_FTRECORD_DISABLED_REASONS: i32 = 65535i32; |
04454e1e | 3080 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 3081 | pub const LSA_GLOBAL_SECRET_PREFIX: &str = "G$"; |
04454e1e | 3082 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3083 | pub const LSA_GLOBAL_SECRET_PREFIX_LENGTH: u32 = 2u32; |
3084 | #[repr(C)] | |
04454e1e | 3085 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3086 | pub struct LSA_LAST_INTER_LOGON_INFO { |
3087 | pub LastSuccessfulLogon: i64, | |
3088 | pub LastFailedLogon: i64, | |
3089 | pub FailedAttemptCountSinceLastSuccessfulLogon: u32, | |
3090 | } | |
3091 | impl ::core::marker::Copy for LSA_LAST_INTER_LOGON_INFO {} | |
3092 | impl ::core::clone::Clone for LSA_LAST_INTER_LOGON_INFO { | |
3093 | fn clone(&self) -> Self { | |
3094 | *self | |
3095 | } | |
3096 | } | |
04454e1e | 3097 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 3098 | pub const LSA_LOCAL_SECRET_PREFIX: &str = "L$"; |
04454e1e | 3099 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3100 | pub const LSA_LOCAL_SECRET_PREFIX_LENGTH: u32 = 2u32; |
04454e1e | 3101 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3102 | pub const LSA_LOOKUP_DISALLOW_CONNECTED_ACCOUNT_INTERNET_SID: u32 = 2147483648u32; |
04454e1e | 3103 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3104 | pub type LSA_LOOKUP_DOMAIN_INFO_CLASS = i32; |
04454e1e | 3105 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3106 | pub const AccountDomainInformation: LSA_LOOKUP_DOMAIN_INFO_CLASS = 5i32; |
04454e1e | 3107 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3108 | pub const DnsDomainInformation: LSA_LOOKUP_DOMAIN_INFO_CLASS = 12i32; |
04454e1e | 3109 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3110 | pub const LSA_LOOKUP_ISOLATED_AS_LOCAL: u32 = 2147483648u32; |
04454e1e | 3111 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3112 | pub const LSA_LOOKUP_PREFER_INTERNET_NAMES: u32 = 1073741824u32; |
04454e1e | 3113 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 3114 | pub const LSA_MACHINE_SECRET_PREFIX: &str = "M$"; |
04454e1e | 3115 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3116 | pub const LSA_MAXIMUM_ENUMERATION_LENGTH: u32 = 32000u32; |
04454e1e | 3117 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3118 | pub const LSA_MAXIMUM_SID_COUNT: i32 = 256i32; |
04454e1e | 3119 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3120 | pub const LSA_MODE_INDIVIDUAL_ACCOUNTS: i32 = 2i32; |
04454e1e | 3121 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3122 | pub const LSA_MODE_LOG_FULL: i32 = 8i32; |
04454e1e | 3123 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3124 | pub const LSA_MODE_MANDATORY_ACCESS: i32 = 4i32; |
04454e1e | 3125 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3126 | pub const LSA_MODE_PASSWORD_PROTECTED: i32 = 1i32; |
04454e1e | 3127 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3128 | pub const LSA_NB_DISABLED_ADMIN: i32 = 4i32; |
04454e1e | 3129 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3130 | pub const LSA_NB_DISABLED_CONFLICT: i32 = 8i32; |
04454e1e | 3131 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3132 | pub const LSA_QUERY_CLIENT_PRELOGON_SESSION_ID: u32 = 1u32; |
3133 | #[repr(C)] | |
04454e1e | 3134 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3135 | #[cfg(feature = "Win32_Foundation")] |
3136 | pub struct LSA_REFERENCED_DOMAIN_LIST { | |
3137 | pub Entries: u32, | |
3138 | pub Domains: *mut LSA_TRUST_INFORMATION, | |
3139 | } | |
3140 | #[cfg(feature = "Win32_Foundation")] | |
3141 | impl ::core::marker::Copy for LSA_REFERENCED_DOMAIN_LIST {} | |
3142 | #[cfg(feature = "Win32_Foundation")] | |
3143 | impl ::core::clone::Clone for LSA_REFERENCED_DOMAIN_LIST { | |
3144 | fn clone(&self) -> Self { | |
3145 | *self | |
3146 | } | |
3147 | } | |
3148 | #[repr(C)] | |
04454e1e | 3149 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Threading\"`*"] |
5e7ed085 FG |
3150 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))] |
3151 | pub struct LSA_SECPKG_FUNCTION_TABLE { | |
3152 | pub CreateLogonSession: PLSA_CREATE_LOGON_SESSION, | |
3153 | pub DeleteLogonSession: PLSA_DELETE_LOGON_SESSION, | |
3154 | pub AddCredential: PLSA_ADD_CREDENTIAL, | |
3155 | pub GetCredentials: PLSA_GET_CREDENTIALS, | |
3156 | pub DeleteCredential: PLSA_DELETE_CREDENTIAL, | |
3157 | pub AllocateLsaHeap: PLSA_ALLOCATE_LSA_HEAP, | |
3158 | pub FreeLsaHeap: PLSA_FREE_LSA_HEAP, | |
3159 | pub AllocateClientBuffer: PLSA_ALLOCATE_CLIENT_BUFFER, | |
3160 | pub FreeClientBuffer: PLSA_FREE_CLIENT_BUFFER, | |
3161 | pub CopyToClientBuffer: PLSA_COPY_TO_CLIENT_BUFFER, | |
3162 | pub CopyFromClientBuffer: PLSA_COPY_FROM_CLIENT_BUFFER, | |
3163 | pub ImpersonateClient: PLSA_IMPERSONATE_CLIENT, | |
3164 | pub UnloadPackage: PLSA_UNLOAD_PACKAGE, | |
3165 | pub DuplicateHandle: PLSA_DUPLICATE_HANDLE, | |
3166 | pub SaveSupplementalCredentials: PLSA_SAVE_SUPPLEMENTAL_CREDENTIALS, | |
3167 | pub CreateThread: PLSA_CREATE_THREAD, | |
3168 | pub GetClientInfo: PLSA_GET_CLIENT_INFO, | |
3169 | pub RegisterNotification: PLSA_REGISTER_NOTIFICATION, | |
3170 | pub CancelNotification: PLSA_CANCEL_NOTIFICATION, | |
3171 | pub MapBuffer: PLSA_MAP_BUFFER, | |
3172 | pub CreateToken: PLSA_CREATE_TOKEN, | |
3173 | pub AuditLogon: PLSA_AUDIT_LOGON, | |
3174 | pub CallPackage: PLSA_CALL_PACKAGE, | |
3175 | pub FreeReturnBuffer: PLSA_FREE_LSA_HEAP, | |
3176 | pub GetCallInfo: PLSA_GET_CALL_INFO, | |
3177 | pub CallPackageEx: PLSA_CALL_PACKAGEEX, | |
3178 | pub CreateSharedMemory: PLSA_CREATE_SHARED_MEMORY, | |
3179 | pub AllocateSharedMemory: PLSA_ALLOCATE_SHARED_MEMORY, | |
3180 | pub FreeSharedMemory: PLSA_FREE_SHARED_MEMORY, | |
3181 | pub DeleteSharedMemory: PLSA_DELETE_SHARED_MEMORY, | |
3182 | pub OpenSamUser: PLSA_OPEN_SAM_USER, | |
3183 | pub GetUserCredentials: PLSA_GET_USER_CREDENTIALS, | |
3184 | pub GetUserAuthData: PLSA_GET_USER_AUTH_DATA, | |
3185 | pub CloseSamUser: PLSA_CLOSE_SAM_USER, | |
3186 | pub ConvertAuthDataToToken: PLSA_CONVERT_AUTH_DATA_TO_TOKEN, | |
3187 | pub ClientCallback: PLSA_CLIENT_CALLBACK, | |
3188 | pub UpdateCredentials: PLSA_UPDATE_PRIMARY_CREDENTIALS, | |
3189 | pub GetAuthDataForUser: PLSA_GET_AUTH_DATA_FOR_USER, | |
3190 | pub CrackSingleName: PLSA_CRACK_SINGLE_NAME, | |
3191 | pub AuditAccountLogon: PLSA_AUDIT_ACCOUNT_LOGON, | |
3192 | pub CallPackagePassthrough: PLSA_CALL_PACKAGE_PASSTHROUGH, | |
3193 | pub CrediRead: CredReadFn, | |
3194 | pub CrediReadDomainCredentials: CredReadDomainCredentialsFn, | |
3195 | pub CrediFreeCredentials: CredFreeCredentialsFn, | |
3196 | pub LsaProtectMemory: PLSA_PROTECT_MEMORY, | |
3197 | pub LsaUnprotectMemory: PLSA_PROTECT_MEMORY, | |
3198 | pub OpenTokenByLogonId: PLSA_OPEN_TOKEN_BY_LOGON_ID, | |
3199 | pub ExpandAuthDataForDomain: PLSA_EXPAND_AUTH_DATA_FOR_DOMAIN, | |
3200 | pub AllocatePrivateHeap: PLSA_ALLOCATE_PRIVATE_HEAP, | |
3201 | pub FreePrivateHeap: PLSA_FREE_PRIVATE_HEAP, | |
3202 | pub CreateTokenEx: PLSA_CREATE_TOKEN_EX, | |
3203 | pub CrediWrite: CredWriteFn, | |
3204 | pub CrediUnmarshalandDecodeString: CrediUnmarshalandDecodeStringFn, | |
3205 | pub DummyFunction6: PLSA_PROTECT_MEMORY, | |
3206 | pub GetExtendedCallFlags: PLSA_GET_EXTENDED_CALL_FLAGS, | |
3207 | pub DuplicateTokenHandle: PLSA_DUPLICATE_HANDLE, | |
3208 | pub GetServiceAccountPassword: PLSA_GET_SERVICE_ACCOUNT_PASSWORD, | |
3209 | pub DummyFunction7: PLSA_PROTECT_MEMORY, | |
3210 | pub AuditLogonEx: PLSA_AUDIT_LOGON_EX, | |
3211 | pub CheckProtectedUserByToken: PLSA_CHECK_PROTECTED_USER_BY_TOKEN, | |
3212 | pub QueryClientRequest: PLSA_QUERY_CLIENT_REQUEST, | |
3213 | pub GetAppModeInfo: PLSA_GET_APP_MODE_INFO, | |
3214 | pub SetAppModeInfo: PLSA_SET_APP_MODE_INFO, | |
3215 | } | |
3216 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))] | |
3217 | impl ::core::marker::Copy for LSA_SECPKG_FUNCTION_TABLE {} | |
3218 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))] | |
3219 | impl ::core::clone::Clone for LSA_SECPKG_FUNCTION_TABLE { | |
3220 | fn clone(&self) -> Self { | |
3221 | *self | |
3222 | } | |
3223 | } | |
04454e1e | 3224 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3225 | pub const LSA_SECRET_MAXIMUM_COUNT: i32 = 4096i32; |
04454e1e | 3226 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3227 | pub const LSA_SECRET_MAXIMUM_LENGTH: i32 = 512i32; |
04454e1e | 3228 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3229 | pub const LSA_SID_DISABLED_ADMIN: i32 = 1i32; |
04454e1e | 3230 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3231 | pub const LSA_SID_DISABLED_CONFLICT: i32 = 2i32; |
04454e1e | 3232 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3233 | pub const LSA_TLN_DISABLED_ADMIN: i32 = 2i32; |
04454e1e | 3234 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3235 | pub const LSA_TLN_DISABLED_CONFLICT: i32 = 4i32; |
04454e1e | 3236 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3237 | pub const LSA_TLN_DISABLED_NEW: i32 = 1i32; |
3238 | #[repr(C)] | |
04454e1e | 3239 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3240 | #[cfg(feature = "Win32_Foundation")] |
3241 | pub struct LSA_TOKEN_INFORMATION_NULL { | |
3242 | pub ExpirationTime: i64, | |
3243 | pub Groups: *mut super::super::TOKEN_GROUPS, | |
3244 | } | |
3245 | #[cfg(feature = "Win32_Foundation")] | |
3246 | impl ::core::marker::Copy for LSA_TOKEN_INFORMATION_NULL {} | |
3247 | #[cfg(feature = "Win32_Foundation")] | |
3248 | impl ::core::clone::Clone for LSA_TOKEN_INFORMATION_NULL { | |
3249 | fn clone(&self) -> Self { | |
3250 | *self | |
3251 | } | |
3252 | } | |
04454e1e | 3253 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3254 | pub type LSA_TOKEN_INFORMATION_TYPE = i32; |
04454e1e | 3255 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3256 | pub const LsaTokenInformationNull: LSA_TOKEN_INFORMATION_TYPE = 0i32; |
04454e1e | 3257 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3258 | pub const LsaTokenInformationV1: LSA_TOKEN_INFORMATION_TYPE = 1i32; |
04454e1e | 3259 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3260 | pub const LsaTokenInformationV2: LSA_TOKEN_INFORMATION_TYPE = 2i32; |
04454e1e | 3261 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3262 | pub const LsaTokenInformationV3: LSA_TOKEN_INFORMATION_TYPE = 3i32; |
3263 | #[repr(C)] | |
04454e1e | 3264 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3265 | #[cfg(feature = "Win32_Foundation")] |
3266 | pub struct LSA_TOKEN_INFORMATION_V1 { | |
3267 | pub ExpirationTime: i64, | |
3268 | pub User: super::super::TOKEN_USER, | |
3269 | pub Groups: *mut super::super::TOKEN_GROUPS, | |
3270 | pub PrimaryGroup: super::super::TOKEN_PRIMARY_GROUP, | |
3271 | pub Privileges: *mut super::super::TOKEN_PRIVILEGES, | |
3272 | pub Owner: super::super::TOKEN_OWNER, | |
3273 | pub DefaultDacl: super::super::TOKEN_DEFAULT_DACL, | |
3274 | } | |
3275 | #[cfg(feature = "Win32_Foundation")] | |
3276 | impl ::core::marker::Copy for LSA_TOKEN_INFORMATION_V1 {} | |
3277 | #[cfg(feature = "Win32_Foundation")] | |
3278 | impl ::core::clone::Clone for LSA_TOKEN_INFORMATION_V1 { | |
3279 | fn clone(&self) -> Self { | |
3280 | *self | |
3281 | } | |
3282 | } | |
3283 | #[repr(C)] | |
04454e1e | 3284 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3285 | #[cfg(feature = "Win32_Foundation")] |
3286 | pub struct LSA_TOKEN_INFORMATION_V3 { | |
3287 | pub ExpirationTime: i64, | |
3288 | pub User: super::super::TOKEN_USER, | |
3289 | pub Groups: *mut super::super::TOKEN_GROUPS, | |
3290 | pub PrimaryGroup: super::super::TOKEN_PRIMARY_GROUP, | |
3291 | pub Privileges: *mut super::super::TOKEN_PRIVILEGES, | |
3292 | pub Owner: super::super::TOKEN_OWNER, | |
3293 | pub DefaultDacl: super::super::TOKEN_DEFAULT_DACL, | |
3294 | pub UserClaims: super::super::TOKEN_USER_CLAIMS, | |
3295 | pub DeviceClaims: super::super::TOKEN_DEVICE_CLAIMS, | |
3296 | pub DeviceGroups: *mut super::super::TOKEN_GROUPS, | |
3297 | } | |
3298 | #[cfg(feature = "Win32_Foundation")] | |
3299 | impl ::core::marker::Copy for LSA_TOKEN_INFORMATION_V3 {} | |
3300 | #[cfg(feature = "Win32_Foundation")] | |
3301 | impl ::core::clone::Clone for LSA_TOKEN_INFORMATION_V3 { | |
3302 | fn clone(&self) -> Self { | |
3303 | *self | |
3304 | } | |
3305 | } | |
3306 | #[repr(C)] | |
04454e1e | 3307 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3308 | #[cfg(feature = "Win32_Foundation")] |
3309 | pub struct LSA_TRANSLATED_NAME { | |
3310 | pub Use: super::super::SID_NAME_USE, | |
3311 | pub Name: super::super::super::Foundation::UNICODE_STRING, | |
3312 | pub DomainIndex: i32, | |
3313 | } | |
3314 | #[cfg(feature = "Win32_Foundation")] | |
3315 | impl ::core::marker::Copy for LSA_TRANSLATED_NAME {} | |
3316 | #[cfg(feature = "Win32_Foundation")] | |
3317 | impl ::core::clone::Clone for LSA_TRANSLATED_NAME { | |
3318 | fn clone(&self) -> Self { | |
3319 | *self | |
3320 | } | |
3321 | } | |
3322 | #[repr(C)] | |
04454e1e | 3323 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3324 | pub struct LSA_TRANSLATED_SID { |
3325 | pub Use: super::super::SID_NAME_USE, | |
3326 | pub RelativeId: u32, | |
3327 | pub DomainIndex: i32, | |
3328 | } | |
3329 | impl ::core::marker::Copy for LSA_TRANSLATED_SID {} | |
3330 | impl ::core::clone::Clone for LSA_TRANSLATED_SID { | |
3331 | fn clone(&self) -> Self { | |
3332 | *self | |
3333 | } | |
3334 | } | |
3335 | #[repr(C)] | |
04454e1e | 3336 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3337 | #[cfg(feature = "Win32_Foundation")] |
3338 | pub struct LSA_TRANSLATED_SID2 { | |
3339 | pub Use: super::super::SID_NAME_USE, | |
3340 | pub Sid: super::super::super::Foundation::PSID, | |
3341 | pub DomainIndex: i32, | |
3342 | pub Flags: u32, | |
3343 | } | |
3344 | #[cfg(feature = "Win32_Foundation")] | |
3345 | impl ::core::marker::Copy for LSA_TRANSLATED_SID2 {} | |
3346 | #[cfg(feature = "Win32_Foundation")] | |
3347 | impl ::core::clone::Clone for LSA_TRANSLATED_SID2 { | |
3348 | fn clone(&self) -> Self { | |
3349 | *self | |
3350 | } | |
3351 | } | |
3352 | #[repr(C)] | |
04454e1e | 3353 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3354 | #[cfg(feature = "Win32_Foundation")] |
3355 | pub struct LSA_TRUST_INFORMATION { | |
3356 | pub Name: super::super::super::Foundation::UNICODE_STRING, | |
3357 | pub Sid: super::super::super::Foundation::PSID, | |
3358 | } | |
3359 | #[cfg(feature = "Win32_Foundation")] | |
3360 | impl ::core::marker::Copy for LSA_TRUST_INFORMATION {} | |
3361 | #[cfg(feature = "Win32_Foundation")] | |
3362 | impl ::core::clone::Clone for LSA_TRUST_INFORMATION { | |
3363 | fn clone(&self) -> Self { | |
3364 | *self | |
3365 | } | |
3366 | } | |
3367 | pub type LsaHandle = isize; | |
04454e1e | 3368 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 3369 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 3370 | pub type MAKE_SIGNATURE_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut SecBufferDesc, param3: u32) -> ::windows_sys::core::HRESULT>; |
04454e1e | 3371 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3372 | pub const MAXIMUM_CAPES_PER_CAP: u32 = 127u32; |
04454e1e | 3373 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3374 | pub const MAX_CRED_SIZE: u32 = 1024u32; |
04454e1e | 3375 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3376 | pub const MAX_PROTOCOL_ID_SIZE: u32 = 255u32; |
04454e1e | 3377 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3378 | pub const MAX_RECORDS_IN_FOREST_TRUST_INFO: u32 = 4000u32; |
04454e1e | 3379 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3380 | pub const MAX_USER_RECORDS: u32 = 1000u32; |
04454e1e | 3381 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 3382 | pub const MICROSOFT_KERBEROS_NAME: &str = "Kerberos"; |
04454e1e | 3383 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 3384 | pub const MICROSOFT_KERBEROS_NAME_A: &str = "Kerberos"; |
04454e1e | 3385 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 3386 | pub const MICROSOFT_KERBEROS_NAME_W: &str = "Kerberos"; |
04454e1e | 3387 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3388 | pub type MSV1_0 = u32; |
04454e1e | 3389 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3390 | pub const MSV1_0_PASSTHRU: MSV1_0 = 1u32; |
04454e1e | 3391 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3392 | pub const MSV1_0_GUEST_LOGON: MSV1_0 = 2u32; |
04454e1e | 3393 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3394 | pub const MSV1_0_ALLOW_FORCE_GUEST: u32 = 8192u32; |
04454e1e | 3395 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3396 | pub const MSV1_0_ALLOW_MSVCHAPV2: u32 = 65536u32; |
04454e1e | 3397 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3398 | pub type MSV1_0_AVID = i32; |
04454e1e | 3399 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3400 | pub const MsvAvEOL: MSV1_0_AVID = 0i32; |
04454e1e | 3401 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3402 | pub const MsvAvNbComputerName: MSV1_0_AVID = 1i32; |
04454e1e | 3403 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3404 | pub const MsvAvNbDomainName: MSV1_0_AVID = 2i32; |
04454e1e | 3405 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3406 | pub const MsvAvDnsComputerName: MSV1_0_AVID = 3i32; |
04454e1e | 3407 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3408 | pub const MsvAvDnsDomainName: MSV1_0_AVID = 4i32; |
04454e1e | 3409 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3410 | pub const MsvAvDnsTreeName: MSV1_0_AVID = 5i32; |
04454e1e | 3411 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3412 | pub const MsvAvFlags: MSV1_0_AVID = 6i32; |
04454e1e | 3413 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3414 | pub const MsvAvTimestamp: MSV1_0_AVID = 7i32; |
04454e1e | 3415 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3416 | pub const MsvAvRestrictions: MSV1_0_AVID = 8i32; |
04454e1e | 3417 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3418 | pub const MsvAvTargetName: MSV1_0_AVID = 9i32; |
04454e1e | 3419 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3420 | pub const MsvAvChannelBindings: MSV1_0_AVID = 10i32; |
04454e1e | 3421 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3422 | pub const MSV1_0_AV_FLAG_FORCE_GUEST: u32 = 1u32; |
04454e1e | 3423 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3424 | pub const MSV1_0_AV_FLAG_MIC_HANDSHAKE_MESSAGES: u32 = 2u32; |
04454e1e | 3425 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3426 | pub const MSV1_0_AV_FLAG_UNVERIFIED_TARGET: u32 = 4u32; |
3427 | #[repr(C)] | |
04454e1e | 3428 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3429 | pub struct MSV1_0_AV_PAIR { |
3430 | pub AvId: u16, | |
3431 | pub AvLen: u16, | |
3432 | } | |
3433 | impl ::core::marker::Copy for MSV1_0_AV_PAIR {} | |
3434 | impl ::core::clone::Clone for MSV1_0_AV_PAIR { | |
3435 | fn clone(&self) -> Self { | |
3436 | *self | |
3437 | } | |
3438 | } | |
04454e1e | 3439 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3440 | pub const MSV1_0_CHALLENGE_LENGTH: u32 = 8u32; |
3441 | #[repr(C)] | |
04454e1e | 3442 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3443 | #[cfg(feature = "Win32_Foundation")] |
3444 | pub struct MSV1_0_CHANGEPASSWORD_REQUEST { | |
3445 | pub MessageType: MSV1_0_PROTOCOL_MESSAGE_TYPE, | |
3446 | pub DomainName: super::super::super::Foundation::UNICODE_STRING, | |
3447 | pub AccountName: super::super::super::Foundation::UNICODE_STRING, | |
3448 | pub OldPassword: super::super::super::Foundation::UNICODE_STRING, | |
3449 | pub NewPassword: super::super::super::Foundation::UNICODE_STRING, | |
3450 | pub Impersonating: super::super::super::Foundation::BOOLEAN, | |
3451 | } | |
3452 | #[cfg(feature = "Win32_Foundation")] | |
3453 | impl ::core::marker::Copy for MSV1_0_CHANGEPASSWORD_REQUEST {} | |
3454 | #[cfg(feature = "Win32_Foundation")] | |
3455 | impl ::core::clone::Clone for MSV1_0_CHANGEPASSWORD_REQUEST { | |
3456 | fn clone(&self) -> Self { | |
3457 | *self | |
3458 | } | |
3459 | } | |
3460 | #[repr(C)] | |
04454e1e | 3461 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3462 | #[cfg(feature = "Win32_Foundation")] |
3463 | pub struct MSV1_0_CHANGEPASSWORD_RESPONSE { | |
3464 | pub MessageType: MSV1_0_PROTOCOL_MESSAGE_TYPE, | |
3465 | pub PasswordInfoValid: super::super::super::Foundation::BOOLEAN, | |
3466 | pub DomainPasswordInfo: DOMAIN_PASSWORD_INFORMATION, | |
3467 | } | |
3468 | #[cfg(feature = "Win32_Foundation")] | |
3469 | impl ::core::marker::Copy for MSV1_0_CHANGEPASSWORD_RESPONSE {} | |
3470 | #[cfg(feature = "Win32_Foundation")] | |
3471 | impl ::core::clone::Clone for MSV1_0_CHANGEPASSWORD_RESPONSE { | |
3472 | fn clone(&self) -> Self { | |
3473 | *self | |
3474 | } | |
3475 | } | |
04454e1e | 3476 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3477 | pub const MSV1_0_CHECK_LOGONHOURS_FOR_S4U: u32 = 262144u32; |
04454e1e | 3478 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3479 | pub const MSV1_0_CLEARTEXT_PASSWORD_SUPPLIED: u32 = 16384u32; |
3480 | #[repr(C)] | |
04454e1e | 3481 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3482 | pub struct MSV1_0_CREDENTIAL_KEY { |
3483 | pub Data: [u8; 20], | |
3484 | } | |
3485 | impl ::core::marker::Copy for MSV1_0_CREDENTIAL_KEY {} | |
3486 | impl ::core::clone::Clone for MSV1_0_CREDENTIAL_KEY { | |
3487 | fn clone(&self) -> Self { | |
3488 | *self | |
3489 | } | |
3490 | } | |
04454e1e | 3491 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3492 | pub const MSV1_0_CREDENTIAL_KEY_LENGTH: u32 = 20u32; |
04454e1e | 3493 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3494 | pub type MSV1_0_CREDENTIAL_KEY_TYPE = i32; |
04454e1e | 3495 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3496 | pub const InvalidCredKey: MSV1_0_CREDENTIAL_KEY_TYPE = 0i32; |
04454e1e | 3497 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3498 | pub const DeprecatedIUMCredKey: MSV1_0_CREDENTIAL_KEY_TYPE = 1i32; |
04454e1e | 3499 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3500 | pub const DomainUserCredKey: MSV1_0_CREDENTIAL_KEY_TYPE = 2i32; |
04454e1e | 3501 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3502 | pub const LocalUserCredKey: MSV1_0_CREDENTIAL_KEY_TYPE = 3i32; |
04454e1e | 3503 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3504 | pub const ExternallySuppliedCredKey: MSV1_0_CREDENTIAL_KEY_TYPE = 4i32; |
04454e1e | 3505 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3506 | pub const MSV1_0_CRED_CREDKEY_PRESENT: u32 = 8u32; |
04454e1e | 3507 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3508 | pub const MSV1_0_CRED_REMOVED: u32 = 4u32; |
04454e1e | 3509 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3510 | pub const MSV1_0_CRED_SHA_PRESENT: u32 = 16u32; |
04454e1e | 3511 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3512 | pub const MSV1_0_CRED_VERSION_ARSO: u32 = 4294901763u32; |
04454e1e | 3513 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3514 | pub const MSV1_0_CRED_VERSION_INVALID: u32 = 4294967295u32; |
04454e1e | 3515 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3516 | pub const MSV1_0_CRED_VERSION_IUM: u32 = 4294901761u32; |
04454e1e | 3517 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3518 | pub const MSV1_0_CRED_VERSION_REMOTE: u32 = 4294901762u32; |
04454e1e | 3519 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3520 | pub const MSV1_0_CRED_VERSION_RESERVED_1: u32 = 4294967294u32; |
04454e1e | 3521 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3522 | pub const MSV1_0_CRED_VERSION_V2: u32 = 2u32; |
04454e1e | 3523 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3524 | pub const MSV1_0_CRED_VERSION_V3: u32 = 4u32; |
04454e1e | 3525 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3526 | pub const MSV1_0_DISABLE_PERSONAL_FALLBACK: u32 = 4096u32; |
3527 | #[repr(C)] | |
04454e1e | 3528 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3529 | #[cfg(feature = "Win32_Foundation")] |
3530 | pub struct MSV1_0_INTERACTIVE_LOGON { | |
3531 | pub MessageType: MSV1_0_LOGON_SUBMIT_TYPE, | |
3532 | pub LogonDomainName: super::super::super::Foundation::UNICODE_STRING, | |
3533 | pub UserName: super::super::super::Foundation::UNICODE_STRING, | |
3534 | pub Password: super::super::super::Foundation::UNICODE_STRING, | |
3535 | } | |
3536 | #[cfg(feature = "Win32_Foundation")] | |
3537 | impl ::core::marker::Copy for MSV1_0_INTERACTIVE_LOGON {} | |
3538 | #[cfg(feature = "Win32_Foundation")] | |
3539 | impl ::core::clone::Clone for MSV1_0_INTERACTIVE_LOGON { | |
3540 | fn clone(&self) -> Self { | |
3541 | *self | |
3542 | } | |
3543 | } | |
3544 | #[repr(C)] | |
04454e1e | 3545 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3546 | #[cfg(feature = "Win32_Foundation")] |
3547 | pub struct MSV1_0_INTERACTIVE_PROFILE { | |
3548 | pub MessageType: MSV1_0_PROFILE_BUFFER_TYPE, | |
3549 | pub LogonCount: u16, | |
3550 | pub BadPasswordCount: u16, | |
3551 | pub LogonTime: i64, | |
3552 | pub LogoffTime: i64, | |
3553 | pub KickOffTime: i64, | |
3554 | pub PasswordLastSet: i64, | |
3555 | pub PasswordCanChange: i64, | |
3556 | pub PasswordMustChange: i64, | |
3557 | pub LogonScript: super::super::super::Foundation::UNICODE_STRING, | |
3558 | pub HomeDirectory: super::super::super::Foundation::UNICODE_STRING, | |
3559 | pub FullName: super::super::super::Foundation::UNICODE_STRING, | |
3560 | pub ProfilePath: super::super::super::Foundation::UNICODE_STRING, | |
3561 | pub HomeDirectoryDrive: super::super::super::Foundation::UNICODE_STRING, | |
3562 | pub LogonServer: super::super::super::Foundation::UNICODE_STRING, | |
3563 | pub UserFlags: u32, | |
3564 | } | |
3565 | #[cfg(feature = "Win32_Foundation")] | |
3566 | impl ::core::marker::Copy for MSV1_0_INTERACTIVE_PROFILE {} | |
3567 | #[cfg(feature = "Win32_Foundation")] | |
3568 | impl ::core::clone::Clone for MSV1_0_INTERACTIVE_PROFILE { | |
3569 | fn clone(&self) -> Self { | |
3570 | *self | |
3571 | } | |
3572 | } | |
04454e1e | 3573 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3574 | pub const MSV1_0_INTERNET_DOMAIN: u32 = 524288u32; |
3575 | #[repr(C)] | |
04454e1e | 3576 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3577 | pub struct MSV1_0_IUM_SUPPLEMENTAL_CREDENTIAL { |
3578 | pub Version: u32, | |
3579 | pub EncryptedCredsSize: u32, | |
3580 | pub EncryptedCreds: [u8; 1], | |
3581 | } | |
3582 | impl ::core::marker::Copy for MSV1_0_IUM_SUPPLEMENTAL_CREDENTIAL {} | |
3583 | impl ::core::clone::Clone for MSV1_0_IUM_SUPPLEMENTAL_CREDENTIAL { | |
3584 | fn clone(&self) -> Self { | |
3585 | *self | |
3586 | } | |
3587 | } | |
04454e1e | 3588 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3589 | pub const MSV1_0_LANMAN_SESSION_KEY_LENGTH: u32 = 8u32; |
3590 | #[repr(C)] | |
04454e1e | 3591 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] |
5e7ed085 FG |
3592 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] |
3593 | pub struct MSV1_0_LM20_LOGON { | |
3594 | pub MessageType: MSV1_0_LOGON_SUBMIT_TYPE, | |
3595 | pub LogonDomainName: super::super::super::Foundation::UNICODE_STRING, | |
3596 | pub UserName: super::super::super::Foundation::UNICODE_STRING, | |
3597 | pub Workstation: super::super::super::Foundation::UNICODE_STRING, | |
3598 | pub ChallengeToClient: [u8; 8], | |
3599 | pub CaseSensitiveChallengeResponse: super::super::super::System::Kernel::STRING, | |
3600 | pub CaseInsensitiveChallengeResponse: super::super::super::System::Kernel::STRING, | |
3601 | pub ParameterControl: u32, | |
3602 | } | |
3603 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] | |
3604 | impl ::core::marker::Copy for MSV1_0_LM20_LOGON {} | |
3605 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] | |
3606 | impl ::core::clone::Clone for MSV1_0_LM20_LOGON { | |
3607 | fn clone(&self) -> Self { | |
3608 | *self | |
3609 | } | |
3610 | } | |
3611 | #[repr(C)] | |
04454e1e | 3612 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3613 | #[cfg(feature = "Win32_Foundation")] |
3614 | pub struct MSV1_0_LM20_LOGON_PROFILE { | |
3615 | pub MessageType: MSV1_0_PROFILE_BUFFER_TYPE, | |
3616 | pub KickOffTime: i64, | |
3617 | pub LogoffTime: i64, | |
3618 | pub UserFlags: MSV_SUB_AUTHENTICATION_FILTER, | |
3619 | pub UserSessionKey: [u8; 16], | |
3620 | pub LogonDomainName: super::super::super::Foundation::UNICODE_STRING, | |
3621 | pub LanmanSessionKey: [u8; 8], | |
3622 | pub LogonServer: super::super::super::Foundation::UNICODE_STRING, | |
3623 | pub UserParameters: super::super::super::Foundation::UNICODE_STRING, | |
3624 | } | |
3625 | #[cfg(feature = "Win32_Foundation")] | |
3626 | impl ::core::marker::Copy for MSV1_0_LM20_LOGON_PROFILE {} | |
3627 | #[cfg(feature = "Win32_Foundation")] | |
3628 | impl ::core::clone::Clone for MSV1_0_LM20_LOGON_PROFILE { | |
3629 | fn clone(&self) -> Self { | |
3630 | *self | |
3631 | } | |
3632 | } | |
04454e1e | 3633 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3634 | pub type MSV1_0_LOGON_SUBMIT_TYPE = i32; |
04454e1e | 3635 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3636 | pub const MsV1_0InteractiveLogon: MSV1_0_LOGON_SUBMIT_TYPE = 2i32; |
04454e1e | 3637 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3638 | pub const MsV1_0Lm20Logon: MSV1_0_LOGON_SUBMIT_TYPE = 3i32; |
04454e1e | 3639 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3640 | pub const MsV1_0NetworkLogon: MSV1_0_LOGON_SUBMIT_TYPE = 4i32; |
04454e1e | 3641 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3642 | pub const MsV1_0SubAuthLogon: MSV1_0_LOGON_SUBMIT_TYPE = 5i32; |
04454e1e | 3643 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3644 | pub const MsV1_0WorkstationUnlockLogon: MSV1_0_LOGON_SUBMIT_TYPE = 7i32; |
04454e1e | 3645 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3646 | pub const MsV1_0S4ULogon: MSV1_0_LOGON_SUBMIT_TYPE = 12i32; |
04454e1e | 3647 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3648 | pub const MsV1_0VirtualLogon: MSV1_0_LOGON_SUBMIT_TYPE = 82i32; |
04454e1e | 3649 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3650 | pub const MsV1_0NoElevationLogon: MSV1_0_LOGON_SUBMIT_TYPE = 83i32; |
04454e1e | 3651 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3652 | pub const MsV1_0LuidLogon: MSV1_0_LOGON_SUBMIT_TYPE = 84i32; |
04454e1e | 3653 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3654 | pub const MSV1_0_MAX_AVL_SIZE: u32 = 64000u32; |
04454e1e | 3655 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3656 | pub const MSV1_0_MAX_NTLM3_LIFE: u32 = 1800u32; |
04454e1e | 3657 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3658 | pub const MSV1_0_MNS_LOGON: u32 = 16777216u32; |
04454e1e | 3659 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3660 | pub const MSV1_0_NTLM3_OWF_LENGTH: u32 = 16u32; |
3661 | #[repr(C)] | |
04454e1e | 3662 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3663 | pub struct MSV1_0_NTLM3_RESPONSE { |
3664 | pub Response: [u8; 16], | |
3665 | pub RespType: u8, | |
3666 | pub HiRespType: u8, | |
3667 | pub Flags: u16, | |
3668 | pub MsgWord: u32, | |
3669 | pub TimeStamp: u64, | |
3670 | pub ChallengeFromClient: [u8; 8], | |
3671 | pub AvPairsOff: u32, | |
3672 | pub Buffer: [u8; 1], | |
3673 | } | |
3674 | impl ::core::marker::Copy for MSV1_0_NTLM3_RESPONSE {} | |
3675 | impl ::core::clone::Clone for MSV1_0_NTLM3_RESPONSE { | |
3676 | fn clone(&self) -> Self { | |
3677 | *self | |
3678 | } | |
3679 | } | |
04454e1e | 3680 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3681 | pub const MSV1_0_NTLM3_RESPONSE_LENGTH: u32 = 16u32; |
04454e1e | 3682 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3683 | pub const MSV1_0_OWF_PASSWORD_LENGTH: u32 = 16u32; |
04454e1e | 3684 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 3685 | pub const MSV1_0_PACKAGE_NAME: &str = "MICROSOFT_AUTHENTICATION_PACKAGE_V1_0"; |
04454e1e | 3686 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 3687 | pub const MSV1_0_PACKAGE_NAMEW: &str = "MICROSOFT_AUTHENTICATION_PACKAGE_V1_0"; |
5e7ed085 | 3688 | #[repr(C)] |
04454e1e | 3689 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3690 | #[cfg(feature = "Win32_Foundation")] |
3691 | pub struct MSV1_0_PASSTHROUGH_REQUEST { | |
3692 | pub MessageType: MSV1_0_PROTOCOL_MESSAGE_TYPE, | |
3693 | pub DomainName: super::super::super::Foundation::UNICODE_STRING, | |
3694 | pub PackageName: super::super::super::Foundation::UNICODE_STRING, | |
3695 | pub DataLength: u32, | |
3696 | pub LogonData: *mut u8, | |
3697 | pub Pad: u32, | |
3698 | } | |
3699 | #[cfg(feature = "Win32_Foundation")] | |
3700 | impl ::core::marker::Copy for MSV1_0_PASSTHROUGH_REQUEST {} | |
3701 | #[cfg(feature = "Win32_Foundation")] | |
3702 | impl ::core::clone::Clone for MSV1_0_PASSTHROUGH_REQUEST { | |
3703 | fn clone(&self) -> Self { | |
3704 | *self | |
3705 | } | |
3706 | } | |
3707 | #[repr(C)] | |
04454e1e | 3708 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3709 | pub struct MSV1_0_PASSTHROUGH_RESPONSE { |
3710 | pub MessageType: MSV1_0_PROTOCOL_MESSAGE_TYPE, | |
3711 | pub Pad: u32, | |
3712 | pub DataLength: u32, | |
3713 | pub ValidationData: *mut u8, | |
3714 | } | |
3715 | impl ::core::marker::Copy for MSV1_0_PASSTHROUGH_RESPONSE {} | |
3716 | impl ::core::clone::Clone for MSV1_0_PASSTHROUGH_RESPONSE { | |
3717 | fn clone(&self) -> Self { | |
3718 | *self | |
3719 | } | |
3720 | } | |
04454e1e | 3721 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3722 | pub type MSV1_0_PROFILE_BUFFER_TYPE = i32; |
04454e1e | 3723 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3724 | pub const MsV1_0InteractiveProfile: MSV1_0_PROFILE_BUFFER_TYPE = 2i32; |
04454e1e | 3725 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3726 | pub const MsV1_0Lm20LogonProfile: MSV1_0_PROFILE_BUFFER_TYPE = 3i32; |
04454e1e | 3727 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3728 | pub const MsV1_0SmartCardProfile: MSV1_0_PROFILE_BUFFER_TYPE = 4i32; |
04454e1e | 3729 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3730 | pub type MSV1_0_PROTOCOL_MESSAGE_TYPE = i32; |
04454e1e | 3731 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3732 | pub const MsV1_0Lm20ChallengeRequest: MSV1_0_PROTOCOL_MESSAGE_TYPE = 0i32; |
04454e1e | 3733 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3734 | pub const MsV1_0Lm20GetChallengeResponse: MSV1_0_PROTOCOL_MESSAGE_TYPE = 1i32; |
04454e1e | 3735 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3736 | pub const MsV1_0EnumerateUsers: MSV1_0_PROTOCOL_MESSAGE_TYPE = 2i32; |
04454e1e | 3737 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3738 | pub const MsV1_0GetUserInfo: MSV1_0_PROTOCOL_MESSAGE_TYPE = 3i32; |
04454e1e | 3739 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3740 | pub const MsV1_0ReLogonUsers: MSV1_0_PROTOCOL_MESSAGE_TYPE = 4i32; |
04454e1e | 3741 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3742 | pub const MsV1_0ChangePassword: MSV1_0_PROTOCOL_MESSAGE_TYPE = 5i32; |
04454e1e | 3743 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3744 | pub const MsV1_0ChangeCachedPassword: MSV1_0_PROTOCOL_MESSAGE_TYPE = 6i32; |
04454e1e | 3745 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3746 | pub const MsV1_0GenericPassthrough: MSV1_0_PROTOCOL_MESSAGE_TYPE = 7i32; |
04454e1e | 3747 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3748 | pub const MsV1_0CacheLogon: MSV1_0_PROTOCOL_MESSAGE_TYPE = 8i32; |
04454e1e | 3749 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3750 | pub const MsV1_0SubAuth: MSV1_0_PROTOCOL_MESSAGE_TYPE = 9i32; |
04454e1e | 3751 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3752 | pub const MsV1_0DeriveCredential: MSV1_0_PROTOCOL_MESSAGE_TYPE = 10i32; |
04454e1e | 3753 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3754 | pub const MsV1_0CacheLookup: MSV1_0_PROTOCOL_MESSAGE_TYPE = 11i32; |
04454e1e | 3755 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3756 | pub const MsV1_0SetProcessOption: MSV1_0_PROTOCOL_MESSAGE_TYPE = 12i32; |
04454e1e | 3757 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3758 | pub const MsV1_0ConfigLocalAliases: MSV1_0_PROTOCOL_MESSAGE_TYPE = 13i32; |
04454e1e | 3759 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3760 | pub const MsV1_0ClearCachedCredentials: MSV1_0_PROTOCOL_MESSAGE_TYPE = 14i32; |
04454e1e | 3761 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3762 | pub const MsV1_0LookupToken: MSV1_0_PROTOCOL_MESSAGE_TYPE = 15i32; |
04454e1e | 3763 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3764 | pub const MsV1_0ValidateAuth: MSV1_0_PROTOCOL_MESSAGE_TYPE = 16i32; |
04454e1e | 3765 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3766 | pub const MsV1_0CacheLookupEx: MSV1_0_PROTOCOL_MESSAGE_TYPE = 17i32; |
04454e1e | 3767 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3768 | pub const MsV1_0GetCredentialKey: MSV1_0_PROTOCOL_MESSAGE_TYPE = 18i32; |
04454e1e | 3769 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3770 | pub const MsV1_0SetThreadOption: MSV1_0_PROTOCOL_MESSAGE_TYPE = 19i32; |
04454e1e | 3771 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3772 | pub const MsV1_0DecryptDpapiMasterKey: MSV1_0_PROTOCOL_MESSAGE_TYPE = 20i32; |
04454e1e | 3773 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3774 | pub const MsV1_0GetStrongCredentialKey: MSV1_0_PROTOCOL_MESSAGE_TYPE = 21i32; |
04454e1e | 3775 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3776 | pub const MsV1_0TransferCred: MSV1_0_PROTOCOL_MESSAGE_TYPE = 22i32; |
04454e1e | 3777 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3778 | pub const MsV1_0ProvisionTbal: MSV1_0_PROTOCOL_MESSAGE_TYPE = 23i32; |
04454e1e | 3779 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3780 | pub const MsV1_0DeleteTbalSecrets: MSV1_0_PROTOCOL_MESSAGE_TYPE = 24i32; |
3781 | #[repr(C, packed(1))] | |
04454e1e | 3782 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3783 | pub struct MSV1_0_REMOTE_SUPPLEMENTAL_CREDENTIAL { |
3784 | pub Version: u32, | |
3785 | pub Flags: u32, | |
3786 | pub CredentialKey: MSV1_0_CREDENTIAL_KEY, | |
3787 | pub CredentialKeyType: MSV1_0_CREDENTIAL_KEY_TYPE, | |
3788 | pub EncryptedCredsSize: u32, | |
3789 | pub EncryptedCreds: [u8; 1], | |
3790 | } | |
3791 | impl ::core::marker::Copy for MSV1_0_REMOTE_SUPPLEMENTAL_CREDENTIAL {} | |
3792 | impl ::core::clone::Clone for MSV1_0_REMOTE_SUPPLEMENTAL_CREDENTIAL { | |
3793 | fn clone(&self) -> Self { | |
3794 | *self | |
3795 | } | |
3796 | } | |
04454e1e | 3797 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3798 | pub const MSV1_0_S4U2SELF: u32 = 131072u32; |
3799 | #[repr(C)] | |
04454e1e | 3800 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
3801 | #[cfg(feature = "Win32_Foundation")] |
3802 | pub struct MSV1_0_S4U_LOGON { | |
3803 | pub MessageType: MSV1_0_LOGON_SUBMIT_TYPE, | |
3804 | pub Flags: u32, | |
3805 | pub UserPrincipalName: super::super::super::Foundation::UNICODE_STRING, | |
3806 | pub DomainName: super::super::super::Foundation::UNICODE_STRING, | |
3807 | } | |
3808 | #[cfg(feature = "Win32_Foundation")] | |
3809 | impl ::core::marker::Copy for MSV1_0_S4U_LOGON {} | |
3810 | #[cfg(feature = "Win32_Foundation")] | |
3811 | impl ::core::clone::Clone for MSV1_0_S4U_LOGON { | |
3812 | fn clone(&self) -> Self { | |
3813 | *self | |
3814 | } | |
3815 | } | |
04454e1e | 3816 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3817 | pub const MSV1_0_S4U_LOGON_FLAG_CHECK_LOGONHOURS: u32 = 2u32; |
04454e1e | 3818 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3819 | pub const MSV1_0_SHA_PASSWORD_LENGTH: u32 = 20u32; |
04454e1e | 3820 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3821 | pub const MSV1_0_SUBAUTHENTICATION_DLL: u32 = 4278190080u32; |
04454e1e | 3822 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3823 | pub const MSV1_0_SUBAUTHENTICATION_DLL_EX: u32 = 1048576u32; |
04454e1e | 3824 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3825 | pub const MSV1_0_SUBAUTHENTICATION_DLL_IIS: u32 = 132u32; |
04454e1e | 3826 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3827 | pub const MSV1_0_SUBAUTHENTICATION_DLL_RAS: u32 = 2u32; |
04454e1e | 3828 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3829 | pub const MSV1_0_SUBAUTHENTICATION_DLL_SHIFT: u32 = 24u32; |
04454e1e | 3830 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3831 | pub const MSV1_0_SUBAUTHENTICATION_FLAGS: u32 = 4278190080u32; |
04454e1e | 3832 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 3833 | pub const MSV1_0_SUBAUTHENTICATION_KEY: &str = "SYSTEM\\CurrentControlSet\\Control\\Lsa\\MSV1_0"; |
04454e1e | 3834 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 3835 | pub const MSV1_0_SUBAUTHENTICATION_VALUE: &str = "Auth"; |
04454e1e | 3836 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3837 | pub const MSV1_0_SUBAUTH_ACCOUNT_DISABLED: u32 = 1u32; |
04454e1e | 3838 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3839 | pub const MSV1_0_SUBAUTH_ACCOUNT_EXPIRY: u32 = 16u32; |
04454e1e | 3840 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3841 | pub const MSV1_0_SUBAUTH_ACCOUNT_TYPE: u32 = 64u32; |
04454e1e | 3842 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3843 | pub const MSV1_0_SUBAUTH_LOCKOUT: u32 = 128u32; |
3844 | #[repr(C)] | |
04454e1e | 3845 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] |
5e7ed085 FG |
3846 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] |
3847 | pub struct MSV1_0_SUBAUTH_LOGON { | |
3848 | pub MessageType: MSV1_0_LOGON_SUBMIT_TYPE, | |
3849 | pub LogonDomainName: super::super::super::Foundation::UNICODE_STRING, | |
3850 | pub UserName: super::super::super::Foundation::UNICODE_STRING, | |
3851 | pub Workstation: super::super::super::Foundation::UNICODE_STRING, | |
3852 | pub ChallengeToClient: [u8; 8], | |
3853 | pub AuthenticationInfo1: super::super::super::System::Kernel::STRING, | |
3854 | pub AuthenticationInfo2: super::super::super::System::Kernel::STRING, | |
3855 | pub ParameterControl: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL, | |
3856 | pub SubAuthPackageId: u32, | |
3857 | } | |
3858 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] | |
3859 | impl ::core::marker::Copy for MSV1_0_SUBAUTH_LOGON {} | |
3860 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] | |
3861 | impl ::core::clone::Clone for MSV1_0_SUBAUTH_LOGON { | |
3862 | fn clone(&self) -> Self { | |
3863 | *self | |
3864 | } | |
3865 | } | |
04454e1e | 3866 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3867 | pub const MSV1_0_SUBAUTH_LOGON_HOURS: u32 = 8u32; |
04454e1e | 3868 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3869 | pub const MSV1_0_SUBAUTH_PASSWORD: u32 = 2u32; |
04454e1e | 3870 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3871 | pub const MSV1_0_SUBAUTH_PASSWORD_EXPIRY: u32 = 32u32; |
3872 | #[repr(C)] | |
04454e1e | 3873 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3874 | pub struct MSV1_0_SUBAUTH_REQUEST { |
3875 | pub MessageType: MSV1_0_PROTOCOL_MESSAGE_TYPE, | |
3876 | pub SubAuthPackageId: u32, | |
3877 | pub SubAuthInfoLength: u32, | |
3878 | pub SubAuthSubmitBuffer: *mut u8, | |
3879 | } | |
3880 | impl ::core::marker::Copy for MSV1_0_SUBAUTH_REQUEST {} | |
3881 | impl ::core::clone::Clone for MSV1_0_SUBAUTH_REQUEST { | |
3882 | fn clone(&self) -> Self { | |
3883 | *self | |
3884 | } | |
3885 | } | |
3886 | #[repr(C)] | |
04454e1e | 3887 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3888 | pub struct MSV1_0_SUBAUTH_RESPONSE { |
3889 | pub MessageType: MSV1_0_PROTOCOL_MESSAGE_TYPE, | |
3890 | pub SubAuthInfoLength: u32, | |
3891 | pub SubAuthReturnBuffer: *mut u8, | |
3892 | } | |
3893 | impl ::core::marker::Copy for MSV1_0_SUBAUTH_RESPONSE {} | |
3894 | impl ::core::clone::Clone for MSV1_0_SUBAUTH_RESPONSE { | |
3895 | fn clone(&self) -> Self { | |
3896 | *self | |
3897 | } | |
3898 | } | |
04454e1e | 3899 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3900 | pub const MSV1_0_SUBAUTH_WORKSTATIONS: u32 = 4u32; |
3901 | #[repr(C)] | |
04454e1e | 3902 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3903 | pub struct MSV1_0_SUPPLEMENTAL_CREDENTIAL { |
3904 | pub Version: u32, | |
3905 | pub Flags: MSV_SUPPLEMENTAL_CREDENTIAL_FLAGS, | |
3906 | pub LmPassword: [u8; 16], | |
3907 | pub NtPassword: [u8; 16], | |
3908 | } | |
3909 | impl ::core::marker::Copy for MSV1_0_SUPPLEMENTAL_CREDENTIAL {} | |
3910 | impl ::core::clone::Clone for MSV1_0_SUPPLEMENTAL_CREDENTIAL { | |
3911 | fn clone(&self) -> Self { | |
3912 | *self | |
3913 | } | |
3914 | } | |
3915 | #[repr(C)] | |
04454e1e | 3916 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3917 | pub struct MSV1_0_SUPPLEMENTAL_CREDENTIAL_V2 { |
3918 | pub Version: u32, | |
3919 | pub Flags: u32, | |
3920 | pub NtPassword: [u8; 16], | |
3921 | pub CredentialKey: MSV1_0_CREDENTIAL_KEY, | |
3922 | } | |
3923 | impl ::core::marker::Copy for MSV1_0_SUPPLEMENTAL_CREDENTIAL_V2 {} | |
3924 | impl ::core::clone::Clone for MSV1_0_SUPPLEMENTAL_CREDENTIAL_V2 { | |
3925 | fn clone(&self) -> Self { | |
3926 | *self | |
3927 | } | |
3928 | } | |
3929 | #[repr(C)] | |
04454e1e | 3930 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3931 | pub struct MSV1_0_SUPPLEMENTAL_CREDENTIAL_V3 { |
3932 | pub Version: u32, | |
3933 | pub Flags: u32, | |
3934 | pub CredentialKeyType: MSV1_0_CREDENTIAL_KEY_TYPE, | |
3935 | pub NtPassword: [u8; 16], | |
3936 | pub CredentialKey: MSV1_0_CREDENTIAL_KEY, | |
3937 | pub ShaPassword: [u8; 20], | |
3938 | } | |
3939 | impl ::core::marker::Copy for MSV1_0_SUPPLEMENTAL_CREDENTIAL_V3 {} | |
3940 | impl ::core::clone::Clone for MSV1_0_SUPPLEMENTAL_CREDENTIAL_V3 { | |
3941 | fn clone(&self) -> Self { | |
3942 | *self | |
3943 | } | |
3944 | } | |
04454e1e | 3945 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3946 | pub const MSV1_0_USER_SESSION_KEY_LENGTH: u32 = 16u32; |
04454e1e | 3947 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3948 | pub const MSV1_0_USE_CLIENT_CHALLENGE: u32 = 128u32; |
04454e1e | 3949 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
3950 | pub const MSV1_0_USE_DOMAIN_FOR_ROUTING_ONLY: u32 = 32768u32; |
3951 | #[repr(C)] | |
04454e1e | 3952 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_PasswordManagement\"`*"] |
5e7ed085 FG |
3953 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))] |
3954 | pub struct MSV1_0_VALIDATION_INFO { | |
3955 | pub LogoffTime: i64, | |
3956 | pub KickoffTime: i64, | |
3957 | pub LogonServer: super::super::super::Foundation::UNICODE_STRING, | |
3958 | pub LogonDomainName: super::super::super::Foundation::UNICODE_STRING, | |
3959 | pub SessionKey: USER_SESSION_KEY, | |
3960 | pub Authoritative: super::super::super::Foundation::BOOLEAN, | |
3961 | pub UserFlags: u32, | |
3962 | pub WhichFields: u32, | |
3963 | pub UserId: u32, | |
3964 | } | |
3965 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))] | |
3966 | impl ::core::marker::Copy for MSV1_0_VALIDATION_INFO {} | |
3967 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))] | |
3968 | impl ::core::clone::Clone for MSV1_0_VALIDATION_INFO { | |
3969 | fn clone(&self) -> Self { | |
3970 | *self | |
3971 | } | |
3972 | } | |
04454e1e | 3973 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3974 | pub const MSV1_0_VALIDATION_KICKOFF_TIME: u32 = 2u32; |
04454e1e | 3975 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3976 | pub const MSV1_0_VALIDATION_LOGOFF_TIME: u32 = 1u32; |
04454e1e | 3977 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3978 | pub const MSV1_0_VALIDATION_LOGON_DOMAIN: u32 = 8u32; |
04454e1e | 3979 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3980 | pub const MSV1_0_VALIDATION_LOGON_SERVER: u32 = 4u32; |
04454e1e | 3981 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3982 | pub const MSV1_0_VALIDATION_SESSION_KEY: u32 = 16u32; |
04454e1e | 3983 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3984 | pub const MSV1_0_VALIDATION_USER_FLAGS: u32 = 32u32; |
04454e1e | 3985 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3986 | pub const MSV1_0_VALIDATION_USER_ID: u32 = 64u32; |
04454e1e | 3987 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3988 | pub type MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = u32; |
04454e1e | 3989 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3990 | pub const MSV1_0_CLEARTEXT_PASSWORD_ALLOWED: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 2u32; |
04454e1e | 3991 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3992 | pub const MSV1_0_UPDATE_LOGON_STATISTICS: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 4u32; |
04454e1e | 3993 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3994 | pub const MSV1_0_RETURN_USER_PARAMETERS: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 8u32; |
04454e1e | 3995 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3996 | pub const MSV1_0_DONT_TRY_GUEST_ACCOUNT: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 16u32; |
04454e1e | 3997 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 3998 | pub const MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 32u32; |
04454e1e | 3999 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4000 | pub const MSV1_0_RETURN_PASSWORD_EXPIRY: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 64u32; |
04454e1e | 4001 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4002 | pub const MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 2048u32; |
04454e1e | 4003 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4004 | pub const MSV1_0_TRY_GUEST_ACCOUNT_ONLY: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 256u32; |
04454e1e | 4005 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4006 | pub const MSV1_0_RETURN_PROFILE_PATH: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 512u32; |
04454e1e | 4007 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4008 | pub const MSV1_0_TRY_SPECIFIED_DOMAIN_ONLY: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 1024u32; |
04454e1e | 4009 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4010 | pub type MSV_SUB_AUTHENTICATION_FILTER = u32; |
04454e1e | 4011 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4012 | pub const LOGON_GUEST: MSV_SUB_AUTHENTICATION_FILTER = 1u32; |
04454e1e | 4013 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4014 | pub const LOGON_NOENCRYPTION: MSV_SUB_AUTHENTICATION_FILTER = 2u32; |
04454e1e | 4015 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4016 | pub const LOGON_CACHED_ACCOUNT: MSV_SUB_AUTHENTICATION_FILTER = 4u32; |
04454e1e | 4017 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4018 | pub const LOGON_USED_LM_PASSWORD: MSV_SUB_AUTHENTICATION_FILTER = 8u32; |
04454e1e | 4019 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4020 | pub const LOGON_EXTRA_SIDS: MSV_SUB_AUTHENTICATION_FILTER = 32u32; |
04454e1e | 4021 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4022 | pub const LOGON_SUBAUTH_SESSION_KEY: MSV_SUB_AUTHENTICATION_FILTER = 64u32; |
04454e1e | 4023 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4024 | pub const LOGON_SERVER_TRUST_ACCOUNT: MSV_SUB_AUTHENTICATION_FILTER = 128u32; |
04454e1e | 4025 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4026 | pub const LOGON_PROFILE_PATH_RETURNED: MSV_SUB_AUTHENTICATION_FILTER = 1024u32; |
04454e1e | 4027 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4028 | pub const LOGON_RESOURCE_GROUPS: MSV_SUB_AUTHENTICATION_FILTER = 512u32; |
04454e1e | 4029 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4030 | pub type MSV_SUPPLEMENTAL_CREDENTIAL_FLAGS = u32; |
04454e1e | 4031 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4032 | pub const MSV1_0_CRED_LM_PRESENT: MSV_SUPPLEMENTAL_CREDENTIAL_FLAGS = 1u32; |
04454e1e | 4033 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4034 | pub const MSV1_0_CRED_NT_PRESENT: MSV_SUPPLEMENTAL_CREDENTIAL_FLAGS = 2u32; |
04454e1e | 4035 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4036 | pub const MSV1_0_CRED_VERSION: MSV_SUPPLEMENTAL_CREDENTIAL_FLAGS = 0u32; |
04454e1e | 4037 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 4038 | pub const NEGOSSP_NAME: &str = "Negotiate"; |
04454e1e | 4039 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 4040 | pub const NEGOSSP_NAME_A: &str = "Negotiate"; |
04454e1e | 4041 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 4042 | pub const NEGOSSP_NAME_W: &str = "Negotiate"; |
04454e1e | 4043 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
4044 | pub const NEGOTIATE_ALLOW_NTLM: u32 = 268435456u32; |
4045 | #[repr(C)] | |
04454e1e | 4046 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4047 | #[cfg(feature = "Win32_Foundation")] |
4048 | pub struct NEGOTIATE_CALLER_NAME_REQUEST { | |
4049 | pub MessageType: u32, | |
4050 | pub LogonId: super::super::super::Foundation::LUID, | |
4051 | } | |
4052 | #[cfg(feature = "Win32_Foundation")] | |
4053 | impl ::core::marker::Copy for NEGOTIATE_CALLER_NAME_REQUEST {} | |
4054 | #[cfg(feature = "Win32_Foundation")] | |
4055 | impl ::core::clone::Clone for NEGOTIATE_CALLER_NAME_REQUEST { | |
4056 | fn clone(&self) -> Self { | |
4057 | *self | |
4058 | } | |
4059 | } | |
4060 | #[repr(C)] | |
04454e1e | 4061 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
4062 | pub struct NEGOTIATE_CALLER_NAME_RESPONSE { |
4063 | pub MessageType: u32, | |
04454e1e | 4064 | pub CallerName: ::windows_sys::core::PWSTR, |
5e7ed085 | 4065 | } |
5e7ed085 | 4066 | impl ::core::marker::Copy for NEGOTIATE_CALLER_NAME_RESPONSE {} |
5e7ed085 FG |
4067 | impl ::core::clone::Clone for NEGOTIATE_CALLER_NAME_RESPONSE { |
4068 | fn clone(&self) -> Self { | |
4069 | *self | |
4070 | } | |
4071 | } | |
04454e1e | 4072 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4073 | pub const NEGOTIATE_MAX_PREFIX: u32 = 32u32; |
04454e1e | 4074 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4075 | pub type NEGOTIATE_MESSAGES = i32; |
04454e1e | 4076 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4077 | pub const NegEnumPackagePrefixes: NEGOTIATE_MESSAGES = 0i32; |
04454e1e | 4078 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4079 | pub const NegGetCallerName: NEGOTIATE_MESSAGES = 1i32; |
04454e1e | 4080 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4081 | pub const NegTransferCredentials: NEGOTIATE_MESSAGES = 2i32; |
04454e1e | 4082 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4083 | pub const NegMsgReserved1: NEGOTIATE_MESSAGES = 3i32; |
04454e1e | 4084 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4085 | pub const NegCallPackageMax: NEGOTIATE_MESSAGES = 4i32; |
04454e1e | 4086 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
4087 | pub const NEGOTIATE_NEG_NTLM: u32 = 536870912u32; |
4088 | #[repr(C)] | |
04454e1e | 4089 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
4090 | pub struct NEGOTIATE_PACKAGE_PREFIX { |
4091 | pub PackageId: usize, | |
4092 | pub PackageDataA: *mut ::core::ffi::c_void, | |
4093 | pub PackageDataW: *mut ::core::ffi::c_void, | |
4094 | pub PrefixLen: usize, | |
4095 | pub Prefix: [u8; 32], | |
4096 | } | |
4097 | impl ::core::marker::Copy for NEGOTIATE_PACKAGE_PREFIX {} | |
4098 | impl ::core::clone::Clone for NEGOTIATE_PACKAGE_PREFIX { | |
4099 | fn clone(&self) -> Self { | |
4100 | *self | |
4101 | } | |
4102 | } | |
4103 | #[repr(C)] | |
04454e1e | 4104 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
4105 | pub struct NEGOTIATE_PACKAGE_PREFIXES { |
4106 | pub MessageType: u32, | |
4107 | pub PrefixCount: u32, | |
4108 | pub Offset: u32, | |
4109 | pub Pad: u32, | |
4110 | } | |
4111 | impl ::core::marker::Copy for NEGOTIATE_PACKAGE_PREFIXES {} | |
4112 | impl ::core::clone::Clone for NEGOTIATE_PACKAGE_PREFIXES { | |
4113 | fn clone(&self) -> Self { | |
4114 | *self | |
4115 | } | |
4116 | } | |
4117 | #[repr(C)] | |
04454e1e | 4118 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4119 | #[cfg(feature = "Win32_Foundation")] |
4120 | pub struct NETLOGON_GENERIC_INFO { | |
4121 | pub Identity: NETLOGON_LOGON_IDENTITY_INFO, | |
4122 | pub PackageName: super::super::super::Foundation::UNICODE_STRING, | |
4123 | pub DataLength: u32, | |
4124 | pub LogonData: *mut u8, | |
4125 | } | |
4126 | #[cfg(feature = "Win32_Foundation")] | |
4127 | impl ::core::marker::Copy for NETLOGON_GENERIC_INFO {} | |
4128 | #[cfg(feature = "Win32_Foundation")] | |
4129 | impl ::core::clone::Clone for NETLOGON_GENERIC_INFO { | |
4130 | fn clone(&self) -> Self { | |
4131 | *self | |
4132 | } | |
4133 | } | |
4134 | #[repr(C)] | |
04454e1e | 4135 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_PasswordManagement\"`*"] |
5e7ed085 FG |
4136 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))] |
4137 | pub struct NETLOGON_INTERACTIVE_INFO { | |
4138 | pub Identity: NETLOGON_LOGON_IDENTITY_INFO, | |
4139 | pub LmOwfPassword: super::super::super::System::PasswordManagement::LM_OWF_PASSWORD, | |
4140 | pub NtOwfPassword: super::super::super::System::PasswordManagement::LM_OWF_PASSWORD, | |
4141 | } | |
4142 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))] | |
4143 | impl ::core::marker::Copy for NETLOGON_INTERACTIVE_INFO {} | |
4144 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))] | |
4145 | impl ::core::clone::Clone for NETLOGON_INTERACTIVE_INFO { | |
4146 | fn clone(&self) -> Self { | |
4147 | *self | |
4148 | } | |
4149 | } | |
4150 | #[repr(C)] | |
04454e1e | 4151 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4152 | #[cfg(feature = "Win32_Foundation")] |
4153 | pub struct NETLOGON_LOGON_IDENTITY_INFO { | |
4154 | pub LogonDomainName: super::super::super::Foundation::UNICODE_STRING, | |
4155 | pub ParameterControl: u32, | |
4156 | pub LogonId: i64, | |
4157 | pub UserName: super::super::super::Foundation::UNICODE_STRING, | |
4158 | pub Workstation: super::super::super::Foundation::UNICODE_STRING, | |
4159 | } | |
4160 | #[cfg(feature = "Win32_Foundation")] | |
4161 | impl ::core::marker::Copy for NETLOGON_LOGON_IDENTITY_INFO {} | |
4162 | #[cfg(feature = "Win32_Foundation")] | |
4163 | impl ::core::clone::Clone for NETLOGON_LOGON_IDENTITY_INFO { | |
4164 | fn clone(&self) -> Self { | |
4165 | *self | |
4166 | } | |
4167 | } | |
04454e1e | 4168 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4169 | pub type NETLOGON_LOGON_INFO_CLASS = i32; |
04454e1e | 4170 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4171 | pub const NetlogonInteractiveInformation: NETLOGON_LOGON_INFO_CLASS = 1i32; |
04454e1e | 4172 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4173 | pub const NetlogonNetworkInformation: NETLOGON_LOGON_INFO_CLASS = 2i32; |
04454e1e | 4174 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4175 | pub const NetlogonServiceInformation: NETLOGON_LOGON_INFO_CLASS = 3i32; |
04454e1e | 4176 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4177 | pub const NetlogonGenericInformation: NETLOGON_LOGON_INFO_CLASS = 4i32; |
04454e1e | 4178 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4179 | pub const NetlogonInteractiveTransitiveInformation: NETLOGON_LOGON_INFO_CLASS = 5i32; |
04454e1e | 4180 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4181 | pub const NetlogonNetworkTransitiveInformation: NETLOGON_LOGON_INFO_CLASS = 6i32; |
04454e1e | 4182 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
4183 | pub const NetlogonServiceTransitiveInformation: NETLOGON_LOGON_INFO_CLASS = 7i32; |
4184 | #[repr(C)] | |
04454e1e | 4185 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] |
5e7ed085 FG |
4186 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] |
4187 | pub struct NETLOGON_NETWORK_INFO { | |
4188 | pub Identity: NETLOGON_LOGON_IDENTITY_INFO, | |
4189 | pub LmChallenge: CLEAR_BLOCK, | |
4190 | pub NtChallengeResponse: super::super::super::System::Kernel::STRING, | |
4191 | pub LmChallengeResponse: super::super::super::System::Kernel::STRING, | |
4192 | } | |
4193 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] | |
4194 | impl ::core::marker::Copy for NETLOGON_NETWORK_INFO {} | |
4195 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] | |
4196 | impl ::core::clone::Clone for NETLOGON_NETWORK_INFO { | |
4197 | fn clone(&self) -> Self { | |
4198 | *self | |
4199 | } | |
4200 | } | |
4201 | #[repr(C)] | |
04454e1e | 4202 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_PasswordManagement\"`*"] |
5e7ed085 FG |
4203 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))] |
4204 | pub struct NETLOGON_SERVICE_INFO { | |
4205 | pub Identity: NETLOGON_LOGON_IDENTITY_INFO, | |
4206 | pub LmOwfPassword: super::super::super::System::PasswordManagement::LM_OWF_PASSWORD, | |
4207 | pub NtOwfPassword: super::super::super::System::PasswordManagement::LM_OWF_PASSWORD, | |
4208 | } | |
4209 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))] | |
4210 | impl ::core::marker::Copy for NETLOGON_SERVICE_INFO {} | |
4211 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))] | |
4212 | impl ::core::clone::Clone for NETLOGON_SERVICE_INFO { | |
4213 | fn clone(&self) -> Self { | |
4214 | *self | |
4215 | } | |
4216 | } | |
04454e1e | 4217 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4218 | pub const NGC_DATA_FLAG_IS_CLOUD_TRUST_CRED: u32 = 8u32; |
04454e1e | 4219 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4220 | pub const NGC_DATA_FLAG_IS_SMARTCARD_DATA: u32 = 4u32; |
04454e1e | 4221 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4222 | pub const NGC_DATA_FLAG_KERB_CERTIFICATE_LOGON_FLAG_CHECK_DUPLICATES: u32 = 1u32; |
04454e1e | 4223 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4224 | pub const NGC_DATA_FLAG_KERB_CERTIFICATE_LOGON_FLAG_USE_CERTIFICATE_INFO: u32 = 2u32; |
04454e1e | 4225 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4226 | pub const NOTIFIER_FLAG_NEW_THREAD: u32 = 1u32; |
04454e1e | 4227 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4228 | pub const NOTIFIER_FLAG_ONE_SHOT: u32 = 2u32; |
04454e1e | 4229 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4230 | pub const NOTIFIER_FLAG_SECONDS: u32 = 2147483648u32; |
04454e1e | 4231 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4232 | pub const NOTIFIER_TYPE_HANDLE_WAIT: u32 = 2u32; |
04454e1e | 4233 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4234 | pub const NOTIFIER_TYPE_IMMEDIATE: u32 = 16u32; |
04454e1e | 4235 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4236 | pub const NOTIFIER_TYPE_INTERVAL: u32 = 1u32; |
04454e1e | 4237 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4238 | pub const NOTIFIER_TYPE_NOTIFY_EVENT: u32 = 4u32; |
04454e1e | 4239 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4240 | pub const NOTIFIER_TYPE_STATE_CHANGE: u32 = 3u32; |
04454e1e | 4241 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4242 | pub const NOTIFY_CLASS_DOMAIN_CHANGE: u32 = 3u32; |
04454e1e | 4243 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4244 | pub const NOTIFY_CLASS_PACKAGE_CHANGE: u32 = 1u32; |
04454e1e | 4245 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4246 | pub const NOTIFY_CLASS_REGISTRY_CHANGE: u32 = 4u32; |
04454e1e | 4247 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4248 | pub const NOTIFY_CLASS_ROLE_CHANGE: u32 = 2u32; |
04454e1e | 4249 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4250 | pub const NO_LONG_NAMES: u32 = 2u32; |
04454e1e | 4251 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 4252 | pub const NTLMSP_NAME: &str = "NTLM"; |
04454e1e | 4253 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 4254 | pub const NTLMSP_NAME_A: &str = "NTLM"; |
04454e1e | 4255 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 4256 | pub const PCT1SP_NAME: &str = "Microsoft PCT 1.0"; |
04454e1e | 4257 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 4258 | pub const PCT1SP_NAME_A: &str = "Microsoft PCT 1.0"; |
04454e1e | 4259 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 4260 | pub const PCT1SP_NAME_W: &str = "Microsoft PCT 1.0"; |
04454e1e | 4261 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4262 | pub const PER_USER_AUDIT_FAILURE_EXCLUDE: u32 = 8u32; |
04454e1e | 4263 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4264 | pub const PER_USER_AUDIT_FAILURE_INCLUDE: u32 = 4u32; |
04454e1e | 4265 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4266 | pub const PER_USER_AUDIT_NONE: u32 = 16u32; |
04454e1e | 4267 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4268 | pub const PER_USER_AUDIT_SUCCESS_EXCLUDE: u32 = 2u32; |
04454e1e | 4269 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4270 | pub const PER_USER_AUDIT_SUCCESS_INCLUDE: u32 = 1u32; |
04454e1e | 4271 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4272 | pub const PER_USER_POLICY_UNCHANGED: u32 = 0u32; |
04454e1e | 4273 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4274 | pub type PKSEC_CREATE_CONTEXT_LIST = ::core::option::Option<unsafe extern "system" fn(r#type: KSEC_CONTEXT_TYPE) -> *mut ::core::ffi::c_void>; |
04454e1e | 4275 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_System_Kernel\"`*"] |
5e7ed085 FG |
4276 | #[cfg(feature = "Win32_System_Kernel")] |
4277 | pub type PKSEC_DEREFERENCE_LIST_ENTRY = ::core::option::Option<unsafe extern "system" fn(entry: *const KSEC_LIST_ENTRY, delete: *mut u8)>; | |
04454e1e | 4278 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_System_Kernel\"`*"] |
5e7ed085 FG |
4279 | #[cfg(feature = "Win32_System_Kernel")] |
4280 | pub type PKSEC_INSERT_LIST_ENTRY = ::core::option::Option<unsafe extern "system" fn(list: *const ::core::ffi::c_void, entry: *const KSEC_LIST_ENTRY)>; | |
04454e1e | 4281 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4282 | pub type PKSEC_LOCATE_PKG_BY_ID = ::core::option::Option<unsafe extern "system" fn(packageid: u32) -> *mut ::core::ffi::c_void>; |
04454e1e | 4283 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] |
5e7ed085 FG |
4284 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] |
4285 | pub type PKSEC_REFERENCE_LIST_ENTRY = ::core::option::Option<unsafe extern "system" fn(entry: *const KSEC_LIST_ENTRY, signature: u32, removenoref: super::super::super::Foundation::BOOLEAN) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4286 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4287 | #[cfg(feature = "Win32_Foundation")] |
4288 | pub type PKSEC_SERIALIZE_SCHANNEL_AUTH_DATA = ::core::option::Option<unsafe extern "system" fn(pvauthdata: *const ::core::ffi::c_void, size: *mut u32, serializeddata: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4289 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4290 | #[cfg(feature = "Win32_Foundation")] |
4291 | pub type PKSEC_SERIALIZE_WINNT_AUTH_DATA = ::core::option::Option<unsafe extern "system" fn(pvauthdata: *const ::core::ffi::c_void, size: *mut u32, serializeddata: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>; | |
4292 | #[repr(C)] | |
04454e1e | 4293 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4294 | #[cfg(feature = "Win32_Foundation")] |
4295 | pub struct PKU2U_CERTIFICATE_S4U_LOGON { | |
4296 | pub MessageType: PKU2U_LOGON_SUBMIT_TYPE, | |
4297 | pub Flags: u32, | |
4298 | pub UserPrincipalName: super::super::super::Foundation::UNICODE_STRING, | |
4299 | pub DomainName: super::super::super::Foundation::UNICODE_STRING, | |
4300 | pub CertificateLength: u32, | |
4301 | pub Certificate: *mut u8, | |
4302 | } | |
4303 | #[cfg(feature = "Win32_Foundation")] | |
4304 | impl ::core::marker::Copy for PKU2U_CERTIFICATE_S4U_LOGON {} | |
4305 | #[cfg(feature = "Win32_Foundation")] | |
4306 | impl ::core::clone::Clone for PKU2U_CERTIFICATE_S4U_LOGON { | |
4307 | fn clone(&self) -> Self { | |
4308 | *self | |
4309 | } | |
4310 | } | |
4311 | #[repr(C)] | |
04454e1e | 4312 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
4313 | pub struct PKU2U_CERT_BLOB { |
4314 | pub CertOffset: u32, | |
4315 | pub CertLength: u16, | |
4316 | } | |
4317 | impl ::core::marker::Copy for PKU2U_CERT_BLOB {} | |
4318 | impl ::core::clone::Clone for PKU2U_CERT_BLOB { | |
4319 | fn clone(&self) -> Self { | |
4320 | *self | |
4321 | } | |
4322 | } | |
4323 | #[repr(C)] | |
04454e1e | 4324 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
4325 | pub struct PKU2U_CREDUI_CONTEXT { |
4326 | pub Version: u64, | |
4327 | pub cbHeaderLength: u16, | |
4328 | pub cbStructureLength: u32, | |
4329 | pub CertArrayCount: u16, | |
4330 | pub CertArrayOffset: u32, | |
4331 | } | |
4332 | impl ::core::marker::Copy for PKU2U_CREDUI_CONTEXT {} | |
4333 | impl ::core::clone::Clone for PKU2U_CREDUI_CONTEXT { | |
4334 | fn clone(&self) -> Self { | |
4335 | *self | |
4336 | } | |
4337 | } | |
04454e1e | 4338 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4339 | pub type PKU2U_LOGON_SUBMIT_TYPE = i32; |
04454e1e | 4340 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4341 | pub const Pku2uCertificateS4ULogon: PKU2U_LOGON_SUBMIT_TYPE = 14i32; |
04454e1e | 4342 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 4343 | pub const PKU2U_PACKAGE_NAME: &str = "pku2u"; |
04454e1e | 4344 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 4345 | pub const PKU2U_PACKAGE_NAME_A: &str = "pku2u"; |
04454e1e | 4346 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 4347 | pub const PKU2U_PACKAGE_NAME_W: &str = "pku2u"; |
04454e1e | 4348 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] |
5e7ed085 FG |
4349 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] |
4350 | pub type PLSA_ADD_CREDENTIAL = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, authenticationpackage: u32, primarykeyvalue: *const super::super::super::System::Kernel::STRING, credentials: *const super::super::super::System::Kernel::STRING) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4351 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4352 | #[cfg(feature = "Win32_Foundation")] |
4353 | pub type PLSA_ALLOCATE_CLIENT_BUFFER = ::core::option::Option<unsafe extern "system" fn(clientrequest: *const *const ::core::ffi::c_void, lengthrequired: u32, clientbaseaddress: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4354 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4355 | pub type PLSA_ALLOCATE_LSA_HEAP = ::core::option::Option<unsafe extern "system" fn(length: u32) -> *mut ::core::ffi::c_void>; |
04454e1e | 4356 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4357 | pub type PLSA_ALLOCATE_PRIVATE_HEAP = ::core::option::Option<unsafe extern "system" fn(length: usize) -> *mut ::core::ffi::c_void>; |
04454e1e | 4358 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4359 | pub type PLSA_ALLOCATE_SHARED_MEMORY = ::core::option::Option<unsafe extern "system" fn(sharedmem: *const ::core::ffi::c_void, size: u32) -> *mut ::core::ffi::c_void>; |
04454e1e | 4360 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4361 | #[cfg(feature = "Win32_Foundation")] |
4362 | pub type PLSA_AP_CALL_PACKAGE = ::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::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4363 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4364 | #[cfg(feature = "Win32_Foundation")] |
4365 | pub type PLSA_AP_CALL_PACKAGE_PASSTHROUGH = ::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::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4366 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] |
5e7ed085 FG |
4367 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] |
4368 | pub type PLSA_AP_INITIALIZE_PACKAGE = ::core::option::Option<unsafe extern "system" fn(authenticationpackageid: u32, lsadispatchtable: *const LSA_DISPATCH_TABLE, database: *const super::super::super::System::Kernel::STRING, confidentiality: *const super::super::super::System::Kernel::STRING, authenticationpackagename: *mut *mut super::super::super::System::Kernel::STRING) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4369 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4370 | #[cfg(feature = "Win32_Foundation")] |
4371 | pub type PLSA_AP_LOGON_TERMINATED = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID)>; | |
04454e1e | 4372 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4373 | #[cfg(feature = "Win32_Foundation")] |
4374 | pub type PLSA_AP_LOGON_USER = ::core::option::Option<unsafe extern "system" fn(clientrequest: *const *const ::core::ffi::c_void, logontype: SECURITY_LOGON_TYPE, authenticationinformation: *const ::core::ffi::c_void, clientauthenticationbase: *const ::core::ffi::c_void, authenticationinformationlength: u32, profilebuffer: *mut *mut ::core::ffi::c_void, profilebufferlength: *mut u32, logonid: *mut super::super::super::Foundation::LUID, substatus: *mut i32, tokeninformationtype: *mut LSA_TOKEN_INFORMATION_TYPE, tokeninformation: *mut *mut ::core::ffi::c_void, accountname: *mut *mut super::super::super::Foundation::UNICODE_STRING, authenticatingauthority: *mut *mut super::super::super::Foundation::UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4375 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4376 | #[cfg(feature = "Win32_Foundation")] |
4377 | pub type PLSA_AP_LOGON_USER_EX = ::core::option::Option< | |
4378 | unsafe extern "system" fn(clientrequest: *const *const ::core::ffi::c_void, logontype: SECURITY_LOGON_TYPE, authenticationinformation: *const ::core::ffi::c_void, clientauthenticationbase: *const ::core::ffi::c_void, authenticationinformationlength: u32, profilebuffer: *mut *mut ::core::ffi::c_void, profilebufferlength: *mut u32, logonid: *mut super::super::super::Foundation::LUID, substatus: *mut i32, tokeninformationtype: *mut LSA_TOKEN_INFORMATION_TYPE, tokeninformation: *mut *mut ::core::ffi::c_void, accountname: *mut *mut super::super::super::Foundation::UNICODE_STRING, authenticatingauthority: *mut *mut super::super::super::Foundation::UNICODE_STRING, machinename: *mut *mut super::super::super::Foundation::UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS, | |
4379 | >; | |
04454e1e | 4380 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4381 | #[cfg(feature = "Win32_Foundation")] |
4382 | pub type PLSA_AP_LOGON_USER_EX2 = ::core::option::Option< | |
4383 | unsafe extern "system" fn( | |
4384 | clientrequest: *const *const ::core::ffi::c_void, | |
4385 | logontype: SECURITY_LOGON_TYPE, | |
4386 | protocolsubmitbuffer: *const ::core::ffi::c_void, | |
4387 | clientbufferbase: *const ::core::ffi::c_void, | |
4388 | submitbuffersize: u32, | |
4389 | profilebuffer: *mut *mut ::core::ffi::c_void, | |
4390 | profilebuffersize: *mut u32, | |
4391 | logonid: *mut super::super::super::Foundation::LUID, | |
4392 | substatus: *mut i32, | |
4393 | tokeninformationtype: *mut LSA_TOKEN_INFORMATION_TYPE, | |
4394 | tokeninformation: *mut *mut ::core::ffi::c_void, | |
4395 | accountname: *mut *mut super::super::super::Foundation::UNICODE_STRING, | |
4396 | authenticatingauthority: *mut *mut super::super::super::Foundation::UNICODE_STRING, | |
4397 | machinename: *mut *mut super::super::super::Foundation::UNICODE_STRING, | |
4398 | primarycredentials: *mut SECPKG_PRIMARY_CRED, | |
4399 | supplementalcredentials: *mut *mut SECPKG_SUPPLEMENTAL_CRED_ARRAY, | |
4400 | ) -> super::super::super::Foundation::NTSTATUS, | |
4401 | >; | |
04454e1e | 4402 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4403 | #[cfg(feature = "Win32_Foundation")] |
4404 | pub type PLSA_AP_LOGON_USER_EX3 = ::core::option::Option< | |
4405 | unsafe extern "system" fn( | |
4406 | clientrequest: *const *const ::core::ffi::c_void, | |
4407 | logontype: SECURITY_LOGON_TYPE, | |
4408 | protocolsubmitbuffer: *const ::core::ffi::c_void, | |
4409 | clientbufferbase: *const ::core::ffi::c_void, | |
4410 | submitbuffersize: u32, | |
4411 | surrogatelogon: *mut SECPKG_SURROGATE_LOGON, | |
4412 | profilebuffer: *mut *mut ::core::ffi::c_void, | |
4413 | profilebuffersize: *mut u32, | |
4414 | logonid: *mut super::super::super::Foundation::LUID, | |
4415 | substatus: *mut i32, | |
4416 | tokeninformationtype: *mut LSA_TOKEN_INFORMATION_TYPE, | |
4417 | tokeninformation: *mut *mut ::core::ffi::c_void, | |
4418 | accountname: *mut *mut super::super::super::Foundation::UNICODE_STRING, | |
4419 | authenticatingauthority: *mut *mut super::super::super::Foundation::UNICODE_STRING, | |
4420 | machinename: *mut *mut super::super::super::Foundation::UNICODE_STRING, | |
4421 | primarycredentials: *mut SECPKG_PRIMARY_CRED, | |
4422 | supplementalcredentials: *mut *mut SECPKG_SUPPLEMENTAL_CRED_ARRAY, | |
4423 | ) -> super::super::super::Foundation::NTSTATUS, | |
4424 | >; | |
04454e1e | 4425 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4426 | #[cfg(feature = "Win32_Foundation")] |
4427 | pub type PLSA_AP_POST_LOGON_USER_SURROGATE = ::core::option::Option< | |
4428 | unsafe extern "system" fn( | |
4429 | clientrequest: *const *const ::core::ffi::c_void, | |
4430 | logontype: SECURITY_LOGON_TYPE, | |
4431 | protocolsubmitbuffer: *const ::core::ffi::c_void, | |
4432 | clientbufferbase: *const ::core::ffi::c_void, | |
4433 | submitbuffersize: u32, | |
4434 | surrogatelogon: *const SECPKG_SURROGATE_LOGON, | |
4435 | profilebuffer: *const ::core::ffi::c_void, | |
4436 | profilebuffersize: u32, | |
4437 | logonid: *const super::super::super::Foundation::LUID, | |
4438 | status: super::super::super::Foundation::NTSTATUS, | |
4439 | substatus: super::super::super::Foundation::NTSTATUS, | |
4440 | tokeninformationtype: LSA_TOKEN_INFORMATION_TYPE, | |
4441 | tokeninformation: *const ::core::ffi::c_void, | |
4442 | accountname: *const super::super::super::Foundation::UNICODE_STRING, | |
4443 | authenticatingauthority: *const super::super::super::Foundation::UNICODE_STRING, | |
4444 | machinename: *const super::super::super::Foundation::UNICODE_STRING, | |
4445 | primarycredentials: *const SECPKG_PRIMARY_CRED, | |
4446 | supplementalcredentials: *const SECPKG_SUPPLEMENTAL_CRED_ARRAY, | |
4447 | ) -> super::super::super::Foundation::NTSTATUS, | |
4448 | >; | |
04454e1e | 4449 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4450 | #[cfg(feature = "Win32_Foundation")] |
4451 | pub type PLSA_AP_PRE_LOGON_USER_SURROGATE = ::core::option::Option<unsafe extern "system" fn(clientrequest: *const *const ::core::ffi::c_void, logontype: SECURITY_LOGON_TYPE, protocolsubmitbuffer: *const ::core::ffi::c_void, clientbufferbase: *const ::core::ffi::c_void, submitbuffersize: u32, surrogatelogon: *mut SECPKG_SURROGATE_LOGON, substatus: *mut i32) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4452 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4453 | #[cfg(feature = "Win32_Foundation")] |
4454 | pub type PLSA_AUDIT_ACCOUNT_LOGON = ::core::option::Option<unsafe extern "system" fn(auditid: u32, success: super::super::super::Foundation::BOOLEAN, source: *const super::super::super::Foundation::UNICODE_STRING, clientname: *const super::super::super::Foundation::UNICODE_STRING, mappedname: *const super::super::super::Foundation::UNICODE_STRING, status: super::super::super::Foundation::NTSTATUS) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4455 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4456 | #[cfg(feature = "Win32_Foundation")] |
4457 | pub type PLSA_AUDIT_LOGON = ::core::option::Option<unsafe extern "system" fn(status: super::super::super::Foundation::NTSTATUS, substatus: super::super::super::Foundation::NTSTATUS, accountname: *const super::super::super::Foundation::UNICODE_STRING, authenticatingauthority: *const super::super::super::Foundation::UNICODE_STRING, workstationname: *const super::super::super::Foundation::UNICODE_STRING, usersid: super::super::super::Foundation::PSID, logontype: SECURITY_LOGON_TYPE, tokensource: *const super::super::TOKEN_SOURCE, logonid: *const super::super::super::Foundation::LUID)>; | |
04454e1e | 4458 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4459 | #[cfg(feature = "Win32_Foundation")] |
4460 | pub type PLSA_AUDIT_LOGON_EX = ::core::option::Option<unsafe extern "system" fn(status: super::super::super::Foundation::NTSTATUS, substatus: super::super::super::Foundation::NTSTATUS, accountname: *const super::super::super::Foundation::UNICODE_STRING, authenticatingauthority: *const super::super::super::Foundation::UNICODE_STRING, workstationname: *const super::super::super::Foundation::UNICODE_STRING, usersid: super::super::super::Foundation::PSID, logontype: SECURITY_LOGON_TYPE, impersonationlevel: super::super::SECURITY_IMPERSONATION_LEVEL, tokensource: *const super::super::TOKEN_SOURCE, logonid: *const super::super::super::Foundation::LUID)>; | |
04454e1e | 4461 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4462 | #[cfg(feature = "Win32_Foundation")] |
4463 | pub type PLSA_CALLBACK_FUNCTION = ::core::option::Option<unsafe extern "system" fn(argument1: usize, argument2: usize, inputbuffer: *mut SecBuffer, outputbuffer: *mut SecBuffer) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4464 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4465 | #[cfg(feature = "Win32_Foundation")] |
4466 | pub type PLSA_CALL_PACKAGE = ::core::option::Option<unsafe extern "system" fn(authenticationpackage: *const super::super::super::Foundation::UNICODE_STRING, protocolsubmitbuffer: *const ::core::ffi::c_void, submitbufferlength: u32, protocolreturnbuffer: *mut *mut ::core::ffi::c_void, returnbufferlength: *mut u32, protocolstatus: *mut i32) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4467 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4468 | #[cfg(feature = "Win32_Foundation")] |
4469 | pub type PLSA_CALL_PACKAGEEX = ::core::option::Option<unsafe extern "system" fn(authenticationpackage: *const super::super::super::Foundation::UNICODE_STRING, clientbufferbase: *const ::core::ffi::c_void, protocolsubmitbuffer: *const ::core::ffi::c_void, submitbufferlength: u32, protocolreturnbuffer: *mut *mut ::core::ffi::c_void, returnbufferlength: *mut u32, protocolstatus: *mut i32) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4470 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4471 | #[cfg(feature = "Win32_Foundation")] |
4472 | pub type PLSA_CALL_PACKAGE_PASSTHROUGH = ::core::option::Option<unsafe extern "system" fn(authenticationpackage: *const super::super::super::Foundation::UNICODE_STRING, clientbufferbase: *const ::core::ffi::c_void, protocolsubmitbuffer: *const ::core::ffi::c_void, submitbufferlength: u32, protocolreturnbuffer: *mut *mut ::core::ffi::c_void, returnbufferlength: *mut u32, protocolstatus: *mut i32) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4473 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4474 | #[cfg(feature = "Win32_Foundation")] |
4475 | pub type PLSA_CANCEL_NOTIFICATION = ::core::option::Option<unsafe extern "system" fn(notifyhandle: super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4476 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4477 | #[cfg(feature = "Win32_Foundation")] |
4478 | pub type PLSA_CHECK_PROTECTED_USER_BY_TOKEN = ::core::option::Option<unsafe extern "system" fn(usertoken: super::super::super::Foundation::HANDLE, protecteduser: *mut super::super::super::Foundation::BOOLEAN) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4479 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 4480 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
4481 | pub type PLSA_CLIENT_CALLBACK = ::core::option::Option<unsafe extern "system" fn(callback: ::windows_sys::core::PCSTR, argument1: usize, argument2: usize, input: *const SecBuffer, output: *mut SecBuffer) -> super::super::super::Foundation::NTSTATUS>; |
4482 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
4483 | #[cfg(feature = "Win32_Foundation")] |
4484 | pub type PLSA_CLOSE_SAM_USER = ::core::option::Option<unsafe extern "system" fn(userhandle: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4485 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4486 | #[cfg(feature = "Win32_Foundation")] |
4487 | pub type PLSA_CONVERT_AUTH_DATA_TO_TOKEN = ::core::option::Option<unsafe extern "system" fn(userauthdata: *const ::core::ffi::c_void, userauthdatasize: u32, impersonationlevel: super::super::SECURITY_IMPERSONATION_LEVEL, tokensource: *const super::super::TOKEN_SOURCE, logontype: SECURITY_LOGON_TYPE, authorityname: *const super::super::super::Foundation::UNICODE_STRING, token: *mut super::super::super::Foundation::HANDLE, logonid: *mut super::super::super::Foundation::LUID, accountname: *mut super::super::super::Foundation::UNICODE_STRING, substatus: *mut i32) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4488 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4489 | #[cfg(feature = "Win32_Foundation")] |
4490 | pub type PLSA_COPY_FROM_CLIENT_BUFFER = ::core::option::Option<unsafe extern "system" fn(clientrequest: *const *const ::core::ffi::c_void, length: u32, buffertocopy: *mut ::core::ffi::c_void, clientbaseaddress: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4491 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4492 | #[cfg(feature = "Win32_Foundation")] |
4493 | pub type PLSA_COPY_TO_CLIENT_BUFFER = ::core::option::Option<unsafe extern "system" fn(clientrequest: *const *const ::core::ffi::c_void, length: u32, clientbaseaddress: *mut ::core::ffi::c_void, buffertocopy: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4494 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4495 | #[cfg(feature = "Win32_Foundation")] |
4496 | pub type PLSA_CRACK_SINGLE_NAME = ::core::option::Option<unsafe extern "system" fn(formatoffered: u32, performatgc: super::super::super::Foundation::BOOLEAN, nameinput: *const super::super::super::Foundation::UNICODE_STRING, prefix: *const super::super::super::Foundation::UNICODE_STRING, requestedformat: u32, crackedname: *mut super::super::super::Foundation::UNICODE_STRING, dnsdomainname: *mut super::super::super::Foundation::UNICODE_STRING, substatus: *mut u32) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4497 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4498 | #[cfg(feature = "Win32_Foundation")] |
4499 | pub type PLSA_CREATE_LOGON_SESSION = ::core::option::Option<unsafe extern "system" fn(logonid: *mut super::super::super::Foundation::LUID) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4500 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4501 | pub type PLSA_CREATE_SHARED_MEMORY = ::core::option::Option<unsafe extern "system" fn(maxsize: u32, initialsize: u32) -> *mut ::core::ffi::c_void>; |
04454e1e | 4502 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"] |
5e7ed085 FG |
4503 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))] |
4504 | pub type PLSA_CREATE_THREAD = ::core::option::Option<unsafe extern "system" fn(securityattributes: *const super::super::SECURITY_ATTRIBUTES, stacksize: u32, startfunction: super::super::super::System::Threading::LPTHREAD_START_ROUTINE, threadparameter: *const ::core::ffi::c_void, creationflags: u32, threadid: *mut u32) -> super::super::super::Foundation::HANDLE>; | |
04454e1e | 4505 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4506 | #[cfg(feature = "Win32_Foundation")] |
4507 | pub type PLSA_CREATE_TOKEN = | |
4508 | ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, tokensource: *const super::super::TOKEN_SOURCE, logontype: SECURITY_LOGON_TYPE, impersonationlevel: super::super::SECURITY_IMPERSONATION_LEVEL, tokeninformationtype: LSA_TOKEN_INFORMATION_TYPE, tokeninformation: *const ::core::ffi::c_void, tokengroups: *const super::super::TOKEN_GROUPS, accountname: *const super::super::super::Foundation::UNICODE_STRING, authorityname: *const super::super::super::Foundation::UNICODE_STRING, workstation: *const super::super::super::Foundation::UNICODE_STRING, profilepath: *const super::super::super::Foundation::UNICODE_STRING, token: *mut super::super::super::Foundation::HANDLE, substatus: *mut i32) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4509 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4510 | #[cfg(feature = "Win32_Foundation")] |
4511 | pub type PLSA_CREATE_TOKEN_EX = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, tokensource: *const super::super::TOKEN_SOURCE, logontype: SECURITY_LOGON_TYPE, impersonationlevel: super::super::SECURITY_IMPERSONATION_LEVEL, tokeninformationtype: LSA_TOKEN_INFORMATION_TYPE, tokeninformation: *const ::core::ffi::c_void, tokengroups: *const super::super::TOKEN_GROUPS, workstation: *const super::super::super::Foundation::UNICODE_STRING, profilepath: *const super::super::super::Foundation::UNICODE_STRING, sessioninformation: *const ::core::ffi::c_void, sessioninformationtype: SECPKG_SESSIONINFO_TYPE, token: *mut super::super::super::Foundation::HANDLE, substatus: *mut i32) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4512 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] |
5e7ed085 FG |
4513 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] |
4514 | pub type PLSA_DELETE_CREDENTIAL = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, authenticationpackage: u32, primarykeyvalue: *const super::super::super::System::Kernel::STRING) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4515 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4516 | #[cfg(feature = "Win32_Foundation")] |
4517 | pub type PLSA_DELETE_LOGON_SESSION = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4518 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4519 | #[cfg(feature = "Win32_Foundation")] |
4520 | pub type PLSA_DELETE_SHARED_MEMORY = ::core::option::Option<unsafe extern "system" fn(sharedmem: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOLEAN>; | |
04454e1e | 4521 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4522 | #[cfg(feature = "Win32_Foundation")] |
4523 | pub type PLSA_DUPLICATE_HANDLE = ::core::option::Option<unsafe extern "system" fn(sourcehandle: super::super::super::Foundation::HANDLE, destionationhandle: *mut super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4524 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4525 | #[cfg(feature = "Win32_Foundation")] |
4526 | pub type PLSA_EXPAND_AUTH_DATA_FOR_DOMAIN = ::core::option::Option<unsafe extern "system" fn(userauthdata: *const u8, userauthdatasize: u32, reserved: *const ::core::ffi::c_void, expandedauthdata: *mut *mut u8, expandedauthdatasize: *mut u32) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4527 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4528 | #[cfg(feature = "Win32_Foundation")] |
4529 | pub type PLSA_FREE_CLIENT_BUFFER = ::core::option::Option<unsafe extern "system" fn(clientrequest: *const *const ::core::ffi::c_void, clientbaseaddress: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4530 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4531 | pub type PLSA_FREE_LSA_HEAP = ::core::option::Option<unsafe extern "system" fn(base: *const ::core::ffi::c_void)>; |
04454e1e | 4532 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4533 | pub type PLSA_FREE_PRIVATE_HEAP = ::core::option::Option<unsafe extern "system" fn(base: *const ::core::ffi::c_void)>; |
04454e1e | 4534 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4535 | pub type PLSA_FREE_SHARED_MEMORY = ::core::option::Option<unsafe extern "system" fn(sharedmem: *const ::core::ffi::c_void, memory: *mut ::core::ffi::c_void)>; |
04454e1e | 4536 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4537 | #[cfg(feature = "Win32_Foundation")] |
4538 | pub type PLSA_GET_APP_MODE_INFO = ::core::option::Option<unsafe extern "system" fn(userfunction: *mut u32, argument1: *mut usize, argument2: *mut usize, userdata: *mut SecBuffer, returntolsa: *mut super::super::super::Foundation::BOOLEAN) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4539 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4540 | #[cfg(feature = "Win32_Foundation")] |
4541 | pub type PLSA_GET_AUTH_DATA_FOR_USER = ::core::option::Option<unsafe extern "system" fn(name: *const super::super::super::Foundation::UNICODE_STRING, nametype: SECPKG_NAME_TYPE, prefix: *const super::super::super::Foundation::UNICODE_STRING, userauthdata: *mut *mut u8, userauthdatasize: *mut u32, userflatname: *mut super::super::super::Foundation::UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4542 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4543 | #[cfg(feature = "Win32_Foundation")] |
4544 | pub type PLSA_GET_CALL_INFO = ::core::option::Option<unsafe extern "system" fn(info: *mut SECPKG_CALL_INFO) -> super::super::super::Foundation::BOOLEAN>; | |
04454e1e | 4545 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4546 | #[cfg(feature = "Win32_Foundation")] |
4547 | pub type PLSA_GET_CLIENT_INFO = ::core::option::Option<unsafe extern "system" fn(clientinfo: *mut SECPKG_CLIENT_INFO) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4548 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] |
5e7ed085 FG |
4549 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] |
4550 | pub type PLSA_GET_CREDENTIALS = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, authenticationpackage: u32, querycontext: *mut u32, retrieveallcredentials: super::super::super::Foundation::BOOLEAN, primarykeyvalue: *const super::super::super::System::Kernel::STRING, primarykeylength: *mut u32, credentials: *const super::super::super::System::Kernel::STRING) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4551 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4552 | #[cfg(feature = "Win32_Foundation")] |
4553 | pub type PLSA_GET_EXTENDED_CALL_FLAGS = ::core::option::Option<unsafe extern "system" fn(flags: *mut u32) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4554 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4555 | #[cfg(feature = "Win32_Foundation")] |
4556 | pub type PLSA_GET_SERVICE_ACCOUNT_PASSWORD = ::core::option::Option<unsafe extern "system" fn(accountname: *const super::super::super::Foundation::UNICODE_STRING, domainname: *const super::super::super::Foundation::UNICODE_STRING, credfetch: CRED_FETCH, filetimeexpiry: *mut super::super::super::Foundation::FILETIME, currentpassword: *mut super::super::super::Foundation::UNICODE_STRING, previouspassword: *mut super::super::super::Foundation::UNICODE_STRING, filetimecurrpwdvalidforoutbound: *mut super::super::super::Foundation::FILETIME) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4557 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4558 | #[cfg(feature = "Win32_Foundation")] |
4559 | pub type PLSA_GET_USER_AUTH_DATA = ::core::option::Option<unsafe extern "system" fn(userhandle: *const ::core::ffi::c_void, userauthdata: *mut *mut u8, userauthdatasize: *mut u32) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4560 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4561 | #[cfg(feature = "Win32_Foundation")] |
4562 | pub type PLSA_GET_USER_CREDENTIALS = ::core::option::Option<unsafe extern "system" fn(userhandle: *const ::core::ffi::c_void, primarycreds: *mut *mut ::core::ffi::c_void, primarycredssize: *mut u32, supplementalcreds: *mut *mut ::core::ffi::c_void, supplementalcredssize: *mut u32) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4563 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4564 | #[cfg(feature = "Win32_Foundation")] |
4565 | pub type PLSA_IMPERSONATE_CLIENT = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4566 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4567 | pub type PLSA_LOCATE_PKG_BY_ID = ::core::option::Option<unsafe extern "system" fn(packgeid: u32) -> *mut ::core::ffi::c_void>; |
04454e1e | 4568 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4569 | #[cfg(feature = "Win32_Foundation")] |
4570 | pub type PLSA_MAP_BUFFER = ::core::option::Option<unsafe extern "system" fn(inputbuffer: *const SecBuffer, outputbuffer: *mut SecBuffer) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4571 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4572 | #[cfg(feature = "Win32_Foundation")] |
4573 | pub type PLSA_OPEN_SAM_USER = ::core::option::Option<unsafe extern "system" fn(name: *const super::super::super::Foundation::UNICODE_STRING, nametype: SECPKG_NAME_TYPE, prefix: *const super::super::super::Foundation::UNICODE_STRING, allowguest: super::super::super::Foundation::BOOLEAN, reserved: u32, userhandle: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4574 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4575 | #[cfg(feature = "Win32_Foundation")] |
4576 | pub type PLSA_OPEN_TOKEN_BY_LOGON_ID = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, rettokenhandle: *mut super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4577 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4578 | pub type PLSA_PROTECT_MEMORY = ::core::option::Option<unsafe extern "system" fn(buffer: *mut ::core::ffi::c_void, buffersize: u32)>; |
04454e1e | 4579 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4580 | #[cfg(feature = "Win32_Foundation")] |
4581 | pub type PLSA_QUERY_CLIENT_REQUEST = ::core::option::Option<unsafe extern "system" fn(clientrequest: *const *const ::core::ffi::c_void, querytype: u32, replybuffer: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4582 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4583 | #[cfg(feature = "Win32_Foundation")] |
4584 | pub type PLSA_REDIRECTED_LOGON_CALLBACK = ::core::option::Option<unsafe extern "system" fn(redirectedlogonhandle: super::super::super::Foundation::HANDLE, buffer: *mut ::core::ffi::c_void, bufferlength: u32, returnbuffer: *mut *mut ::core::ffi::c_void, returnbufferlength: *mut u32) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4585 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4586 | #[cfg(feature = "Win32_Foundation")] |
4587 | pub type PLSA_REDIRECTED_LOGON_CLEANUP_CALLBACK = ::core::option::Option<unsafe extern "system" fn(redirectedlogonhandle: super::super::super::Foundation::HANDLE)>; | |
04454e1e | 4588 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4589 | #[cfg(feature = "Win32_Foundation")] |
4590 | pub type PLSA_REDIRECTED_LOGON_GET_LOGON_CREDS = ::core::option::Option<unsafe extern "system" fn(redirectedlogonhandle: super::super::super::Foundation::HANDLE, logonbuffer: *mut *mut u8, logonbufferlength: *mut u32) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4591 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4592 | #[cfg(feature = "Win32_Foundation")] |
4593 | pub type PLSA_REDIRECTED_LOGON_GET_SUPP_CREDS = ::core::option::Option<unsafe extern "system" fn(redirectedlogonhandle: super::super::super::Foundation::HANDLE, supplementalcredentials: *mut *mut SECPKG_SUPPLEMENTAL_CRED_ARRAY) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4594 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4595 | #[cfg(feature = "Win32_Foundation")] |
4596 | pub type PLSA_REDIRECTED_LOGON_INIT = ::core::option::Option<unsafe extern "system" fn(redirectedlogonhandle: super::super::super::Foundation::HANDLE, packagename: *const super::super::super::Foundation::UNICODE_STRING, sessionid: u32, logonid: *const super::super::super::Foundation::LUID) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4597 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4598 | #[cfg(feature = "Win32_Foundation")] |
4599 | pub type PLSA_REGISTER_CALLBACK = ::core::option::Option<unsafe extern "system" fn(callbackid: u32, callback: PLSA_CALLBACK_FUNCTION) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4600 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"] |
5e7ed085 FG |
4601 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))] |
4602 | pub type PLSA_REGISTER_NOTIFICATION = ::core::option::Option<unsafe extern "system" fn(startfunction: super::super::super::System::Threading::LPTHREAD_START_ROUTINE, parameter: *const ::core::ffi::c_void, notificationtype: u32, notificationclass: u32, notificationflags: u32, intervalminutes: u32, waitevent: super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::HANDLE>; | |
04454e1e | 4603 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4604 | #[cfg(feature = "Win32_Foundation")] |
4605 | pub type PLSA_SAVE_SUPPLEMENTAL_CREDENTIALS = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, supplementalcredsize: u32, supplementalcreds: *const ::core::ffi::c_void, synchronous: super::super::super::Foundation::BOOLEAN) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4606 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4607 | #[cfg(feature = "Win32_Foundation")] |
4608 | pub type PLSA_SET_APP_MODE_INFO = ::core::option::Option<unsafe extern "system" fn(userfunction: u32, argument1: usize, argument2: usize, userdata: *const SecBuffer, returntolsa: super::super::super::Foundation::BOOLEAN) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4609 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4610 | #[cfg(feature = "Win32_Foundation")] |
4611 | pub type PLSA_UNLOAD_PACKAGE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 4612 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4613 | #[cfg(feature = "Win32_Foundation")] |
4614 | pub type PLSA_UPDATE_PRIMARY_CREDENTIALS = ::core::option::Option<unsafe extern "system" fn(primarycredentials: *const SECPKG_PRIMARY_CRED, credentials: *const SECPKG_SUPPLEMENTAL_CRED_ARRAY) -> super::super::super::Foundation::NTSTATUS>; | |
4615 | #[repr(C)] | |
04454e1e | 4616 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4617 | #[cfg(feature = "Win32_Foundation")] |
4618 | pub struct POLICY_ACCOUNT_DOMAIN_INFO { | |
4619 | pub DomainName: super::super::super::Foundation::UNICODE_STRING, | |
4620 | pub DomainSid: super::super::super::Foundation::PSID, | |
4621 | } | |
4622 | #[cfg(feature = "Win32_Foundation")] | |
4623 | impl ::core::marker::Copy for POLICY_ACCOUNT_DOMAIN_INFO {} | |
4624 | #[cfg(feature = "Win32_Foundation")] | |
4625 | impl ::core::clone::Clone for POLICY_ACCOUNT_DOMAIN_INFO { | |
4626 | fn clone(&self) -> Self { | |
4627 | *self | |
4628 | } | |
4629 | } | |
4630 | #[repr(C)] | |
04454e1e | 4631 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
4632 | pub struct POLICY_AUDIT_CATEGORIES_INFO { |
4633 | pub MaximumCategoryCount: u32, | |
4634 | pub SubCategoriesInfo: *mut POLICY_AUDIT_SUBCATEGORIES_INFO, | |
4635 | } | |
4636 | impl ::core::marker::Copy for POLICY_AUDIT_CATEGORIES_INFO {} | |
4637 | impl ::core::clone::Clone for POLICY_AUDIT_CATEGORIES_INFO { | |
4638 | fn clone(&self) -> Self { | |
4639 | *self | |
4640 | } | |
4641 | } | |
4642 | #[repr(C)] | |
04454e1e | 4643 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4644 | #[cfg(feature = "Win32_Foundation")] |
4645 | pub struct POLICY_AUDIT_EVENTS_INFO { | |
4646 | pub AuditingMode: super::super::super::Foundation::BOOLEAN, | |
4647 | pub EventAuditingOptions: *mut u32, | |
4648 | pub MaximumAuditEventCount: u32, | |
4649 | } | |
4650 | #[cfg(feature = "Win32_Foundation")] | |
4651 | impl ::core::marker::Copy for POLICY_AUDIT_EVENTS_INFO {} | |
4652 | #[cfg(feature = "Win32_Foundation")] | |
4653 | impl ::core::clone::Clone for POLICY_AUDIT_EVENTS_INFO { | |
4654 | fn clone(&self) -> Self { | |
4655 | *self | |
4656 | } | |
4657 | } | |
04454e1e | 4658 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4659 | pub const POLICY_AUDIT_EVENT_FAILURE: i32 = 2i32; |
04454e1e | 4660 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4661 | pub const POLICY_AUDIT_EVENT_NONE: i32 = 4i32; |
04454e1e | 4662 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4663 | pub const POLICY_AUDIT_EVENT_SUCCESS: i32 = 1i32; |
04454e1e | 4664 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4665 | pub type POLICY_AUDIT_EVENT_TYPE = i32; |
04454e1e | 4666 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4667 | pub const AuditCategorySystem: POLICY_AUDIT_EVENT_TYPE = 0i32; |
04454e1e | 4668 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4669 | pub const AuditCategoryLogon: POLICY_AUDIT_EVENT_TYPE = 1i32; |
04454e1e | 4670 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4671 | pub const AuditCategoryObjectAccess: POLICY_AUDIT_EVENT_TYPE = 2i32; |
04454e1e | 4672 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4673 | pub const AuditCategoryPrivilegeUse: POLICY_AUDIT_EVENT_TYPE = 3i32; |
04454e1e | 4674 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4675 | pub const AuditCategoryDetailedTracking: POLICY_AUDIT_EVENT_TYPE = 4i32; |
04454e1e | 4676 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4677 | pub const AuditCategoryPolicyChange: POLICY_AUDIT_EVENT_TYPE = 5i32; |
04454e1e | 4678 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4679 | pub const AuditCategoryAccountManagement: POLICY_AUDIT_EVENT_TYPE = 6i32; |
04454e1e | 4680 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4681 | pub const AuditCategoryDirectoryServiceAccess: POLICY_AUDIT_EVENT_TYPE = 7i32; |
04454e1e | 4682 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4683 | pub const AuditCategoryAccountLogon: POLICY_AUDIT_EVENT_TYPE = 8i32; |
04454e1e | 4684 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
4685 | pub const POLICY_AUDIT_EVENT_UNCHANGED: i32 = 0i32; |
4686 | #[repr(C)] | |
04454e1e | 4687 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4688 | #[cfg(feature = "Win32_Foundation")] |
4689 | pub struct POLICY_AUDIT_FULL_QUERY_INFO { | |
4690 | pub ShutDownOnFull: super::super::super::Foundation::BOOLEAN, | |
4691 | pub LogIsFull: super::super::super::Foundation::BOOLEAN, | |
4692 | } | |
4693 | #[cfg(feature = "Win32_Foundation")] | |
4694 | impl ::core::marker::Copy for POLICY_AUDIT_FULL_QUERY_INFO {} | |
4695 | #[cfg(feature = "Win32_Foundation")] | |
4696 | impl ::core::clone::Clone for POLICY_AUDIT_FULL_QUERY_INFO { | |
4697 | fn clone(&self) -> Self { | |
4698 | *self | |
4699 | } | |
4700 | } | |
4701 | #[repr(C)] | |
04454e1e | 4702 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4703 | #[cfg(feature = "Win32_Foundation")] |
4704 | pub struct POLICY_AUDIT_FULL_SET_INFO { | |
4705 | pub ShutDownOnFull: super::super::super::Foundation::BOOLEAN, | |
4706 | } | |
4707 | #[cfg(feature = "Win32_Foundation")] | |
4708 | impl ::core::marker::Copy for POLICY_AUDIT_FULL_SET_INFO {} | |
4709 | #[cfg(feature = "Win32_Foundation")] | |
4710 | impl ::core::clone::Clone for POLICY_AUDIT_FULL_SET_INFO { | |
4711 | fn clone(&self) -> Self { | |
4712 | *self | |
4713 | } | |
4714 | } | |
04454e1e | 4715 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
4716 | pub const POLICY_AUDIT_LOG_ADMIN: i32 = 512i32; |
4717 | #[repr(C)] | |
04454e1e | 4718 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4719 | #[cfg(feature = "Win32_Foundation")] |
4720 | pub struct POLICY_AUDIT_LOG_INFO { | |
4721 | pub AuditLogPercentFull: u32, | |
4722 | pub MaximumLogSize: u32, | |
4723 | pub AuditRetentionPeriod: i64, | |
4724 | pub AuditLogFullShutdownInProgress: super::super::super::Foundation::BOOLEAN, | |
4725 | pub TimeToShutdown: i64, | |
4726 | pub NextAuditRecordId: u32, | |
4727 | } | |
4728 | #[cfg(feature = "Win32_Foundation")] | |
4729 | impl ::core::marker::Copy for POLICY_AUDIT_LOG_INFO {} | |
4730 | #[cfg(feature = "Win32_Foundation")] | |
4731 | impl ::core::clone::Clone for POLICY_AUDIT_LOG_INFO { | |
4732 | fn clone(&self) -> Self { | |
4733 | *self | |
4734 | } | |
4735 | } | |
4736 | #[repr(C)] | |
04454e1e | 4737 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4738 | #[cfg(feature = "Win32_Foundation")] |
4739 | pub struct POLICY_AUDIT_SID_ARRAY { | |
4740 | pub UsersCount: u32, | |
4741 | pub UserSidArray: *mut super::super::super::Foundation::PSID, | |
4742 | } | |
4743 | #[cfg(feature = "Win32_Foundation")] | |
4744 | impl ::core::marker::Copy for POLICY_AUDIT_SID_ARRAY {} | |
4745 | #[cfg(feature = "Win32_Foundation")] | |
4746 | impl ::core::clone::Clone for POLICY_AUDIT_SID_ARRAY { | |
4747 | fn clone(&self) -> Self { | |
4748 | *self | |
4749 | } | |
4750 | } | |
4751 | #[repr(C)] | |
04454e1e | 4752 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
4753 | pub struct POLICY_AUDIT_SUBCATEGORIES_INFO { |
4754 | pub MaximumSubCategoryCount: u32, | |
4755 | pub EventAuditingOptions: *mut u32, | |
4756 | } | |
4757 | impl ::core::marker::Copy for POLICY_AUDIT_SUBCATEGORIES_INFO {} | |
4758 | impl ::core::clone::Clone for POLICY_AUDIT_SUBCATEGORIES_INFO { | |
4759 | fn clone(&self) -> Self { | |
4760 | *self | |
4761 | } | |
4762 | } | |
04454e1e | 4763 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4764 | pub const POLICY_CREATE_ACCOUNT: i32 = 16i32; |
04454e1e | 4765 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4766 | pub const POLICY_CREATE_PRIVILEGE: i32 = 64i32; |
04454e1e | 4767 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
4768 | pub const POLICY_CREATE_SECRET: i32 = 32i32; |
4769 | #[repr(C)] | |
04454e1e | 4770 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
4771 | pub struct POLICY_DEFAULT_QUOTA_INFO { |
4772 | pub QuotaLimits: super::super::QUOTA_LIMITS, | |
4773 | } | |
4774 | impl ::core::marker::Copy for POLICY_DEFAULT_QUOTA_INFO {} | |
4775 | impl ::core::clone::Clone for POLICY_DEFAULT_QUOTA_INFO { | |
4776 | fn clone(&self) -> Self { | |
4777 | *self | |
4778 | } | |
4779 | } | |
4780 | #[repr(C)] | |
04454e1e | 4781 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4782 | #[cfg(feature = "Win32_Foundation")] |
4783 | pub struct POLICY_DNS_DOMAIN_INFO { | |
4784 | pub Name: super::super::super::Foundation::UNICODE_STRING, | |
4785 | pub DnsDomainName: super::super::super::Foundation::UNICODE_STRING, | |
4786 | pub DnsForestName: super::super::super::Foundation::UNICODE_STRING, | |
4787 | pub DomainGuid: ::windows_sys::core::GUID, | |
4788 | pub Sid: super::super::super::Foundation::PSID, | |
4789 | } | |
4790 | #[cfg(feature = "Win32_Foundation")] | |
4791 | impl ::core::marker::Copy for POLICY_DNS_DOMAIN_INFO {} | |
4792 | #[cfg(feature = "Win32_Foundation")] | |
4793 | impl ::core::clone::Clone for POLICY_DNS_DOMAIN_INFO { | |
4794 | fn clone(&self) -> Self { | |
4795 | *self | |
4796 | } | |
4797 | } | |
4798 | #[repr(C)] | |
04454e1e | 4799 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
4800 | pub struct POLICY_DOMAIN_EFS_INFO { |
4801 | pub InfoLength: u32, | |
4802 | pub EfsBlob: *mut u8, | |
4803 | } | |
4804 | impl ::core::marker::Copy for POLICY_DOMAIN_EFS_INFO {} | |
4805 | impl ::core::clone::Clone for POLICY_DOMAIN_EFS_INFO { | |
4806 | fn clone(&self) -> Self { | |
4807 | *self | |
4808 | } | |
4809 | } | |
04454e1e | 4810 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4811 | pub type POLICY_DOMAIN_INFORMATION_CLASS = i32; |
04454e1e | 4812 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4813 | pub const PolicyDomainEfsInformation: POLICY_DOMAIN_INFORMATION_CLASS = 2i32; |
04454e1e | 4814 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
4815 | pub const PolicyDomainKerberosTicketInformation: POLICY_DOMAIN_INFORMATION_CLASS = 3i32; |
4816 | #[repr(C)] | |
04454e1e | 4817 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
4818 | pub struct POLICY_DOMAIN_KERBEROS_TICKET_INFO { |
4819 | pub AuthenticationOptions: u32, | |
4820 | pub MaxServiceTicketAge: i64, | |
4821 | pub MaxTicketAge: i64, | |
4822 | pub MaxRenewAge: i64, | |
4823 | pub MaxClockSkew: i64, | |
4824 | pub Reserved: i64, | |
4825 | } | |
4826 | impl ::core::marker::Copy for POLICY_DOMAIN_KERBEROS_TICKET_INFO {} | |
4827 | impl ::core::clone::Clone for POLICY_DOMAIN_KERBEROS_TICKET_INFO { | |
4828 | fn clone(&self) -> Self { | |
4829 | *self | |
4830 | } | |
4831 | } | |
04454e1e | 4832 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4833 | pub const POLICY_GET_PRIVATE_INFORMATION: i32 = 4i32; |
04454e1e | 4834 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4835 | pub type POLICY_INFORMATION_CLASS = i32; |
04454e1e | 4836 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4837 | pub const PolicyAuditLogInformation: POLICY_INFORMATION_CLASS = 1i32; |
04454e1e | 4838 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4839 | pub const PolicyAuditEventsInformation: POLICY_INFORMATION_CLASS = 2i32; |
04454e1e | 4840 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4841 | pub const PolicyPrimaryDomainInformation: POLICY_INFORMATION_CLASS = 3i32; |
04454e1e | 4842 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4843 | pub const PolicyPdAccountInformation: POLICY_INFORMATION_CLASS = 4i32; |
04454e1e | 4844 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4845 | pub const PolicyAccountDomainInformation: POLICY_INFORMATION_CLASS = 5i32; |
04454e1e | 4846 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4847 | pub const PolicyLsaServerRoleInformation: POLICY_INFORMATION_CLASS = 6i32; |
04454e1e | 4848 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4849 | pub const PolicyReplicaSourceInformation: POLICY_INFORMATION_CLASS = 7i32; |
04454e1e | 4850 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4851 | pub const PolicyDefaultQuotaInformation: POLICY_INFORMATION_CLASS = 8i32; |
04454e1e | 4852 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4853 | pub const PolicyModificationInformation: POLICY_INFORMATION_CLASS = 9i32; |
04454e1e | 4854 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4855 | pub const PolicyAuditFullSetInformation: POLICY_INFORMATION_CLASS = 10i32; |
04454e1e | 4856 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4857 | pub const PolicyAuditFullQueryInformation: POLICY_INFORMATION_CLASS = 11i32; |
04454e1e | 4858 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4859 | pub const PolicyDnsDomainInformation: POLICY_INFORMATION_CLASS = 12i32; |
04454e1e | 4860 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4861 | pub const PolicyDnsDomainInformationInt: POLICY_INFORMATION_CLASS = 13i32; |
04454e1e | 4862 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4863 | pub const PolicyLocalAccountDomainInformation: POLICY_INFORMATION_CLASS = 14i32; |
04454e1e | 4864 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4865 | pub const PolicyMachineAccountInformation: POLICY_INFORMATION_CLASS = 15i32; |
04454e1e | 4866 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4867 | pub const PolicyLastEntry: POLICY_INFORMATION_CLASS = 16i32; |
04454e1e | 4868 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4869 | pub const POLICY_KERBEROS_VALIDATE_CLIENT: u32 = 128u32; |
04454e1e | 4870 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4871 | pub const POLICY_LOOKUP_NAMES: i32 = 2048i32; |
04454e1e | 4872 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4873 | pub type POLICY_LSA_SERVER_ROLE = i32; |
04454e1e | 4874 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4875 | pub const PolicyServerRoleBackup: POLICY_LSA_SERVER_ROLE = 2i32; |
04454e1e | 4876 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
4877 | pub const PolicyServerRolePrimary: POLICY_LSA_SERVER_ROLE = 3i32; |
4878 | #[repr(C)] | |
04454e1e | 4879 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
4880 | pub struct POLICY_LSA_SERVER_ROLE_INFO { |
4881 | pub LsaServerRole: POLICY_LSA_SERVER_ROLE, | |
4882 | } | |
4883 | impl ::core::marker::Copy for POLICY_LSA_SERVER_ROLE_INFO {} | |
4884 | impl ::core::clone::Clone for POLICY_LSA_SERVER_ROLE_INFO { | |
4885 | fn clone(&self) -> Self { | |
4886 | *self | |
4887 | } | |
4888 | } | |
4889 | #[repr(C)] | |
04454e1e | 4890 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4891 | #[cfg(feature = "Win32_Foundation")] |
4892 | pub struct POLICY_MACHINE_ACCT_INFO { | |
4893 | pub Rid: u32, | |
4894 | pub Sid: super::super::super::Foundation::PSID, | |
4895 | } | |
4896 | #[cfg(feature = "Win32_Foundation")] | |
4897 | impl ::core::marker::Copy for POLICY_MACHINE_ACCT_INFO {} | |
4898 | #[cfg(feature = "Win32_Foundation")] | |
4899 | impl ::core::clone::Clone for POLICY_MACHINE_ACCT_INFO { | |
4900 | fn clone(&self) -> Self { | |
4901 | *self | |
4902 | } | |
4903 | } | |
4904 | #[repr(C)] | |
04454e1e | 4905 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
4906 | pub struct POLICY_MODIFICATION_INFO { |
4907 | pub ModifiedId: i64, | |
4908 | pub DatabaseCreationTime: i64, | |
4909 | } | |
4910 | impl ::core::marker::Copy for POLICY_MODIFICATION_INFO {} | |
4911 | impl ::core::clone::Clone for POLICY_MODIFICATION_INFO { | |
4912 | fn clone(&self) -> Self { | |
4913 | *self | |
4914 | } | |
4915 | } | |
04454e1e | 4916 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4917 | pub const POLICY_NOTIFICATION: i32 = 4096i32; |
04454e1e | 4918 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4919 | pub type POLICY_NOTIFICATION_INFORMATION_CLASS = i32; |
04454e1e | 4920 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4921 | pub const PolicyNotifyAuditEventsInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 1i32; |
04454e1e | 4922 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4923 | pub const PolicyNotifyAccountDomainInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 2i32; |
04454e1e | 4924 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4925 | pub const PolicyNotifyServerRoleInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 3i32; |
04454e1e | 4926 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4927 | pub const PolicyNotifyDnsDomainInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 4i32; |
04454e1e | 4928 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4929 | pub const PolicyNotifyDomainEfsInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 5i32; |
04454e1e | 4930 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4931 | pub const PolicyNotifyDomainKerberosTicketInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 6i32; |
04454e1e | 4932 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4933 | pub const PolicyNotifyMachineAccountPasswordInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 7i32; |
04454e1e | 4934 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4935 | pub const PolicyNotifyGlobalSaclInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 8i32; |
04454e1e | 4936 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
4937 | pub const PolicyNotifyMax: POLICY_NOTIFICATION_INFORMATION_CLASS = 9i32; |
4938 | #[repr(C)] | |
04454e1e | 4939 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4940 | #[cfg(feature = "Win32_Foundation")] |
4941 | pub struct POLICY_PD_ACCOUNT_INFO { | |
4942 | pub Name: super::super::super::Foundation::UNICODE_STRING, | |
4943 | } | |
4944 | #[cfg(feature = "Win32_Foundation")] | |
4945 | impl ::core::marker::Copy for POLICY_PD_ACCOUNT_INFO {} | |
4946 | #[cfg(feature = "Win32_Foundation")] | |
4947 | impl ::core::clone::Clone for POLICY_PD_ACCOUNT_INFO { | |
4948 | fn clone(&self) -> Self { | |
4949 | *self | |
4950 | } | |
4951 | } | |
4952 | #[repr(C)] | |
04454e1e | 4953 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4954 | #[cfg(feature = "Win32_Foundation")] |
4955 | pub struct POLICY_PRIMARY_DOMAIN_INFO { | |
4956 | pub Name: super::super::super::Foundation::UNICODE_STRING, | |
4957 | pub Sid: super::super::super::Foundation::PSID, | |
4958 | } | |
4959 | #[cfg(feature = "Win32_Foundation")] | |
4960 | impl ::core::marker::Copy for POLICY_PRIMARY_DOMAIN_INFO {} | |
4961 | #[cfg(feature = "Win32_Foundation")] | |
4962 | impl ::core::clone::Clone for POLICY_PRIMARY_DOMAIN_INFO { | |
4963 | fn clone(&self) -> Self { | |
4964 | *self | |
4965 | } | |
4966 | } | |
04454e1e | 4967 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4968 | pub const POLICY_QOS_ALLOW_LOCAL_ROOT_CERT_STORE: u32 = 32u32; |
04454e1e | 4969 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4970 | pub const POLICY_QOS_DHCP_SERVER_ALLOWED: u32 = 128u32; |
04454e1e | 4971 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4972 | pub const POLICY_QOS_INBOUND_CONFIDENTIALITY: u32 = 16u32; |
04454e1e | 4973 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4974 | pub const POLICY_QOS_INBOUND_INTEGRITY: u32 = 8u32; |
04454e1e | 4975 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4976 | pub const POLICY_QOS_OUTBOUND_CONFIDENTIALITY: u32 = 4u32; |
04454e1e | 4977 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4978 | pub const POLICY_QOS_OUTBOUND_INTEGRITY: u32 = 2u32; |
04454e1e | 4979 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4980 | pub const POLICY_QOS_RAS_SERVER_ALLOWED: u32 = 64u32; |
04454e1e | 4981 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
4982 | pub const POLICY_QOS_SCHANNEL_REQUIRED: u32 = 1u32; |
4983 | #[repr(C)] | |
04454e1e | 4984 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
4985 | #[cfg(feature = "Win32_Foundation")] |
4986 | pub struct POLICY_REPLICA_SOURCE_INFO { | |
4987 | pub ReplicaSource: super::super::super::Foundation::UNICODE_STRING, | |
4988 | pub ReplicaAccountName: super::super::super::Foundation::UNICODE_STRING, | |
4989 | } | |
4990 | #[cfg(feature = "Win32_Foundation")] | |
4991 | impl ::core::marker::Copy for POLICY_REPLICA_SOURCE_INFO {} | |
4992 | #[cfg(feature = "Win32_Foundation")] | |
4993 | impl ::core::clone::Clone for POLICY_REPLICA_SOURCE_INFO { | |
4994 | fn clone(&self) -> Self { | |
4995 | *self | |
4996 | } | |
4997 | } | |
04454e1e | 4998 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 4999 | pub const POLICY_SERVER_ADMIN: i32 = 1024i32; |
04454e1e | 5000 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5001 | pub const POLICY_SET_AUDIT_REQUIREMENTS: i32 = 256i32; |
04454e1e | 5002 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5003 | pub const POLICY_SET_DEFAULT_QUOTA_LIMITS: i32 = 128i32; |
04454e1e | 5004 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5005 | pub const POLICY_TRUST_ADMIN: i32 = 8i32; |
04454e1e | 5006 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5007 | pub const POLICY_VIEW_AUDIT_INFORMATION: i32 = 2i32; |
04454e1e | 5008 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5009 | pub const POLICY_VIEW_LOCAL_INFORMATION: i32 = 1i32; |
04454e1e | 5010 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5011 | pub const PRIMARY_CRED_ARSO_LOGON: u32 = 2097152u32; |
04454e1e | 5012 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5013 | pub const PRIMARY_CRED_AUTH_ID: u32 = 512u32; |
04454e1e | 5014 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5015 | pub const PRIMARY_CRED_CACHED_INTERACTIVE_LOGON: u32 = 262144u32; |
04454e1e | 5016 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5017 | pub const PRIMARY_CRED_CACHED_LOGON: u32 = 8u32; |
04454e1e | 5018 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5019 | pub const PRIMARY_CRED_CLEAR_PASSWORD: u32 = 1u32; |
04454e1e | 5020 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5021 | pub const PRIMARY_CRED_DO_NOT_SPLIT: u32 = 1024u32; |
04454e1e | 5022 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5023 | pub const PRIMARY_CRED_ENCRYPTED_CREDGUARD_PASSWORD: u32 = 131072u32; |
04454e1e | 5024 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5025 | pub const PRIMARY_CRED_ENTERPRISE_INTERNET_USER: u32 = 65536u32; |
04454e1e | 5026 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5027 | pub const PRIMARY_CRED_EX: u32 = 4096u32; |
04454e1e | 5028 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5029 | pub const PRIMARY_CRED_INTERACTIVE_FIDO_LOGON: u32 = 1048576u32; |
04454e1e | 5030 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5031 | pub const PRIMARY_CRED_INTERACTIVE_NGC_LOGON: u32 = 524288u32; |
04454e1e | 5032 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5033 | pub const PRIMARY_CRED_INTERACTIVE_SMARTCARD_LOGON: u32 = 64u32; |
04454e1e | 5034 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5035 | pub const PRIMARY_CRED_INTERNET_USER: u32 = 256u32; |
04454e1e | 5036 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5037 | pub const PRIMARY_CRED_LOGON_LUA: u32 = 32u32; |
04454e1e | 5038 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5039 | pub const PRIMARY_CRED_LOGON_NO_TCB: u32 = 16u32; |
04454e1e | 5040 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5041 | pub const PRIMARY_CRED_LOGON_PACKAGE_SHIFT: u32 = 24u32; |
04454e1e | 5042 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5043 | pub const PRIMARY_CRED_OWF_PASSWORD: u32 = 2u32; |
04454e1e | 5044 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5045 | pub const PRIMARY_CRED_PACKAGE_MASK: u32 = 4278190080u32; |
04454e1e | 5046 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5047 | pub const PRIMARY_CRED_PACKED_CREDS: u32 = 32768u32; |
04454e1e | 5048 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5049 | pub const PRIMARY_CRED_PROTECTED_USER: u32 = 2048u32; |
04454e1e | 5050 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5051 | pub const PRIMARY_CRED_REFRESH_NEEDED: u32 = 128u32; |
04454e1e | 5052 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5053 | pub const PRIMARY_CRED_RESTRICTED_TS: u32 = 16384u32; |
04454e1e | 5054 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5055 | pub const PRIMARY_CRED_SUPPLEMENTAL: u32 = 4194304u32; |
04454e1e | 5056 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5057 | pub const PRIMARY_CRED_TRANSFER: u32 = 8192u32; |
04454e1e | 5058 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5059 | pub const PRIMARY_CRED_UPDATE: u32 = 4u32; |
04454e1e | 5060 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5061 | pub type PSAM_CREDENTIAL_UPDATE_FREE_ROUTINE = ::core::option::Option<unsafe extern "system" fn(p: *const ::core::ffi::c_void)>; |
04454e1e | 5062 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5063 | #[cfg(feature = "Win32_Foundation")] |
5064 | pub type PSAM_CREDENTIAL_UPDATE_NOTIFY_ROUTINE = ::core::option::Option<unsafe extern "system" fn(clearpassword: *const super::super::super::Foundation::UNICODE_STRING, oldcredentials: *const ::core::ffi::c_void, oldcredentialsize: u32, useraccountcontrol: u32, upn: *const super::super::super::Foundation::UNICODE_STRING, username: *const super::super::super::Foundation::UNICODE_STRING, netbiosdomainname: *const super::super::super::Foundation::UNICODE_STRING, dnsdomainname: *const super::super::super::Foundation::UNICODE_STRING, newcredentials: *mut *mut ::core::ffi::c_void, newcredentialsize: *mut u32) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 5065 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5066 | #[cfg(feature = "Win32_Foundation")] |
5067 | pub type PSAM_CREDENTIAL_UPDATE_REGISTER_MAPPED_ENTRYPOINTS_ROUTINE = ::core::option::Option<unsafe extern "system" fn(table: *mut SAM_REGISTER_MAPPING_TABLE) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 5068 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5069 | #[cfg(feature = "Win32_Foundation")] |
5070 | pub type PSAM_CREDENTIAL_UPDATE_REGISTER_ROUTINE = ::core::option::Option<unsafe extern "system" fn(credentialname: *mut super::super::super::Foundation::UNICODE_STRING) -> super::super::super::Foundation::BOOLEAN>; | |
04454e1e | 5071 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5072 | #[cfg(feature = "Win32_Foundation")] |
5073 | pub type PSAM_INIT_NOTIFICATION_ROUTINE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Foundation::BOOLEAN>; | |
04454e1e | 5074 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5075 | #[cfg(feature = "Win32_Foundation")] |
5076 | pub type PSAM_PASSWORD_FILTER_ROUTINE = ::core::option::Option<unsafe extern "system" fn(accountname: *const super::super::super::Foundation::UNICODE_STRING, fullname: *const super::super::super::Foundation::UNICODE_STRING, password: *const super::super::super::Foundation::UNICODE_STRING, setoperation: super::super::super::Foundation::BOOLEAN) -> super::super::super::Foundation::BOOLEAN>; | |
04454e1e | 5077 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5078 | #[cfg(feature = "Win32_Foundation")] |
5079 | pub type PSAM_PASSWORD_NOTIFICATION_ROUTINE = ::core::option::Option<unsafe extern "system" fn(username: *mut super::super::super::Foundation::UNICODE_STRING, relativeid: u32, newpassword: *mut super::super::super::Foundation::UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS>; | |
5080 | #[repr(C)] | |
04454e1e | 5081 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5082 | pub struct PctPublicKey { |
5083 | pub Type: u32, | |
5084 | pub cbKey: u32, | |
5085 | pub pKey: [u8; 1], | |
5086 | } | |
5087 | impl ::core::marker::Copy for PctPublicKey {} | |
5088 | impl ::core::clone::Clone for PctPublicKey { | |
5089 | fn clone(&self) -> Self { | |
5090 | *self | |
5091 | } | |
5092 | } | |
04454e1e | 5093 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 5094 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 5095 | pub type QUERY_CONTEXT_ATTRIBUTES_EX_FN_A = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut ::core::ffi::c_void, param3: u32) -> ::windows_sys::core::HRESULT>; |
04454e1e | 5096 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 5097 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 5098 | pub type QUERY_CONTEXT_ATTRIBUTES_EX_FN_W = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut ::core::ffi::c_void, param3: u32) -> ::windows_sys::core::HRESULT>; |
04454e1e | 5099 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 5100 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 5101 | pub type QUERY_CONTEXT_ATTRIBUTES_FN_A = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>; |
04454e1e | 5102 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 5103 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 5104 | pub type QUERY_CONTEXT_ATTRIBUTES_FN_W = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>; |
04454e1e | 5105 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 5106 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 5107 | pub type QUERY_CREDENTIALS_ATTRIBUTES_EX_FN_A = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut ::core::ffi::c_void, param3: u32) -> ::windows_sys::core::HRESULT>; |
04454e1e | 5108 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 5109 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 5110 | pub type QUERY_CREDENTIALS_ATTRIBUTES_EX_FN_W = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut ::core::ffi::c_void, param3: u32) -> ::windows_sys::core::HRESULT>; |
04454e1e | 5111 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 5112 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 5113 | pub type QUERY_CREDENTIALS_ATTRIBUTES_FN_A = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>; |
04454e1e | 5114 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 5115 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 5116 | pub type QUERY_CREDENTIALS_ATTRIBUTES_FN_W = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>; |
04454e1e | 5117 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 5118 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 5119 | pub type QUERY_SECURITY_CONTEXT_TOKEN_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>; |
04454e1e | 5120 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 5121 | pub type QUERY_SECURITY_PACKAGE_INFO_FN_A = ::core::option::Option<unsafe extern "system" fn(param0: *mut i8, param1: *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT>; |
04454e1e | 5122 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 5123 | pub type QUERY_SECURITY_PACKAGE_INFO_FN_W = ::core::option::Option<unsafe extern "system" fn(param0: *mut u16, param1: *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT>; |
04454e1e | 5124 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5125 | pub const RCRED_CRED_EXISTS: u32 = 1u32; |
04454e1e | 5126 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5127 | pub const RCRED_STATUS_NOCRED: u32 = 0u32; |
04454e1e | 5128 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5129 | pub const RCRED_STATUS_UNKNOWN_ISSUER: u32 = 2u32; |
04454e1e | 5130 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 5131 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 5132 | pub type REVERT_SECURITY_CONTEXT_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT>; |
04454e1e | 5133 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5134 | pub const RTL_ENCRYPT_MEMORY_SIZE: u32 = 8u32; |
04454e1e | 5135 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5136 | pub const RTL_ENCRYPT_OPTION_CROSS_PROCESS: u32 = 1u32; |
04454e1e | 5137 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5138 | pub const RTL_ENCRYPT_OPTION_FOR_SYSTEM: u32 = 4u32; |
04454e1e | 5139 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5140 | pub const RTL_ENCRYPT_OPTION_SAME_LOGON: u32 = 2u32; |
04454e1e | 5141 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 5142 | pub const SAM_CREDENTIAL_UPDATE_FREE_ROUTINE: &str = "CredentialUpdateFree"; |
04454e1e | 5143 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 5144 | pub const SAM_CREDENTIAL_UPDATE_NOTIFY_ROUTINE: &str = "CredentialUpdateNotify"; |
04454e1e | 5145 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 5146 | pub const SAM_CREDENTIAL_UPDATE_REGISTER_MAPPED_ENTRYPOINTS_ROUTINE: &str = "RegisterMappedEntrypoints"; |
04454e1e | 5147 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 5148 | pub const SAM_CREDENTIAL_UPDATE_REGISTER_ROUTINE: &str = "CredentialUpdateRegister"; |
04454e1e | 5149 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5150 | pub const SAM_DAYS_PER_WEEK: u32 = 7u32; |
04454e1e | 5151 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 5152 | pub const SAM_INIT_NOTIFICATION_ROUTINE: &str = "InitializeChangeNotify"; |
04454e1e | 5153 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 5154 | pub const SAM_PASSWORD_CHANGE_NOTIFY_ROUTINE: &str = "PasswordChangeNotify"; |
04454e1e | 5155 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 5156 | pub const SAM_PASSWORD_FILTER_ROUTINE: &str = "PasswordFilter"; |
5e7ed085 | 5157 | #[repr(C)] |
04454e1e | 5158 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5159 | #[cfg(feature = "Win32_Foundation")] |
5160 | pub struct SAM_REGISTER_MAPPING_ELEMENT { | |
04454e1e FG |
5161 | pub Original: ::windows_sys::core::PSTR, |
5162 | pub Mapped: ::windows_sys::core::PSTR, | |
5e7ed085 FG |
5163 | pub Continuable: super::super::super::Foundation::BOOLEAN, |
5164 | } | |
5165 | #[cfg(feature = "Win32_Foundation")] | |
5166 | impl ::core::marker::Copy for SAM_REGISTER_MAPPING_ELEMENT {} | |
5167 | #[cfg(feature = "Win32_Foundation")] | |
5168 | impl ::core::clone::Clone for SAM_REGISTER_MAPPING_ELEMENT { | |
5169 | fn clone(&self) -> Self { | |
5170 | *self | |
5171 | } | |
5172 | } | |
5173 | #[repr(C)] | |
04454e1e | 5174 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5175 | #[cfg(feature = "Win32_Foundation")] |
5176 | pub struct SAM_REGISTER_MAPPING_LIST { | |
5177 | pub Count: u32, | |
5178 | pub Elements: *mut SAM_REGISTER_MAPPING_ELEMENT, | |
5179 | } | |
5180 | #[cfg(feature = "Win32_Foundation")] | |
5181 | impl ::core::marker::Copy for SAM_REGISTER_MAPPING_LIST {} | |
5182 | #[cfg(feature = "Win32_Foundation")] | |
5183 | impl ::core::clone::Clone for SAM_REGISTER_MAPPING_LIST { | |
5184 | fn clone(&self) -> Self { | |
5185 | *self | |
5186 | } | |
5187 | } | |
5188 | #[repr(C)] | |
04454e1e | 5189 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5190 | #[cfg(feature = "Win32_Foundation")] |
5191 | pub struct SAM_REGISTER_MAPPING_TABLE { | |
5192 | pub Count: u32, | |
5193 | pub Lists: *mut SAM_REGISTER_MAPPING_LIST, | |
5194 | } | |
5195 | #[cfg(feature = "Win32_Foundation")] | |
5196 | impl ::core::marker::Copy for SAM_REGISTER_MAPPING_TABLE {} | |
5197 | #[cfg(feature = "Win32_Foundation")] | |
5198 | impl ::core::clone::Clone for SAM_REGISTER_MAPPING_TABLE { | |
5199 | fn clone(&self) -> Self { | |
5200 | *self | |
5201 | } | |
5202 | } | |
04454e1e | 5203 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5204 | pub type SASL_AUTHZID_STATE = i32; |
04454e1e | 5205 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5206 | pub const Sasl_AuthZIDForbidden: SASL_AUTHZID_STATE = 0i32; |
04454e1e | 5207 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5208 | pub const Sasl_AuthZIDProcessed: SASL_AUTHZID_STATE = 1i32; |
04454e1e | 5209 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5210 | pub const SASL_OPTION_AUTHZ_PROCESSING: u32 = 4u32; |
04454e1e | 5211 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5212 | pub const SASL_OPTION_AUTHZ_STRING: u32 = 3u32; |
04454e1e | 5213 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5214 | pub const SASL_OPTION_RECV_SIZE: u32 = 2u32; |
04454e1e | 5215 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5216 | pub const SASL_OPTION_SEND_SIZE: u32 = 1u32; |
04454e1e | 5217 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5218 | pub const SCHANNEL_ALERT: u32 = 2u32; |
5219 | #[repr(C)] | |
04454e1e | 5220 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5221 | pub struct SCHANNEL_ALERT_TOKEN { |
5222 | pub dwTokenType: u32, | |
5223 | pub dwAlertType: SCHANNEL_ALERT_TOKEN_ALERT_TYPE, | |
5224 | pub dwAlertNumber: u32, | |
5225 | } | |
5226 | impl ::core::marker::Copy for SCHANNEL_ALERT_TOKEN {} | |
5227 | impl ::core::clone::Clone for SCHANNEL_ALERT_TOKEN { | |
5228 | fn clone(&self) -> Self { | |
5229 | *self | |
5230 | } | |
5231 | } | |
04454e1e | 5232 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5233 | pub type SCHANNEL_ALERT_TOKEN_ALERT_TYPE = u32; |
04454e1e | 5234 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5235 | pub const TLS1_ALERT_WARNING: SCHANNEL_ALERT_TOKEN_ALERT_TYPE = 1u32; |
04454e1e | 5236 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5237 | pub const TLS1_ALERT_FATAL: SCHANNEL_ALERT_TOKEN_ALERT_TYPE = 2u32; |
5238 | #[repr(C)] | |
04454e1e | 5239 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5240 | pub struct SCHANNEL_CERT_HASH { |
5241 | pub dwLength: u32, | |
5242 | pub dwFlags: u32, | |
5243 | pub hProv: usize, | |
5244 | pub ShaHash: [u8; 20], | |
5245 | } | |
5246 | impl ::core::marker::Copy for SCHANNEL_CERT_HASH {} | |
5247 | impl ::core::clone::Clone for SCHANNEL_CERT_HASH { | |
5248 | fn clone(&self) -> Self { | |
5249 | *self | |
5250 | } | |
5251 | } | |
5252 | #[repr(C)] | |
04454e1e | 5253 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5254 | pub struct SCHANNEL_CERT_HASH_STORE { |
5255 | pub dwLength: u32, | |
5256 | pub dwFlags: u32, | |
5257 | pub hProv: usize, | |
5258 | pub ShaHash: [u8; 20], | |
5259 | pub pwszStoreName: [u16; 128], | |
5260 | } | |
5261 | impl ::core::marker::Copy for SCHANNEL_CERT_HASH_STORE {} | |
5262 | impl ::core::clone::Clone for SCHANNEL_CERT_HASH_STORE { | |
5263 | fn clone(&self) -> Self { | |
5264 | *self | |
5265 | } | |
5266 | } | |
5267 | #[repr(C)] | |
04454e1e | 5268 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5269 | pub struct SCHANNEL_CLIENT_SIGNATURE { |
5270 | pub cbLength: u32, | |
5271 | pub aiHash: u32, | |
5272 | pub cbHash: u32, | |
5273 | pub HashValue: [u8; 36], | |
5274 | pub CertThumbprint: [u8; 20], | |
5275 | } | |
5276 | impl ::core::marker::Copy for SCHANNEL_CLIENT_SIGNATURE {} | |
5277 | impl ::core::clone::Clone for SCHANNEL_CLIENT_SIGNATURE { | |
5278 | fn clone(&self) -> Self { | |
5279 | *self | |
5280 | } | |
5281 | } | |
5282 | #[repr(C)] | |
04454e1e | 5283 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"] |
5e7ed085 FG |
5284 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] |
5285 | pub struct SCHANNEL_CRED { | |
5286 | pub dwVersion: u32, | |
5287 | pub cCreds: u32, | |
5288 | pub paCred: *mut *mut super::super::Cryptography::CERT_CONTEXT, | |
5289 | pub hRootStore: super::super::Cryptography::HCERTSTORE, | |
5290 | pub cMappers: u32, | |
5291 | pub aphMappers: *mut *mut _HMAPPER, | |
5292 | pub cSupportedAlgs: u32, | |
5293 | pub palgSupportedAlgs: *mut u32, | |
5294 | pub grbitEnabledProtocols: u32, | |
5295 | pub dwMinimumCipherStrength: u32, | |
5296 | pub dwMaximumCipherStrength: u32, | |
5297 | pub dwSessionLifespan: u32, | |
5298 | pub dwFlags: SCHANNEL_CRED_FLAGS, | |
5299 | pub dwCredFormat: u32, | |
5300 | } | |
5301 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] | |
5302 | impl ::core::marker::Copy for SCHANNEL_CRED {} | |
5303 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] | |
5304 | impl ::core::clone::Clone for SCHANNEL_CRED { | |
5305 | fn clone(&self) -> Self { | |
5306 | *self | |
5307 | } | |
5308 | } | |
04454e1e | 5309 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5310 | pub type SCHANNEL_CRED_FLAGS = u32; |
04454e1e | 5311 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5312 | pub const SCH_CRED_AUTO_CRED_VALIDATION: SCHANNEL_CRED_FLAGS = 32u32; |
04454e1e | 5313 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5314 | pub const SCH_CRED_CACHE_ONLY_URL_RETRIEVAL_ON_CREATE: SCHANNEL_CRED_FLAGS = 131072u32; |
04454e1e | 5315 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5316 | pub const SCH_DISABLE_RECONNECTS: SCHANNEL_CRED_FLAGS = 128u32; |
04454e1e | 5317 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5318 | pub const SCH_CRED_IGNORE_NO_REVOCATION_CHECK: SCHANNEL_CRED_FLAGS = 2048u32; |
04454e1e | 5319 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5320 | pub const SCH_CRED_IGNORE_REVOCATION_OFFLINE: SCHANNEL_CRED_FLAGS = 4096u32; |
04454e1e | 5321 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5322 | pub const SCH_CRED_MANUAL_CRED_VALIDATION: SCHANNEL_CRED_FLAGS = 8u32; |
04454e1e | 5323 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5324 | pub const SCH_CRED_NO_DEFAULT_CREDS: SCHANNEL_CRED_FLAGS = 16u32; |
04454e1e | 5325 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5326 | pub const SCH_CRED_NO_SERVERNAME_CHECK: SCHANNEL_CRED_FLAGS = 4u32; |
04454e1e | 5327 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5328 | pub const SCH_CRED_NO_SYSTEM_MAPPER: SCHANNEL_CRED_FLAGS = 2u32; |
04454e1e | 5329 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5330 | pub const SCH_CRED_REVOCATION_CHECK_CHAIN: SCHANNEL_CRED_FLAGS = 512u32; |
04454e1e | 5331 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5332 | pub const SCH_CRED_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT: SCHANNEL_CRED_FLAGS = 1024u32; |
04454e1e | 5333 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5334 | pub const SCH_CRED_REVOCATION_CHECK_END_CERT: SCHANNEL_CRED_FLAGS = 256u32; |
04454e1e | 5335 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5336 | pub const SCH_CRED_USE_DEFAULT_CREDS: SCHANNEL_CRED_FLAGS = 64u32; |
04454e1e | 5337 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5338 | pub const SCH_SEND_AUX_RECORD: SCHANNEL_CRED_FLAGS = 2097152u32; |
04454e1e | 5339 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5340 | pub const SCH_SEND_ROOT_CERT: SCHANNEL_CRED_FLAGS = 262144u32; |
04454e1e | 5341 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5342 | pub const SCH_USE_STRONG_CRYPTO: SCHANNEL_CRED_FLAGS = 4194304u32; |
04454e1e | 5343 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5344 | pub const SCH_USE_PRESHAREDKEY_ONLY: SCHANNEL_CRED_FLAGS = 8388608u32; |
04454e1e | 5345 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5346 | pub const SCHANNEL_CRED_VERSION: u32 = 4u32; |
04454e1e | 5347 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 5348 | pub const SCHANNEL_NAME: &str = "Schannel"; |
04454e1e | 5349 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 5350 | pub const SCHANNEL_NAME_A: &str = "Schannel"; |
04454e1e | 5351 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 5352 | pub const SCHANNEL_NAME_W: &str = "Schannel"; |
04454e1e | 5353 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5354 | pub const SCHANNEL_RENEGOTIATE: u32 = 0u32; |
04454e1e | 5355 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5356 | pub const SCHANNEL_SECRET_PRIVKEY: u32 = 2u32; |
04454e1e | 5357 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5358 | pub const SCHANNEL_SECRET_TYPE_CAPI: u32 = 1u32; |
04454e1e | 5359 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5360 | pub const SCHANNEL_SESSION: u32 = 3u32; |
5361 | #[repr(C)] | |
04454e1e | 5362 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5363 | pub struct SCHANNEL_SESSION_TOKEN { |
5364 | pub dwTokenType: u32, | |
5365 | pub dwFlags: SCHANNEL_SESSION_TOKEN_FLAGS, | |
5366 | } | |
5367 | impl ::core::marker::Copy for SCHANNEL_SESSION_TOKEN {} | |
5368 | impl ::core::clone::Clone for SCHANNEL_SESSION_TOKEN { | |
5369 | fn clone(&self) -> Self { | |
5370 | *self | |
5371 | } | |
5372 | } | |
04454e1e | 5373 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5374 | pub type SCHANNEL_SESSION_TOKEN_FLAGS = u32; |
04454e1e | 5375 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5376 | pub const SSL_SESSION_ENABLE_RECONNECTS: SCHANNEL_SESSION_TOKEN_FLAGS = 1u32; |
04454e1e | 5377 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5378 | pub const SSL_SESSION_DISABLE_RECONNECTS: SCHANNEL_SESSION_TOKEN_FLAGS = 2u32; |
04454e1e | 5379 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5380 | pub const SCHANNEL_SHUTDOWN: u32 = 1u32; |
04454e1e | 5381 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5382 | pub const SCH_ALLOW_NULL_ENCRYPTION: u32 = 33554432u32; |
5383 | #[repr(C)] | |
04454e1e | 5384 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5385 | pub struct SCH_CRED { |
5386 | pub dwVersion: u32, | |
5387 | pub cCreds: u32, | |
5388 | pub paSecret: *mut *mut ::core::ffi::c_void, | |
5389 | pub paPublic: *mut *mut ::core::ffi::c_void, | |
5390 | pub cMappers: u32, | |
5391 | pub aphMappers: *mut *mut _HMAPPER, | |
5392 | } | |
5393 | impl ::core::marker::Copy for SCH_CRED {} | |
5394 | impl ::core::clone::Clone for SCH_CRED { | |
5395 | fn clone(&self) -> Self { | |
5396 | *self | |
5397 | } | |
5398 | } | |
04454e1e | 5399 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5400 | pub const SCH_CREDENTIALS_VERSION: u32 = 5u32; |
04454e1e | 5401 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5402 | pub const SCH_CRED_CACHE_ONLY_URL_RETRIEVAL: u32 = 32768u32; |
04454e1e | 5403 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5404 | pub const SCH_CRED_CERT_CONTEXT: u32 = 3u32; |
04454e1e | 5405 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5406 | pub const SCH_CRED_DEFERRED_CRED_VALIDATION: u32 = 67108864u32; |
04454e1e | 5407 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5408 | pub const SCH_CRED_DISABLE_RECONNECTS: u32 = 128u32; |
04454e1e | 5409 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5410 | pub const SCH_CRED_FORMAT_CERT_CONTEXT: u32 = 0u32; |
04454e1e | 5411 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5412 | pub const SCH_CRED_FORMAT_CERT_HASH: u32 = 1u32; |
04454e1e | 5413 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5414 | pub const SCH_CRED_FORMAT_CERT_HASH_STORE: u32 = 2u32; |
04454e1e | 5415 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5416 | pub const SCH_CRED_MAX_STORE_NAME_SIZE: u32 = 128u32; |
04454e1e | 5417 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5418 | pub const SCH_CRED_MAX_SUPPORTED_ALGS: u32 = 256u32; |
04454e1e | 5419 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5420 | pub const SCH_CRED_MAX_SUPPORTED_ALPN_IDS: u32 = 16u32; |
04454e1e | 5421 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5422 | pub const SCH_CRED_MAX_SUPPORTED_CERTS: u32 = 100u32; |
04454e1e | 5423 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5424 | pub const SCH_CRED_MAX_SUPPORTED_CHAINING_MODES: u32 = 16u32; |
04454e1e | 5425 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5426 | pub const SCH_CRED_MAX_SUPPORTED_CRYPTO_SETTINGS: u32 = 16u32; |
04454e1e | 5427 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5428 | pub const SCH_CRED_MAX_SUPPORTED_PARAMETERS: u32 = 16u32; |
04454e1e | 5429 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5430 | pub const SCH_CRED_MEMORY_STORE_CERT: u32 = 65536u32; |
5431 | #[repr(C)] | |
04454e1e | 5432 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5433 | pub struct SCH_CRED_PUBLIC_CERTCHAIN { |
5434 | pub dwType: u32, | |
5435 | pub cbCertChain: u32, | |
5436 | pub pCertChain: *mut u8, | |
5437 | } | |
5438 | impl ::core::marker::Copy for SCH_CRED_PUBLIC_CERTCHAIN {} | |
5439 | impl ::core::clone::Clone for SCH_CRED_PUBLIC_CERTCHAIN { | |
5440 | fn clone(&self) -> Self { | |
5441 | *self | |
5442 | } | |
5443 | } | |
04454e1e | 5444 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5445 | pub const SCH_CRED_RESTRICTED_ROOTS: u32 = 8192u32; |
04454e1e | 5446 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5447 | pub const SCH_CRED_REVOCATION_CHECK_CACHE_ONLY: u32 = 16384u32; |
5448 | #[repr(C)] | |
04454e1e | 5449 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5450 | pub struct SCH_CRED_SECRET_CAPI { |
5451 | pub dwType: u32, | |
5452 | pub hProv: usize, | |
5453 | } | |
5454 | impl ::core::marker::Copy for SCH_CRED_SECRET_CAPI {} | |
5455 | impl ::core::clone::Clone for SCH_CRED_SECRET_CAPI { | |
5456 | fn clone(&self) -> Self { | |
5457 | *self | |
5458 | } | |
5459 | } | |
5460 | #[repr(C)] | |
04454e1e | 5461 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5462 | pub struct SCH_CRED_SECRET_PRIVKEY { |
5463 | pub dwType: u32, | |
5464 | pub pPrivateKey: *mut u8, | |
5465 | pub cbPrivateKey: u32, | |
04454e1e | 5466 | pub pszPassword: ::windows_sys::core::PSTR, |
5e7ed085 | 5467 | } |
5e7ed085 | 5468 | impl ::core::marker::Copy for SCH_CRED_SECRET_PRIVKEY {} |
5e7ed085 FG |
5469 | impl ::core::clone::Clone for SCH_CRED_SECRET_PRIVKEY { |
5470 | fn clone(&self) -> Self { | |
5471 | *self | |
5472 | } | |
5473 | } | |
04454e1e | 5474 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5475 | pub const SCH_CRED_SNI_CREDENTIAL: u32 = 524288u32; |
04454e1e | 5476 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5477 | pub const SCH_CRED_SNI_ENABLE_OCSP: u32 = 1048576u32; |
04454e1e | 5478 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5479 | pub const SCH_CRED_V1: u32 = 1u32; |
04454e1e | 5480 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5481 | pub const SCH_CRED_V2: u32 = 2u32; |
04454e1e | 5482 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5483 | pub const SCH_CRED_V3: u32 = 3u32; |
04454e1e | 5484 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5485 | pub const SCH_CRED_VERSION: u32 = 2u32; |
04454e1e | 5486 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5487 | pub const SCH_CRED_X509_CAPI: u32 = 2u32; |
04454e1e | 5488 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5489 | pub const SCH_CRED_X509_CERTCHAIN: u32 = 1u32; |
5490 | #[repr(C)] | |
04454e1e | 5491 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5492 | pub struct SCH_EXTENSION_DATA { |
5493 | pub ExtensionType: u16, | |
5494 | pub pExtData: *const u8, | |
5495 | pub cbExtData: u32, | |
5496 | } | |
5497 | impl ::core::marker::Copy for SCH_EXTENSION_DATA {} | |
5498 | impl ::core::clone::Clone for SCH_EXTENSION_DATA { | |
5499 | fn clone(&self) -> Self { | |
5500 | *self | |
5501 | } | |
5502 | } | |
04454e1e | 5503 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5504 | pub const SCH_MACHINE_CERT_HASH: u32 = 1u32; |
04454e1e | 5505 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5506 | pub const SCH_MAX_EXT_SUBSCRIPTIONS: u32 = 2u32; |
04454e1e | 5507 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5508 | pub const SCH_USE_DTLS_ONLY: u32 = 16777216u32; |
04454e1e | 5509 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5510 | pub const SECBUFFER_ALERT: u32 = 17u32; |
04454e1e | 5511 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5512 | pub const SECBUFFER_APPLICATION_PROTOCOLS: u32 = 18u32; |
04454e1e | 5513 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5514 | pub const SECBUFFER_ATTRMASK: u32 = 4026531840u32; |
04454e1e | 5515 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5516 | pub const SECBUFFER_CHANGE_PASS_RESPONSE: u32 = 15u32; |
04454e1e | 5517 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5518 | pub const SECBUFFER_CHANNEL_BINDINGS: u32 = 14u32; |
04454e1e | 5519 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5520 | pub const SECBUFFER_DATA: u32 = 1u32; |
04454e1e | 5521 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5522 | pub const SECBUFFER_DTLS_MTU: u32 = 24u32; |
04454e1e | 5523 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5524 | pub const SECBUFFER_EMPTY: u32 = 0u32; |
04454e1e | 5525 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5526 | pub const SECBUFFER_EXTRA: u32 = 5u32; |
04454e1e | 5527 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5528 | pub const SECBUFFER_FLAGS: u32 = 27u32; |
04454e1e | 5529 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5530 | pub const SECBUFFER_KERNEL_MAP: u32 = 536870912u32; |
04454e1e | 5531 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5532 | pub const SECBUFFER_MECHLIST: u32 = 11u32; |
04454e1e | 5533 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5534 | pub const SECBUFFER_MECHLIST_SIGNATURE: u32 = 12u32; |
04454e1e | 5535 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5536 | pub const SECBUFFER_MISSING: u32 = 4u32; |
04454e1e | 5537 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5538 | pub const SECBUFFER_NEGOTIATION_INFO: u32 = 8u32; |
04454e1e | 5539 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5540 | pub const SECBUFFER_PADDING: u32 = 9u32; |
04454e1e | 5541 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5542 | pub const SECBUFFER_PKG_PARAMS: u32 = 3u32; |
04454e1e | 5543 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5544 | pub const SECBUFFER_PRESHARED_KEY: u32 = 22u32; |
04454e1e | 5545 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5546 | pub const SECBUFFER_PRESHARED_KEY_IDENTITY: u32 = 23u32; |
04454e1e | 5547 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5548 | pub const SECBUFFER_READONLY: u32 = 2147483648u32; |
04454e1e | 5549 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5550 | pub const SECBUFFER_READONLY_WITH_CHECKSUM: u32 = 268435456u32; |
04454e1e | 5551 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5552 | pub const SECBUFFER_RESERVED: u32 = 1610612736u32; |
04454e1e | 5553 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5554 | pub const SECBUFFER_SEND_GENERIC_TLS_EXTENSION: u32 = 25u32; |
04454e1e | 5555 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5556 | pub const SECBUFFER_SRTP_MASTER_KEY_IDENTIFIER: u32 = 20u32; |
04454e1e | 5557 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5558 | pub const SECBUFFER_SRTP_PROTECTION_PROFILES: u32 = 19u32; |
04454e1e | 5559 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5560 | pub const SECBUFFER_STREAM: u32 = 10u32; |
04454e1e | 5561 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5562 | pub const SECBUFFER_STREAM_HEADER: u32 = 7u32; |
04454e1e | 5563 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5564 | pub const SECBUFFER_STREAM_TRAILER: u32 = 6u32; |
04454e1e | 5565 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5566 | pub const SECBUFFER_SUBSCRIBE_GENERIC_TLS_EXTENSION: u32 = 26u32; |
04454e1e | 5567 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5568 | pub const SECBUFFER_TARGET: u32 = 13u32; |
04454e1e | 5569 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5570 | pub const SECBUFFER_TARGET_HOST: u32 = 16u32; |
04454e1e | 5571 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5572 | pub const SECBUFFER_TOKEN: u32 = 2u32; |
04454e1e | 5573 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5574 | pub const SECBUFFER_TOKEN_BINDING: u32 = 21u32; |
04454e1e | 5575 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5576 | pub const SECBUFFER_TRAFFIC_SECRETS: u32 = 28u32; |
04454e1e | 5577 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5578 | pub const SECBUFFER_UNMAPPED: u32 = 1073741824u32; |
04454e1e | 5579 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5580 | pub const SECBUFFER_VERSION: u32 = 0u32; |
04454e1e | 5581 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5582 | pub const SECPKGCONTEXT_CIPHERINFO_V1: u32 = 1u32; |
04454e1e | 5583 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5584 | pub const SECPKGCONTEXT_CONNECTION_INFO_EX_V1: u32 = 1u32; |
04454e1e | 5585 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5586 | pub const SECPKG_ANSI_ATTRIBUTE: u32 = 0u32; |
5587 | #[repr(C)] | |
04454e1e | 5588 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5589 | #[cfg(feature = "Win32_Foundation")] |
5590 | pub struct SECPKG_APP_MODE_INFO { | |
5591 | pub UserFunction: u32, | |
5592 | pub Argument1: usize, | |
5593 | pub Argument2: usize, | |
5594 | pub UserData: SecBuffer, | |
5595 | pub ReturnToLsa: super::super::super::Foundation::BOOLEAN, | |
5596 | } | |
5597 | #[cfg(feature = "Win32_Foundation")] | |
5598 | impl ::core::marker::Copy for SECPKG_APP_MODE_INFO {} | |
5599 | #[cfg(feature = "Win32_Foundation")] | |
5600 | impl ::core::clone::Clone for SECPKG_APP_MODE_INFO { | |
5601 | fn clone(&self) -> Self { | |
5602 | *self | |
5603 | } | |
5604 | } | |
04454e1e | 5605 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5606 | pub type SECPKG_ATTR = u32; |
04454e1e | 5607 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5608 | pub const SECPKG_ATTR_C_ACCESS_TOKEN: SECPKG_ATTR = 2147483666u32; |
04454e1e | 5609 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5610 | pub const SECPKG_ATTR_C_FULL_ACCESS_TOKEN: SECPKG_ATTR = 2147483778u32; |
04454e1e | 5611 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5612 | pub const SECPKG_ATTR_CERT_TRUST_STATUS: SECPKG_ATTR = 2147483780u32; |
04454e1e | 5613 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5614 | pub const SECPKG_ATTR_CREDS: SECPKG_ATTR = 2147483776u32; |
04454e1e | 5615 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5616 | pub const SECPKG_ATTR_CREDS_2: SECPKG_ATTR = 2147483782u32; |
04454e1e | 5617 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5618 | pub const SECPKG_ATTR_NEGOTIATION_PACKAGE: SECPKG_ATTR = 2147483777u32; |
04454e1e | 5619 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5620 | pub const SECPKG_ATTR_PACKAGE_INFO: SECPKG_ATTR = 10u32; |
04454e1e | 5621 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5622 | pub const SECPKG_ATTR_SERVER_AUTH_FLAGS: SECPKG_ATTR = 2147483779u32; |
04454e1e | 5623 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5624 | pub const SECPKG_ATTR_SIZES: SECPKG_ATTR = 0u32; |
04454e1e | 5625 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5626 | pub const SECPKG_ATTR_SUBJECT_SECURITY_ATTRIBUTES: SECPKG_ATTR = 124u32; |
04454e1e | 5627 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5628 | pub const SECPKG_ATTR_APP_DATA: SECPKG_ATTR = 94u32; |
04454e1e | 5629 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5630 | pub const SECPKG_ATTR_EAP_PRF_INFO: SECPKG_ATTR = 101u32; |
04454e1e | 5631 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5632 | pub const SECPKG_ATTR_EARLY_START: SECPKG_ATTR = 105u32; |
04454e1e | 5633 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5634 | pub const SECPKG_ATTR_DTLS_MTU: SECPKG_ATTR = 34u32; |
04454e1e | 5635 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5636 | pub const SECPKG_ATTR_KEYING_MATERIAL_INFO: SECPKG_ATTR = 106u32; |
04454e1e | 5637 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5638 | pub const SECPKG_ATTR_ACCESS_TOKEN: SECPKG_ATTR = 18u32; |
04454e1e | 5639 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5640 | pub const SECPKG_ATTR_AUTHORITY: SECPKG_ATTR = 6u32; |
04454e1e | 5641 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5642 | pub const SECPKG_ATTR_CLIENT_SPECIFIED_TARGET: SECPKG_ATTR = 27u32; |
04454e1e | 5643 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5644 | pub const SECPKG_ATTR_CONNECTION_INFO: SECPKG_ATTR = 90u32; |
04454e1e | 5645 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5646 | pub const SECPKG_ATTR_DCE_INFO: SECPKG_ATTR = 3u32; |
04454e1e | 5647 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5648 | pub const SECPKG_ATTR_ENDPOINT_BINDINGS: SECPKG_ATTR = 26u32; |
04454e1e | 5649 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5650 | pub const SECPKG_ATTR_EAP_KEY_BLOCK: SECPKG_ATTR = 91u32; |
04454e1e | 5651 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5652 | pub const SECPKG_ATTR_FLAGS: SECPKG_ATTR = 14u32; |
04454e1e | 5653 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5654 | pub const SECPKG_ATTR_ISSUER_LIST_EX: SECPKG_ATTR = 89u32; |
04454e1e | 5655 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5656 | pub const SECPKG_ATTR_KEY_INFO: SECPKG_ATTR = 5u32; |
04454e1e | 5657 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5658 | pub const SECPKG_ATTR_LAST_CLIENT_TOKEN_STATUS: SECPKG_ATTR = 30u32; |
04454e1e | 5659 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5660 | pub const SECPKG_ATTR_LIFESPAN: SECPKG_ATTR = 2u32; |
04454e1e | 5661 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5662 | pub const SECPKG_ATTR_LOCAL_CERT_CONTEXT: SECPKG_ATTR = 84u32; |
04454e1e | 5663 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5664 | pub const SECPKG_ATTR_LOCAL_CRED: SECPKG_ATTR = 82u32; |
04454e1e | 5665 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5666 | pub const SECPKG_ATTR_NAMES: SECPKG_ATTR = 1u32; |
04454e1e | 5667 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5668 | pub const SECPKG_ATTR_NATIVE_NAMES: SECPKG_ATTR = 13u32; |
04454e1e | 5669 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5670 | pub const SECPKG_ATTR_NEGOTIATION_INFO: SECPKG_ATTR = 12u32; |
04454e1e | 5671 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5672 | pub const SECPKG_ATTR_PASSWORD_EXPIRY: SECPKG_ATTR = 8u32; |
04454e1e | 5673 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5674 | pub const SECPKG_ATTR_REMOTE_CERT_CONTEXT: SECPKG_ATTR = 83u32; |
04454e1e | 5675 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5676 | pub const SECPKG_ATTR_ROOT_STORE: SECPKG_ATTR = 85u32; |
04454e1e | 5677 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5678 | pub const SECPKG_ATTR_SESSION_KEY: SECPKG_ATTR = 9u32; |
04454e1e | 5679 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5680 | pub const SECPKG_ATTR_SESSION_INFO: SECPKG_ATTR = 93u32; |
04454e1e | 5681 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5682 | pub const SECPKG_ATTR_STREAM_SIZES: SECPKG_ATTR = 4u32; |
04454e1e | 5683 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5684 | pub const SECPKG_ATTR_SUPPORTED_SIGNATURES: SECPKG_ATTR = 102u32; |
04454e1e | 5685 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5686 | pub const SECPKG_ATTR_TARGET_INFORMATION: SECPKG_ATTR = 17u32; |
04454e1e | 5687 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5688 | pub const SECPKG_ATTR_UNIQUE_BINDINGS: SECPKG_ATTR = 25u32; |
04454e1e | 5689 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5690 | pub const SECPKG_ATTR_APPLICATION_PROTOCOL: u32 = 35u32; |
04454e1e | 5691 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5692 | pub const SECPKG_ATTR_AUTHENTICATION_ID: u32 = 20u32; |
04454e1e | 5693 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5694 | pub const SECPKG_ATTR_CC_POLICY_RESULT: u32 = 97u32; |
04454e1e | 5695 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5696 | pub const SECPKG_ATTR_CERT_CHECK_RESULT: u32 = 113u32; |
04454e1e | 5697 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5698 | pub const SECPKG_ATTR_CERT_CHECK_RESULT_INPROC: u32 = 114u32; |
04454e1e | 5699 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5700 | pub const SECPKG_ATTR_CIPHER_INFO: u32 = 100u32; |
04454e1e | 5701 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5702 | pub const SECPKG_ATTR_CIPHER_STRENGTHS: u32 = 87u32; |
04454e1e | 5703 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5704 | pub const SECPKG_ATTR_CLIENT_CERT_POLICY: u32 = 96u32; |
04454e1e | 5705 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5706 | pub const SECPKG_ATTR_CONNECTION_INFO_EX: u32 = 110u32; |
04454e1e | 5707 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5708 | pub const SECPKG_ATTR_CONTEXT_DELETED: u32 = 33u32; |
04454e1e | 5709 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5710 | pub const SECPKG_ATTR_CREDENTIAL_NAME: u32 = 16u32; |
04454e1e | 5711 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5712 | pub const SECPKG_ATTR_ISSUER_LIST: u32 = 80u32; |
04454e1e | 5713 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5714 | pub const SECPKG_ATTR_IS_LOOPBACK: u32 = 37u32; |
04454e1e | 5715 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5716 | pub const SECPKG_ATTR_KEYING_MATERIAL: u32 = 107u32; |
04454e1e | 5717 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5718 | pub const SECPKG_ATTR_KEYING_MATERIAL_INPROC: u32 = 112u32; |
04454e1e | 5719 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5720 | pub const SECPKG_ATTR_KEYING_MATERIAL_TOKEN_BINDING: u32 = 111u32; |
04454e1e | 5721 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5722 | pub type SECPKG_ATTR_LCT_STATUS = i32; |
04454e1e | 5723 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5724 | pub const SecPkgAttrLastClientTokenYes: SECPKG_ATTR_LCT_STATUS = 0i32; |
04454e1e | 5725 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5726 | pub const SecPkgAttrLastClientTokenNo: SECPKG_ATTR_LCT_STATUS = 1i32; |
04454e1e | 5727 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5728 | pub const SecPkgAttrLastClientTokenMaybe: SECPKG_ATTR_LCT_STATUS = 2i32; |
04454e1e | 5729 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5730 | pub const SECPKG_ATTR_LOCAL_CERT_INFO: u32 = 99u32; |
04454e1e | 5731 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5732 | pub const SECPKG_ATTR_LOGOFF_TIME: u32 = 21u32; |
04454e1e | 5733 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5734 | pub const SECPKG_ATTR_MAPPED_CRED_ATTR: u32 = 92u32; |
04454e1e | 5735 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5736 | pub const SECPKG_ATTR_NEGOTIATED_TLS_EXTENSIONS: u32 = 36u32; |
04454e1e | 5737 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5738 | pub const SECPKG_ATTR_NEGO_INFO_FLAG_NO_KERBEROS: u32 = 1u32; |
04454e1e | 5739 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5740 | pub const SECPKG_ATTR_NEGO_INFO_FLAG_NO_NTLM: u32 = 2u32; |
04454e1e | 5741 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5742 | pub const SECPKG_ATTR_NEGO_KEYS: u32 = 22u32; |
04454e1e | 5743 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5744 | pub const SECPKG_ATTR_NEGO_PKG_INFO: u32 = 31u32; |
04454e1e | 5745 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5746 | pub const SECPKG_ATTR_NEGO_STATUS: u32 = 32u32; |
04454e1e | 5747 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5748 | pub const SECPKG_ATTR_PROMPTING_NEEDED: u32 = 24u32; |
04454e1e | 5749 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5750 | pub const SECPKG_ATTR_PROTO_INFO: u32 = 7u32; |
04454e1e | 5751 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5752 | pub const SECPKG_ATTR_REMOTE_CERTIFICATES: u32 = 95u32; |
04454e1e | 5753 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5754 | pub const SECPKG_ATTR_REMOTE_CERT_CHAIN: u32 = 103u32; |
04454e1e | 5755 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5756 | pub const SECPKG_ATTR_REMOTE_CRED: u32 = 81u32; |
04454e1e | 5757 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5758 | pub const SECPKG_ATTR_SASL_CONTEXT: u32 = 65536u32; |
04454e1e | 5759 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5760 | pub const SECPKG_ATTR_SESSION_TICKET_KEYS: u32 = 115u32; |
04454e1e | 5761 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5762 | pub const SECPKG_ATTR_SRTP_PARAMETERS: u32 = 108u32; |
04454e1e | 5763 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5764 | pub const SECPKG_ATTR_SUPPORTED_ALGS: u32 = 86u32; |
04454e1e | 5765 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5766 | pub const SECPKG_ATTR_SUPPORTED_PROTOCOLS: u32 = 88u32; |
04454e1e | 5767 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5768 | pub const SECPKG_ATTR_TARGET: u32 = 19u32; |
04454e1e | 5769 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5770 | pub const SECPKG_ATTR_THUNK_ALL: u32 = 65536u32; |
04454e1e | 5771 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5772 | pub const SECPKG_ATTR_TOKEN_BINDING: u32 = 109u32; |
04454e1e | 5773 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5774 | pub const SECPKG_ATTR_UI_INFO: u32 = 104u32; |
04454e1e | 5775 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5776 | pub const SECPKG_ATTR_USER_FLAGS: u32 = 11u32; |
04454e1e | 5777 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5778 | pub const SECPKG_ATTR_USE_NCRYPT: u32 = 98u32; |
04454e1e | 5779 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5780 | pub const SECPKG_ATTR_USE_VALIDATED: u32 = 15u32; |
5781 | #[repr(C)] | |
04454e1e | 5782 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5783 | pub struct SECPKG_BYTE_VECTOR { |
5784 | pub ByteArrayOffset: u32, | |
5785 | pub ByteArrayLength: u16, | |
5786 | } | |
5787 | impl ::core::marker::Copy for SECPKG_BYTE_VECTOR {} | |
5788 | impl ::core::clone::Clone for SECPKG_BYTE_VECTOR { | |
5789 | fn clone(&self) -> Self { | |
5790 | *self | |
5791 | } | |
5792 | } | |
04454e1e | 5793 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5794 | pub const SECPKG_CALLFLAGS_APPCONTAINER: u32 = 1u32; |
04454e1e | 5795 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5796 | pub const SECPKG_CALLFLAGS_APPCONTAINER_AUTHCAPABLE: u32 = 2u32; |
04454e1e | 5797 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5798 | pub const SECPKG_CALLFLAGS_APPCONTAINER_UPNCAPABLE: u32 = 8u32; |
04454e1e | 5799 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5800 | pub const SECPKG_CALLFLAGS_FORCE_SUPPLIED: u32 = 4u32; |
04454e1e | 5801 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5802 | pub const SECPKG_CALL_ANSI: u32 = 2u32; |
04454e1e | 5803 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5804 | pub const SECPKG_CALL_ASYNC_UPDATE: u32 = 4096u32; |
04454e1e | 5805 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5806 | pub const SECPKG_CALL_BUFFER_MARSHAL: u32 = 65536u32; |
04454e1e | 5807 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5808 | pub const SECPKG_CALL_CLEANUP: u32 = 32u32; |
04454e1e | 5809 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5810 | pub const SECPKG_CALL_CLOUDAP_CONNECT: u32 = 262144u32; |
5811 | #[repr(C)] | |
04454e1e | 5812 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5813 | pub struct SECPKG_CALL_INFO { |
5814 | pub ProcessId: u32, | |
5815 | pub ThreadId: u32, | |
5816 | pub Attributes: u32, | |
5817 | pub CallCount: u32, | |
5818 | pub MechOid: *mut ::core::ffi::c_void, | |
5819 | } | |
5820 | impl ::core::marker::Copy for SECPKG_CALL_INFO {} | |
5821 | impl ::core::clone::Clone for SECPKG_CALL_INFO { | |
5822 | fn clone(&self) -> Self { | |
5823 | *self | |
5824 | } | |
5825 | } | |
04454e1e | 5826 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5827 | pub const SECPKG_CALL_IN_PROC: u32 = 16u32; |
04454e1e | 5828 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5829 | pub const SECPKG_CALL_IS_TCB: u32 = 512u32; |
04454e1e | 5830 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5831 | pub const SECPKG_CALL_KERNEL_MODE: u32 = 1u32; |
04454e1e | 5832 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5833 | pub const SECPKG_CALL_NEGO: u32 = 16384u32; |
04454e1e | 5834 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5835 | pub const SECPKG_CALL_NEGO_EXTENDER: u32 = 32768u32; |
04454e1e | 5836 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5837 | pub const SECPKG_CALL_NETWORK_ONLY: u32 = 1024u32; |
04454e1e | 5838 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5839 | pub type SECPKG_CALL_PACKAGE_MESSAGE_TYPE = i32; |
04454e1e | 5840 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5841 | pub const SecPkgCallPackageMinMessage: SECPKG_CALL_PACKAGE_MESSAGE_TYPE = 1024i32; |
04454e1e | 5842 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5843 | pub const SecPkgCallPackagePinDcMessage: SECPKG_CALL_PACKAGE_MESSAGE_TYPE = 1024i32; |
04454e1e | 5844 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5845 | pub const SecPkgCallPackageUnpinAllDcsMessage: SECPKG_CALL_PACKAGE_MESSAGE_TYPE = 1025i32; |
04454e1e | 5846 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5847 | pub const SecPkgCallPackageTransferCredMessage: SECPKG_CALL_PACKAGE_MESSAGE_TYPE = 1026i32; |
04454e1e | 5848 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5849 | pub const SecPkgCallPackageMaxMessage: SECPKG_CALL_PACKAGE_MESSAGE_TYPE = 1026i32; |
5850 | #[repr(C)] | |
04454e1e | 5851 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5852 | #[cfg(feature = "Win32_Foundation")] |
5853 | pub struct SECPKG_CALL_PACKAGE_PIN_DC_REQUEST { | |
5854 | pub MessageType: u32, | |
5855 | pub Flags: u32, | |
5856 | pub DomainName: super::super::super::Foundation::UNICODE_STRING, | |
5857 | pub DcName: super::super::super::Foundation::UNICODE_STRING, | |
5858 | pub DcFlags: u32, | |
5859 | } | |
5860 | #[cfg(feature = "Win32_Foundation")] | |
5861 | impl ::core::marker::Copy for SECPKG_CALL_PACKAGE_PIN_DC_REQUEST {} | |
5862 | #[cfg(feature = "Win32_Foundation")] | |
5863 | impl ::core::clone::Clone for SECPKG_CALL_PACKAGE_PIN_DC_REQUEST { | |
5864 | fn clone(&self) -> Self { | |
5865 | *self | |
5866 | } | |
5867 | } | |
5868 | #[repr(C)] | |
04454e1e | 5869 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5870 | #[cfg(feature = "Win32_Foundation")] |
5871 | pub struct SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST { | |
5872 | pub MessageType: u32, | |
5873 | pub OriginLogonId: super::super::super::Foundation::LUID, | |
5874 | pub DestinationLogonId: super::super::super::Foundation::LUID, | |
5875 | pub Flags: u32, | |
5876 | } | |
5877 | #[cfg(feature = "Win32_Foundation")] | |
5878 | impl ::core::marker::Copy for SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST {} | |
5879 | #[cfg(feature = "Win32_Foundation")] | |
5880 | impl ::core::clone::Clone for SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST { | |
5881 | fn clone(&self) -> Self { | |
5882 | *self | |
5883 | } | |
5884 | } | |
04454e1e | 5885 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5886 | pub const SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST_FLAG_CLEANUP_CREDENTIALS: u32 = 2u32; |
04454e1e | 5887 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5888 | pub const SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST_FLAG_OPTIMISTIC_LOGON: u32 = 1u32; |
04454e1e | 5889 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5890 | pub const SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST_FLAG_TO_SSO_SESSION: u32 = 4u32; |
5891 | #[repr(C)] | |
04454e1e | 5892 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5893 | pub struct SECPKG_CALL_PACKAGE_UNPIN_ALL_DCS_REQUEST { |
5894 | pub MessageType: u32, | |
5895 | pub Flags: u32, | |
5896 | } | |
5897 | impl ::core::marker::Copy for SECPKG_CALL_PACKAGE_UNPIN_ALL_DCS_REQUEST {} | |
5898 | impl ::core::clone::Clone for SECPKG_CALL_PACKAGE_UNPIN_ALL_DCS_REQUEST { | |
5899 | fn clone(&self) -> Self { | |
5900 | *self | |
5901 | } | |
5902 | } | |
04454e1e | 5903 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5904 | pub const SECPKG_CALL_PROCESS_TERM: u32 = 256u32; |
04454e1e | 5905 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5906 | pub const SECPKG_CALL_RECURSIVE: u32 = 8u32; |
04454e1e | 5907 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5908 | pub const SECPKG_CALL_SYSTEM_PROC: u32 = 8192u32; |
04454e1e | 5909 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5910 | pub const SECPKG_CALL_THREAD_TERM: u32 = 128u32; |
04454e1e | 5911 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5912 | pub const SECPKG_CALL_UNLOCK: u32 = 131072u32; |
04454e1e | 5913 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5914 | pub const SECPKG_CALL_URGENT: u32 = 4u32; |
04454e1e | 5915 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5916 | pub const SECPKG_CALL_WINLOGON: u32 = 2048u32; |
04454e1e | 5917 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5918 | pub const SECPKG_CALL_WOWA32: u32 = 262144u32; |
04454e1e | 5919 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5920 | pub const SECPKG_CALL_WOWCLIENT: u32 = 64u32; |
04454e1e | 5921 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5922 | pub const SECPKG_CALL_WOWX86: u32 = 64u32; |
5923 | #[repr(C)] | |
04454e1e | 5924 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5925 | #[cfg(feature = "Win32_Foundation")] |
5926 | pub struct SECPKG_CLIENT_INFO { | |
5927 | pub LogonId: super::super::super::Foundation::LUID, | |
5928 | pub ProcessID: u32, | |
5929 | pub ThreadID: u32, | |
5930 | pub HasTcbPrivilege: super::super::super::Foundation::BOOLEAN, | |
5931 | pub Impersonating: super::super::super::Foundation::BOOLEAN, | |
5932 | pub Restricted: super::super::super::Foundation::BOOLEAN, | |
5933 | pub ClientFlags: u8, | |
5934 | pub ImpersonationLevel: super::super::SECURITY_IMPERSONATION_LEVEL, | |
5935 | pub ClientToken: super::super::super::Foundation::HANDLE, | |
5936 | } | |
5937 | #[cfg(feature = "Win32_Foundation")] | |
5938 | impl ::core::marker::Copy for SECPKG_CLIENT_INFO {} | |
5939 | #[cfg(feature = "Win32_Foundation")] | |
5940 | impl ::core::clone::Clone for SECPKG_CLIENT_INFO { | |
5941 | fn clone(&self) -> Self { | |
5942 | *self | |
5943 | } | |
5944 | } | |
04454e1e | 5945 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5946 | pub const SECPKG_CLIENT_PROCESS_TERMINATED: u32 = 1u32; |
04454e1e | 5947 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5948 | pub const SECPKG_CLIENT_THREAD_TERMINATED: u32 = 2u32; |
5949 | #[repr(C)] | |
04454e1e | 5950 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5951 | pub struct SECPKG_CONTEXT_THUNKS { |
5952 | pub InfoLevelCount: u32, | |
5953 | pub Levels: [u32; 1], | |
5954 | } | |
5955 | impl ::core::marker::Copy for SECPKG_CONTEXT_THUNKS {} | |
5956 | impl ::core::clone::Clone for SECPKG_CONTEXT_THUNKS { | |
5957 | fn clone(&self) -> Self { | |
5958 | *self | |
5959 | } | |
5960 | } | |
04454e1e | 5961 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5962 | pub type SECPKG_CRED = u32; |
04454e1e | 5963 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5964 | pub const SECPKG_CRED_INBOUND: SECPKG_CRED = 1u32; |
04454e1e | 5965 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
5966 | pub const SECPKG_CRED_OUTBOUND: SECPKG_CRED = 2u32; |
5967 | #[repr(C)] | |
04454e1e | 5968 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
5969 | #[cfg(feature = "Win32_Foundation")] |
5970 | pub struct SECPKG_CREDENTIAL { | |
5971 | pub Version: u64, | |
5972 | pub cbHeaderLength: u16, | |
5973 | pub cbStructureLength: u32, | |
5974 | pub ClientProcess: u32, | |
5975 | pub ClientThread: u32, | |
5976 | pub LogonId: super::super::super::Foundation::LUID, | |
5977 | pub ClientToken: super::super::super::Foundation::HANDLE, | |
5978 | pub SessionId: u32, | |
5979 | pub ModifiedId: super::super::super::Foundation::LUID, | |
5980 | pub fCredentials: u32, | |
5981 | pub Flags: u32, | |
5982 | pub PrincipalName: SECPKG_BYTE_VECTOR, | |
5983 | pub PackageList: SECPKG_BYTE_VECTOR, | |
5984 | pub MarshaledSuppliedCreds: SECPKG_BYTE_VECTOR, | |
5985 | } | |
5986 | #[cfg(feature = "Win32_Foundation")] | |
5987 | impl ::core::marker::Copy for SECPKG_CREDENTIAL {} | |
5988 | #[cfg(feature = "Win32_Foundation")] | |
5989 | impl ::core::clone::Clone for SECPKG_CREDENTIAL { | |
5990 | fn clone(&self) -> Self { | |
5991 | *self | |
5992 | } | |
5993 | } | |
04454e1e | 5994 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5995 | pub const SECPKG_CREDENTIAL_ATTRIBUTE: u32 = 0u32; |
04454e1e | 5996 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5997 | pub const SECPKG_CREDENTIAL_FLAGS_CALLER_HAS_TCB: u32 = 1u32; |
04454e1e | 5998 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 5999 | pub const SECPKG_CREDENTIAL_FLAGS_CREDMAN_CRED: u32 = 2u32; |
04454e1e | 6000 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6001 | pub const SECPKG_CREDENTIAL_VERSION: u32 = 201u32; |
04454e1e | 6002 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6003 | pub const SECPKG_CRED_ATTR_CERT: u32 = 4u32; |
04454e1e | 6004 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6005 | pub const SECPKG_CRED_ATTR_KDC_PROXY_SETTINGS: u32 = 3u32; |
04454e1e | 6006 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6007 | pub const SECPKG_CRED_ATTR_NAMES: u32 = 1u32; |
04454e1e | 6008 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6009 | pub const SECPKG_CRED_ATTR_PAC_BYPASS: u32 = 5u32; |
04454e1e | 6010 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6011 | pub const SECPKG_CRED_ATTR_SSI_PROVIDER: u32 = 2u32; |
04454e1e | 6012 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6013 | pub const SECPKG_CRED_AUTOLOGON_RESTRICTED: u32 = 16u32; |
04454e1e | 6014 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6015 | pub const SECPKG_CRED_BOTH: u32 = 3u32; |
04454e1e | 6016 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6017 | pub type SECPKG_CRED_CLASS = i32; |
04454e1e | 6018 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6019 | pub const SecPkgCredClass_None: SECPKG_CRED_CLASS = 0i32; |
04454e1e | 6020 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6021 | pub const SecPkgCredClass_Ephemeral: SECPKG_CRED_CLASS = 10i32; |
04454e1e | 6022 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6023 | pub const SecPkgCredClass_PersistedGeneric: SECPKG_CRED_CLASS = 20i32; |
04454e1e | 6024 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6025 | pub const SecPkgCredClass_PersistedSpecific: SECPKG_CRED_CLASS = 30i32; |
04454e1e | 6026 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6027 | pub const SecPkgCredClass_Explicit: SECPKG_CRED_CLASS = 40i32; |
04454e1e | 6028 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6029 | pub const SECPKG_CRED_DEFAULT: u32 = 4u32; |
04454e1e | 6030 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6031 | pub const SECPKG_CRED_PROCESS_POLICY_ONLY: u32 = 32u32; |
04454e1e | 6032 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6033 | pub const SECPKG_CRED_RESERVED: u32 = 4026531840u32; |
6034 | #[repr(C)] | |
04454e1e | 6035 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6036 | #[cfg(feature = "Win32_Foundation")] |
6037 | pub struct SECPKG_DLL_FUNCTIONS { | |
6038 | pub AllocateHeap: PLSA_ALLOCATE_LSA_HEAP, | |
6039 | pub FreeHeap: PLSA_FREE_LSA_HEAP, | |
6040 | pub RegisterCallback: PLSA_REGISTER_CALLBACK, | |
6041 | pub LocatePackageById: PLSA_LOCATE_PKG_BY_ID, | |
6042 | } | |
6043 | #[cfg(feature = "Win32_Foundation")] | |
6044 | impl ::core::marker::Copy for SECPKG_DLL_FUNCTIONS {} | |
6045 | #[cfg(feature = "Win32_Foundation")] | |
6046 | impl ::core::clone::Clone for SECPKG_DLL_FUNCTIONS { | |
6047 | fn clone(&self) -> Self { | |
6048 | *self | |
6049 | } | |
6050 | } | |
6051 | #[repr(C)] | |
04454e1e | 6052 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6053 | pub struct SECPKG_EVENT_NOTIFY { |
6054 | pub EventClass: u32, | |
6055 | pub Reserved: u32, | |
6056 | pub EventDataSize: u32, | |
6057 | pub EventData: *mut ::core::ffi::c_void, | |
6058 | pub PackageParameter: *mut ::core::ffi::c_void, | |
6059 | } | |
6060 | impl ::core::marker::Copy for SECPKG_EVENT_NOTIFY {} | |
6061 | impl ::core::clone::Clone for SECPKG_EVENT_NOTIFY { | |
6062 | fn clone(&self) -> Self { | |
6063 | *self | |
6064 | } | |
6065 | } | |
6066 | #[repr(C)] | |
04454e1e | 6067 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6068 | #[cfg(feature = "Win32_Foundation")] |
6069 | pub struct SECPKG_EVENT_PACKAGE_CHANGE { | |
6070 | pub ChangeType: SECPKG_PACKAGE_CHANGE_TYPE, | |
6071 | pub PackageId: usize, | |
6072 | pub PackageName: super::super::super::Foundation::UNICODE_STRING, | |
6073 | } | |
6074 | #[cfg(feature = "Win32_Foundation")] | |
6075 | impl ::core::marker::Copy for SECPKG_EVENT_PACKAGE_CHANGE {} | |
6076 | #[cfg(feature = "Win32_Foundation")] | |
6077 | impl ::core::clone::Clone for SECPKG_EVENT_PACKAGE_CHANGE { | |
6078 | fn clone(&self) -> Self { | |
6079 | *self | |
6080 | } | |
6081 | } | |
6082 | #[repr(C)] | |
04454e1e | 6083 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6084 | pub struct SECPKG_EVENT_ROLE_CHANGE { |
6085 | pub PreviousRole: u32, | |
6086 | pub NewRole: u32, | |
6087 | } | |
6088 | impl ::core::marker::Copy for SECPKG_EVENT_ROLE_CHANGE {} | |
6089 | impl ::core::clone::Clone for SECPKG_EVENT_ROLE_CHANGE { | |
6090 | fn clone(&self) -> Self { | |
6091 | *self | |
6092 | } | |
6093 | } | |
6094 | #[repr(C)] | |
04454e1e | 6095 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6096 | #[cfg(feature = "Win32_Foundation")] |
6097 | pub struct SECPKG_EXTENDED_INFORMATION { | |
6098 | pub Class: SECPKG_EXTENDED_INFORMATION_CLASS, | |
6099 | pub Info: SECPKG_EXTENDED_INFORMATION_0, | |
6100 | } | |
6101 | #[cfg(feature = "Win32_Foundation")] | |
6102 | impl ::core::marker::Copy for SECPKG_EXTENDED_INFORMATION {} | |
6103 | #[cfg(feature = "Win32_Foundation")] | |
6104 | impl ::core::clone::Clone for SECPKG_EXTENDED_INFORMATION { | |
6105 | fn clone(&self) -> Self { | |
6106 | *self | |
6107 | } | |
6108 | } | |
6109 | #[repr(C)] | |
04454e1e | 6110 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6111 | #[cfg(feature = "Win32_Foundation")] |
6112 | pub union SECPKG_EXTENDED_INFORMATION_0 { | |
6113 | pub GssInfo: SECPKG_GSS_INFO, | |
6114 | pub ContextThunks: SECPKG_CONTEXT_THUNKS, | |
6115 | pub MutualAuthLevel: SECPKG_MUTUAL_AUTH_LEVEL, | |
6116 | pub WowClientDll: SECPKG_WOW_CLIENT_DLL, | |
6117 | pub ExtraOids: SECPKG_EXTRA_OIDS, | |
6118 | pub Nego2Info: SECPKG_NEGO2_INFO, | |
6119 | } | |
6120 | #[cfg(feature = "Win32_Foundation")] | |
6121 | impl ::core::marker::Copy for SECPKG_EXTENDED_INFORMATION_0 {} | |
6122 | #[cfg(feature = "Win32_Foundation")] | |
6123 | impl ::core::clone::Clone for SECPKG_EXTENDED_INFORMATION_0 { | |
6124 | fn clone(&self) -> Self { | |
6125 | *self | |
6126 | } | |
6127 | } | |
04454e1e | 6128 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6129 | pub type SECPKG_EXTENDED_INFORMATION_CLASS = i32; |
04454e1e | 6130 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6131 | pub const SecpkgGssInfo: SECPKG_EXTENDED_INFORMATION_CLASS = 1i32; |
04454e1e | 6132 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6133 | pub const SecpkgContextThunks: SECPKG_EXTENDED_INFORMATION_CLASS = 2i32; |
04454e1e | 6134 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6135 | pub const SecpkgMutualAuthLevel: SECPKG_EXTENDED_INFORMATION_CLASS = 3i32; |
04454e1e | 6136 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6137 | pub const SecpkgWowClientDll: SECPKG_EXTENDED_INFORMATION_CLASS = 4i32; |
04454e1e | 6138 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6139 | pub const SecpkgExtraOids: SECPKG_EXTENDED_INFORMATION_CLASS = 5i32; |
04454e1e | 6140 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6141 | pub const SecpkgMaxInfo: SECPKG_EXTENDED_INFORMATION_CLASS = 6i32; |
04454e1e | 6142 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6143 | pub const SecpkgNego2Info: SECPKG_EXTENDED_INFORMATION_CLASS = 7i32; |
6144 | #[repr(C)] | |
04454e1e | 6145 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6146 | pub struct SECPKG_EXTRA_OIDS { |
6147 | pub OidCount: u32, | |
6148 | pub Oids: [SECPKG_SERIALIZED_OID; 1], | |
6149 | } | |
6150 | impl ::core::marker::Copy for SECPKG_EXTRA_OIDS {} | |
6151 | impl ::core::clone::Clone for SECPKG_EXTRA_OIDS { | |
6152 | fn clone(&self) -> Self { | |
6153 | *self | |
6154 | } | |
6155 | } | |
04454e1e | 6156 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6157 | pub const SECPKG_FLAG_ACCEPT_WIN32_NAME: u32 = 512u32; |
04454e1e | 6158 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6159 | pub const SECPKG_FLAG_APPCONTAINER_CHECKS: u32 = 8388608u32; |
04454e1e | 6160 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6161 | pub const SECPKG_FLAG_APPCONTAINER_PASSTHROUGH: u32 = 4194304u32; |
04454e1e | 6162 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6163 | pub const SECPKG_FLAG_APPLY_LOOPBACK: u32 = 33554432u32; |
04454e1e | 6164 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6165 | pub const SECPKG_FLAG_ASCII_BUFFERS: u32 = 16384u32; |
04454e1e | 6166 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6167 | pub const SECPKG_FLAG_CLIENT_ONLY: u32 = 64u32; |
04454e1e | 6168 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6169 | pub const SECPKG_FLAG_CONNECTION: u32 = 16u32; |
04454e1e | 6170 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6171 | pub const SECPKG_FLAG_CREDENTIAL_ISOLATION_ENABLED: u32 = 16777216u32; |
04454e1e | 6172 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6173 | pub const SECPKG_FLAG_DATAGRAM: u32 = 8u32; |
04454e1e | 6174 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6175 | pub const SECPKG_FLAG_DELEGATION: u32 = 131072u32; |
04454e1e | 6176 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6177 | pub const SECPKG_FLAG_EXTENDED_ERROR: u32 = 128u32; |
04454e1e | 6178 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6179 | pub const SECPKG_FLAG_FRAGMENT: u32 = 32768u32; |
04454e1e | 6180 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6181 | pub const SECPKG_FLAG_GSS_COMPATIBLE: u32 = 4096u32; |
04454e1e | 6182 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6183 | pub const SECPKG_FLAG_IMPERSONATION: u32 = 256u32; |
04454e1e | 6184 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6185 | pub const SECPKG_FLAG_INTEGRITY: u32 = 1u32; |
04454e1e | 6186 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6187 | pub const SECPKG_FLAG_LOGON: u32 = 8192u32; |
04454e1e | 6188 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6189 | pub const SECPKG_FLAG_MULTI_REQUIRED: u32 = 32u32; |
04454e1e | 6190 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6191 | pub const SECPKG_FLAG_MUTUAL_AUTH: u32 = 65536u32; |
04454e1e | 6192 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6193 | pub const SECPKG_FLAG_NEGOTIABLE: u32 = 2048u32; |
04454e1e | 6194 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6195 | pub const SECPKG_FLAG_NEGOTIABLE2: u32 = 2097152u32; |
04454e1e | 6196 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6197 | pub const SECPKG_FLAG_NEGO_EXTENDER: u32 = 1048576u32; |
04454e1e | 6198 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6199 | pub const SECPKG_FLAG_PRIVACY: u32 = 2u32; |
04454e1e | 6200 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6201 | pub const SECPKG_FLAG_READONLY_WITH_CHECKSUM: u32 = 262144u32; |
04454e1e | 6202 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6203 | pub const SECPKG_FLAG_RESTRICTED_TOKENS: u32 = 524288u32; |
04454e1e | 6204 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6205 | pub const SECPKG_FLAG_STREAM: u32 = 1024u32; |
04454e1e | 6206 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6207 | pub const SECPKG_FLAG_TOKEN_ONLY: u32 = 4u32; |
6208 | #[repr(C)] | |
04454e1e | 6209 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Threading\"`*"] |
5e7ed085 FG |
6210 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))] |
6211 | pub struct SECPKG_FUNCTION_TABLE { | |
6212 | pub InitializePackage: PLSA_AP_INITIALIZE_PACKAGE, | |
6213 | pub LogonUserA: PLSA_AP_LOGON_USER, | |
6214 | pub CallPackage: PLSA_AP_CALL_PACKAGE, | |
6215 | pub LogonTerminated: PLSA_AP_LOGON_TERMINATED, | |
6216 | pub CallPackageUntrusted: PLSA_AP_CALL_PACKAGE, | |
6217 | pub CallPackagePassthrough: PLSA_AP_CALL_PACKAGE_PASSTHROUGH, | |
6218 | pub LogonUserExA: PLSA_AP_LOGON_USER_EX, | |
6219 | pub LogonUserEx2: PLSA_AP_LOGON_USER_EX2, | |
6220 | pub Initialize: SpInitializeFn, | |
6221 | pub Shutdown: SpShutdownFn, | |
6222 | pub GetInfo: SpGetInfoFn, | |
6223 | pub AcceptCredentials: SpAcceptCredentialsFn, | |
6224 | pub AcquireCredentialsHandleA: SpAcquireCredentialsHandleFn, | |
6225 | pub QueryCredentialsAttributesA: SpQueryCredentialsAttributesFn, | |
6226 | pub FreeCredentialsHandle: SpFreeCredentialsHandleFn, | |
6227 | pub SaveCredentials: SpSaveCredentialsFn, | |
6228 | pub GetCredentials: SpGetCredentialsFn, | |
6229 | pub DeleteCredentials: SpDeleteCredentialsFn, | |
6230 | pub InitLsaModeContext: SpInitLsaModeContextFn, | |
6231 | pub AcceptLsaModeContext: SpAcceptLsaModeContextFn, | |
6232 | pub DeleteContext: SpDeleteContextFn, | |
6233 | pub ApplyControlToken: SpApplyControlTokenFn, | |
6234 | pub GetUserInfo: SpGetUserInfoFn, | |
6235 | pub GetExtendedInformation: SpGetExtendedInformationFn, | |
6236 | pub QueryContextAttributesA: SpQueryContextAttributesFn, | |
6237 | pub AddCredentialsA: SpAddCredentialsFn, | |
6238 | pub SetExtendedInformation: SpSetExtendedInformationFn, | |
6239 | pub SetContextAttributesA: SpSetContextAttributesFn, | |
6240 | pub SetCredentialsAttributesA: SpSetCredentialsAttributesFn, | |
6241 | pub ChangeAccountPasswordA: SpChangeAccountPasswordFn, | |
6242 | pub QueryMetaData: SpQueryMetaDataFn, | |
6243 | pub ExchangeMetaData: SpExchangeMetaDataFn, | |
6244 | pub GetCredUIContext: SpGetCredUIContextFn, | |
6245 | pub UpdateCredentials: SpUpdateCredentialsFn, | |
6246 | pub ValidateTargetInfo: SpValidateTargetInfoFn, | |
6247 | pub PostLogonUser: LSA_AP_POST_LOGON_USER, | |
6248 | pub GetRemoteCredGuardLogonBuffer: SpGetRemoteCredGuardLogonBufferFn, | |
6249 | pub GetRemoteCredGuardSupplementalCreds: SpGetRemoteCredGuardSupplementalCredsFn, | |
6250 | pub GetTbalSupplementalCreds: SpGetTbalSupplementalCredsFn, | |
6251 | pub LogonUserEx3: PLSA_AP_LOGON_USER_EX3, | |
6252 | pub PreLogonUserSurrogate: PLSA_AP_PRE_LOGON_USER_SURROGATE, | |
6253 | pub PostLogonUserSurrogate: PLSA_AP_POST_LOGON_USER_SURROGATE, | |
6254 | } | |
6255 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))] | |
6256 | impl ::core::marker::Copy for SECPKG_FUNCTION_TABLE {} | |
6257 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))] | |
6258 | impl ::core::clone::Clone for SECPKG_FUNCTION_TABLE { | |
6259 | fn clone(&self) -> Self { | |
6260 | *self | |
6261 | } | |
6262 | } | |
6263 | #[repr(C)] | |
04454e1e | 6264 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6265 | pub struct SECPKG_GSS_INFO { |
6266 | pub EncodedIdLength: u32, | |
6267 | pub EncodedId: [u8; 4], | |
6268 | } | |
6269 | impl ::core::marker::Copy for SECPKG_GSS_INFO {} | |
6270 | impl ::core::clone::Clone for SECPKG_GSS_INFO { | |
6271 | fn clone(&self) -> Self { | |
6272 | *self | |
6273 | } | |
6274 | } | |
04454e1e | 6275 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6276 | pub const SECPKG_ID_NONE: u32 = 65535u32; |
04454e1e | 6277 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6278 | pub const SECPKG_INTERFACE_VERSION: u32 = 65536u32; |
04454e1e | 6279 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6280 | pub const SECPKG_INTERFACE_VERSION_10: u32 = 33554432u32; |
04454e1e | 6281 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6282 | pub const SECPKG_INTERFACE_VERSION_2: u32 = 131072u32; |
04454e1e | 6283 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6284 | pub const SECPKG_INTERFACE_VERSION_3: u32 = 262144u32; |
04454e1e | 6285 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6286 | pub const SECPKG_INTERFACE_VERSION_4: u32 = 524288u32; |
04454e1e | 6287 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6288 | pub const SECPKG_INTERFACE_VERSION_5: u32 = 1048576u32; |
04454e1e | 6289 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6290 | pub const SECPKG_INTERFACE_VERSION_6: u32 = 2097152u32; |
04454e1e | 6291 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6292 | pub const SECPKG_INTERFACE_VERSION_7: u32 = 4194304u32; |
04454e1e | 6293 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6294 | pub const SECPKG_INTERFACE_VERSION_8: u32 = 8388608u32; |
04454e1e | 6295 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6296 | pub const SECPKG_INTERFACE_VERSION_9: u32 = 16777216u32; |
6297 | #[repr(C)] | |
04454e1e | 6298 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] |
5e7ed085 FG |
6299 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] |
6300 | pub struct SECPKG_KERNEL_FUNCTIONS { | |
6301 | pub AllocateHeap: PLSA_ALLOCATE_LSA_HEAP, | |
6302 | pub FreeHeap: PLSA_FREE_LSA_HEAP, | |
6303 | pub CreateContextList: PKSEC_CREATE_CONTEXT_LIST, | |
6304 | pub InsertListEntry: PKSEC_INSERT_LIST_ENTRY, | |
6305 | pub ReferenceListEntry: PKSEC_REFERENCE_LIST_ENTRY, | |
6306 | pub DereferenceListEntry: PKSEC_DEREFERENCE_LIST_ENTRY, | |
6307 | pub SerializeWinntAuthData: PKSEC_SERIALIZE_WINNT_AUTH_DATA, | |
6308 | pub SerializeSchannelAuthData: PKSEC_SERIALIZE_SCHANNEL_AUTH_DATA, | |
6309 | pub LocatePackageById: PKSEC_LOCATE_PKG_BY_ID, | |
6310 | } | |
6311 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] | |
6312 | impl ::core::marker::Copy for SECPKG_KERNEL_FUNCTIONS {} | |
6313 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] | |
6314 | impl ::core::clone::Clone for SECPKG_KERNEL_FUNCTIONS { | |
6315 | fn clone(&self) -> Self { | |
6316 | *self | |
6317 | } | |
6318 | } | |
6319 | #[repr(C)] | |
04454e1e | 6320 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"] |
5e7ed085 FG |
6321 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] |
6322 | pub struct SECPKG_KERNEL_FUNCTION_TABLE { | |
6323 | pub Initialize: KspInitPackageFn, | |
6324 | pub DeleteContext: KspDeleteContextFn, | |
6325 | pub InitContext: KspInitContextFn, | |
6326 | pub MapHandle: KspMapHandleFn, | |
6327 | pub Sign: KspMakeSignatureFn, | |
6328 | pub Verify: KspVerifySignatureFn, | |
6329 | pub Seal: KspSealMessageFn, | |
6330 | pub Unseal: KspUnsealMessageFn, | |
6331 | pub GetToken: KspGetTokenFn, | |
6332 | pub QueryAttributes: KspQueryAttributesFn, | |
6333 | pub CompleteToken: KspCompleteTokenFn, | |
6334 | pub ExportContext: SpExportSecurityContextFn, | |
6335 | pub ImportContext: SpImportSecurityContextFn, | |
6336 | pub SetPackagePagingMode: KspSetPagingModeFn, | |
6337 | pub SerializeAuthData: KspSerializeAuthDataFn, | |
6338 | } | |
6339 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] | |
6340 | impl ::core::marker::Copy for SECPKG_KERNEL_FUNCTION_TABLE {} | |
6341 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))] | |
6342 | impl ::core::clone::Clone for SECPKG_KERNEL_FUNCTION_TABLE { | |
6343 | fn clone(&self) -> Self { | |
6344 | *self | |
6345 | } | |
6346 | } | |
04454e1e | 6347 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 6348 | pub const SECPKG_LSAMODEINIT_NAME: &str = "SpLsaModeInitialize"; |
04454e1e | 6349 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6350 | pub const SECPKG_MAX_OID_LENGTH: u32 = 32u32; |
6351 | #[repr(C)] | |
04454e1e | 6352 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6353 | pub struct SECPKG_MUTUAL_AUTH_LEVEL { |
6354 | pub MutualAuthLevel: u32, | |
6355 | } | |
6356 | impl ::core::marker::Copy for SECPKG_MUTUAL_AUTH_LEVEL {} | |
6357 | impl ::core::clone::Clone for SECPKG_MUTUAL_AUTH_LEVEL { | |
6358 | fn clone(&self) -> Self { | |
6359 | *self | |
6360 | } | |
6361 | } | |
04454e1e | 6362 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6363 | pub type SECPKG_NAME_TYPE = i32; |
04454e1e | 6364 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6365 | pub const SecNameSamCompatible: SECPKG_NAME_TYPE = 0i32; |
04454e1e | 6366 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6367 | pub const SecNameAlternateId: SECPKG_NAME_TYPE = 1i32; |
04454e1e | 6368 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6369 | pub const SecNameFlat: SECPKG_NAME_TYPE = 2i32; |
04454e1e | 6370 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6371 | pub const SecNameDN: SECPKG_NAME_TYPE = 3i32; |
04454e1e | 6372 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6373 | pub const SecNameSPN: SECPKG_NAME_TYPE = 4i32; |
6374 | #[repr(C)] | |
04454e1e | 6375 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6376 | pub struct SECPKG_NEGO2_INFO { |
6377 | pub AuthScheme: [u8; 16], | |
6378 | pub PackageFlags: u32, | |
6379 | } | |
6380 | impl ::core::marker::Copy for SECPKG_NEGO2_INFO {} | |
6381 | impl ::core::clone::Clone for SECPKG_NEGO2_INFO { | |
6382 | fn clone(&self) -> Self { | |
6383 | *self | |
6384 | } | |
6385 | } | |
04454e1e | 6386 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6387 | pub const SECPKG_NEGOTIATION_COMPLETE: u32 = 0u32; |
04454e1e | 6388 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6389 | pub const SECPKG_NEGOTIATION_DIRECT: u32 = 3u32; |
04454e1e | 6390 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6391 | pub const SECPKG_NEGOTIATION_IN_PROGRESS: u32 = 2u32; |
04454e1e | 6392 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6393 | pub const SECPKG_NEGOTIATION_OPTIMISTIC: u32 = 1u32; |
04454e1e | 6394 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6395 | pub const SECPKG_NEGOTIATION_TRY_MULTICRED: u32 = 4u32; |
04454e1e | 6396 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6397 | pub const SECPKG_OPTIONS_PERMANENT: u32 = 1u32; |
04454e1e | 6398 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6399 | pub type SECPKG_PACKAGE_CHANGE_TYPE = u32; |
04454e1e | 6400 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6401 | pub const SECPKG_PACKAGE_CHANGE_LOAD: SECPKG_PACKAGE_CHANGE_TYPE = 0u32; |
04454e1e | 6402 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6403 | pub const SECPKG_PACKAGE_CHANGE_UNLOAD: SECPKG_PACKAGE_CHANGE_TYPE = 1u32; |
04454e1e | 6404 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6405 | pub const SECPKG_PACKAGE_CHANGE_SELECT: SECPKG_PACKAGE_CHANGE_TYPE = 2u32; |
6406 | #[repr(C)] | |
04454e1e | 6407 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6408 | #[cfg(feature = "Win32_Foundation")] |
6409 | pub struct SECPKG_PARAMETERS { | |
6410 | pub Version: u32, | |
6411 | pub MachineState: u32, | |
6412 | pub SetupMode: u32, | |
6413 | pub DomainSid: super::super::super::Foundation::PSID, | |
6414 | pub DomainName: super::super::super::Foundation::UNICODE_STRING, | |
6415 | pub DnsDomainName: super::super::super::Foundation::UNICODE_STRING, | |
6416 | pub DomainGuid: ::windows_sys::core::GUID, | |
6417 | } | |
6418 | #[cfg(feature = "Win32_Foundation")] | |
6419 | impl ::core::marker::Copy for SECPKG_PARAMETERS {} | |
6420 | #[cfg(feature = "Win32_Foundation")] | |
6421 | impl ::core::clone::Clone for SECPKG_PARAMETERS { | |
6422 | fn clone(&self) -> Self { | |
6423 | *self | |
6424 | } | |
6425 | } | |
6426 | #[repr(C)] | |
04454e1e | 6427 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6428 | #[cfg(feature = "Win32_Foundation")] |
6429 | pub struct SECPKG_POST_LOGON_USER_INFO { | |
6430 | pub Flags: u32, | |
6431 | pub LogonId: super::super::super::Foundation::LUID, | |
6432 | pub LinkedLogonId: super::super::super::Foundation::LUID, | |
6433 | } | |
6434 | #[cfg(feature = "Win32_Foundation")] | |
6435 | impl ::core::marker::Copy for SECPKG_POST_LOGON_USER_INFO {} | |
6436 | #[cfg(feature = "Win32_Foundation")] | |
6437 | impl ::core::clone::Clone for SECPKG_POST_LOGON_USER_INFO { | |
6438 | fn clone(&self) -> Self { | |
6439 | *self | |
6440 | } | |
6441 | } | |
6442 | #[repr(C)] | |
04454e1e | 6443 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6444 | #[cfg(feature = "Win32_Foundation")] |
6445 | pub struct SECPKG_PRIMARY_CRED { | |
6446 | pub LogonId: super::super::super::Foundation::LUID, | |
6447 | pub DownlevelName: super::super::super::Foundation::UNICODE_STRING, | |
6448 | pub DomainName: super::super::super::Foundation::UNICODE_STRING, | |
6449 | pub Password: super::super::super::Foundation::UNICODE_STRING, | |
6450 | pub OldPassword: super::super::super::Foundation::UNICODE_STRING, | |
6451 | pub UserSid: super::super::super::Foundation::PSID, | |
6452 | pub Flags: u32, | |
6453 | pub DnsDomainName: super::super::super::Foundation::UNICODE_STRING, | |
6454 | pub Upn: super::super::super::Foundation::UNICODE_STRING, | |
6455 | pub LogonServer: super::super::super::Foundation::UNICODE_STRING, | |
6456 | pub Spare1: super::super::super::Foundation::UNICODE_STRING, | |
6457 | pub Spare2: super::super::super::Foundation::UNICODE_STRING, | |
6458 | pub Spare3: super::super::super::Foundation::UNICODE_STRING, | |
6459 | pub Spare4: super::super::super::Foundation::UNICODE_STRING, | |
6460 | } | |
6461 | #[cfg(feature = "Win32_Foundation")] | |
6462 | impl ::core::marker::Copy for SECPKG_PRIMARY_CRED {} | |
6463 | #[cfg(feature = "Win32_Foundation")] | |
6464 | impl ::core::clone::Clone for SECPKG_PRIMARY_CRED { | |
6465 | fn clone(&self) -> Self { | |
6466 | *self | |
6467 | } | |
6468 | } | |
6469 | #[repr(C)] | |
04454e1e | 6470 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6471 | #[cfg(feature = "Win32_Foundation")] |
6472 | pub struct SECPKG_PRIMARY_CRED_EX { | |
6473 | pub LogonId: super::super::super::Foundation::LUID, | |
6474 | pub DownlevelName: super::super::super::Foundation::UNICODE_STRING, | |
6475 | pub DomainName: super::super::super::Foundation::UNICODE_STRING, | |
6476 | pub Password: super::super::super::Foundation::UNICODE_STRING, | |
6477 | pub OldPassword: super::super::super::Foundation::UNICODE_STRING, | |
6478 | pub UserSid: super::super::super::Foundation::PSID, | |
6479 | pub Flags: u32, | |
6480 | pub DnsDomainName: super::super::super::Foundation::UNICODE_STRING, | |
6481 | pub Upn: super::super::super::Foundation::UNICODE_STRING, | |
6482 | pub LogonServer: super::super::super::Foundation::UNICODE_STRING, | |
6483 | pub Spare1: super::super::super::Foundation::UNICODE_STRING, | |
6484 | pub Spare2: super::super::super::Foundation::UNICODE_STRING, | |
6485 | pub Spare3: super::super::super::Foundation::UNICODE_STRING, | |
6486 | pub Spare4: super::super::super::Foundation::UNICODE_STRING, | |
6487 | pub PackageId: usize, | |
6488 | pub PrevLogonId: super::super::super::Foundation::LUID, | |
6489 | pub FlagsEx: u32, | |
6490 | } | |
6491 | #[cfg(feature = "Win32_Foundation")] | |
6492 | impl ::core::marker::Copy for SECPKG_PRIMARY_CRED_EX {} | |
6493 | #[cfg(feature = "Win32_Foundation")] | |
6494 | impl ::core::clone::Clone for SECPKG_PRIMARY_CRED_EX { | |
6495 | fn clone(&self) -> Self { | |
6496 | *self | |
6497 | } | |
6498 | } | |
04454e1e | 6499 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6500 | pub const SECPKG_PRIMARY_CRED_EX_FLAGS_EX_DELEGATION_TOKEN: u32 = 1u32; |
6501 | #[repr(C)] | |
04454e1e | 6502 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6503 | #[cfg(feature = "Win32_Foundation")] |
6504 | pub struct SECPKG_REDIRECTED_LOGON_BUFFER { | |
6505 | pub RedirectedLogonGuid: ::windows_sys::core::GUID, | |
6506 | pub RedirectedLogonHandle: super::super::super::Foundation::HANDLE, | |
6507 | pub Init: PLSA_REDIRECTED_LOGON_INIT, | |
6508 | pub Callback: PLSA_REDIRECTED_LOGON_CALLBACK, | |
6509 | pub CleanupCallback: PLSA_REDIRECTED_LOGON_CLEANUP_CALLBACK, | |
6510 | pub GetLogonCreds: PLSA_REDIRECTED_LOGON_GET_LOGON_CREDS, | |
6511 | pub GetSupplementalCreds: PLSA_REDIRECTED_LOGON_GET_SUPP_CREDS, | |
6512 | } | |
6513 | #[cfg(feature = "Win32_Foundation")] | |
6514 | impl ::core::marker::Copy for SECPKG_REDIRECTED_LOGON_BUFFER {} | |
6515 | #[cfg(feature = "Win32_Foundation")] | |
6516 | impl ::core::clone::Clone for SECPKG_REDIRECTED_LOGON_BUFFER { | |
6517 | fn clone(&self) -> Self { | |
6518 | *self | |
6519 | } | |
6520 | } | |
6521 | #[repr(C)] | |
04454e1e | 6522 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6523 | pub struct SECPKG_SERIALIZED_OID { |
6524 | pub OidLength: u32, | |
6525 | pub OidAttributes: u32, | |
6526 | pub OidValue: [u8; 32], | |
6527 | } | |
6528 | impl ::core::marker::Copy for SECPKG_SERIALIZED_OID {} | |
6529 | impl ::core::clone::Clone for SECPKG_SERIALIZED_OID { | |
6530 | fn clone(&self) -> Self { | |
6531 | *self | |
6532 | } | |
6533 | } | |
04454e1e | 6534 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6535 | pub type SECPKG_SESSIONINFO_TYPE = i32; |
04454e1e | 6536 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6537 | pub const SecSessionPrimaryCred: SECPKG_SESSIONINFO_TYPE = 0i32; |
6538 | #[repr(C)] | |
04454e1e | 6539 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6540 | pub struct SECPKG_SHORT_VECTOR { |
6541 | pub ShortArrayOffset: u32, | |
6542 | pub ShortArrayCount: u16, | |
6543 | } | |
6544 | impl ::core::marker::Copy for SECPKG_SHORT_VECTOR {} | |
6545 | impl ::core::clone::Clone for SECPKG_SHORT_VECTOR { | |
6546 | fn clone(&self) -> Self { | |
6547 | *self | |
6548 | } | |
6549 | } | |
04454e1e | 6550 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6551 | pub const SECPKG_STATE_CRED_ISOLATION_ENABLED: u32 = 32u32; |
04454e1e | 6552 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6553 | pub const SECPKG_STATE_DOMAIN_CONTROLLER: u32 = 4u32; |
04454e1e | 6554 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6555 | pub const SECPKG_STATE_ENCRYPTION_PERMITTED: u32 = 1u32; |
04454e1e | 6556 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6557 | pub const SECPKG_STATE_RESERVED_1: u32 = 2147483648u32; |
04454e1e | 6558 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6559 | pub const SECPKG_STATE_STANDALONE: u32 = 16u32; |
04454e1e | 6560 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6561 | pub const SECPKG_STATE_STRONG_ENCRYPTION_PERMITTED: u32 = 2u32; |
04454e1e | 6562 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6563 | pub const SECPKG_STATE_WORKSTATION: u32 = 8u32; |
6564 | #[repr(C)] | |
04454e1e | 6565 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6566 | #[cfg(feature = "Win32_Foundation")] |
6567 | pub struct SECPKG_SUPPLEMENTAL_CRED { | |
6568 | pub PackageName: super::super::super::Foundation::UNICODE_STRING, | |
6569 | pub CredentialSize: u32, | |
6570 | pub Credentials: *mut u8, | |
6571 | } | |
6572 | #[cfg(feature = "Win32_Foundation")] | |
6573 | impl ::core::marker::Copy for SECPKG_SUPPLEMENTAL_CRED {} | |
6574 | #[cfg(feature = "Win32_Foundation")] | |
6575 | impl ::core::clone::Clone for SECPKG_SUPPLEMENTAL_CRED { | |
6576 | fn clone(&self) -> Self { | |
6577 | *self | |
6578 | } | |
6579 | } | |
6580 | #[repr(C)] | |
04454e1e | 6581 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6582 | #[cfg(feature = "Win32_Foundation")] |
6583 | pub struct SECPKG_SUPPLEMENTAL_CRED_ARRAY { | |
6584 | pub CredentialCount: u32, | |
6585 | pub Credentials: [SECPKG_SUPPLEMENTAL_CRED; 1], | |
6586 | } | |
6587 | #[cfg(feature = "Win32_Foundation")] | |
6588 | impl ::core::marker::Copy for SECPKG_SUPPLEMENTAL_CRED_ARRAY {} | |
6589 | #[cfg(feature = "Win32_Foundation")] | |
6590 | impl ::core::clone::Clone for SECPKG_SUPPLEMENTAL_CRED_ARRAY { | |
6591 | fn clone(&self) -> Self { | |
6592 | *self | |
6593 | } | |
6594 | } | |
6595 | #[repr(C)] | |
04454e1e | 6596 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6597 | pub struct SECPKG_SUPPLIED_CREDENTIAL { |
6598 | pub cbHeaderLength: u16, | |
6599 | pub cbStructureLength: u16, | |
6600 | pub UserName: SECPKG_SHORT_VECTOR, | |
6601 | pub DomainName: SECPKG_SHORT_VECTOR, | |
6602 | pub PackedCredentials: SECPKG_BYTE_VECTOR, | |
6603 | pub CredFlags: u32, | |
6604 | } | |
6605 | impl ::core::marker::Copy for SECPKG_SUPPLIED_CREDENTIAL {} | |
6606 | impl ::core::clone::Clone for SECPKG_SUPPLIED_CREDENTIAL { | |
6607 | fn clone(&self) -> Self { | |
6608 | *self | |
6609 | } | |
6610 | } | |
6611 | #[repr(C)] | |
04454e1e | 6612 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6613 | #[cfg(feature = "Win32_Foundation")] |
6614 | pub struct SECPKG_SURROGATE_LOGON { | |
6615 | pub Version: u32, | |
6616 | pub SurrogateLogonID: super::super::super::Foundation::LUID, | |
6617 | pub EntryCount: u32, | |
6618 | pub Entries: *mut SECPKG_SURROGATE_LOGON_ENTRY, | |
6619 | } | |
6620 | #[cfg(feature = "Win32_Foundation")] | |
6621 | impl ::core::marker::Copy for SECPKG_SURROGATE_LOGON {} | |
6622 | #[cfg(feature = "Win32_Foundation")] | |
6623 | impl ::core::clone::Clone for SECPKG_SURROGATE_LOGON { | |
6624 | fn clone(&self) -> Self { | |
6625 | *self | |
6626 | } | |
6627 | } | |
6628 | #[repr(C)] | |
04454e1e | 6629 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6630 | pub struct SECPKG_SURROGATE_LOGON_ENTRY { |
6631 | pub Type: ::windows_sys::core::GUID, | |
6632 | pub Data: *mut ::core::ffi::c_void, | |
6633 | } | |
6634 | impl ::core::marker::Copy for SECPKG_SURROGATE_LOGON_ENTRY {} | |
6635 | impl ::core::clone::Clone for SECPKG_SURROGATE_LOGON_ENTRY { | |
6636 | fn clone(&self) -> Self { | |
6637 | *self | |
6638 | } | |
6639 | } | |
04454e1e | 6640 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6641 | pub const SECPKG_SURROGATE_LOGON_VERSION_1: u32 = 1u32; |
6642 | #[repr(C)] | |
04454e1e | 6643 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6644 | #[cfg(feature = "Win32_Foundation")] |
6645 | pub struct SECPKG_TARGETINFO { | |
6646 | pub DomainSid: super::super::super::Foundation::PSID, | |
04454e1e | 6647 | pub ComputerName: ::windows_sys::core::PCWSTR, |
5e7ed085 FG |
6648 | } |
6649 | #[cfg(feature = "Win32_Foundation")] | |
6650 | impl ::core::marker::Copy for SECPKG_TARGETINFO {} | |
6651 | #[cfg(feature = "Win32_Foundation")] | |
6652 | impl ::core::clone::Clone for SECPKG_TARGETINFO { | |
6653 | fn clone(&self) -> Self { | |
6654 | *self | |
6655 | } | |
6656 | } | |
04454e1e | 6657 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6658 | pub const SECPKG_UNICODE_ATTRIBUTE: u32 = 2147483648u32; |
04454e1e | 6659 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 6660 | pub const SECPKG_USERMODEINIT_NAME: &str = "SpUserModeInitialize"; |
5e7ed085 | 6661 | #[repr(C)] |
04454e1e | 6662 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6663 | #[cfg(feature = "Win32_Foundation")] |
6664 | pub struct SECPKG_USER_FUNCTION_TABLE { | |
6665 | pub InstanceInit: SpInstanceInitFn, | |
6666 | pub InitUserModeContext: SpInitUserModeContextFn, | |
6667 | pub MakeSignature: SpMakeSignatureFn, | |
6668 | pub VerifySignature: SpVerifySignatureFn, | |
6669 | pub SealMessage: SpSealMessageFn, | |
6670 | pub UnsealMessage: SpUnsealMessageFn, | |
6671 | pub GetContextToken: SpGetContextTokenFn, | |
6672 | pub QueryContextAttributesA: SpQueryContextAttributesFn, | |
6673 | pub CompleteAuthToken: SpCompleteAuthTokenFn, | |
6674 | pub DeleteUserModeContext: SpDeleteContextFn, | |
6675 | pub FormatCredentials: SpFormatCredentialsFn, | |
6676 | pub MarshallSupplementalCreds: SpMarshallSupplementalCredsFn, | |
6677 | pub ExportContext: SpExportSecurityContextFn, | |
6678 | pub ImportContext: SpImportSecurityContextFn, | |
6679 | pub MarshalAttributeData: SpMarshalAttributeDataFn, | |
6680 | } | |
6681 | #[cfg(feature = "Win32_Foundation")] | |
6682 | impl ::core::marker::Copy for SECPKG_USER_FUNCTION_TABLE {} | |
6683 | #[cfg(feature = "Win32_Foundation")] | |
6684 | impl ::core::clone::Clone for SECPKG_USER_FUNCTION_TABLE { | |
6685 | fn clone(&self) -> Self { | |
6686 | *self | |
6687 | } | |
6688 | } | |
6689 | #[repr(C)] | |
04454e1e | 6690 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6691 | #[cfg(feature = "Win32_Foundation")] |
6692 | pub struct SECPKG_WOW_CLIENT_DLL { | |
6693 | pub WowClientDllPath: super::super::super::Foundation::UNICODE_STRING, | |
6694 | } | |
6695 | #[cfg(feature = "Win32_Foundation")] | |
6696 | impl ::core::marker::Copy for SECPKG_WOW_CLIENT_DLL {} | |
6697 | #[cfg(feature = "Win32_Foundation")] | |
6698 | impl ::core::clone::Clone for SECPKG_WOW_CLIENT_DLL { | |
6699 | fn clone(&self) -> Self { | |
6700 | *self | |
6701 | } | |
6702 | } | |
04454e1e | 6703 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6704 | pub const SECQOP_WRAP_NO_ENCRYPT: u32 = 2147483649u32; |
04454e1e | 6705 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6706 | pub const SECQOP_WRAP_OOB_DATA: u32 = 1073741824u32; |
04454e1e | 6707 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6708 | pub const SECRET_QUERY_VALUE: i32 = 2i32; |
04454e1e | 6709 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6710 | pub const SECRET_SET_VALUE: i32 = 1i32; |
04454e1e | 6711 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 6712 | pub const SECURITY_ENTRYPOINT: &str = "INITSECURITYINTERFACEA"; |
04454e1e | 6713 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 6714 | pub const SECURITY_ENTRYPOINT16: &str = "INITSECURITYINTERFACEA"; |
04454e1e | 6715 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 6716 | pub const SECURITY_ENTRYPOINT_ANSI: &str = "InitSecurityInterfaceW"; |
04454e1e | 6717 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 6718 | pub const SECURITY_ENTRYPOINT_ANSIA: &str = "InitSecurityInterfaceA"; |
04454e1e | 6719 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 6720 | pub const SECURITY_ENTRYPOINT_ANSIW: &str = "InitSecurityInterfaceW"; |
5e7ed085 | 6721 | #[repr(C)] |
04454e1e | 6722 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6723 | #[cfg(feature = "Win32_Foundation")] |
6724 | pub struct SECURITY_LOGON_SESSION_DATA { | |
6725 | pub Size: u32, | |
6726 | pub LogonId: super::super::super::Foundation::LUID, | |
6727 | pub UserName: super::super::super::Foundation::UNICODE_STRING, | |
6728 | pub LogonDomain: super::super::super::Foundation::UNICODE_STRING, | |
6729 | pub AuthenticationPackage: super::super::super::Foundation::UNICODE_STRING, | |
6730 | pub LogonType: u32, | |
6731 | pub Session: u32, | |
6732 | pub Sid: super::super::super::Foundation::PSID, | |
6733 | pub LogonTime: i64, | |
6734 | pub LogonServer: super::super::super::Foundation::UNICODE_STRING, | |
6735 | pub DnsDomainName: super::super::super::Foundation::UNICODE_STRING, | |
6736 | pub Upn: super::super::super::Foundation::UNICODE_STRING, | |
6737 | pub UserFlags: u32, | |
6738 | pub LastLogonInfo: LSA_LAST_INTER_LOGON_INFO, | |
6739 | pub LogonScript: super::super::super::Foundation::UNICODE_STRING, | |
6740 | pub ProfilePath: super::super::super::Foundation::UNICODE_STRING, | |
6741 | pub HomeDirectory: super::super::super::Foundation::UNICODE_STRING, | |
6742 | pub HomeDirectoryDrive: super::super::super::Foundation::UNICODE_STRING, | |
6743 | pub LogoffTime: i64, | |
6744 | pub KickOffTime: i64, | |
6745 | pub PasswordLastSet: i64, | |
6746 | pub PasswordCanChange: i64, | |
6747 | pub PasswordMustChange: i64, | |
6748 | } | |
6749 | #[cfg(feature = "Win32_Foundation")] | |
6750 | impl ::core::marker::Copy for SECURITY_LOGON_SESSION_DATA {} | |
6751 | #[cfg(feature = "Win32_Foundation")] | |
6752 | impl ::core::clone::Clone for SECURITY_LOGON_SESSION_DATA { | |
6753 | fn clone(&self) -> Self { | |
6754 | *self | |
6755 | } | |
6756 | } | |
04454e1e | 6757 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6758 | #[repr(transparent)] |
6759 | pub struct SECURITY_LOGON_TYPE(pub i32); | |
6760 | impl SECURITY_LOGON_TYPE { | |
6761 | pub const UndefinedLogonType: Self = Self(0i32); | |
6762 | pub const Interactive: Self = Self(2i32); | |
6763 | pub const Network: Self = Self(3i32); | |
6764 | pub const Batch: Self = Self(4i32); | |
6765 | pub const Service: Self = Self(5i32); | |
6766 | pub const Proxy: Self = Self(6i32); | |
6767 | pub const Unlock: Self = Self(7i32); | |
6768 | pub const NetworkCleartext: Self = Self(8i32); | |
6769 | pub const NewCredentials: Self = Self(9i32); | |
6770 | pub const RemoteInteractive: Self = Self(10i32); | |
6771 | pub const CachedInteractive: Self = Self(11i32); | |
6772 | pub const CachedRemoteInteractive: Self = Self(12i32); | |
6773 | pub const CachedUnlock: Self = Self(13i32); | |
6774 | } | |
6775 | impl ::core::marker::Copy for SECURITY_LOGON_TYPE {} | |
6776 | impl ::core::clone::Clone for SECURITY_LOGON_TYPE { | |
6777 | fn clone(&self) -> Self { | |
6778 | *self | |
6779 | } | |
6780 | } | |
04454e1e | 6781 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6782 | pub const SECURITY_NATIVE_DREP: u32 = 16u32; |
04454e1e | 6783 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6784 | pub const SECURITY_NETWORK_DREP: u32 = 0u32; |
6785 | #[repr(C)] | |
04454e1e | 6786 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6787 | pub struct SECURITY_PACKAGE_OPTIONS { |
6788 | pub Size: u32, | |
6789 | pub Type: SECURITY_PACKAGE_OPTIONS_TYPE, | |
6790 | pub Flags: u32, | |
6791 | pub SignatureSize: u32, | |
6792 | pub Signature: *mut ::core::ffi::c_void, | |
6793 | } | |
6794 | impl ::core::marker::Copy for SECURITY_PACKAGE_OPTIONS {} | |
6795 | impl ::core::clone::Clone for SECURITY_PACKAGE_OPTIONS { | |
6796 | fn clone(&self) -> Self { | |
6797 | *self | |
6798 | } | |
6799 | } | |
04454e1e | 6800 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6801 | pub type SECURITY_PACKAGE_OPTIONS_TYPE = u32; |
04454e1e | 6802 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6803 | pub const SECPKG_OPTIONS_TYPE_UNKNOWN: SECURITY_PACKAGE_OPTIONS_TYPE = 0u32; |
04454e1e | 6804 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6805 | pub const SECPKG_OPTIONS_TYPE_LSA: SECURITY_PACKAGE_OPTIONS_TYPE = 1u32; |
04454e1e | 6806 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6807 | pub const SECPKG_OPTIONS_TYPE_SSPI: SECURITY_PACKAGE_OPTIONS_TYPE = 2u32; |
04454e1e | 6808 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6809 | pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION: u32 = 1u32; |
04454e1e | 6810 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6811 | pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION_2: u32 = 2u32; |
04454e1e | 6812 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6813 | pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION_3: u32 = 3u32; |
04454e1e | 6814 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6815 | pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION_4: u32 = 4u32; |
04454e1e | 6816 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6817 | pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION_5: u32 = 5u32; |
6818 | #[repr(C)] | |
04454e1e | 6819 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
6820 | #[cfg(feature = "Win32_Foundation")] |
6821 | pub struct SECURITY_USER_DATA { | |
6822 | pub UserName: super::super::super::Foundation::UNICODE_STRING, | |
6823 | pub LogonDomainName: super::super::super::Foundation::UNICODE_STRING, | |
6824 | pub LogonServer: super::super::super::Foundation::UNICODE_STRING, | |
6825 | pub pSid: super::super::super::Foundation::PSID, | |
6826 | } | |
6827 | #[cfg(feature = "Win32_Foundation")] | |
6828 | impl ::core::marker::Copy for SECURITY_USER_DATA {} | |
6829 | #[cfg(feature = "Win32_Foundation")] | |
6830 | impl ::core::clone::Clone for SECURITY_USER_DATA { | |
6831 | fn clone(&self) -> Self { | |
6832 | *self | |
6833 | } | |
6834 | } | |
6835 | #[repr(C)] | |
04454e1e | 6836 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6837 | pub struct SEC_APPLICATION_PROTOCOLS { |
6838 | pub ProtocolListsSize: u32, | |
6839 | pub ProtocolLists: [SEC_APPLICATION_PROTOCOL_LIST; 1], | |
6840 | } | |
6841 | impl ::core::marker::Copy for SEC_APPLICATION_PROTOCOLS {} | |
6842 | impl ::core::clone::Clone for SEC_APPLICATION_PROTOCOLS { | |
6843 | fn clone(&self) -> Self { | |
6844 | *self | |
6845 | } | |
6846 | } | |
6847 | #[repr(C)] | |
04454e1e | 6848 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6849 | pub struct SEC_APPLICATION_PROTOCOL_LIST { |
6850 | pub ProtoNegoExt: SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT, | |
6851 | pub ProtocolListSize: u16, | |
6852 | pub ProtocolList: [u8; 1], | |
6853 | } | |
6854 | impl ::core::marker::Copy for SEC_APPLICATION_PROTOCOL_LIST {} | |
6855 | impl ::core::clone::Clone for SEC_APPLICATION_PROTOCOL_LIST { | |
6856 | fn clone(&self) -> Self { | |
6857 | *self | |
6858 | } | |
6859 | } | |
04454e1e | 6860 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6861 | pub type SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT = i32; |
04454e1e | 6862 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6863 | pub const SecApplicationProtocolNegotiationExt_None: SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT = 0i32; |
04454e1e | 6864 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6865 | pub const SecApplicationProtocolNegotiationExt_NPN: SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT = 1i32; |
04454e1e | 6866 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6867 | pub const SecApplicationProtocolNegotiationExt_ALPN: SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT = 2i32; |
04454e1e | 6868 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6869 | pub type SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS = i32; |
04454e1e | 6870 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6871 | pub const SecApplicationProtocolNegotiationStatus_None: SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS = 0i32; |
04454e1e | 6872 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 6873 | pub const SecApplicationProtocolNegotiationStatus_Success: SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS = 1i32; |
04454e1e | 6874 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6875 | pub const SecApplicationProtocolNegotiationStatus_SelectedClientOnly: SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS = 2i32; |
6876 | #[repr(C)] | |
04454e1e | 6877 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6878 | pub struct SEC_CHANNEL_BINDINGS { |
6879 | pub dwInitiatorAddrType: u32, | |
6880 | pub cbInitiatorLength: u32, | |
6881 | pub dwInitiatorOffset: u32, | |
6882 | pub dwAcceptorAddrType: u32, | |
6883 | pub cbAcceptorLength: u32, | |
6884 | pub dwAcceptorOffset: u32, | |
6885 | pub cbApplicationDataLength: u32, | |
6886 | pub dwApplicationDataOffset: u32, | |
6887 | } | |
6888 | impl ::core::marker::Copy for SEC_CHANNEL_BINDINGS {} | |
6889 | impl ::core::clone::Clone for SEC_CHANNEL_BINDINGS { | |
6890 | fn clone(&self) -> Self { | |
6891 | *self | |
6892 | } | |
6893 | } | |
6894 | #[repr(C)] | |
04454e1e | 6895 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6896 | pub struct SEC_DTLS_MTU { |
6897 | pub PathMTU: u16, | |
6898 | } | |
6899 | impl ::core::marker::Copy for SEC_DTLS_MTU {} | |
6900 | impl ::core::clone::Clone for SEC_DTLS_MTU { | |
6901 | fn clone(&self) -> Self { | |
6902 | *self | |
6903 | } | |
6904 | } | |
6905 | #[repr(C)] | |
04454e1e | 6906 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6907 | pub struct SEC_FLAGS { |
6908 | pub Flags: u64, | |
6909 | } | |
6910 | impl ::core::marker::Copy for SEC_FLAGS {} | |
6911 | impl ::core::clone::Clone for SEC_FLAGS { | |
6912 | fn clone(&self) -> Self { | |
6913 | *self | |
6914 | } | |
6915 | } | |
04454e1e | 6916 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 6917 | pub type SEC_GET_KEY_FN = ::core::option::Option<unsafe extern "system" fn(arg: *mut ::core::ffi::c_void, principal: *mut ::core::ffi::c_void, keyver: u32, key: *mut *mut ::core::ffi::c_void, status: *mut ::windows_sys::core::HRESULT)>; |
5e7ed085 | 6918 | #[repr(C)] |
04454e1e | 6919 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6920 | pub struct SEC_NEGOTIATION_INFO { |
6921 | pub Size: u32, | |
6922 | pub NameLength: u32, | |
6923 | pub Name: *mut u16, | |
6924 | pub Reserved: *mut ::core::ffi::c_void, | |
6925 | } | |
6926 | impl ::core::marker::Copy for SEC_NEGOTIATION_INFO {} | |
6927 | impl ::core::clone::Clone for SEC_NEGOTIATION_INFO { | |
6928 | fn clone(&self) -> Self { | |
6929 | *self | |
6930 | } | |
6931 | } | |
6932 | #[repr(C)] | |
04454e1e | 6933 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6934 | pub struct SEC_PRESHAREDKEY { |
6935 | pub KeySize: u16, | |
6936 | pub Key: [u8; 1], | |
6937 | } | |
6938 | impl ::core::marker::Copy for SEC_PRESHAREDKEY {} | |
6939 | impl ::core::clone::Clone for SEC_PRESHAREDKEY { | |
6940 | fn clone(&self) -> Self { | |
6941 | *self | |
6942 | } | |
6943 | } | |
6944 | #[repr(C)] | |
04454e1e | 6945 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6946 | pub struct SEC_PRESHAREDKEY_IDENTITY { |
6947 | pub KeyIdentitySize: u16, | |
6948 | pub KeyIdentity: [u8; 1], | |
6949 | } | |
6950 | impl ::core::marker::Copy for SEC_PRESHAREDKEY_IDENTITY {} | |
6951 | impl ::core::clone::Clone for SEC_PRESHAREDKEY_IDENTITY { | |
6952 | fn clone(&self) -> Self { | |
6953 | *self | |
6954 | } | |
6955 | } | |
6956 | #[repr(C)] | |
04454e1e | 6957 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6958 | pub struct SEC_SRTP_MASTER_KEY_IDENTIFIER { |
6959 | pub MasterKeyIdentifierSize: u8, | |
6960 | pub MasterKeyIdentifier: [u8; 1], | |
6961 | } | |
6962 | impl ::core::marker::Copy for SEC_SRTP_MASTER_KEY_IDENTIFIER {} | |
6963 | impl ::core::clone::Clone for SEC_SRTP_MASTER_KEY_IDENTIFIER { | |
6964 | fn clone(&self) -> Self { | |
6965 | *self | |
6966 | } | |
6967 | } | |
6968 | #[repr(C)] | |
04454e1e | 6969 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6970 | pub struct SEC_SRTP_PROTECTION_PROFILES { |
6971 | pub ProfilesSize: u16, | |
6972 | pub ProfilesList: [u16; 1], | |
6973 | } | |
6974 | impl ::core::marker::Copy for SEC_SRTP_PROTECTION_PROFILES {} | |
6975 | impl ::core::clone::Clone for SEC_SRTP_PROTECTION_PROFILES { | |
6976 | fn clone(&self) -> Self { | |
6977 | *self | |
6978 | } | |
6979 | } | |
6980 | #[repr(C)] | |
04454e1e | 6981 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6982 | pub struct SEC_TOKEN_BINDING { |
6983 | pub MajorVersion: u8, | |
6984 | pub MinorVersion: u8, | |
6985 | pub KeyParametersSize: u16, | |
6986 | pub KeyParameters: [u8; 1], | |
6987 | } | |
6988 | impl ::core::marker::Copy for SEC_TOKEN_BINDING {} | |
6989 | impl ::core::clone::Clone for SEC_TOKEN_BINDING { | |
6990 | fn clone(&self) -> Self { | |
6991 | *self | |
6992 | } | |
6993 | } | |
6994 | #[repr(C)] | |
04454e1e | 6995 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
6996 | pub struct SEC_TRAFFIC_SECRETS { |
6997 | pub SymmetricAlgId: [u16; 64], | |
6998 | pub ChainingMode: [u16; 64], | |
6999 | pub HashAlgId: [u16; 64], | |
7000 | pub KeySize: u16, | |
7001 | pub IvSize: u16, | |
7002 | pub MsgSequenceStart: u16, | |
7003 | pub MsgSequenceEnd: u16, | |
7004 | pub TrafficSecretType: SEC_TRAFFIC_SECRET_TYPE, | |
7005 | pub TrafficSecretSize: u16, | |
7006 | pub TrafficSecret: [u8; 1], | |
7007 | } | |
7008 | impl ::core::marker::Copy for SEC_TRAFFIC_SECRETS {} | |
7009 | impl ::core::clone::Clone for SEC_TRAFFIC_SECRETS { | |
7010 | fn clone(&self) -> Self { | |
7011 | *self | |
7012 | } | |
7013 | } | |
04454e1e | 7014 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7015 | pub type SEC_TRAFFIC_SECRET_TYPE = i32; |
04454e1e | 7016 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7017 | pub const SecTrafficSecret_None: SEC_TRAFFIC_SECRET_TYPE = 0i32; |
04454e1e | 7018 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7019 | pub const SecTrafficSecret_Client: SEC_TRAFFIC_SECRET_TYPE = 1i32; |
04454e1e | 7020 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
7021 | pub const SecTrafficSecret_Server: SEC_TRAFFIC_SECRET_TYPE = 2i32; |
7022 | #[repr(C)] | |
04454e1e | 7023 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
7024 | pub struct SEC_WINNT_AUTH_IDENTITY32 { |
7025 | pub User: u32, | |
7026 | pub UserLength: u32, | |
7027 | pub Domain: u32, | |
7028 | pub DomainLength: u32, | |
7029 | pub Password: u32, | |
7030 | pub PasswordLength: u32, | |
7031 | pub Flags: u32, | |
7032 | } | |
7033 | impl ::core::marker::Copy for SEC_WINNT_AUTH_IDENTITY32 {} | |
7034 | impl ::core::clone::Clone for SEC_WINNT_AUTH_IDENTITY32 { | |
7035 | fn clone(&self) -> Self { | |
7036 | *self | |
7037 | } | |
7038 | } | |
04454e1e | 7039 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7040 | pub const SEC_WINNT_AUTH_IDENTITY_ENCRYPT_FOR_SYSTEM: u32 = 4u32; |
04454e1e | 7041 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7042 | pub const SEC_WINNT_AUTH_IDENTITY_ENCRYPT_SAME_LOGON: u32 = 1u32; |
04454e1e | 7043 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
7044 | pub const SEC_WINNT_AUTH_IDENTITY_ENCRYPT_SAME_PROCESS: u32 = 2u32; |
7045 | #[repr(C)] | |
04454e1e | 7046 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
7047 | pub struct SEC_WINNT_AUTH_IDENTITY_EX2 { |
7048 | pub Version: u32, | |
7049 | pub cbHeaderLength: u16, | |
7050 | pub cbStructureLength: u32, | |
7051 | pub UserOffset: u32, | |
7052 | pub UserLength: u16, | |
7053 | pub DomainOffset: u32, | |
7054 | pub DomainLength: u16, | |
7055 | pub PackedCredentialsOffset: u32, | |
7056 | pub PackedCredentialsLength: u16, | |
7057 | pub Flags: u32, | |
7058 | pub PackageListOffset: u32, | |
7059 | pub PackageListLength: u16, | |
7060 | } | |
7061 | impl ::core::marker::Copy for SEC_WINNT_AUTH_IDENTITY_EX2 {} | |
7062 | impl ::core::clone::Clone for SEC_WINNT_AUTH_IDENTITY_EX2 { | |
7063 | fn clone(&self) -> Self { | |
7064 | *self | |
7065 | } | |
7066 | } | |
7067 | #[repr(C)] | |
04454e1e | 7068 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
7069 | pub struct SEC_WINNT_AUTH_IDENTITY_EX32 { |
7070 | pub Version: u32, | |
7071 | pub Length: u32, | |
7072 | pub User: u32, | |
7073 | pub UserLength: u32, | |
7074 | pub Domain: u32, | |
7075 | pub DomainLength: u32, | |
7076 | pub Password: u32, | |
7077 | pub PasswordLength: u32, | |
7078 | pub Flags: u32, | |
7079 | pub PackageList: u32, | |
7080 | pub PackageListLength: u32, | |
7081 | } | |
7082 | impl ::core::marker::Copy for SEC_WINNT_AUTH_IDENTITY_EX32 {} | |
7083 | impl ::core::clone::Clone for SEC_WINNT_AUTH_IDENTITY_EX32 { | |
7084 | fn clone(&self) -> Self { | |
7085 | *self | |
7086 | } | |
7087 | } | |
7088 | #[repr(C)] | |
04454e1e | 7089 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
7090 | pub struct SEC_WINNT_AUTH_IDENTITY_EXA { |
7091 | pub Version: u32, | |
7092 | pub Length: u32, | |
7093 | pub User: *mut u8, | |
7094 | pub UserLength: u32, | |
7095 | pub Domain: *mut u8, | |
7096 | pub DomainLength: u32, | |
7097 | pub Password: *mut u8, | |
7098 | pub PasswordLength: u32, | |
7099 | pub Flags: u32, | |
7100 | pub PackageList: *mut u8, | |
7101 | pub PackageListLength: u32, | |
7102 | } | |
7103 | impl ::core::marker::Copy for SEC_WINNT_AUTH_IDENTITY_EXA {} | |
7104 | impl ::core::clone::Clone for SEC_WINNT_AUTH_IDENTITY_EXA { | |
7105 | fn clone(&self) -> Self { | |
7106 | *self | |
7107 | } | |
7108 | } | |
7109 | #[repr(C)] | |
04454e1e | 7110 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
7111 | pub struct SEC_WINNT_AUTH_IDENTITY_EXW { |
7112 | pub Version: u32, | |
7113 | pub Length: u32, | |
7114 | pub User: *mut u16, | |
7115 | pub UserLength: u32, | |
7116 | pub Domain: *mut u16, | |
7117 | pub DomainLength: u32, | |
7118 | pub Password: *mut u16, | |
7119 | pub PasswordLength: u32, | |
7120 | pub Flags: u32, | |
7121 | pub PackageList: *mut u16, | |
7122 | pub PackageListLength: u32, | |
7123 | } | |
7124 | impl ::core::marker::Copy for SEC_WINNT_AUTH_IDENTITY_EXW {} | |
7125 | impl ::core::clone::Clone for SEC_WINNT_AUTH_IDENTITY_EXW { | |
7126 | fn clone(&self) -> Self { | |
7127 | *self | |
7128 | } | |
7129 | } | |
04454e1e | 7130 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7131 | pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_ID_PROVIDER: u32 = 524288u32; |
04454e1e | 7132 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7133 | pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_NULL_DOMAIN: u32 = 262144u32; |
04454e1e | 7134 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7135 | pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_NULL_USER: u32 = 131072u32; |
04454e1e | 7136 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7137 | pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_PROCESS_ENCRYPTED: u32 = 16u32; |
04454e1e | 7138 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7139 | pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_RESERVED: u32 = 65536u32; |
04454e1e | 7140 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7141 | pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_CREDPROV_DO_NOT_LOAD: u32 = 268435456u32; |
04454e1e | 7142 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7143 | pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_CREDPROV_DO_NOT_SAVE: u32 = 2147483648u32; |
04454e1e | 7144 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7145 | pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_NO_CHECKBOX: u32 = 536870912u32; |
04454e1e | 7146 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7147 | pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_SAVE_CRED_BY_CALLER: u32 = 2147483648u32; |
04454e1e | 7148 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7149 | pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_SAVE_CRED_CHECKED: u32 = 1073741824u32; |
04454e1e | 7150 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7151 | pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_USE_MASK: u32 = 4278190080u32; |
04454e1e | 7152 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7153 | pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SYSTEM_ENCRYPTED: u32 = 128u32; |
04454e1e | 7154 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7155 | pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SYSTEM_PROTECTED: u32 = 32u32; |
04454e1e | 7156 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
7157 | pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_USER_PROTECTED: u32 = 64u32; |
7158 | #[repr(C)] | |
04454e1e | 7159 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_System_Rpc\"`*"] |
5e7ed085 FG |
7160 | #[cfg(feature = "Win32_System_Rpc")] |
7161 | pub union SEC_WINNT_AUTH_IDENTITY_INFO { | |
7162 | pub AuthIdExw: SEC_WINNT_AUTH_IDENTITY_EXW, | |
7163 | pub AuthIdExa: SEC_WINNT_AUTH_IDENTITY_EXA, | |
7164 | pub AuthId_a: super::super::super::System::Rpc::SEC_WINNT_AUTH_IDENTITY_A, | |
7165 | pub AuthId_w: super::super::super::System::Rpc::SEC_WINNT_AUTH_IDENTITY_W, | |
7166 | pub AuthIdEx2: SEC_WINNT_AUTH_IDENTITY_EX2, | |
7167 | } | |
7168 | #[cfg(feature = "Win32_System_Rpc")] | |
7169 | impl ::core::marker::Copy for SEC_WINNT_AUTH_IDENTITY_INFO {} | |
7170 | #[cfg(feature = "Win32_System_Rpc")] | |
7171 | impl ::core::clone::Clone for SEC_WINNT_AUTH_IDENTITY_INFO { | |
7172 | fn clone(&self) -> Self { | |
7173 | *self | |
7174 | } | |
7175 | } | |
04454e1e | 7176 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7177 | pub const SEC_WINNT_AUTH_IDENTITY_MARSHALLED: u32 = 4u32; |
04454e1e | 7178 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7179 | pub const SEC_WINNT_AUTH_IDENTITY_ONLY: u32 = 8u32; |
04454e1e | 7180 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7181 | pub const SEC_WINNT_AUTH_IDENTITY_VERSION: u32 = 512u32; |
04454e1e | 7182 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
7183 | pub const SEC_WINNT_AUTH_IDENTITY_VERSION_2: u32 = 513u32; |
7184 | #[repr(C)] | |
04454e1e | 7185 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
7186 | pub struct SEND_GENERIC_TLS_EXTENSION { |
7187 | pub ExtensionType: u16, | |
7188 | pub HandshakeType: u16, | |
7189 | pub Flags: u32, | |
7190 | pub BufferSize: u16, | |
7191 | pub Buffer: [u8; 1], | |
7192 | } | |
7193 | impl ::core::marker::Copy for SEND_GENERIC_TLS_EXTENSION {} | |
7194 | impl ::core::clone::Clone for SEND_GENERIC_TLS_EXTENSION { | |
7195 | fn clone(&self) -> Self { | |
7196 | *self | |
7197 | } | |
7198 | } | |
04454e1e | 7199 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7200 | pub const SESSION_TICKET_INFO_V0: u32 = 0u32; |
04454e1e | 7201 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7202 | pub const SESSION_TICKET_INFO_VERSION: u32 = 0u32; |
04454e1e | 7203 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 7204 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 7205 | pub type SET_CONTEXT_ATTRIBUTES_FN_A = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut ::core::ffi::c_void, param3: u32) -> ::windows_sys::core::HRESULT>; |
04454e1e | 7206 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 7207 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 7208 | pub type SET_CONTEXT_ATTRIBUTES_FN_W = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut ::core::ffi::c_void, param3: u32) -> ::windows_sys::core::HRESULT>; |
04454e1e | 7209 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 7210 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 7211 | pub type SET_CREDENTIALS_ATTRIBUTES_FN_A = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut ::core::ffi::c_void, param3: u32) -> ::windows_sys::core::HRESULT>; |
04454e1e | 7212 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 7213 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 7214 | pub type SET_CREDENTIALS_ATTRIBUTES_FN_W = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut ::core::ffi::c_void, param3: u32) -> ::windows_sys::core::HRESULT>; |
5e7ed085 | 7215 | #[repr(C)] |
923072b8 | 7216 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
7217 | pub struct SE_ADT_ACCESS_REASON { |
7218 | pub AccessMask: u32, | |
7219 | pub AccessReasons: [u32; 32], | |
7220 | pub ObjectTypeIndex: u32, | |
7221 | pub AccessGranted: u32, | |
923072b8 | 7222 | pub SecurityDescriptor: super::super::PSECURITY_DESCRIPTOR, |
5e7ed085 | 7223 | } |
5e7ed085 | 7224 | impl ::core::marker::Copy for SE_ADT_ACCESS_REASON {} |
5e7ed085 FG |
7225 | impl ::core::clone::Clone for SE_ADT_ACCESS_REASON { |
7226 | fn clone(&self) -> Self { | |
7227 | *self | |
7228 | } | |
7229 | } | |
7230 | #[repr(C)] | |
04454e1e | 7231 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
7232 | pub struct SE_ADT_CLAIMS { |
7233 | pub Length: u32, | |
7234 | pub Claims: *mut ::core::ffi::c_void, | |
7235 | } | |
7236 | impl ::core::marker::Copy for SE_ADT_CLAIMS {} | |
7237 | impl ::core::clone::Clone for SE_ADT_CLAIMS { | |
7238 | fn clone(&self) -> Self { | |
7239 | *self | |
7240 | } | |
7241 | } | |
04454e1e | 7242 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
7243 | pub const SE_ADT_OBJECT_ONLY: u32 = 1u32; |
7244 | #[repr(C)] | |
04454e1e | 7245 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
7246 | pub struct SE_ADT_OBJECT_TYPE { |
7247 | pub ObjectType: ::windows_sys::core::GUID, | |
7248 | pub Flags: u16, | |
7249 | pub Level: u16, | |
7250 | pub AccessMask: u32, | |
7251 | } | |
7252 | impl ::core::marker::Copy for SE_ADT_OBJECT_TYPE {} | |
7253 | impl ::core::clone::Clone for SE_ADT_OBJECT_TYPE { | |
7254 | fn clone(&self) -> Self { | |
7255 | *self | |
7256 | } | |
7257 | } | |
04454e1e | 7258 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7259 | pub const SE_ADT_PARAMETERS_SELF_RELATIVE: u32 = 1u32; |
04454e1e | 7260 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
7261 | pub const SE_ADT_PARAMETERS_SEND_TO_LSA: u32 = 2u32; |
7262 | #[repr(C)] | |
04454e1e | 7263 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
7264 | pub struct SE_ADT_PARAMETER_ARRAY { |
7265 | pub CategoryId: u32, | |
7266 | pub AuditId: u32, | |
7267 | pub ParameterCount: u32, | |
7268 | pub Length: u32, | |
7269 | pub FlatSubCategoryId: u16, | |
7270 | pub Type: u16, | |
7271 | pub Flags: u32, | |
7272 | pub Parameters: [SE_ADT_PARAMETER_ARRAY_ENTRY; 32], | |
7273 | } | |
7274 | impl ::core::marker::Copy for SE_ADT_PARAMETER_ARRAY {} | |
7275 | impl ::core::clone::Clone for SE_ADT_PARAMETER_ARRAY { | |
7276 | fn clone(&self) -> Self { | |
7277 | *self | |
7278 | } | |
7279 | } | |
7280 | #[repr(C)] | |
04454e1e | 7281 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
7282 | pub struct SE_ADT_PARAMETER_ARRAY_ENTRY { |
7283 | pub Type: SE_ADT_PARAMETER_TYPE, | |
7284 | pub Length: u32, | |
7285 | pub Data: [usize; 2], | |
7286 | pub Address: *mut ::core::ffi::c_void, | |
7287 | } | |
7288 | impl ::core::marker::Copy for SE_ADT_PARAMETER_ARRAY_ENTRY {} | |
7289 | impl ::core::clone::Clone for SE_ADT_PARAMETER_ARRAY_ENTRY { | |
7290 | fn clone(&self) -> Self { | |
7291 | *self | |
7292 | } | |
7293 | } | |
7294 | #[repr(C)] | |
04454e1e | 7295 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
7296 | pub struct SE_ADT_PARAMETER_ARRAY_EX { |
7297 | pub CategoryId: u32, | |
7298 | pub AuditId: u32, | |
7299 | pub Version: u32, | |
7300 | pub ParameterCount: u32, | |
7301 | pub Length: u32, | |
7302 | pub FlatSubCategoryId: u16, | |
7303 | pub Type: u16, | |
7304 | pub Flags: u32, | |
7305 | pub Parameters: [SE_ADT_PARAMETER_ARRAY_ENTRY; 32], | |
7306 | } | |
7307 | impl ::core::marker::Copy for SE_ADT_PARAMETER_ARRAY_EX {} | |
7308 | impl ::core::clone::Clone for SE_ADT_PARAMETER_ARRAY_EX { | |
7309 | fn clone(&self) -> Self { | |
7310 | *self | |
7311 | } | |
7312 | } | |
04454e1e | 7313 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7314 | pub const SE_ADT_PARAMETER_EXTENSIBLE_AUDIT: u32 = 4u32; |
04454e1e | 7315 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7316 | pub const SE_ADT_PARAMETER_GENERIC_AUDIT: u32 = 8u32; |
04454e1e | 7317 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7318 | pub type SE_ADT_PARAMETER_TYPE = i32; |
04454e1e | 7319 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7320 | pub const SeAdtParmTypeNone: SE_ADT_PARAMETER_TYPE = 0i32; |
04454e1e | 7321 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7322 | pub const SeAdtParmTypeString: SE_ADT_PARAMETER_TYPE = 1i32; |
04454e1e | 7323 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7324 | pub const SeAdtParmTypeFileSpec: SE_ADT_PARAMETER_TYPE = 2i32; |
04454e1e | 7325 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7326 | pub const SeAdtParmTypeUlong: SE_ADT_PARAMETER_TYPE = 3i32; |
04454e1e | 7327 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7328 | pub const SeAdtParmTypeSid: SE_ADT_PARAMETER_TYPE = 4i32; |
04454e1e | 7329 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7330 | pub const SeAdtParmTypeLogonId: SE_ADT_PARAMETER_TYPE = 5i32; |
04454e1e | 7331 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7332 | pub const SeAdtParmTypeNoLogonId: SE_ADT_PARAMETER_TYPE = 6i32; |
04454e1e | 7333 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7334 | pub const SeAdtParmTypeAccessMask: SE_ADT_PARAMETER_TYPE = 7i32; |
04454e1e | 7335 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7336 | pub const SeAdtParmTypePrivs: SE_ADT_PARAMETER_TYPE = 8i32; |
04454e1e | 7337 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7338 | pub const SeAdtParmTypeObjectTypes: SE_ADT_PARAMETER_TYPE = 9i32; |
04454e1e | 7339 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7340 | pub const SeAdtParmTypeHexUlong: SE_ADT_PARAMETER_TYPE = 10i32; |
04454e1e | 7341 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7342 | pub const SeAdtParmTypePtr: SE_ADT_PARAMETER_TYPE = 11i32; |
04454e1e | 7343 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7344 | pub const SeAdtParmTypeTime: SE_ADT_PARAMETER_TYPE = 12i32; |
04454e1e | 7345 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7346 | pub const SeAdtParmTypeGuid: SE_ADT_PARAMETER_TYPE = 13i32; |
04454e1e | 7347 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7348 | pub const SeAdtParmTypeLuid: SE_ADT_PARAMETER_TYPE = 14i32; |
04454e1e | 7349 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7350 | pub const SeAdtParmTypeHexInt64: SE_ADT_PARAMETER_TYPE = 15i32; |
04454e1e | 7351 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7352 | pub const SeAdtParmTypeStringList: SE_ADT_PARAMETER_TYPE = 16i32; |
04454e1e | 7353 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7354 | pub const SeAdtParmTypeSidList: SE_ADT_PARAMETER_TYPE = 17i32; |
04454e1e | 7355 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7356 | pub const SeAdtParmTypeDuration: SE_ADT_PARAMETER_TYPE = 18i32; |
04454e1e | 7357 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7358 | pub const SeAdtParmTypeUserAccountControl: SE_ADT_PARAMETER_TYPE = 19i32; |
04454e1e | 7359 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7360 | pub const SeAdtParmTypeNoUac: SE_ADT_PARAMETER_TYPE = 20i32; |
04454e1e | 7361 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7362 | pub const SeAdtParmTypeMessage: SE_ADT_PARAMETER_TYPE = 21i32; |
04454e1e | 7363 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7364 | pub const SeAdtParmTypeDateTime: SE_ADT_PARAMETER_TYPE = 22i32; |
04454e1e | 7365 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7366 | pub const SeAdtParmTypeSockAddr: SE_ADT_PARAMETER_TYPE = 23i32; |
04454e1e | 7367 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7368 | pub const SeAdtParmTypeSD: SE_ADT_PARAMETER_TYPE = 24i32; |
04454e1e | 7369 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7370 | pub const SeAdtParmTypeLogonHours: SE_ADT_PARAMETER_TYPE = 25i32; |
04454e1e | 7371 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7372 | pub const SeAdtParmTypeLogonIdNoSid: SE_ADT_PARAMETER_TYPE = 26i32; |
04454e1e | 7373 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7374 | pub const SeAdtParmTypeUlongNoConv: SE_ADT_PARAMETER_TYPE = 27i32; |
04454e1e | 7375 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7376 | pub const SeAdtParmTypeSockAddrNoPort: SE_ADT_PARAMETER_TYPE = 28i32; |
04454e1e | 7377 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7378 | pub const SeAdtParmTypeAccessReason: SE_ADT_PARAMETER_TYPE = 29i32; |
04454e1e | 7379 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7380 | pub const SeAdtParmTypeStagingReason: SE_ADT_PARAMETER_TYPE = 30i32; |
04454e1e | 7381 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7382 | pub const SeAdtParmTypeResourceAttribute: SE_ADT_PARAMETER_TYPE = 31i32; |
04454e1e | 7383 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7384 | pub const SeAdtParmTypeClaims: SE_ADT_PARAMETER_TYPE = 32i32; |
04454e1e | 7385 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7386 | pub const SeAdtParmTypeLogonIdAsSid: SE_ADT_PARAMETER_TYPE = 33i32; |
04454e1e | 7387 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7388 | pub const SeAdtParmTypeMultiSzString: SE_ADT_PARAMETER_TYPE = 34i32; |
04454e1e | 7389 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7390 | pub const SeAdtParmTypeLogonIdEx: SE_ADT_PARAMETER_TYPE = 35i32; |
04454e1e | 7391 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7392 | pub const SE_ADT_PARAMETER_WRITE_SYNCHRONOUS: u32 = 16u32; |
04454e1e | 7393 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7394 | pub const SE_ADT_POLICY_AUDIT_EVENT_TYPE_EX_BEGIN: u32 = 100u32; |
04454e1e | 7395 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 7396 | pub const SE_BATCH_LOGON_NAME: &str = "SeBatchLogonRight"; |
04454e1e | 7397 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 7398 | pub const SE_DENY_BATCH_LOGON_NAME: &str = "SeDenyBatchLogonRight"; |
04454e1e | 7399 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 7400 | pub const SE_DENY_INTERACTIVE_LOGON_NAME: &str = "SeDenyInteractiveLogonRight"; |
04454e1e | 7401 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 7402 | pub const SE_DENY_NETWORK_LOGON_NAME: &str = "SeDenyNetworkLogonRight"; |
04454e1e | 7403 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 7404 | pub const SE_DENY_REMOTE_INTERACTIVE_LOGON_NAME: &str = "SeDenyRemoteInteractiveLogonRight"; |
04454e1e | 7405 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 7406 | pub const SE_DENY_SERVICE_LOGON_NAME: &str = "SeDenyServiceLogonRight"; |
04454e1e | 7407 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 7408 | pub const SE_INTERACTIVE_LOGON_NAME: &str = "SeInteractiveLogonRight"; |
04454e1e | 7409 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7410 | pub const SE_MAX_AUDIT_PARAMETERS: u32 = 32u32; |
04454e1e | 7411 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7412 | pub const SE_MAX_GENERIC_AUDIT_PARAMETERS: u32 = 28u32; |
04454e1e | 7413 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 7414 | pub const SE_NETWORK_LOGON_NAME: &str = "SeNetworkLogonRight"; |
04454e1e | 7415 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 7416 | pub const SE_REMOTE_INTERACTIVE_LOGON_NAME: &str = "SeRemoteInteractiveLogonRight"; |
04454e1e | 7417 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 7418 | pub const SE_SERVICE_LOGON_NAME: &str = "SeServiceLogonRight"; |
04454e1e | 7419 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7420 | pub type SLDATATYPE = u32; |
04454e1e | 7421 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7422 | pub const SL_DATA_NONE: SLDATATYPE = 0u32; |
04454e1e | 7423 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7424 | pub const SL_DATA_SZ: SLDATATYPE = 1u32; |
04454e1e | 7425 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7426 | pub const SL_DATA_DWORD: SLDATATYPE = 4u32; |
04454e1e | 7427 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7428 | pub const SL_DATA_BINARY: SLDATATYPE = 3u32; |
04454e1e | 7429 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7430 | pub const SL_DATA_MULTI_SZ: SLDATATYPE = 7u32; |
04454e1e | 7431 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7432 | pub const SL_DATA_SUM: SLDATATYPE = 100u32; |
04454e1e | 7433 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7434 | pub type SLIDTYPE = i32; |
04454e1e | 7435 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7436 | pub const SL_ID_APPLICATION: SLIDTYPE = 0i32; |
04454e1e | 7437 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7438 | pub const SL_ID_PRODUCT_SKU: SLIDTYPE = 1i32; |
04454e1e | 7439 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7440 | pub const SL_ID_LICENSE_FILE: SLIDTYPE = 2i32; |
04454e1e | 7441 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7442 | pub const SL_ID_LICENSE: SLIDTYPE = 3i32; |
04454e1e | 7443 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7444 | pub const SL_ID_PKEY: SLIDTYPE = 4i32; |
04454e1e | 7445 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7446 | pub const SL_ID_ALL_LICENSES: SLIDTYPE = 5i32; |
04454e1e | 7447 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7448 | pub const SL_ID_ALL_LICENSE_FILES: SLIDTYPE = 6i32; |
04454e1e | 7449 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7450 | pub const SL_ID_STORE_TOKEN: SLIDTYPE = 7i32; |
04454e1e | 7451 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7452 | pub const SL_ID_LAST: SLIDTYPE = 8i32; |
04454e1e | 7453 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7454 | pub type SLLICENSINGSTATUS = i32; |
04454e1e | 7455 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7456 | pub const SL_LICENSING_STATUS_UNLICENSED: SLLICENSINGSTATUS = 0i32; |
04454e1e | 7457 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7458 | pub const SL_LICENSING_STATUS_LICENSED: SLLICENSINGSTATUS = 1i32; |
04454e1e | 7459 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7460 | pub const SL_LICENSING_STATUS_IN_GRACE_PERIOD: SLLICENSINGSTATUS = 2i32; |
04454e1e | 7461 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7462 | pub const SL_LICENSING_STATUS_NOTIFICATION: SLLICENSINGSTATUS = 3i32; |
04454e1e | 7463 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7464 | pub const SL_LICENSING_STATUS_LAST: SLLICENSINGSTATUS = 4i32; |
04454e1e | 7465 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7466 | pub type SLREFERRALTYPE = i32; |
04454e1e | 7467 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7468 | pub const SL_REFERRALTYPE_SKUID: SLREFERRALTYPE = 0i32; |
04454e1e | 7469 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7470 | pub const SL_REFERRALTYPE_APPID: SLREFERRALTYPE = 1i32; |
04454e1e | 7471 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7472 | pub const SL_REFERRALTYPE_OVERRIDE_SKUID: SLREFERRALTYPE = 2i32; |
04454e1e | 7473 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7474 | pub const SL_REFERRALTYPE_OVERRIDE_APPID: SLREFERRALTYPE = 3i32; |
04454e1e | 7475 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
7476 | pub const SL_REFERRALTYPE_BEST_MATCH: SLREFERRALTYPE = 4i32; |
7477 | #[repr(C)] | |
04454e1e | 7478 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
7479 | pub struct SL_ACTIVATION_INFO_HEADER { |
7480 | pub cbSize: u32, | |
7481 | pub r#type: SL_ACTIVATION_TYPE, | |
7482 | } | |
7483 | impl ::core::marker::Copy for SL_ACTIVATION_INFO_HEADER {} | |
7484 | impl ::core::clone::Clone for SL_ACTIVATION_INFO_HEADER { | |
7485 | fn clone(&self) -> Self { | |
7486 | *self | |
7487 | } | |
7488 | } | |
04454e1e | 7489 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7490 | pub type SL_ACTIVATION_TYPE = i32; |
04454e1e | 7491 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7492 | pub const SL_ACTIVATION_TYPE_DEFAULT: SL_ACTIVATION_TYPE = 0i32; |
04454e1e | 7493 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
7494 | pub const SL_ACTIVATION_TYPE_ACTIVE_DIRECTORY: SL_ACTIVATION_TYPE = 1i32; |
7495 | #[repr(C)] | |
04454e1e | 7496 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
7497 | pub struct SL_AD_ACTIVATION_INFO { |
7498 | pub header: SL_ACTIVATION_INFO_HEADER, | |
04454e1e FG |
7499 | pub pwszProductKey: ::windows_sys::core::PCWSTR, |
7500 | pub pwszActivationObjectName: ::windows_sys::core::PCWSTR, | |
5e7ed085 | 7501 | } |
5e7ed085 | 7502 | impl ::core::marker::Copy for SL_AD_ACTIVATION_INFO {} |
5e7ed085 FG |
7503 | impl ::core::clone::Clone for SL_AD_ACTIVATION_INFO { |
7504 | fn clone(&self) -> Self { | |
7505 | *self | |
7506 | } | |
7507 | } | |
04454e1e | 7508 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7509 | pub const SL_CLIENTAPI_ZONE: u32 = 61440u32; |
04454e1e | 7510 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 7511 | pub const SL_DEFAULT_MIGRATION_ENCRYPTOR_URI: &str = "msft:spp/migrationencryptor/tokenact/1.0"; |
04454e1e | 7512 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 7513 | pub const SL_EVENT_LICENSING_STATE_CHANGED: &str = "msft:rm/event/licensingstatechanged"; |
04454e1e | 7514 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 7515 | pub const SL_EVENT_POLICY_CHANGED: &str = "msft:rm/event/policychanged"; |
04454e1e | 7516 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 7517 | pub const SL_EVENT_USER_NOTIFICATION: &str = "msft:rm/event/usernotification"; |
04454e1e | 7518 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7519 | pub const SL_E_ACTIVATION_IN_PROGRESS: ::windows_sys::core::HRESULT = -1073422296i32; |
04454e1e | 7520 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7521 | pub const SL_E_APPLICATION_POLICIES_MISSING: ::windows_sys::core::HRESULT = -1073418126i32; |
04454e1e | 7522 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7523 | pub const SL_E_APPLICATION_POLICIES_NOT_LOADED: ::windows_sys::core::HRESULT = -1073418125i32; |
04454e1e | 7524 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7525 | pub const SL_E_AUTHN_CANT_VERIFY: ::windows_sys::core::HRESULT = -1073418118i32; |
04454e1e | 7526 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7527 | pub const SL_E_AUTHN_CHALLENGE_NOT_SET: ::windows_sys::core::HRESULT = -1073418119i32; |
04454e1e | 7528 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7529 | pub const SL_E_AUTHN_MISMATCHED_KEY: ::windows_sys::core::HRESULT = -1073418120i32; |
04454e1e | 7530 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7531 | pub const SL_E_AUTHN_WRONG_VERSION: ::windows_sys::core::HRESULT = -1073418121i32; |
04454e1e | 7532 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7533 | pub const SL_E_BASE_SKU_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073418155i32; |
04454e1e | 7534 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7535 | pub const SL_E_BIOS_KEY: ::windows_sys::core::HRESULT = -1073417707i32; |
04454e1e | 7536 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7537 | pub const SL_E_BLOCKED_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073418159i32; |
04454e1e | 7538 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7539 | pub const SL_E_CHPA_ACTCONFIG_ID_NOT_FOUND: ::windows_sys::core::HRESULT = -1073430519i32; |
04454e1e | 7540 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7541 | pub const SL_E_CHPA_BINDING_MAPPING_NOT_FOUND: ::windows_sys::core::HRESULT = -1073430522i32; |
04454e1e | 7542 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7543 | pub const SL_E_CHPA_BINDING_NOT_FOUND: ::windows_sys::core::HRESULT = -1073430523i32; |
04454e1e | 7544 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7545 | pub const SL_E_CHPA_BUSINESS_RULE_INPUT_NOT_FOUND: ::windows_sys::core::HRESULT = -1073428736i32; |
04454e1e | 7546 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7547 | pub const SL_E_CHPA_DATABASE_ERROR: ::windows_sys::core::HRESULT = -1073430509i32; |
04454e1e | 7548 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7549 | pub const SL_E_CHPA_DIGITALMARKER_BINDING_NOT_CONFIGURED: ::windows_sys::core::HRESULT = -1073430446i32; |
04454e1e | 7550 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7551 | pub const SL_E_CHPA_DIGITALMARKER_INVALID_BINDING: ::windows_sys::core::HRESULT = -1073430447i32; |
04454e1e | 7552 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7553 | pub const SL_E_CHPA_DMAK_EXTENSION_LIMIT_EXCEEDED: ::windows_sys::core::HRESULT = -1073430495i32; |
04454e1e | 7554 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7555 | pub const SL_E_CHPA_DMAK_LIMIT_EXCEEDED: ::windows_sys::core::HRESULT = -1073430496i32; |
04454e1e | 7556 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7557 | pub const SL_E_CHPA_DYNAMICALLY_BLOCKED_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073430432i32; |
04454e1e | 7558 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7559 | pub const SL_E_CHPA_FAILED_TO_DELETE_PRODUCTKEY_BINDING: ::windows_sys::core::HRESULT = -1073428649i32; |
04454e1e | 7560 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7561 | pub const SL_E_CHPA_FAILED_TO_DELETE_PRODUCT_KEY_PROPERTY: ::windows_sys::core::HRESULT = -1073428644i32; |
04454e1e | 7562 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7563 | pub const SL_E_CHPA_FAILED_TO_INSERT_PRODUCTKEY_BINDING: ::windows_sys::core::HRESULT = -1073428650i32; |
04454e1e | 7564 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7565 | pub const SL_E_CHPA_FAILED_TO_INSERT_PRODUCT_KEY_PROPERTY: ::windows_sys::core::HRESULT = -1073428646i32; |
04454e1e | 7566 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7567 | pub const SL_E_CHPA_FAILED_TO_INSERT_PRODUCT_KEY_RECORD: ::windows_sys::core::HRESULT = -1073428608i32; |
04454e1e | 7568 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7569 | pub const SL_E_CHPA_FAILED_TO_PROCESS_PRODUCT_KEY_BINDINGS_XML: ::windows_sys::core::HRESULT = -1073428648i32; |
04454e1e | 7570 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7571 | pub const SL_E_CHPA_FAILED_TO_UPDATE_PRODUCTKEY_BINDING: ::windows_sys::core::HRESULT = -1073428651i32; |
04454e1e | 7572 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7573 | pub const SL_E_CHPA_FAILED_TO_UPDATE_PRODUCT_KEY_PROPERTY: ::windows_sys::core::HRESULT = -1073428645i32; |
04454e1e | 7574 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7575 | pub const SL_E_CHPA_FAILED_TO_UPDATE_PRODUCT_KEY_RECORD: ::windows_sys::core::HRESULT = -1073428607i32; |
04454e1e | 7576 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7577 | pub const SL_E_CHPA_GENERAL_ERROR: ::windows_sys::core::HRESULT = -1073430448i32; |
04454e1e | 7578 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7579 | pub const SL_E_CHPA_INVALID_ACTCONFIG_ID: ::windows_sys::core::HRESULT = -1073430515i32; |
04454e1e | 7580 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7581 | pub const SL_E_CHPA_INVALID_ARGUMENT: ::windows_sys::core::HRESULT = -1073430508i32; |
04454e1e | 7582 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7583 | pub const SL_E_CHPA_INVALID_BINDING: ::windows_sys::core::HRESULT = -1073430526i32; |
04454e1e | 7584 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7585 | pub const SL_E_CHPA_INVALID_BINDING_URI: ::windows_sys::core::HRESULT = -1073430511i32; |
04454e1e | 7586 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7587 | pub const SL_E_CHPA_INVALID_PRODUCT_DATA: ::windows_sys::core::HRESULT = -1073430517i32; |
04454e1e | 7588 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7589 | pub const SL_E_CHPA_INVALID_PRODUCT_DATA_ID: ::windows_sys::core::HRESULT = -1073430518i32; |
04454e1e | 7590 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7591 | pub const SL_E_CHPA_INVALID_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073430524i32; |
04454e1e | 7592 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7593 | pub const SL_E_CHPA_INVALID_PRODUCT_KEY_CHAR: ::windows_sys::core::HRESULT = -1073430512i32; |
04454e1e | 7594 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7595 | pub const SL_E_CHPA_INVALID_PRODUCT_KEY_FORMAT: ::windows_sys::core::HRESULT = -1073430513i32; |
04454e1e | 7596 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7597 | pub const SL_E_CHPA_INVALID_PRODUCT_KEY_LENGTH: ::windows_sys::core::HRESULT = -1073430514i32; |
04454e1e | 7598 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7599 | pub const SL_E_CHPA_MAXIMUM_UNLOCK_EXCEEDED: ::windows_sys::core::HRESULT = -1073430520i32; |
04454e1e | 7600 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7601 | pub const SL_E_CHPA_MSCH_RESPONSE_NOT_AVAILABLE_VGA: ::windows_sys::core::HRESULT = -1073429505i32; |
04454e1e | 7602 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7603 | pub const SL_E_CHPA_NETWORK_ERROR: ::windows_sys::core::HRESULT = -1073430510i32; |
04454e1e | 7604 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7605 | pub const SL_E_CHPA_NO_RULES_TO_ACTIVATE: ::windows_sys::core::HRESULT = -1073430449i32; |
04454e1e | 7606 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7607 | pub const SL_E_CHPA_NULL_VALUE_FOR_PROPERTY_NAME_OR_ID: ::windows_sys::core::HRESULT = -1073428656i32; |
04454e1e | 7608 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7609 | pub const SL_E_CHPA_OEM_SLP_COA0: ::windows_sys::core::HRESULT = -1073430506i32; |
04454e1e | 7610 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7611 | pub const SL_E_CHPA_OVERRIDE_REQUEST_NOT_FOUND: ::windows_sys::core::HRESULT = -1073430493i32; |
04454e1e | 7612 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7613 | pub const SL_E_CHPA_PRODUCT_KEY_BEING_USED: ::windows_sys::core::HRESULT = -1073428624i32; |
04454e1e | 7614 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7615 | pub const SL_E_CHPA_PRODUCT_KEY_BLOCKED: ::windows_sys::core::HRESULT = -1073430525i32; |
04454e1e | 7616 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7617 | pub const SL_E_CHPA_PRODUCT_KEY_BLOCKED_IPLOCATION: ::windows_sys::core::HRESULT = -1073430505i32; |
04454e1e | 7618 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7619 | pub const SL_E_CHPA_PRODUCT_KEY_OUT_OF_RANGE: ::windows_sys::core::HRESULT = -1073430527i32; |
04454e1e | 7620 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7621 | pub const SL_E_CHPA_REISSUANCE_LIMIT_NOT_FOUND: ::windows_sys::core::HRESULT = -1073430494i32; |
04454e1e | 7622 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7623 | pub const SL_E_CHPA_RESPONSE_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073430507i32; |
04454e1e | 7624 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7625 | pub const SL_E_CHPA_SYSTEM_ERROR: ::windows_sys::core::HRESULT = -1073430516i32; |
04454e1e | 7626 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7627 | pub const SL_E_CHPA_TIMEBASED_ACTIVATION_AFTER_END_DATE: ::windows_sys::core::HRESULT = -1073430479i32; |
04454e1e | 7628 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7629 | pub const SL_E_CHPA_TIMEBASED_ACTIVATION_BEFORE_START_DATE: ::windows_sys::core::HRESULT = -1073430480i32; |
04454e1e | 7630 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7631 | pub const SL_E_CHPA_TIMEBASED_ACTIVATION_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073430478i32; |
04454e1e | 7632 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7633 | pub const SL_E_CHPA_TIMEBASED_PRODUCT_KEY_NOT_CONFIGURED: ::windows_sys::core::HRESULT = -1073430477i32; |
04454e1e | 7634 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7635 | pub const SL_E_CHPA_UNKNOWN_PRODUCT_KEY_TYPE: ::windows_sys::core::HRESULT = -1073428636i32; |
04454e1e | 7636 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7637 | pub const SL_E_CHPA_UNKNOWN_PROPERTY_ID: ::windows_sys::core::HRESULT = -1073428654i32; |
04454e1e | 7638 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7639 | pub const SL_E_CHPA_UNKNOWN_PROPERTY_NAME: ::windows_sys::core::HRESULT = -1073428655i32; |
04454e1e | 7640 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7641 | pub const SL_E_CHPA_UNSUPPORTED_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073430521i32; |
04454e1e | 7642 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7643 | pub const SL_E_CIDIID_INVALID_CHECK_DIGITS: ::windows_sys::core::HRESULT = -1073418163i32; |
04454e1e | 7644 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7645 | pub const SL_E_CIDIID_INVALID_DATA: ::windows_sys::core::HRESULT = -1073418196i32; |
04454e1e | 7646 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7647 | pub const SL_E_CIDIID_INVALID_DATA_LENGTH: ::windows_sys::core::HRESULT = -1073418193i32; |
04454e1e | 7648 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7649 | pub const SL_E_CIDIID_INVALID_VERSION: ::windows_sys::core::HRESULT = -1073418195i32; |
04454e1e | 7650 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7651 | pub const SL_E_CIDIID_MISMATCHED: ::windows_sys::core::HRESULT = -1073418191i32; |
04454e1e | 7652 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7653 | pub const SL_E_CIDIID_MISMATCHED_PKEY: ::windows_sys::core::HRESULT = -1073418114i32; |
04454e1e | 7654 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7655 | pub const SL_E_CIDIID_NOT_BOUND: ::windows_sys::core::HRESULT = -1073418113i32; |
04454e1e | 7656 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7657 | pub const SL_E_CIDIID_NOT_DEPOSITED: ::windows_sys::core::HRESULT = -1073418192i32; |
04454e1e | 7658 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7659 | pub const SL_E_CIDIID_VERSION_NOT_SUPPORTED: ::windows_sys::core::HRESULT = -1073418194i32; |
04454e1e | 7660 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7661 | pub const SL_E_DATATYPE_MISMATCHED: ::windows_sys::core::HRESULT = -1073418210i32; |
04454e1e | 7662 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7663 | pub const SL_E_DECRYPTION_LICENSES_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073418212i32; |
04454e1e | 7664 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7665 | pub const SL_E_DEPENDENT_PROPERTY_NOT_SET: ::windows_sys::core::HRESULT = -1073418138i32; |
04454e1e | 7666 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7667 | pub const SL_E_DOWNLEVEL_SETUP_KEY: ::windows_sys::core::HRESULT = -1073417708i32; |
04454e1e | 7668 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7669 | pub const SL_E_DUPLICATE_POLICY: ::windows_sys::core::HRESULT = -1073418158i32; |
04454e1e | 7670 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7671 | pub const SL_E_EDITION_MISMATCHED: ::windows_sys::core::HRESULT = -1073417712i32; |
04454e1e | 7672 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7673 | pub const SL_E_ENGINE_DETECTED_EXPLOIT: ::windows_sys::core::HRESULT = -1073429327i32; |
04454e1e | 7674 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7675 | pub const SL_E_EUL_CONSUMPTION_FAILED: ::windows_sys::core::HRESULT = -1073422315i32; |
04454e1e | 7676 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7677 | pub const SL_E_EUL_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073418188i32; |
04454e1e | 7678 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7679 | pub const SL_E_EVALUATION_FAILED: ::windows_sys::core::HRESULT = -1073422333i32; |
04454e1e | 7680 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7681 | pub const SL_E_EVENT_ALREADY_REGISTERED: ::windows_sys::core::HRESULT = -1073418213i32; |
04454e1e | 7682 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7683 | pub const SL_E_EVENT_NOT_REGISTERED: ::windows_sys::core::HRESULT = -1073418214i32; |
04454e1e | 7684 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7685 | pub const SL_E_EXTERNAL_SIGNATURE_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418234i32; |
04454e1e | 7686 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7687 | pub const SL_E_GRACE_TIME_EXPIRED: ::windows_sys::core::HRESULT = -1073418231i32; |
04454e1e | 7688 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7689 | pub const SL_E_HEALTH_CHECK_FAILED_MUI_FILES: ::windows_sys::core::HRESULT = -1073429330i32; |
04454e1e | 7690 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7691 | pub const SL_E_HEALTH_CHECK_FAILED_NEUTRAL_FILES: ::windows_sys::core::HRESULT = -1073429331i32; |
04454e1e | 7692 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7693 | pub const SL_E_HWID_CHANGED: ::windows_sys::core::HRESULT = -1073417711i32; |
04454e1e | 7694 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7695 | pub const SL_E_HWID_ERROR: ::windows_sys::core::HRESULT = -1073422309i32; |
04454e1e | 7696 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7697 | pub const SL_E_IA_ID_MISMATCH: ::windows_sys::core::HRESULT = -1073414909i32; |
04454e1e | 7698 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7699 | pub const SL_E_IA_INVALID_VIRTUALIZATION_PLATFORM: ::windows_sys::core::HRESULT = -1073414911i32; |
04454e1e | 7700 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7701 | pub const SL_E_IA_MACHINE_NOT_BOUND: ::windows_sys::core::HRESULT = -1073414908i32; |
04454e1e | 7702 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7703 | pub const SL_E_IA_PARENT_PARTITION_NOT_ACTIVATED: ::windows_sys::core::HRESULT = -1073414910i32; |
04454e1e | 7704 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7705 | pub const SL_E_IA_THROTTLE_LIMIT_EXCEEDED: ::windows_sys::core::HRESULT = -1073414912i32; |
04454e1e | 7706 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7707 | pub const SL_E_INTERNAL_ERROR: ::windows_sys::core::HRESULT = -1073418239i32; |
04454e1e | 7708 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7709 | pub const SL_E_INVALID_AD_DATA: ::windows_sys::core::HRESULT = -1073429329i32; |
04454e1e | 7710 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7711 | pub const SL_E_INVALID_BINDING_BLOB: ::windows_sys::core::HRESULT = -1073418190i32; |
04454e1e | 7712 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7713 | pub const SL_E_INVALID_CLIENT_TOKEN: ::windows_sys::core::HRESULT = -1073429720i32; |
04454e1e | 7714 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7715 | pub const SL_E_INVALID_CONTEXT: ::windows_sys::core::HRESULT = -1073422335i32; |
04454e1e | 7716 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7717 | pub const SL_E_INVALID_CONTEXT_DATA: ::windows_sys::core::HRESULT = -1073422300i32; |
04454e1e | 7718 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7719 | pub const SL_E_INVALID_EVENT_ID: ::windows_sys::core::HRESULT = -1073418215i32; |
04454e1e | 7720 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7721 | pub const SL_E_INVALID_FILE_HASH: ::windows_sys::core::HRESULT = -1073429343i32; |
04454e1e | 7722 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7723 | pub const SL_E_INVALID_GUID: ::windows_sys::core::HRESULT = -1073422330i32; |
04454e1e | 7724 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7725 | pub const SL_E_INVALID_HASH: ::windows_sys::core::HRESULT = -1073422299i32; |
04454e1e | 7726 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7727 | pub const SL_E_INVALID_LICENSE: ::windows_sys::core::HRESULT = -1073418209i32; |
04454e1e | 7728 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7729 | pub const SL_E_INVALID_LICENSE_STATE: ::windows_sys::core::HRESULT = -1073429336i32; |
04454e1e | 7730 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7731 | pub const SL_E_INVALID_LICENSE_STATE_BREACH_GRACE: ::windows_sys::core::HRESULT = -1073429871i32; |
04454e1e | 7732 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7733 | pub const SL_E_INVALID_LICENSE_STATE_BREACH_GRACE_EXPIRED: ::windows_sys::core::HRESULT = -1073429870i32; |
04454e1e | 7734 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7735 | pub const SL_E_INVALID_OEM_OR_VOLUME_BINDING_DATA: ::windows_sys::core::HRESULT = -1073429337i32; |
04454e1e | 7736 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7737 | pub const SL_E_INVALID_OFFLINE_BLOB: ::windows_sys::core::HRESULT = -1073429719i32; |
04454e1e | 7738 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7739 | pub const SL_E_INVALID_OSVERSION_TEMPLATEID: ::windows_sys::core::HRESULT = -1073429717i32; |
04454e1e | 7740 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7741 | pub const SL_E_INVALID_OS_FOR_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073429503i32; |
04454e1e | 7742 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7743 | pub const SL_E_INVALID_PACKAGE: ::windows_sys::core::HRESULT = -1073418208i32; |
04454e1e | 7744 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7745 | pub const SL_E_INVALID_PACKAGE_VERSION: ::windows_sys::core::HRESULT = -1073418144i32; |
04454e1e | 7746 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7747 | pub const SL_E_INVALID_PKEY: ::windows_sys::core::HRESULT = -1073418224i32; |
04454e1e | 7748 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7749 | pub const SL_E_INVALID_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073418160i32; |
04454e1e | 7750 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7751 | pub const SL_E_INVALID_PRODUCT_KEY_TYPE: ::windows_sys::core::HRESULT = -1073418115i32; |
04454e1e | 7752 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7753 | pub const SL_E_INVALID_RSDP_COUNT: ::windows_sys::core::HRESULT = -1073429328i32; |
04454e1e | 7754 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7755 | pub const SL_E_INVALID_RULESET_RULE: ::windows_sys::core::HRESULT = -1073422301i32; |
04454e1e | 7756 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7757 | pub const SL_E_INVALID_RUNNING_MODE: ::windows_sys::core::HRESULT = -1073418199i32; |
04454e1e | 7758 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7759 | pub const SL_E_INVALID_TEMPLATE_ID: ::windows_sys::core::HRESULT = -1073429770i32; |
04454e1e | 7760 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7761 | pub const SL_E_INVALID_TOKEN_DATA: ::windows_sys::core::HRESULT = -1073429332i32; |
04454e1e | 7762 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7763 | pub const SL_E_INVALID_USE_OF_ADD_ON_PKEY: ::windows_sys::core::HRESULT = -2147164122i32; |
04454e1e | 7764 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7765 | pub const SL_E_INVALID_XML_BLOB: ::windows_sys::core::HRESULT = -1073429766i32; |
04454e1e | 7766 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7767 | pub const SL_E_IP_LOCATION_FALIED: ::windows_sys::core::HRESULT = -1073429335i32; |
04454e1e | 7768 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7769 | pub const SL_E_ISSUANCE_LICENSE_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418142i32; |
04454e1e | 7770 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7771 | pub const SL_E_LICENSE_AUTHORIZATION_FAILED: ::windows_sys::core::HRESULT = -1073418206i32; |
04454e1e | 7772 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7773 | pub const SL_E_LICENSE_DECRYPTION_FAILED: ::windows_sys::core::HRESULT = -1073418205i32; |
04454e1e | 7774 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7775 | pub const SL_E_LICENSE_FILE_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418223i32; |
04454e1e | 7776 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7777 | pub const SL_E_LICENSE_INVALID_ADDON_INFO: ::windows_sys::core::HRESULT = -1073422310i32; |
04454e1e | 7778 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7779 | pub const SL_E_LICENSE_MANAGEMENT_DATA_DUPLICATED: ::windows_sys::core::HRESULT = -1073418156i32; |
04454e1e | 7780 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7781 | pub const SL_E_LICENSE_MANAGEMENT_DATA_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418161i32; |
04454e1e | 7782 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7783 | pub const SL_E_LICENSE_NOT_BOUND: ::windows_sys::core::HRESULT = -1073418112i32; |
04454e1e | 7784 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7785 | pub const SL_E_LICENSE_SERVER_URL_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418216i32; |
04454e1e | 7786 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7787 | pub const SL_E_LICENSE_SIGNATURE_VERIFICATION_FAILED: ::windows_sys::core::HRESULT = -1073418211i32; |
04454e1e | 7788 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7789 | pub const SL_E_LUA_ACCESSDENIED: ::windows_sys::core::HRESULT = -1073418203i32; |
04454e1e | 7790 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7791 | pub const SL_E_MISMATCHED_APPID: ::windows_sys::core::HRESULT = -1073418230i32; |
04454e1e | 7792 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7793 | pub const SL_E_MISMATCHED_KEY_TYPES: ::windows_sys::core::HRESULT = -1073429340i32; |
04454e1e | 7794 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7795 | pub const SL_E_MISMATCHED_PID: ::windows_sys::core::HRESULT = -1073418235i32; |
04454e1e | 7796 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7797 | pub const SL_E_MISMATCHED_PKEY_RANGE: ::windows_sys::core::HRESULT = -1073418236i32; |
04454e1e | 7798 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7799 | pub const SL_E_MISMATCHED_PRODUCT_SKU: ::windows_sys::core::HRESULT = -1073418135i32; |
04454e1e | 7800 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7801 | pub const SL_E_MISMATCHED_SECURITY_PROCESSOR: ::windows_sys::core::HRESULT = -1073418226i32; |
04454e1e | 7802 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7803 | pub const SL_E_MISSING_OVERRIDE_ONLY_ATTRIBUTE: ::windows_sys::core::HRESULT = -1073418157i32; |
04454e1e | 7804 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7805 | pub const SL_E_NONGENUINE_GRACE_TIME_EXPIRED: ::windows_sys::core::HRESULT = -1073418140i32; |
04454e1e | 7806 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7807 | pub const SL_E_NONGENUINE_GRACE_TIME_EXPIRED_2: ::windows_sys::core::HRESULT = -1073418137i32; |
04454e1e | 7808 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7809 | pub const SL_E_NON_GENUINE_STATUS_LAST: ::windows_sys::core::HRESULT = -1073428992i32; |
04454e1e | 7810 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7811 | pub const SL_E_NOTIFICATION_BREACH_DETECTED: ::windows_sys::core::HRESULT = -1073429199i32; |
04454e1e | 7812 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7813 | pub const SL_E_NOTIFICATION_GRACE_EXPIRED: ::windows_sys::core::HRESULT = -1073429198i32; |
04454e1e | 7814 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7815 | pub const SL_E_NOTIFICATION_OTHER_REASONS: ::windows_sys::core::HRESULT = -1073429197i32; |
04454e1e | 7816 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7817 | pub const SL_E_NOT_ACTIVATED: ::windows_sys::core::HRESULT = -1073422331i32; |
04454e1e | 7818 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7819 | pub const SL_E_NOT_EVALUATED: ::windows_sys::core::HRESULT = -1073422332i32; |
04454e1e | 7820 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7821 | pub const SL_E_NOT_GENUINE: ::windows_sys::core::HRESULT = -1073417728i32; |
04454e1e | 7822 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7823 | pub const SL_E_NOT_SUPPORTED: ::windows_sys::core::HRESULT = -1073418218i32; |
04454e1e | 7824 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7825 | pub const SL_E_NO_PID_CONFIG_DATA: ::windows_sys::core::HRESULT = -1073418229i32; |
04454e1e | 7826 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7827 | pub const SL_E_NO_PRODUCT_KEY_FOUND: ::windows_sys::core::HRESULT = -1073417709i32; |
04454e1e | 7828 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7829 | pub const SL_E_OEM_KEY_EDITION_MISMATCH: ::windows_sys::core::HRESULT = -1073417710i32; |
04454e1e | 7830 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7831 | pub const SL_E_OFFLINE_GENUINE_BLOB_NOT_FOUND: ::windows_sys::core::HRESULT = -1073429715i32; |
04454e1e | 7832 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7833 | pub const SL_E_OFFLINE_GENUINE_BLOB_REVOKED: ::windows_sys::core::HRESULT = -1073429716i32; |
04454e1e | 7834 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7835 | pub const SL_E_OFFLINE_VALIDATION_BLOB_PARAM_NOT_FOUND: ::windows_sys::core::HRESULT = -1073429718i32; |
04454e1e | 7836 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7837 | pub const SL_E_OPERATION_NOT_ALLOWED: ::windows_sys::core::HRESULT = -1073418134i32; |
04454e1e | 7838 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7839 | pub const SL_E_OUT_OF_TOLERANCE: ::windows_sys::core::HRESULT = -1073418225i32; |
04454e1e | 7840 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7841 | pub const SL_E_PKEY_INTERNAL_ERROR: ::windows_sys::core::HRESULT = -1073422311i32; |
04454e1e | 7842 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7843 | pub const SL_E_PKEY_INVALID_ALGORITHM: ::windows_sys::core::HRESULT = -1073422312i32; |
04454e1e | 7844 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7845 | pub const SL_E_PKEY_INVALID_CONFIG: ::windows_sys::core::HRESULT = -1073422314i32; |
04454e1e | 7846 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7847 | pub const SL_E_PKEY_INVALID_KEYCHANGE1: ::windows_sys::core::HRESULT = -1073422308i32; |
04454e1e | 7848 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7849 | pub const SL_E_PKEY_INVALID_KEYCHANGE2: ::windows_sys::core::HRESULT = -1073422307i32; |
04454e1e | 7850 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7851 | pub const SL_E_PKEY_INVALID_KEYCHANGE3: ::windows_sys::core::HRESULT = -1073422306i32; |
04454e1e | 7852 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7853 | pub const SL_E_PKEY_INVALID_UNIQUEID: ::windows_sys::core::HRESULT = -1073422313i32; |
04454e1e | 7854 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7855 | pub const SL_E_PKEY_INVALID_UPGRADE: ::windows_sys::core::HRESULT = -1073418143i32; |
04454e1e | 7856 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7857 | pub const SL_E_PKEY_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418220i32; |
04454e1e | 7858 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7859 | pub const SL_E_PLUGIN_INVALID_MANIFEST: ::windows_sys::core::HRESULT = -1073418127i32; |
04454e1e | 7860 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7861 | pub const SL_E_PLUGIN_NOT_REGISTERED: ::windows_sys::core::HRESULT = -1073418122i32; |
04454e1e | 7862 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7863 | pub const SL_E_POLICY_CACHE_INVALID: ::windows_sys::core::HRESULT = -1073418200i32; |
04454e1e | 7864 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7865 | pub const SL_E_POLICY_OTHERINFO_MISMATCH: ::windows_sys::core::HRESULT = -1073422304i32; |
04454e1e | 7866 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7867 | pub const SL_E_PRODUCT_KEY_INSTALLATION_NOT_ALLOWED: ::windows_sys::core::HRESULT = -1073418189i32; |
04454e1e | 7868 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7869 | pub const SL_E_PRODUCT_SKU_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418219i32; |
04454e1e | 7870 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7871 | pub const SL_E_PRODUCT_UNIQUENESS_GROUP_ID_INVALID: ::windows_sys::core::HRESULT = -1073422303i32; |
04454e1e | 7872 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7873 | pub const SL_E_PROXY_KEY_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418202i32; |
04454e1e | 7874 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7875 | pub const SL_E_PROXY_POLICY_NOT_UPDATED: ::windows_sys::core::HRESULT = -1073418169i32; |
04454e1e | 7876 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7877 | pub const SL_E_PUBLISHING_LICENSE_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418217i32; |
04454e1e | 7878 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7879 | pub const SL_E_RAC_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073418233i32; |
04454e1e | 7880 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7881 | pub const SL_E_RIGHT_NOT_CONSUMED: ::windows_sys::core::HRESULT = -1073418238i32; |
04454e1e | 7882 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7883 | pub const SL_E_RIGHT_NOT_GRANTED: ::windows_sys::core::HRESULT = -1073418221i32; |
04454e1e | 7884 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7885 | pub const SL_E_SECURE_STORE_ID_MISMATCH: ::windows_sys::core::HRESULT = -1073422302i32; |
04454e1e | 7886 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7887 | pub const SL_E_SERVICE_RUNNING: ::windows_sys::core::HRESULT = -1073418117i32; |
04454e1e | 7888 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7889 | pub const SL_E_SERVICE_STOPPING: ::windows_sys::core::HRESULT = -1073418123i32; |
04454e1e | 7890 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7891 | pub const SL_E_SFS_BAD_TOKEN_EXT: ::windows_sys::core::HRESULT = -2147163899i32; |
04454e1e | 7892 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7893 | pub const SL_E_SFS_BAD_TOKEN_NAME: ::windows_sys::core::HRESULT = -2147163900i32; |
04454e1e | 7894 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7895 | pub const SL_E_SFS_DUPLICATE_TOKEN_NAME: ::windows_sys::core::HRESULT = -2147163898i32; |
04454e1e | 7896 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7897 | pub const SL_E_SFS_FILE_READ_ERROR: ::windows_sys::core::HRESULT = -2147163895i32; |
04454e1e | 7898 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7899 | pub const SL_E_SFS_FILE_WRITE_ERROR: ::windows_sys::core::HRESULT = -2147163894i32; |
04454e1e | 7900 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7901 | pub const SL_E_SFS_INVALID_FD_TABLE: ::windows_sys::core::HRESULT = -2147163902i32; |
04454e1e | 7902 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7903 | pub const SL_E_SFS_INVALID_FILE_POSITION: ::windows_sys::core::HRESULT = -2147163893i32; |
04454e1e | 7904 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7905 | pub const SL_E_SFS_INVALID_FS_HEADER: ::windows_sys::core::HRESULT = -2147163891i32; |
04454e1e | 7906 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7907 | pub const SL_E_SFS_INVALID_FS_VERSION: ::windows_sys::core::HRESULT = -2147163903i32; |
04454e1e | 7908 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7909 | pub const SL_E_SFS_INVALID_SYNC: ::windows_sys::core::HRESULT = -2147163901i32; |
04454e1e | 7910 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7911 | pub const SL_E_SFS_INVALID_TOKEN_DATA_HASH: ::windows_sys::core::HRESULT = -2147163896i32; |
04454e1e | 7912 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7913 | pub const SL_E_SFS_INVALID_TOKEN_DESCRIPTOR: ::windows_sys::core::HRESULT = -2147163890i32; |
04454e1e | 7914 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7915 | pub const SL_E_SFS_NO_ACTIVE_TRANSACTION: ::windows_sys::core::HRESULT = -2147163892i32; |
04454e1e | 7916 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7917 | pub const SL_E_SFS_TOKEN_SIZE_MISMATCH: ::windows_sys::core::HRESULT = -2147163897i32; |
04454e1e | 7918 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7919 | pub const SL_E_SLP_BAD_FORMAT: ::windows_sys::core::HRESULT = -1073418151i32; |
04454e1e | 7920 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7921 | pub const SL_E_SLP_INVALID_MARKER_VERSION: ::windows_sys::core::HRESULT = -1073418116i32; |
04454e1e | 7922 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7923 | pub const SL_E_SLP_MISSING_ACPI_SLIC: ::windows_sys::core::HRESULT = -1073418153i32; |
04454e1e | 7924 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7925 | pub const SL_E_SLP_MISSING_SLP_MARKER: ::windows_sys::core::HRESULT = -1073418152i32; |
04454e1e | 7926 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7927 | pub const SL_E_SLP_NOT_SIGNED: ::windows_sys::core::HRESULT = -1073418198i32; |
04454e1e | 7928 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7929 | pub const SL_E_SLP_OEM_CERT_MISSING: ::windows_sys::core::HRESULT = -1073418141i32; |
04454e1e | 7930 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7931 | pub const SL_E_SOFTMOD_EXPLOIT_DETECTED: ::windows_sys::core::HRESULT = -1073429333i32; |
04454e1e | 7932 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7933 | pub const SL_E_SPC_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073418232i32; |
04454e1e | 7934 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7935 | pub const SL_E_SRV_AUTHORIZATION_FAILED: ::windows_sys::core::HRESULT = -1073434619i32; |
04454e1e | 7936 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7937 | pub const SL_E_SRV_BUSINESS_TOKEN_ENTRY_NOT_FOUND: ::windows_sys::core::HRESULT = -1073434608i32; |
04454e1e | 7938 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7939 | pub const SL_E_SRV_CLIENT_CLOCK_OUT_OF_SYNC: ::windows_sys::core::HRESULT = -1073434607i32; |
04454e1e | 7940 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7941 | pub const SL_E_SRV_GENERAL_ERROR: ::windows_sys::core::HRESULT = -1073434368i32; |
04454e1e | 7942 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7943 | pub const SL_E_SRV_INVALID_BINDING: ::windows_sys::core::HRESULT = -1073434618i32; |
04454e1e | 7944 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7945 | pub const SL_E_SRV_INVALID_LICENSE_STRUCTURE: ::windows_sys::core::HRESULT = -1073434620i32; |
04454e1e | 7946 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7947 | pub const SL_E_SRV_INVALID_PAYLOAD: ::windows_sys::core::HRESULT = -1073434616i32; |
04454e1e | 7948 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7949 | pub const SL_E_SRV_INVALID_PRODUCT_KEY_LICENSE: ::windows_sys::core::HRESULT = -1073434622i32; |
04454e1e | 7950 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7951 | pub const SL_E_SRV_INVALID_PUBLISH_LICENSE: ::windows_sys::core::HRESULT = -1073434623i32; |
04454e1e | 7952 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7953 | pub const SL_E_SRV_INVALID_RIGHTS_ACCOUNT_LICENSE: ::windows_sys::core::HRESULT = -1073434621i32; |
04454e1e | 7954 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7955 | pub const SL_E_SRV_INVALID_SECURITY_PROCESSOR_LICENSE: ::windows_sys::core::HRESULT = -1073434615i32; |
04454e1e | 7956 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7957 | pub const SL_E_SRV_SERVER_PONG: ::windows_sys::core::HRESULT = -1073434617i32; |
04454e1e | 7958 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7959 | pub const SL_E_STORE_UPGRADE_TOKEN_NOT_AUTHORIZED: ::windows_sys::core::HRESULT = -1073422290i32; |
04454e1e | 7960 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7961 | pub const SL_E_STORE_UPGRADE_TOKEN_NOT_PRS_SIGNED: ::windows_sys::core::HRESULT = -1073422292i32; |
04454e1e | 7962 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7963 | pub const SL_E_STORE_UPGRADE_TOKEN_REQUIRED: ::windows_sys::core::HRESULT = -1073422295i32; |
04454e1e | 7964 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7965 | pub const SL_E_STORE_UPGRADE_TOKEN_WRONG_EDITION: ::windows_sys::core::HRESULT = -1073422294i32; |
04454e1e | 7966 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7967 | pub const SL_E_STORE_UPGRADE_TOKEN_WRONG_PID: ::windows_sys::core::HRESULT = -1073422293i32; |
04454e1e | 7968 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7969 | pub const SL_E_STORE_UPGRADE_TOKEN_WRONG_VERSION: ::windows_sys::core::HRESULT = -1073422291i32; |
04454e1e | 7970 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7971 | pub const SL_E_TAMPER_DETECTED: ::windows_sys::core::HRESULT = -1073418201i32; |
04454e1e | 7972 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7973 | pub const SL_E_TAMPER_RECOVERY_REQUIRES_ACTIVATION: ::windows_sys::core::HRESULT = -1073414656i32; |
04454e1e | 7974 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7975 | pub const SL_E_TKA_CERT_CNG_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073417453i32; |
04454e1e | 7976 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7977 | pub const SL_E_TKA_CERT_NOT_FOUND: ::windows_sys::core::HRESULT = -1073417467i32; |
04454e1e | 7978 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7979 | pub const SL_E_TKA_CHALLENGE_EXPIRED: ::windows_sys::core::HRESULT = -1073417471i32; |
04454e1e | 7980 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7981 | pub const SL_E_TKA_CHALLENGE_MISMATCH: ::windows_sys::core::HRESULT = -1073417463i32; |
04454e1e | 7982 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7983 | pub const SL_E_TKA_CRITERIA_MISMATCH: ::windows_sys::core::HRESULT = -1073417457i32; |
04454e1e | 7984 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7985 | pub const SL_E_TKA_FAILED_GRANT_PARSING: ::windows_sys::core::HRESULT = -1073417460i32; |
04454e1e | 7986 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7987 | pub const SL_E_TKA_GRANT_NOT_FOUND: ::windows_sys::core::HRESULT = -1073417468i32; |
04454e1e | 7988 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7989 | pub const SL_E_TKA_INVALID_BLOB: ::windows_sys::core::HRESULT = -1073417465i32; |
04454e1e | 7990 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7991 | pub const SL_E_TKA_INVALID_CERTIFICATE: ::windows_sys::core::HRESULT = -1073417462i32; |
04454e1e | 7992 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7993 | pub const SL_E_TKA_INVALID_CERT_CHAIN: ::windows_sys::core::HRESULT = -1073417469i32; |
04454e1e | 7994 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7995 | pub const SL_E_TKA_INVALID_SKU_ID: ::windows_sys::core::HRESULT = -1073417466i32; |
04454e1e | 7996 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7997 | pub const SL_E_TKA_INVALID_SMARTCARD: ::windows_sys::core::HRESULT = -1073417461i32; |
04454e1e | 7998 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 7999 | pub const SL_E_TKA_INVALID_THUMBPRINT: ::windows_sys::core::HRESULT = -1073417459i32; |
04454e1e | 8000 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8001 | pub const SL_E_TKA_SILENT_ACTIVATION_FAILURE: ::windows_sys::core::HRESULT = -1073417470i32; |
04454e1e | 8002 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8003 | pub const SL_E_TKA_SOFT_CERT_DISALLOWED: ::windows_sys::core::HRESULT = -1073417455i32; |
04454e1e | 8004 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8005 | pub const SL_E_TKA_SOFT_CERT_INVALID: ::windows_sys::core::HRESULT = -1073417454i32; |
04454e1e | 8006 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8007 | pub const SL_E_TKA_TAMPERED_CERT_CHAIN: ::windows_sys::core::HRESULT = -1073417464i32; |
04454e1e | 8008 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8009 | pub const SL_E_TKA_THUMBPRINT_CERT_NOT_FOUND: ::windows_sys::core::HRESULT = -1073417458i32; |
04454e1e | 8010 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8011 | pub const SL_E_TKA_TPID_MISMATCH: ::windows_sys::core::HRESULT = -1073417456i32; |
04454e1e | 8012 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8013 | pub const SL_E_TOKEN_STORE_INVALID_STATE: ::windows_sys::core::HRESULT = -1073422334i32; |
04454e1e | 8014 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8015 | pub const SL_E_TOKSTO_ALREADY_INITIALIZED: ::windows_sys::core::HRESULT = -1073422326i32; |
04454e1e | 8016 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8017 | pub const SL_E_TOKSTO_CANT_ACQUIRE_MUTEX: ::windows_sys::core::HRESULT = -1073422317i32; |
04454e1e | 8018 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8019 | pub const SL_E_TOKSTO_CANT_CREATE_FILE: ::windows_sys::core::HRESULT = -1073422324i32; |
04454e1e | 8020 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8021 | pub const SL_E_TOKSTO_CANT_CREATE_MUTEX: ::windows_sys::core::HRESULT = -1073422318i32; |
04454e1e | 8022 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8023 | pub const SL_E_TOKSTO_CANT_PARSE_PROPERTIES: ::windows_sys::core::HRESULT = -1073422321i32; |
04454e1e | 8024 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8025 | pub const SL_E_TOKSTO_CANT_READ_FILE: ::windows_sys::core::HRESULT = -1073422322i32; |
04454e1e | 8026 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8027 | pub const SL_E_TOKSTO_CANT_WRITE_TO_FILE: ::windows_sys::core::HRESULT = -1073422323i32; |
04454e1e | 8028 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8029 | pub const SL_E_TOKSTO_INVALID_FILE: ::windows_sys::core::HRESULT = -1073422319i32; |
04454e1e | 8030 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8031 | pub const SL_E_TOKSTO_NOT_INITIALIZED: ::windows_sys::core::HRESULT = -1073422327i32; |
04454e1e | 8032 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8033 | pub const SL_E_TOKSTO_NO_ID_SET: ::windows_sys::core::HRESULT = -1073422325i32; |
04454e1e | 8034 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8035 | pub const SL_E_TOKSTO_NO_PROPERTIES: ::windows_sys::core::HRESULT = -1073422328i32; |
04454e1e | 8036 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8037 | pub const SL_E_TOKSTO_NO_TOKEN_DATA: ::windows_sys::core::HRESULT = -1073422316i32; |
04454e1e | 8038 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8039 | pub const SL_E_TOKSTO_PROPERTY_NOT_FOUND: ::windows_sys::core::HRESULT = -1073422320i32; |
04454e1e | 8040 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8041 | pub const SL_E_TOKSTO_TOKEN_NOT_FOUND: ::windows_sys::core::HRESULT = -1073422329i32; |
04454e1e | 8042 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8043 | pub const SL_E_USE_LICENSE_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418237i32; |
04454e1e | 8044 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8045 | pub const SL_E_VALIDATION_BLOB_PARAM_NOT_FOUND: ::windows_sys::core::HRESULT = -1073429721i32; |
04454e1e | 8046 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8047 | pub const SL_E_VALIDATION_BLOCKED_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073429342i32; |
04454e1e | 8048 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8049 | pub const SL_E_VALIDATION_INVALID_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073429339i32; |
04454e1e | 8050 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8051 | pub const SL_E_VALIDITY_PERIOD_EXPIRED: ::windows_sys::core::HRESULT = -1073415161i32; |
04454e1e | 8052 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8053 | pub const SL_E_VALIDITY_TIME_EXPIRED: ::windows_sys::core::HRESULT = -1073418207i32; |
04454e1e | 8054 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8055 | pub const SL_E_VALUE_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418222i32; |
04454e1e | 8056 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8057 | pub const SL_E_VL_AD_AO_NAME_TOO_LONG: ::windows_sys::core::HRESULT = -1073418110i32; |
04454e1e | 8058 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8059 | pub const SL_E_VL_AD_AO_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418111i32; |
04454e1e | 8060 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8061 | pub const SL_E_VL_AD_SCHEMA_VERSION_NOT_SUPPORTED: ::windows_sys::core::HRESULT = -1073418109i32; |
04454e1e | 8062 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8063 | pub const SL_E_VL_BINDING_SERVICE_NOT_ENABLED: ::windows_sys::core::HRESULT = -1073418183i32; |
04454e1e | 8064 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8065 | pub const SL_E_VL_BINDING_SERVICE_UNAVAILABLE: ::windows_sys::core::HRESULT = -1073418124i32; |
04454e1e | 8066 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8067 | pub const SL_E_VL_INFO_PRODUCT_USER_RIGHT: ::windows_sys::core::HRESULT = 1074065472i32; |
04454e1e | 8068 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8069 | pub const SL_E_VL_INVALID_TIMESTAMP: ::windows_sys::core::HRESULT = -1073418132i32; |
04454e1e | 8070 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8071 | pub const SL_E_VL_KEY_MANAGEMENT_SERVICE_ID_MISMATCH: ::windows_sys::core::HRESULT = -1073418174i32; |
04454e1e | 8072 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8073 | pub const SL_E_VL_KEY_MANAGEMENT_SERVICE_NOT_ACTIVATED: ::windows_sys::core::HRESULT = -1073418175i32; |
04454e1e | 8074 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8075 | pub const SL_E_VL_KEY_MANAGEMENT_SERVICE_VM_NOT_SUPPORTED: ::windows_sys::core::HRESULT = -1073418133i32; |
04454e1e | 8076 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8077 | pub const SL_E_VL_MACHINE_NOT_BOUND: ::windows_sys::core::HRESULT = -1073418154i32; |
04454e1e | 8078 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8079 | pub const SL_E_VL_NOT_ENOUGH_COUNT: ::windows_sys::core::HRESULT = -1073418184i32; |
04454e1e | 8080 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8081 | pub const SL_E_VL_NOT_WINDOWS_SLP: ::windows_sys::core::HRESULT = -1073418187i32; |
04454e1e | 8082 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8083 | pub const SL_E_WINDOWS_INVALID_LICENSE_STATE: ::windows_sys::core::HRESULT = -1073418204i32; |
04454e1e | 8084 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8085 | pub const SL_E_WINDOWS_VERSION_MISMATCH: ::windows_sys::core::HRESULT = -1073422297i32; |
04454e1e | 8086 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8087 | pub type SL_GENUINE_STATE = i32; |
04454e1e | 8088 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8089 | pub const SL_GEN_STATE_IS_GENUINE: SL_GENUINE_STATE = 0i32; |
04454e1e | 8090 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8091 | pub const SL_GEN_STATE_INVALID_LICENSE: SL_GENUINE_STATE = 1i32; |
04454e1e | 8092 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8093 | pub const SL_GEN_STATE_TAMPERED: SL_GENUINE_STATE = 2i32; |
04454e1e | 8094 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8095 | pub const SL_GEN_STATE_OFFLINE: SL_GENUINE_STATE = 3i32; |
04454e1e | 8096 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8097 | pub const SL_GEN_STATE_LAST: SL_GENUINE_STATE = 4i32; |
04454e1e | 8098 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8099 | pub const SL_INFO_KEY_ACTIVE_PLUGINS: &str = "ActivePlugins"; |
04454e1e | 8100 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8101 | pub const SL_INFO_KEY_AUTHOR: &str = "Author"; |
04454e1e | 8102 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8103 | pub const SL_INFO_KEY_BIOS_OA2_MINOR_VERSION: &str = "BiosOA2MinorVersion"; |
04454e1e | 8104 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8105 | pub const SL_INFO_KEY_BIOS_PKEY: &str = "BiosProductKey"; |
04454e1e | 8106 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8107 | pub const SL_INFO_KEY_BIOS_PKEY_DESCRIPTION: &str = "BiosProductKeyDescription"; |
04454e1e | 8108 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8109 | pub const SL_INFO_KEY_BIOS_PKEY_PKPN: &str = "BiosProductKeyPkPn"; |
04454e1e | 8110 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8111 | pub const SL_INFO_KEY_BIOS_SLIC_STATE: &str = "BiosSlicState"; |
04454e1e | 8112 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8113 | pub const SL_INFO_KEY_CHANNEL: &str = "Channel"; |
04454e1e | 8114 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8115 | pub const SL_INFO_KEY_DESCRIPTION: &str = "Description"; |
04454e1e | 8116 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8117 | pub const SL_INFO_KEY_DIGITAL_PID: &str = "DigitalPID"; |
04454e1e | 8118 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8119 | pub const SL_INFO_KEY_DIGITAL_PID2: &str = "DigitalPID2"; |
04454e1e | 8120 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8121 | pub const SL_INFO_KEY_IS_KMS: &str = "IsKeyManagementService"; |
04454e1e | 8122 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8123 | pub const SL_INFO_KEY_IS_PRS: &str = "IsPRS"; |
04454e1e | 8124 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8125 | pub const SL_INFO_KEY_KMS_CURRENT_COUNT: &str = "KeyManagementServiceCurrentCount"; |
04454e1e | 8126 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8127 | pub const SL_INFO_KEY_KMS_FAILED_REQUESTS: &str = "KeyManagementServiceFailedRequests"; |
04454e1e | 8128 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8129 | pub const SL_INFO_KEY_KMS_LICENSED_REQUESTS: &str = "KeyManagementServiceLicensedRequests"; |
04454e1e | 8130 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8131 | pub const SL_INFO_KEY_KMS_NON_GENUINE_GRACE_REQUESTS: &str = "KeyManagementServiceNonGenuineGraceRequests"; |
04454e1e | 8132 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8133 | pub const SL_INFO_KEY_KMS_NOTIFICATION_REQUESTS: &str = "KeyManagementServiceNotificationRequests"; |
04454e1e | 8134 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8135 | pub const SL_INFO_KEY_KMS_OOB_GRACE_REQUESTS: &str = "KeyManagementServiceOOBGraceRequests"; |
04454e1e | 8136 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8137 | pub const SL_INFO_KEY_KMS_OOT_GRACE_REQUESTS: &str = "KeyManagementServiceOOTGraceRequests"; |
04454e1e | 8138 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8139 | pub const SL_INFO_KEY_KMS_REQUIRED_CLIENT_COUNT: &str = "KeyManagementServiceRequiredClientCount"; |
04454e1e | 8140 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8141 | pub const SL_INFO_KEY_KMS_TOTAL_REQUESTS: &str = "KeyManagementServiceTotalRequests"; |
04454e1e | 8142 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8143 | pub const SL_INFO_KEY_KMS_UNLICENSED_REQUESTS: &str = "KeyManagementServiceUnlicensedRequests"; |
04454e1e | 8144 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8145 | pub const SL_INFO_KEY_LICENSE_TYPE: &str = "LicenseType"; |
04454e1e | 8146 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8147 | pub const SL_INFO_KEY_LICENSOR_URL: &str = "LicensorUrl"; |
04454e1e | 8148 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8149 | pub const SL_INFO_KEY_NAME: &str = "Name"; |
04454e1e | 8150 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8151 | pub const SL_INFO_KEY_PARTIAL_PRODUCT_KEY: &str = "PartialProductKey"; |
04454e1e | 8152 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8153 | pub const SL_INFO_KEY_PRODUCT_KEY_ACTIVATION_URL: &str = "PKCURL"; |
04454e1e | 8154 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8155 | pub const SL_INFO_KEY_PRODUCT_SKU_ID: &str = "ProductSkuId"; |
04454e1e | 8156 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8157 | pub const SL_INFO_KEY_RIGHT_ACCOUNT_ACTIVATION_URL: &str = "RACURL"; |
04454e1e | 8158 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8159 | pub const SL_INFO_KEY_SECURE_PROCESSOR_ACTIVATION_URL: &str = "SPCURL"; |
04454e1e | 8160 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8161 | pub const SL_INFO_KEY_SECURE_STORE_ID: &str = "SecureStoreId"; |
04454e1e | 8162 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8163 | pub const SL_INFO_KEY_SYSTEM_STATE: &str = "SystemState"; |
04454e1e | 8164 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8165 | pub const SL_INFO_KEY_USE_LICENSE_ACTIVATION_URL: &str = "EULURL"; |
04454e1e | 8166 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8167 | pub const SL_INFO_KEY_VERSION: &str = "Version"; |
04454e1e | 8168 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8169 | pub const SL_INTERNAL_ZONE: u32 = 57344u32; |
04454e1e | 8170 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8171 | pub const SL_I_NONGENUINE_GRACE_PERIOD: ::windows_sys::core::HRESULT = 1074065509i32; |
04454e1e | 8172 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8173 | pub const SL_I_NONGENUINE_GRACE_PERIOD_2: ::windows_sys::core::HRESULT = 1074065512i32; |
04454e1e | 8174 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8175 | pub const SL_I_OOB_GRACE_PERIOD: ::windows_sys::core::HRESULT = 1074065420i32; |
04454e1e | 8176 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8177 | pub const SL_I_OOT_GRACE_PERIOD: ::windows_sys::core::HRESULT = 1074065421i32; |
04454e1e | 8178 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8179 | pub const SL_I_PERPETUAL_OOB_GRACE_PERIOD: ::windows_sys::core::HRESULT = 1074068485i32; |
04454e1e | 8180 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8181 | pub const SL_I_STORE_BASED_ACTIVATION: ::windows_sys::core::HRESULT = 1074066433i32; |
04454e1e | 8182 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8183 | pub const SL_I_TIMEBASED_EXTENDED_GRACE_PERIOD: ::windows_sys::core::HRESULT = 1074068486i32; |
04454e1e | 8184 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8185 | pub const SL_I_TIMEBASED_VALIDITY_PERIOD: ::windows_sys::core::HRESULT = 1074068484i32; |
8186 | #[repr(C)] | |
04454e1e | 8187 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8188 | pub struct SL_LICENSING_STATUS { |
8189 | pub SkuId: ::windows_sys::core::GUID, | |
8190 | pub eStatus: SLLICENSINGSTATUS, | |
8191 | pub dwGraceTime: u32, | |
8192 | pub dwTotalGraceDays: u32, | |
8193 | pub hrReason: ::windows_sys::core::HRESULT, | |
8194 | pub qwValidityExpiration: u64, | |
8195 | } | |
8196 | impl ::core::marker::Copy for SL_LICENSING_STATUS {} | |
8197 | impl ::core::clone::Clone for SL_LICENSING_STATUS { | |
8198 | fn clone(&self) -> Self { | |
8199 | *self | |
8200 | } | |
8201 | } | |
04454e1e | 8202 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8203 | pub const SL_MDOLLAR_ZONE: u32 = 40960u32; |
04454e1e | 8204 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8205 | pub const SL_MSCH_ZONE: u32 = 49152u32; |
8206 | #[repr(C)] | |
04454e1e | 8207 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8208 | pub struct SL_NONGENUINE_UI_OPTIONS { |
8209 | pub cbSize: u32, | |
8210 | pub pComponentId: *const ::windows_sys::core::GUID, | |
8211 | pub hResultUI: ::windows_sys::core::HRESULT, | |
8212 | } | |
8213 | impl ::core::marker::Copy for SL_NONGENUINE_UI_OPTIONS {} | |
8214 | impl ::core::clone::Clone for SL_NONGENUINE_UI_OPTIONS { | |
8215 | fn clone(&self) -> Self { | |
8216 | *self | |
8217 | } | |
8218 | } | |
04454e1e | 8219 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8220 | pub const SL_PKEY_DETECT: &str = "msft:rm/algorithm/pkey/detect"; |
04454e1e | 8221 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8222 | pub const SL_PKEY_MS2005: &str = "msft:rm/algorithm/pkey/2005"; |
04454e1e | 8223 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8224 | pub const SL_PKEY_MS2009: &str = "msft:rm/algorithm/pkey/2009"; |
04454e1e | 8225 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8226 | pub const SL_POLICY_EVALUATION_MODE_ENABLED: &str = "Security-SPP-EvaluationModeEnabled"; |
04454e1e | 8227 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8228 | pub const SL_PROP_ACTIVATION_VALIDATION_IN_PROGRESS: &str = "SL_ACTIVATION_VALIDATION_IN_PROGRESS"; |
04454e1e | 8229 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8230 | pub const SL_PROP_BRT_COMMIT: &str = "SL_BRT_COMMIT"; |
04454e1e | 8231 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8232 | pub const SL_PROP_BRT_DATA: &str = "SL_BRT_DATA"; |
04454e1e | 8233 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8234 | pub const SL_PROP_GENUINE_RESULT: &str = "SL_GENUINE_RESULT"; |
04454e1e | 8235 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8236 | pub const SL_PROP_GET_GENUINE_AUTHZ: &str = "SL_GET_GENUINE_AUTHZ"; |
04454e1e | 8237 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8238 | pub const SL_PROP_GET_GENUINE_SERVER_AUTHZ: &str = "SL_GET_GENUINE_SERVER_AUTHZ"; |
04454e1e | 8239 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8240 | pub const SL_PROP_LAST_ACT_ATTEMPT_HRESULT: &str = "SL_LAST_ACT_ATTEMPT_HRESULT"; |
04454e1e | 8241 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8242 | pub const SL_PROP_LAST_ACT_ATTEMPT_SERVER_FLAGS: &str = "SL_LAST_ACT_ATTEMPT_SERVER_FLAGS"; |
04454e1e | 8243 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8244 | pub const SL_PROP_LAST_ACT_ATTEMPT_TIME: &str = "SL_LAST_ACT_ATTEMPT_TIME"; |
04454e1e | 8245 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8246 | pub const SL_PROP_NONGENUINE_GRACE_FLAG: &str = "SL_NONGENUINE_GRACE_FLAG"; |
04454e1e | 8247 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8248 | pub const SL_REARM_REBOOT_REQUIRED: u32 = 1u32; |
04454e1e | 8249 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8250 | pub const SL_REMAPPING_MDOLLAR_CIDIID_INVALID_CHECK_DIGITS: ::windows_sys::core::HRESULT = -2143313776i32; |
04454e1e | 8251 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8252 | pub const SL_REMAPPING_MDOLLAR_CIDIID_INVALID_DATA: ::windows_sys::core::HRESULT = -2143313778i32; |
04454e1e | 8253 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8254 | pub const SL_REMAPPING_MDOLLAR_CIDIID_INVALID_DATA_LENGTH: ::windows_sys::core::HRESULT = -2143313777i32; |
04454e1e | 8255 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8256 | pub const SL_REMAPPING_MDOLLAR_CIDIID_INVALID_VERSION: ::windows_sys::core::HRESULT = -2143313779i32; |
04454e1e | 8257 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8258 | pub const SL_REMAPPING_MDOLLAR_DIGITALMARKER_BINDING_NOT_CONFIGURED: ::windows_sys::core::HRESULT = -2143313708i32; |
04454e1e | 8259 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8260 | pub const SL_REMAPPING_MDOLLAR_DIGITALMARKER_INVALID_BINDING: ::windows_sys::core::HRESULT = -2143313709i32; |
04454e1e | 8261 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8262 | pub const SL_REMAPPING_MDOLLAR_DMAK_EXTENSION_LIMIT_EXCEEDED: ::windows_sys::core::HRESULT = -2143313792i32; |
04454e1e | 8263 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8264 | pub const SL_REMAPPING_MDOLLAR_DMAK_LIMIT_EXCEEDED: ::windows_sys::core::HRESULT = -2143313793i32; |
04454e1e | 8265 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8266 | pub const SL_REMAPPING_MDOLLAR_DMAK_OVERRIDE_LIMIT_REACHED: ::windows_sys::core::HRESULT = -2143313706i32; |
04454e1e | 8267 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8268 | pub const SL_REMAPPING_MDOLLAR_FREE_OFFER_EXPIRED: ::windows_sys::core::HRESULT = -2143312896i32; |
04454e1e | 8269 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8270 | pub const SL_REMAPPING_MDOLLAR_INVALID_ACTCONFIG_ID: ::windows_sys::core::HRESULT = -2143313802i32; |
04454e1e | 8271 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8272 | pub const SL_REMAPPING_MDOLLAR_INVALID_ARGUMENT: ::windows_sys::core::HRESULT = -2143313795i32; |
04454e1e | 8273 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8274 | pub const SL_REMAPPING_MDOLLAR_INVALID_BINDING: ::windows_sys::core::HRESULT = -2143313818i32; |
04454e1e | 8275 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8276 | pub const SL_REMAPPING_MDOLLAR_INVALID_BINDING_URI: ::windows_sys::core::HRESULT = -2143313798i32; |
04454e1e | 8277 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8278 | pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_DATA: ::windows_sys::core::HRESULT = -2143313804i32; |
04454e1e | 8279 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8280 | pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_DATA_ID: ::windows_sys::core::HRESULT = -2143313805i32; |
04454e1e | 8281 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8282 | pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_KEY: ::windows_sys::core::HRESULT = -2143313816i32; |
04454e1e | 8283 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8284 | pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_KEY_FORMAT: ::windows_sys::core::HRESULT = -2143313800i32; |
04454e1e | 8285 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8286 | pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_KEY_LENGTH: ::windows_sys::core::HRESULT = -2143313801i32; |
04454e1e | 8287 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8288 | pub const SL_REMAPPING_MDOLLAR_MAXIMUM_UNLOCK_EXCEEDED: ::windows_sys::core::HRESULT = -2143313807i32; |
04454e1e | 8289 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8290 | pub const SL_REMAPPING_MDOLLAR_NO_RULES_TO_ACTIVATE: ::windows_sys::core::HRESULT = -2143313720i32; |
04454e1e | 8291 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8292 | pub const SL_REMAPPING_MDOLLAR_OEM_SLP_COA0: ::windows_sys::core::HRESULT = -2143313789i32; |
04454e1e | 8293 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8294 | pub const SL_REMAPPING_MDOLLAR_OSR_DEVICE_BLOCKED: ::windows_sys::core::HRESULT = -2143310909i32; |
04454e1e | 8295 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8296 | pub const SL_REMAPPING_MDOLLAR_OSR_DEVICE_THROTTLED: ::windows_sys::core::HRESULT = -2143310914i32; |
04454e1e | 8297 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8298 | pub const SL_REMAPPING_MDOLLAR_OSR_DONOR_HWID_NO_ENTITLEMENT: ::windows_sys::core::HRESULT = -2143310920i32; |
04454e1e | 8299 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8300 | pub const SL_REMAPPING_MDOLLAR_OSR_GENERIC_ERROR: ::windows_sys::core::HRESULT = -2143310919i32; |
04454e1e | 8301 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8302 | pub const SL_REMAPPING_MDOLLAR_OSR_GP_DISABLED: ::windows_sys::core::HRESULT = -2143310913i32; |
04454e1e | 8303 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8304 | pub const SL_REMAPPING_MDOLLAR_OSR_HARDWARE_BLOCKED: ::windows_sys::core::HRESULT = -2143310912i32; |
04454e1e | 8305 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8306 | pub const SL_REMAPPING_MDOLLAR_OSR_LICENSE_BLOCKED: ::windows_sys::core::HRESULT = -2143310910i32; |
04454e1e | 8307 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8308 | pub const SL_REMAPPING_MDOLLAR_OSR_LICENSE_THROTTLED: ::windows_sys::core::HRESULT = -2143310915i32; |
04454e1e | 8309 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8310 | pub const SL_REMAPPING_MDOLLAR_OSR_NOT_ADMIN: ::windows_sys::core::HRESULT = -2143310917i32; |
04454e1e | 8311 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8312 | pub const SL_REMAPPING_MDOLLAR_OSR_NO_ASSOCIATION: ::windows_sys::core::HRESULT = -2143310918i32; |
04454e1e | 8313 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8314 | pub const SL_REMAPPING_MDOLLAR_OSR_USER_BLOCKED: ::windows_sys::core::HRESULT = -2143310911i32; |
04454e1e | 8315 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8316 | pub const SL_REMAPPING_MDOLLAR_OSR_USER_THROTTLED: ::windows_sys::core::HRESULT = -2143310916i32; |
04454e1e | 8317 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8318 | pub const SL_REMAPPING_MDOLLAR_PRODUCT_KEY_BLOCKED: ::windows_sys::core::HRESULT = -2143313817i32; |
04454e1e | 8319 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8320 | pub const SL_REMAPPING_MDOLLAR_PRODUCT_KEY_BLOCKED_IPLOCATION: ::windows_sys::core::HRESULT = -2143313717i32; |
04454e1e | 8321 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8322 | pub const SL_REMAPPING_MDOLLAR_PRODUCT_KEY_OUT_OF_RANGE: ::windows_sys::core::HRESULT = -2143313819i32; |
04454e1e | 8323 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8324 | pub const SL_REMAPPING_MDOLLAR_ROT_OVERRIDE_LIMIT_REACHED: ::windows_sys::core::HRESULT = -2143313707i32; |
04454e1e | 8325 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8326 | pub const SL_REMAPPING_MDOLLAR_TIMEBASED_ACTIVATION_AFTER_END_DATE: ::windows_sys::core::HRESULT = -2143313768i32; |
04454e1e | 8327 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8328 | pub const SL_REMAPPING_MDOLLAR_TIMEBASED_ACTIVATION_BEFORE_START_DATE: ::windows_sys::core::HRESULT = -2143313769i32; |
04454e1e | 8329 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8330 | pub const SL_REMAPPING_MDOLLAR_TIMEBASED_ACTIVATION_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -2143313767i32; |
04454e1e | 8331 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8332 | pub const SL_REMAPPING_MDOLLAR_TIMEBASED_PRODUCT_KEY_NOT_CONFIGURED: ::windows_sys::core::HRESULT = -2143313766i32; |
04454e1e | 8333 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8334 | pub const SL_REMAPPING_MDOLLAR_UNSUPPORTED_PRODUCT_KEY: ::windows_sys::core::HRESULT = -2143313812i32; |
04454e1e | 8335 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8336 | pub const SL_REMAPPING_SP_PUB_API_BAD_GET_INFO_QUERY: ::windows_sys::core::HRESULT = -1073426414i32; |
04454e1e | 8337 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8338 | pub const SL_REMAPPING_SP_PUB_API_HANDLE_NOT_COMMITED: ::windows_sys::core::HRESULT = -1073426303i32; |
04454e1e | 8339 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8340 | pub const SL_REMAPPING_SP_PUB_API_INVALID_ALGORITHM_TYPE: ::windows_sys::core::HRESULT = -1073426423i32; |
04454e1e | 8341 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8342 | pub const SL_REMAPPING_SP_PUB_API_INVALID_HANDLE: ::windows_sys::core::HRESULT = -1073426388i32; |
04454e1e | 8343 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8344 | pub const SL_REMAPPING_SP_PUB_API_INVALID_KEY_LENGTH: ::windows_sys::core::HRESULT = -1073426347i32; |
04454e1e | 8345 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8346 | pub const SL_REMAPPING_SP_PUB_API_INVALID_LICENSE: ::windows_sys::core::HRESULT = -1073426432i32; |
04454e1e | 8347 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8348 | pub const SL_REMAPPING_SP_PUB_API_NO_AES_PROVIDER: ::windows_sys::core::HRESULT = -1073426317i32; |
04454e1e | 8349 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8350 | pub const SL_REMAPPING_SP_PUB_API_TOO_MANY_LOADED_ENVIRONMENTS: ::windows_sys::core::HRESULT = -1073426420i32; |
04454e1e | 8351 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8352 | pub const SL_REMAPPING_SP_PUB_CRYPTO_HASH_FINALIZED: ::windows_sys::core::HRESULT = -1073425911i32; |
04454e1e | 8353 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8354 | pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_BLOCK: ::windows_sys::core::HRESULT = -1073425905i32; |
04454e1e | 8355 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8356 | pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_BLOCKLENGTH: ::windows_sys::core::HRESULT = -1073425918i32; |
04454e1e | 8357 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8358 | pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_CIPHER: ::windows_sys::core::HRESULT = -1073425917i32; |
04454e1e | 8359 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8360 | pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_CIPHERMODE: ::windows_sys::core::HRESULT = -1073425916i32; |
04454e1e | 8361 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8362 | pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_FORMAT: ::windows_sys::core::HRESULT = -1073425904i32; |
04454e1e | 8363 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8364 | pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_KEYLENGTH: ::windows_sys::core::HRESULT = -1073425919i32; |
04454e1e | 8365 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8366 | pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_PADDING: ::windows_sys::core::HRESULT = -1073425903i32; |
04454e1e | 8367 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8368 | pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_SIGNATURE: ::windows_sys::core::HRESULT = -1073425906i32; |
04454e1e | 8369 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8370 | pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_SIGNATURELENGTH: ::windows_sys::core::HRESULT = -1073425907i32; |
04454e1e | 8371 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8372 | pub const SL_REMAPPING_SP_PUB_CRYPTO_KEY_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073425910i32; |
04454e1e | 8373 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8374 | pub const SL_REMAPPING_SP_PUB_CRYPTO_KEY_NOT_FOUND: ::windows_sys::core::HRESULT = -1073425909i32; |
04454e1e | 8375 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8376 | pub const SL_REMAPPING_SP_PUB_CRYPTO_NOT_BLOCK_ALIGNED: ::windows_sys::core::HRESULT = -1073425908i32; |
04454e1e | 8377 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8378 | pub const SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_ATTRIBUTEID: ::windows_sys::core::HRESULT = -1073425912i32; |
04454e1e | 8379 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8380 | pub const SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_HASHID: ::windows_sys::core::HRESULT = -1073425913i32; |
04454e1e | 8381 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8382 | pub const SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_KEYID: ::windows_sys::core::HRESULT = -1073425914i32; |
04454e1e | 8383 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8384 | pub const SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_PROVIDERID: ::windows_sys::core::HRESULT = -1073425915i32; |
04454e1e | 8385 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8386 | pub const SL_REMAPPING_SP_PUB_GENERAL_NOT_INITIALIZED: ::windows_sys::core::HRESULT = -1073426175i32; |
04454e1e | 8387 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8388 | pub const SL_REMAPPING_SP_PUB_KM_CACHE_IDENTICAL: ::windows_sys::core::HRESULT = 1074058753i32; |
04454e1e | 8389 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8390 | pub const SL_REMAPPING_SP_PUB_KM_CACHE_POLICY_CHANGED: ::windows_sys::core::HRESULT = 1074058754i32; |
04454e1e | 8391 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8392 | pub const SL_REMAPPING_SP_PUB_KM_CACHE_TAMPER: ::windows_sys::core::HRESULT = -1073425151i32; |
04454e1e | 8393 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8394 | pub const SL_REMAPPING_SP_PUB_KM_CACHE_TAMPER_RESTORE_FAILED: ::windows_sys::core::HRESULT = -1073425150i32; |
04454e1e | 8395 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8396 | pub const SL_REMAPPING_SP_PUB_PROXY_SOFT_TAMPER: ::windows_sys::core::HRESULT = -1073424638i32; |
04454e1e | 8397 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8398 | pub const SL_REMAPPING_SP_PUB_TAMPER_MODULE_AUTHENTICATION: ::windows_sys::core::HRESULT = -1073425407i32; |
04454e1e | 8399 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8400 | pub const SL_REMAPPING_SP_PUB_TAMPER_SECURITY_PROCESSOR_PATCHED: ::windows_sys::core::HRESULT = -1073425406i32; |
04454e1e | 8401 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8402 | pub const SL_REMAPPING_SP_PUB_TIMER_ALREADY_EXISTS: ::windows_sys::core::HRESULT = -1073425654i32; |
04454e1e | 8403 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8404 | pub const SL_REMAPPING_SP_PUB_TIMER_EXPIRED: ::windows_sys::core::HRESULT = -1073425652i32; |
04454e1e | 8405 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8406 | pub const SL_REMAPPING_SP_PUB_TIMER_NAME_SIZE_TOO_BIG: ::windows_sys::core::HRESULT = -1073425651i32; |
04454e1e | 8407 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8408 | pub const SL_REMAPPING_SP_PUB_TIMER_NOT_FOUND: ::windows_sys::core::HRESULT = -1073425653i32; |
04454e1e | 8409 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8410 | pub const SL_REMAPPING_SP_PUB_TIMER_READ_ONLY: ::windows_sys::core::HRESULT = -1073425647i32; |
04454e1e | 8411 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8412 | pub const SL_REMAPPING_SP_PUB_TRUSTED_TIME_OK: ::windows_sys::core::HRESULT = 1074057999i32; |
04454e1e | 8413 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8414 | pub const SL_REMAPPING_SP_PUB_TS_ACCESS_DENIED: ::windows_sys::core::HRESULT = -1073425644i32; |
04454e1e | 8415 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8416 | pub const SL_REMAPPING_SP_PUB_TS_ATTRIBUTE_NOT_FOUND: ::windows_sys::core::HRESULT = -1073425645i32; |
04454e1e | 8417 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8418 | pub const SL_REMAPPING_SP_PUB_TS_ATTRIBUTE_READ_ONLY: ::windows_sys::core::HRESULT = -1073425646i32; |
04454e1e | 8419 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8420 | pub const SL_REMAPPING_SP_PUB_TS_DATA_SIZE_TOO_BIG: ::windows_sys::core::HRESULT = -1073425656i32; |
04454e1e | 8421 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8422 | pub const SL_REMAPPING_SP_PUB_TS_ENTRY_KEY_ALREADY_EXISTS: ::windows_sys::core::HRESULT = -1073425659i32; |
04454e1e | 8423 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8424 | pub const SL_REMAPPING_SP_PUB_TS_ENTRY_KEY_NOT_FOUND: ::windows_sys::core::HRESULT = -1073425660i32; |
04454e1e | 8425 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8426 | pub const SL_REMAPPING_SP_PUB_TS_ENTRY_KEY_SIZE_TOO_BIG: ::windows_sys::core::HRESULT = -1073425658i32; |
04454e1e | 8427 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8428 | pub const SL_REMAPPING_SP_PUB_TS_ENTRY_READ_ONLY: ::windows_sys::core::HRESULT = -1073425648i32; |
04454e1e | 8429 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8430 | pub const SL_REMAPPING_SP_PUB_TS_FULL: ::windows_sys::core::HRESULT = -1073425650i32; |
04454e1e | 8431 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8432 | pub const SL_REMAPPING_SP_PUB_TS_INVALID_HW_BINDING: ::windows_sys::core::HRESULT = -1073425655i32; |
04454e1e | 8433 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8434 | pub const SL_REMAPPING_SP_PUB_TS_MAX_REARM_REACHED: ::windows_sys::core::HRESULT = -1073425657i32; |
04454e1e | 8435 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8436 | pub const SL_REMAPPING_SP_PUB_TS_NAMESPACE_IN_USE: ::windows_sys::core::HRESULT = -1073425642i32; |
04454e1e | 8437 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8438 | pub const SL_REMAPPING_SP_PUB_TS_NAMESPACE_NOT_FOUND: ::windows_sys::core::HRESULT = -1073425643i32; |
04454e1e | 8439 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8440 | pub const SL_REMAPPING_SP_PUB_TS_REARMED: ::windows_sys::core::HRESULT = -1073425662i32; |
04454e1e | 8441 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8442 | pub const SL_REMAPPING_SP_PUB_TS_RECREATED: ::windows_sys::core::HRESULT = -1073425661i32; |
04454e1e | 8443 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8444 | pub const SL_REMAPPING_SP_PUB_TS_TAMPERED: ::windows_sys::core::HRESULT = -1073425663i32; |
04454e1e | 8445 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8446 | pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_BREADCRUMB_GENERATION: ::windows_sys::core::HRESULT = -1073425640i32; |
04454e1e | 8447 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8448 | pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_BREADCRUMB_LOAD_INVALID: ::windows_sys::core::HRESULT = -1073425641i32; |
04454e1e | 8449 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8450 | pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_DATA_BREADCRUMB_MISMATCH: ::windows_sys::core::HRESULT = -1073425637i32; |
04454e1e | 8451 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8452 | pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_DATA_VERSION_MISMATCH: ::windows_sys::core::HRESULT = -1073425636i32; |
04454e1e | 8453 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8454 | pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_INVALID_DATA: ::windows_sys::core::HRESULT = -1073425639i32; |
04454e1e | 8455 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8456 | pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_NO_DATA: ::windows_sys::core::HRESULT = -1073425638i32; |
04454e1e | 8457 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8458 | pub const SL_REMAPPING_SP_STATUS_ALREADY_EXISTS: ::windows_sys::core::HRESULT = -1073426171i32; |
04454e1e | 8459 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8460 | pub const SL_REMAPPING_SP_STATUS_DEBUGGER_DETECTED: ::windows_sys::core::HRESULT = -2147167989i32; |
04454e1e | 8461 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8462 | pub const SL_REMAPPING_SP_STATUS_GENERIC_FAILURE: ::windows_sys::core::HRESULT = -1073426173i32; |
04454e1e | 8463 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8464 | pub const SL_REMAPPING_SP_STATUS_INSUFFICIENT_BUFFER: ::windows_sys::core::HRESULT = -1073426169i32; |
04454e1e | 8465 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8466 | pub const SL_REMAPPING_SP_STATUS_INVALIDARG: ::windows_sys::core::HRESULT = -1073426172i32; |
04454e1e | 8467 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8468 | pub const SL_REMAPPING_SP_STATUS_INVALIDDATA: ::windows_sys::core::HRESULT = -1073426168i32; |
04454e1e | 8469 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8470 | pub const SL_REMAPPING_SP_STATUS_INVALID_SPAPI_CALL: ::windows_sys::core::HRESULT = -1073426167i32; |
04454e1e | 8471 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8472 | pub const SL_REMAPPING_SP_STATUS_INVALID_SPAPI_VERSION: ::windows_sys::core::HRESULT = -1073426166i32; |
04454e1e | 8473 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8474 | pub const SL_REMAPPING_SP_STATUS_NO_MORE_DATA: ::windows_sys::core::HRESULT = -1073426164i32; |
04454e1e | 8475 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8476 | pub const SL_REMAPPING_SP_STATUS_PUSHKEY_CONFLICT: ::windows_sys::core::HRESULT = -1073424639i32; |
04454e1e | 8477 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8478 | pub const SL_REMAPPING_SP_STATUS_SYSTEM_TIME_SKEWED: ::windows_sys::core::HRESULT = -2147167998i32; |
04454e1e | 8479 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8480 | pub const SL_SERVER_ZONE: u32 = 45056u32; |
8481 | #[repr(C)] | |
04454e1e | 8482 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8483 | pub struct SL_SYSTEM_POLICY_INFORMATION { |
8484 | pub Reserved1: [*mut ::core::ffi::c_void; 2], | |
8485 | pub Reserved2: [u32; 3], | |
8486 | } | |
8487 | impl ::core::marker::Copy for SL_SYSTEM_POLICY_INFORMATION {} | |
8488 | impl ::core::clone::Clone for SL_SYSTEM_POLICY_INFORMATION { | |
8489 | fn clone(&self) -> Self { | |
8490 | *self | |
8491 | } | |
8492 | } | |
04454e1e | 8493 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8494 | pub const SL_SYSTEM_STATE_REBOOT_POLICY_FOUND: u32 = 1u32; |
04454e1e | 8495 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8496 | pub const SL_SYSTEM_STATE_TAMPERED: u32 = 2u32; |
04454e1e | 8497 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8498 | pub const SPP_MIGRATION_GATHER_ACTIVATED_WINDOWS_STATE: u32 = 2u32; |
04454e1e | 8499 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8500 | pub const SPP_MIGRATION_GATHER_ALL: u32 = 4294967295u32; |
04454e1e | 8501 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8502 | pub const SPP_MIGRATION_GATHER_MIGRATABLE_APPS: u32 = 1u32; |
04454e1e | 8503 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8504 | pub const SP_ACCEPT_CREDENTIALS_NAME: &str = "SpAcceptCredentials\u{0}"; |
04454e1e | 8505 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8506 | pub const SP_PROT_ALL: u32 = 4294967295u32; |
04454e1e | 8507 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8508 | pub const SP_PROT_DTLS1_0_CLIENT: u32 = 131072u32; |
04454e1e | 8509 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8510 | pub const SP_PROT_DTLS1_0_SERVER: u32 = 65536u32; |
04454e1e | 8511 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8512 | pub const SP_PROT_DTLS1_2_CLIENT: u32 = 524288u32; |
04454e1e | 8513 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8514 | pub const SP_PROT_DTLS1_2_SERVER: u32 = 262144u32; |
04454e1e | 8515 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8516 | pub const SP_PROT_DTLS_CLIENT: u32 = 131072u32; |
04454e1e | 8517 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8518 | pub const SP_PROT_DTLS_SERVER: u32 = 65536u32; |
04454e1e | 8519 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8520 | pub const SP_PROT_NONE: u32 = 0u32; |
04454e1e | 8521 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8522 | pub const SP_PROT_PCT1_CLIENT: u32 = 2u32; |
04454e1e | 8523 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8524 | pub const SP_PROT_PCT1_SERVER: u32 = 1u32; |
04454e1e | 8525 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8526 | pub const SP_PROT_SSL2_CLIENT: u32 = 8u32; |
04454e1e | 8527 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8528 | pub const SP_PROT_SSL2_SERVER: u32 = 4u32; |
04454e1e | 8529 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8530 | pub const SP_PROT_SSL3_CLIENT: u32 = 32u32; |
04454e1e | 8531 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8532 | pub const SP_PROT_SSL3_SERVER: u32 = 16u32; |
04454e1e | 8533 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8534 | pub const SP_PROT_TLS1_0_CLIENT: u32 = 128u32; |
04454e1e | 8535 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8536 | pub const SP_PROT_TLS1_0_SERVER: u32 = 64u32; |
04454e1e | 8537 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8538 | pub const SP_PROT_TLS1_1_CLIENT: u32 = 512u32; |
04454e1e | 8539 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8540 | pub const SP_PROT_TLS1_1_SERVER: u32 = 256u32; |
04454e1e | 8541 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8542 | pub const SP_PROT_TLS1_2_CLIENT: u32 = 2048u32; |
04454e1e | 8543 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8544 | pub const SP_PROT_TLS1_2_SERVER: u32 = 1024u32; |
04454e1e | 8545 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8546 | pub const SP_PROT_TLS1_3PLUS_CLIENT: u32 = 8192u32; |
04454e1e | 8547 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8548 | pub const SP_PROT_TLS1_3PLUS_SERVER: u32 = 4096u32; |
04454e1e | 8549 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8550 | pub const SP_PROT_TLS1_3_CLIENT: u32 = 8192u32; |
04454e1e | 8551 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8552 | pub const SP_PROT_TLS1_3_SERVER: u32 = 4096u32; |
04454e1e | 8553 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8554 | pub const SP_PROT_TLS1_CLIENT: u32 = 128u32; |
04454e1e | 8555 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8556 | pub const SP_PROT_TLS1_SERVER: u32 = 64u32; |
04454e1e | 8557 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8558 | pub const SP_PROT_UNI_CLIENT: u32 = 2147483648u32; |
04454e1e | 8559 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8560 | pub const SP_PROT_UNI_SERVER: u32 = 1073741824u32; |
8561 | #[repr(C)] | |
04454e1e | 8562 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8563 | pub struct SR_SECURITY_DESCRIPTOR { |
8564 | pub Length: u32, | |
8565 | pub SecurityDescriptor: *mut u8, | |
8566 | } | |
8567 | impl ::core::marker::Copy for SR_SECURITY_DESCRIPTOR {} | |
8568 | impl ::core::clone::Clone for SR_SECURITY_DESCRIPTOR { | |
8569 | fn clone(&self) -> Self { | |
8570 | *self | |
8571 | } | |
8572 | } | |
04454e1e | 8573 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8574 | pub const SSL2SP_NAME: &str = "Microsoft SSL 2.0"; |
04454e1e | 8575 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8576 | pub const SSL2SP_NAME_A: &str = "Microsoft SSL 2.0"; |
04454e1e | 8577 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8578 | pub const SSL2SP_NAME_W: &str = "Microsoft SSL 2.0"; |
04454e1e | 8579 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8580 | pub const SSL3SP_NAME: &str = "Microsoft SSL 3.0"; |
04454e1e | 8581 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8582 | pub const SSL3SP_NAME_A: &str = "Microsoft SSL 3.0"; |
04454e1e | 8583 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8584 | pub const SSL3SP_NAME_W: &str = "Microsoft SSL 3.0"; |
04454e1e | 8585 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
8586 | #[cfg(feature = "Win32_Foundation")] |
8587 | pub type SSL_CRACK_CERTIFICATE_FN = ::core::option::Option<unsafe extern "system" fn(pbcertificate: *mut u8, cbcertificate: u32, verifysignature: super::super::super::Foundation::BOOL, ppcertificate: *mut *mut X509Certificate) -> super::super::super::Foundation::BOOL>; | |
04454e1e | 8588 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8589 | pub const SSL_CRACK_CERTIFICATE_NAME: &str = "SslCrackCertificate"; |
5e7ed085 | 8590 | #[repr(C)] |
04454e1e | 8591 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8592 | pub struct SSL_CREDENTIAL_CERTIFICATE { |
8593 | pub cbPrivateKey: u32, | |
8594 | pub pPrivateKey: *mut u8, | |
8595 | pub cbCertificate: u32, | |
8596 | pub pCertificate: *mut u8, | |
04454e1e | 8597 | pub pszPassword: ::windows_sys::core::PSTR, |
5e7ed085 | 8598 | } |
5e7ed085 | 8599 | impl ::core::marker::Copy for SSL_CREDENTIAL_CERTIFICATE {} |
5e7ed085 FG |
8600 | impl ::core::clone::Clone for SSL_CREDENTIAL_CERTIFICATE { |
8601 | fn clone(&self) -> Self { | |
8602 | *self | |
8603 | } | |
8604 | } | |
04454e1e | 8605 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 | 8606 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
8607 | pub type SSL_EMPTY_CACHE_FN_A = ::core::option::Option<unsafe extern "system" fn(psztargetname: ::windows_sys::core::PCSTR, dwflags: u32) -> super::super::super::Foundation::BOOL>; |
8608 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 | 8609 | #[cfg(feature = "Win32_Foundation")] |
04454e1e FG |
8610 | pub type SSL_EMPTY_CACHE_FN_W = ::core::option::Option<unsafe extern "system" fn(psztargetname: ::windows_sys::core::PCWSTR, dwflags: u32) -> super::super::super::Foundation::BOOL>; |
8611 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] | |
5e7ed085 FG |
8612 | #[cfg(feature = "Win32_Foundation")] |
8613 | pub type SSL_FREE_CERTIFICATE_FN = ::core::option::Option<unsafe extern "system" fn(pcertificate: *mut X509Certificate)>; | |
04454e1e | 8614 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 8615 | pub const SSL_FREE_CERTIFICATE_NAME: &str = "SslFreeCertificate"; |
04454e1e | 8616 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8617 | pub const SSL_SESSION_RECONNECT: u32 = 1u32; |
04454e1e | 8618 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8619 | pub const SSPIPFC_CREDPROV_DO_NOT_LOAD: u32 = 4u32; |
04454e1e | 8620 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8621 | pub const SSPIPFC_CREDPROV_DO_NOT_SAVE: u32 = 1u32; |
04454e1e | 8622 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8623 | pub const SSPIPFC_NO_CHECKBOX: u32 = 2u32; |
04454e1e | 8624 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8625 | pub const SSPIPFC_SAVE_CRED_BY_CALLER: u32 = 1u32; |
04454e1e | 8626 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8627 | pub const SSPIPFC_USE_CREDUIBROKER: u32 = 8u32; |
8628 | #[repr(C)] | |
04454e1e | 8629 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8630 | pub struct SUBSCRIBE_GENERIC_TLS_EXTENSION { |
8631 | pub Flags: u32, | |
8632 | pub SubscriptionsCount: u32, | |
8633 | pub Subscriptions: [TLS_EXTENSION_SUBSCRIPTION; 1], | |
8634 | } | |
8635 | impl ::core::marker::Copy for SUBSCRIBE_GENERIC_TLS_EXTENSION {} | |
8636 | impl ::core::clone::Clone for SUBSCRIBE_GENERIC_TLS_EXTENSION { | |
8637 | fn clone(&self) -> Self { | |
8638 | *self | |
8639 | } | |
8640 | } | |
04454e1e | 8641 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8642 | pub const SZ_ALG_MAX_SIZE: u32 = 64u32; |
04454e1e | 8643 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8644 | pub type SchGetExtensionsOptions = u32; |
04454e1e | 8645 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8646 | pub const SCH_EXTENSIONS_OPTIONS_NONE: SchGetExtensionsOptions = 0u32; |
04454e1e | 8647 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8648 | pub const SCH_NO_RECORD_HEADER: SchGetExtensionsOptions = 1u32; |
8649 | #[repr(C)] | |
04454e1e | 8650 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8651 | pub struct SecBuffer { |
8652 | pub cbBuffer: u32, | |
8653 | pub BufferType: u32, | |
8654 | pub pvBuffer: *mut ::core::ffi::c_void, | |
8655 | } | |
8656 | impl ::core::marker::Copy for SecBuffer {} | |
8657 | impl ::core::clone::Clone for SecBuffer { | |
8658 | fn clone(&self) -> Self { | |
8659 | *self | |
8660 | } | |
8661 | } | |
8662 | #[repr(C)] | |
04454e1e | 8663 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8664 | pub struct SecBufferDesc { |
8665 | pub ulVersion: u32, | |
8666 | pub cBuffers: u32, | |
8667 | pub pBuffers: *mut SecBuffer, | |
8668 | } | |
8669 | impl ::core::marker::Copy for SecBufferDesc {} | |
8670 | impl ::core::clone::Clone for SecBufferDesc { | |
8671 | fn clone(&self) -> Self { | |
8672 | *self | |
8673 | } | |
8674 | } | |
04454e1e | 8675 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8676 | pub type SecDelegationType = i32; |
04454e1e | 8677 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8678 | pub const SecFull: SecDelegationType = 0i32; |
04454e1e | 8679 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8680 | pub const SecService: SecDelegationType = 1i32; |
04454e1e | 8681 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8682 | pub const SecTree: SecDelegationType = 2i32; |
04454e1e | 8683 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 8684 | pub const SecDirectory: SecDelegationType = 3i32; |
04454e1e | 8685 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8686 | pub const SecObject: SecDelegationType = 4i32; |
8687 | #[repr(C)] | |
04454e1e | 8688 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8689 | pub struct SecPkgContext_AccessToken { |
8690 | pub AccessToken: *mut ::core::ffi::c_void, | |
8691 | } | |
8692 | impl ::core::marker::Copy for SecPkgContext_AccessToken {} | |
8693 | impl ::core::clone::Clone for SecPkgContext_AccessToken { | |
8694 | fn clone(&self) -> Self { | |
8695 | *self | |
8696 | } | |
8697 | } | |
8698 | #[repr(C)] | |
04454e1e | 8699 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8700 | pub struct SecPkgContext_ApplicationProtocol { |
8701 | pub ProtoNegoStatus: SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS, | |
8702 | pub ProtoNegoExt: SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT, | |
8703 | pub ProtocolIdSize: u8, | |
8704 | pub ProtocolId: [u8; 255], | |
8705 | } | |
8706 | impl ::core::marker::Copy for SecPkgContext_ApplicationProtocol {} | |
8707 | impl ::core::clone::Clone for SecPkgContext_ApplicationProtocol { | |
8708 | fn clone(&self) -> Self { | |
8709 | *self | |
8710 | } | |
8711 | } | |
8712 | #[repr(C)] | |
04454e1e | 8713 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8714 | pub struct SecPkgContext_AuthorityA { |
8715 | pub sAuthorityName: *mut i8, | |
8716 | } | |
8717 | impl ::core::marker::Copy for SecPkgContext_AuthorityA {} | |
8718 | impl ::core::clone::Clone for SecPkgContext_AuthorityA { | |
8719 | fn clone(&self) -> Self { | |
8720 | *self | |
8721 | } | |
8722 | } | |
8723 | #[repr(C)] | |
04454e1e | 8724 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8725 | pub struct SecPkgContext_AuthorityW { |
8726 | pub sAuthorityName: *mut u16, | |
8727 | } | |
8728 | impl ::core::marker::Copy for SecPkgContext_AuthorityW {} | |
8729 | impl ::core::clone::Clone for SecPkgContext_AuthorityW { | |
8730 | fn clone(&self) -> Self { | |
8731 | *self | |
8732 | } | |
8733 | } | |
8734 | #[repr(C)] | |
04454e1e | 8735 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8736 | pub struct SecPkgContext_AuthzID { |
8737 | pub AuthzIDLength: u32, | |
04454e1e | 8738 | pub AuthzID: ::windows_sys::core::PSTR, |
5e7ed085 | 8739 | } |
5e7ed085 | 8740 | impl ::core::marker::Copy for SecPkgContext_AuthzID {} |
5e7ed085 FG |
8741 | impl ::core::clone::Clone for SecPkgContext_AuthzID { |
8742 | fn clone(&self) -> Self { | |
8743 | *self | |
8744 | } | |
8745 | } | |
8746 | #[repr(C)] | |
04454e1e | 8747 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8748 | pub struct SecPkgContext_Bindings { |
8749 | pub BindingsLength: u32, | |
8750 | pub Bindings: *mut SEC_CHANNEL_BINDINGS, | |
8751 | } | |
8752 | impl ::core::marker::Copy for SecPkgContext_Bindings {} | |
8753 | impl ::core::clone::Clone for SecPkgContext_Bindings { | |
8754 | fn clone(&self) -> Self { | |
8755 | *self | |
8756 | } | |
8757 | } | |
8758 | #[repr(C)] | |
04454e1e | 8759 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8760 | pub struct SecPkgContext_CertInfo { |
8761 | pub dwVersion: u32, | |
8762 | pub cbSubjectName: u32, | |
04454e1e | 8763 | pub pwszSubjectName: ::windows_sys::core::PWSTR, |
5e7ed085 | 8764 | pub cbIssuerName: u32, |
04454e1e | 8765 | pub pwszIssuerName: ::windows_sys::core::PWSTR, |
5e7ed085 FG |
8766 | pub dwKeySize: u32, |
8767 | } | |
5e7ed085 | 8768 | impl ::core::marker::Copy for SecPkgContext_CertInfo {} |
5e7ed085 FG |
8769 | impl ::core::clone::Clone for SecPkgContext_CertInfo { |
8770 | fn clone(&self) -> Self { | |
8771 | *self | |
8772 | } | |
8773 | } | |
8774 | #[repr(C)] | |
04454e1e | 8775 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8776 | pub struct SecPkgContext_CertificateValidationResult { |
8777 | pub dwChainErrorStatus: u32, | |
8778 | pub hrVerifyChainStatus: ::windows_sys::core::HRESULT, | |
8779 | } | |
8780 | impl ::core::marker::Copy for SecPkgContext_CertificateValidationResult {} | |
8781 | impl ::core::clone::Clone for SecPkgContext_CertificateValidationResult { | |
8782 | fn clone(&self) -> Self { | |
8783 | *self | |
8784 | } | |
8785 | } | |
8786 | #[repr(C)] | |
04454e1e | 8787 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8788 | pub struct SecPkgContext_Certificates { |
8789 | pub cCertificates: u32, | |
8790 | pub cbCertificateChain: u32, | |
8791 | pub pbCertificateChain: *mut u8, | |
8792 | } | |
8793 | impl ::core::marker::Copy for SecPkgContext_Certificates {} | |
8794 | impl ::core::clone::Clone for SecPkgContext_Certificates { | |
8795 | fn clone(&self) -> Self { | |
8796 | *self | |
8797 | } | |
8798 | } | |
8799 | #[repr(C)] | |
04454e1e | 8800 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8801 | pub struct SecPkgContext_CipherInfo { |
8802 | pub dwVersion: u32, | |
8803 | pub dwProtocol: u32, | |
8804 | pub dwCipherSuite: u32, | |
8805 | pub dwBaseCipherSuite: u32, | |
8806 | pub szCipherSuite: [u16; 64], | |
8807 | pub szCipher: [u16; 64], | |
8808 | pub dwCipherLen: u32, | |
8809 | pub dwCipherBlockLen: u32, | |
8810 | pub szHash: [u16; 64], | |
8811 | pub dwHashLen: u32, | |
8812 | pub szExchange: [u16; 64], | |
8813 | pub dwMinExchangeLen: u32, | |
8814 | pub dwMaxExchangeLen: u32, | |
8815 | pub szCertificate: [u16; 64], | |
8816 | pub dwKeyType: u32, | |
8817 | } | |
8818 | impl ::core::marker::Copy for SecPkgContext_CipherInfo {} | |
8819 | impl ::core::clone::Clone for SecPkgContext_CipherInfo { | |
8820 | fn clone(&self) -> Self { | |
8821 | *self | |
8822 | } | |
8823 | } | |
8824 | #[repr(C)] | |
04454e1e | 8825 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8826 | pub struct SecPkgContext_ClientCertPolicyResult { |
8827 | pub dwPolicyResult: ::windows_sys::core::HRESULT, | |
8828 | pub guidPolicyId: ::windows_sys::core::GUID, | |
8829 | } | |
8830 | impl ::core::marker::Copy for SecPkgContext_ClientCertPolicyResult {} | |
8831 | impl ::core::clone::Clone for SecPkgContext_ClientCertPolicyResult { | |
8832 | fn clone(&self) -> Self { | |
8833 | *self | |
8834 | } | |
8835 | } | |
8836 | #[repr(C)] | |
04454e1e | 8837 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8838 | pub struct SecPkgContext_ClientSpecifiedTarget { |
8839 | pub sTargetName: *mut u16, | |
8840 | } | |
8841 | impl ::core::marker::Copy for SecPkgContext_ClientSpecifiedTarget {} | |
8842 | impl ::core::clone::Clone for SecPkgContext_ClientSpecifiedTarget { | |
8843 | fn clone(&self) -> Self { | |
8844 | *self | |
8845 | } | |
8846 | } | |
8847 | #[repr(C)] | |
04454e1e | 8848 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8849 | pub struct SecPkgContext_ConnectionInfo { |
8850 | pub dwProtocol: u32, | |
8851 | pub aiCipher: u32, | |
8852 | pub dwCipherStrength: u32, | |
8853 | pub aiHash: u32, | |
8854 | pub dwHashStrength: u32, | |
8855 | pub aiExch: u32, | |
8856 | pub dwExchStrength: u32, | |
8857 | } | |
8858 | impl ::core::marker::Copy for SecPkgContext_ConnectionInfo {} | |
8859 | impl ::core::clone::Clone for SecPkgContext_ConnectionInfo { | |
8860 | fn clone(&self) -> Self { | |
8861 | *self | |
8862 | } | |
8863 | } | |
8864 | #[repr(C)] | |
04454e1e | 8865 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8866 | pub struct SecPkgContext_ConnectionInfoEx { |
8867 | pub dwVersion: u32, | |
8868 | pub dwProtocol: u32, | |
8869 | pub szCipher: [u16; 64], | |
8870 | pub dwCipherStrength: u32, | |
8871 | pub szHash: [u16; 64], | |
8872 | pub dwHashStrength: u32, | |
8873 | pub szExchange: [u16; 64], | |
8874 | pub dwExchStrength: u32, | |
8875 | } | |
8876 | impl ::core::marker::Copy for SecPkgContext_ConnectionInfoEx {} | |
8877 | impl ::core::clone::Clone for SecPkgContext_ConnectionInfoEx { | |
8878 | fn clone(&self) -> Self { | |
8879 | *self | |
8880 | } | |
8881 | } | |
8882 | #[repr(C)] | |
04454e1e | 8883 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8884 | pub struct SecPkgContext_CredInfo { |
8885 | pub CredClass: SECPKG_CRED_CLASS, | |
8886 | pub IsPromptingNeeded: u32, | |
8887 | } | |
8888 | impl ::core::marker::Copy for SecPkgContext_CredInfo {} | |
8889 | impl ::core::clone::Clone for SecPkgContext_CredInfo { | |
8890 | fn clone(&self) -> Self { | |
8891 | *self | |
8892 | } | |
8893 | } | |
8894 | #[repr(C)] | |
04454e1e | 8895 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8896 | pub struct SecPkgContext_CredentialNameA { |
8897 | pub CredentialType: u32, | |
8898 | pub sCredentialName: *mut i8, | |
8899 | } | |
8900 | impl ::core::marker::Copy for SecPkgContext_CredentialNameA {} | |
8901 | impl ::core::clone::Clone for SecPkgContext_CredentialNameA { | |
8902 | fn clone(&self) -> Self { | |
8903 | *self | |
8904 | } | |
8905 | } | |
8906 | #[repr(C)] | |
04454e1e | 8907 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8908 | pub struct SecPkgContext_CredentialNameW { |
8909 | pub CredentialType: u32, | |
8910 | pub sCredentialName: *mut u16, | |
8911 | } | |
8912 | impl ::core::marker::Copy for SecPkgContext_CredentialNameW {} | |
8913 | impl ::core::clone::Clone for SecPkgContext_CredentialNameW { | |
8914 | fn clone(&self) -> Self { | |
8915 | *self | |
8916 | } | |
8917 | } | |
8918 | #[repr(C)] | |
04454e1e | 8919 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8920 | pub struct SecPkgContext_DceInfo { |
8921 | pub AuthzSvc: u32, | |
8922 | pub pPac: *mut ::core::ffi::c_void, | |
8923 | } | |
8924 | impl ::core::marker::Copy for SecPkgContext_DceInfo {} | |
8925 | impl ::core::clone::Clone for SecPkgContext_DceInfo { | |
8926 | fn clone(&self) -> Self { | |
8927 | *self | |
8928 | } | |
8929 | } | |
8930 | #[repr(C)] | |
04454e1e | 8931 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8932 | pub struct SecPkgContext_EapKeyBlock { |
8933 | pub rgbKeys: [u8; 128], | |
8934 | pub rgbIVs: [u8; 64], | |
8935 | } | |
8936 | impl ::core::marker::Copy for SecPkgContext_EapKeyBlock {} | |
8937 | impl ::core::clone::Clone for SecPkgContext_EapKeyBlock { | |
8938 | fn clone(&self) -> Self { | |
8939 | *self | |
8940 | } | |
8941 | } | |
8942 | #[repr(C)] | |
04454e1e | 8943 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8944 | pub struct SecPkgContext_EapPrfInfo { |
8945 | pub dwVersion: u32, | |
8946 | pub cbPrfData: u32, | |
8947 | pub pbPrfData: *mut u8, | |
8948 | } | |
8949 | impl ::core::marker::Copy for SecPkgContext_EapPrfInfo {} | |
8950 | impl ::core::clone::Clone for SecPkgContext_EapPrfInfo { | |
8951 | fn clone(&self) -> Self { | |
8952 | *self | |
8953 | } | |
8954 | } | |
8955 | #[repr(C)] | |
04454e1e | 8956 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8957 | pub struct SecPkgContext_EarlyStart { |
8958 | pub dwEarlyStartFlags: u32, | |
8959 | } | |
8960 | impl ::core::marker::Copy for SecPkgContext_EarlyStart {} | |
8961 | impl ::core::clone::Clone for SecPkgContext_EarlyStart { | |
8962 | fn clone(&self) -> Self { | |
8963 | *self | |
8964 | } | |
8965 | } | |
8966 | #[repr(C)] | |
04454e1e | 8967 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8968 | pub struct SecPkgContext_Flags { |
8969 | pub Flags: u32, | |
8970 | } | |
8971 | impl ::core::marker::Copy for SecPkgContext_Flags {} | |
8972 | impl ::core::clone::Clone for SecPkgContext_Flags { | |
8973 | fn clone(&self) -> Self { | |
8974 | *self | |
8975 | } | |
8976 | } | |
8977 | #[repr(C)] | |
04454e1e | 8978 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Cryptography\"`*"] |
5e7ed085 FG |
8979 | #[cfg(feature = "Win32_Security_Cryptography")] |
8980 | pub struct SecPkgContext_IssuerListInfoEx { | |
8981 | pub aIssuers: *mut super::super::Cryptography::CRYPTOAPI_BLOB, | |
8982 | pub cIssuers: u32, | |
8983 | } | |
8984 | #[cfg(feature = "Win32_Security_Cryptography")] | |
8985 | impl ::core::marker::Copy for SecPkgContext_IssuerListInfoEx {} | |
8986 | #[cfg(feature = "Win32_Security_Cryptography")] | |
8987 | impl ::core::clone::Clone for SecPkgContext_IssuerListInfoEx { | |
8988 | fn clone(&self) -> Self { | |
8989 | *self | |
8990 | } | |
8991 | } | |
8992 | #[repr(C)] | |
04454e1e | 8993 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
8994 | pub struct SecPkgContext_KeyInfoA { |
8995 | pub sSignatureAlgorithmName: *mut i8, | |
8996 | pub sEncryptAlgorithmName: *mut i8, | |
8997 | pub KeySize: u32, | |
8998 | pub SignatureAlgorithm: u32, | |
8999 | pub EncryptAlgorithm: u32, | |
9000 | } | |
9001 | impl ::core::marker::Copy for SecPkgContext_KeyInfoA {} | |
9002 | impl ::core::clone::Clone for SecPkgContext_KeyInfoA { | |
9003 | fn clone(&self) -> Self { | |
9004 | *self | |
9005 | } | |
9006 | } | |
9007 | #[repr(C)] | |
04454e1e | 9008 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9009 | pub struct SecPkgContext_KeyInfoW { |
9010 | pub sSignatureAlgorithmName: *mut u16, | |
9011 | pub sEncryptAlgorithmName: *mut u16, | |
9012 | pub KeySize: u32, | |
9013 | pub SignatureAlgorithm: u32, | |
9014 | pub EncryptAlgorithm: u32, | |
9015 | } | |
9016 | impl ::core::marker::Copy for SecPkgContext_KeyInfoW {} | |
9017 | impl ::core::clone::Clone for SecPkgContext_KeyInfoW { | |
9018 | fn clone(&self) -> Self { | |
9019 | *self | |
9020 | } | |
9021 | } | |
9022 | #[repr(C)] | |
04454e1e | 9023 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9024 | pub struct SecPkgContext_KeyingMaterial { |
9025 | pub cbKeyingMaterial: u32, | |
9026 | pub pbKeyingMaterial: *mut u8, | |
9027 | } | |
9028 | impl ::core::marker::Copy for SecPkgContext_KeyingMaterial {} | |
9029 | impl ::core::clone::Clone for SecPkgContext_KeyingMaterial { | |
9030 | fn clone(&self) -> Self { | |
9031 | *self | |
9032 | } | |
9033 | } | |
9034 | #[repr(C)] | |
04454e1e | 9035 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9036 | pub struct SecPkgContext_KeyingMaterialInfo { |
9037 | pub cbLabel: u16, | |
04454e1e | 9038 | pub pszLabel: ::windows_sys::core::PSTR, |
5e7ed085 FG |
9039 | pub cbContextValue: u16, |
9040 | pub pbContextValue: *mut u8, | |
9041 | pub cbKeyingMaterial: u32, | |
9042 | } | |
5e7ed085 | 9043 | impl ::core::marker::Copy for SecPkgContext_KeyingMaterialInfo {} |
5e7ed085 FG |
9044 | impl ::core::clone::Clone for SecPkgContext_KeyingMaterialInfo { |
9045 | fn clone(&self) -> Self { | |
9046 | *self | |
9047 | } | |
9048 | } | |
9049 | #[repr(C)] | |
04454e1e | 9050 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9051 | pub struct SecPkgContext_KeyingMaterial_Inproc { |
9052 | pub cbLabel: u16, | |
04454e1e | 9053 | pub pszLabel: ::windows_sys::core::PSTR, |
5e7ed085 FG |
9054 | pub cbContextValue: u16, |
9055 | pub pbContextValue: *mut u8, | |
9056 | pub cbKeyingMaterial: u32, | |
9057 | pub pbKeyingMaterial: *mut u8, | |
9058 | } | |
5e7ed085 | 9059 | impl ::core::marker::Copy for SecPkgContext_KeyingMaterial_Inproc {} |
5e7ed085 FG |
9060 | impl ::core::clone::Clone for SecPkgContext_KeyingMaterial_Inproc { |
9061 | fn clone(&self) -> Self { | |
9062 | *self | |
9063 | } | |
9064 | } | |
9065 | #[repr(C)] | |
04454e1e | 9066 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9067 | pub struct SecPkgContext_LastClientTokenStatus { |
9068 | pub LastClientTokenStatus: SECPKG_ATTR_LCT_STATUS, | |
9069 | } | |
9070 | impl ::core::marker::Copy for SecPkgContext_LastClientTokenStatus {} | |
9071 | impl ::core::clone::Clone for SecPkgContext_LastClientTokenStatus { | |
9072 | fn clone(&self) -> Self { | |
9073 | *self | |
9074 | } | |
9075 | } | |
9076 | #[repr(C)] | |
04454e1e | 9077 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9078 | pub struct SecPkgContext_Lifespan { |
9079 | pub tsStart: i64, | |
9080 | pub tsExpiry: i64, | |
9081 | } | |
9082 | impl ::core::marker::Copy for SecPkgContext_Lifespan {} | |
9083 | impl ::core::clone::Clone for SecPkgContext_Lifespan { | |
9084 | fn clone(&self) -> Self { | |
9085 | *self | |
9086 | } | |
9087 | } | |
9088 | #[repr(C)] | |
04454e1e | 9089 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9090 | pub struct SecPkgContext_LocalCredentialInfo { |
9091 | pub cbCertificateChain: u32, | |
9092 | pub pbCertificateChain: *mut u8, | |
9093 | pub cCertificates: u32, | |
9094 | pub fFlags: u32, | |
9095 | pub dwBits: u32, | |
9096 | } | |
9097 | impl ::core::marker::Copy for SecPkgContext_LocalCredentialInfo {} | |
9098 | impl ::core::clone::Clone for SecPkgContext_LocalCredentialInfo { | |
9099 | fn clone(&self) -> Self { | |
9100 | *self | |
9101 | } | |
9102 | } | |
9103 | #[repr(C)] | |
04454e1e | 9104 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9105 | pub struct SecPkgContext_LogoffTime { |
9106 | pub tsLogoffTime: i64, | |
9107 | } | |
9108 | impl ::core::marker::Copy for SecPkgContext_LogoffTime {} | |
9109 | impl ::core::clone::Clone for SecPkgContext_LogoffTime { | |
9110 | fn clone(&self) -> Self { | |
9111 | *self | |
9112 | } | |
9113 | } | |
9114 | #[repr(C)] | |
04454e1e | 9115 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9116 | pub struct SecPkgContext_MappedCredAttr { |
9117 | pub dwAttribute: u32, | |
9118 | pub pvBuffer: *mut ::core::ffi::c_void, | |
9119 | } | |
9120 | impl ::core::marker::Copy for SecPkgContext_MappedCredAttr {} | |
9121 | impl ::core::clone::Clone for SecPkgContext_MappedCredAttr { | |
9122 | fn clone(&self) -> Self { | |
9123 | *self | |
9124 | } | |
9125 | } | |
9126 | #[repr(C)] | |
04454e1e | 9127 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9128 | pub struct SecPkgContext_NamesA { |
9129 | pub sUserName: *mut i8, | |
9130 | } | |
9131 | impl ::core::marker::Copy for SecPkgContext_NamesA {} | |
9132 | impl ::core::clone::Clone for SecPkgContext_NamesA { | |
9133 | fn clone(&self) -> Self { | |
9134 | *self | |
9135 | } | |
9136 | } | |
9137 | #[repr(C)] | |
04454e1e | 9138 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9139 | pub struct SecPkgContext_NamesW { |
9140 | pub sUserName: *mut u16, | |
9141 | } | |
9142 | impl ::core::marker::Copy for SecPkgContext_NamesW {} | |
9143 | impl ::core::clone::Clone for SecPkgContext_NamesW { | |
9144 | fn clone(&self) -> Self { | |
9145 | *self | |
9146 | } | |
9147 | } | |
9148 | #[repr(C)] | |
04454e1e | 9149 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9150 | pub struct SecPkgContext_NativeNamesA { |
9151 | pub sClientName: *mut i8, | |
9152 | pub sServerName: *mut i8, | |
9153 | } | |
9154 | impl ::core::marker::Copy for SecPkgContext_NativeNamesA {} | |
9155 | impl ::core::clone::Clone for SecPkgContext_NativeNamesA { | |
9156 | fn clone(&self) -> Self { | |
9157 | *self | |
9158 | } | |
9159 | } | |
9160 | #[repr(C)] | |
04454e1e | 9161 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9162 | pub struct SecPkgContext_NativeNamesW { |
9163 | pub sClientName: *mut u16, | |
9164 | pub sServerName: *mut u16, | |
9165 | } | |
9166 | impl ::core::marker::Copy for SecPkgContext_NativeNamesW {} | |
9167 | impl ::core::clone::Clone for SecPkgContext_NativeNamesW { | |
9168 | fn clone(&self) -> Self { | |
9169 | *self | |
9170 | } | |
9171 | } | |
9172 | #[repr(C)] | |
04454e1e | 9173 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9174 | pub struct SecPkgContext_NegoKeys { |
9175 | pub KeyType: u32, | |
9176 | pub KeyLength: u16, | |
9177 | pub KeyValue: *mut u8, | |
9178 | pub VerifyKeyType: u32, | |
9179 | pub VerifyKeyLength: u16, | |
9180 | pub VerifyKeyValue: *mut u8, | |
9181 | } | |
9182 | impl ::core::marker::Copy for SecPkgContext_NegoKeys {} | |
9183 | impl ::core::clone::Clone for SecPkgContext_NegoKeys { | |
9184 | fn clone(&self) -> Self { | |
9185 | *self | |
9186 | } | |
9187 | } | |
9188 | #[repr(C)] | |
04454e1e | 9189 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9190 | pub struct SecPkgContext_NegoPackageInfo { |
9191 | pub PackageMask: u32, | |
9192 | } | |
9193 | impl ::core::marker::Copy for SecPkgContext_NegoPackageInfo {} | |
9194 | impl ::core::clone::Clone for SecPkgContext_NegoPackageInfo { | |
9195 | fn clone(&self) -> Self { | |
9196 | *self | |
9197 | } | |
9198 | } | |
9199 | #[repr(C)] | |
04454e1e | 9200 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9201 | pub struct SecPkgContext_NegoStatus { |
9202 | pub LastStatus: u32, | |
9203 | } | |
9204 | impl ::core::marker::Copy for SecPkgContext_NegoStatus {} | |
9205 | impl ::core::clone::Clone for SecPkgContext_NegoStatus { | |
9206 | fn clone(&self) -> Self { | |
9207 | *self | |
9208 | } | |
9209 | } | |
9210 | #[repr(C)] | |
04454e1e | 9211 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9212 | pub struct SecPkgContext_NegotiatedTlsExtensions { |
9213 | pub ExtensionsCount: u32, | |
9214 | pub Extensions: *mut u16, | |
9215 | } | |
9216 | impl ::core::marker::Copy for SecPkgContext_NegotiatedTlsExtensions {} | |
9217 | impl ::core::clone::Clone for SecPkgContext_NegotiatedTlsExtensions { | |
9218 | fn clone(&self) -> Self { | |
9219 | *self | |
9220 | } | |
9221 | } | |
9222 | #[repr(C)] | |
04454e1e | 9223 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9224 | pub struct SecPkgContext_NegotiationInfoA { |
9225 | pub PackageInfo: *mut SecPkgInfoA, | |
9226 | pub NegotiationState: u32, | |
9227 | } | |
9228 | impl ::core::marker::Copy for SecPkgContext_NegotiationInfoA {} | |
9229 | impl ::core::clone::Clone for SecPkgContext_NegotiationInfoA { | |
9230 | fn clone(&self) -> Self { | |
9231 | *self | |
9232 | } | |
9233 | } | |
9234 | #[repr(C)] | |
04454e1e | 9235 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9236 | pub struct SecPkgContext_NegotiationInfoW { |
9237 | pub PackageInfo: *mut SecPkgInfoW, | |
9238 | pub NegotiationState: u32, | |
9239 | } | |
9240 | impl ::core::marker::Copy for SecPkgContext_NegotiationInfoW {} | |
9241 | impl ::core::clone::Clone for SecPkgContext_NegotiationInfoW { | |
9242 | fn clone(&self) -> Self { | |
9243 | *self | |
9244 | } | |
9245 | } | |
9246 | #[repr(C)] | |
04454e1e | 9247 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9248 | pub struct SecPkgContext_PackageInfoA { |
9249 | pub PackageInfo: *mut SecPkgInfoA, | |
9250 | } | |
9251 | impl ::core::marker::Copy for SecPkgContext_PackageInfoA {} | |
9252 | impl ::core::clone::Clone for SecPkgContext_PackageInfoA { | |
9253 | fn clone(&self) -> Self { | |
9254 | *self | |
9255 | } | |
9256 | } | |
9257 | #[repr(C)] | |
04454e1e | 9258 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9259 | pub struct SecPkgContext_PackageInfoW { |
9260 | pub PackageInfo: *mut SecPkgInfoW, | |
9261 | } | |
9262 | impl ::core::marker::Copy for SecPkgContext_PackageInfoW {} | |
9263 | impl ::core::clone::Clone for SecPkgContext_PackageInfoW { | |
9264 | fn clone(&self) -> Self { | |
9265 | *self | |
9266 | } | |
9267 | } | |
9268 | #[repr(C)] | |
04454e1e | 9269 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9270 | pub struct SecPkgContext_PasswordExpiry { |
9271 | pub tsPasswordExpires: i64, | |
9272 | } | |
9273 | impl ::core::marker::Copy for SecPkgContext_PasswordExpiry {} | |
9274 | impl ::core::clone::Clone for SecPkgContext_PasswordExpiry { | |
9275 | fn clone(&self) -> Self { | |
9276 | *self | |
9277 | } | |
9278 | } | |
9279 | #[repr(C)] | |
04454e1e | 9280 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9281 | pub struct SecPkgContext_ProtoInfoA { |
9282 | pub sProtocolName: *mut i8, | |
9283 | pub majorVersion: u32, | |
9284 | pub minorVersion: u32, | |
9285 | } | |
9286 | impl ::core::marker::Copy for SecPkgContext_ProtoInfoA {} | |
9287 | impl ::core::clone::Clone for SecPkgContext_ProtoInfoA { | |
9288 | fn clone(&self) -> Self { | |
9289 | *self | |
9290 | } | |
9291 | } | |
9292 | #[repr(C)] | |
04454e1e | 9293 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9294 | pub struct SecPkgContext_ProtoInfoW { |
9295 | pub sProtocolName: *mut u16, | |
9296 | pub majorVersion: u32, | |
9297 | pub minorVersion: u32, | |
9298 | } | |
9299 | impl ::core::marker::Copy for SecPkgContext_ProtoInfoW {} | |
9300 | impl ::core::clone::Clone for SecPkgContext_ProtoInfoW { | |
9301 | fn clone(&self) -> Self { | |
9302 | *self | |
9303 | } | |
9304 | } | |
9305 | #[repr(C)] | |
04454e1e | 9306 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9307 | pub struct SecPkgContext_RemoteCredentialInfo { |
9308 | pub cbCertificateChain: u32, | |
9309 | pub pbCertificateChain: *mut u8, | |
9310 | pub cCertificates: u32, | |
9311 | pub fFlags: u32, | |
9312 | pub dwBits: u32, | |
9313 | } | |
9314 | impl ::core::marker::Copy for SecPkgContext_RemoteCredentialInfo {} | |
9315 | impl ::core::clone::Clone for SecPkgContext_RemoteCredentialInfo { | |
9316 | fn clone(&self) -> Self { | |
9317 | *self | |
9318 | } | |
9319 | } | |
9320 | #[repr(C)] | |
04454e1e | 9321 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9322 | pub struct SecPkgContext_SaslContext { |
9323 | pub SaslContext: *mut ::core::ffi::c_void, | |
9324 | } | |
9325 | impl ::core::marker::Copy for SecPkgContext_SaslContext {} | |
9326 | impl ::core::clone::Clone for SecPkgContext_SaslContext { | |
9327 | fn clone(&self) -> Self { | |
9328 | *self | |
9329 | } | |
9330 | } | |
9331 | #[repr(C)] | |
04454e1e | 9332 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9333 | pub struct SecPkgContext_SessionAppData { |
9334 | pub dwFlags: u32, | |
9335 | pub cbAppData: u32, | |
9336 | pub pbAppData: *mut u8, | |
9337 | } | |
9338 | impl ::core::marker::Copy for SecPkgContext_SessionAppData {} | |
9339 | impl ::core::clone::Clone for SecPkgContext_SessionAppData { | |
9340 | fn clone(&self) -> Self { | |
9341 | *self | |
9342 | } | |
9343 | } | |
9344 | #[repr(C)] | |
04454e1e | 9345 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9346 | pub struct SecPkgContext_SessionInfo { |
9347 | pub dwFlags: u32, | |
9348 | pub cbSessionId: u32, | |
9349 | pub rgbSessionId: [u8; 32], | |
9350 | } | |
9351 | impl ::core::marker::Copy for SecPkgContext_SessionInfo {} | |
9352 | impl ::core::clone::Clone for SecPkgContext_SessionInfo { | |
9353 | fn clone(&self) -> Self { | |
9354 | *self | |
9355 | } | |
9356 | } | |
9357 | #[repr(C)] | |
04454e1e | 9358 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9359 | pub struct SecPkgContext_SessionKey { |
9360 | pub SessionKeyLength: u32, | |
9361 | pub SessionKey: *mut u8, | |
9362 | } | |
9363 | impl ::core::marker::Copy for SecPkgContext_SessionKey {} | |
9364 | impl ::core::clone::Clone for SecPkgContext_SessionKey { | |
9365 | fn clone(&self) -> Self { | |
9366 | *self | |
9367 | } | |
9368 | } | |
9369 | #[repr(C)] | |
04454e1e | 9370 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9371 | pub struct SecPkgContext_Sizes { |
9372 | pub cbMaxToken: u32, | |
9373 | pub cbMaxSignature: u32, | |
9374 | pub cbBlockSize: u32, | |
9375 | pub cbSecurityTrailer: u32, | |
9376 | } | |
9377 | impl ::core::marker::Copy for SecPkgContext_Sizes {} | |
9378 | impl ::core::clone::Clone for SecPkgContext_Sizes { | |
9379 | fn clone(&self) -> Self { | |
9380 | *self | |
9381 | } | |
9382 | } | |
9383 | #[repr(C)] | |
04454e1e | 9384 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9385 | pub struct SecPkgContext_SrtpParameters { |
9386 | pub ProtectionProfile: u16, | |
9387 | pub MasterKeyIdentifierSize: u8, | |
9388 | pub MasterKeyIdentifier: *mut u8, | |
9389 | } | |
9390 | impl ::core::marker::Copy for SecPkgContext_SrtpParameters {} | |
9391 | impl ::core::clone::Clone for SecPkgContext_SrtpParameters { | |
9392 | fn clone(&self) -> Self { | |
9393 | *self | |
9394 | } | |
9395 | } | |
9396 | #[repr(C)] | |
04454e1e | 9397 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9398 | pub struct SecPkgContext_StreamSizes { |
9399 | pub cbHeader: u32, | |
9400 | pub cbTrailer: u32, | |
9401 | pub cbMaximumMessage: u32, | |
9402 | pub cBuffers: u32, | |
9403 | pub cbBlockSize: u32, | |
9404 | } | |
9405 | impl ::core::marker::Copy for SecPkgContext_StreamSizes {} | |
9406 | impl ::core::clone::Clone for SecPkgContext_StreamSizes { | |
9407 | fn clone(&self) -> Self { | |
9408 | *self | |
9409 | } | |
9410 | } | |
9411 | #[repr(C)] | |
04454e1e | 9412 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9413 | pub struct SecPkgContext_SubjectAttributes { |
9414 | pub AttributeInfo: *mut ::core::ffi::c_void, | |
9415 | } | |
9416 | impl ::core::marker::Copy for SecPkgContext_SubjectAttributes {} | |
9417 | impl ::core::clone::Clone for SecPkgContext_SubjectAttributes { | |
9418 | fn clone(&self) -> Self { | |
9419 | *self | |
9420 | } | |
9421 | } | |
9422 | #[repr(C)] | |
04454e1e | 9423 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9424 | pub struct SecPkgContext_SupportedSignatures { |
9425 | pub cSignatureAndHashAlgorithms: u16, | |
9426 | pub pSignatureAndHashAlgorithms: *mut u16, | |
9427 | } | |
9428 | impl ::core::marker::Copy for SecPkgContext_SupportedSignatures {} | |
9429 | impl ::core::clone::Clone for SecPkgContext_SupportedSignatures { | |
9430 | fn clone(&self) -> Self { | |
9431 | *self | |
9432 | } | |
9433 | } | |
9434 | #[repr(C)] | |
04454e1e | 9435 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9436 | pub struct SecPkgContext_Target { |
9437 | pub TargetLength: u32, | |
04454e1e | 9438 | pub Target: ::windows_sys::core::PSTR, |
5e7ed085 | 9439 | } |
5e7ed085 | 9440 | impl ::core::marker::Copy for SecPkgContext_Target {} |
5e7ed085 FG |
9441 | impl ::core::clone::Clone for SecPkgContext_Target { |
9442 | fn clone(&self) -> Self { | |
9443 | *self | |
9444 | } | |
9445 | } | |
9446 | #[repr(C)] | |
04454e1e | 9447 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9448 | pub struct SecPkgContext_TargetInformation { |
9449 | pub MarshalledTargetInfoLength: u32, | |
9450 | pub MarshalledTargetInfo: *mut u8, | |
9451 | } | |
9452 | impl ::core::marker::Copy for SecPkgContext_TargetInformation {} | |
9453 | impl ::core::clone::Clone for SecPkgContext_TargetInformation { | |
9454 | fn clone(&self) -> Self { | |
9455 | *self | |
9456 | } | |
9457 | } | |
9458 | #[repr(C)] | |
04454e1e | 9459 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9460 | pub struct SecPkgContext_TokenBinding { |
9461 | pub MajorVersion: u8, | |
9462 | pub MinorVersion: u8, | |
9463 | pub KeyParametersSize: u16, | |
9464 | pub KeyParameters: *mut u8, | |
9465 | } | |
9466 | impl ::core::marker::Copy for SecPkgContext_TokenBinding {} | |
9467 | impl ::core::clone::Clone for SecPkgContext_TokenBinding { | |
9468 | fn clone(&self) -> Self { | |
9469 | *self | |
9470 | } | |
9471 | } | |
9472 | #[repr(C)] | |
04454e1e | 9473 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9474 | #[cfg(feature = "Win32_Foundation")] |
9475 | pub struct SecPkgContext_UiInfo { | |
9476 | pub hParentWindow: super::super::super::Foundation::HWND, | |
9477 | } | |
9478 | #[cfg(feature = "Win32_Foundation")] | |
9479 | impl ::core::marker::Copy for SecPkgContext_UiInfo {} | |
9480 | #[cfg(feature = "Win32_Foundation")] | |
9481 | impl ::core::clone::Clone for SecPkgContext_UiInfo { | |
9482 | fn clone(&self) -> Self { | |
9483 | *self | |
9484 | } | |
9485 | } | |
9486 | #[repr(C)] | |
04454e1e | 9487 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9488 | pub struct SecPkgContext_UserFlags { |
9489 | pub UserFlags: u32, | |
9490 | } | |
9491 | impl ::core::marker::Copy for SecPkgContext_UserFlags {} | |
9492 | impl ::core::clone::Clone for SecPkgContext_UserFlags { | |
9493 | fn clone(&self) -> Self { | |
9494 | *self | |
9495 | } | |
9496 | } | |
9497 | #[repr(C)] | |
04454e1e | 9498 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9499 | pub struct SecPkgCred_CipherStrengths { |
9500 | pub dwMinimumCipherStrength: u32, | |
9501 | pub dwMaximumCipherStrength: u32, | |
9502 | } | |
9503 | impl ::core::marker::Copy for SecPkgCred_CipherStrengths {} | |
9504 | impl ::core::clone::Clone for SecPkgCred_CipherStrengths { | |
9505 | fn clone(&self) -> Self { | |
9506 | *self | |
9507 | } | |
9508 | } | |
9509 | #[repr(C)] | |
04454e1e | 9510 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9511 | #[cfg(feature = "Win32_Foundation")] |
9512 | pub struct SecPkgCred_ClientCertPolicy { | |
9513 | pub dwFlags: u32, | |
9514 | pub guidPolicyId: ::windows_sys::core::GUID, | |
9515 | pub dwCertFlags: u32, | |
9516 | pub dwUrlRetrievalTimeout: u32, | |
9517 | pub fCheckRevocationFreshnessTime: super::super::super::Foundation::BOOL, | |
9518 | pub dwRevocationFreshnessTime: u32, | |
9519 | pub fOmitUsageCheck: super::super::super::Foundation::BOOL, | |
04454e1e FG |
9520 | pub pwszSslCtlStoreName: ::windows_sys::core::PWSTR, |
9521 | pub pwszSslCtlIdentifier: ::windows_sys::core::PWSTR, | |
5e7ed085 FG |
9522 | } |
9523 | #[cfg(feature = "Win32_Foundation")] | |
9524 | impl ::core::marker::Copy for SecPkgCred_ClientCertPolicy {} | |
9525 | #[cfg(feature = "Win32_Foundation")] | |
9526 | impl ::core::clone::Clone for SecPkgCred_ClientCertPolicy { | |
9527 | fn clone(&self) -> Self { | |
9528 | *self | |
9529 | } | |
9530 | } | |
9531 | #[repr(C)] | |
04454e1e | 9532 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9533 | pub struct SecPkgCred_SessionTicketKey { |
9534 | pub TicketInfoVersion: u32, | |
9535 | pub KeyId: [u8; 16], | |
9536 | pub KeyingMaterial: [u8; 64], | |
9537 | pub KeyingMaterialSize: u8, | |
9538 | } | |
9539 | impl ::core::marker::Copy for SecPkgCred_SessionTicketKey {} | |
9540 | impl ::core::clone::Clone for SecPkgCred_SessionTicketKey { | |
9541 | fn clone(&self) -> Self { | |
9542 | *self | |
9543 | } | |
9544 | } | |
9545 | #[repr(C)] | |
04454e1e | 9546 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9547 | pub struct SecPkgCred_SessionTicketKeys { |
9548 | pub cSessionTicketKeys: u32, | |
9549 | pub pSessionTicketKeys: *mut SecPkgCred_SessionTicketKey, | |
9550 | } | |
9551 | impl ::core::marker::Copy for SecPkgCred_SessionTicketKeys {} | |
9552 | impl ::core::clone::Clone for SecPkgCred_SessionTicketKeys { | |
9553 | fn clone(&self) -> Self { | |
9554 | *self | |
9555 | } | |
9556 | } | |
9557 | #[repr(C)] | |
04454e1e | 9558 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9559 | pub struct SecPkgCred_SupportedAlgs { |
9560 | pub cSupportedAlgs: u32, | |
9561 | pub palgSupportedAlgs: *mut u32, | |
9562 | } | |
9563 | impl ::core::marker::Copy for SecPkgCred_SupportedAlgs {} | |
9564 | impl ::core::clone::Clone for SecPkgCred_SupportedAlgs { | |
9565 | fn clone(&self) -> Self { | |
9566 | *self | |
9567 | } | |
9568 | } | |
9569 | #[repr(C)] | |
04454e1e | 9570 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9571 | pub struct SecPkgCred_SupportedProtocols { |
9572 | pub grbitProtocol: u32, | |
9573 | } | |
9574 | impl ::core::marker::Copy for SecPkgCred_SupportedProtocols {} | |
9575 | impl ::core::clone::Clone for SecPkgCred_SupportedProtocols { | |
9576 | fn clone(&self) -> Self { | |
9577 | *self | |
9578 | } | |
9579 | } | |
9580 | #[repr(C)] | |
04454e1e | 9581 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9582 | pub struct SecPkgCredentials_Cert { |
9583 | pub EncodedCertSize: u32, | |
9584 | pub EncodedCert: *mut u8, | |
9585 | } | |
9586 | impl ::core::marker::Copy for SecPkgCredentials_Cert {} | |
9587 | impl ::core::clone::Clone for SecPkgCredentials_Cert { | |
9588 | fn clone(&self) -> Self { | |
9589 | *self | |
9590 | } | |
9591 | } | |
9592 | #[repr(C)] | |
04454e1e | 9593 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9594 | pub struct SecPkgCredentials_KdcProxySettingsW { |
9595 | pub Version: u32, | |
9596 | pub Flags: u32, | |
9597 | pub ProxyServerOffset: u16, | |
9598 | pub ProxyServerLength: u16, | |
9599 | pub ClientTlsCredOffset: u16, | |
9600 | pub ClientTlsCredLength: u16, | |
9601 | } | |
9602 | impl ::core::marker::Copy for SecPkgCredentials_KdcProxySettingsW {} | |
9603 | impl ::core::clone::Clone for SecPkgCredentials_KdcProxySettingsW { | |
9604 | fn clone(&self) -> Self { | |
9605 | *self | |
9606 | } | |
9607 | } | |
9608 | #[repr(C)] | |
04454e1e | 9609 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9610 | pub struct SecPkgCredentials_NamesA { |
9611 | pub sUserName: *mut i8, | |
9612 | } | |
9613 | impl ::core::marker::Copy for SecPkgCredentials_NamesA {} | |
9614 | impl ::core::clone::Clone for SecPkgCredentials_NamesA { | |
9615 | fn clone(&self) -> Self { | |
9616 | *self | |
9617 | } | |
9618 | } | |
9619 | #[repr(C)] | |
04454e1e | 9620 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9621 | pub struct SecPkgCredentials_NamesW { |
9622 | pub sUserName: *mut u16, | |
9623 | } | |
9624 | impl ::core::marker::Copy for SecPkgCredentials_NamesW {} | |
9625 | impl ::core::clone::Clone for SecPkgCredentials_NamesW { | |
9626 | fn clone(&self) -> Self { | |
9627 | *self | |
9628 | } | |
9629 | } | |
9630 | #[repr(C)] | |
04454e1e | 9631 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9632 | pub struct SecPkgCredentials_SSIProviderA { |
9633 | pub sProviderName: *mut i8, | |
9634 | pub ProviderInfoLength: u32, | |
04454e1e | 9635 | pub ProviderInfo: ::windows_sys::core::PSTR, |
5e7ed085 | 9636 | } |
5e7ed085 | 9637 | impl ::core::marker::Copy for SecPkgCredentials_SSIProviderA {} |
5e7ed085 FG |
9638 | impl ::core::clone::Clone for SecPkgCredentials_SSIProviderA { |
9639 | fn clone(&self) -> Self { | |
9640 | *self | |
9641 | } | |
9642 | } | |
9643 | #[repr(C)] | |
04454e1e | 9644 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9645 | pub struct SecPkgCredentials_SSIProviderW { |
9646 | pub sProviderName: *mut u16, | |
9647 | pub ProviderInfoLength: u32, | |
04454e1e | 9648 | pub ProviderInfo: ::windows_sys::core::PSTR, |
5e7ed085 | 9649 | } |
5e7ed085 | 9650 | impl ::core::marker::Copy for SecPkgCredentials_SSIProviderW {} |
5e7ed085 FG |
9651 | impl ::core::clone::Clone for SecPkgCredentials_SSIProviderW { |
9652 | fn clone(&self) -> Self { | |
9653 | *self | |
9654 | } | |
9655 | } | |
9656 | #[repr(C)] | |
04454e1e | 9657 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9658 | pub struct SecPkgInfoA { |
9659 | pub fCapabilities: u32, | |
9660 | pub wVersion: u16, | |
9661 | pub wRPCID: u16, | |
9662 | pub cbMaxToken: u32, | |
9663 | pub Name: *mut i8, | |
9664 | pub Comment: *mut i8, | |
9665 | } | |
9666 | impl ::core::marker::Copy for SecPkgInfoA {} | |
9667 | impl ::core::clone::Clone for SecPkgInfoA { | |
9668 | fn clone(&self) -> Self { | |
9669 | *self | |
9670 | } | |
9671 | } | |
9672 | #[repr(C)] | |
04454e1e | 9673 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9674 | pub struct SecPkgInfoW { |
9675 | pub fCapabilities: u32, | |
9676 | pub wVersion: u16, | |
9677 | pub wRPCID: u16, | |
9678 | pub cbMaxToken: u32, | |
9679 | pub Name: *mut u16, | |
9680 | pub Comment: *mut u16, | |
9681 | } | |
9682 | impl ::core::marker::Copy for SecPkgInfoW {} | |
9683 | impl ::core::clone::Clone for SecPkgInfoW { | |
9684 | fn clone(&self) -> Self { | |
9685 | *self | |
9686 | } | |
9687 | } | |
9688 | #[repr(C)] | |
04454e1e | 9689 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 FG |
9690 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] |
9691 | pub struct SecurityFunctionTableA { | |
9692 | pub dwVersion: u32, | |
9693 | pub EnumerateSecurityPackagesA: ENUMERATE_SECURITY_PACKAGES_FN_A, | |
9694 | pub QueryCredentialsAttributesA: QUERY_CREDENTIALS_ATTRIBUTES_FN_A, | |
9695 | pub AcquireCredentialsHandleA: ACQUIRE_CREDENTIALS_HANDLE_FN_A, | |
9696 | pub FreeCredentialsHandle: FREE_CREDENTIALS_HANDLE_FN, | |
9697 | pub Reserved2: *mut ::core::ffi::c_void, | |
9698 | pub InitializeSecurityContextA: INITIALIZE_SECURITY_CONTEXT_FN_A, | |
9699 | pub AcceptSecurityContext: ACCEPT_SECURITY_CONTEXT_FN, | |
9700 | pub CompleteAuthToken: COMPLETE_AUTH_TOKEN_FN, | |
9701 | pub DeleteSecurityContext: DELETE_SECURITY_CONTEXT_FN, | |
9702 | pub ApplyControlToken: APPLY_CONTROL_TOKEN_FN, | |
9703 | pub QueryContextAttributesA: QUERY_CONTEXT_ATTRIBUTES_FN_A, | |
9704 | pub ImpersonateSecurityContext: IMPERSONATE_SECURITY_CONTEXT_FN, | |
9705 | pub RevertSecurityContext: REVERT_SECURITY_CONTEXT_FN, | |
9706 | pub MakeSignature: MAKE_SIGNATURE_FN, | |
9707 | pub VerifySignature: VERIFY_SIGNATURE_FN, | |
9708 | pub FreeContextBuffer: FREE_CONTEXT_BUFFER_FN, | |
9709 | pub QuerySecurityPackageInfoA: QUERY_SECURITY_PACKAGE_INFO_FN_A, | |
9710 | pub Reserved3: *mut ::core::ffi::c_void, | |
9711 | pub Reserved4: *mut ::core::ffi::c_void, | |
9712 | pub ExportSecurityContext: EXPORT_SECURITY_CONTEXT_FN, | |
9713 | pub ImportSecurityContextA: IMPORT_SECURITY_CONTEXT_FN_A, | |
9714 | pub AddCredentialsA: ADD_CREDENTIALS_FN_A, | |
9715 | pub Reserved8: *mut ::core::ffi::c_void, | |
9716 | pub QuerySecurityContextToken: QUERY_SECURITY_CONTEXT_TOKEN_FN, | |
9717 | pub EncryptMessage: ENCRYPT_MESSAGE_FN, | |
9718 | pub DecryptMessage: DECRYPT_MESSAGE_FN, | |
9719 | pub SetContextAttributesA: SET_CONTEXT_ATTRIBUTES_FN_A, | |
9720 | pub SetCredentialsAttributesA: SET_CREDENTIALS_ATTRIBUTES_FN_A, | |
9721 | pub ChangeAccountPasswordA: CHANGE_PASSWORD_FN_A, | |
9722 | pub QueryContextAttributesExA: QUERY_CONTEXT_ATTRIBUTES_EX_FN_A, | |
9723 | pub QueryCredentialsAttributesExA: QUERY_CREDENTIALS_ATTRIBUTES_EX_FN_A, | |
9724 | } | |
9725 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] | |
9726 | impl ::core::marker::Copy for SecurityFunctionTableA {} | |
9727 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] | |
9728 | impl ::core::clone::Clone for SecurityFunctionTableA { | |
9729 | fn clone(&self) -> Self { | |
9730 | *self | |
9731 | } | |
9732 | } | |
9733 | #[repr(C)] | |
04454e1e | 9734 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 FG |
9735 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] |
9736 | pub struct SecurityFunctionTableW { | |
9737 | pub dwVersion: u32, | |
9738 | pub EnumerateSecurityPackagesW: ENUMERATE_SECURITY_PACKAGES_FN_W, | |
9739 | pub QueryCredentialsAttributesW: QUERY_CREDENTIALS_ATTRIBUTES_FN_W, | |
9740 | pub AcquireCredentialsHandleW: ACQUIRE_CREDENTIALS_HANDLE_FN_W, | |
9741 | pub FreeCredentialsHandle: FREE_CREDENTIALS_HANDLE_FN, | |
9742 | pub Reserved2: *mut ::core::ffi::c_void, | |
9743 | pub InitializeSecurityContextW: INITIALIZE_SECURITY_CONTEXT_FN_W, | |
9744 | pub AcceptSecurityContext: ACCEPT_SECURITY_CONTEXT_FN, | |
9745 | pub CompleteAuthToken: COMPLETE_AUTH_TOKEN_FN, | |
9746 | pub DeleteSecurityContext: DELETE_SECURITY_CONTEXT_FN, | |
9747 | pub ApplyControlToken: APPLY_CONTROL_TOKEN_FN, | |
9748 | pub QueryContextAttributesW: QUERY_CONTEXT_ATTRIBUTES_FN_W, | |
9749 | pub ImpersonateSecurityContext: IMPERSONATE_SECURITY_CONTEXT_FN, | |
9750 | pub RevertSecurityContext: REVERT_SECURITY_CONTEXT_FN, | |
9751 | pub MakeSignature: MAKE_SIGNATURE_FN, | |
9752 | pub VerifySignature: VERIFY_SIGNATURE_FN, | |
9753 | pub FreeContextBuffer: FREE_CONTEXT_BUFFER_FN, | |
9754 | pub QuerySecurityPackageInfoW: QUERY_SECURITY_PACKAGE_INFO_FN_W, | |
9755 | pub Reserved3: *mut ::core::ffi::c_void, | |
9756 | pub Reserved4: *mut ::core::ffi::c_void, | |
9757 | pub ExportSecurityContext: EXPORT_SECURITY_CONTEXT_FN, | |
9758 | pub ImportSecurityContextW: IMPORT_SECURITY_CONTEXT_FN_W, | |
9759 | pub AddCredentialsW: ADD_CREDENTIALS_FN_W, | |
9760 | pub Reserved8: *mut ::core::ffi::c_void, | |
9761 | pub QuerySecurityContextToken: QUERY_SECURITY_CONTEXT_TOKEN_FN, | |
9762 | pub EncryptMessage: ENCRYPT_MESSAGE_FN, | |
9763 | pub DecryptMessage: DECRYPT_MESSAGE_FN, | |
9764 | pub SetContextAttributesW: SET_CONTEXT_ATTRIBUTES_FN_W, | |
9765 | pub SetCredentialsAttributesW: SET_CREDENTIALS_ATTRIBUTES_FN_W, | |
9766 | pub ChangeAccountPasswordW: CHANGE_PASSWORD_FN_W, | |
9767 | pub QueryContextAttributesExW: QUERY_CONTEXT_ATTRIBUTES_EX_FN_W, | |
9768 | pub QueryCredentialsAttributesExW: QUERY_CREDENTIALS_ATTRIBUTES_EX_FN_W, | |
9769 | } | |
9770 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] | |
9771 | impl ::core::marker::Copy for SecurityFunctionTableW {} | |
9772 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] | |
9773 | impl ::core::clone::Clone for SecurityFunctionTableW { | |
9774 | fn clone(&self) -> Self { | |
9775 | *self | |
9776 | } | |
9777 | } | |
04454e1e | 9778 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9779 | #[cfg(feature = "Win32_Foundation")] |
9780 | pub type SpAcceptCredentialsFn = ::core::option::Option<unsafe extern "system" fn(logontype: SECURITY_LOGON_TYPE, accountname: *const super::super::super::Foundation::UNICODE_STRING, primarycredentials: *const SECPKG_PRIMARY_CRED, supplementalcredentials: *const SECPKG_SUPPLEMENTAL_CRED) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9781 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9782 | #[cfg(feature = "Win32_Foundation")] |
9783 | pub type SpAcceptLsaModeContextFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, contexthandle: usize, inputbuffer: *const SecBufferDesc, contextrequirements: u32, targetdatarep: u32, newcontexthandle: *mut usize, outputbuffer: *mut SecBufferDesc, contextattributes: *mut u32, expirationtime: *mut i64, mappedcontext: *mut super::super::super::Foundation::BOOLEAN, contextdata: *mut SecBuffer) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9784 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9785 | #[cfg(feature = "Win32_Foundation")] |
9786 | pub type SpAcquireCredentialsHandleFn = ::core::option::Option<unsafe extern "system" fn(principalname: *const super::super::super::Foundation::UNICODE_STRING, credentialuseflags: u32, logonid: *const super::super::super::Foundation::LUID, authorizationdata: *const ::core::ffi::c_void, getkeyfunciton: *const ::core::ffi::c_void, getkeyargument: *const ::core::ffi::c_void, credentialhandle: *mut usize, expirationtime: *mut i64) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9787 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9788 | #[cfg(feature = "Win32_Foundation")] |
9789 | pub type SpAddCredentialsFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, principalname: *const super::super::super::Foundation::UNICODE_STRING, package: *const super::super::super::Foundation::UNICODE_STRING, credentialuseflags: u32, authorizationdata: *const ::core::ffi::c_void, getkeyfunciton: *const ::core::ffi::c_void, getkeyargument: *const ::core::ffi::c_void, expirationtime: *mut i64) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9790 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9791 | #[cfg(feature = "Win32_Foundation")] |
9792 | pub type SpApplyControlTokenFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, controltoken: *const SecBufferDesc) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9793 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9794 | #[cfg(feature = "Win32_Foundation")] |
9795 | pub type SpChangeAccountPasswordFn = ::core::option::Option<unsafe extern "system" fn(pdomainname: *const super::super::super::Foundation::UNICODE_STRING, paccountname: *const super::super::super::Foundation::UNICODE_STRING, poldpassword: *const super::super::super::Foundation::UNICODE_STRING, pnewpassword: *const super::super::super::Foundation::UNICODE_STRING, impersonating: super::super::super::Foundation::BOOLEAN, poutput: *mut SecBufferDesc) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9796 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9797 | #[cfg(feature = "Win32_Foundation")] |
9798 | pub type SpCompleteAuthTokenFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, inputbuffer: *const SecBufferDesc) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9799 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9800 | #[cfg(feature = "Win32_Foundation")] |
9801 | pub type SpDeleteContextFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9802 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9803 | #[cfg(feature = "Win32_Foundation")] |
9804 | pub type SpDeleteCredentialsFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, key: *const SecBuffer) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9805 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9806 | #[cfg(feature = "Win32_Foundation")] |
9807 | pub type SpExchangeMetaDataFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, targetname: *const super::super::super::Foundation::UNICODE_STRING, contextrequirements: u32, metadatalength: u32, metadata: *const u8, contexthandle: *mut usize) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9808 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9809 | #[cfg(feature = "Win32_Foundation")] |
9810 | pub type SpExportSecurityContextFn = ::core::option::Option<unsafe extern "system" fn(phcontext: usize, fflags: u32, ppackedcontext: *mut SecBuffer, ptoken: *mut super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9811 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9812 | #[cfg(feature = "Win32_Foundation")] |
9813 | pub type SpFormatCredentialsFn = ::core::option::Option<unsafe extern "system" fn(credentials: *const SecBuffer, formattedcredentials: *mut SecBuffer) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9814 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9815 | #[cfg(feature = "Win32_Foundation")] |
9816 | pub type SpFreeCredentialsHandleFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9817 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9818 | #[cfg(feature = "Win32_Foundation")] |
9819 | pub type SpGetContextTokenFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, impersonationtoken: *mut super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9820 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9821 | #[cfg(feature = "Win32_Foundation")] |
9822 | pub type SpGetCredUIContextFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, credtype: *const ::windows_sys::core::GUID, flatcreduicontextlength: *mut u32, flatcreduicontext: *mut *mut u8) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9823 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9824 | #[cfg(feature = "Win32_Foundation")] |
9825 | pub type SpGetCredentialsFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, credentials: *mut SecBuffer) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9826 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9827 | #[cfg(feature = "Win32_Foundation")] |
9828 | pub type SpGetExtendedInformationFn = ::core::option::Option<unsafe extern "system" fn(class: SECPKG_EXTENDED_INFORMATION_CLASS, ppinformation: *mut *mut SECPKG_EXTENDED_INFORMATION) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9829 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9830 | #[cfg(feature = "Win32_Foundation")] |
9831 | pub type SpGetInfoFn = ::core::option::Option<unsafe extern "system" fn(packageinfo: *mut SecPkgInfoA) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9832 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9833 | #[cfg(feature = "Win32_Foundation")] |
9834 | pub type SpGetRemoteCredGuardLogonBufferFn = ::core::option::Option<unsafe extern "system" fn(credhandle: usize, contexthandle: usize, targetname: *const super::super::super::Foundation::UNICODE_STRING, redirectedlogonhandle: *mut super::super::super::Foundation::HANDLE, callback: *mut PLSA_REDIRECTED_LOGON_CALLBACK, cleanupcallback: *mut PLSA_REDIRECTED_LOGON_CLEANUP_CALLBACK, logonbuffersize: *mut u32, logonbuffer: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9835 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9836 | #[cfg(feature = "Win32_Foundation")] |
9837 | pub type SpGetRemoteCredGuardSupplementalCredsFn = ::core::option::Option<unsafe extern "system" fn(credhandle: usize, targetname: *const super::super::super::Foundation::UNICODE_STRING, redirectedlogonhandle: *mut super::super::super::Foundation::HANDLE, callback: *mut PLSA_REDIRECTED_LOGON_CALLBACK, cleanupcallback: *mut PLSA_REDIRECTED_LOGON_CLEANUP_CALLBACK, supplementalcredssize: *mut u32, supplementalcreds: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9838 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9839 | #[cfg(feature = "Win32_Foundation")] |
9840 | pub type SpGetTbalSupplementalCredsFn = ::core::option::Option<unsafe extern "system" fn(logonid: super::super::super::Foundation::LUID, supplementalcredssize: *mut u32, supplementalcreds: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9841 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9842 | #[cfg(feature = "Win32_Foundation")] |
9843 | pub type SpGetUserInfoFn = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, flags: u32, userdata: *mut *mut SECURITY_USER_DATA) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9844 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9845 | #[cfg(feature = "Win32_Foundation")] |
9846 | pub type SpImportSecurityContextFn = ::core::option::Option<unsafe extern "system" fn(ppackedcontext: *const SecBuffer, token: super::super::super::Foundation::HANDLE, phcontext: *mut usize) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9847 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9848 | #[cfg(feature = "Win32_Foundation")] |
9849 | pub type SpInitLsaModeContextFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, contexthandle: usize, targetname: *const super::super::super::Foundation::UNICODE_STRING, contextrequirements: u32, targetdatarep: u32, inputbuffers: *const SecBufferDesc, newcontexthandle: *mut usize, outputbuffers: *mut SecBufferDesc, contextattributes: *mut u32, expirationtime: *mut i64, mappedcontext: *mut super::super::super::Foundation::BOOLEAN, contextdata: *mut SecBuffer) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9850 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9851 | #[cfg(feature = "Win32_Foundation")] |
9852 | pub type SpInitUserModeContextFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, packedcontext: *const SecBuffer) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9853 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Threading\"`*"] |
5e7ed085 FG |
9854 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))] |
9855 | pub type SpInitializeFn = ::core::option::Option<unsafe extern "system" fn(packageid: usize, parameters: *const SECPKG_PARAMETERS, functiontable: *const LSA_SECPKG_FUNCTION_TABLE) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9856 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9857 | #[cfg(feature = "Win32_Foundation")] |
9858 | pub type SpInstanceInitFn = ::core::option::Option<unsafe extern "system" fn(version: u32, functiontable: *const SECPKG_DLL_FUNCTIONS, userfunctions: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9859 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Threading\"`*"] |
5e7ed085 FG |
9860 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))] |
9861 | pub type SpLsaModeInitializeFn = ::core::option::Option<unsafe extern "system" fn(lsaversion: u32, packageversion: *mut u32, pptables: *mut *mut SECPKG_FUNCTION_TABLE, pctables: *mut u32) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9862 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9863 | #[cfg(feature = "Win32_Foundation")] |
9864 | pub type SpMakeSignatureFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, qualityofprotection: u32, messagebuffers: *const SecBufferDesc, messagesequencenumber: u32) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9865 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9866 | #[cfg(feature = "Win32_Foundation")] |
9867 | pub type SpMarshalAttributeDataFn = ::core::option::Option<unsafe extern "system" fn(attributeinfo: u32, attribute: u32, attributedatasize: u32, attributedata: *const u8, marshaledattributedatasize: *mut u32, marshaledattributedata: *mut *mut u8) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9868 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9869 | #[cfg(feature = "Win32_Foundation")] |
9870 | pub type SpMarshallSupplementalCredsFn = ::core::option::Option<unsafe extern "system" fn(credentialsize: u32, credentials: *const u8, marshalledcredsize: *mut u32, marshalledcreds: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9871 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9872 | #[cfg(feature = "Win32_Foundation")] |
9873 | pub type SpQueryContextAttributesFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, contextattribute: u32, buffer: *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9874 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9875 | #[cfg(feature = "Win32_Foundation")] |
9876 | pub type SpQueryCredentialsAttributesFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, credentialattribute: u32, buffer: *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9877 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9878 | #[cfg(feature = "Win32_Foundation")] |
9879 | pub type SpQueryMetaDataFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, targetname: *const super::super::super::Foundation::UNICODE_STRING, contextrequirements: u32, metadatalength: *mut u32, metadata: *mut *mut u8, contexthandle: *mut usize) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9880 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9881 | #[cfg(feature = "Win32_Foundation")] |
9882 | pub type SpSaveCredentialsFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, credentials: *const SecBuffer) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9883 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9884 | #[cfg(feature = "Win32_Foundation")] |
9885 | pub type SpSealMessageFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, qualityofprotection: u32, messagebuffers: *const SecBufferDesc, messagesequencenumber: u32) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9886 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9887 | #[cfg(feature = "Win32_Foundation")] |
9888 | pub type SpSetContextAttributesFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, contextattribute: u32, buffer: *const ::core::ffi::c_void, buffersize: u32) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9889 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9890 | #[cfg(feature = "Win32_Foundation")] |
9891 | pub type SpSetCredentialsAttributesFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, credentialattribute: u32, buffer: *const ::core::ffi::c_void, buffersize: u32) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9892 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9893 | #[cfg(feature = "Win32_Foundation")] |
9894 | pub type SpSetExtendedInformationFn = ::core::option::Option<unsafe extern "system" fn(class: SECPKG_EXTENDED_INFORMATION_CLASS, info: *const SECPKG_EXTENDED_INFORMATION) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9895 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9896 | #[cfg(feature = "Win32_Foundation")] |
9897 | pub type SpShutdownFn = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9898 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9899 | #[cfg(feature = "Win32_Foundation")] |
9900 | pub type SpUnsealMessageFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, messagebuffers: *const SecBufferDesc, messagesequencenumber: u32, qualityofprotection: *mut u32) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9901 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9902 | #[cfg(feature = "Win32_Foundation")] |
9903 | pub type SpUpdateCredentialsFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, credtype: *const ::windows_sys::core::GUID, flatcreduicontextlength: u32, flatcreduicontext: *const u8) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9904 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9905 | #[cfg(feature = "Win32_Foundation")] |
9906 | pub type SpUserModeInitializeFn = ::core::option::Option<unsafe extern "system" fn(lsaversion: u32, packageversion: *mut u32, pptables: *mut *mut SECPKG_USER_FUNCTION_TABLE, pctables: *mut u32) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9907 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9908 | #[cfg(feature = "Win32_Foundation")] |
9909 | pub type SpValidateTargetInfoFn = ::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, targetinfo: *const SECPKG_TARGETINFO) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9910 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
9911 | #[cfg(feature = "Win32_Foundation")] |
9912 | pub type SpVerifySignatureFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, messagebuffers: *const SecBufferDesc, messagesequencenumber: u32, qualityofprotection: *mut u32) -> super::super::super::Foundation::NTSTATUS>; | |
04454e1e | 9913 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 9914 | pub type SslGetExtensionsFn = ::core::option::Option<unsafe extern "system" fn(clienthello: *const u8, clienthellobytesize: u32, genericextensions: *mut SCH_EXTENSION_DATA, genericextensionscount: u8, bytestoread: *mut u32, flags: SchGetExtensionsOptions) -> ::windows_sys::core::HRESULT>; |
04454e1e | 9915 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 9916 | pub type SslGetServerIdentityFn = ::core::option::Option<unsafe extern "system" fn(clienthello: *const u8, clienthellosize: u32, serveridentity: *mut *mut u8, serveridentitysize: *mut u32, flags: u32) -> ::windows_sys::core::HRESULT>; |
04454e1e | 9917 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 9918 | pub const TLS1SP_NAME: &str = "Microsoft TLS 1.0"; |
04454e1e | 9919 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 9920 | pub const TLS1SP_NAME_A: &str = "Microsoft TLS 1.0"; |
04454e1e | 9921 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 9922 | pub const TLS1SP_NAME_W: &str = "Microsoft TLS 1.0"; |
04454e1e | 9923 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 9924 | pub const TLS1_ALERT_ACCESS_DENIED: u32 = 49u32; |
04454e1e | 9925 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 9926 | pub const TLS1_ALERT_BAD_CERTIFICATE: u32 = 42u32; |
04454e1e | 9927 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 9928 | pub const TLS1_ALERT_BAD_RECORD_MAC: u32 = 20u32; |
04454e1e | 9929 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 9930 | pub const TLS1_ALERT_CERTIFICATE_EXPIRED: u32 = 45u32; |
04454e1e | 9931 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 9932 | pub const TLS1_ALERT_CERTIFICATE_REVOKED: u32 = 44u32; |
04454e1e | 9933 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 9934 | pub const TLS1_ALERT_CERTIFICATE_UNKNOWN: u32 = 46u32; |
04454e1e | 9935 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 9936 | pub const TLS1_ALERT_CLOSE_NOTIFY: u32 = 0u32; |
04454e1e | 9937 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 9938 | pub const TLS1_ALERT_DECODE_ERROR: u32 = 50u32; |
04454e1e | 9939 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 9940 | pub const TLS1_ALERT_DECOMPRESSION_FAIL: u32 = 30u32; |
04454e1e | 9941 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 9942 | pub const TLS1_ALERT_DECRYPTION_FAILED: u32 = 21u32; |
04454e1e | 9943 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 9944 | pub const TLS1_ALERT_DECRYPT_ERROR: u32 = 51u32; |
04454e1e | 9945 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 9946 | pub const TLS1_ALERT_EXPORT_RESTRICTION: u32 = 60u32; |
04454e1e | 9947 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 9948 | pub const TLS1_ALERT_HANDSHAKE_FAILURE: u32 = 40u32; |
04454e1e | 9949 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 9950 | pub const TLS1_ALERT_ILLEGAL_PARAMETER: u32 = 47u32; |
04454e1e | 9951 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 9952 | pub const TLS1_ALERT_INSUFFIENT_SECURITY: u32 = 71u32; |
04454e1e | 9953 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 9954 | pub const TLS1_ALERT_INTERNAL_ERROR: u32 = 80u32; |
04454e1e | 9955 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 9956 | pub const TLS1_ALERT_NO_APP_PROTOCOL: u32 = 120u32; |
04454e1e | 9957 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 9958 | pub const TLS1_ALERT_NO_RENEGOTIATION: u32 = 100u32; |
04454e1e | 9959 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 9960 | pub const TLS1_ALERT_PROTOCOL_VERSION: u32 = 70u32; |
04454e1e | 9961 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 9962 | pub const TLS1_ALERT_RECORD_OVERFLOW: u32 = 22u32; |
04454e1e | 9963 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 9964 | pub const TLS1_ALERT_UNEXPECTED_MESSAGE: u32 = 10u32; |
04454e1e | 9965 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 9966 | pub const TLS1_ALERT_UNKNOWN_CA: u32 = 48u32; |
04454e1e | 9967 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 9968 | pub const TLS1_ALERT_UNKNOWN_PSK_IDENTITY: u32 = 115u32; |
04454e1e | 9969 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 9970 | pub const TLS1_ALERT_UNSUPPORTED_CERT: u32 = 43u32; |
04454e1e | 9971 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 9972 | pub const TLS1_ALERT_UNSUPPORTED_EXT: u32 = 110u32; |
04454e1e | 9973 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9974 | pub const TLS1_ALERT_USER_CANCELED: u32 = 90u32; |
9975 | #[repr(C)] | |
04454e1e | 9976 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9977 | pub struct TLS_EXTENSION_SUBSCRIPTION { |
9978 | pub ExtensionType: u16, | |
9979 | pub HandshakeType: u16, | |
9980 | } | |
9981 | impl ::core::marker::Copy for TLS_EXTENSION_SUBSCRIPTION {} | |
9982 | impl ::core::clone::Clone for TLS_EXTENSION_SUBSCRIPTION { | |
9983 | fn clone(&self) -> Self { | |
9984 | *self | |
9985 | } | |
9986 | } | |
04454e1e | 9987 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 9988 | pub const TLS_PARAMS_OPTIONAL: u32 = 1u32; |
04454e1e | 9989 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 9990 | pub type TOKENBINDING_EXTENSION_FORMAT = i32; |
04454e1e | 9991 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9992 | pub const TOKENBINDING_EXTENSION_FORMAT_UNDEFINED: TOKENBINDING_EXTENSION_FORMAT = 0i32; |
9993 | #[repr(C)] | |
04454e1e | 9994 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
9995 | pub struct TOKENBINDING_IDENTIFIER { |
9996 | pub keyType: u8, | |
9997 | } | |
9998 | impl ::core::marker::Copy for TOKENBINDING_IDENTIFIER {} | |
9999 | impl ::core::clone::Clone for TOKENBINDING_IDENTIFIER { | |
10000 | fn clone(&self) -> Self { | |
10001 | *self | |
10002 | } | |
10003 | } | |
04454e1e | 10004 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10005 | pub type TOKENBINDING_KEY_PARAMETERS_TYPE = i32; |
04454e1e | 10006 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10007 | pub const TOKENBINDING_KEY_PARAMETERS_TYPE_RSA2048_PKCS: TOKENBINDING_KEY_PARAMETERS_TYPE = 0i32; |
04454e1e | 10008 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10009 | pub const TOKENBINDING_KEY_PARAMETERS_TYPE_RSA2048_PSS: TOKENBINDING_KEY_PARAMETERS_TYPE = 1i32; |
04454e1e | 10010 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10011 | pub const TOKENBINDING_KEY_PARAMETERS_TYPE_ECDSAP256: TOKENBINDING_KEY_PARAMETERS_TYPE = 2i32; |
04454e1e | 10012 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
10013 | pub const TOKENBINDING_KEY_PARAMETERS_TYPE_ANYEXISTING: TOKENBINDING_KEY_PARAMETERS_TYPE = 255i32; |
10014 | #[repr(C)] | |
04454e1e | 10015 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
10016 | pub struct TOKENBINDING_KEY_TYPES { |
10017 | pub keyCount: u32, | |
10018 | pub keyType: *mut TOKENBINDING_KEY_PARAMETERS_TYPE, | |
10019 | } | |
10020 | impl ::core::marker::Copy for TOKENBINDING_KEY_TYPES {} | |
10021 | impl ::core::clone::Clone for TOKENBINDING_KEY_TYPES { | |
10022 | fn clone(&self) -> Self { | |
10023 | *self | |
10024 | } | |
10025 | } | |
10026 | #[repr(C)] | |
04454e1e | 10027 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
10028 | pub struct TOKENBINDING_RESULT_DATA { |
10029 | pub bindingType: TOKENBINDING_TYPE, | |
10030 | pub identifierSize: u32, | |
10031 | pub identifierData: *mut TOKENBINDING_IDENTIFIER, | |
10032 | pub extensionFormat: TOKENBINDING_EXTENSION_FORMAT, | |
10033 | pub extensionSize: u32, | |
10034 | pub extensionData: *mut ::core::ffi::c_void, | |
10035 | } | |
10036 | impl ::core::marker::Copy for TOKENBINDING_RESULT_DATA {} | |
10037 | impl ::core::clone::Clone for TOKENBINDING_RESULT_DATA { | |
10038 | fn clone(&self) -> Self { | |
10039 | *self | |
10040 | } | |
10041 | } | |
10042 | #[repr(C)] | |
04454e1e | 10043 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
10044 | pub struct TOKENBINDING_RESULT_LIST { |
10045 | pub resultCount: u32, | |
10046 | pub resultData: *mut TOKENBINDING_RESULT_DATA, | |
10047 | } | |
10048 | impl ::core::marker::Copy for TOKENBINDING_RESULT_LIST {} | |
10049 | impl ::core::clone::Clone for TOKENBINDING_RESULT_LIST { | |
10050 | fn clone(&self) -> Self { | |
10051 | *self | |
10052 | } | |
10053 | } | |
04454e1e | 10054 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10055 | pub type TOKENBINDING_TYPE = i32; |
04454e1e | 10056 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10057 | pub const TOKENBINDING_TYPE_PROVIDED: TOKENBINDING_TYPE = 0i32; |
04454e1e | 10058 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
10059 | pub const TOKENBINDING_TYPE_REFERRED: TOKENBINDING_TYPE = 1i32; |
10060 | #[repr(C)] | |
04454e1e | 10061 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
10062 | #[cfg(feature = "Win32_Foundation")] |
10063 | pub struct TRUSTED_CONTROLLERS_INFO { | |
10064 | pub Entries: u32, | |
10065 | pub Names: *mut super::super::super::Foundation::UNICODE_STRING, | |
10066 | } | |
10067 | #[cfg(feature = "Win32_Foundation")] | |
10068 | impl ::core::marker::Copy for TRUSTED_CONTROLLERS_INFO {} | |
10069 | #[cfg(feature = "Win32_Foundation")] | |
10070 | impl ::core::clone::Clone for TRUSTED_CONTROLLERS_INFO { | |
10071 | fn clone(&self) -> Self { | |
10072 | *self | |
10073 | } | |
10074 | } | |
10075 | #[repr(C)] | |
04454e1e | 10076 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
10077 | pub struct TRUSTED_DOMAIN_AUTH_INFORMATION { |
10078 | pub IncomingAuthInfos: u32, | |
10079 | pub IncomingAuthenticationInformation: *mut LSA_AUTH_INFORMATION, | |
10080 | pub IncomingPreviousAuthenticationInformation: *mut LSA_AUTH_INFORMATION, | |
10081 | pub OutgoingAuthInfos: u32, | |
10082 | pub OutgoingAuthenticationInformation: *mut LSA_AUTH_INFORMATION, | |
10083 | pub OutgoingPreviousAuthenticationInformation: *mut LSA_AUTH_INFORMATION, | |
10084 | } | |
10085 | impl ::core::marker::Copy for TRUSTED_DOMAIN_AUTH_INFORMATION {} | |
10086 | impl ::core::clone::Clone for TRUSTED_DOMAIN_AUTH_INFORMATION { | |
10087 | fn clone(&self) -> Self { | |
10088 | *self | |
10089 | } | |
10090 | } | |
10091 | #[repr(C)] | |
04454e1e | 10092 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
10093 | #[cfg(feature = "Win32_Foundation")] |
10094 | pub struct TRUSTED_DOMAIN_FULL_INFORMATION { | |
10095 | pub Information: TRUSTED_DOMAIN_INFORMATION_EX, | |
10096 | pub PosixOffset: TRUSTED_POSIX_OFFSET_INFO, | |
10097 | pub AuthInformation: TRUSTED_DOMAIN_AUTH_INFORMATION, | |
10098 | } | |
10099 | #[cfg(feature = "Win32_Foundation")] | |
10100 | impl ::core::marker::Copy for TRUSTED_DOMAIN_FULL_INFORMATION {} | |
10101 | #[cfg(feature = "Win32_Foundation")] | |
10102 | impl ::core::clone::Clone for TRUSTED_DOMAIN_FULL_INFORMATION { | |
10103 | fn clone(&self) -> Self { | |
10104 | *self | |
10105 | } | |
10106 | } | |
10107 | #[repr(C)] | |
04454e1e | 10108 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
10109 | #[cfg(feature = "Win32_Foundation")] |
10110 | pub struct TRUSTED_DOMAIN_FULL_INFORMATION2 { | |
10111 | pub Information: TRUSTED_DOMAIN_INFORMATION_EX2, | |
10112 | pub PosixOffset: TRUSTED_POSIX_OFFSET_INFO, | |
10113 | pub AuthInformation: TRUSTED_DOMAIN_AUTH_INFORMATION, | |
10114 | } | |
10115 | #[cfg(feature = "Win32_Foundation")] | |
10116 | impl ::core::marker::Copy for TRUSTED_DOMAIN_FULL_INFORMATION2 {} | |
10117 | #[cfg(feature = "Win32_Foundation")] | |
10118 | impl ::core::clone::Clone for TRUSTED_DOMAIN_FULL_INFORMATION2 { | |
10119 | fn clone(&self) -> Self { | |
10120 | *self | |
10121 | } | |
10122 | } | |
10123 | #[repr(C)] | |
04454e1e | 10124 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
10125 | #[cfg(feature = "Win32_Foundation")] |
10126 | pub struct TRUSTED_DOMAIN_INFORMATION_EX { | |
10127 | pub Name: super::super::super::Foundation::UNICODE_STRING, | |
10128 | pub FlatName: super::super::super::Foundation::UNICODE_STRING, | |
10129 | pub Sid: super::super::super::Foundation::PSID, | |
10130 | pub TrustDirection: TRUSTED_DOMAIN_TRUST_DIRECTION, | |
10131 | pub TrustType: TRUSTED_DOMAIN_TRUST_TYPE, | |
10132 | pub TrustAttributes: TRUSTED_DOMAIN_TRUST_ATTRIBUTES, | |
10133 | } | |
10134 | #[cfg(feature = "Win32_Foundation")] | |
10135 | impl ::core::marker::Copy for TRUSTED_DOMAIN_INFORMATION_EX {} | |
10136 | #[cfg(feature = "Win32_Foundation")] | |
10137 | impl ::core::clone::Clone for TRUSTED_DOMAIN_INFORMATION_EX { | |
10138 | fn clone(&self) -> Self { | |
10139 | *self | |
10140 | } | |
10141 | } | |
10142 | #[repr(C)] | |
04454e1e | 10143 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
10144 | #[cfg(feature = "Win32_Foundation")] |
10145 | pub struct TRUSTED_DOMAIN_INFORMATION_EX2 { | |
10146 | pub Name: super::super::super::Foundation::UNICODE_STRING, | |
10147 | pub FlatName: super::super::super::Foundation::UNICODE_STRING, | |
10148 | pub Sid: super::super::super::Foundation::PSID, | |
10149 | pub TrustDirection: u32, | |
10150 | pub TrustType: u32, | |
10151 | pub TrustAttributes: u32, | |
10152 | pub ForestTrustLength: u32, | |
10153 | pub ForestTrustInfo: *mut u8, | |
10154 | } | |
10155 | #[cfg(feature = "Win32_Foundation")] | |
10156 | impl ::core::marker::Copy for TRUSTED_DOMAIN_INFORMATION_EX2 {} | |
10157 | #[cfg(feature = "Win32_Foundation")] | |
10158 | impl ::core::clone::Clone for TRUSTED_DOMAIN_INFORMATION_EX2 { | |
10159 | fn clone(&self) -> Self { | |
10160 | *self | |
10161 | } | |
10162 | } | |
10163 | #[repr(C)] | |
04454e1e | 10164 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
10165 | #[cfg(feature = "Win32_Foundation")] |
10166 | pub struct TRUSTED_DOMAIN_NAME_INFO { | |
10167 | pub Name: super::super::super::Foundation::UNICODE_STRING, | |
10168 | } | |
10169 | #[cfg(feature = "Win32_Foundation")] | |
10170 | impl ::core::marker::Copy for TRUSTED_DOMAIN_NAME_INFO {} | |
10171 | #[cfg(feature = "Win32_Foundation")] | |
10172 | impl ::core::clone::Clone for TRUSTED_DOMAIN_NAME_INFO { | |
10173 | fn clone(&self) -> Self { | |
10174 | *self | |
10175 | } | |
10176 | } | |
10177 | #[repr(C)] | |
04454e1e | 10178 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
10179 | pub struct TRUSTED_DOMAIN_SUPPORTED_ENCRYPTION_TYPES { |
10180 | pub SupportedEncryptionTypes: u32, | |
10181 | } | |
10182 | impl ::core::marker::Copy for TRUSTED_DOMAIN_SUPPORTED_ENCRYPTION_TYPES {} | |
10183 | impl ::core::clone::Clone for TRUSTED_DOMAIN_SUPPORTED_ENCRYPTION_TYPES { | |
10184 | fn clone(&self) -> Self { | |
10185 | *self | |
10186 | } | |
10187 | } | |
04454e1e | 10188 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10189 | pub type TRUSTED_DOMAIN_TRUST_ATTRIBUTES = u32; |
04454e1e | 10190 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10191 | pub const TRUST_ATTRIBUTE_NON_TRANSITIVE: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 1u32; |
04454e1e | 10192 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10193 | pub const TRUST_ATTRIBUTE_UPLEVEL_ONLY: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 2u32; |
04454e1e | 10194 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10195 | pub const TRUST_ATTRIBUTE_FILTER_SIDS: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 4u32; |
04454e1e | 10196 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10197 | pub const TRUST_ATTRIBUTE_FOREST_TRANSITIVE: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 8u32; |
04454e1e | 10198 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10199 | pub const TRUST_ATTRIBUTE_CROSS_ORGANIZATION: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 16u32; |
04454e1e | 10200 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10201 | pub const TRUST_ATTRIBUTE_TREAT_AS_EXTERNAL: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 64u32; |
04454e1e | 10202 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10203 | pub const TRUST_ATTRIBUTE_WITHIN_FOREST: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 32u32; |
04454e1e | 10204 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10205 | pub type TRUSTED_DOMAIN_TRUST_DIRECTION = u32; |
04454e1e | 10206 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10207 | pub const TRUST_DIRECTION_DISABLED: TRUSTED_DOMAIN_TRUST_DIRECTION = 0u32; |
04454e1e | 10208 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10209 | pub const TRUST_DIRECTION_INBOUND: TRUSTED_DOMAIN_TRUST_DIRECTION = 1u32; |
04454e1e | 10210 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10211 | pub const TRUST_DIRECTION_OUTBOUND: TRUSTED_DOMAIN_TRUST_DIRECTION = 2u32; |
04454e1e | 10212 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10213 | pub const TRUST_DIRECTION_BIDIRECTIONAL: TRUSTED_DOMAIN_TRUST_DIRECTION = 3u32; |
04454e1e | 10214 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10215 | pub type TRUSTED_DOMAIN_TRUST_TYPE = u32; |
04454e1e | 10216 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10217 | pub const TRUST_TYPE_DOWNLEVEL: TRUSTED_DOMAIN_TRUST_TYPE = 1u32; |
04454e1e | 10218 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10219 | pub const TRUST_TYPE_UPLEVEL: TRUSTED_DOMAIN_TRUST_TYPE = 2u32; |
04454e1e | 10220 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10221 | pub const TRUST_TYPE_MIT: TRUSTED_DOMAIN_TRUST_TYPE = 3u32; |
04454e1e | 10222 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10223 | pub const TRUST_TYPE_DCE: TRUSTED_DOMAIN_TRUST_TYPE = 4u32; |
04454e1e | 10224 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10225 | pub type TRUSTED_INFORMATION_CLASS = i32; |
04454e1e | 10226 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10227 | pub const TrustedDomainNameInformation: TRUSTED_INFORMATION_CLASS = 1i32; |
04454e1e | 10228 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10229 | pub const TrustedControllersInformation: TRUSTED_INFORMATION_CLASS = 2i32; |
04454e1e | 10230 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10231 | pub const TrustedPosixOffsetInformation: TRUSTED_INFORMATION_CLASS = 3i32; |
04454e1e | 10232 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10233 | pub const TrustedPasswordInformation: TRUSTED_INFORMATION_CLASS = 4i32; |
04454e1e | 10234 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10235 | pub const TrustedDomainInformationBasic: TRUSTED_INFORMATION_CLASS = 5i32; |
04454e1e | 10236 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10237 | pub const TrustedDomainInformationEx: TRUSTED_INFORMATION_CLASS = 6i32; |
04454e1e | 10238 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10239 | pub const TrustedDomainAuthInformation: TRUSTED_INFORMATION_CLASS = 7i32; |
04454e1e | 10240 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10241 | pub const TrustedDomainFullInformation: TRUSTED_INFORMATION_CLASS = 8i32; |
04454e1e | 10242 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10243 | pub const TrustedDomainAuthInformationInternal: TRUSTED_INFORMATION_CLASS = 9i32; |
04454e1e | 10244 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10245 | pub const TrustedDomainFullInformationInternal: TRUSTED_INFORMATION_CLASS = 10i32; |
04454e1e | 10246 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10247 | pub const TrustedDomainInformationEx2Internal: TRUSTED_INFORMATION_CLASS = 11i32; |
04454e1e | 10248 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10249 | pub const TrustedDomainFullInformation2Internal: TRUSTED_INFORMATION_CLASS = 12i32; |
04454e1e | 10250 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
10251 | pub const TrustedDomainSupportedEncryptionTypes: TRUSTED_INFORMATION_CLASS = 13i32; |
10252 | #[repr(C)] | |
04454e1e | 10253 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
10254 | #[cfg(feature = "Win32_Foundation")] |
10255 | pub struct TRUSTED_PASSWORD_INFO { | |
10256 | pub Password: super::super::super::Foundation::UNICODE_STRING, | |
10257 | pub OldPassword: super::super::super::Foundation::UNICODE_STRING, | |
10258 | } | |
10259 | #[cfg(feature = "Win32_Foundation")] | |
10260 | impl ::core::marker::Copy for TRUSTED_PASSWORD_INFO {} | |
10261 | #[cfg(feature = "Win32_Foundation")] | |
10262 | impl ::core::clone::Clone for TRUSTED_PASSWORD_INFO { | |
10263 | fn clone(&self) -> Self { | |
10264 | *self | |
10265 | } | |
10266 | } | |
10267 | #[repr(C)] | |
04454e1e | 10268 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
10269 | pub struct TRUSTED_POSIX_OFFSET_INFO { |
10270 | pub Offset: u32, | |
10271 | } | |
10272 | impl ::core::marker::Copy for TRUSTED_POSIX_OFFSET_INFO {} | |
10273 | impl ::core::clone::Clone for TRUSTED_POSIX_OFFSET_INFO { | |
10274 | fn clone(&self) -> Self { | |
10275 | *self | |
10276 | } | |
10277 | } | |
04454e1e | 10278 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10279 | pub const TRUSTED_QUERY_AUTH: i32 = 64i32; |
04454e1e | 10280 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10281 | pub const TRUSTED_QUERY_CONTROLLERS: i32 = 2i32; |
04454e1e | 10282 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10283 | pub const TRUSTED_QUERY_DOMAIN_NAME: i32 = 1i32; |
04454e1e | 10284 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10285 | pub const TRUSTED_QUERY_POSIX: i32 = 8i32; |
04454e1e | 10286 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10287 | pub const TRUSTED_SET_AUTH: i32 = 32i32; |
04454e1e | 10288 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10289 | pub const TRUSTED_SET_CONTROLLERS: i32 = 4i32; |
04454e1e | 10290 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10291 | pub const TRUSTED_SET_POSIX: i32 = 16i32; |
04454e1e | 10292 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10293 | pub const TRUST_ATTRIBUTES_USER: u32 = 4278190080u32; |
04454e1e | 10294 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10295 | pub const TRUST_ATTRIBUTES_VALID: u32 = 4278386687u32; |
04454e1e | 10296 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10297 | pub const TRUST_ATTRIBUTE_CROSS_ORGANIZATION_ENABLE_TGT_DELEGATION: u32 = 2048u32; |
04454e1e | 10298 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10299 | pub const TRUST_ATTRIBUTE_CROSS_ORGANIZATION_NO_TGT_DELEGATION: u32 = 512u32; |
04454e1e | 10300 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10301 | pub const TRUST_ATTRIBUTE_PIM_TRUST: u32 = 1024u32; |
04454e1e | 10302 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10303 | pub const TRUST_ATTRIBUTE_QUARANTINED_DOMAIN: u32 = 4u32; |
04454e1e | 10304 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10305 | pub const TRUST_ATTRIBUTE_TREE_PARENT: u32 = 4194304u32; |
04454e1e | 10306 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10307 | pub const TRUST_ATTRIBUTE_TREE_ROOT: u32 = 8388608u32; |
04454e1e | 10308 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10309 | pub const TRUST_ATTRIBUTE_TRUST_USES_AES_KEYS: u32 = 256u32; |
04454e1e | 10310 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10311 | pub const TRUST_ATTRIBUTE_TRUST_USES_RC4_ENCRYPTION: u32 = 128u32; |
04454e1e | 10312 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10313 | pub const UNDERSTANDS_LONG_NAMES: u32 = 1u32; |
04454e1e | 10314 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 10315 | pub const UNISP_NAME: &str = "Microsoft Unified Security Protocol Provider"; |
04454e1e | 10316 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 10317 | pub const UNISP_NAME_A: &str = "Microsoft Unified Security Protocol Provider"; |
04454e1e | 10318 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 10319 | pub const UNISP_NAME_W: &str = "Microsoft Unified Security Protocol Provider"; |
04454e1e | 10320 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10321 | pub const UNISP_RPC_ID: u32 = 14u32; |
04454e1e | 10322 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10323 | pub const USER_ACCOUNT_AUTO_LOCKED: u32 = 1024u32; |
04454e1e | 10324 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
10325 | pub const USER_ACCOUNT_DISABLED: u32 = 1u32; |
10326 | #[repr(C, packed(4))] | |
04454e1e | 10327 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
10328 | #[cfg(feature = "Win32_Foundation")] |
10329 | pub struct USER_ALL_INFORMATION { | |
10330 | pub LastLogon: i64, | |
10331 | pub LastLogoff: i64, | |
10332 | pub PasswordLastSet: i64, | |
10333 | pub AccountExpires: i64, | |
10334 | pub PasswordCanChange: i64, | |
10335 | pub PasswordMustChange: i64, | |
10336 | pub UserName: super::super::super::Foundation::UNICODE_STRING, | |
10337 | pub FullName: super::super::super::Foundation::UNICODE_STRING, | |
10338 | pub HomeDirectory: super::super::super::Foundation::UNICODE_STRING, | |
10339 | pub HomeDirectoryDrive: super::super::super::Foundation::UNICODE_STRING, | |
10340 | pub ScriptPath: super::super::super::Foundation::UNICODE_STRING, | |
10341 | pub ProfilePath: super::super::super::Foundation::UNICODE_STRING, | |
10342 | pub AdminComment: super::super::super::Foundation::UNICODE_STRING, | |
10343 | pub WorkStations: super::super::super::Foundation::UNICODE_STRING, | |
10344 | pub UserComment: super::super::super::Foundation::UNICODE_STRING, | |
10345 | pub Parameters: super::super::super::Foundation::UNICODE_STRING, | |
10346 | pub LmPassword: super::super::super::Foundation::UNICODE_STRING, | |
10347 | pub NtPassword: super::super::super::Foundation::UNICODE_STRING, | |
10348 | pub PrivateData: super::super::super::Foundation::UNICODE_STRING, | |
10349 | pub SecurityDescriptor: SR_SECURITY_DESCRIPTOR, | |
10350 | pub UserId: u32, | |
10351 | pub PrimaryGroupId: u32, | |
10352 | pub UserAccountControl: u32, | |
10353 | pub WhichFields: u32, | |
10354 | pub LogonHours: LOGON_HOURS, | |
10355 | pub BadPasswordCount: u16, | |
10356 | pub LogonCount: u16, | |
10357 | pub CountryCode: u16, | |
10358 | pub CodePage: u16, | |
10359 | pub LmPasswordPresent: super::super::super::Foundation::BOOLEAN, | |
10360 | pub NtPasswordPresent: super::super::super::Foundation::BOOLEAN, | |
10361 | pub PasswordExpired: super::super::super::Foundation::BOOLEAN, | |
10362 | pub PrivateDataSensitive: super::super::super::Foundation::BOOLEAN, | |
10363 | } | |
10364 | #[cfg(feature = "Win32_Foundation")] | |
10365 | impl ::core::marker::Copy for USER_ALL_INFORMATION {} | |
10366 | #[cfg(feature = "Win32_Foundation")] | |
10367 | impl ::core::clone::Clone for USER_ALL_INFORMATION { | |
10368 | fn clone(&self) -> Self { | |
10369 | *self | |
10370 | } | |
10371 | } | |
04454e1e | 10372 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10373 | pub const USER_ALL_PARAMETERS: u32 = 2097152u32; |
04454e1e | 10374 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10375 | pub const USER_DONT_EXPIRE_PASSWORD: u32 = 512u32; |
04454e1e | 10376 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10377 | pub const USER_DONT_REQUIRE_PREAUTH: u32 = 65536u32; |
04454e1e | 10378 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10379 | pub const USER_ENCRYPTED_TEXT_PASSWORD_ALLOWED: u32 = 2048u32; |
04454e1e | 10380 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10381 | pub const USER_HOME_DIRECTORY_REQUIRED: u32 = 2u32; |
04454e1e | 10382 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10383 | pub const USER_INTERDOMAIN_TRUST_ACCOUNT: u32 = 64u32; |
04454e1e | 10384 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10385 | pub const USER_MNS_LOGON_ACCOUNT: u32 = 32u32; |
04454e1e | 10386 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10387 | pub const USER_NORMAL_ACCOUNT: u32 = 16u32; |
04454e1e | 10388 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10389 | pub const USER_NOT_DELEGATED: u32 = 16384u32; |
04454e1e | 10390 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10391 | pub const USER_NO_AUTH_DATA_REQUIRED: u32 = 524288u32; |
04454e1e | 10392 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10393 | pub const USER_PARTIAL_SECRETS_ACCOUNT: u32 = 1048576u32; |
04454e1e | 10394 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10395 | pub const USER_PASSWORD_EXPIRED: u32 = 131072u32; |
04454e1e | 10396 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10397 | pub const USER_PASSWORD_NOT_REQUIRED: u32 = 4u32; |
04454e1e | 10398 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
10399 | pub const USER_SERVER_TRUST_ACCOUNT: u32 = 256u32; |
10400 | #[repr(C)] | |
04454e1e | 10401 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_PasswordManagement\"`*"] |
5e7ed085 FG |
10402 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))] |
10403 | pub struct USER_SESSION_KEY { | |
10404 | pub data: [super::super::super::System::PasswordManagement::CYPHER_BLOCK; 2], | |
10405 | } | |
10406 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))] | |
10407 | impl ::core::marker::Copy for USER_SESSION_KEY {} | |
10408 | #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))] | |
10409 | impl ::core::clone::Clone for USER_SESSION_KEY { | |
10410 | fn clone(&self) -> Self { | |
10411 | *self | |
10412 | } | |
10413 | } | |
04454e1e | 10414 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10415 | pub const USER_SMARTCARD_REQUIRED: u32 = 4096u32; |
04454e1e | 10416 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10417 | pub const USER_TEMP_DUPLICATE_ACCOUNT: u32 = 8u32; |
04454e1e | 10418 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10419 | pub const USER_TRUSTED_FOR_DELEGATION: u32 = 8192u32; |
04454e1e | 10420 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10421 | pub const USER_TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION: u32 = 262144u32; |
04454e1e | 10422 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10423 | pub const USER_USE_AES_KEYS: u32 = 2097152u32; |
04454e1e | 10424 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10425 | pub const USER_USE_DES_KEY_ONLY: u32 = 32768u32; |
04454e1e | 10426 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10427 | pub const USER_WORKSTATION_TRUST_ACCOUNT: u32 = 128u32; |
04454e1e | 10428 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"] |
5e7ed085 | 10429 | #[cfg(feature = "Win32_Security_Credentials")] |
923072b8 | 10430 | pub type VERIFY_SIGNATURE_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: *mut SecBufferDesc, param2: u32, param3: *mut u32) -> ::windows_sys::core::HRESULT>; |
04454e1e | 10431 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 10432 | pub const WDIGEST_SP_NAME: &str = "WDigest"; |
04454e1e | 10433 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 10434 | pub const WDIGEST_SP_NAME_A: &str = "WDigest"; |
04454e1e | 10435 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
923072b8 | 10436 | pub const WDIGEST_SP_NAME_W: &str = "WDigest"; |
5e7ed085 FG |
10437 | pub const WINDOWS_SLID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1439246132, data2: 54914, data3: 19825, data4: [152, 62, 214, 236, 63, 22, 5, 159] }; |
10438 | #[repr(C)] | |
04454e1e | 10439 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"] |
5e7ed085 FG |
10440 | #[cfg(feature = "Win32_Foundation")] |
10441 | pub struct X509Certificate { | |
10442 | pub Version: u32, | |
10443 | pub SerialNumber: [u32; 4], | |
10444 | pub SignatureAlgorithm: u32, | |
10445 | pub ValidFrom: super::super::super::Foundation::FILETIME, | |
10446 | pub ValidUntil: super::super::super::Foundation::FILETIME, | |
04454e1e FG |
10447 | pub pszIssuer: ::windows_sys::core::PSTR, |
10448 | pub pszSubject: ::windows_sys::core::PSTR, | |
5e7ed085 FG |
10449 | pub pPublicKey: *mut PctPublicKey, |
10450 | } | |
10451 | #[cfg(feature = "Win32_Foundation")] | |
10452 | impl ::core::marker::Copy for X509Certificate {} | |
10453 | #[cfg(feature = "Win32_Foundation")] | |
10454 | impl ::core::clone::Clone for X509Certificate { | |
10455 | fn clone(&self) -> Self { | |
10456 | *self | |
10457 | } | |
10458 | } | |
04454e1e | 10459 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 FG |
10460 | pub const _FACILITY_WINDOWS_STORE: u32 = 63u32; |
10461 | #[repr(C)] | |
10462 | pub struct _HMAPPER(pub u8); | |
04454e1e | 10463 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10464 | pub type eTlsHashAlgorithm = i32; |
04454e1e | 10465 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10466 | pub const TlsHashAlgorithm_None: eTlsHashAlgorithm = 0i32; |
04454e1e | 10467 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10468 | pub const TlsHashAlgorithm_Md5: eTlsHashAlgorithm = 1i32; |
04454e1e | 10469 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10470 | pub const TlsHashAlgorithm_Sha1: eTlsHashAlgorithm = 2i32; |
04454e1e | 10471 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10472 | pub const TlsHashAlgorithm_Sha224: eTlsHashAlgorithm = 3i32; |
04454e1e | 10473 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10474 | pub const TlsHashAlgorithm_Sha256: eTlsHashAlgorithm = 4i32; |
04454e1e | 10475 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10476 | pub const TlsHashAlgorithm_Sha384: eTlsHashAlgorithm = 5i32; |
04454e1e | 10477 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10478 | pub const TlsHashAlgorithm_Sha512: eTlsHashAlgorithm = 6i32; |
04454e1e | 10479 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10480 | pub type eTlsSignatureAlgorithm = i32; |
04454e1e | 10481 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10482 | pub const TlsSignatureAlgorithm_Anonymous: eTlsSignatureAlgorithm = 0i32; |
04454e1e | 10483 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10484 | pub const TlsSignatureAlgorithm_Rsa: eTlsSignatureAlgorithm = 1i32; |
04454e1e | 10485 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10486 | pub const TlsSignatureAlgorithm_Dsa: eTlsSignatureAlgorithm = 2i32; |
04454e1e | 10487 | #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"] |
5e7ed085 | 10488 | pub const TlsSignatureAlgorithm_Ecdsa: eTlsSignatureAlgorithm = 3i32; |