Debian Codegraph @

.cargo/vendor/windows-sys/src/Windows/Win32/Security/Authentication/Identity/mod.rs

raw
1 #[cfg(feature = "Win32_Security_Credentials")]
2 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn AcceptSecurityContext(phcredential : *const super::super::Credentials:: SecHandle, phcontext : *const super::super::Credentials:: SecHandle, pinput : *const SecBufferDesc, fcontextreq : ASC_REQ_FLAGS, targetdatarep : u32, phnewcontext : *mut super::super::Credentials:: SecHandle, poutput : *mut SecBufferDesc, pfcontextattr : *mut u32, ptsexpiry : *mut i64) -> ::windows_sys::core::HRESULT);
3 #[cfg(feature = "Win32_Security_Credentials")]
4 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] 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);
5 #[cfg(feature = "Win32_Security_Credentials")]
6 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] 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);
7 #[cfg(feature = "Win32_Security_Credentials")]
8 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] 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);
9 #[cfg(feature = "Win32_Security_Credentials")]
10 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] 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);
11 ::windows_targets::link!("secur32.dll" "system" fn AddSecurityPackageA(pszpackagename : ::windows_sys::core::PCSTR, poptions : *const SECURITY_PACKAGE_OPTIONS) -> ::windows_sys::core::HRESULT);
12 ::windows_targets::link!("secur32.dll" "system" fn AddSecurityPackageW(pszpackagename : ::windows_sys::core::PCWSTR, poptions : *const SECURITY_PACKAGE_OPTIONS) -> ::windows_sys::core::HRESULT);
13 #[cfg(feature = "Win32_Security_Credentials")]
14 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn ApplyControlToken(phcontext : *const super::super::Credentials:: SecHandle, pinput : *const SecBufferDesc) -> ::windows_sys::core::HRESULT);
15 #[cfg(feature = "Win32_Foundation")]
16 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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);
17 #[cfg(feature = "Win32_Foundation")]
18 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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);
19 #[cfg(feature = "Win32_Foundation")]
20 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditEnumerateCategories(ppauditcategoriesarray : *mut *mut ::windows_sys::core::GUID, pdwcountreturned : *mut u32) -> super::super::super::Foundation:: BOOLEAN);
21 #[cfg(feature = "Win32_Foundation")]
22 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditEnumeratePerUserPolicy(ppauditsidarray : *mut *mut POLICY_AUDIT_SID_ARRAY) -> super::super::super::Foundation:: BOOLEAN);
23 #[cfg(feature = "Win32_Foundation")]
24 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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);
25 ::windows_targets::link!("advapi32.dll" "system" fn AuditFree(buffer : *const ::core::ffi::c_void) -> ());
26 #[cfg(feature = "Win32_Foundation")]
27 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditLookupCategoryGuidFromCategoryId(auditcategoryid : POLICY_AUDIT_EVENT_TYPE, pauditcategoryguid : *mut ::windows_sys::core::GUID) -> super::super::super::Foundation:: BOOLEAN);
28 #[cfg(feature = "Win32_Foundation")]
29 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditLookupCategoryIdFromCategoryGuid(pauditcategoryguid : *const ::windows_sys::core::GUID, pauditcategoryid : *mut POLICY_AUDIT_EVENT_TYPE) -> super::super::super::Foundation:: BOOLEAN);
30 #[cfg(feature = "Win32_Foundation")]
31 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditLookupCategoryNameA(pauditcategoryguid : *const ::windows_sys::core::GUID, ppszcategoryname : *mut ::windows_sys::core::PSTR) -> super::super::super::Foundation:: BOOLEAN);
32 #[cfg(feature = "Win32_Foundation")]
33 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditLookupCategoryNameW(pauditcategoryguid : *const ::windows_sys::core::GUID, ppszcategoryname : *mut ::windows_sys::core::PWSTR) -> super::super::super::Foundation:: BOOLEAN);
34 #[cfg(feature = "Win32_Foundation")]
35 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditLookupSubCategoryNameA(pauditsubcategoryguid : *const ::windows_sys::core::GUID, ppszsubcategoryname : *mut ::windows_sys::core::PSTR) -> super::super::super::Foundation:: BOOLEAN);
36 #[cfg(feature = "Win32_Foundation")]
37 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditLookupSubCategoryNameW(pauditsubcategoryguid : *const ::windows_sys::core::GUID, ppszsubcategoryname : *mut ::windows_sys::core::PWSTR) -> super::super::super::Foundation:: BOOLEAN);
38 #[cfg(feature = "Win32_Foundation")]
39 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditQueryGlobalSaclA(objecttypename : ::windows_sys::core::PCSTR, acl : *mut *mut super::super:: ACL) -> super::super::super::Foundation:: BOOLEAN);
40 #[cfg(feature = "Win32_Foundation")]
41 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditQueryGlobalSaclW(objecttypename : ::windows_sys::core::PCWSTR, acl : *mut *mut super::super:: ACL) -> super::super::super::Foundation:: BOOLEAN);
42 #[cfg(feature = "Win32_Foundation")]
43 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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);
44 #[cfg(feature = "Win32_Foundation")]
45 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditQuerySecurity(securityinformation : super::super:: OBJECT_SECURITY_INFORMATION, ppsecuritydescriptor : *mut super::super:: PSECURITY_DESCRIPTOR) -> super::super::super::Foundation:: BOOLEAN);
46 #[cfg(feature = "Win32_Foundation")]
47 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditQuerySystemPolicy(psubcategoryguids : *const ::windows_sys::core::GUID, dwpolicycount : u32, ppauditpolicy : *mut *mut AUDIT_POLICY_INFORMATION) -> super::super::super::Foundation:: BOOLEAN);
48 #[cfg(feature = "Win32_Foundation")]
49 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditSetGlobalSaclA(objecttypename : ::windows_sys::core::PCSTR, acl : *const super::super:: ACL) -> super::super::super::Foundation:: BOOLEAN);
50 #[cfg(feature = "Win32_Foundation")]
51 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditSetGlobalSaclW(objecttypename : ::windows_sys::core::PCWSTR, acl : *const super::super:: ACL) -> super::super::super::Foundation:: BOOLEAN);
52 #[cfg(feature = "Win32_Foundation")]
53 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditSetPerUserPolicy(psid : super::super::super::Foundation:: PSID, pauditpolicy : *const AUDIT_POLICY_INFORMATION, dwpolicycount : u32) -> super::super::super::Foundation:: BOOLEAN);
54 #[cfg(feature = "Win32_Foundation")]
55 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditSetSecurity(securityinformation : super::super:: OBJECT_SECURITY_INFORMATION, psecuritydescriptor : super::super:: PSECURITY_DESCRIPTOR) -> super::super::super::Foundation:: BOOLEAN);
56 #[cfg(feature = "Win32_Foundation")]
57 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditSetSystemPolicy(pauditpolicy : *const AUDIT_POLICY_INFORMATION, dwpolicycount : u32) -> super::super::super::Foundation:: BOOLEAN);
58 #[cfg(feature = "Win32_Foundation")]
59 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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);
60 #[cfg(feature = "Win32_Foundation")]
61 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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);
62 #[cfg(feature = "Win32_Security_Credentials")]
63 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn CompleteAuthToken(phcontext : *const super::super::Credentials:: SecHandle, ptoken : *const SecBufferDesc) -> ::windows_sys::core::HRESULT);
64 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
65 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`"] fn CredMarshalTargetInfo(intargetinfo : *const super::super::Credentials:: CREDENTIAL_TARGET_INFORMATIONW, buffer : *mut *mut u16, buffersize : *mut u32) -> super::super::super::Foundation:: NTSTATUS);
66 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
67 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`"] fn CredUnmarshalTargetInfo(buffer : *const u16, buffersize : u32, rettargetinfo : *mut *mut super::super::Credentials:: CREDENTIAL_TARGET_INFORMATIONW, retactualsize : *mut u32) -> super::super::super::Foundation:: NTSTATUS);
68 #[cfg(feature = "Win32_Security_Credentials")]
69 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn DecryptMessage(phcontext : *const super::super::Credentials:: SecHandle, pmessage : *const SecBufferDesc, messageseqno : u32, pfqop : *mut u32) -> ::windows_sys::core::HRESULT);
70 #[cfg(feature = "Win32_Security_Credentials")]
71 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn DeleteSecurityContext(phcontext : *const super::super::Credentials:: SecHandle) -> ::windows_sys::core::HRESULT);
72 ::windows_targets::link!("secur32.dll" "system" fn DeleteSecurityPackageA(pszpackagename : ::windows_sys::core::PCSTR) -> ::windows_sys::core::HRESULT);
73 ::windows_targets::link!("secur32.dll" "system" fn DeleteSecurityPackageW(pszpackagename : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
74 #[cfg(feature = "Win32_Security_Credentials")]
75 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn EncryptMessage(phcontext : *const super::super::Credentials:: SecHandle, fqop : u32, pmessage : *const SecBufferDesc, messageseqno : u32) -> ::windows_sys::core::HRESULT);
76 ::windows_targets::link!("secur32.dll" "system" fn EnumerateSecurityPackagesA(pcpackages : *mut u32, pppackageinfo : *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT);
77 ::windows_targets::link!("secur32.dll" "system" fn EnumerateSecurityPackagesW(pcpackages : *mut u32, pppackageinfo : *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT);
78 #[cfg(feature = "Win32_Security_Credentials")]
79 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] 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);
80 ::windows_targets::link!("secur32.dll" "system" fn FreeContextBuffer(pvcontextbuffer : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
81 #[cfg(feature = "Win32_Security_Credentials")]
82 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn FreeCredentialsHandle(phcredential : *const super::super::Credentials:: SecHandle) -> ::windows_sys::core::HRESULT);
83 #[cfg(feature = "Win32_Foundation")]
84 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetComputerObjectNameA(nameformat : EXTENDED_NAME_FORMAT, lpnamebuffer : ::windows_sys::core::PSTR, nsize : *mut u32) -> super::super::super::Foundation:: BOOLEAN);
85 #[cfg(feature = "Win32_Foundation")]
86 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetComputerObjectNameW(nameformat : EXTENDED_NAME_FORMAT, lpnamebuffer : ::windows_sys::core::PWSTR, nsize : *mut u32) -> super::super::super::Foundation:: BOOLEAN);
87 #[cfg(feature = "Win32_Foundation")]
88 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetUserNameExA(nameformat : EXTENDED_NAME_FORMAT, lpnamebuffer : ::windows_sys::core::PSTR, nsize : *mut u32) -> super::super::super::Foundation:: BOOLEAN);
89 #[cfg(feature = "Win32_Foundation")]
90 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetUserNameExW(nameformat : EXTENDED_NAME_FORMAT, lpnamebuffer : ::windows_sys::core::PWSTR, nsize : *mut u32) -> super::super::super::Foundation:: BOOLEAN);
91 #[cfg(feature = "Win32_Security_Credentials")]
92 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn ImpersonateSecurityContext(phcontext : *const super::super::Credentials:: SecHandle) -> ::windows_sys::core::HRESULT);
93 #[cfg(feature = "Win32_Security_Credentials")]
94 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] 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);
95 #[cfg(feature = "Win32_Security_Credentials")]
96 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] 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);
97 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
98 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`"] fn InitSecurityInterfaceA() -> *mut SecurityFunctionTableA);
99 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
100 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`"] fn InitSecurityInterfaceW() -> *mut SecurityFunctionTableW);
101 #[cfg(feature = "Win32_Security_Credentials")]
102 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn InitializeSecurityContextA(phcredential : *const super::super::Credentials:: SecHandle, phcontext : *const super::super::Credentials:: SecHandle, psztargetname : *const i8, fcontextreq : ISC_REQ_FLAGS, 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);
103 #[cfg(feature = "Win32_Security_Credentials")]
104 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn InitializeSecurityContextW(phcredential : *const super::super::Credentials:: SecHandle, phcontext : *const super::super::Credentials:: SecHandle, psztargetname : *const u16, fcontextreq : ISC_REQ_FLAGS, 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);
105 #[cfg(feature = "Win32_Foundation")]
106 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaAddAccountRights(policyhandle : LSA_HANDLE, accountsid : super::super::super::Foundation:: PSID, userrights : *const LSA_UNICODE_STRING, countofrights : u32) -> super::super::super::Foundation:: NTSTATUS);
107 #[cfg(feature = "Win32_Foundation")]
108 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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);
109 #[cfg(feature = "Win32_Foundation")]
110 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaClose(objecthandle : LSA_HANDLE) -> super::super::super::Foundation:: NTSTATUS);
111 #[cfg(feature = "Win32_Foundation")]
112 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaConnectUntrusted(lsahandle : *mut super::super::super::Foundation:: HANDLE) -> super::super::super::Foundation:: NTSTATUS);
113 #[cfg(feature = "Win32_Foundation")]
114 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaCreateTrustedDomainEx(policyhandle : LSA_HANDLE, trusteddomaininformation : *const TRUSTED_DOMAIN_INFORMATION_EX, authenticationinformation : *const TRUSTED_DOMAIN_AUTH_INFORMATION, desiredaccess : u32, trusteddomainhandle : *mut LSA_HANDLE) -> super::super::super::Foundation:: NTSTATUS);
115 #[cfg(feature = "Win32_Foundation")]
116 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaDeleteTrustedDomain(policyhandle : LSA_HANDLE, trusteddomainsid : super::super::super::Foundation:: PSID) -> super::super::super::Foundation:: NTSTATUS);
117 #[cfg(feature = "Win32_Foundation")]
118 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaDeregisterLogonProcess(lsahandle : super::super::super::Foundation:: HANDLE) -> super::super::super::Foundation:: NTSTATUS);
119 #[cfg(feature = "Win32_Foundation")]
120 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaEnumerateAccountRights(policyhandle : LSA_HANDLE, accountsid : super::super::super::Foundation:: PSID, userrights : *mut *mut LSA_UNICODE_STRING, countofrights : *mut u32) -> super::super::super::Foundation:: NTSTATUS);
121 #[cfg(feature = "Win32_Foundation")]
122 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaEnumerateAccountsWithUserRight(policyhandle : LSA_HANDLE, userright : *const LSA_UNICODE_STRING, buffer : *mut *mut ::core::ffi::c_void, countreturned : *mut u32) -> super::super::super::Foundation:: NTSTATUS);
123 #[cfg(feature = "Win32_Foundation")]
124 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaEnumerateLogonSessions(logonsessioncount : *mut u32, logonsessionlist : *mut *mut super::super::super::Foundation:: LUID) -> super::super::super::Foundation:: NTSTATUS);
125 #[cfg(feature = "Win32_Foundation")]
126 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaEnumerateTrustedDomains(policyhandle : LSA_HANDLE, enumerationcontext : *mut u32, buffer : *mut *mut ::core::ffi::c_void, preferedmaximumlength : u32, countreturned : *mut u32) -> super::super::super::Foundation:: NTSTATUS);
127 #[cfg(feature = "Win32_Foundation")]
128 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaEnumerateTrustedDomainsEx(policyhandle : LSA_HANDLE, enumerationcontext : *mut u32, buffer : *mut *mut ::core::ffi::c_void, preferedmaximumlength : u32, countreturned : *mut u32) -> super::super::super::Foundation:: NTSTATUS);
129 #[cfg(feature = "Win32_Foundation")]
130 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaFreeMemory(buffer : *const ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS);
131 #[cfg(feature = "Win32_Foundation")]
132 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaFreeReturnBuffer(buffer : *const ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS);
133 #[cfg(feature = "Win32_Foundation")]
134 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaGetAppliedCAPIDs(systemname : *const LSA_UNICODE_STRING, capids : *mut *mut super::super::super::Foundation:: PSID, capidcount : *mut u32) -> super::super::super::Foundation:: NTSTATUS);
135 #[cfg(feature = "Win32_Foundation")]
136 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaGetLogonSessionData(logonid : *const super::super::super::Foundation:: LUID, pplogonsessiondata : *mut *mut SECURITY_LOGON_SESSION_DATA) -> super::super::super::Foundation:: NTSTATUS);
137 #[cfg(feature = "Win32_Foundation")]
138 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaLogonUser(lsahandle : super::super::super::Foundation:: HANDLE, originname : *const LSA_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);
139 #[cfg(feature = "Win32_Foundation")]
140 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaLookupAuthenticationPackage(lsahandle : super::super::super::Foundation:: HANDLE, packagename : *const LSA_STRING, authenticationpackage : *mut u32) -> super::super::super::Foundation:: NTSTATUS);
141 #[cfg(feature = "Win32_Foundation")]
142 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaLookupNames(policyhandle : LSA_HANDLE, count : u32, names : *const LSA_UNICODE_STRING, referenceddomains : *mut *mut LSA_REFERENCED_DOMAIN_LIST, sids : *mut *mut LSA_TRANSLATED_SID) -> super::super::super::Foundation:: NTSTATUS);
143 #[cfg(feature = "Win32_Foundation")]
144 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaLookupNames2(policyhandle : LSA_HANDLE, flags : u32, count : u32, names : *const LSA_UNICODE_STRING, referenceddomains : *mut *mut LSA_REFERENCED_DOMAIN_LIST, sids : *mut *mut LSA_TRANSLATED_SID2) -> super::super::super::Foundation:: NTSTATUS);
145 #[cfg(feature = "Win32_Foundation")]
146 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaLookupSids(policyhandle : LSA_HANDLE, 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);
147 #[cfg(feature = "Win32_Foundation")]
148 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaLookupSids2(policyhandle : LSA_HANDLE, 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);
149 #[cfg(feature = "Win32_Foundation")]
150 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaNtStatusToWinError(status : super::super::super::Foundation:: NTSTATUS) -> u32);
151 #[cfg(feature = "Win32_Foundation")]
152 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaOpenPolicy(systemname : *const LSA_UNICODE_STRING, objectattributes : *const LSA_OBJECT_ATTRIBUTES, desiredaccess : u32, policyhandle : *mut LSA_HANDLE) -> super::super::super::Foundation:: NTSTATUS);
153 #[cfg(feature = "Win32_Foundation")]
154 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaOpenTrustedDomainByName(policyhandle : LSA_HANDLE, trusteddomainname : *const LSA_UNICODE_STRING, desiredaccess : u32, trusteddomainhandle : *mut LSA_HANDLE) -> super::super::super::Foundation:: NTSTATUS);
155 #[cfg(feature = "Win32_Foundation")]
156 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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);
157 #[cfg(feature = "Win32_Foundation")]
158 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaQueryDomainInformationPolicy(policyhandle : LSA_HANDLE, informationclass : POLICY_DOMAIN_INFORMATION_CLASS, buffer : *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS);
159 #[cfg(feature = "Win32_Foundation")]
160 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaQueryForestTrustInformation(policyhandle : LSA_HANDLE, trusteddomainname : *const LSA_UNICODE_STRING, foresttrustinfo : *mut *mut LSA_FOREST_TRUST_INFORMATION) -> super::super::super::Foundation:: NTSTATUS);
161 #[cfg(feature = "Win32_Foundation")]
162 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaQueryForestTrustInformation2(policyhandle : LSA_HANDLE, trusteddomainname : *const LSA_UNICODE_STRING, highestrecordtype : LSA_FOREST_TRUST_RECORD_TYPE, foresttrustinfo : *mut *mut LSA_FOREST_TRUST_INFORMATION2) -> super::super::super::Foundation:: NTSTATUS);
163 #[cfg(feature = "Win32_Foundation")]
164 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaQueryInformationPolicy(policyhandle : LSA_HANDLE, informationclass : POLICY_INFORMATION_CLASS, buffer : *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS);
165 #[cfg(feature = "Win32_Foundation")]
166 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaQueryTrustedDomainInfo(policyhandle : LSA_HANDLE, trusteddomainsid : super::super::super::Foundation:: PSID, informationclass : TRUSTED_INFORMATION_CLASS, buffer : *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS);
167 #[cfg(feature = "Win32_Foundation")]
168 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaQueryTrustedDomainInfoByName(policyhandle : LSA_HANDLE, trusteddomainname : *const LSA_UNICODE_STRING, informationclass : TRUSTED_INFORMATION_CLASS, buffer : *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS);
169 #[cfg(feature = "Win32_Foundation")]
170 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaRegisterLogonProcess(logonprocessname : *const LSA_STRING, lsahandle : *mut super::super::super::Foundation:: HANDLE, securitymode : *mut u32) -> super::super::super::Foundation:: NTSTATUS);
171 #[cfg(feature = "Win32_Foundation")]
172 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaRegisterPolicyChangeNotification(informationclass : POLICY_NOTIFICATION_INFORMATION_CLASS, notificationeventhandle : super::super::super::Foundation:: HANDLE) -> super::super::super::Foundation:: NTSTATUS);
173 #[cfg(feature = "Win32_Foundation")]
174 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaRemoveAccountRights(policyhandle : LSA_HANDLE, accountsid : super::super::super::Foundation:: PSID, allrights : super::super::super::Foundation:: BOOLEAN, userrights : *const LSA_UNICODE_STRING, countofrights : u32) -> super::super::super::Foundation:: NTSTATUS);
175 #[cfg(feature = "Win32_Foundation")]
176 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaRetrievePrivateData(policyhandle : LSA_HANDLE, keyname : *const LSA_UNICODE_STRING, privatedata : *mut *mut LSA_UNICODE_STRING) -> super::super::super::Foundation:: NTSTATUS);
177 #[cfg(feature = "Win32_Foundation")]
178 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaSetCAPs(capdns : *const LSA_UNICODE_STRING, capdncount : u32, flags : u32) -> super::super::super::Foundation:: NTSTATUS);
179 #[cfg(feature = "Win32_Foundation")]
180 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaSetDomainInformationPolicy(policyhandle : LSA_HANDLE, informationclass : POLICY_DOMAIN_INFORMATION_CLASS, buffer : *const ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS);
181 #[cfg(feature = "Win32_Foundation")]
182 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaSetForestTrustInformation(policyhandle : LSA_HANDLE, trusteddomainname : *const LSA_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);
183 #[cfg(feature = "Win32_Foundation")]
184 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaSetForestTrustInformation2(policyhandle : LSA_HANDLE, trusteddomainname : *const LSA_UNICODE_STRING, highestrecordtype : LSA_FOREST_TRUST_RECORD_TYPE, foresttrustinfo : *const LSA_FOREST_TRUST_INFORMATION2, checkonly : super::super::super::Foundation:: BOOLEAN, collisioninfo : *mut *mut LSA_FOREST_TRUST_COLLISION_INFORMATION) -> super::super::super::Foundation:: NTSTATUS);
185 #[cfg(feature = "Win32_Foundation")]
186 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaSetInformationPolicy(policyhandle : LSA_HANDLE, informationclass : POLICY_INFORMATION_CLASS, buffer : *const ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS);
187 #[cfg(feature = "Win32_Foundation")]
188 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaSetTrustedDomainInfoByName(policyhandle : LSA_HANDLE, trusteddomainname : *const LSA_UNICODE_STRING, informationclass : TRUSTED_INFORMATION_CLASS, buffer : *const ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS);
189 #[cfg(feature = "Win32_Foundation")]
190 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaSetTrustedDomainInformation(policyhandle : LSA_HANDLE, trusteddomainsid : super::super::super::Foundation:: PSID, informationclass : TRUSTED_INFORMATION_CLASS, buffer : *const ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS);
191 #[cfg(feature = "Win32_Foundation")]
192 ::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaStorePrivateData(policyhandle : LSA_HANDLE, keyname : *const LSA_UNICODE_STRING, privatedata : *const LSA_UNICODE_STRING) -> super::super::super::Foundation:: NTSTATUS);
193 #[cfg(feature = "Win32_Foundation")]
194 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaUnregisterPolicyChangeNotification(informationclass : POLICY_NOTIFICATION_INFORMATION_CLASS, notificationeventhandle : super::super::super::Foundation:: HANDLE) -> super::super::super::Foundation:: NTSTATUS);
195 #[cfg(feature = "Win32_Security_Credentials")]
196 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn MakeSignature(phcontext : *const super::super::Credentials:: SecHandle, fqop : u32, pmessage : *const SecBufferDesc, messageseqno : u32) -> ::windows_sys::core::HRESULT);
197 #[cfg(feature = "Win32_Security_Credentials")]
198 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn QueryContextAttributesA(phcontext : *const super::super::Credentials:: SecHandle, ulattribute : SECPKG_ATTR, pbuffer : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
199 #[cfg(feature = "Win32_Security_Credentials")]
200 ::windows_targets::link!("sspicli.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn QueryContextAttributesExA(phcontext : *const super::super::Credentials:: SecHandle, ulattribute : SECPKG_ATTR, pbuffer : *mut ::core::ffi::c_void, cbbuffer : u32) -> ::windows_sys::core::HRESULT);
201 #[cfg(feature = "Win32_Security_Credentials")]
202 ::windows_targets::link!("sspicli.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn QueryContextAttributesExW(phcontext : *const super::super::Credentials:: SecHandle, ulattribute : SECPKG_ATTR, pbuffer : *mut ::core::ffi::c_void, cbbuffer : u32) -> ::windows_sys::core::HRESULT);
203 #[cfg(feature = "Win32_Security_Credentials")]
204 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn QueryContextAttributesW(phcontext : *const super::super::Credentials:: SecHandle, ulattribute : SECPKG_ATTR, pbuffer : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
205 #[cfg(feature = "Win32_Security_Credentials")]
206 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn QueryCredentialsAttributesA(phcredential : *const super::super::Credentials:: SecHandle, ulattribute : u32, pbuffer : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
207 #[cfg(feature = "Win32_Security_Credentials")]
208 ::windows_targets::link!("sspicli.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn QueryCredentialsAttributesExA(phcredential : *const super::super::Credentials:: SecHandle, ulattribute : u32, pbuffer : *mut ::core::ffi::c_void, cbbuffer : u32) -> ::windows_sys::core::HRESULT);
209 #[cfg(feature = "Win32_Security_Credentials")]
210 ::windows_targets::link!("sspicli.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn QueryCredentialsAttributesExW(phcredential : *const super::super::Credentials:: SecHandle, ulattribute : u32, pbuffer : *mut ::core::ffi::c_void, cbbuffer : u32) -> ::windows_sys::core::HRESULT);
211 #[cfg(feature = "Win32_Security_Credentials")]
212 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn QueryCredentialsAttributesW(phcredential : *const super::super::Credentials:: SecHandle, ulattribute : u32, pbuffer : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
213 #[cfg(feature = "Win32_Security_Credentials")]
214 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn QuerySecurityContextToken(phcontext : *const super::super::Credentials:: SecHandle, token : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
215 ::windows_targets::link!("secur32.dll" "system" fn QuerySecurityPackageInfoA(pszpackagename : ::windows_sys::core::PCSTR, pppackageinfo : *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT);
216 ::windows_targets::link!("secur32.dll" "system" fn QuerySecurityPackageInfoW(pszpackagename : ::windows_sys::core::PCWSTR, pppackageinfo : *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT);
217 #[cfg(feature = "Win32_Security_Credentials")]
218 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn RevertSecurityContext(phcontext : *const super::super::Credentials:: SecHandle) -> ::windows_sys::core::HRESULT);
219 #[cfg(feature = "Win32_Foundation")]
220 ::windows_targets::link!("advapi32.dll" "system" "SystemFunction041" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtlDecryptMemory(memory : *mut ::core::ffi::c_void, memorysize : u32, optionflags : u32) -> super::super::super::Foundation:: NTSTATUS);
221 #[cfg(feature = "Win32_Foundation")]
222 ::windows_targets::link!("advapi32.dll" "system" "SystemFunction040" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtlEncryptMemory(memory : *mut ::core::ffi::c_void, memorysize : u32, optionflags : u32) -> super::super::super::Foundation:: NTSTATUS);
223 #[cfg(feature = "Win32_Foundation")]
224 ::windows_targets::link!("advapi32.dll" "system" "SystemFunction036" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtlGenRandom(randombuffer : *mut ::core::ffi::c_void, randombufferlength : u32) -> super::super::super::Foundation:: BOOLEAN);
225 ::windows_targets::link!("slcext.dll" "system" 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);
226 ::windows_targets::link!("slcext.dll" "system" 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);
227 ::windows_targets::link!("slc.dll" "system" fn SLClose(hslc : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
228 ::windows_targets::link!("slc.dll" "system" 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 : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
229 ::windows_targets::link!("slc.dll" "system" 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);
230 ::windows_targets::link!("slc.dll" "system" 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);
231 ::windows_targets::link!("slc.dll" "system" fn SLFireEvent(hslc : *const ::core::ffi::c_void, pwszeventid : ::windows_sys::core::PCWSTR, papplicationid : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT);
232 ::windows_targets::link!("slc.dll" "system" fn SLGenerateOfflineInstallationId(hslc : *const ::core::ffi::c_void, pproductskuid : *const ::windows_sys::core::GUID, ppwszinstallationid : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
233 ::windows_targets::link!("slc.dll" "system" 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);
234 ::windows_targets::link!("slc.dll" "system" 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);
235 ::windows_targets::link!("slc.dll" "system" 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);
236 ::windows_targets::link!("slc.dll" "system" 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);
237 ::windows_targets::link!("slc.dll" "system" 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);
238 ::windows_targets::link!("slc.dll" "system" fn SLGetLicenseFileId(hslc : *const ::core::ffi::c_void, cblicenseblob : u32, pblicenseblob : *const u8, plicensefileid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT);
239 ::windows_targets::link!("slc.dll" "system" 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);
240 ::windows_targets::link!("slc.dll" "system" 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);
241 ::windows_targets::link!("slc.dll" "system" 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);
242 ::windows_targets::link!("slc.dll" "system" 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);
243 ::windows_targets::link!("slc.dll" "system" 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);
244 ::windows_targets::link!("slc.dll" "system" fn SLGetPolicyInformationDWORD(hslc : *const ::core::ffi::c_void, pwszvaluename : ::windows_sys::core::PCWSTR, pdwvalue : *mut u32) -> ::windows_sys::core::HRESULT);
245 ::windows_targets::link!("slc.dll" "system" 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);
246 ::windows_targets::link!("slcext.dll" "system" 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);
247 ::windows_targets::link!("slc.dll" "system" 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);
248 ::windows_targets::link!("slcext.dll" "system" 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);
249 ::windows_targets::link!("slc.dll" "system" 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);
250 ::windows_targets::link!("slc.dll" "system" fn SLGetWindowsInformation(pwszvaluename : ::windows_sys::core::PCWSTR, pedatatype : *mut SLDATATYPE, pcbvalue : *mut u32, ppbvalue : *mut *mut u8) -> ::windows_sys::core::HRESULT);
251 ::windows_targets::link!("slc.dll" "system" fn SLGetWindowsInformationDWORD(pwszvaluename : ::windows_sys::core::PCWSTR, pdwvalue : *mut u32) -> ::windows_sys::core::HRESULT);
252 ::windows_targets::link!("slc.dll" "system" fn SLInstallLicense(hslc : *const ::core::ffi::c_void, cblicenseblob : u32, pblicenseblob : *const u8, plicensefileid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT);
253 ::windows_targets::link!("slc.dll" "system" 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);
254 ::windows_targets::link!("slwga.dll" "system" fn SLIsGenuineLocal(pappid : *const ::windows_sys::core::GUID, pgenuinestate : *mut SL_GENUINE_STATE, puioptions : *mut SL_NONGENUINE_UI_OPTIONS) -> ::windows_sys::core::HRESULT);
255 ::windows_targets::link!("slc.dll" "system" fn SLOpen(phslc : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
256 ::windows_targets::link!("api-ms-win-core-slapi-l1-1-0.dll" "system" 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);
257 #[cfg(feature = "Win32_Foundation")]
258 ::windows_targets::link!("slc.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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);
259 ::windows_targets::link!("slc.dll" "system" fn SLSetCurrentProductKey(hslc : *const ::core::ffi::c_void, pproductskuid : *const ::windows_sys::core::GUID, pproductkeyid : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT);
260 ::windows_targets::link!("slc.dll" "system" fn SLSetGenuineInformation(pqueryid : *const ::windows_sys::core::GUID, pwszvaluename : ::windows_sys::core::PCWSTR, edatatype : SLDATATYPE, cbvalue : u32, pbvalue : *const u8) -> ::windows_sys::core::HRESULT);
261 ::windows_targets::link!("slc.dll" "system" fn SLUninstallLicense(hslc : *const ::core::ffi::c_void, plicensefileid : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT);
262 ::windows_targets::link!("slc.dll" "system" fn SLUninstallProofOfPurchase(hslc : *const ::core::ffi::c_void, ppkeyid : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT);
263 #[cfg(feature = "Win32_Foundation")]
264 ::windows_targets::link!("slc.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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);
265 #[cfg(feature = "Win32_Security_Credentials")]
266 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn SaslAcceptSecurityContext(phcredential : *const super::super::Credentials:: SecHandle, phcontext : *const super::super::Credentials:: SecHandle, pinput : *const SecBufferDesc, fcontextreq : ASC_REQ_FLAGS, targetdatarep : u32, phnewcontext : *mut super::super::Credentials:: SecHandle, poutput : *mut SecBufferDesc, pfcontextattr : *mut u32, ptsexpiry : *mut i64) -> ::windows_sys::core::HRESULT);
267 ::windows_targets::link!("secur32.dll" "system" fn SaslEnumerateProfilesA(profilelist : *mut ::windows_sys::core::PSTR, profilecount : *mut u32) -> ::windows_sys::core::HRESULT);
268 ::windows_targets::link!("secur32.dll" "system" fn SaslEnumerateProfilesW(profilelist : *mut ::windows_sys::core::PWSTR, profilecount : *mut u32) -> ::windows_sys::core::HRESULT);
269 #[cfg(feature = "Win32_Security_Credentials")]
270 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] 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);
271 ::windows_targets::link!("secur32.dll" "system" fn SaslGetProfilePackageA(profilename : ::windows_sys::core::PCSTR, packageinfo : *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT);
272 ::windows_targets::link!("secur32.dll" "system" fn SaslGetProfilePackageW(profilename : ::windows_sys::core::PCWSTR, packageinfo : *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT);
273 ::windows_targets::link!("secur32.dll" "system" fn SaslIdentifyPackageA(pinput : *const SecBufferDesc, packageinfo : *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT);
274 ::windows_targets::link!("secur32.dll" "system" fn SaslIdentifyPackageW(pinput : *const SecBufferDesc, packageinfo : *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT);
275 #[cfg(feature = "Win32_Security_Credentials")]
276 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn SaslInitializeSecurityContextA(phcredential : *const super::super::Credentials:: SecHandle, phcontext : *const super::super::Credentials:: SecHandle, psztargetname : ::windows_sys::core::PCSTR, fcontextreq : ISC_REQ_FLAGS, 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);
277 #[cfg(feature = "Win32_Security_Credentials")]
278 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn SaslInitializeSecurityContextW(phcredential : *const super::super::Credentials:: SecHandle, phcontext : *const super::super::Credentials:: SecHandle, psztargetname : ::windows_sys::core::PCWSTR, fcontextreq : ISC_REQ_FLAGS, 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);
279 #[cfg(feature = "Win32_Security_Credentials")]
280 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn SaslSetContextOption(contexthandle : *const super::super::Credentials:: SecHandle, option : u32, value : *const ::core::ffi::c_void, size : u32) -> ::windows_sys::core::HRESULT);
281 #[cfg(feature = "Win32_Foundation")]
282 ::windows_targets::link!("sas.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SendSAS(asuser : super::super::super::Foundation:: BOOL) -> ());
283 #[cfg(feature = "Win32_Security_Credentials")]
284 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn SetContextAttributesA(phcontext : *const super::super::Credentials:: SecHandle, ulattribute : SECPKG_ATTR, pbuffer : *const ::core::ffi::c_void, cbbuffer : u32) -> ::windows_sys::core::HRESULT);
285 #[cfg(feature = "Win32_Security_Credentials")]
286 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn SetContextAttributesW(phcontext : *const super::super::Credentials:: SecHandle, ulattribute : SECPKG_ATTR, pbuffer : *const ::core::ffi::c_void, cbbuffer : u32) -> ::windows_sys::core::HRESULT);
287 #[cfg(feature = "Win32_Security_Credentials")]
288 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn SetCredentialsAttributesA(phcredential : *const super::super::Credentials:: SecHandle, ulattribute : u32, pbuffer : *const ::core::ffi::c_void, cbbuffer : u32) -> ::windows_sys::core::HRESULT);
289 #[cfg(feature = "Win32_Security_Credentials")]
290 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn SetCredentialsAttributesW(phcredential : *const super::super::Credentials:: SecHandle, ulattribute : u32, pbuffer : *const ::core::ffi::c_void, cbbuffer : u32) -> ::windows_sys::core::HRESULT);
291 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
292 ::windows_targets::link!("schannel.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] fn SslCrackCertificate(pbcertificate : *mut u8, cbcertificate : u32, dwflags : u32, ppcertificate : *mut *mut X509Certificate) -> super::super::super::Foundation:: BOOL);
293 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
294 ::windows_targets::link!("schannel.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] fn SslDeserializeCertificateStore(serializedcertificatestore : super::super::Cryptography:: CRYPT_INTEGER_BLOB, ppcertcontext : *mut *mut super::super::Cryptography:: CERT_CONTEXT) -> ::windows_sys::core::HRESULT);
295 #[cfg(feature = "Win32_Foundation")]
296 ::windows_targets::link!("schannel.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SslEmptyCacheA(psztargetname : ::windows_sys::core::PCSTR, dwflags : u32) -> super::super::super::Foundation:: BOOL);
297 #[cfg(feature = "Win32_Foundation")]
298 ::windows_targets::link!("schannel.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SslEmptyCacheW(psztargetname : ::windows_sys::core::PCWSTR, dwflags : u32) -> super::super::super::Foundation:: BOOL);
299 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
300 ::windows_targets::link!("schannel.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] fn SslFreeCertificate(pcertificate : *mut X509Certificate) -> ());
301 ::windows_targets::link!("schannel.dll" "system" fn SslGenerateRandomBits(prandomdata : *mut u8, crandomdata : i32) -> ());
302 ::windows_targets::link!("schannel.dll" "system" fn SslGetExtensions(clienthello : *const u8, clienthellobytesize : u32, genericextensions : *mut SCH_EXTENSION_DATA, genericextensionscount : u8, bytestoread : *mut u32, flags : SchGetExtensionsOptions) -> ::windows_sys::core::HRESULT);
303 ::windows_targets::link!("schannel.dll" "system" fn SslGetMaximumKeySize(reserved : u32) -> u32);
304 ::windows_targets::link!("schannel.dll" "system" fn SslGetServerIdentity(clienthello : *const u8, clienthellosize : u32, serveridentity : *mut *mut u8, serveridentitysize : *mut u32, flags : u32) -> ::windows_sys::core::HRESULT);
305 #[cfg(feature = "Win32_Foundation")]
306 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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);
307 ::windows_targets::link!("secur32.dll" "system" fn SspiCopyAuthIdentity(authdata : *const ::core::ffi::c_void, authdatacopy : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
308 ::windows_targets::link!("secur32.dll" "system" fn SspiDecryptAuthIdentity(encryptedauthdata : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
309 ::windows_targets::link!("sspicli.dll" "system" fn SspiDecryptAuthIdentityEx(options : u32, encryptedauthdata : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
310 ::windows_targets::link!("secur32.dll" "system" fn SspiEncodeAuthIdentityAsStrings(pauthidentity : *const ::core::ffi::c_void, ppszusername : *mut ::windows_sys::core::PCWSTR, ppszdomainname : *mut ::windows_sys::core::PCWSTR, ppszpackedcredentialsstring : *mut ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
311 ::windows_targets::link!("secur32.dll" "system" 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);
312 ::windows_targets::link!("secur32.dll" "system" fn SspiEncryptAuthIdentity(authdata : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
313 ::windows_targets::link!("sspicli.dll" "system" fn SspiEncryptAuthIdentityEx(options : u32, authdata : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
314 ::windows_targets::link!("secur32.dll" "system" fn SspiExcludePackage(authidentity : *const ::core::ffi::c_void, pszpackagename : ::windows_sys::core::PCWSTR, ppnewauthidentity : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
315 ::windows_targets::link!("secur32.dll" "system" fn SspiFreeAuthIdentity(authdata : *const ::core::ffi::c_void) -> ());
316 ::windows_targets::link!("secur32.dll" "system" fn SspiGetTargetHostName(psztargetname : ::windows_sys::core::PCWSTR, pszhostname : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT);
317 #[cfg(feature = "Win32_Foundation")]
318 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SspiIsAuthIdentityEncrypted(encryptedauthdata : *const ::core::ffi::c_void) -> super::super::super::Foundation:: BOOLEAN);
319 #[cfg(feature = "Win32_Foundation")]
320 ::windows_targets::link!("credui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SspiIsPromptingNeeded(errororntstatus : u32) -> super::super::super::Foundation:: BOOLEAN);
321 ::windows_targets::link!("secur32.dll" "system" fn SspiLocalFree(databuffer : *const ::core::ffi::c_void) -> ());
322 ::windows_targets::link!("secur32.dll" "system" fn SspiMarshalAuthIdentity(authidentity : *const ::core::ffi::c_void, authidentitylength : *mut u32, authidentitybytearray : *mut *mut i8) -> ::windows_sys::core::HRESULT);
323 ::windows_targets::link!("secur32.dll" "system" fn SspiPrepareForCredRead(authidentity : *const ::core::ffi::c_void, psztargetname : ::windows_sys::core::PCWSTR, pcredmancredentialtype : *mut u32, ppszcredmantargetname : *mut ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
324 ::windows_targets::link!("secur32.dll" "system" fn SspiPrepareForCredWrite(authidentity : *const ::core::ffi::c_void, psztargetname : ::windows_sys::core::PCWSTR, pcredmancredentialtype : *mut u32, ppszcredmantargetname : *mut ::windows_sys::core::PCWSTR, ppszcredmanusername : *mut ::windows_sys::core::PCWSTR, ppcredentialblob : *mut *mut u8, pcredentialblobsize : *mut u32) -> ::windows_sys::core::HRESULT);
325 ::windows_targets::link!("credui.dll" "system" 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);
326 ::windows_targets::link!("credui.dll" "system" 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);
327 ::windows_targets::link!("secur32.dll" "system" fn SspiUnmarshalAuthIdentity(authidentitylength : u32, authidentitybytearray : ::windows_sys::core::PCSTR, ppauthidentity : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
328 ::windows_targets::link!("secur32.dll" "system" fn SspiValidateAuthIdentity(authdata : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT);
329 ::windows_targets::link!("secur32.dll" "system" fn SspiZeroAuthIdentity(authdata : *const ::core::ffi::c_void) -> ());
330 ::windows_targets::link!("tokenbinding.dll" "system" fn TokenBindingDeleteAllBindings() -> ::windows_sys::core::HRESULT);
331 ::windows_targets::link!("tokenbinding.dll" "system" fn TokenBindingDeleteBinding(targeturl : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT);
332 ::windows_targets::link!("tokenbinding.dll" "system" 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);
333 ::windows_targets::link!("tokenbinding.dll" "system" 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);
334 ::windows_targets::link!("tokenbinding.dll" "system" fn TokenBindingGenerateIDForUri(keytype : TOKENBINDING_KEY_PARAMETERS_TYPE, targeturi : ::windows_sys::core::PCWSTR, resultdata : *mut *mut TOKENBINDING_RESULT_DATA) -> ::windows_sys::core::HRESULT);
335 ::windows_targets::link!("tokenbinding.dll" "system" 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);
336 ::windows_targets::link!("tokenbinding.dll" "system" fn TokenBindingGetHighestSupportedVersion(majorversion : *mut u8, minorversion : *mut u8) -> ::windows_sys::core::HRESULT);
337 ::windows_targets::link!("tokenbinding.dll" "system" fn TokenBindingGetKeyTypesClient(keytypes : *mut *mut TOKENBINDING_KEY_TYPES) -> ::windows_sys::core::HRESULT);
338 ::windows_targets::link!("tokenbinding.dll" "system" fn TokenBindingGetKeyTypesServer(keytypes : *mut *mut TOKENBINDING_KEY_TYPES) -> ::windows_sys::core::HRESULT);
339 ::windows_targets::link!("tokenbinding.dll" "system" 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);
340 #[cfg(feature = "Win32_Foundation")]
341 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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);
342 #[cfg(feature = "Win32_Foundation")]
343 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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);
344 #[cfg(feature = "Win32_Security_Credentials")]
345 ::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn VerifySignature(phcontext : *const super::super::Credentials:: SecHandle, pmessage : *const SecBufferDesc, messageseqno : u32, pfqop : *mut u32) -> ::windows_sys::core::HRESULT);
346 pub type ICcgDomainAuthCredentials = *mut ::core::ffi::c_void;
347 pub const ACCOUNT_ADJUST_PRIVILEGES: i32 = 2i32;
348 pub const ACCOUNT_ADJUST_QUOTAS: i32 = 4i32;
349 pub const ACCOUNT_ADJUST_SYSTEM_ACCESS: i32 = 8i32;
350 pub const ACCOUNT_VIEW: i32 = 1i32;
351 pub const ASC_REQ_ALLOCATE_MEMORY: ASC_REQ_FLAGS = 256u32;
352 pub const ASC_REQ_ALLOW_CONTEXT_REPLAY: ASC_REQ_FLAGS = 4194304u32;
353 pub const ASC_REQ_ALLOW_MISSING_BINDINGS: ASC_REQ_FLAGS = 268435456u32;
354 pub const ASC_REQ_ALLOW_NON_USER_LOGONS: ASC_REQ_FLAGS = 2097152u32;
355 pub const ASC_REQ_ALLOW_NULL_SESSION: ASC_REQ_FLAGS = 1048576u32;
356 pub const ASC_REQ_CALL_LEVEL: ASC_REQ_FLAGS = 4096u32;
357 pub const ASC_REQ_CONFIDENTIALITY: ASC_REQ_FLAGS = 16u32;
358 pub const ASC_REQ_CONNECTION: ASC_REQ_FLAGS = 2048u32;
359 pub const ASC_REQ_DATAGRAM: ASC_REQ_FLAGS = 1024u32;
360 pub const ASC_REQ_DELEGATE: ASC_REQ_FLAGS = 1u32;
361 pub const ASC_REQ_EXTENDED_ERROR: ASC_REQ_FLAGS = 32768u32;
362 pub const ASC_REQ_FRAGMENT_SUPPLIED: ASC_REQ_FLAGS = 8192u32;
363 pub const ASC_REQ_FRAGMENT_TO_FIT: ASC_REQ_FLAGS = 8388608u32;
364 pub const ASC_REQ_IDENTIFY: ASC_REQ_FLAGS = 524288u32;
365 pub const ASC_REQ_INTEGRITY: ASC_REQ_FLAGS = 131072u32;
366 pub const ASC_REQ_LICENSING: ASC_REQ_FLAGS = 262144u32;
367 pub const ASC_REQ_MESSAGES: ASC_REQ_HIGH_FLAGS = 4294967296u64;
368 pub const ASC_REQ_MUTUAL_AUTH: ASC_REQ_FLAGS = 2u32;
369 pub const ASC_REQ_NO_TOKEN: ASC_REQ_FLAGS = 16777216u32;
370 pub const ASC_REQ_PROXY_BINDINGS: ASC_REQ_FLAGS = 67108864u32;
371 pub const ASC_REQ_REPLAY_DETECT: ASC_REQ_FLAGS = 4u32;
372 pub const ASC_REQ_SEQUENCE_DETECT: ASC_REQ_FLAGS = 8u32;
373 pub const ASC_REQ_SESSION_TICKET: ASC_REQ_FLAGS = 64u32;
374 pub const ASC_REQ_STREAM: ASC_REQ_FLAGS = 65536u32;
375 pub const ASC_REQ_USE_DCE_STYLE: ASC_REQ_FLAGS = 512u32;
376 pub const ASC_REQ_USE_SESSION_KEY: ASC_REQ_FLAGS = 32u32;
377 pub const ASC_RET_ALLOCATED_MEMORY: u32 = 256u32;
378 pub const ASC_RET_ALLOW_CONTEXT_REPLAY: u32 = 4194304u32;
379 pub const ASC_RET_ALLOW_NON_USER_LOGONS: u32 = 2097152u32;
380 pub const ASC_RET_CALL_LEVEL: u32 = 8192u32;
381 pub const ASC_RET_CONFIDENTIALITY: u32 = 16u32;
382 pub const ASC_RET_CONNECTION: u32 = 2048u32;
383 pub const ASC_RET_DATAGRAM: u32 = 1024u32;
384 pub const ASC_RET_DELEGATE: u32 = 1u32;
385 pub const ASC_RET_EXTENDED_ERROR: u32 = 32768u32;
386 pub const ASC_RET_FRAGMENT_ONLY: u32 = 8388608u32;
387 pub const ASC_RET_IDENTIFY: u32 = 524288u32;
388 pub const ASC_RET_INTEGRITY: u32 = 131072u32;
389 pub const ASC_RET_LICENSING: u32 = 262144u32;
390 pub const ASC_RET_MESSAGES: u64 = 4294967296u64;
391 pub const ASC_RET_MUTUAL_AUTH: u32 = 2u32;
392 pub const ASC_RET_NO_ADDITIONAL_TOKEN: u32 = 33554432u32;
393 pub const ASC_RET_NO_TOKEN: u32 = 16777216u32;
394 pub const ASC_RET_NULL_SESSION: u32 = 1048576u32;
395 pub const ASC_RET_REPLAY_DETECT: u32 = 4u32;
396 pub const ASC_RET_SEQUENCE_DETECT: u32 = 8u32;
397 pub const ASC_RET_SESSION_TICKET: u32 = 64u32;
398 pub const ASC_RET_STREAM: u32 = 65536u32;
399 pub const ASC_RET_THIRD_LEG_FAILED: u32 = 16384u32;
400 pub const ASC_RET_USED_DCE_STYLE: u32 = 512u32;
401 pub const ASC_RET_USE_SESSION_KEY: u32 = 32u32;
402 pub const AUDIT_ENUMERATE_USERS: u32 = 16u32;
403 pub const AUDIT_QUERY_MISC_POLICY: u32 = 64u32;
404 pub const AUDIT_QUERY_SYSTEM_POLICY: u32 = 2u32;
405 pub const AUDIT_QUERY_USER_POLICY: u32 = 8u32;
406 pub const AUDIT_SET_MISC_POLICY: u32 = 32u32;
407 pub const AUDIT_SET_SYSTEM_POLICY: u32 = 1u32;
408 pub const AUDIT_SET_USER_POLICY: u32 = 4u32;
409 pub const AUTH_REQ_ALLOW_ENC_TKT_IN_SKEY: u32 = 32u32;
410 pub const AUTH_REQ_ALLOW_FORWARDABLE: u32 = 1u32;
411 pub const AUTH_REQ_ALLOW_NOADDRESS: u32 = 16u32;
412 pub const AUTH_REQ_ALLOW_POSTDATE: u32 = 4u32;
413 pub const AUTH_REQ_ALLOW_PROXIABLE: u32 = 2u32;
414 pub const AUTH_REQ_ALLOW_RENEWABLE: u32 = 8u32;
415 pub const AUTH_REQ_ALLOW_S4U_DELEGATE: u32 = 2048u32;
416 pub const AUTH_REQ_ALLOW_VALIDATE: u32 = 64u32;
417 pub const AUTH_REQ_OK_AS_DELEGATE: u32 = 256u32;
418 pub const AUTH_REQ_PREAUTH_REQUIRED: u32 = 512u32;
419 pub const AUTH_REQ_TRANSITIVE_TRUST: u32 = 1024u32;
420 pub const AUTH_REQ_VALIDATE_CLIENT: u32 = 128u32;
421 pub const AccountDomainInformation: LSA_LOOKUP_DOMAIN_INFO_CLASS = 5i32;
422 pub const AuditCategoryAccountLogon: POLICY_AUDIT_EVENT_TYPE = 8i32;
423 pub const AuditCategoryAccountManagement: POLICY_AUDIT_EVENT_TYPE = 6i32;
424 pub const AuditCategoryDetailedTracking: POLICY_AUDIT_EVENT_TYPE = 4i32;
425 pub const AuditCategoryDirectoryServiceAccess: POLICY_AUDIT_EVENT_TYPE = 7i32;
426 pub const AuditCategoryLogon: POLICY_AUDIT_EVENT_TYPE = 1i32;
427 pub const AuditCategoryObjectAccess: POLICY_AUDIT_EVENT_TYPE = 2i32;
428 pub const AuditCategoryPolicyChange: POLICY_AUDIT_EVENT_TYPE = 5i32;
429 pub const AuditCategoryPrivilegeUse: POLICY_AUDIT_EVENT_TYPE = 3i32;
430 pub const AuditCategorySystem: POLICY_AUDIT_EVENT_TYPE = 0i32;
431 pub const Audit_AccountLogon: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x69979850_797a_11d9_bed3_505054503030);
432 pub const Audit_AccountLogon_CredentialValidation: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce923f_69ae_11d9_bed3_505054503030);
433 pub const Audit_AccountLogon_KerbCredentialValidation: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9242_69ae_11d9_bed3_505054503030);
434 pub const Audit_AccountLogon_Kerberos: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9240_69ae_11d9_bed3_505054503030);
435 pub const Audit_AccountLogon_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9241_69ae_11d9_bed3_505054503030);
436 pub const Audit_AccountManagement: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6997984e_797a_11d9_bed3_505054503030);
437 pub const Audit_AccountManagement_ApplicationGroup: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9239_69ae_11d9_bed3_505054503030);
438 pub const Audit_AccountManagement_ComputerAccount: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9236_69ae_11d9_bed3_505054503030);
439 pub const Audit_AccountManagement_DistributionGroup: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9238_69ae_11d9_bed3_505054503030);
440 pub const Audit_AccountManagement_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce923a_69ae_11d9_bed3_505054503030);
441 pub const Audit_AccountManagement_SecurityGroup: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9237_69ae_11d9_bed3_505054503030);
442 pub const Audit_AccountManagement_UserAccount: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9235_69ae_11d9_bed3_505054503030);
443 pub const Audit_DSAccess_DSAccess: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce923b_69ae_11d9_bed3_505054503030);
444 pub const Audit_DetailedTracking: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6997984c_797a_11d9_bed3_505054503030);
445 pub const Audit_DetailedTracking_DpapiActivity: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce922d_69ae_11d9_bed3_505054503030);
446 pub const Audit_DetailedTracking_PnpActivity: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9248_69ae_11d9_bed3_505054503030);
447 pub const Audit_DetailedTracking_ProcessCreation: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce922b_69ae_11d9_bed3_505054503030);
448 pub const Audit_DetailedTracking_ProcessTermination: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce922c_69ae_11d9_bed3_505054503030);
449 pub const Audit_DetailedTracking_RpcCall: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce922e_69ae_11d9_bed3_505054503030);
450 pub const Audit_DetailedTracking_TokenRightAdjusted: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce924a_69ae_11d9_bed3_505054503030);
451 pub const Audit_DirectoryServiceAccess: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6997984f_797a_11d9_bed3_505054503030);
452 pub const Audit_DsAccess_AdAuditChanges: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce923c_69ae_11d9_bed3_505054503030);
453 pub const Audit_Ds_DetailedReplication: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce923e_69ae_11d9_bed3_505054503030);
454 pub const Audit_Ds_Replication: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce923d_69ae_11d9_bed3_505054503030);
455 pub const Audit_Logon: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x69979849_797a_11d9_bed3_505054503030);
456 pub const Audit_Logon_AccountLockout: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9217_69ae_11d9_bed3_505054503030);
457 pub const Audit_Logon_Claims: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9247_69ae_11d9_bed3_505054503030);
458 pub const Audit_Logon_Groups: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9249_69ae_11d9_bed3_505054503030);
459 pub const Audit_Logon_IPSecMainMode: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9218_69ae_11d9_bed3_505054503030);
460 pub const Audit_Logon_IPSecQuickMode: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9219_69ae_11d9_bed3_505054503030);
461 pub const Audit_Logon_IPSecUserMode: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce921a_69ae_11d9_bed3_505054503030);
462 pub const Audit_Logon_Logoff: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9216_69ae_11d9_bed3_505054503030);
463 pub const Audit_Logon_Logon: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9215_69ae_11d9_bed3_505054503030);
464 pub const Audit_Logon_NPS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9243_69ae_11d9_bed3_505054503030);
465 pub const Audit_Logon_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce921c_69ae_11d9_bed3_505054503030);
466 pub const Audit_Logon_SpecialLogon: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce921b_69ae_11d9_bed3_505054503030);
467 pub const Audit_ObjectAccess: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6997984a_797a_11d9_bed3_505054503030);
468 pub const Audit_ObjectAccess_ApplicationGenerated: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9222_69ae_11d9_bed3_505054503030);
469 pub const Audit_ObjectAccess_CbacStaging: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9246_69ae_11d9_bed3_505054503030);
470 pub const Audit_ObjectAccess_CertificationServices: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9221_69ae_11d9_bed3_505054503030);
471 pub const Audit_ObjectAccess_DetailedFileShare: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9244_69ae_11d9_bed3_505054503030);
472 pub const Audit_ObjectAccess_FileSystem: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce921d_69ae_11d9_bed3_505054503030);
473 pub const Audit_ObjectAccess_FirewallConnection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9226_69ae_11d9_bed3_505054503030);
474 pub const Audit_ObjectAccess_FirewallPacketDrops: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9225_69ae_11d9_bed3_505054503030);
475 pub const Audit_ObjectAccess_Handle: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9223_69ae_11d9_bed3_505054503030);
476 pub const Audit_ObjectAccess_Kernel: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce921f_69ae_11d9_bed3_505054503030);
477 pub const Audit_ObjectAccess_Other: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9227_69ae_11d9_bed3_505054503030);
478 pub const Audit_ObjectAccess_Registry: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce921e_69ae_11d9_bed3_505054503030);
479 pub const Audit_ObjectAccess_RemovableStorage: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9245_69ae_11d9_bed3_505054503030);
480 pub const Audit_ObjectAccess_Sam: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9220_69ae_11d9_bed3_505054503030);
481 pub const Audit_ObjectAccess_Share: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9224_69ae_11d9_bed3_505054503030);
482 pub const Audit_PolicyChange: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6997984d_797a_11d9_bed3_505054503030);
483 pub const Audit_PolicyChange_AuditPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce922f_69ae_11d9_bed3_505054503030);
484 pub const Audit_PolicyChange_AuthenticationPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9230_69ae_11d9_bed3_505054503030);
485 pub const Audit_PolicyChange_AuthorizationPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9231_69ae_11d9_bed3_505054503030);
486 pub const Audit_PolicyChange_MpsscvRulePolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9232_69ae_11d9_bed3_505054503030);
487 pub const Audit_PolicyChange_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9234_69ae_11d9_bed3_505054503030);
488 pub const Audit_PolicyChange_WfpIPSecPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9233_69ae_11d9_bed3_505054503030);
489 pub const Audit_PrivilegeUse: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6997984b_797a_11d9_bed3_505054503030);
490 pub const Audit_PrivilegeUse_NonSensitive: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9229_69ae_11d9_bed3_505054503030);
491 pub const Audit_PrivilegeUse_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce922a_69ae_11d9_bed3_505054503030);
492 pub const Audit_PrivilegeUse_Sensitive: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9228_69ae_11d9_bed3_505054503030);
493 pub const Audit_System: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x69979848_797a_11d9_bed3_505054503030);
494 pub const Audit_System_IPSecDriverEvents: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9213_69ae_11d9_bed3_505054503030);
495 pub const Audit_System_Integrity: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9212_69ae_11d9_bed3_505054503030);
496 pub const Audit_System_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9214_69ae_11d9_bed3_505054503030);
497 pub const Audit_System_SecurityStateChange: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9210_69ae_11d9_bed3_505054503030);
498 pub const Audit_System_SecuritySubsystemExtension: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9211_69ae_11d9_bed3_505054503030);
499 pub const CENTRAL_ACCESS_POLICY_OWNER_RIGHTS_PRESENT_FLAG: u32 = 1u32;
500 pub const CENTRAL_ACCESS_POLICY_STAGED_FLAG: u32 = 65536u32;
501 pub const CENTRAL_ACCESS_POLICY_STAGED_OWNER_RIGHTS_PRESENT_FLAG: u32 = 256u32;
502 pub const CLEAR_BLOCK_LENGTH: u32 = 8u32;
503 pub const CLOUDAP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CloudAP");
504 pub const CLOUDAP_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CloudAP");
505 pub const CREDP_FLAGS_CLEAR_PASSWORD: u32 = 8u32;
506 pub const CREDP_FLAGS_DONT_CACHE_TI: u32 = 4u32;
507 pub const CREDP_FLAGS_IN_PROCESS: u32 = 1u32;
508 pub const CREDP_FLAGS_TRUSTED_CALLER: u32 = 32u32;
509 pub const CREDP_FLAGS_USER_ENCRYPTED_PASSWORD: u32 = 16u32;
510 pub const CREDP_FLAGS_USE_MIDL_HEAP: u32 = 2u32;
511 pub const CREDP_FLAGS_VALIDATE_PROXY_TARGET: u32 = 64u32;
512 pub const CRED_MARSHALED_TI_SIZE_SIZE: u32 = 12u32;
513 pub const CYPHER_BLOCK_LENGTH: u32 = 8u32;
514 pub const CertHashInfo: KERB_CERTIFICATE_INFO_TYPE = 1i32;
515 pub const ClOUDAP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CloudAP");
516 pub const CollisionOther: LSA_FOREST_TRUST_COLLISION_RECORD_TYPE = 2i32;
517 pub const CollisionTdo: LSA_FOREST_TRUST_COLLISION_RECORD_TYPE = 0i32;
518 pub const CollisionXref: LSA_FOREST_TRUST_COLLISION_RECORD_TYPE = 1i32;
519 pub const CredFetchDPAPI: CRED_FETCH = 1i32;
520 pub const CredFetchDefault: CRED_FETCH = 0i32;
521 pub const CredFetchForced: CRED_FETCH = 2i32;
522 pub const DEFAULT_TLS_SSP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Default TLS SSP");
523 pub const DEFAULT_TLS_SSP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Default TLS SSP");
524 pub const DEFAULT_TLS_SSP_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Default TLS SSP");
525 pub const DOMAIN_LOCKOUT_ADMINS: DOMAIN_PASSWORD_PROPERTIES = 8u32;
526 pub const DOMAIN_NO_LM_OWF_CHANGE: i32 = 64i32;
527 pub const DOMAIN_PASSWORD_COMPLEX: DOMAIN_PASSWORD_PROPERTIES = 1u32;
528 pub const DOMAIN_PASSWORD_NO_ANON_CHANGE: DOMAIN_PASSWORD_PROPERTIES = 2u32;
529 pub const DOMAIN_PASSWORD_NO_CLEAR_CHANGE: DOMAIN_PASSWORD_PROPERTIES = 4u32;
530 pub const DOMAIN_PASSWORD_STORE_CLEARTEXT: DOMAIN_PASSWORD_PROPERTIES = 16u32;
531 pub const DOMAIN_REFUSE_PASSWORD_CHANGE: DOMAIN_PASSWORD_PROPERTIES = 32u32;
532 pub const DS_INET_ADDRESS: KERB_ADDRESS_TYPE = 1u32;
533 pub const DS_NETBIOS_ADDRESS: KERB_ADDRESS_TYPE = 2u32;
534 pub const DS_UNKNOWN_ADDRESS_TYPE: u32 = 0u32;
535 pub const DeprecatedIUMCredKey: MSV1_0_CREDENTIAL_KEY_TYPE = 1i32;
536 pub const DnsDomainInformation: LSA_LOOKUP_DOMAIN_INFO_CLASS = 12i32;
537 pub const DomainUserCredKey: MSV1_0_CREDENTIAL_KEY_TYPE = 2i32;
538 pub const ENABLE_TLS_CLIENT_EARLY_START: u32 = 1u32;
539 pub const E_RM_UNKNOWN_ERROR: ::windows_sys::core::HRESULT = -1073415165i32;
540 pub const ExternallySuppliedCredKey: MSV1_0_CREDENTIAL_KEY_TYPE = 4i32;
541 pub const FACILITY_SL_ITF: u32 = 4u32;
542 pub const ForestTrustBinaryInfo: LSA_FOREST_TRUST_RECORD_TYPE = 3i32;
543 pub const ForestTrustDomainInfo: LSA_FOREST_TRUST_RECORD_TYPE = 2i32;
544 pub const ForestTrustRecordTypeLast: LSA_FOREST_TRUST_RECORD_TYPE = 4i32;
545 pub const ForestTrustScannerInfo: LSA_FOREST_TRUST_RECORD_TYPE = 4i32;
546 pub const ForestTrustTopLevelName: LSA_FOREST_TRUST_RECORD_TYPE = 0i32;
547 pub const ForestTrustTopLevelNameEx: LSA_FOREST_TRUST_RECORD_TYPE = 1i32;
548 pub const ID_CAP_SLAPI: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("slapiQueryLicenseValue");
549 pub const ISC_REQ_ALLOCATE_MEMORY: ISC_REQ_FLAGS = 256u32;
550 pub const ISC_REQ_CALL_LEVEL: ISC_REQ_FLAGS = 4096u32;
551 pub const ISC_REQ_CONFIDENTIALITY: ISC_REQ_FLAGS = 16u32;
552 pub const ISC_REQ_CONFIDENTIALITY_ONLY: ISC_REQ_FLAGS = 1073741824u32;
553 pub const ISC_REQ_CONNECTION: ISC_REQ_FLAGS = 2048u32;
554 pub const ISC_REQ_DATAGRAM: ISC_REQ_FLAGS = 1024u32;
555 pub const ISC_REQ_DEFERRED_CRED_VALIDATION: ISC_REQ_HIGH_FLAGS = 8589934592u64;
556 pub const ISC_REQ_DELEGATE: ISC_REQ_FLAGS = 1u32;
557 pub const ISC_REQ_EXTENDED_ERROR: ISC_REQ_FLAGS = 16384u32;
558 pub const ISC_REQ_FORWARD_CREDENTIALS: ISC_REQ_FLAGS = 4194304u32;
559 pub const ISC_REQ_FRAGMENT_SUPPLIED: ISC_REQ_FLAGS = 8192u32;
560 pub const ISC_REQ_FRAGMENT_TO_FIT: ISC_REQ_FLAGS = 2097152u32;
561 pub const ISC_REQ_IDENTIFY: ISC_REQ_FLAGS = 131072u32;
562 pub const ISC_REQ_INTEGRITY: ISC_REQ_FLAGS = 65536u32;
563 pub const ISC_REQ_MANUAL_CRED_VALIDATION: ISC_REQ_FLAGS = 524288u32;
564 pub const ISC_REQ_MESSAGES: ISC_REQ_HIGH_FLAGS = 4294967296u64;
565 pub const ISC_REQ_MUTUAL_AUTH: ISC_REQ_FLAGS = 2u32;
566 pub const ISC_REQ_NO_INTEGRITY: ISC_REQ_FLAGS = 8388608u32;
567 pub const ISC_REQ_NO_POST_HANDSHAKE_AUTH: ISC_REQ_HIGH_FLAGS = 17179869184u64;
568 pub const ISC_REQ_NULL_SESSION: ISC_REQ_FLAGS = 262144u32;
569 pub const ISC_REQ_PROMPT_FOR_CREDS: ISC_REQ_FLAGS = 64u32;
570 pub const ISC_REQ_REPLAY_DETECT: ISC_REQ_FLAGS = 4u32;
571 pub const ISC_REQ_RESERVED1: ISC_REQ_FLAGS = 1048576u32;
572 pub const ISC_REQ_SEQUENCE_DETECT: ISC_REQ_FLAGS = 8u32;
573 pub const ISC_REQ_STREAM: ISC_REQ_FLAGS = 32768u32;
574 pub const ISC_REQ_UNVERIFIED_TARGET_NAME: ISC_REQ_FLAGS = 536870912u32;
575 pub const ISC_REQ_USE_DCE_STYLE: ISC_REQ_FLAGS = 512u32;
576 pub const ISC_REQ_USE_HTTP_STYLE: ISC_REQ_FLAGS = 16777216u32;
577 pub const ISC_REQ_USE_SESSION_KEY: ISC_REQ_FLAGS = 32u32;
578 pub const ISC_REQ_USE_SUPPLIED_CREDS: ISC_REQ_FLAGS = 128u32;
579 pub const ISC_RET_ALLOCATED_MEMORY: u32 = 256u32;
580 pub const ISC_RET_CALL_LEVEL: u32 = 8192u32;
581 pub const ISC_RET_CONFIDENTIALITY: u32 = 16u32;
582 pub const ISC_RET_CONFIDENTIALITY_ONLY: u32 = 1073741824u32;
583 pub const ISC_RET_CONNECTION: u32 = 2048u32;
584 pub const ISC_RET_DATAGRAM: u32 = 1024u32;
585 pub const ISC_RET_DEFERRED_CRED_VALIDATION: u64 = 8589934592u64;
586 pub const ISC_RET_DELEGATE: u32 = 1u32;
587 pub const ISC_RET_EXTENDED_ERROR: u32 = 16384u32;
588 pub const ISC_RET_FORWARD_CREDENTIALS: u32 = 4194304u32;
589 pub const ISC_RET_FRAGMENT_ONLY: u32 = 2097152u32;
590 pub const ISC_RET_IDENTIFY: u32 = 131072u32;
591 pub const ISC_RET_INTEGRITY: u32 = 65536u32;
592 pub const ISC_RET_INTERMEDIATE_RETURN: u32 = 4096u32;
593 pub const ISC_RET_MANUAL_CRED_VALIDATION: u32 = 524288u32;
594 pub const ISC_RET_MESSAGES: u64 = 4294967296u64;
595 pub const ISC_RET_MUTUAL_AUTH: u32 = 2u32;
596 pub const ISC_RET_NO_ADDITIONAL_TOKEN: u32 = 33554432u32;
597 pub const ISC_RET_NO_POST_HANDSHAKE_AUTH: u64 = 17179869184u64;
598 pub const ISC_RET_NULL_SESSION: u32 = 262144u32;
599 pub const ISC_RET_REAUTHENTICATION: u32 = 134217728u32;
600 pub const ISC_RET_REPLAY_DETECT: u32 = 4u32;
601 pub const ISC_RET_RESERVED1: u32 = 1048576u32;
602 pub const ISC_RET_SEQUENCE_DETECT: u32 = 8u32;
603 pub const ISC_RET_STREAM: u32 = 32768u32;
604 pub const ISC_RET_USED_COLLECTED_CREDS: u32 = 64u32;
605 pub const ISC_RET_USED_DCE_STYLE: u32 = 512u32;
606 pub const ISC_RET_USED_HTTP_STYLE: u32 = 16777216u32;
607 pub const ISC_RET_USED_SUPPLIED_CREDS: u32 = 128u32;
608 pub const ISC_RET_USE_SESSION_KEY: u32 = 32u32;
609 pub const ISSP_LEVEL: u32 = 32u32;
610 pub const ISSP_MODE: u32 = 1u32;
611 pub const InvalidCredKey: MSV1_0_CREDENTIAL_KEY_TYPE = 0i32;
612 pub const KDC_PROXY_SETTINGS_FLAGS_FORCEPROXY: u32 = 1u32;
613 pub const KDC_PROXY_SETTINGS_V1: u32 = 1u32;
614 pub const KERBEROS_REVISION: u32 = 6u32;
615 pub const KERBEROS_VERSION: u32 = 5u32;
616 pub const KERB_CERTIFICATE_LOGON_FLAG_CHECK_DUPLICATES: u32 = 1u32;
617 pub const KERB_CERTIFICATE_LOGON_FLAG_USE_CERTIFICATE_INFO: u32 = 2u32;
618 pub const KERB_CERTIFICATE_S4U_LOGON_FLAG_CHECK_DUPLICATES: u32 = 1u32;
619 pub const KERB_CERTIFICATE_S4U_LOGON_FLAG_CHECK_LOGONHOURS: u32 = 2u32;
620 pub const KERB_CERTIFICATE_S4U_LOGON_FLAG_FAIL_IF_NT_AUTH_POLICY_REQUIRED: u32 = 4u32;
621 pub const KERB_CERTIFICATE_S4U_LOGON_FLAG_IDENTIFY: u32 = 8u32;
622 pub const KERB_CHECKSUM_CRC32: u32 = 1u32;
623 pub const KERB_CHECKSUM_DES_MAC: i32 = -133i32;
624 pub const KERB_CHECKSUM_DES_MAC_MD5: i32 = -134i32;
625 pub const KERB_CHECKSUM_HMAC_MD5: i32 = -138i32;
626 pub const KERB_CHECKSUM_HMAC_SHA1_96_AES128: u32 = 15u32;
627 pub const KERB_CHECKSUM_HMAC_SHA1_96_AES128_Ki: i32 = -150i32;
628 pub const KERB_CHECKSUM_HMAC_SHA1_96_AES256: u32 = 16u32;
629 pub const KERB_CHECKSUM_HMAC_SHA1_96_AES256_Ki: i32 = -151i32;
630 pub const KERB_CHECKSUM_KRB_DES_MAC: u32 = 4u32;
631 pub const KERB_CHECKSUM_KRB_DES_MAC_K: u32 = 5u32;
632 pub const KERB_CHECKSUM_LM: i32 = -130i32;
633 pub const KERB_CHECKSUM_MD25: i32 = -135i32;
634 pub const KERB_CHECKSUM_MD4: u32 = 2u32;
635 pub const KERB_CHECKSUM_MD5: u32 = 7u32;
636 pub const KERB_CHECKSUM_MD5_DES: u32 = 8u32;
637 pub const KERB_CHECKSUM_MD5_HMAC: i32 = -137i32;
638 pub const KERB_CHECKSUM_NONE: u32 = 0u32;
639 pub const KERB_CHECKSUM_RC4_MD5: i32 = -136i32;
640 pub const KERB_CHECKSUM_REAL_CRC32: i32 = -132i32;
641 pub const KERB_CHECKSUM_SHA1: i32 = -131i32;
642 pub const KERB_CHECKSUM_SHA1_NEW: u32 = 14u32;
643 pub const KERB_CHECKSUM_SHA256: i32 = -139i32;
644 pub const KERB_CHECKSUM_SHA384: i32 = -140i32;
645 pub const KERB_CHECKSUM_SHA512: i32 = -141i32;
646 pub const KERB_CLOUD_KERBEROS_DEBUG_DATA_VERSION: u32 = 1u32;
647 pub const KERB_DECRYPT_FLAG_DEFAULT_KEY: u32 = 1u32;
648 pub const KERB_ETYPE_AES128_CTS_HMAC_SHA1_96: u32 = 17u32;
649 pub const KERB_ETYPE_AES128_CTS_HMAC_SHA1_96_PLAIN: i32 = -148i32;
650 pub const KERB_ETYPE_AES256_CTS_HMAC_SHA1_96: u32 = 18u32;
651 pub const KERB_ETYPE_AES256_CTS_HMAC_SHA1_96_PLAIN: i32 = -149i32;
652 pub const KERB_ETYPE_DEFAULT: u32 = 0u32;
653 pub const KERB_ETYPE_DES3_CBC_MD5: u32 = 5u32;
654 pub const KERB_ETYPE_DES3_CBC_SHA1: u32 = 7u32;
655 pub const KERB_ETYPE_DES3_CBC_SHA1_KD: u32 = 16u32;
656 pub const KERB_ETYPE_DES_CBC_CRC: KERB_CRYPTO_KEY_TYPE = 1i32;
657 pub const KERB_ETYPE_DES_CBC_MD4: KERB_CRYPTO_KEY_TYPE = 2i32;
658 pub const KERB_ETYPE_DES_CBC_MD5: KERB_CRYPTO_KEY_TYPE = 3i32;
659 pub const KERB_ETYPE_DES_CBC_MD5_NT: u32 = 20u32;
660 pub const KERB_ETYPE_DES_EDE3_CBC_ENV: u32 = 15u32;
661 pub const KERB_ETYPE_DES_PLAIN: i32 = -132i32;
662 pub const KERB_ETYPE_DSA_SHA1_CMS: u32 = 9u32;
663 pub const KERB_ETYPE_DSA_SIGN: u32 = 8u32;
664 pub const KERB_ETYPE_NULL: KERB_CRYPTO_KEY_TYPE = 0i32;
665 pub const KERB_ETYPE_PKCS7_PUB: u32 = 13u32;
666 pub const KERB_ETYPE_RC2_CBC_ENV: u32 = 12u32;
667 pub const KERB_ETYPE_RC4_HMAC_NT: KERB_CRYPTO_KEY_TYPE = 23i32;
668 pub const KERB_ETYPE_RC4_HMAC_NT_EXP: u32 = 24u32;
669 pub const KERB_ETYPE_RC4_HMAC_OLD: i32 = -133i32;
670 pub const KERB_ETYPE_RC4_HMAC_OLD_EXP: i32 = -135i32;
671 pub const KERB_ETYPE_RC4_LM: i32 = -130i32;
672 pub const KERB_ETYPE_RC4_MD4: KERB_CRYPTO_KEY_TYPE = -128i32;
673 pub const KERB_ETYPE_RC4_PLAIN: i32 = -140i32;
674 pub const KERB_ETYPE_RC4_PLAIN2: i32 = -129i32;
675 pub const KERB_ETYPE_RC4_PLAIN_EXP: i32 = -141i32;
676 pub const KERB_ETYPE_RC4_PLAIN_OLD: i32 = -134i32;
677 pub const KERB_ETYPE_RC4_PLAIN_OLD_EXP: i32 = -136i32;
678 pub const KERB_ETYPE_RC4_SHA: i32 = -131i32;
679 pub const KERB_ETYPE_RSA_ENV: u32 = 13u32;
680 pub const KERB_ETYPE_RSA_ES_OEAP_ENV: u32 = 14u32;
681 pub const KERB_ETYPE_RSA_MD5_CMS: u32 = 10u32;
682 pub const KERB_ETYPE_RSA_PRIV: u32 = 9u32;
683 pub const KERB_ETYPE_RSA_PUB: u32 = 10u32;
684 pub const KERB_ETYPE_RSA_PUB_MD5: u32 = 11u32;
685 pub const KERB_ETYPE_RSA_PUB_SHA1: u32 = 12u32;
686 pub const KERB_ETYPE_RSA_SHA1_CMS: u32 = 11u32;
687 pub const KERB_LOGON_FLAG_ALLOW_EXPIRED_TICKET: u32 = 1u32;
688 pub const KERB_LOGON_FLAG_REDIRECTED: u32 = 2u32;
689 pub const KERB_PURGE_ALL_TICKETS: u32 = 1u32;
690 pub const KERB_QUERY_DOMAIN_EXTENDED_POLICIES_RESPONSE_FLAG_DAC_DISABLED: u32 = 1u32;
691 pub const KERB_REFRESH_POLICY_KDC: u32 = 2u32;
692 pub const KERB_REFRESH_POLICY_KERBEROS: u32 = 1u32;
693 pub const KERB_REFRESH_SCCRED_GETTGT: u32 = 1u32;
694 pub const KERB_REFRESH_SCCRED_RELEASE: u32 = 0u32;
695 pub const KERB_REQUEST_ADD_CREDENTIAL: KERB_REQUEST_FLAGS = 1u32;
696 pub const KERB_REQUEST_REMOVE_CREDENTIAL: KERB_REQUEST_FLAGS = 4u32;
697 pub const KERB_REQUEST_REPLACE_CREDENTIAL: KERB_REQUEST_FLAGS = 2u32;
698 pub const KERB_RETRIEVE_TICKET_AS_KERB_CRED: u32 = 8u32;
699 pub const KERB_RETRIEVE_TICKET_CACHE_TICKET: u32 = 32u32;
700 pub const KERB_RETRIEVE_TICKET_DEFAULT: u32 = 0u32;
701 pub const KERB_RETRIEVE_TICKET_DONT_USE_CACHE: u32 = 1u32;
702 pub const KERB_RETRIEVE_TICKET_MAX_LIFETIME: u32 = 64u32;
703 pub const KERB_RETRIEVE_TICKET_USE_CACHE_ONLY: u32 = 2u32;
704 pub const KERB_RETRIEVE_TICKET_USE_CREDHANDLE: u32 = 4u32;
705 pub const KERB_RETRIEVE_TICKET_WITH_SEC_CRED: u32 = 16u32;
706 pub const KERB_S4U2PROXY_CACHE_ENTRY_INFO_FLAG_NEGATIVE: u32 = 1u32;
707 pub const KERB_S4U2PROXY_CRED_FLAG_NEGATIVE: u32 = 1u32;
708 pub const KERB_S4U_LOGON_FLAG_CHECK_LOGONHOURS: u32 = 2u32;
709 pub const KERB_S4U_LOGON_FLAG_IDENTIFY: u32 = 8u32;
710 pub const KERB_SETPASS_USE_CREDHANDLE: u32 = 2u32;
711 pub const KERB_SETPASS_USE_LOGONID: u32 = 1u32;
712 pub const KERB_TICKET_FLAGS_cname_in_pa_data: u32 = 262144u32;
713 pub const KERB_TICKET_FLAGS_enc_pa_rep: u32 = 65536u32;
714 pub const KERB_TICKET_FLAGS_forwardable: KERB_TICKET_FLAGS = 1073741824u32;
715 pub const KERB_TICKET_FLAGS_forwarded: KERB_TICKET_FLAGS = 536870912u32;
716 pub const KERB_TICKET_FLAGS_hw_authent: KERB_TICKET_FLAGS = 1048576u32;
717 pub const KERB_TICKET_FLAGS_initial: KERB_TICKET_FLAGS = 4194304u32;
718 pub const KERB_TICKET_FLAGS_invalid: KERB_TICKET_FLAGS = 16777216u32;
719 pub const KERB_TICKET_FLAGS_may_postdate: KERB_TICKET_FLAGS = 67108864u32;
720 pub const KERB_TICKET_FLAGS_name_canonicalize: u32 = 65536u32;
721 pub const KERB_TICKET_FLAGS_ok_as_delegate: KERB_TICKET_FLAGS = 262144u32;
722 pub const KERB_TICKET_FLAGS_postdated: KERB_TICKET_FLAGS = 33554432u32;
723 pub const KERB_TICKET_FLAGS_pre_authent: KERB_TICKET_FLAGS = 2097152u32;
724 pub const KERB_TICKET_FLAGS_proxiable: KERB_TICKET_FLAGS = 268435456u32;
725 pub const KERB_TICKET_FLAGS_proxy: KERB_TICKET_FLAGS = 134217728u32;
726 pub const KERB_TICKET_FLAGS_renewable: KERB_TICKET_FLAGS = 8388608u32;
727 pub const KERB_TICKET_FLAGS_reserved: KERB_TICKET_FLAGS = 2147483648u32;
728 pub const KERB_TICKET_FLAGS_reserved1: KERB_TICKET_FLAGS = 1u32;
729 pub const KERB_TRANSFER_CRED_CLEANUP_CREDENTIALS: u32 = 2u32;
730 pub const KERB_TRANSFER_CRED_WITH_TICKETS: u32 = 1u32;
731 pub const KERB_USE_DEFAULT_TICKET_FLAGS: u32 = 0u32;
732 pub const KERB_WRAP_NO_ENCRYPT: u32 = 2147483649u32;
733 pub const KERN_CONTEXT_CERT_INFO_V1: u32 = 0u32;
734 pub const KRB_ANONYMOUS_STRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ANONYMOUS");
735 pub const KRB_NT_ENTERPRISE_PRINCIPAL: u32 = 10u32;
736 pub const KRB_NT_ENT_PRINCIPAL_AND_ID: i32 = -130i32;
737 pub const KRB_NT_MS_BRANCH_ID: i32 = -133i32;
738 pub const KRB_NT_MS_PRINCIPAL: i32 = -128i32;
739 pub const KRB_NT_MS_PRINCIPAL_AND_ID: i32 = -129i32;
740 pub const KRB_NT_PRINCIPAL: u32 = 1u32;
741 pub const KRB_NT_PRINCIPAL_AND_ID: i32 = -131i32;
742 pub const KRB_NT_SRV_HST: u32 = 3u32;
743 pub const KRB_NT_SRV_INST: u32 = 2u32;
744 pub const KRB_NT_SRV_INST_AND_ID: i32 = -132i32;
745 pub const KRB_NT_SRV_XHST: u32 = 4u32;
746 pub const KRB_NT_UID: u32 = 5u32;
747 pub const KRB_NT_UNKNOWN: u32 = 0u32;
748 pub const KRB_NT_WELLKNOWN: u32 = 11u32;
749 pub const KRB_NT_X500_PRINCIPAL: u32 = 6u32;
750 pub const KRB_WELLKNOWN_STRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WELLKNOWN");
751 pub const KSecNonPaged: KSEC_CONTEXT_TYPE = 1i32;
752 pub const KSecPaged: KSEC_CONTEXT_TYPE = 0i32;
753 pub const KerbAddBindingCacheEntryExMessage: KERB_PROTOCOL_MESSAGE_TYPE = 27i32;
754 pub const KerbAddBindingCacheEntryMessage: KERB_PROTOCOL_MESSAGE_TYPE = 10i32;
755 pub const KerbAddExtraCredentialsExMessage: KERB_PROTOCOL_MESSAGE_TYPE = 22i32;
756 pub const KerbAddExtraCredentialsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 17i32;
757 pub const KerbCertificateLogon: KERB_LOGON_SUBMIT_TYPE = 13i32;
758 pub const KerbCertificateS4ULogon: KERB_LOGON_SUBMIT_TYPE = 14i32;
759 pub const KerbCertificateUnlockLogon: KERB_LOGON_SUBMIT_TYPE = 15i32;
760 pub const KerbChangeMachinePasswordMessage: KERB_PROTOCOL_MESSAGE_TYPE = 2i32;
761 pub const KerbChangePasswordMessage: KERB_PROTOCOL_MESSAGE_TYPE = 7i32;
762 pub const KerbCleanupMachinePkinitCredsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 26i32;
763 pub const KerbDebugRequestMessage: KERB_PROTOCOL_MESSAGE_TYPE = 0i32;
764 pub const KerbDecryptDataMessage: KERB_PROTOCOL_MESSAGE_TYPE = 9i32;
765 pub const KerbInteractiveLogon: KERB_LOGON_SUBMIT_TYPE = 2i32;
766 pub const KerbInteractiveProfile: KERB_PROFILE_BUFFER_TYPE = 2i32;
767 pub const KerbLuidLogon: KERB_LOGON_SUBMIT_TYPE = 84i32;
768 pub const KerbNoElevationLogon: KERB_LOGON_SUBMIT_TYPE = 83i32;
769 pub const KerbPinKdcMessage: KERB_PROTOCOL_MESSAGE_TYPE = 30i32;
770 pub const KerbPrintCloudKerberosDebugMessage: KERB_PROTOCOL_MESSAGE_TYPE = 36i32;
771 pub const KerbProxyLogon: KERB_LOGON_SUBMIT_TYPE = 9i32;
772 pub const KerbPurgeBindingCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 29i32;
773 pub const KerbPurgeKdcProxyCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 24i32;
774 pub const KerbPurgeTicketCacheExMessage: KERB_PROTOCOL_MESSAGE_TYPE = 15i32;
775 pub const KerbPurgeTicketCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 6i32;
776 pub const KerbQueryBindingCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 28i32;
777 pub const KerbQueryDomainExtendedPoliciesMessage: KERB_PROTOCOL_MESSAGE_TYPE = 32i32;
778 pub const KerbQueryKdcProxyCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 23i32;
779 pub const KerbQueryS4U2ProxyCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 33i32;
780 pub const KerbQuerySupplementalCredentialsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 18i32;
781 pub const KerbQueryTicketCacheEx2Message: KERB_PROTOCOL_MESSAGE_TYPE = 20i32;
782 pub const KerbQueryTicketCacheEx3Message: KERB_PROTOCOL_MESSAGE_TYPE = 25i32;
783 pub const KerbQueryTicketCacheExMessage: KERB_PROTOCOL_MESSAGE_TYPE = 14i32;
784 pub const KerbQueryTicketCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 1i32;
785 pub const KerbRefreshPolicyMessage: KERB_PROTOCOL_MESSAGE_TYPE = 35i32;
786 pub const KerbRefreshSmartcardCredentialsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 16i32;
787 pub const KerbRetrieveEncodedTicketMessage: KERB_PROTOCOL_MESSAGE_TYPE = 8i32;
788 pub const KerbRetrieveKeyTabMessage: KERB_PROTOCOL_MESSAGE_TYPE = 34i32;
789 pub const KerbRetrieveTicketMessage: KERB_PROTOCOL_MESSAGE_TYPE = 4i32;
790 pub const KerbS4ULogon: KERB_LOGON_SUBMIT_TYPE = 12i32;
791 pub const KerbSetPasswordExMessage: KERB_PROTOCOL_MESSAGE_TYPE = 12i32;
792 pub const KerbSetPasswordMessage: KERB_PROTOCOL_MESSAGE_TYPE = 11i32;
793 pub const KerbSmartCardLogon: KERB_LOGON_SUBMIT_TYPE = 6i32;
794 pub const KerbSmartCardProfile: KERB_PROFILE_BUFFER_TYPE = 4i32;
795 pub const KerbSmartCardUnlockLogon: KERB_LOGON_SUBMIT_TYPE = 8i32;
796 pub const KerbSubmitTicketMessage: KERB_PROTOCOL_MESSAGE_TYPE = 21i32;
797 pub const KerbTicketLogon: KERB_LOGON_SUBMIT_TYPE = 10i32;
798 pub const KerbTicketProfile: KERB_PROFILE_BUFFER_TYPE = 6i32;
799 pub const KerbTicketUnlockLogon: KERB_LOGON_SUBMIT_TYPE = 11i32;
800 pub const KerbTransferCredentialsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 19i32;
801 pub const KerbUnpinAllKdcsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 31i32;
802 pub const KerbUpdateAddressesMessage: KERB_PROTOCOL_MESSAGE_TYPE = 5i32;
803 pub const KerbVerifyCredentialsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 13i32;
804 pub const KerbVerifyPacMessage: KERB_PROTOCOL_MESSAGE_TYPE = 3i32;
805 pub const KerbWorkstationUnlockLogon: KERB_LOGON_SUBMIT_TYPE = 7i32;
806 pub const LCRED_CRED_EXISTS: u32 = 1u32;
807 pub const LCRED_STATUS_NOCRED: u32 = 0u32;
808 pub const LCRED_STATUS_UNKNOWN_ISSUER: u32 = 2u32;
809 pub const LOGON_CACHED_ACCOUNT: MSV_SUB_AUTHENTICATION_FILTER = 4u32;
810 pub const LOGON_EXTRA_SIDS: MSV_SUB_AUTHENTICATION_FILTER = 32u32;
811 pub const LOGON_GRACE_LOGON: u32 = 16777216u32;
812 pub const LOGON_GUEST: MSV_SUB_AUTHENTICATION_FILTER = 1u32;
813 pub const LOGON_LM_V2: u32 = 4096u32;
814 pub const LOGON_MANAGED_SERVICE: u32 = 524288u32;
815 pub const LOGON_NOENCRYPTION: MSV_SUB_AUTHENTICATION_FILTER = 2u32;
816 pub const LOGON_NO_ELEVATION: u32 = 262144u32;
817 pub const LOGON_NO_OPTIMIZED: u32 = 131072u32;
818 pub const LOGON_NTLMV2_ENABLED: u32 = 256u32;
819 pub const LOGON_NTLM_V2: u32 = 8192u32;
820 pub const LOGON_NT_V2: u32 = 2048u32;
821 pub const LOGON_OPTIMIZED: u32 = 16384u32;
822 pub const LOGON_PKINIT: u32 = 65536u32;
823 pub const LOGON_PROFILE_PATH_RETURNED: MSV_SUB_AUTHENTICATION_FILTER = 1024u32;
824 pub const LOGON_RESOURCE_GROUPS: MSV_SUB_AUTHENTICATION_FILTER = 512u32;
825 pub const LOGON_SERVER_TRUST_ACCOUNT: MSV_SUB_AUTHENTICATION_FILTER = 128u32;
826 pub const LOGON_SUBAUTH_SESSION_KEY: MSV_SUB_AUTHENTICATION_FILTER = 64u32;
827 pub const LOGON_USED_LM_PASSWORD: MSV_SUB_AUTHENTICATION_FILTER = 8u32;
828 pub const LOGON_WINLOGON: u32 = 32768u32;
829 pub const LOOKUP_TRANSLATE_NAMES: u32 = 2048u32;
830 pub const LOOKUP_VIEW_LOCAL_INFORMATION: u32 = 1u32;
831 pub const LSAD_AES_BLOCK_SIZE: u32 = 16u32;
832 pub const LSAD_AES_CRYPT_SHA512_HASH_SIZE: u32 = 64u32;
833 pub const LSAD_AES_KEY_SIZE: u32 = 16u32;
834 pub const LSAD_AES_SALT_SIZE: u32 = 16u32;
835 pub const LSASETCAPS_RELOAD_FLAG: u32 = 1u32;
836 pub const LSASETCAPS_VALID_FLAG_MASK: u32 = 1u32;
837 pub const LSA_ADT_LEGACY_SECURITY_SOURCE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Security");
838 pub const LSA_ADT_SECURITY_SOURCE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft-Windows-Security-Auditing");
839 pub const LSA_AP_NAME_CALL_PACKAGE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("LsaApCallPackage\u{0}");
840 pub const LSA_AP_NAME_CALL_PACKAGE_PASSTHROUGH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("LsaApCallPackagePassthrough\u{0}");
841 pub const LSA_AP_NAME_CALL_PACKAGE_UNTRUSTED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("LsaApCallPackageUntrusted\u{0}");
842 pub const LSA_AP_NAME_INITIALIZE_PACKAGE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("LsaApInitializePackage\u{0}");
843 pub const LSA_AP_NAME_LOGON_TERMINATED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("LsaApLogonTerminated\u{0}");
844 pub const LSA_AP_NAME_LOGON_USER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("LsaApLogonUser\u{0}");
845 pub const LSA_AP_NAME_LOGON_USER_EX: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("LsaApLogonUserEx\u{0}");
846 pub const LSA_AP_NAME_LOGON_USER_EX2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("LsaApLogonUserEx2\u{0}");
847 pub const LSA_CALL_LICENSE_SERVER: u32 = 2147483648u32;
848 pub const LSA_FOREST_TRUST_RECORD_TYPE_UNRECOGNIZED: u32 = 2147483648u32;
849 pub const LSA_FTRECORD_DISABLED_REASONS: i32 = 65535i32;
850 pub const LSA_GLOBAL_SECRET_PREFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("G$");
851 pub const LSA_GLOBAL_SECRET_PREFIX_LENGTH: u32 = 2u32;
852 pub const LSA_LOCAL_SECRET_PREFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("L$");
853 pub const LSA_LOCAL_SECRET_PREFIX_LENGTH: u32 = 2u32;
854 pub const LSA_LOOKUP_DISALLOW_CONNECTED_ACCOUNT_INTERNET_SID: u32 = 2147483648u32;
855 pub const LSA_LOOKUP_ISOLATED_AS_LOCAL: u32 = 2147483648u32;
856 pub const LSA_LOOKUP_PREFER_INTERNET_NAMES: u32 = 1073741824u32;
857 pub const LSA_MACHINE_SECRET_PREFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("M$");
858 pub const LSA_MAXIMUM_ENUMERATION_LENGTH: u32 = 32000u32;
859 pub const LSA_MAXIMUM_SID_COUNT: i32 = 256i32;
860 pub const LSA_MODE_INDIVIDUAL_ACCOUNTS: i32 = 2i32;
861 pub const LSA_MODE_LOG_FULL: i32 = 8i32;
862 pub const LSA_MODE_MANDATORY_ACCESS: i32 = 4i32;
863 pub const LSA_MODE_PASSWORD_PROTECTED: i32 = 1i32;
864 pub const LSA_NB_DISABLED_ADMIN: i32 = 4i32;
865 pub const LSA_NB_DISABLED_CONFLICT: i32 = 8i32;
866 pub const LSA_QUERY_CLIENT_PRELOGON_SESSION_ID: u32 = 1u32;
867 pub const LSA_SCANNER_INFO_ADMIN_ALL_FLAGS: i32 = 1i32;
868 pub const LSA_SCANNER_INFO_DISABLE_AUTH_TARGET_VALIDATION: i32 = 1i32;
869 pub const LSA_SECRET_MAXIMUM_COUNT: i32 = 4096i32;
870 pub const LSA_SECRET_MAXIMUM_LENGTH: i32 = 512i32;
871 pub const LSA_SID_DISABLED_ADMIN: i32 = 1i32;
872 pub const LSA_SID_DISABLED_CONFLICT: i32 = 2i32;
873 pub const LSA_TLN_DISABLED_ADMIN: i32 = 2i32;
874 pub const LSA_TLN_DISABLED_CONFLICT: i32 = 4i32;
875 pub const LSA_TLN_DISABLED_NEW: i32 = 1i32;
876 pub const LocalUserCredKey: MSV1_0_CREDENTIAL_KEY_TYPE = 3i32;
877 pub const LsaTokenInformationNull: LSA_TOKEN_INFORMATION_TYPE = 0i32;
878 pub const LsaTokenInformationV1: LSA_TOKEN_INFORMATION_TYPE = 1i32;
879 pub const LsaTokenInformationV2: LSA_TOKEN_INFORMATION_TYPE = 2i32;
880 pub const LsaTokenInformationV3: LSA_TOKEN_INFORMATION_TYPE = 3i32;
881 pub const MAXIMUM_CAPES_PER_CAP: u32 = 127u32;
882 pub const MAX_CRED_SIZE: u32 = 1024u32;
883 pub const MAX_PROTOCOL_ID_SIZE: u32 = 255u32;
884 pub const MAX_RECORDS_IN_FOREST_TRUST_INFO: u32 = 4000u32;
885 pub const MAX_USER_RECORDS: u32 = 1000u32;
886 pub const MICROSOFT_KERBEROS_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Kerberos");
887 pub const MICROSOFT_KERBEROS_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Kerberos");
888 pub const MICROSOFT_KERBEROS_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Kerberos");
889 pub const MSV1_0_ALLOW_FORCE_GUEST: u32 = 8192u32;
890 pub const MSV1_0_ALLOW_MSVCHAPV2: u32 = 65536u32;
891 pub const MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 32u32;
892 pub const MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 2048u32;
893 pub const MSV1_0_AV_FLAG_FORCE_GUEST: u32 = 1u32;
894 pub const MSV1_0_AV_FLAG_MIC_HANDSHAKE_MESSAGES: u32 = 2u32;
895 pub const MSV1_0_AV_FLAG_UNVERIFIED_TARGET: u32 = 4u32;
896 pub const MSV1_0_CHALLENGE_LENGTH: u32 = 8u32;
897 pub const MSV1_0_CHECK_LOGONHOURS_FOR_S4U: u32 = 262144u32;
898 pub const MSV1_0_CLEARTEXT_PASSWORD_ALLOWED: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 2u32;
899 pub const MSV1_0_CLEARTEXT_PASSWORD_SUPPLIED: u32 = 16384u32;
900 pub const MSV1_0_CREDENTIAL_KEY_LENGTH: u32 = 20u32;
901 pub const MSV1_0_CRED_CREDKEY_PRESENT: u32 = 8u32;
902 pub const MSV1_0_CRED_LM_PRESENT: MSV_SUPPLEMENTAL_CREDENTIAL_FLAGS = 1u32;
903 pub const MSV1_0_CRED_NT_PRESENT: MSV_SUPPLEMENTAL_CREDENTIAL_FLAGS = 2u32;
904 pub const MSV1_0_CRED_REMOVED: u32 = 4u32;
905 pub const MSV1_0_CRED_SHA_PRESENT: u32 = 16u32;
906 pub const MSV1_0_CRED_VERSION: MSV_SUPPLEMENTAL_CREDENTIAL_FLAGS = 0u32;
907 pub const MSV1_0_CRED_VERSION_ARSO: u32 = 4294901763u32;
908 pub const MSV1_0_CRED_VERSION_INVALID: u32 = 4294967295u32;
909 pub const MSV1_0_CRED_VERSION_IUM: u32 = 4294901761u32;
910 pub const MSV1_0_CRED_VERSION_REMOTE: u32 = 4294901762u32;
911 pub const MSV1_0_CRED_VERSION_RESERVED_1: u32 = 4294967294u32;
912 pub const MSV1_0_CRED_VERSION_V2: u32 = 2u32;
913 pub const MSV1_0_CRED_VERSION_V3: u32 = 4u32;
914 pub const MSV1_0_DISABLE_PERSONAL_FALLBACK: u32 = 4096u32;
915 pub const MSV1_0_DONT_TRY_GUEST_ACCOUNT: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 16u32;
916 pub const MSV1_0_GUEST_LOGON: MSV1_0 = 2u32;
917 pub const MSV1_0_INTERNET_DOMAIN: u32 = 524288u32;
918 pub const MSV1_0_LANMAN_SESSION_KEY_LENGTH: u32 = 8u32;
919 pub const MSV1_0_MAX_AVL_SIZE: u32 = 64000u32;
920 pub const MSV1_0_MAX_NTLM3_LIFE: u32 = 1800u32;
921 pub const MSV1_0_MNS_LOGON: u32 = 16777216u32;
922 pub const MSV1_0_NTLM3_OWF_LENGTH: u32 = 16u32;
923 pub const MSV1_0_NTLM3_RESPONSE_LENGTH: u32 = 16u32;
924 pub const MSV1_0_OWF_PASSWORD_LENGTH: u32 = 16u32;
925 pub const MSV1_0_PACKAGE_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("MICROSOFT_AUTHENTICATION_PACKAGE_V1_0");
926 pub const MSV1_0_PACKAGE_NAMEW: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MICROSOFT_AUTHENTICATION_PACKAGE_V1_0");
927 pub const MSV1_0_PASSTHRU: MSV1_0 = 1u32;
928 pub const MSV1_0_RETURN_PASSWORD_EXPIRY: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 64u32;
929 pub const MSV1_0_RETURN_PROFILE_PATH: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 512u32;
930 pub const MSV1_0_RETURN_USER_PARAMETERS: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 8u32;
931 pub const MSV1_0_S4U2SELF: u32 = 131072u32;
932 pub const MSV1_0_S4U_LOGON_FLAG_CHECK_LOGONHOURS: u32 = 2u32;
933 pub const MSV1_0_SHA_PASSWORD_LENGTH: u32 = 20u32;
934 pub const MSV1_0_SUBAUTHENTICATION_DLL: u32 = 4278190080u32;
935 pub const MSV1_0_SUBAUTHENTICATION_DLL_EX: u32 = 1048576u32;
936 pub const MSV1_0_SUBAUTHENTICATION_DLL_IIS: u32 = 132u32;
937 pub const MSV1_0_SUBAUTHENTICATION_DLL_RAS: u32 = 2u32;
938 pub const MSV1_0_SUBAUTHENTICATION_DLL_SHIFT: u32 = 24u32;
939 pub const MSV1_0_SUBAUTHENTICATION_FLAGS: u32 = 4278190080u32;
940 pub const MSV1_0_SUBAUTHENTICATION_KEY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("SYSTEM\\CurrentControlSet\\Control\\Lsa\\MSV1_0");
941 pub const MSV1_0_SUBAUTHENTICATION_VALUE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Auth");
942 pub const MSV1_0_SUBAUTH_ACCOUNT_DISABLED: u32 = 1u32;
943 pub const MSV1_0_SUBAUTH_ACCOUNT_EXPIRY: u32 = 16u32;
944 pub const MSV1_0_SUBAUTH_ACCOUNT_TYPE: u32 = 64u32;
945 pub const MSV1_0_SUBAUTH_LOCKOUT: u32 = 128u32;
946 pub const MSV1_0_SUBAUTH_LOGON_HOURS: u32 = 8u32;
947 pub const MSV1_0_SUBAUTH_PASSWORD: u32 = 2u32;
948 pub const MSV1_0_SUBAUTH_PASSWORD_EXPIRY: u32 = 32u32;
949 pub const MSV1_0_SUBAUTH_WORKSTATIONS: u32 = 4u32;
950 pub const MSV1_0_TRY_GUEST_ACCOUNT_ONLY: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 256u32;
951 pub const MSV1_0_TRY_SPECIFIED_DOMAIN_ONLY: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 1024u32;
952 pub const MSV1_0_UPDATE_LOGON_STATISTICS: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 4u32;
953 pub const MSV1_0_USER_SESSION_KEY_LENGTH: u32 = 16u32;
954 pub const MSV1_0_USE_CLIENT_CHALLENGE: u32 = 128u32;
955 pub const MSV1_0_USE_DOMAIN_FOR_ROUTING_ONLY: u32 = 32768u32;
956 pub const MSV1_0_VALIDATION_KICKOFF_TIME: u32 = 2u32;
957 pub const MSV1_0_VALIDATION_LOGOFF_TIME: u32 = 1u32;
958 pub const MSV1_0_VALIDATION_LOGON_DOMAIN: u32 = 8u32;
959 pub const MSV1_0_VALIDATION_LOGON_SERVER: u32 = 4u32;
960 pub const MSV1_0_VALIDATION_SESSION_KEY: u32 = 16u32;
961 pub const MSV1_0_VALIDATION_USER_FLAGS: u32 = 32u32;
962 pub const MSV1_0_VALIDATION_USER_ID: u32 = 64u32;
963 pub const MsV1_0CacheLogon: MSV1_0_PROTOCOL_MESSAGE_TYPE = 8i32;
964 pub const MsV1_0CacheLookup: MSV1_0_PROTOCOL_MESSAGE_TYPE = 11i32;
965 pub const MsV1_0CacheLookupEx: MSV1_0_PROTOCOL_MESSAGE_TYPE = 17i32;
966 pub const MsV1_0ChangeCachedPassword: MSV1_0_PROTOCOL_MESSAGE_TYPE = 6i32;
967 pub const MsV1_0ChangePassword: MSV1_0_PROTOCOL_MESSAGE_TYPE = 5i32;
968 pub const MsV1_0ClearCachedCredentials: MSV1_0_PROTOCOL_MESSAGE_TYPE = 14i32;
969 pub const MsV1_0ConfigLocalAliases: MSV1_0_PROTOCOL_MESSAGE_TYPE = 13i32;
970 pub const MsV1_0DecryptDpapiMasterKey: MSV1_0_PROTOCOL_MESSAGE_TYPE = 20i32;
971 pub const MsV1_0DeleteTbalSecrets: MSV1_0_PROTOCOL_MESSAGE_TYPE = 24i32;
972 pub const MsV1_0DeriveCredential: MSV1_0_PROTOCOL_MESSAGE_TYPE = 10i32;
973 pub const MsV1_0EnumerateUsers: MSV1_0_PROTOCOL_MESSAGE_TYPE = 2i32;
974 pub const MsV1_0GenericPassthrough: MSV1_0_PROTOCOL_MESSAGE_TYPE = 7i32;
975 pub const MsV1_0GetCredentialKey: MSV1_0_PROTOCOL_MESSAGE_TYPE = 18i32;
976 pub const MsV1_0GetStrongCredentialKey: MSV1_0_PROTOCOL_MESSAGE_TYPE = 21i32;
977 pub const MsV1_0GetUserInfo: MSV1_0_PROTOCOL_MESSAGE_TYPE = 3i32;
978 pub const MsV1_0InteractiveLogon: MSV1_0_LOGON_SUBMIT_TYPE = 2i32;
979 pub const MsV1_0InteractiveProfile: MSV1_0_PROFILE_BUFFER_TYPE = 2i32;
980 pub const MsV1_0Lm20ChallengeRequest: MSV1_0_PROTOCOL_MESSAGE_TYPE = 0i32;
981 pub const MsV1_0Lm20GetChallengeResponse: MSV1_0_PROTOCOL_MESSAGE_TYPE = 1i32;
982 pub const MsV1_0Lm20Logon: MSV1_0_LOGON_SUBMIT_TYPE = 3i32;
983 pub const MsV1_0Lm20LogonProfile: MSV1_0_PROFILE_BUFFER_TYPE = 3i32;
984 pub const MsV1_0LookupToken: MSV1_0_PROTOCOL_MESSAGE_TYPE = 15i32;
985 pub const MsV1_0LuidLogon: MSV1_0_LOGON_SUBMIT_TYPE = 84i32;
986 pub const MsV1_0NetworkLogon: MSV1_0_LOGON_SUBMIT_TYPE = 4i32;
987 pub const MsV1_0NoElevationLogon: MSV1_0_LOGON_SUBMIT_TYPE = 83i32;
988 pub const MsV1_0ProvisionTbal: MSV1_0_PROTOCOL_MESSAGE_TYPE = 23i32;
989 pub const MsV1_0ReLogonUsers: MSV1_0_PROTOCOL_MESSAGE_TYPE = 4i32;
990 pub const MsV1_0S4ULogon: MSV1_0_LOGON_SUBMIT_TYPE = 12i32;
991 pub const MsV1_0SetProcessOption: MSV1_0_PROTOCOL_MESSAGE_TYPE = 12i32;
992 pub const MsV1_0SetThreadOption: MSV1_0_PROTOCOL_MESSAGE_TYPE = 19i32;
993 pub const MsV1_0SmartCardProfile: MSV1_0_PROFILE_BUFFER_TYPE = 4i32;
994 pub const MsV1_0SubAuth: MSV1_0_PROTOCOL_MESSAGE_TYPE = 9i32;
995 pub const MsV1_0SubAuthLogon: MSV1_0_LOGON_SUBMIT_TYPE = 5i32;
996 pub const MsV1_0TransferCred: MSV1_0_PROTOCOL_MESSAGE_TYPE = 22i32;
997 pub const MsV1_0ValidateAuth: MSV1_0_PROTOCOL_MESSAGE_TYPE = 16i32;
998 pub const MsV1_0VirtualLogon: MSV1_0_LOGON_SUBMIT_TYPE = 82i32;
999 pub const MsV1_0WorkstationUnlockLogon: MSV1_0_LOGON_SUBMIT_TYPE = 7i32;
1000 pub const MsvAvChannelBindings: MSV1_0_AVID = 10i32;
1001 pub const MsvAvDnsComputerName: MSV1_0_AVID = 3i32;
1002 pub const MsvAvDnsDomainName: MSV1_0_AVID = 4i32;
1003 pub const MsvAvDnsTreeName: MSV1_0_AVID = 5i32;
1004 pub const MsvAvEOL: MSV1_0_AVID = 0i32;
1005 pub const MsvAvFlags: MSV1_0_AVID = 6i32;
1006 pub const MsvAvNbComputerName: MSV1_0_AVID = 1i32;
1007 pub const MsvAvNbDomainName: MSV1_0_AVID = 2i32;
1008 pub const MsvAvRestrictions: MSV1_0_AVID = 8i32;
1009 pub const MsvAvTargetName: MSV1_0_AVID = 9i32;
1010 pub const MsvAvTimestamp: MSV1_0_AVID = 7i32;
1011 pub const NEGOSSP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Negotiate");
1012 pub const NEGOSSP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Negotiate");
1013 pub const NEGOSSP_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Negotiate");
1014 pub const NEGOTIATE_ALLOW_NTLM: u32 = 268435456u32;
1015 pub const NEGOTIATE_MAX_PREFIX: u32 = 32u32;
1016 pub const NEGOTIATE_NEG_NTLM: u32 = 536870912u32;
1017 pub const NGC_DATA_FLAG_IS_CLOUD_TRUST_CRED: u32 = 8u32;
1018 pub const NGC_DATA_FLAG_IS_SMARTCARD_DATA: u32 = 4u32;
1019 pub const NGC_DATA_FLAG_KERB_CERTIFICATE_LOGON_FLAG_CHECK_DUPLICATES: u32 = 1u32;
1020 pub const NGC_DATA_FLAG_KERB_CERTIFICATE_LOGON_FLAG_USE_CERTIFICATE_INFO: u32 = 2u32;
1021 pub const NOTIFIER_FLAG_NEW_THREAD: u32 = 1u32;
1022 pub const NOTIFIER_FLAG_ONE_SHOT: u32 = 2u32;
1023 pub const NOTIFIER_FLAG_SECONDS: u32 = 2147483648u32;
1024 pub const NOTIFIER_TYPE_HANDLE_WAIT: u32 = 2u32;
1025 pub const NOTIFIER_TYPE_IMMEDIATE: u32 = 16u32;
1026 pub const NOTIFIER_TYPE_INTERVAL: u32 = 1u32;
1027 pub const NOTIFIER_TYPE_NOTIFY_EVENT: u32 = 4u32;
1028 pub const NOTIFIER_TYPE_STATE_CHANGE: u32 = 3u32;
1029 pub const NOTIFY_CLASS_DOMAIN_CHANGE: u32 = 3u32;
1030 pub const NOTIFY_CLASS_PACKAGE_CHANGE: u32 = 1u32;
1031 pub const NOTIFY_CLASS_REGISTRY_CHANGE: u32 = 4u32;
1032 pub const NOTIFY_CLASS_ROLE_CHANGE: u32 = 2u32;
1033 pub const NO_LONG_NAMES: u32 = 2u32;
1034 pub const NTLMSP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NTLM");
1035 pub const NTLMSP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("NTLM");
1036 pub const NameCanonical: EXTENDED_NAME_FORMAT = 7i32;
1037 pub const NameCanonicalEx: EXTENDED_NAME_FORMAT = 9i32;
1038 pub const NameDisplay: EXTENDED_NAME_FORMAT = 3i32;
1039 pub const NameDnsDomain: EXTENDED_NAME_FORMAT = 12i32;
1040 pub const NameFullyQualifiedDN: EXTENDED_NAME_FORMAT = 1i32;
1041 pub const NameGivenName: EXTENDED_NAME_FORMAT = 13i32;
1042 pub const NameSamCompatible: EXTENDED_NAME_FORMAT = 2i32;
1043 pub const NameServicePrincipal: EXTENDED_NAME_FORMAT = 10i32;
1044 pub const NameSurname: EXTENDED_NAME_FORMAT = 14i32;
1045 pub const NameUniqueId: EXTENDED_NAME_FORMAT = 6i32;
1046 pub const NameUnknown: EXTENDED_NAME_FORMAT = 0i32;
1047 pub const NameUserPrincipal: EXTENDED_NAME_FORMAT = 8i32;
1048 pub const NegCallPackageMax: NEGOTIATE_MESSAGES = 4i32;
1049 pub const NegEnumPackagePrefixes: NEGOTIATE_MESSAGES = 0i32;
1050 pub const NegGetCallerName: NEGOTIATE_MESSAGES = 1i32;
1051 pub const NegMsgReserved1: NEGOTIATE_MESSAGES = 3i32;
1052 pub const NegTransferCredentials: NEGOTIATE_MESSAGES = 2i32;
1053 pub const NetlogonGenericInformation: NETLOGON_LOGON_INFO_CLASS = 4i32;
1054 pub const NetlogonInteractiveInformation: NETLOGON_LOGON_INFO_CLASS = 1i32;
1055 pub const NetlogonInteractiveTransitiveInformation: NETLOGON_LOGON_INFO_CLASS = 5i32;
1056 pub const NetlogonNetworkInformation: NETLOGON_LOGON_INFO_CLASS = 2i32;
1057 pub const NetlogonNetworkTransitiveInformation: NETLOGON_LOGON_INFO_CLASS = 6i32;
1058 pub const NetlogonServiceInformation: NETLOGON_LOGON_INFO_CLASS = 3i32;
1059 pub const NetlogonServiceTransitiveInformation: NETLOGON_LOGON_INFO_CLASS = 7i32;
1060 pub const PCT1SP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft PCT 1.0");
1061 pub const PCT1SP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft PCT 1.0");
1062 pub const PCT1SP_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft PCT 1.0");
1063 pub const PER_USER_AUDIT_FAILURE_EXCLUDE: u32 = 8u32;
1064 pub const PER_USER_AUDIT_FAILURE_INCLUDE: u32 = 4u32;
1065 pub const PER_USER_AUDIT_NONE: u32 = 16u32;
1066 pub const PER_USER_AUDIT_SUCCESS_EXCLUDE: u32 = 2u32;
1067 pub const PER_USER_AUDIT_SUCCESS_INCLUDE: u32 = 1u32;
1068 pub const PER_USER_POLICY_UNCHANGED: u32 = 0u32;
1069 pub const PKU2U_PACKAGE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("pku2u");
1070 pub const PKU2U_PACKAGE_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("pku2u");
1071 pub const PKU2U_PACKAGE_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("pku2u");
1072 pub const POLICY_AUDIT_EVENT_FAILURE: i32 = 2i32;
1073 pub const POLICY_AUDIT_EVENT_NONE: i32 = 4i32;
1074 pub const POLICY_AUDIT_EVENT_SUCCESS: i32 = 1i32;
1075 pub const POLICY_AUDIT_EVENT_UNCHANGED: i32 = 0i32;
1076 pub const POLICY_AUDIT_LOG_ADMIN: i32 = 512i32;
1077 pub const POLICY_CREATE_ACCOUNT: i32 = 16i32;
1078 pub const POLICY_CREATE_PRIVILEGE: i32 = 64i32;
1079 pub const POLICY_CREATE_SECRET: i32 = 32i32;
1080 pub const POLICY_GET_PRIVATE_INFORMATION: i32 = 4i32;
1081 pub const POLICY_KERBEROS_VALIDATE_CLIENT: u32 = 128u32;
1082 pub const POLICY_LOOKUP_NAMES: i32 = 2048i32;
1083 pub const POLICY_NOTIFICATION: i32 = 4096i32;
1084 pub const POLICY_QOS_ALLOW_LOCAL_ROOT_CERT_STORE: u32 = 32u32;
1085 pub const POLICY_QOS_DHCP_SERVER_ALLOWED: u32 = 128u32;
1086 pub const POLICY_QOS_INBOUND_CONFIDENTIALITY: u32 = 16u32;
1087 pub const POLICY_QOS_INBOUND_INTEGRITY: u32 = 8u32;
1088 pub const POLICY_QOS_OUTBOUND_CONFIDENTIALITY: u32 = 4u32;
1089 pub const POLICY_QOS_OUTBOUND_INTEGRITY: u32 = 2u32;
1090 pub const POLICY_QOS_RAS_SERVER_ALLOWED: u32 = 64u32;
1091 pub const POLICY_QOS_SCHANNEL_REQUIRED: u32 = 1u32;
1092 pub const POLICY_SERVER_ADMIN: i32 = 1024i32;
1093 pub const POLICY_SET_AUDIT_REQUIREMENTS: i32 = 256i32;
1094 pub const POLICY_SET_DEFAULT_QUOTA_LIMITS: i32 = 128i32;
1095 pub const POLICY_TRUST_ADMIN: i32 = 8i32;
1096 pub const POLICY_VIEW_AUDIT_INFORMATION: i32 = 2i32;
1097 pub const POLICY_VIEW_LOCAL_INFORMATION: i32 = 1i32;
1098 pub const PRIMARY_CRED_ARSO_LOGON: u32 = 2097152u32;
1099 pub const PRIMARY_CRED_AUTH_ID: u32 = 512u32;
1100 pub const PRIMARY_CRED_CACHED_INTERACTIVE_LOGON: u32 = 262144u32;
1101 pub const PRIMARY_CRED_CACHED_LOGON: u32 = 8u32;
1102 pub const PRIMARY_CRED_CLEAR_PASSWORD: u32 = 1u32;
1103 pub const PRIMARY_CRED_DO_NOT_SPLIT: u32 = 1024u32;
1104 pub const PRIMARY_CRED_ENCRYPTED_CREDGUARD_PASSWORD: u32 = 131072u32;
1105 pub const PRIMARY_CRED_ENTERPRISE_INTERNET_USER: u32 = 65536u32;
1106 pub const PRIMARY_CRED_EX: u32 = 4096u32;
1107 pub const PRIMARY_CRED_INTERACTIVE_FIDO_LOGON: u32 = 1048576u32;
1108 pub const PRIMARY_CRED_INTERACTIVE_NGC_LOGON: u32 = 524288u32;
1109 pub const PRIMARY_CRED_INTERACTIVE_SMARTCARD_LOGON: u32 = 64u32;
1110 pub const PRIMARY_CRED_INTERNET_USER: u32 = 256u32;
1111 pub const PRIMARY_CRED_LOGON_LUA: u32 = 32u32;
1112 pub const PRIMARY_CRED_LOGON_NO_TCB: u32 = 16u32;
1113 pub const PRIMARY_CRED_LOGON_PACKAGE_SHIFT: u32 = 24u32;
1114 pub const PRIMARY_CRED_OWF_PASSWORD: u32 = 2u32;
1115 pub const PRIMARY_CRED_PACKAGE_MASK: u32 = 4278190080u32;
1116 pub const PRIMARY_CRED_PACKED_CREDS: u32 = 32768u32;
1117 pub const PRIMARY_CRED_PROTECTED_USER: u32 = 2048u32;
1118 pub const PRIMARY_CRED_REFRESH_NEEDED: u32 = 128u32;
1119 pub const PRIMARY_CRED_RESTRICTED_TS: u32 = 16384u32;
1120 pub const PRIMARY_CRED_SUPPLEMENTAL: u32 = 4194304u32;
1121 pub const PRIMARY_CRED_TRANSFER: u32 = 8192u32;
1122 pub const PRIMARY_CRED_UPDATE: u32 = 4u32;
1123 pub const Pku2uCertificateS4ULogon: PKU2U_LOGON_SUBMIT_TYPE = 14i32;
1124 pub const PolicyAccountDomainInformation: POLICY_INFORMATION_CLASS = 5i32;
1125 pub const PolicyAuditEventsInformation: POLICY_INFORMATION_CLASS = 2i32;
1126 pub const PolicyAuditFullQueryInformation: POLICY_INFORMATION_CLASS = 11i32;
1127 pub const PolicyAuditFullSetInformation: POLICY_INFORMATION_CLASS = 10i32;
1128 pub const PolicyAuditLogInformation: POLICY_INFORMATION_CLASS = 1i32;
1129 pub const PolicyDefaultQuotaInformation: POLICY_INFORMATION_CLASS = 8i32;
1130 pub const PolicyDnsDomainInformation: POLICY_INFORMATION_CLASS = 12i32;
1131 pub const PolicyDnsDomainInformationInt: POLICY_INFORMATION_CLASS = 13i32;
1132 pub const PolicyDomainEfsInformation: POLICY_DOMAIN_INFORMATION_CLASS = 2i32;
1133 pub const PolicyDomainKerberosTicketInformation: POLICY_DOMAIN_INFORMATION_CLASS = 3i32;
1134 pub const PolicyLastEntry: POLICY_INFORMATION_CLASS = 16i32;
1135 pub const PolicyLocalAccountDomainInformation: POLICY_INFORMATION_CLASS = 14i32;
1136 pub const PolicyLsaServerRoleInformation: POLICY_INFORMATION_CLASS = 6i32;
1137 pub const PolicyMachineAccountInformation: POLICY_INFORMATION_CLASS = 15i32;
1138 pub const PolicyModificationInformation: POLICY_INFORMATION_CLASS = 9i32;
1139 pub const PolicyNotifyAccountDomainInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 2i32;
1140 pub const PolicyNotifyAuditEventsInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 1i32;
1141 pub const PolicyNotifyDnsDomainInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 4i32;
1142 pub const PolicyNotifyDomainEfsInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 5i32;
1143 pub const PolicyNotifyDomainKerberosTicketInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 6i32;
1144 pub const PolicyNotifyGlobalSaclInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 8i32;
1145 pub const PolicyNotifyMachineAccountPasswordInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 7i32;
1146 pub const PolicyNotifyMax: POLICY_NOTIFICATION_INFORMATION_CLASS = 9i32;
1147 pub const PolicyNotifyServerRoleInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 3i32;
1148 pub const PolicyPdAccountInformation: POLICY_INFORMATION_CLASS = 4i32;
1149 pub const PolicyPrimaryDomainInformation: POLICY_INFORMATION_CLASS = 3i32;
1150 pub const PolicyReplicaSourceInformation: POLICY_INFORMATION_CLASS = 7i32;
1151 pub const PolicyServerRoleBackup: POLICY_LSA_SERVER_ROLE = 2i32;
1152 pub const PolicyServerRolePrimary: POLICY_LSA_SERVER_ROLE = 3i32;
1153 pub const RCRED_CRED_EXISTS: u32 = 1u32;
1154 pub const RCRED_STATUS_NOCRED: u32 = 0u32;
1155 pub const RCRED_STATUS_UNKNOWN_ISSUER: u32 = 2u32;
1156 pub const RTL_ENCRYPT_MEMORY_SIZE: u32 = 8u32;
1157 pub const RTL_ENCRYPT_OPTION_CROSS_PROCESS: u32 = 1u32;
1158 pub const RTL_ENCRYPT_OPTION_FOR_SYSTEM: u32 = 4u32;
1159 pub const RTL_ENCRYPT_OPTION_SAME_LOGON: u32 = 2u32;
1160 pub const SAM_CREDENTIAL_UPDATE_FREE_ROUTINE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CredentialUpdateFree");
1161 pub const SAM_CREDENTIAL_UPDATE_NOTIFY_ROUTINE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CredentialUpdateNotify");
1162 pub const SAM_CREDENTIAL_UPDATE_REGISTER_MAPPED_ENTRYPOINTS_ROUTINE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("RegisterMappedEntrypoints");
1163 pub const SAM_CREDENTIAL_UPDATE_REGISTER_ROUTINE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CredentialUpdateRegister");
1164 pub const SAM_DAYS_PER_WEEK: u32 = 7u32;
1165 pub const SAM_INIT_NOTIFICATION_ROUTINE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("InitializeChangeNotify");
1166 pub const SAM_PASSWORD_CHANGE_NOTIFY_ROUTINE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("PasswordChangeNotify");
1167 pub const SAM_PASSWORD_FILTER_ROUTINE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("PasswordFilter");
1168 pub const SASL_OPTION_AUTHZ_PROCESSING: u32 = 4u32;
1169 pub const SASL_OPTION_AUTHZ_STRING: u32 = 3u32;
1170 pub const SASL_OPTION_RECV_SIZE: u32 = 2u32;
1171 pub const SASL_OPTION_SEND_SIZE: u32 = 1u32;
1172 pub const SCHANNEL_ALERT: u32 = 2u32;
1173 pub const SCHANNEL_CRED_VERSION: u32 = 4u32;
1174 pub const SCHANNEL_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Schannel");
1175 pub const SCHANNEL_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Schannel");
1176 pub const SCHANNEL_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Schannel");
1177 pub const SCHANNEL_RENEGOTIATE: u32 = 0u32;
1178 pub const SCHANNEL_SECRET_PRIVKEY: u32 = 2u32;
1179 pub const SCHANNEL_SECRET_TYPE_CAPI: u32 = 1u32;
1180 pub const SCHANNEL_SESSION: u32 = 3u32;
1181 pub const SCHANNEL_SHUTDOWN: u32 = 1u32;
1182 pub const SCH_ALLOW_NULL_ENCRYPTION: u32 = 33554432u32;
1183 pub const SCH_CREDENTIALS_VERSION: u32 = 5u32;
1184 pub const SCH_CRED_AUTO_CRED_VALIDATION: SCHANNEL_CRED_FLAGS = 32u32;
1185 pub const SCH_CRED_CACHE_ONLY_URL_RETRIEVAL: u32 = 32768u32;
1186 pub const SCH_CRED_CACHE_ONLY_URL_RETRIEVAL_ON_CREATE: SCHANNEL_CRED_FLAGS = 131072u32;
1187 pub const SCH_CRED_CERT_CONTEXT: u32 = 3u32;
1188 pub const SCH_CRED_DEFERRED_CRED_VALIDATION: u32 = 67108864u32;
1189 pub const SCH_CRED_DISABLE_RECONNECTS: u32 = 128u32;
1190 pub const SCH_CRED_FORMAT_CERT_CONTEXT: u32 = 0u32;
1191 pub const SCH_CRED_FORMAT_CERT_HASH: u32 = 1u32;
1192 pub const SCH_CRED_FORMAT_CERT_HASH_STORE: u32 = 2u32;
1193 pub const SCH_CRED_IGNORE_NO_REVOCATION_CHECK: SCHANNEL_CRED_FLAGS = 2048u32;
1194 pub const SCH_CRED_IGNORE_REVOCATION_OFFLINE: SCHANNEL_CRED_FLAGS = 4096u32;
1195 pub const SCH_CRED_MANUAL_CRED_VALIDATION: SCHANNEL_CRED_FLAGS = 8u32;
1196 pub const SCH_CRED_MAX_STORE_NAME_SIZE: u32 = 128u32;
1197 pub const SCH_CRED_MAX_SUPPORTED_ALGS: u32 = 256u32;
1198 pub const SCH_CRED_MAX_SUPPORTED_ALPN_IDS: u32 = 16u32;
1199 pub const SCH_CRED_MAX_SUPPORTED_CERTS: u32 = 100u32;
1200 pub const SCH_CRED_MAX_SUPPORTED_CHAINING_MODES: u32 = 16u32;
1201 pub const SCH_CRED_MAX_SUPPORTED_CRYPTO_SETTINGS: u32 = 16u32;
1202 pub const SCH_CRED_MAX_SUPPORTED_PARAMETERS: u32 = 16u32;
1203 pub const SCH_CRED_MEMORY_STORE_CERT: u32 = 65536u32;
1204 pub const SCH_CRED_NO_DEFAULT_CREDS: SCHANNEL_CRED_FLAGS = 16u32;
1205 pub const SCH_CRED_NO_SERVERNAME_CHECK: SCHANNEL_CRED_FLAGS = 4u32;
1206 pub const SCH_CRED_NO_SYSTEM_MAPPER: SCHANNEL_CRED_FLAGS = 2u32;
1207 pub const SCH_CRED_RESTRICTED_ROOTS: u32 = 8192u32;
1208 pub const SCH_CRED_REVOCATION_CHECK_CACHE_ONLY: u32 = 16384u32;
1209 pub const SCH_CRED_REVOCATION_CHECK_CHAIN: SCHANNEL_CRED_FLAGS = 512u32;
1210 pub const SCH_CRED_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT: SCHANNEL_CRED_FLAGS = 1024u32;
1211 pub const SCH_CRED_REVOCATION_CHECK_END_CERT: SCHANNEL_CRED_FLAGS = 256u32;
1212 pub const SCH_CRED_SNI_CREDENTIAL: u32 = 524288u32;
1213 pub const SCH_CRED_SNI_ENABLE_OCSP: u32 = 1048576u32;
1214 pub const SCH_CRED_USE_DEFAULT_CREDS: SCHANNEL_CRED_FLAGS = 64u32;
1215 pub const SCH_CRED_V1: u32 = 1u32;
1216 pub const SCH_CRED_V2: u32 = 2u32;
1217 pub const SCH_CRED_V3: u32 = 3u32;
1218 pub const SCH_CRED_VERSION: u32 = 2u32;
1219 pub const SCH_CRED_X509_CAPI: u32 = 2u32;
1220 pub const SCH_CRED_X509_CERTCHAIN: u32 = 1u32;
1221 pub const SCH_DISABLE_RECONNECTS: SCHANNEL_CRED_FLAGS = 128u32;
1222 pub const SCH_EXTENSIONS_OPTIONS_NONE: SchGetExtensionsOptions = 0i32;
1223 pub const SCH_MACHINE_CERT_HASH: u32 = 1u32;
1224 pub const SCH_MAX_EXT_SUBSCRIPTIONS: u32 = 2u32;
1225 pub const SCH_NO_RECORD_HEADER: SchGetExtensionsOptions = 1i32;
1226 pub const SCH_SEND_AUX_RECORD: SCHANNEL_CRED_FLAGS = 2097152u32;
1227 pub const SCH_SEND_ROOT_CERT: SCHANNEL_CRED_FLAGS = 262144u32;
1228 pub const SCH_USE_DTLS_ONLY: u32 = 16777216u32;
1229 pub const SCH_USE_PRESHAREDKEY_ONLY: SCHANNEL_CRED_FLAGS = 8388608u32;
1230 pub const SCH_USE_STRONG_CRYPTO: SCHANNEL_CRED_FLAGS = 4194304u32;
1231 pub const SECBUFFER_ALERT: u32 = 17u32;
1232 pub const SECBUFFER_APPLICATION_PROTOCOLS: u32 = 18u32;
1233 pub const SECBUFFER_ATTRMASK: u32 = 4026531840u32;
1234 pub const SECBUFFER_CERTIFICATE_REQUEST_CONTEXT: u32 = 29u32;
1235 pub const SECBUFFER_CHANGE_PASS_RESPONSE: u32 = 15u32;
1236 pub const SECBUFFER_CHANNEL_BINDINGS: u32 = 14u32;
1237 pub const SECBUFFER_DATA: u32 = 1u32;
1238 pub const SECBUFFER_DTLS_MTU: u32 = 24u32;
1239 pub const SECBUFFER_EMPTY: u32 = 0u32;
1240 pub const SECBUFFER_EXTRA: u32 = 5u32;
1241 pub const SECBUFFER_FLAGS: u32 = 27u32;
1242 pub const SECBUFFER_KERNEL_MAP: u32 = 536870912u32;
1243 pub const SECBUFFER_MECHLIST: u32 = 11u32;
1244 pub const SECBUFFER_MECHLIST_SIGNATURE: u32 = 12u32;
1245 pub const SECBUFFER_MISSING: u32 = 4u32;
1246 pub const SECBUFFER_NEGOTIATION_INFO: u32 = 8u32;
1247 pub const SECBUFFER_PADDING: u32 = 9u32;
1248 pub const SECBUFFER_PKG_PARAMS: u32 = 3u32;
1249 pub const SECBUFFER_PRESHARED_KEY: u32 = 22u32;
1250 pub const SECBUFFER_PRESHARED_KEY_IDENTITY: u32 = 23u32;
1251 pub const SECBUFFER_READONLY: u32 = 2147483648u32;
1252 pub const SECBUFFER_READONLY_WITH_CHECKSUM: u32 = 268435456u32;
1253 pub const SECBUFFER_RESERVED: u32 = 1610612736u32;
1254 pub const SECBUFFER_SEND_GENERIC_TLS_EXTENSION: u32 = 25u32;
1255 pub const SECBUFFER_SRTP_MASTER_KEY_IDENTIFIER: u32 = 20u32;
1256 pub const SECBUFFER_SRTP_PROTECTION_PROFILES: u32 = 19u32;
1257 pub const SECBUFFER_STREAM: u32 = 10u32;
1258 pub const SECBUFFER_STREAM_HEADER: u32 = 7u32;
1259 pub const SECBUFFER_STREAM_TRAILER: u32 = 6u32;
1260 pub const SECBUFFER_SUBSCRIBE_GENERIC_TLS_EXTENSION: u32 = 26u32;
1261 pub const SECBUFFER_TARGET: u32 = 13u32;
1262 pub const SECBUFFER_TARGET_HOST: u32 = 16u32;
1263 pub const SECBUFFER_TOKEN: u32 = 2u32;
1264 pub const SECBUFFER_TOKEN_BINDING: u32 = 21u32;
1265 pub const SECBUFFER_TRAFFIC_SECRETS: u32 = 28u32;
1266 pub const SECBUFFER_UNMAPPED: u32 = 1073741824u32;
1267 pub const SECBUFFER_VERSION: u32 = 0u32;
1268 pub const SECPKGCONTEXT_CIPHERINFO_V1: u32 = 1u32;
1269 pub const SECPKGCONTEXT_CONNECTION_INFO_EX_V1: u32 = 1u32;
1270 pub const SECPKG_ANSI_ATTRIBUTE: u32 = 0u32;
1271 pub const SECPKG_ATTR_ACCESS_TOKEN: SECPKG_ATTR = 18u32;
1272 pub const SECPKG_ATTR_APPLICATION_PROTOCOL: u32 = 35u32;
1273 pub const SECPKG_ATTR_APP_DATA: SECPKG_ATTR = 94u32;
1274 pub const SECPKG_ATTR_AUTHENTICATION_ID: u32 = 20u32;
1275 pub const SECPKG_ATTR_AUTHORITY: SECPKG_ATTR = 6u32;
1276 pub const SECPKG_ATTR_CC_POLICY_RESULT: u32 = 97u32;
1277 pub const SECPKG_ATTR_CERT_CHECK_RESULT: u32 = 113u32;
1278 pub const SECPKG_ATTR_CERT_CHECK_RESULT_INPROC: u32 = 114u32;
1279 pub const SECPKG_ATTR_CERT_TRUST_STATUS: SECPKG_ATTR = 2147483780u32;
1280 pub const SECPKG_ATTR_CIPHER_INFO: u32 = 100u32;
1281 pub const SECPKG_ATTR_CIPHER_STRENGTHS: u32 = 87u32;
1282 pub const SECPKG_ATTR_CLIENT_CERT_POLICY: u32 = 96u32;
1283 pub const SECPKG_ATTR_CLIENT_SPECIFIED_TARGET: SECPKG_ATTR = 27u32;
1284 pub const SECPKG_ATTR_CONNECTION_INFO: SECPKG_ATTR = 90u32;
1285 pub const SECPKG_ATTR_CONNECTION_INFO_EX: u32 = 110u32;
1286 pub const SECPKG_ATTR_CONTEXT_DELETED: u32 = 33u32;
1287 pub const SECPKG_ATTR_CREDENTIAL_NAME: u32 = 16u32;
1288 pub const SECPKG_ATTR_CREDS: SECPKG_ATTR = 2147483776u32;
1289 pub const SECPKG_ATTR_CREDS_2: SECPKG_ATTR = 2147483782u32;
1290 pub const SECPKG_ATTR_C_ACCESS_TOKEN: SECPKG_ATTR = 2147483666u32;
1291 pub const SECPKG_ATTR_C_FULL_ACCESS_TOKEN: SECPKG_ATTR = 2147483778u32;
1292 pub const SECPKG_ATTR_DCE_INFO: SECPKG_ATTR = 3u32;
1293 pub const SECPKG_ATTR_DTLS_MTU: SECPKG_ATTR = 34u32;
1294 pub const SECPKG_ATTR_EAP_KEY_BLOCK: SECPKG_ATTR = 91u32;
1295 pub const SECPKG_ATTR_EAP_PRF_INFO: SECPKG_ATTR = 101u32;
1296 pub const SECPKG_ATTR_EARLY_START: SECPKG_ATTR = 105u32;
1297 pub const SECPKG_ATTR_ENDPOINT_BINDINGS: SECPKG_ATTR = 26u32;
1298 pub const SECPKG_ATTR_FLAGS: SECPKG_ATTR = 14u32;
1299 pub const SECPKG_ATTR_ISSUER_LIST: u32 = 80u32;
1300 pub const SECPKG_ATTR_ISSUER_LIST_EX: SECPKG_ATTR = 89u32;
1301 pub const SECPKG_ATTR_IS_LOOPBACK: u32 = 37u32;
1302 pub const SECPKG_ATTR_KEYING_MATERIAL: u32 = 107u32;
1303 pub const SECPKG_ATTR_KEYING_MATERIAL_INFO: SECPKG_ATTR = 106u32;
1304 pub const SECPKG_ATTR_KEYING_MATERIAL_INPROC: u32 = 112u32;
1305 pub const SECPKG_ATTR_KEYING_MATERIAL_TOKEN_BINDING: u32 = 111u32;
1306 pub const SECPKG_ATTR_KEY_INFO: SECPKG_ATTR = 5u32;
1307 pub const SECPKG_ATTR_LAST_CLIENT_TOKEN_STATUS: SECPKG_ATTR = 30u32;
1308 pub const SECPKG_ATTR_LIFESPAN: SECPKG_ATTR = 2u32;
1309 pub const SECPKG_ATTR_LOCAL_CERT_CONTEXT: SECPKG_ATTR = 84u32;
1310 pub const SECPKG_ATTR_LOCAL_CERT_INFO: u32 = 99u32;
1311 pub const SECPKG_ATTR_LOCAL_CRED: SECPKG_ATTR = 82u32;
1312 pub const SECPKG_ATTR_LOGOFF_TIME: u32 = 21u32;
1313 pub const SECPKG_ATTR_MAPPED_CRED_ATTR: u32 = 92u32;
1314 pub const SECPKG_ATTR_NAMES: SECPKG_ATTR = 1u32;
1315 pub const SECPKG_ATTR_NATIVE_NAMES: SECPKG_ATTR = 13u32;
1316 pub const SECPKG_ATTR_NEGOTIATED_TLS_EXTENSIONS: u32 = 36u32;
1317 pub const SECPKG_ATTR_NEGOTIATION_INFO: SECPKG_ATTR = 12u32;
1318 pub const SECPKG_ATTR_NEGOTIATION_PACKAGE: SECPKG_ATTR = 2147483777u32;
1319 pub const SECPKG_ATTR_NEGO_INFO_FLAG_NO_KERBEROS: u32 = 1u32;
1320 pub const SECPKG_ATTR_NEGO_INFO_FLAG_NO_NTLM: u32 = 2u32;
1321 pub const SECPKG_ATTR_NEGO_KEYS: u32 = 22u32;
1322 pub const SECPKG_ATTR_NEGO_PKG_INFO: u32 = 31u32;
1323 pub const SECPKG_ATTR_NEGO_STATUS: u32 = 32u32;
1324 pub const SECPKG_ATTR_PACKAGE_INFO: SECPKG_ATTR = 10u32;
1325 pub const SECPKG_ATTR_PASSWORD_EXPIRY: SECPKG_ATTR = 8u32;
1326 pub const SECPKG_ATTR_PROMPTING_NEEDED: u32 = 24u32;
1327 pub const SECPKG_ATTR_PROTO_INFO: u32 = 7u32;
1328 pub const SECPKG_ATTR_REMOTE_CERTIFICATES: u32 = 95u32;
1329 pub const SECPKG_ATTR_REMOTE_CERT_CHAIN: u32 = 103u32;
1330 pub const SECPKG_ATTR_REMOTE_CERT_CONTEXT: SECPKG_ATTR = 83u32;
1331 pub const SECPKG_ATTR_REMOTE_CRED: u32 = 81u32;
1332 pub const SECPKG_ATTR_ROOT_STORE: SECPKG_ATTR = 85u32;
1333 pub const SECPKG_ATTR_SASL_CONTEXT: u32 = 65536u32;
1334 pub const SECPKG_ATTR_SERIALIZED_REMOTE_CERT_CONTEXT: u32 = 117u32;
1335 pub const SECPKG_ATTR_SERIALIZED_REMOTE_CERT_CONTEXT_INPROC: u32 = 116u32;
1336 pub const SECPKG_ATTR_SERVER_AUTH_FLAGS: SECPKG_ATTR = 2147483779u32;
1337 pub const SECPKG_ATTR_SESSION_INFO: SECPKG_ATTR = 93u32;
1338 pub const SECPKG_ATTR_SESSION_KEY: SECPKG_ATTR = 9u32;
1339 pub const SECPKG_ATTR_SESSION_TICKET_KEYS: u32 = 115u32;
1340 pub const SECPKG_ATTR_SIZES: SECPKG_ATTR = 0u32;
1341 pub const SECPKG_ATTR_SRTP_PARAMETERS: u32 = 108u32;
1342 pub const SECPKG_ATTR_STREAM_SIZES: SECPKG_ATTR = 4u32;
1343 pub const SECPKG_ATTR_SUBJECT_SECURITY_ATTRIBUTES: SECPKG_ATTR = 124u32;
1344 pub const SECPKG_ATTR_SUPPORTED_ALGS: u32 = 86u32;
1345 pub const SECPKG_ATTR_SUPPORTED_PROTOCOLS: u32 = 88u32;
1346 pub const SECPKG_ATTR_SUPPORTED_SIGNATURES: SECPKG_ATTR = 102u32;
1347 pub const SECPKG_ATTR_TARGET: u32 = 19u32;
1348 pub const SECPKG_ATTR_TARGET_INFORMATION: SECPKG_ATTR = 17u32;
1349 pub const SECPKG_ATTR_THUNK_ALL: u32 = 65536u32;
1350 pub const SECPKG_ATTR_TOKEN_BINDING: u32 = 109u32;
1351 pub const SECPKG_ATTR_UI_INFO: u32 = 104u32;
1352 pub const SECPKG_ATTR_UNIQUE_BINDINGS: SECPKG_ATTR = 25u32;
1353 pub const SECPKG_ATTR_USER_FLAGS: u32 = 11u32;
1354 pub const SECPKG_ATTR_USE_NCRYPT: u32 = 98u32;
1355 pub const SECPKG_ATTR_USE_VALIDATED: u32 = 15u32;
1356 pub const SECPKG_CALLFLAGS_APPCONTAINER: u32 = 1u32;
1357 pub const SECPKG_CALLFLAGS_APPCONTAINER_AUTHCAPABLE: u32 = 2u32;
1358 pub const SECPKG_CALLFLAGS_APPCONTAINER_UPNCAPABLE: u32 = 8u32;
1359 pub const SECPKG_CALLFLAGS_FORCE_SUPPLIED: u32 = 4u32;
1360 pub const SECPKG_CALL_ANSI: u32 = 2u32;
1361 pub const SECPKG_CALL_ASYNC_UPDATE: u32 = 4096u32;
1362 pub const SECPKG_CALL_BUFFER_MARSHAL: u32 = 65536u32;
1363 pub const SECPKG_CALL_CLEANUP: u32 = 32u32;
1364 pub const SECPKG_CALL_CLOUDAP_CONNECT: u32 = 262144u32;
1365 pub const SECPKG_CALL_IN_PROC: u32 = 16u32;
1366 pub const SECPKG_CALL_IS_TCB: u32 = 512u32;
1367 pub const SECPKG_CALL_KERNEL_MODE: u32 = 1u32;
1368 pub const SECPKG_CALL_NEGO: u32 = 16384u32;
1369 pub const SECPKG_CALL_NEGO_EXTENDER: u32 = 32768u32;
1370 pub const SECPKG_CALL_NETWORK_ONLY: u32 = 1024u32;
1371 pub const SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST_FLAG_CLEANUP_CREDENTIALS: u32 = 2u32;
1372 pub const SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST_FLAG_OPTIMISTIC_LOGON: u32 = 1u32;
1373 pub const SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST_FLAG_TO_SSO_SESSION: u32 = 4u32;
1374 pub const SECPKG_CALL_PROCESS_TERM: u32 = 256u32;
1375 pub const SECPKG_CALL_RECURSIVE: u32 = 8u32;
1376 pub const SECPKG_CALL_SYSTEM_PROC: u32 = 8192u32;
1377 pub const SECPKG_CALL_THREAD_TERM: u32 = 128u32;
1378 pub const SECPKG_CALL_UNLOCK: u32 = 131072u32;
1379 pub const SECPKG_CALL_URGENT: u32 = 4u32;
1380 pub const SECPKG_CALL_WINLOGON: u32 = 2048u32;
1381 pub const SECPKG_CALL_WOWA32: u32 = 262144u32;
1382 pub const SECPKG_CALL_WOWCLIENT: u32 = 64u32;
1383 pub const SECPKG_CALL_WOWX86: u32 = 64u32;
1384 pub const SECPKG_CLIENT_PROCESS_TERMINATED: u32 = 1u32;
1385 pub const SECPKG_CLIENT_THREAD_TERMINATED: u32 = 2u32;
1386 pub const SECPKG_CONTEXT_EXPORT_DELETE_OLD: EXPORT_SECURITY_CONTEXT_FLAGS = 2u32;
1387 pub const SECPKG_CONTEXT_EXPORT_RESET_NEW: EXPORT_SECURITY_CONTEXT_FLAGS = 1u32;
1388 pub const SECPKG_CONTEXT_EXPORT_TO_KERNEL: EXPORT_SECURITY_CONTEXT_FLAGS = 4u32;
1389 pub const SECPKG_CREDENTIAL_ATTRIBUTE: u32 = 0u32;
1390 pub const SECPKG_CREDENTIAL_FLAGS_CALLER_HAS_TCB: u32 = 1u32;
1391 pub const SECPKG_CREDENTIAL_FLAGS_CREDMAN_CRED: u32 = 2u32;
1392 pub const SECPKG_CREDENTIAL_VERSION: u32 = 201u32;
1393 pub const SECPKG_CRED_ATTR_CERT: u32 = 4u32;
1394 pub const SECPKG_CRED_ATTR_KDC_PROXY_SETTINGS: u32 = 3u32;
1395 pub const SECPKG_CRED_ATTR_NAMES: u32 = 1u32;
1396 pub const SECPKG_CRED_ATTR_PAC_BYPASS: u32 = 5u32;
1397 pub const SECPKG_CRED_ATTR_SSI_PROVIDER: u32 = 2u32;
1398 pub const SECPKG_CRED_AUTOLOGON_RESTRICTED: u32 = 16u32;
1399 pub const SECPKG_CRED_BOTH: u32 = 3u32;
1400 pub const SECPKG_CRED_DEFAULT: u32 = 4u32;
1401 pub const SECPKG_CRED_INBOUND: SECPKG_CRED = 1u32;
1402 pub const SECPKG_CRED_OUTBOUND: SECPKG_CRED = 2u32;
1403 pub const SECPKG_CRED_PROCESS_POLICY_ONLY: u32 = 32u32;
1404 pub const SECPKG_CRED_RESERVED: u32 = 4026531840u32;
1405 pub const SECPKG_FLAG_ACCEPT_WIN32_NAME: u32 = 512u32;
1406 pub const SECPKG_FLAG_APPCONTAINER_CHECKS: u32 = 8388608u32;
1407 pub const SECPKG_FLAG_APPCONTAINER_PASSTHROUGH: u32 = 4194304u32;
1408 pub const SECPKG_FLAG_APPLY_LOOPBACK: u32 = 33554432u32;
1409 pub const SECPKG_FLAG_ASCII_BUFFERS: u32 = 16384u32;
1410 pub const SECPKG_FLAG_CLIENT_ONLY: u32 = 64u32;
1411 pub const SECPKG_FLAG_CONNECTION: u32 = 16u32;
1412 pub const SECPKG_FLAG_CREDENTIAL_ISOLATION_ENABLED: u32 = 16777216u32;
1413 pub const SECPKG_FLAG_DATAGRAM: u32 = 8u32;
1414 pub const SECPKG_FLAG_DELEGATION: u32 = 131072u32;
1415 pub const SECPKG_FLAG_EXTENDED_ERROR: u32 = 128u32;
1416 pub const SECPKG_FLAG_FRAGMENT: u32 = 32768u32;
1417 pub const SECPKG_FLAG_GSS_COMPATIBLE: u32 = 4096u32;
1418 pub const SECPKG_FLAG_IMPERSONATION: u32 = 256u32;
1419 pub const SECPKG_FLAG_INTEGRITY: u32 = 1u32;
1420 pub const SECPKG_FLAG_LOGON: u32 = 8192u32;
1421 pub const SECPKG_FLAG_MULTI_REQUIRED: u32 = 32u32;
1422 pub const SECPKG_FLAG_MUTUAL_AUTH: u32 = 65536u32;
1423 pub const SECPKG_FLAG_NEGOTIABLE: u32 = 2048u32;
1424 pub const SECPKG_FLAG_NEGOTIABLE2: u32 = 2097152u32;
1425 pub const SECPKG_FLAG_NEGO_EXTENDER: u32 = 1048576u32;
1426 pub const SECPKG_FLAG_PRIVACY: u32 = 2u32;
1427 pub const SECPKG_FLAG_READONLY_WITH_CHECKSUM: u32 = 262144u32;
1428 pub const SECPKG_FLAG_RESTRICTED_TOKENS: u32 = 524288u32;
1429 pub const SECPKG_FLAG_STREAM: u32 = 1024u32;
1430 pub const SECPKG_FLAG_TOKEN_ONLY: u32 = 4u32;
1431 pub const SECPKG_ID_NONE: u32 = 65535u32;
1432 pub const SECPKG_INTERFACE_VERSION: u32 = 65536u32;
1433 pub const SECPKG_INTERFACE_VERSION_10: u32 = 33554432u32;
1434 pub const SECPKG_INTERFACE_VERSION_11: u32 = 67108864u32;
1435 pub const SECPKG_INTERFACE_VERSION_2: u32 = 131072u32;
1436 pub const SECPKG_INTERFACE_VERSION_3: u32 = 262144u32;
1437 pub const SECPKG_INTERFACE_VERSION_4: u32 = 524288u32;
1438 pub const SECPKG_INTERFACE_VERSION_5: u32 = 1048576u32;
1439 pub const SECPKG_INTERFACE_VERSION_6: u32 = 2097152u32;
1440 pub const SECPKG_INTERFACE_VERSION_7: u32 = 4194304u32;
1441 pub const SECPKG_INTERFACE_VERSION_8: u32 = 8388608u32;
1442 pub const SECPKG_INTERFACE_VERSION_9: u32 = 16777216u32;
1443 pub const SECPKG_LSAMODEINIT_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("SpLsaModeInitialize");
1444 pub const SECPKG_MAX_OID_LENGTH: u32 = 32u32;
1445 pub const SECPKG_MSVAV_FLAGS_VALID: u32 = 1u32;
1446 pub const SECPKG_MSVAV_TIMESTAMP_VALID: u32 = 2u32;
1447 pub const SECPKG_NEGOTIATION_COMPLETE: u32 = 0u32;
1448 pub const SECPKG_NEGOTIATION_DIRECT: u32 = 3u32;
1449 pub const SECPKG_NEGOTIATION_IN_PROGRESS: u32 = 2u32;
1450 pub const SECPKG_NEGOTIATION_OPTIMISTIC: u32 = 1u32;
1451 pub const SECPKG_NEGOTIATION_TRY_MULTICRED: u32 = 4u32;
1452 pub const SECPKG_OPTIONS_PERMANENT: u32 = 1u32;
1453 pub const SECPKG_OPTIONS_TYPE_LSA: SECURITY_PACKAGE_OPTIONS_TYPE = 1u32;
1454 pub const SECPKG_OPTIONS_TYPE_SSPI: SECURITY_PACKAGE_OPTIONS_TYPE = 2u32;
1455 pub const SECPKG_OPTIONS_TYPE_UNKNOWN: SECURITY_PACKAGE_OPTIONS_TYPE = 0u32;
1456 pub const SECPKG_PACKAGE_CHANGE_LOAD: SECPKG_PACKAGE_CHANGE_TYPE = 0u32;
1457 pub const SECPKG_PACKAGE_CHANGE_SELECT: SECPKG_PACKAGE_CHANGE_TYPE = 2u32;
1458 pub const SECPKG_PACKAGE_CHANGE_UNLOAD: SECPKG_PACKAGE_CHANGE_TYPE = 1u32;
1459 pub const SECPKG_PRIMARY_CRED_EX_FLAGS_EX_DELEGATION_TOKEN: u32 = 1u32;
1460 pub const SECPKG_REDIRECTED_LOGON_GUID_INITIALIZER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc2be5457_82eb_483e_ae4e_7468ef14d509);
1461 pub const SECPKG_STATE_CRED_ISOLATION_ENABLED: u32 = 32u32;
1462 pub const SECPKG_STATE_DOMAIN_CONTROLLER: u32 = 4u32;
1463 pub const SECPKG_STATE_ENCRYPTION_PERMITTED: u32 = 1u32;
1464 pub const SECPKG_STATE_RESERVED_1: u32 = 2147483648u32;
1465 pub const SECPKG_STATE_STANDALONE: u32 = 16u32;
1466 pub const SECPKG_STATE_STRONG_ENCRYPTION_PERMITTED: u32 = 2u32;
1467 pub const SECPKG_STATE_WORKSTATION: u32 = 8u32;
1468 pub const SECPKG_SURROGATE_LOGON_VERSION_1: u32 = 1u32;
1469 pub const SECPKG_UNICODE_ATTRIBUTE: u32 = 2147483648u32;
1470 pub const SECPKG_USERMODEINIT_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("SpUserModeInitialize");
1471 pub const SECQOP_WRAP_NO_ENCRYPT: u32 = 2147483649u32;
1472 pub const SECQOP_WRAP_OOB_DATA: u32 = 1073741824u32;
1473 pub const SECRET_QUERY_VALUE: i32 = 2i32;
1474 pub const SECRET_SET_VALUE: i32 = 1i32;
1475 pub const SECURITY_ENTRYPOINT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("INITSECURITYINTERFACEA");
1476 pub const SECURITY_ENTRYPOINT16: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("INITSECURITYINTERFACEA");
1477 pub const SECURITY_ENTRYPOINT_ANSI: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("InitSecurityInterfaceW");
1478 pub const SECURITY_ENTRYPOINT_ANSIA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("InitSecurityInterfaceA");
1479 pub const SECURITY_ENTRYPOINT_ANSIW: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("InitSecurityInterfaceW");
1480 pub const SECURITY_NATIVE_DREP: u32 = 16u32;
1481 pub const SECURITY_NETWORK_DREP: u32 = 0u32;
1482 pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION: u32 = 1u32;
1483 pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION_2: u32 = 2u32;
1484 pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION_3: u32 = 3u32;
1485 pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION_4: u32 = 4u32;
1486 pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION_5: u32 = 5u32;
1487 pub const SEC_WINNT_AUTH_IDENTITY_ENCRYPT_FOR_SYSTEM: u32 = 4u32;
1488 pub const SEC_WINNT_AUTH_IDENTITY_ENCRYPT_SAME_LOGON: u32 = 1u32;
1489 pub const SEC_WINNT_AUTH_IDENTITY_ENCRYPT_SAME_PROCESS: u32 = 2u32;
1490 pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_ID_PROVIDER: u32 = 524288u32;
1491 pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_NULL_DOMAIN: u32 = 262144u32;
1492 pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_NULL_USER: u32 = 131072u32;
1493 pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_PROCESS_ENCRYPTED: u32 = 16u32;
1494 pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_RESERVED: u32 = 65536u32;
1495 pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_CREDPROV_DO_NOT_LOAD: u32 = 268435456u32;
1496 pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_CREDPROV_DO_NOT_SAVE: u32 = 2147483648u32;
1497 pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_NO_CHECKBOX: u32 = 536870912u32;
1498 pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_SAVE_CRED_BY_CALLER: u32 = 2147483648u32;
1499 pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_SAVE_CRED_CHECKED: u32 = 1073741824u32;
1500 pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_USE_MASK: u32 = 4278190080u32;
1501 pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SYSTEM_ENCRYPTED: u32 = 128u32;
1502 pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SYSTEM_PROTECTED: u32 = 32u32;
1503 pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_USER_PROTECTED: u32 = 64u32;
1504 pub const SEC_WINNT_AUTH_IDENTITY_MARSHALLED: u32 = 4u32;
1505 pub const SEC_WINNT_AUTH_IDENTITY_ONLY: u32 = 8u32;
1506 pub const SEC_WINNT_AUTH_IDENTITY_VERSION: u32 = 512u32;
1507 pub const SEC_WINNT_AUTH_IDENTITY_VERSION_2: u32 = 513u32;
1508 pub const SESSION_TICKET_INFO_V0: u32 = 0u32;
1509 pub const SESSION_TICKET_INFO_VERSION: u32 = 0u32;
1510 pub const SE_ADT_OBJECT_ONLY: u32 = 1u32;
1511 pub const SE_ADT_PARAMETERS_SELF_RELATIVE: u32 = 1u32;
1512 pub const SE_ADT_PARAMETERS_SEND_TO_LSA: u32 = 2u32;
1513 pub const SE_ADT_PARAMETER_EXTENSIBLE_AUDIT: u32 = 4u32;
1514 pub const SE_ADT_PARAMETER_GENERIC_AUDIT: u32 = 8u32;
1515 pub const SE_ADT_PARAMETER_WRITE_SYNCHRONOUS: u32 = 16u32;
1516 pub const SE_ADT_POLICY_AUDIT_EVENT_TYPE_EX_BEGIN: u32 = 100u32;
1517 pub const SE_BATCH_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeBatchLogonRight");
1518 pub const SE_DENY_BATCH_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeDenyBatchLogonRight");
1519 pub const SE_DENY_INTERACTIVE_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeDenyInteractiveLogonRight");
1520 pub const SE_DENY_NETWORK_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeDenyNetworkLogonRight");
1521 pub const SE_DENY_REMOTE_INTERACTIVE_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeDenyRemoteInteractiveLogonRight");
1522 pub const SE_DENY_SERVICE_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeDenyServiceLogonRight");
1523 pub const SE_INTERACTIVE_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeInteractiveLogonRight");
1524 pub const SE_MAX_AUDIT_PARAMETERS: u32 = 32u32;
1525 pub const SE_MAX_GENERIC_AUDIT_PARAMETERS: u32 = 28u32;
1526 pub const SE_NETWORK_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeNetworkLogonRight");
1527 pub const SE_REMOTE_INTERACTIVE_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeRemoteInteractiveLogonRight");
1528 pub const SE_SERVICE_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeServiceLogonRight");
1529 pub const SL_ACTIVATION_TYPE_ACTIVE_DIRECTORY: SL_ACTIVATION_TYPE = 1i32;
1530 pub const SL_ACTIVATION_TYPE_DEFAULT: SL_ACTIVATION_TYPE = 0i32;
1531 pub const SL_CLIENTAPI_ZONE: u32 = 61440u32;
1532 pub const SL_DATA_BINARY: SLDATATYPE = 3u32;
1533 pub const SL_DATA_DWORD: SLDATATYPE = 4u32;
1534 pub const SL_DATA_MULTI_SZ: SLDATATYPE = 7u32;
1535 pub const SL_DATA_NONE: SLDATATYPE = 0u32;
1536 pub const SL_DATA_SUM: SLDATATYPE = 100u32;
1537 pub const SL_DATA_SZ: SLDATATYPE = 1u32;
1538 pub const SL_DEFAULT_MIGRATION_ENCRYPTOR_URI: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("msft:spp/migrationencryptor/tokenact/1.0");
1539 pub const SL_EVENT_LICENSING_STATE_CHANGED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("msft:rm/event/licensingstatechanged");
1540 pub const SL_EVENT_POLICY_CHANGED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("msft:rm/event/policychanged");
1541 pub const SL_EVENT_USER_NOTIFICATION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("msft:rm/event/usernotification");
1542 pub const SL_E_ACTIVATION_IN_PROGRESS: ::windows_sys::core::HRESULT = -1073422296i32;
1543 pub const SL_E_APPLICATION_POLICIES_MISSING: ::windows_sys::core::HRESULT = -1073418126i32;
1544 pub const SL_E_APPLICATION_POLICIES_NOT_LOADED: ::windows_sys::core::HRESULT = -1073418125i32;
1545 pub const SL_E_AUTHN_CANT_VERIFY: ::windows_sys::core::HRESULT = -1073418118i32;
1546 pub const SL_E_AUTHN_CHALLENGE_NOT_SET: ::windows_sys::core::HRESULT = -1073418119i32;
1547 pub const SL_E_AUTHN_MISMATCHED_KEY: ::windows_sys::core::HRESULT = -1073418120i32;
1548 pub const SL_E_AUTHN_WRONG_VERSION: ::windows_sys::core::HRESULT = -1073418121i32;
1549 pub const SL_E_BASE_SKU_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073418155i32;
1550 pub const SL_E_BIOS_KEY: ::windows_sys::core::HRESULT = -1073417707i32;
1551 pub const SL_E_BLOCKED_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073418159i32;
1552 pub const SL_E_CHPA_ACTCONFIG_ID_NOT_FOUND: ::windows_sys::core::HRESULT = -1073430519i32;
1553 pub const SL_E_CHPA_BINDING_MAPPING_NOT_FOUND: ::windows_sys::core::HRESULT = -1073430522i32;
1554 pub const SL_E_CHPA_BINDING_NOT_FOUND: ::windows_sys::core::HRESULT = -1073430523i32;
1555 pub const SL_E_CHPA_BUSINESS_RULE_INPUT_NOT_FOUND: ::windows_sys::core::HRESULT = -1073428736i32;
1556 pub const SL_E_CHPA_DATABASE_ERROR: ::windows_sys::core::HRESULT = -1073430509i32;
1557 pub const SL_E_CHPA_DIGITALMARKER_BINDING_NOT_CONFIGURED: ::windows_sys::core::HRESULT = -1073430446i32;
1558 pub const SL_E_CHPA_DIGITALMARKER_INVALID_BINDING: ::windows_sys::core::HRESULT = -1073430447i32;
1559 pub const SL_E_CHPA_DMAK_EXTENSION_LIMIT_EXCEEDED: ::windows_sys::core::HRESULT = -1073430495i32;
1560 pub const SL_E_CHPA_DMAK_LIMIT_EXCEEDED: ::windows_sys::core::HRESULT = -1073430496i32;
1561 pub const SL_E_CHPA_DYNAMICALLY_BLOCKED_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073430432i32;
1562 pub const SL_E_CHPA_FAILED_TO_DELETE_PRODUCTKEY_BINDING: ::windows_sys::core::HRESULT = -1073428649i32;
1563 pub const SL_E_CHPA_FAILED_TO_DELETE_PRODUCT_KEY_PROPERTY: ::windows_sys::core::HRESULT = -1073428644i32;
1564 pub const SL_E_CHPA_FAILED_TO_INSERT_PRODUCTKEY_BINDING: ::windows_sys::core::HRESULT = -1073428650i32;
1565 pub const SL_E_CHPA_FAILED_TO_INSERT_PRODUCT_KEY_PROPERTY: ::windows_sys::core::HRESULT = -1073428646i32;
1566 pub const SL_E_CHPA_FAILED_TO_INSERT_PRODUCT_KEY_RECORD: ::windows_sys::core::HRESULT = -1073428608i32;
1567 pub const SL_E_CHPA_FAILED_TO_PROCESS_PRODUCT_KEY_BINDINGS_XML: ::windows_sys::core::HRESULT = -1073428648i32;
1568 pub const SL_E_CHPA_FAILED_TO_UPDATE_PRODUCTKEY_BINDING: ::windows_sys::core::HRESULT = -1073428651i32;
1569 pub const SL_E_CHPA_FAILED_TO_UPDATE_PRODUCT_KEY_PROPERTY: ::windows_sys::core::HRESULT = -1073428645i32;
1570 pub const SL_E_CHPA_FAILED_TO_UPDATE_PRODUCT_KEY_RECORD: ::windows_sys::core::HRESULT = -1073428607i32;
1571 pub const SL_E_CHPA_GENERAL_ERROR: ::windows_sys::core::HRESULT = -1073430448i32;
1572 pub const SL_E_CHPA_INVALID_ACTCONFIG_ID: ::windows_sys::core::HRESULT = -1073430515i32;
1573 pub const SL_E_CHPA_INVALID_ARGUMENT: ::windows_sys::core::HRESULT = -1073430508i32;
1574 pub const SL_E_CHPA_INVALID_BINDING: ::windows_sys::core::HRESULT = -1073430526i32;
1575 pub const SL_E_CHPA_INVALID_BINDING_URI: ::windows_sys::core::HRESULT = -1073430511i32;
1576 pub const SL_E_CHPA_INVALID_PRODUCT_DATA: ::windows_sys::core::HRESULT = -1073430517i32;
1577 pub const SL_E_CHPA_INVALID_PRODUCT_DATA_ID: ::windows_sys::core::HRESULT = -1073430518i32;
1578 pub const SL_E_CHPA_INVALID_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073430524i32;
1579 pub const SL_E_CHPA_INVALID_PRODUCT_KEY_CHAR: ::windows_sys::core::HRESULT = -1073430512i32;
1580 pub const SL_E_CHPA_INVALID_PRODUCT_KEY_FORMAT: ::windows_sys::core::HRESULT = -1073430513i32;
1581 pub const SL_E_CHPA_INVALID_PRODUCT_KEY_LENGTH: ::windows_sys::core::HRESULT = -1073430514i32;
1582 pub const SL_E_CHPA_MAXIMUM_UNLOCK_EXCEEDED: ::windows_sys::core::HRESULT = -1073430520i32;
1583 pub const SL_E_CHPA_MSCH_RESPONSE_NOT_AVAILABLE_VGA: ::windows_sys::core::HRESULT = -1073429505i32;
1584 pub const SL_E_CHPA_NETWORK_ERROR: ::windows_sys::core::HRESULT = -1073430510i32;
1585 pub const SL_E_CHPA_NO_RULES_TO_ACTIVATE: ::windows_sys::core::HRESULT = -1073430449i32;
1586 pub const SL_E_CHPA_NULL_VALUE_FOR_PROPERTY_NAME_OR_ID: ::windows_sys::core::HRESULT = -1073428656i32;
1587 pub const SL_E_CHPA_OEM_SLP_COA0: ::windows_sys::core::HRESULT = -1073430506i32;
1588 pub const SL_E_CHPA_OVERRIDE_REQUEST_NOT_FOUND: ::windows_sys::core::HRESULT = -1073430493i32;
1589 pub const SL_E_CHPA_PRODUCT_KEY_BEING_USED: ::windows_sys::core::HRESULT = -1073428624i32;
1590 pub const SL_E_CHPA_PRODUCT_KEY_BLOCKED: ::windows_sys::core::HRESULT = -1073430525i32;
1591 pub const SL_E_CHPA_PRODUCT_KEY_BLOCKED_IPLOCATION: ::windows_sys::core::HRESULT = -1073430505i32;
1592 pub const SL_E_CHPA_PRODUCT_KEY_OUT_OF_RANGE: ::windows_sys::core::HRESULT = -1073430527i32;
1593 pub const SL_E_CHPA_REISSUANCE_LIMIT_NOT_FOUND: ::windows_sys::core::HRESULT = -1073430494i32;
1594 pub const SL_E_CHPA_RESPONSE_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073430507i32;
1595 pub const SL_E_CHPA_SYSTEM_ERROR: ::windows_sys::core::HRESULT = -1073430516i32;
1596 pub const SL_E_CHPA_TIMEBASED_ACTIVATION_AFTER_END_DATE: ::windows_sys::core::HRESULT = -1073430479i32;
1597 pub const SL_E_CHPA_TIMEBASED_ACTIVATION_BEFORE_START_DATE: ::windows_sys::core::HRESULT = -1073430480i32;
1598 pub const SL_E_CHPA_TIMEBASED_ACTIVATION_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073430478i32;
1599 pub const SL_E_CHPA_TIMEBASED_PRODUCT_KEY_NOT_CONFIGURED: ::windows_sys::core::HRESULT = -1073430477i32;
1600 pub const SL_E_CHPA_UNKNOWN_PRODUCT_KEY_TYPE: ::windows_sys::core::HRESULT = -1073428636i32;
1601 pub const SL_E_CHPA_UNKNOWN_PROPERTY_ID: ::windows_sys::core::HRESULT = -1073428654i32;
1602 pub const SL_E_CHPA_UNKNOWN_PROPERTY_NAME: ::windows_sys::core::HRESULT = -1073428655i32;
1603 pub const SL_E_CHPA_UNSUPPORTED_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073430521i32;
1604 pub const SL_E_CIDIID_INVALID_CHECK_DIGITS: ::windows_sys::core::HRESULT = -1073418163i32;
1605 pub const SL_E_CIDIID_INVALID_DATA: ::windows_sys::core::HRESULT = -1073418196i32;
1606 pub const SL_E_CIDIID_INVALID_DATA_LENGTH: ::windows_sys::core::HRESULT = -1073418193i32;
1607 pub const SL_E_CIDIID_INVALID_VERSION: ::windows_sys::core::HRESULT = -1073418195i32;
1608 pub const SL_E_CIDIID_MISMATCHED: ::windows_sys::core::HRESULT = -1073418191i32;
1609 pub const SL_E_CIDIID_MISMATCHED_PKEY: ::windows_sys::core::HRESULT = -1073418114i32;
1610 pub const SL_E_CIDIID_NOT_BOUND: ::windows_sys::core::HRESULT = -1073418113i32;
1611 pub const SL_E_CIDIID_NOT_DEPOSITED: ::windows_sys::core::HRESULT = -1073418192i32;
1612 pub const SL_E_CIDIID_VERSION_NOT_SUPPORTED: ::windows_sys::core::HRESULT = -1073418194i32;
1613 pub const SL_E_DATATYPE_MISMATCHED: ::windows_sys::core::HRESULT = -1073418210i32;
1614 pub const SL_E_DECRYPTION_LICENSES_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073418212i32;
1615 pub const SL_E_DEPENDENT_PROPERTY_NOT_SET: ::windows_sys::core::HRESULT = -1073418138i32;
1616 pub const SL_E_DOWNLEVEL_SETUP_KEY: ::windows_sys::core::HRESULT = -1073417708i32;
1617 pub const SL_E_DUPLICATE_POLICY: ::windows_sys::core::HRESULT = -1073418158i32;
1618 pub const SL_E_EDITION_MISMATCHED: ::windows_sys::core::HRESULT = -1073417712i32;
1619 pub const SL_E_ENGINE_DETECTED_EXPLOIT: ::windows_sys::core::HRESULT = -1073429327i32;
1620 pub const SL_E_EUL_CONSUMPTION_FAILED: ::windows_sys::core::HRESULT = -1073422315i32;
1621 pub const SL_E_EUL_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073418188i32;
1622 pub const SL_E_EVALUATION_FAILED: ::windows_sys::core::HRESULT = -1073422333i32;
1623 pub const SL_E_EVENT_ALREADY_REGISTERED: ::windows_sys::core::HRESULT = -1073418213i32;
1624 pub const SL_E_EVENT_NOT_REGISTERED: ::windows_sys::core::HRESULT = -1073418214i32;
1625 pub const SL_E_EXTERNAL_SIGNATURE_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418234i32;
1626 pub const SL_E_GRACE_TIME_EXPIRED: ::windows_sys::core::HRESULT = -1073418231i32;
1627 pub const SL_E_HEALTH_CHECK_FAILED_MUI_FILES: ::windows_sys::core::HRESULT = -1073429330i32;
1628 pub const SL_E_HEALTH_CHECK_FAILED_NEUTRAL_FILES: ::windows_sys::core::HRESULT = -1073429331i32;
1629 pub const SL_E_HWID_CHANGED: ::windows_sys::core::HRESULT = -1073417711i32;
1630 pub const SL_E_HWID_ERROR: ::windows_sys::core::HRESULT = -1073422309i32;
1631 pub const SL_E_IA_ID_MISMATCH: ::windows_sys::core::HRESULT = -1073414909i32;
1632 pub const SL_E_IA_INVALID_VIRTUALIZATION_PLATFORM: ::windows_sys::core::HRESULT = -1073414911i32;
1633 pub const SL_E_IA_MACHINE_NOT_BOUND: ::windows_sys::core::HRESULT = -1073414908i32;
1634 pub const SL_E_IA_PARENT_PARTITION_NOT_ACTIVATED: ::windows_sys::core::HRESULT = -1073414910i32;
1635 pub const SL_E_IA_THROTTLE_LIMIT_EXCEEDED: ::windows_sys::core::HRESULT = -1073414912i32;
1636 pub const SL_E_INTERNAL_ERROR: ::windows_sys::core::HRESULT = -1073418239i32;
1637 pub const SL_E_INVALID_AD_DATA: ::windows_sys::core::HRESULT = -1073429329i32;
1638 pub const SL_E_INVALID_BINDING_BLOB: ::windows_sys::core::HRESULT = -1073418190i32;
1639 pub const SL_E_INVALID_CLIENT_TOKEN: ::windows_sys::core::HRESULT = -1073429720i32;
1640 pub const SL_E_INVALID_CONTEXT: ::windows_sys::core::HRESULT = -1073422335i32;
1641 pub const SL_E_INVALID_CONTEXT_DATA: ::windows_sys::core::HRESULT = -1073422300i32;
1642 pub const SL_E_INVALID_EVENT_ID: ::windows_sys::core::HRESULT = -1073418215i32;
1643 pub const SL_E_INVALID_FILE_HASH: ::windows_sys::core::HRESULT = -1073429343i32;
1644 pub const SL_E_INVALID_GUID: ::windows_sys::core::HRESULT = -1073422330i32;
1645 pub const SL_E_INVALID_HASH: ::windows_sys::core::HRESULT = -1073422299i32;
1646 pub const SL_E_INVALID_LICENSE: ::windows_sys::core::HRESULT = -1073418209i32;
1647 pub const SL_E_INVALID_LICENSE_STATE: ::windows_sys::core::HRESULT = -1073429336i32;
1648 pub const SL_E_INVALID_LICENSE_STATE_BREACH_GRACE: ::windows_sys::core::HRESULT = -1073429871i32;
1649 pub const SL_E_INVALID_LICENSE_STATE_BREACH_GRACE_EXPIRED: ::windows_sys::core::HRESULT = -1073429870i32;
1650 pub const SL_E_INVALID_OEM_OR_VOLUME_BINDING_DATA: ::windows_sys::core::HRESULT = -1073429337i32;
1651 pub const SL_E_INVALID_OFFLINE_BLOB: ::windows_sys::core::HRESULT = -1073429719i32;
1652 pub const SL_E_INVALID_OSVERSION_TEMPLATEID: ::windows_sys::core::HRESULT = -1073429717i32;
1653 pub const SL_E_INVALID_OS_FOR_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073429503i32;
1654 pub const SL_E_INVALID_PACKAGE: ::windows_sys::core::HRESULT = -1073418208i32;
1655 pub const SL_E_INVALID_PACKAGE_VERSION: ::windows_sys::core::HRESULT = -1073418144i32;
1656 pub const SL_E_INVALID_PKEY: ::windows_sys::core::HRESULT = -1073418224i32;
1657 pub const SL_E_INVALID_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073418160i32;
1658 pub const SL_E_INVALID_PRODUCT_KEY_TYPE: ::windows_sys::core::HRESULT = -1073418115i32;
1659 pub const SL_E_INVALID_RSDP_COUNT: ::windows_sys::core::HRESULT = -1073429328i32;
1660 pub const SL_E_INVALID_RULESET_RULE: ::windows_sys::core::HRESULT = -1073422301i32;
1661 pub const SL_E_INVALID_RUNNING_MODE: ::windows_sys::core::HRESULT = -1073418199i32;
1662 pub const SL_E_INVALID_TEMPLATE_ID: ::windows_sys::core::HRESULT = -1073429770i32;
1663 pub const SL_E_INVALID_TOKEN_DATA: ::windows_sys::core::HRESULT = -1073429332i32;
1664 pub const SL_E_INVALID_USE_OF_ADD_ON_PKEY: ::windows_sys::core::HRESULT = -2147164122i32;
1665 pub const SL_E_INVALID_XML_BLOB: ::windows_sys::core::HRESULT = -1073429766i32;
1666 pub const SL_E_IP_LOCATION_FALIED: ::windows_sys::core::HRESULT = -1073429335i32;
1667 pub const SL_E_ISSUANCE_LICENSE_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418142i32;
1668 pub const SL_E_LICENSE_AUTHORIZATION_FAILED: ::windows_sys::core::HRESULT = -1073418206i32;
1669 pub const SL_E_LICENSE_DECRYPTION_FAILED: ::windows_sys::core::HRESULT = -1073418205i32;
1670 pub const SL_E_LICENSE_FILE_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418223i32;
1671 pub const SL_E_LICENSE_INVALID_ADDON_INFO: ::windows_sys::core::HRESULT = -1073422310i32;
1672 pub const SL_E_LICENSE_MANAGEMENT_DATA_DUPLICATED: ::windows_sys::core::HRESULT = -1073418156i32;
1673 pub const SL_E_LICENSE_MANAGEMENT_DATA_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418161i32;
1674 pub const SL_E_LICENSE_NOT_BOUND: ::windows_sys::core::HRESULT = -1073418112i32;
1675 pub const SL_E_LICENSE_SERVER_URL_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418216i32;
1676 pub const SL_E_LICENSE_SIGNATURE_VERIFICATION_FAILED: ::windows_sys::core::HRESULT = -1073418211i32;
1677 pub const SL_E_LUA_ACCESSDENIED: ::windows_sys::core::HRESULT = -1073418203i32;
1678 pub const SL_E_MISMATCHED_APPID: ::windows_sys::core::HRESULT = -1073418230i32;
1679 pub const SL_E_MISMATCHED_KEY_TYPES: ::windows_sys::core::HRESULT = -1073429340i32;
1680 pub const SL_E_MISMATCHED_PID: ::windows_sys::core::HRESULT = -1073418235i32;
1681 pub const SL_E_MISMATCHED_PKEY_RANGE: ::windows_sys::core::HRESULT = -1073418236i32;
1682 pub const SL_E_MISMATCHED_PRODUCT_SKU: ::windows_sys::core::HRESULT = -1073418135i32;
1683 pub const SL_E_MISMATCHED_SECURITY_PROCESSOR: ::windows_sys::core::HRESULT = -1073418226i32;
1684 pub const SL_E_MISSING_OVERRIDE_ONLY_ATTRIBUTE: ::windows_sys::core::HRESULT = -1073418157i32;
1685 pub const SL_E_NONGENUINE_GRACE_TIME_EXPIRED: ::windows_sys::core::HRESULT = -1073418140i32;
1686 pub const SL_E_NONGENUINE_GRACE_TIME_EXPIRED_2: ::windows_sys::core::HRESULT = -1073418137i32;
1687 pub const SL_E_NON_GENUINE_STATUS_LAST: ::windows_sys::core::HRESULT = -1073428992i32;
1688 pub const SL_E_NOTIFICATION_BREACH_DETECTED: ::windows_sys::core::HRESULT = -1073429199i32;
1689 pub const SL_E_NOTIFICATION_GRACE_EXPIRED: ::windows_sys::core::HRESULT = -1073429198i32;
1690 pub const SL_E_NOTIFICATION_OTHER_REASONS: ::windows_sys::core::HRESULT = -1073429197i32;
1691 pub const SL_E_NOT_ACTIVATED: ::windows_sys::core::HRESULT = -1073422331i32;
1692 pub const SL_E_NOT_EVALUATED: ::windows_sys::core::HRESULT = -1073422332i32;
1693 pub const SL_E_NOT_GENUINE: ::windows_sys::core::HRESULT = -1073417728i32;
1694 pub const SL_E_NOT_SUPPORTED: ::windows_sys::core::HRESULT = -1073418218i32;
1695 pub const SL_E_NO_PID_CONFIG_DATA: ::windows_sys::core::HRESULT = -1073418229i32;
1696 pub const SL_E_NO_PRODUCT_KEY_FOUND: ::windows_sys::core::HRESULT = -1073417709i32;
1697 pub const SL_E_OEM_KEY_EDITION_MISMATCH: ::windows_sys::core::HRESULT = -1073417710i32;
1698 pub const SL_E_OFFLINE_GENUINE_BLOB_NOT_FOUND: ::windows_sys::core::HRESULT = -1073429715i32;
1699 pub const SL_E_OFFLINE_GENUINE_BLOB_REVOKED: ::windows_sys::core::HRESULT = -1073429716i32;
1700 pub const SL_E_OFFLINE_VALIDATION_BLOB_PARAM_NOT_FOUND: ::windows_sys::core::HRESULT = -1073429718i32;
1701 pub const SL_E_OPERATION_NOT_ALLOWED: ::windows_sys::core::HRESULT = -1073418134i32;
1702 pub const SL_E_OUT_OF_TOLERANCE: ::windows_sys::core::HRESULT = -1073418225i32;
1703 pub const SL_E_PKEY_INTERNAL_ERROR: ::windows_sys::core::HRESULT = -1073422311i32;
1704 pub const SL_E_PKEY_INVALID_ALGORITHM: ::windows_sys::core::HRESULT = -1073422312i32;
1705 pub const SL_E_PKEY_INVALID_CONFIG: ::windows_sys::core::HRESULT = -1073422314i32;
1706 pub const SL_E_PKEY_INVALID_KEYCHANGE1: ::windows_sys::core::HRESULT = -1073422308i32;
1707 pub const SL_E_PKEY_INVALID_KEYCHANGE2: ::windows_sys::core::HRESULT = -1073422307i32;
1708 pub const SL_E_PKEY_INVALID_KEYCHANGE3: ::windows_sys::core::HRESULT = -1073422306i32;
1709 pub const SL_E_PKEY_INVALID_UNIQUEID: ::windows_sys::core::HRESULT = -1073422313i32;
1710 pub const SL_E_PKEY_INVALID_UPGRADE: ::windows_sys::core::HRESULT = -1073418143i32;
1711 pub const SL_E_PKEY_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418220i32;
1712 pub const SL_E_PLUGIN_INVALID_MANIFEST: ::windows_sys::core::HRESULT = -1073418127i32;
1713 pub const SL_E_PLUGIN_NOT_REGISTERED: ::windows_sys::core::HRESULT = -1073418122i32;
1714 pub const SL_E_POLICY_CACHE_INVALID: ::windows_sys::core::HRESULT = -1073418200i32;
1715 pub const SL_E_POLICY_OTHERINFO_MISMATCH: ::windows_sys::core::HRESULT = -1073422304i32;
1716 pub const SL_E_PRODUCT_KEY_INSTALLATION_NOT_ALLOWED: ::windows_sys::core::HRESULT = -1073418189i32;
1717 pub const SL_E_PRODUCT_SKU_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418219i32;
1718 pub const SL_E_PRODUCT_UNIQUENESS_GROUP_ID_INVALID: ::windows_sys::core::HRESULT = -1073422303i32;
1719 pub const SL_E_PROXY_KEY_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418202i32;
1720 pub const SL_E_PROXY_POLICY_NOT_UPDATED: ::windows_sys::core::HRESULT = -1073418169i32;
1721 pub const SL_E_PUBLISHING_LICENSE_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418217i32;
1722 pub const SL_E_RAC_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073418233i32;
1723 pub const SL_E_RIGHT_NOT_CONSUMED: ::windows_sys::core::HRESULT = -1073418238i32;
1724 pub const SL_E_RIGHT_NOT_GRANTED: ::windows_sys::core::HRESULT = -1073418221i32;
1725 pub const SL_E_SECURE_STORE_ID_MISMATCH: ::windows_sys::core::HRESULT = -1073422302i32;
1726 pub const SL_E_SERVICE_RUNNING: ::windows_sys::core::HRESULT = -1073418117i32;
1727 pub const SL_E_SERVICE_STOPPING: ::windows_sys::core::HRESULT = -1073418123i32;
1728 pub const SL_E_SFS_BAD_TOKEN_EXT: ::windows_sys::core::HRESULT = -2147163899i32;
1729 pub const SL_E_SFS_BAD_TOKEN_NAME: ::windows_sys::core::HRESULT = -2147163900i32;
1730 pub const SL_E_SFS_DUPLICATE_TOKEN_NAME: ::windows_sys::core::HRESULT = -2147163898i32;
1731 pub const SL_E_SFS_FILE_READ_ERROR: ::windows_sys::core::HRESULT = -2147163895i32;
1732 pub const SL_E_SFS_FILE_WRITE_ERROR: ::windows_sys::core::HRESULT = -2147163894i32;
1733 pub const SL_E_SFS_INVALID_FD_TABLE: ::windows_sys::core::HRESULT = -2147163902i32;
1734 pub const SL_E_SFS_INVALID_FILE_POSITION: ::windows_sys::core::HRESULT = -2147163893i32;
1735 pub const SL_E_SFS_INVALID_FS_HEADER: ::windows_sys::core::HRESULT = -2147163891i32;
1736 pub const SL_E_SFS_INVALID_FS_VERSION: ::windows_sys::core::HRESULT = -2147163903i32;
1737 pub const SL_E_SFS_INVALID_SYNC: ::windows_sys::core::HRESULT = -2147163901i32;
1738 pub const SL_E_SFS_INVALID_TOKEN_DATA_HASH: ::windows_sys::core::HRESULT = -2147163896i32;
1739 pub const SL_E_SFS_INVALID_TOKEN_DESCRIPTOR: ::windows_sys::core::HRESULT = -2147163890i32;
1740 pub const SL_E_SFS_NO_ACTIVE_TRANSACTION: ::windows_sys::core::HRESULT = -2147163892i32;
1741 pub const SL_E_SFS_TOKEN_SIZE_MISMATCH: ::windows_sys::core::HRESULT = -2147163897i32;
1742 pub const SL_E_SLP_BAD_FORMAT: ::windows_sys::core::HRESULT = -1073418151i32;
1743 pub const SL_E_SLP_INVALID_MARKER_VERSION: ::windows_sys::core::HRESULT = -1073418116i32;
1744 pub const SL_E_SLP_MISSING_ACPI_SLIC: ::windows_sys::core::HRESULT = -1073418153i32;
1745 pub const SL_E_SLP_MISSING_SLP_MARKER: ::windows_sys::core::HRESULT = -1073418152i32;
1746 pub const SL_E_SLP_NOT_SIGNED: ::windows_sys::core::HRESULT = -1073418198i32;
1747 pub const SL_E_SLP_OEM_CERT_MISSING: ::windows_sys::core::HRESULT = -1073418141i32;
1748 pub const SL_E_SOFTMOD_EXPLOIT_DETECTED: ::windows_sys::core::HRESULT = -1073429333i32;
1749 pub const SL_E_SPC_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073418232i32;
1750 pub const SL_E_SRV_AUTHORIZATION_FAILED: ::windows_sys::core::HRESULT = -1073434619i32;
1751 pub const SL_E_SRV_BUSINESS_TOKEN_ENTRY_NOT_FOUND: ::windows_sys::core::HRESULT = -1073434608i32;
1752 pub const SL_E_SRV_CLIENT_CLOCK_OUT_OF_SYNC: ::windows_sys::core::HRESULT = -1073434607i32;
1753 pub const SL_E_SRV_GENERAL_ERROR: ::windows_sys::core::HRESULT = -1073434368i32;
1754 pub const SL_E_SRV_INVALID_BINDING: ::windows_sys::core::HRESULT = -1073434618i32;
1755 pub const SL_E_SRV_INVALID_LICENSE_STRUCTURE: ::windows_sys::core::HRESULT = -1073434620i32;
1756 pub const SL_E_SRV_INVALID_PAYLOAD: ::windows_sys::core::HRESULT = -1073434616i32;
1757 pub const SL_E_SRV_INVALID_PRODUCT_KEY_LICENSE: ::windows_sys::core::HRESULT = -1073434622i32;
1758 pub const SL_E_SRV_INVALID_PUBLISH_LICENSE: ::windows_sys::core::HRESULT = -1073434623i32;
1759 pub const SL_E_SRV_INVALID_RIGHTS_ACCOUNT_LICENSE: ::windows_sys::core::HRESULT = -1073434621i32;
1760 pub const SL_E_SRV_INVALID_SECURITY_PROCESSOR_LICENSE: ::windows_sys::core::HRESULT = -1073434615i32;
1761 pub const SL_E_SRV_SERVER_PONG: ::windows_sys::core::HRESULT = -1073434617i32;
1762 pub const SL_E_STORE_UPGRADE_TOKEN_NOT_AUTHORIZED: ::windows_sys::core::HRESULT = -1073422290i32;
1763 pub const SL_E_STORE_UPGRADE_TOKEN_NOT_PRS_SIGNED: ::windows_sys::core::HRESULT = -1073422292i32;
1764 pub const SL_E_STORE_UPGRADE_TOKEN_REQUIRED: ::windows_sys::core::HRESULT = -1073422295i32;
1765 pub const SL_E_STORE_UPGRADE_TOKEN_WRONG_EDITION: ::windows_sys::core::HRESULT = -1073422294i32;
1766 pub const SL_E_STORE_UPGRADE_TOKEN_WRONG_PID: ::windows_sys::core::HRESULT = -1073422293i32;
1767 pub const SL_E_STORE_UPGRADE_TOKEN_WRONG_VERSION: ::windows_sys::core::HRESULT = -1073422291i32;
1768 pub const SL_E_TAMPER_DETECTED: ::windows_sys::core::HRESULT = -1073418201i32;
1769 pub const SL_E_TAMPER_RECOVERY_REQUIRES_ACTIVATION: ::windows_sys::core::HRESULT = -1073414656i32;
1770 pub const SL_E_TKA_CERT_CNG_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073417453i32;
1771 pub const SL_E_TKA_CERT_NOT_FOUND: ::windows_sys::core::HRESULT = -1073417467i32;
1772 pub const SL_E_TKA_CHALLENGE_EXPIRED: ::windows_sys::core::HRESULT = -1073417471i32;
1773 pub const SL_E_TKA_CHALLENGE_MISMATCH: ::windows_sys::core::HRESULT = -1073417463i32;
1774 pub const SL_E_TKA_CRITERIA_MISMATCH: ::windows_sys::core::HRESULT = -1073417457i32;
1775 pub const SL_E_TKA_FAILED_GRANT_PARSING: ::windows_sys::core::HRESULT = -1073417460i32;
1776 pub const SL_E_TKA_GRANT_NOT_FOUND: ::windows_sys::core::HRESULT = -1073417468i32;
1777 pub const SL_E_TKA_INVALID_BLOB: ::windows_sys::core::HRESULT = -1073417465i32;
1778 pub const SL_E_TKA_INVALID_CERTIFICATE: ::windows_sys::core::HRESULT = -1073417462i32;
1779 pub const SL_E_TKA_INVALID_CERT_CHAIN: ::windows_sys::core::HRESULT = -1073417469i32;
1780 pub const SL_E_TKA_INVALID_SKU_ID: ::windows_sys::core::HRESULT = -1073417466i32;
1781 pub const SL_E_TKA_INVALID_SMARTCARD: ::windows_sys::core::HRESULT = -1073417461i32;
1782 pub const SL_E_TKA_INVALID_THUMBPRINT: ::windows_sys::core::HRESULT = -1073417459i32;
1783 pub const SL_E_TKA_SILENT_ACTIVATION_FAILURE: ::windows_sys::core::HRESULT = -1073417470i32;
1784 pub const SL_E_TKA_SOFT_CERT_DISALLOWED: ::windows_sys::core::HRESULT = -1073417455i32;
1785 pub const SL_E_TKA_SOFT_CERT_INVALID: ::windows_sys::core::HRESULT = -1073417454i32;
1786 pub const SL_E_TKA_TAMPERED_CERT_CHAIN: ::windows_sys::core::HRESULT = -1073417464i32;
1787 pub const SL_E_TKA_THUMBPRINT_CERT_NOT_FOUND: ::windows_sys::core::HRESULT = -1073417458i32;
1788 pub const SL_E_TKA_TPID_MISMATCH: ::windows_sys::core::HRESULT = -1073417456i32;
1789 pub const SL_E_TOKEN_STORE_INVALID_STATE: ::windows_sys::core::HRESULT = -1073422334i32;
1790 pub const SL_E_TOKSTO_ALREADY_INITIALIZED: ::windows_sys::core::HRESULT = -1073422326i32;
1791 pub const SL_E_TOKSTO_CANT_ACQUIRE_MUTEX: ::windows_sys::core::HRESULT = -1073422317i32;
1792 pub const SL_E_TOKSTO_CANT_CREATE_FILE: ::windows_sys::core::HRESULT = -1073422324i32;
1793 pub const SL_E_TOKSTO_CANT_CREATE_MUTEX: ::windows_sys::core::HRESULT = -1073422318i32;
1794 pub const SL_E_TOKSTO_CANT_PARSE_PROPERTIES: ::windows_sys::core::HRESULT = -1073422321i32;
1795 pub const SL_E_TOKSTO_CANT_READ_FILE: ::windows_sys::core::HRESULT = -1073422322i32;
1796 pub const SL_E_TOKSTO_CANT_WRITE_TO_FILE: ::windows_sys::core::HRESULT = -1073422323i32;
1797 pub const SL_E_TOKSTO_INVALID_FILE: ::windows_sys::core::HRESULT = -1073422319i32;
1798 pub const SL_E_TOKSTO_NOT_INITIALIZED: ::windows_sys::core::HRESULT = -1073422327i32;
1799 pub const SL_E_TOKSTO_NO_ID_SET: ::windows_sys::core::HRESULT = -1073422325i32;
1800 pub const SL_E_TOKSTO_NO_PROPERTIES: ::windows_sys::core::HRESULT = -1073422328i32;
1801 pub const SL_E_TOKSTO_NO_TOKEN_DATA: ::windows_sys::core::HRESULT = -1073422316i32;
1802 pub const SL_E_TOKSTO_PROPERTY_NOT_FOUND: ::windows_sys::core::HRESULT = -1073422320i32;
1803 pub const SL_E_TOKSTO_TOKEN_NOT_FOUND: ::windows_sys::core::HRESULT = -1073422329i32;
1804 pub const SL_E_USE_LICENSE_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418237i32;
1805 pub const SL_E_VALIDATION_BLOB_PARAM_NOT_FOUND: ::windows_sys::core::HRESULT = -1073429721i32;
1806 pub const SL_E_VALIDATION_BLOCKED_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073429342i32;
1807 pub const SL_E_VALIDATION_INVALID_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073429339i32;
1808 pub const SL_E_VALIDITY_PERIOD_EXPIRED: ::windows_sys::core::HRESULT = -1073415161i32;
1809 pub const SL_E_VALIDITY_TIME_EXPIRED: ::windows_sys::core::HRESULT = -1073418207i32;
1810 pub const SL_E_VALUE_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418222i32;
1811 pub const SL_E_VL_AD_AO_NAME_TOO_LONG: ::windows_sys::core::HRESULT = -1073418110i32;
1812 pub const SL_E_VL_AD_AO_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418111i32;
1813 pub const SL_E_VL_AD_SCHEMA_VERSION_NOT_SUPPORTED: ::windows_sys::core::HRESULT = -1073418109i32;
1814 pub const SL_E_VL_BINDING_SERVICE_NOT_ENABLED: ::windows_sys::core::HRESULT = -1073418183i32;
1815 pub const SL_E_VL_BINDING_SERVICE_UNAVAILABLE: ::windows_sys::core::HRESULT = -1073418124i32;
1816 pub const SL_E_VL_INFO_PRODUCT_USER_RIGHT: ::windows_sys::core::HRESULT = 1074065472i32;
1817 pub const SL_E_VL_INVALID_TIMESTAMP: ::windows_sys::core::HRESULT = -1073418132i32;
1818 pub const SL_E_VL_KEY_MANAGEMENT_SERVICE_ID_MISMATCH: ::windows_sys::core::HRESULT = -1073418174i32;
1819 pub const SL_E_VL_KEY_MANAGEMENT_SERVICE_NOT_ACTIVATED: ::windows_sys::core::HRESULT = -1073418175i32;
1820 pub const SL_E_VL_KEY_MANAGEMENT_SERVICE_VM_NOT_SUPPORTED: ::windows_sys::core::HRESULT = -1073418133i32;
1821 pub const SL_E_VL_MACHINE_NOT_BOUND: ::windows_sys::core::HRESULT = -1073418154i32;
1822 pub const SL_E_VL_NOT_ENOUGH_COUNT: ::windows_sys::core::HRESULT = -1073418184i32;
1823 pub const SL_E_VL_NOT_WINDOWS_SLP: ::windows_sys::core::HRESULT = -1073418187i32;
1824 pub const SL_E_WINDOWS_INVALID_LICENSE_STATE: ::windows_sys::core::HRESULT = -1073418204i32;
1825 pub const SL_E_WINDOWS_VERSION_MISMATCH: ::windows_sys::core::HRESULT = -1073422297i32;
1826 pub const SL_GEN_STATE_INVALID_LICENSE: SL_GENUINE_STATE = 1i32;
1827 pub const SL_GEN_STATE_IS_GENUINE: SL_GENUINE_STATE = 0i32;
1828 pub const SL_GEN_STATE_LAST: SL_GENUINE_STATE = 4i32;
1829 pub const SL_GEN_STATE_OFFLINE: SL_GENUINE_STATE = 3i32;
1830 pub const SL_GEN_STATE_TAMPERED: SL_GENUINE_STATE = 2i32;
1831 pub const SL_ID_ALL_LICENSES: SLIDTYPE = 5i32;
1832 pub const SL_ID_ALL_LICENSE_FILES: SLIDTYPE = 6i32;
1833 pub const SL_ID_APPLICATION: SLIDTYPE = 0i32;
1834 pub const SL_ID_LAST: SLIDTYPE = 8i32;
1835 pub const SL_ID_LICENSE: SLIDTYPE = 3i32;
1836 pub const SL_ID_LICENSE_FILE: SLIDTYPE = 2i32;
1837 pub const SL_ID_PKEY: SLIDTYPE = 4i32;
1838 pub const SL_ID_PRODUCT_SKU: SLIDTYPE = 1i32;
1839 pub const SL_ID_STORE_TOKEN: SLIDTYPE = 7i32;
1840 pub const SL_INFO_KEY_ACTIVE_PLUGINS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ActivePlugins");
1841 pub const SL_INFO_KEY_AUTHOR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Author");
1842 pub const SL_INFO_KEY_BIOS_OA2_MINOR_VERSION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BiosOA2MinorVersion");
1843 pub const SL_INFO_KEY_BIOS_PKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BiosProductKey");
1844 pub const SL_INFO_KEY_BIOS_PKEY_DESCRIPTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BiosProductKeyDescription");
1845 pub const SL_INFO_KEY_BIOS_PKEY_PKPN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BiosProductKeyPkPn");
1846 pub const SL_INFO_KEY_BIOS_SLIC_STATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BiosSlicState");
1847 pub const SL_INFO_KEY_CHANNEL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Channel");
1848 pub const SL_INFO_KEY_DESCRIPTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Description");
1849 pub const SL_INFO_KEY_DIGITAL_PID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DigitalPID");
1850 pub const SL_INFO_KEY_DIGITAL_PID2: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DigitalPID2");
1851 pub const SL_INFO_KEY_IS_KMS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IsKeyManagementService");
1852 pub const SL_INFO_KEY_IS_PRS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IsPRS");
1853 pub const SL_INFO_KEY_KMS_CURRENT_COUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyManagementServiceCurrentCount");
1854 pub const SL_INFO_KEY_KMS_FAILED_REQUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyManagementServiceFailedRequests");
1855 pub const SL_INFO_KEY_KMS_LICENSED_REQUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyManagementServiceLicensedRequests");
1856 pub const SL_INFO_KEY_KMS_NON_GENUINE_GRACE_REQUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyManagementServiceNonGenuineGraceRequests");
1857 pub const SL_INFO_KEY_KMS_NOTIFICATION_REQUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyManagementServiceNotificationRequests");
1858 pub const SL_INFO_KEY_KMS_OOB_GRACE_REQUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyManagementServiceOOBGraceRequests");
1859 pub const SL_INFO_KEY_KMS_OOT_GRACE_REQUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyManagementServiceOOTGraceRequests");
1860 pub const SL_INFO_KEY_KMS_REQUIRED_CLIENT_COUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyManagementServiceRequiredClientCount");
1861 pub const SL_INFO_KEY_KMS_TOTAL_REQUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyManagementServiceTotalRequests");
1862 pub const SL_INFO_KEY_KMS_UNLICENSED_REQUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyManagementServiceUnlicensedRequests");
1863 pub const SL_INFO_KEY_LICENSE_TYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LicenseType");
1864 pub const SL_INFO_KEY_LICENSOR_URL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LicensorUrl");
1865 pub const SL_INFO_KEY_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Name");
1866 pub const SL_INFO_KEY_PARTIAL_PRODUCT_KEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PartialProductKey");
1867 pub const SL_INFO_KEY_PRODUCT_KEY_ACTIVATION_URL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PKCURL");
1868 pub const SL_INFO_KEY_PRODUCT_SKU_ID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ProductSkuId");
1869 pub const SL_INFO_KEY_RIGHT_ACCOUNT_ACTIVATION_URL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RACURL");
1870 pub const SL_INFO_KEY_SECURE_PROCESSOR_ACTIVATION_URL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SPCURL");
1871 pub const SL_INFO_KEY_SECURE_STORE_ID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SecureStoreId");
1872 pub const SL_INFO_KEY_SYSTEM_STATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SystemState");
1873 pub const SL_INFO_KEY_USE_LICENSE_ACTIVATION_URL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EULURL");
1874 pub const SL_INFO_KEY_VERSION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Version");
1875 pub const SL_INTERNAL_ZONE: u32 = 57344u32;
1876 pub const SL_I_NONGENUINE_GRACE_PERIOD: ::windows_sys::core::HRESULT = 1074065509i32;
1877 pub const SL_I_NONGENUINE_GRACE_PERIOD_2: ::windows_sys::core::HRESULT = 1074065512i32;
1878 pub const SL_I_OOB_GRACE_PERIOD: ::windows_sys::core::HRESULT = 1074065420i32;
1879 pub const SL_I_OOT_GRACE_PERIOD: ::windows_sys::core::HRESULT = 1074065421i32;
1880 pub const SL_I_PERPETUAL_OOB_GRACE_PERIOD: ::windows_sys::core::HRESULT = 1074068485i32;
1881 pub const SL_I_STORE_BASED_ACTIVATION: ::windows_sys::core::HRESULT = 1074066433i32;
1882 pub const SL_I_TIMEBASED_EXTENDED_GRACE_PERIOD: ::windows_sys::core::HRESULT = 1074068486i32;
1883 pub const SL_I_TIMEBASED_VALIDITY_PERIOD: ::windows_sys::core::HRESULT = 1074068484i32;
1884 pub const SL_LICENSING_STATUS_IN_GRACE_PERIOD: SLLICENSINGSTATUS = 2i32;
1885 pub const SL_LICENSING_STATUS_LAST: SLLICENSINGSTATUS = 4i32;
1886 pub const SL_LICENSING_STATUS_LICENSED: SLLICENSINGSTATUS = 1i32;
1887 pub const SL_LICENSING_STATUS_NOTIFICATION: SLLICENSINGSTATUS = 3i32;
1888 pub const SL_LICENSING_STATUS_UNLICENSED: SLLICENSINGSTATUS = 0i32;
1889 pub const SL_MDOLLAR_ZONE: u32 = 40960u32;
1890 pub const SL_MSCH_ZONE: u32 = 49152u32;
1891 pub const SL_PKEY_DETECT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("msft:rm/algorithm/pkey/detect");
1892 pub const SL_PKEY_MS2005: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("msft:rm/algorithm/pkey/2005");
1893 pub const SL_PKEY_MS2009: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("msft:rm/algorithm/pkey/2009");
1894 pub const SL_POLICY_EVALUATION_MODE_ENABLED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Security-SPP-EvaluationModeEnabled");
1895 pub const SL_PROP_ACTIVATION_VALIDATION_IN_PROGRESS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SL_ACTIVATION_VALIDATION_IN_PROGRESS");
1896 pub const SL_PROP_BRT_COMMIT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SL_BRT_COMMIT");
1897 pub const SL_PROP_BRT_DATA: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SL_BRT_DATA");
1898 pub const SL_PROP_GENUINE_RESULT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SL_GENUINE_RESULT");
1899 pub const SL_PROP_GET_GENUINE_AUTHZ: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SL_GET_GENUINE_AUTHZ");
1900 pub const SL_PROP_GET_GENUINE_SERVER_AUTHZ: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SL_GET_GENUINE_SERVER_AUTHZ");
1901 pub const SL_PROP_LAST_ACT_ATTEMPT_HRESULT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SL_LAST_ACT_ATTEMPT_HRESULT");
1902 pub const SL_PROP_LAST_ACT_ATTEMPT_SERVER_FLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SL_LAST_ACT_ATTEMPT_SERVER_FLAGS");
1903 pub const SL_PROP_LAST_ACT_ATTEMPT_TIME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SL_LAST_ACT_ATTEMPT_TIME");
1904 pub const SL_PROP_NONGENUINE_GRACE_FLAG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SL_NONGENUINE_GRACE_FLAG");
1905 pub const SL_REARM_REBOOT_REQUIRED: u32 = 1u32;
1906 pub const SL_REFERRALTYPE_APPID: SLREFERRALTYPE = 1i32;
1907 pub const SL_REFERRALTYPE_BEST_MATCH: SLREFERRALTYPE = 4i32;
1908 pub const SL_REFERRALTYPE_OVERRIDE_APPID: SLREFERRALTYPE = 3i32;
1909 pub const SL_REFERRALTYPE_OVERRIDE_SKUID: SLREFERRALTYPE = 2i32;
1910 pub const SL_REFERRALTYPE_SKUID: SLREFERRALTYPE = 0i32;
1911 pub const SL_REMAPPING_MDOLLAR_CIDIID_INVALID_CHECK_DIGITS: ::windows_sys::core::HRESULT = -2143313776i32;
1912 pub const SL_REMAPPING_MDOLLAR_CIDIID_INVALID_DATA: ::windows_sys::core::HRESULT = -2143313778i32;
1913 pub const SL_REMAPPING_MDOLLAR_CIDIID_INVALID_DATA_LENGTH: ::windows_sys::core::HRESULT = -2143313777i32;
1914 pub const SL_REMAPPING_MDOLLAR_CIDIID_INVALID_VERSION: ::windows_sys::core::HRESULT = -2143313779i32;
1915 pub const SL_REMAPPING_MDOLLAR_DIGITALMARKER_BINDING_NOT_CONFIGURED: ::windows_sys::core::HRESULT = -2143313708i32;
1916 pub const SL_REMAPPING_MDOLLAR_DIGITALMARKER_INVALID_BINDING: ::windows_sys::core::HRESULT = -2143313709i32;
1917 pub const SL_REMAPPING_MDOLLAR_DMAK_EXTENSION_LIMIT_EXCEEDED: ::windows_sys::core::HRESULT = -2143313792i32;
1918 pub const SL_REMAPPING_MDOLLAR_DMAK_LIMIT_EXCEEDED: ::windows_sys::core::HRESULT = -2143313793i32;
1919 pub const SL_REMAPPING_MDOLLAR_DMAK_OVERRIDE_LIMIT_REACHED: ::windows_sys::core::HRESULT = -2143313706i32;
1920 pub const SL_REMAPPING_MDOLLAR_FREE_OFFER_EXPIRED: ::windows_sys::core::HRESULT = -2143312896i32;
1921 pub const SL_REMAPPING_MDOLLAR_INVALID_ACTCONFIG_ID: ::windows_sys::core::HRESULT = -2143313802i32;
1922 pub const SL_REMAPPING_MDOLLAR_INVALID_ARGUMENT: ::windows_sys::core::HRESULT = -2143313795i32;
1923 pub const SL_REMAPPING_MDOLLAR_INVALID_BINDING: ::windows_sys::core::HRESULT = -2143313818i32;
1924 pub const SL_REMAPPING_MDOLLAR_INVALID_BINDING_URI: ::windows_sys::core::HRESULT = -2143313798i32;
1925 pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_DATA: ::windows_sys::core::HRESULT = -2143313804i32;
1926 pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_DATA_ID: ::windows_sys::core::HRESULT = -2143313805i32;
1927 pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_KEY: ::windows_sys::core::HRESULT = -2143313816i32;
1928 pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_KEY_FORMAT: ::windows_sys::core::HRESULT = -2143313800i32;
1929 pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_KEY_LENGTH: ::windows_sys::core::HRESULT = -2143313801i32;
1930 pub const SL_REMAPPING_MDOLLAR_MAXIMUM_UNLOCK_EXCEEDED: ::windows_sys::core::HRESULT = -2143313807i32;
1931 pub const SL_REMAPPING_MDOLLAR_NO_RULES_TO_ACTIVATE: ::windows_sys::core::HRESULT = -2143313720i32;
1932 pub const SL_REMAPPING_MDOLLAR_OEM_SLP_COA0: ::windows_sys::core::HRESULT = -2143313789i32;
1933 pub const SL_REMAPPING_MDOLLAR_OSR_DEVICE_BLOCKED: ::windows_sys::core::HRESULT = -2143310909i32;
1934 pub const SL_REMAPPING_MDOLLAR_OSR_DEVICE_THROTTLED: ::windows_sys::core::HRESULT = -2143310914i32;
1935 pub const SL_REMAPPING_MDOLLAR_OSR_DONOR_HWID_NO_ENTITLEMENT: ::windows_sys::core::HRESULT = -2143310920i32;
1936 pub const SL_REMAPPING_MDOLLAR_OSR_GENERIC_ERROR: ::windows_sys::core::HRESULT = -2143310919i32;
1937 pub const SL_REMAPPING_MDOLLAR_OSR_GP_DISABLED: ::windows_sys::core::HRESULT = -2143310913i32;
1938 pub const SL_REMAPPING_MDOLLAR_OSR_HARDWARE_BLOCKED: ::windows_sys::core::HRESULT = -2143310912i32;
1939 pub const SL_REMAPPING_MDOLLAR_OSR_LICENSE_BLOCKED: ::windows_sys::core::HRESULT = -2143310910i32;
1940 pub const SL_REMAPPING_MDOLLAR_OSR_LICENSE_THROTTLED: ::windows_sys::core::HRESULT = -2143310915i32;
1941 pub const SL_REMAPPING_MDOLLAR_OSR_NOT_ADMIN: ::windows_sys::core::HRESULT = -2143310917i32;
1942 pub const SL_REMAPPING_MDOLLAR_OSR_NO_ASSOCIATION: ::windows_sys::core::HRESULT = -2143310918i32;
1943 pub const SL_REMAPPING_MDOLLAR_OSR_USER_BLOCKED: ::windows_sys::core::HRESULT = -2143310911i32;
1944 pub const SL_REMAPPING_MDOLLAR_OSR_USER_THROTTLED: ::windows_sys::core::HRESULT = -2143310916i32;
1945 pub const SL_REMAPPING_MDOLLAR_PRODUCT_KEY_BLOCKED: ::windows_sys::core::HRESULT = -2143313817i32;
1946 pub const SL_REMAPPING_MDOLLAR_PRODUCT_KEY_BLOCKED_IPLOCATION: ::windows_sys::core::HRESULT = -2143313717i32;
1947 pub const SL_REMAPPING_MDOLLAR_PRODUCT_KEY_OUT_OF_RANGE: ::windows_sys::core::HRESULT = -2143313819i32;
1948 pub const SL_REMAPPING_MDOLLAR_ROT_OVERRIDE_LIMIT_REACHED: ::windows_sys::core::HRESULT = -2143313707i32;
1949 pub const SL_REMAPPING_MDOLLAR_TIMEBASED_ACTIVATION_AFTER_END_DATE: ::windows_sys::core::HRESULT = -2143313768i32;
1950 pub const SL_REMAPPING_MDOLLAR_TIMEBASED_ACTIVATION_BEFORE_START_DATE: ::windows_sys::core::HRESULT = -2143313769i32;
1951 pub const SL_REMAPPING_MDOLLAR_TIMEBASED_ACTIVATION_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -2143313767i32;
1952 pub const SL_REMAPPING_MDOLLAR_TIMEBASED_PRODUCT_KEY_NOT_CONFIGURED: ::windows_sys::core::HRESULT = -2143313766i32;
1953 pub const SL_REMAPPING_MDOLLAR_UNSUPPORTED_PRODUCT_KEY: ::windows_sys::core::HRESULT = -2143313812i32;
1954 pub const SL_REMAPPING_SP_PUB_API_BAD_GET_INFO_QUERY: ::windows_sys::core::HRESULT = -1073426414i32;
1955 pub const SL_REMAPPING_SP_PUB_API_HANDLE_NOT_COMMITED: ::windows_sys::core::HRESULT = -1073426303i32;
1956 pub const SL_REMAPPING_SP_PUB_API_INVALID_ALGORITHM_TYPE: ::windows_sys::core::HRESULT = -1073426423i32;
1957 pub const SL_REMAPPING_SP_PUB_API_INVALID_HANDLE: ::windows_sys::core::HRESULT = -1073426388i32;
1958 pub const SL_REMAPPING_SP_PUB_API_INVALID_KEY_LENGTH: ::windows_sys::core::HRESULT = -1073426347i32;
1959 pub const SL_REMAPPING_SP_PUB_API_INVALID_LICENSE: ::windows_sys::core::HRESULT = -1073426432i32;
1960 pub const SL_REMAPPING_SP_PUB_API_NO_AES_PROVIDER: ::windows_sys::core::HRESULT = -1073426317i32;
1961 pub const SL_REMAPPING_SP_PUB_API_TOO_MANY_LOADED_ENVIRONMENTS: ::windows_sys::core::HRESULT = -1073426420i32;
1962 pub const SL_REMAPPING_SP_PUB_CRYPTO_HASH_FINALIZED: ::windows_sys::core::HRESULT = -1073425911i32;
1963 pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_BLOCK: ::windows_sys::core::HRESULT = -1073425905i32;
1964 pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_BLOCKLENGTH: ::windows_sys::core::HRESULT = -1073425918i32;
1965 pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_CIPHER: ::windows_sys::core::HRESULT = -1073425917i32;
1966 pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_CIPHERMODE: ::windows_sys::core::HRESULT = -1073425916i32;
1967 pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_FORMAT: ::windows_sys::core::HRESULT = -1073425904i32;
1968 pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_KEYLENGTH: ::windows_sys::core::HRESULT = -1073425919i32;
1969 pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_PADDING: ::windows_sys::core::HRESULT = -1073425903i32;
1970 pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_SIGNATURE: ::windows_sys::core::HRESULT = -1073425906i32;
1971 pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_SIGNATURELENGTH: ::windows_sys::core::HRESULT = -1073425907i32;
1972 pub const SL_REMAPPING_SP_PUB_CRYPTO_KEY_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073425910i32;
1973 pub const SL_REMAPPING_SP_PUB_CRYPTO_KEY_NOT_FOUND: ::windows_sys::core::HRESULT = -1073425909i32;
1974 pub const SL_REMAPPING_SP_PUB_CRYPTO_NOT_BLOCK_ALIGNED: ::windows_sys::core::HRESULT = -1073425908i32;
1975 pub const SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_ATTRIBUTEID: ::windows_sys::core::HRESULT = -1073425912i32;
1976 pub const SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_HASHID: ::windows_sys::core::HRESULT = -1073425913i32;
1977 pub const SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_KEYID: ::windows_sys::core::HRESULT = -1073425914i32;
1978 pub const SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_PROVIDERID: ::windows_sys::core::HRESULT = -1073425915i32;
1979 pub const SL_REMAPPING_SP_PUB_GENERAL_NOT_INITIALIZED: ::windows_sys::core::HRESULT = -1073426175i32;
1980 pub const SL_REMAPPING_SP_PUB_KM_CACHE_IDENTICAL: ::windows_sys::core::HRESULT = 1074058753i32;
1981 pub const SL_REMAPPING_SP_PUB_KM_CACHE_POLICY_CHANGED: ::windows_sys::core::HRESULT = 1074058754i32;
1982 pub const SL_REMAPPING_SP_PUB_KM_CACHE_TAMPER: ::windows_sys::core::HRESULT = -1073425151i32;
1983 pub const SL_REMAPPING_SP_PUB_KM_CACHE_TAMPER_RESTORE_FAILED: ::windows_sys::core::HRESULT = -1073425150i32;
1984 pub const SL_REMAPPING_SP_PUB_PROXY_SOFT_TAMPER: ::windows_sys::core::HRESULT = -1073424638i32;
1985 pub const SL_REMAPPING_SP_PUB_TAMPER_MODULE_AUTHENTICATION: ::windows_sys::core::HRESULT = -1073425407i32;
1986 pub const SL_REMAPPING_SP_PUB_TAMPER_SECURITY_PROCESSOR_PATCHED: ::windows_sys::core::HRESULT = -1073425406i32;
1987 pub const SL_REMAPPING_SP_PUB_TIMER_ALREADY_EXISTS: ::windows_sys::core::HRESULT = -1073425654i32;
1988 pub const SL_REMAPPING_SP_PUB_TIMER_EXPIRED: ::windows_sys::core::HRESULT = -1073425652i32;
1989 pub const SL_REMAPPING_SP_PUB_TIMER_NAME_SIZE_TOO_BIG: ::windows_sys::core::HRESULT = -1073425651i32;
1990 pub const SL_REMAPPING_SP_PUB_TIMER_NOT_FOUND: ::windows_sys::core::HRESULT = -1073425653i32;
1991 pub const SL_REMAPPING_SP_PUB_TIMER_READ_ONLY: ::windows_sys::core::HRESULT = -1073425647i32;
1992 pub const SL_REMAPPING_SP_PUB_TRUSTED_TIME_OK: ::windows_sys::core::HRESULT = 1074057999i32;
1993 pub const SL_REMAPPING_SP_PUB_TS_ACCESS_DENIED: ::windows_sys::core::HRESULT = -1073425644i32;
1994 pub const SL_REMAPPING_SP_PUB_TS_ATTRIBUTE_NOT_FOUND: ::windows_sys::core::HRESULT = -1073425645i32;
1995 pub const SL_REMAPPING_SP_PUB_TS_ATTRIBUTE_READ_ONLY: ::windows_sys::core::HRESULT = -1073425646i32;
1996 pub const SL_REMAPPING_SP_PUB_TS_DATA_SIZE_TOO_BIG: ::windows_sys::core::HRESULT = -1073425656i32;
1997 pub const SL_REMAPPING_SP_PUB_TS_ENTRY_KEY_ALREADY_EXISTS: ::windows_sys::core::HRESULT = -1073425659i32;
1998 pub const SL_REMAPPING_SP_PUB_TS_ENTRY_KEY_NOT_FOUND: ::windows_sys::core::HRESULT = -1073425660i32;
1999 pub const SL_REMAPPING_SP_PUB_TS_ENTRY_KEY_SIZE_TOO_BIG: ::windows_sys::core::HRESULT = -1073425658i32;
2000 pub const SL_REMAPPING_SP_PUB_TS_ENTRY_READ_ONLY: ::windows_sys::core::HRESULT = -1073425648i32;
2001 pub const SL_REMAPPING_SP_PUB_TS_FULL: ::windows_sys::core::HRESULT = -1073425650i32;
2002 pub const SL_REMAPPING_SP_PUB_TS_INVALID_HW_BINDING: ::windows_sys::core::HRESULT = -1073425655i32;
2003 pub const SL_REMAPPING_SP_PUB_TS_MAX_REARM_REACHED: ::windows_sys::core::HRESULT = -1073425657i32;
2004 pub const SL_REMAPPING_SP_PUB_TS_NAMESPACE_IN_USE: ::windows_sys::core::HRESULT = -1073425642i32;
2005 pub const SL_REMAPPING_SP_PUB_TS_NAMESPACE_NOT_FOUND: ::windows_sys::core::HRESULT = -1073425643i32;
2006 pub const SL_REMAPPING_SP_PUB_TS_REARMED: ::windows_sys::core::HRESULT = -1073425662i32;
2007 pub const SL_REMAPPING_SP_PUB_TS_RECREATED: ::windows_sys::core::HRESULT = -1073425661i32;
2008 pub const SL_REMAPPING_SP_PUB_TS_TAMPERED: ::windows_sys::core::HRESULT = -1073425663i32;
2009 pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_BREADCRUMB_GENERATION: ::windows_sys::core::HRESULT = -1073425640i32;
2010 pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_BREADCRUMB_LOAD_INVALID: ::windows_sys::core::HRESULT = -1073425641i32;
2011 pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_DATA_BREADCRUMB_MISMATCH: ::windows_sys::core::HRESULT = -1073425637i32;
2012 pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_DATA_VERSION_MISMATCH: ::windows_sys::core::HRESULT = -1073425636i32;
2013 pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_INVALID_DATA: ::windows_sys::core::HRESULT = -1073425639i32;
2014 pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_NO_DATA: ::windows_sys::core::HRESULT = -1073425638i32;
2015 pub const SL_REMAPPING_SP_STATUS_ALREADY_EXISTS: ::windows_sys::core::HRESULT = -1073426171i32;
2016 pub const SL_REMAPPING_SP_STATUS_DEBUGGER_DETECTED: ::windows_sys::core::HRESULT = -2147167989i32;
2017 pub const SL_REMAPPING_SP_STATUS_GENERIC_FAILURE: ::windows_sys::core::HRESULT = -1073426173i32;
2018 pub const SL_REMAPPING_SP_STATUS_INSUFFICIENT_BUFFER: ::windows_sys::core::HRESULT = -1073426169i32;
2019 pub const SL_REMAPPING_SP_STATUS_INVALIDARG: ::windows_sys::core::HRESULT = -1073426172i32;
2020 pub const SL_REMAPPING_SP_STATUS_INVALIDDATA: ::windows_sys::core::HRESULT = -1073426168i32;
2021 pub const SL_REMAPPING_SP_STATUS_INVALID_SPAPI_CALL: ::windows_sys::core::HRESULT = -1073426167i32;
2022 pub const SL_REMAPPING_SP_STATUS_INVALID_SPAPI_VERSION: ::windows_sys::core::HRESULT = -1073426166i32;
2023 pub const SL_REMAPPING_SP_STATUS_NO_MORE_DATA: ::windows_sys::core::HRESULT = -1073426164i32;
2024 pub const SL_REMAPPING_SP_STATUS_PUSHKEY_CONFLICT: ::windows_sys::core::HRESULT = -1073424639i32;
2025 pub const SL_REMAPPING_SP_STATUS_SYSTEM_TIME_SKEWED: ::windows_sys::core::HRESULT = -2147167998i32;
2026 pub const SL_SERVER_ZONE: u32 = 45056u32;
2027 pub const SL_SYSTEM_STATE_REBOOT_POLICY_FOUND: u32 = 1u32;
2028 pub const SL_SYSTEM_STATE_TAMPERED: u32 = 2u32;
2029 pub const SPP_MIGRATION_GATHER_ACTIVATED_WINDOWS_STATE: u32 = 2u32;
2030 pub const SPP_MIGRATION_GATHER_ALL: u32 = 4294967295u32;
2031 pub const SPP_MIGRATION_GATHER_MIGRATABLE_APPS: u32 = 1u32;
2032 pub const SP_ACCEPT_CREDENTIALS_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("SpAcceptCredentials\u{0}");
2033 pub const SP_PROT_ALL: u32 = 4294967295u32;
2034 pub const SP_PROT_DTLS1_0_CLIENT: u32 = 131072u32;
2035 pub const SP_PROT_DTLS1_0_SERVER: u32 = 65536u32;
2036 pub const SP_PROT_DTLS1_2_CLIENT: u32 = 524288u32;
2037 pub const SP_PROT_DTLS1_2_SERVER: u32 = 262144u32;
2038 pub const SP_PROT_DTLS_CLIENT: u32 = 131072u32;
2039 pub const SP_PROT_DTLS_SERVER: u32 = 65536u32;
2040 pub const SP_PROT_NONE: u32 = 0u32;
2041 pub const SP_PROT_PCT1_CLIENT: u32 = 2u32;
2042 pub const SP_PROT_PCT1_SERVER: u32 = 1u32;
2043 pub const SP_PROT_SSL2_CLIENT: u32 = 8u32;
2044 pub const SP_PROT_SSL2_SERVER: u32 = 4u32;
2045 pub const SP_PROT_SSL3_CLIENT: u32 = 32u32;
2046 pub const SP_PROT_SSL3_SERVER: u32 = 16u32;
2047 pub const SP_PROT_TLS1_0_CLIENT: u32 = 128u32;
2048 pub const SP_PROT_TLS1_0_SERVER: u32 = 64u32;
2049 pub const SP_PROT_TLS1_1_CLIENT: u32 = 512u32;
2050 pub const SP_PROT_TLS1_1_SERVER: u32 = 256u32;
2051 pub const SP_PROT_TLS1_2_CLIENT: u32 = 2048u32;
2052 pub const SP_PROT_TLS1_2_SERVER: u32 = 1024u32;
2053 pub const SP_PROT_TLS1_3PLUS_CLIENT: u32 = 8192u32;
2054 pub const SP_PROT_TLS1_3PLUS_SERVER: u32 = 4096u32;
2055 pub const SP_PROT_TLS1_3_CLIENT: u32 = 8192u32;
2056 pub const SP_PROT_TLS1_3_SERVER: u32 = 4096u32;
2057 pub const SP_PROT_TLS1_CLIENT: u32 = 128u32;
2058 pub const SP_PROT_TLS1_SERVER: u32 = 64u32;
2059 pub const SP_PROT_UNI_CLIENT: u32 = 2147483648u32;
2060 pub const SP_PROT_UNI_SERVER: u32 = 1073741824u32;
2061 pub const SSL2SP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft SSL 2.0");
2062 pub const SSL2SP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft SSL 2.0");
2063 pub const SSL2SP_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft SSL 2.0");
2064 pub const SSL3SP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft SSL 3.0");
2065 pub const SSL3SP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft SSL 3.0");
2066 pub const SSL3SP_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft SSL 3.0");
2067 pub const SSL_CRACK_CERTIFICATE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SslCrackCertificate");
2068 pub const SSL_FREE_CERTIFICATE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SslFreeCertificate");
2069 pub const SSL_SESSION_DISABLE_RECONNECTS: SCHANNEL_SESSION_TOKEN_FLAGS = 2u32;
2070 pub const SSL_SESSION_ENABLE_RECONNECTS: SCHANNEL_SESSION_TOKEN_FLAGS = 1u32;
2071 pub const SSL_SESSION_RECONNECT: u32 = 1u32;
2072 pub const SSPIPFC_CREDPROV_DO_NOT_LOAD: u32 = 4u32;
2073 pub const SSPIPFC_CREDPROV_DO_NOT_SAVE: u32 = 1u32;
2074 pub const SSPIPFC_NO_CHECKBOX: u32 = 2u32;
2075 pub const SSPIPFC_SAVE_CRED_BY_CALLER: u32 = 1u32;
2076 pub const SSPIPFC_USE_CREDUIBROKER: u32 = 8u32;
2077 pub const SZ_ALG_MAX_SIZE: u32 = 64u32;
2078 pub const Sasl_AuthZIDForbidden: SASL_AUTHZID_STATE = 0i32;
2079 pub const Sasl_AuthZIDProcessed: SASL_AUTHZID_STATE = 1i32;
2080 pub const SeAdtParmTypeAccessMask: SE_ADT_PARAMETER_TYPE = 7i32;
2081 pub const SeAdtParmTypeAccessReason: SE_ADT_PARAMETER_TYPE = 29i32;
2082 pub const SeAdtParmTypeClaims: SE_ADT_PARAMETER_TYPE = 32i32;
2083 pub const SeAdtParmTypeDateTime: SE_ADT_PARAMETER_TYPE = 22i32;
2084 pub const SeAdtParmTypeDuration: SE_ADT_PARAMETER_TYPE = 18i32;
2085 pub const SeAdtParmTypeFileSpec: SE_ADT_PARAMETER_TYPE = 2i32;
2086 pub const SeAdtParmTypeGuid: SE_ADT_PARAMETER_TYPE = 13i32;
2087 pub const SeAdtParmTypeHexInt64: SE_ADT_PARAMETER_TYPE = 15i32;
2088 pub const SeAdtParmTypeHexUlong: SE_ADT_PARAMETER_TYPE = 10i32;
2089 pub const SeAdtParmTypeLogonHours: SE_ADT_PARAMETER_TYPE = 25i32;
2090 pub const SeAdtParmTypeLogonId: SE_ADT_PARAMETER_TYPE = 5i32;
2091 pub const SeAdtParmTypeLogonIdAsSid: SE_ADT_PARAMETER_TYPE = 33i32;
2092 pub const SeAdtParmTypeLogonIdEx: SE_ADT_PARAMETER_TYPE = 35i32;
2093 pub const SeAdtParmTypeLogonIdNoSid: SE_ADT_PARAMETER_TYPE = 26i32;
2094 pub const SeAdtParmTypeLuid: SE_ADT_PARAMETER_TYPE = 14i32;
2095 pub const SeAdtParmTypeMessage: SE_ADT_PARAMETER_TYPE = 21i32;
2096 pub const SeAdtParmTypeMultiSzString: SE_ADT_PARAMETER_TYPE = 34i32;
2097 pub const SeAdtParmTypeNoLogonId: SE_ADT_PARAMETER_TYPE = 6i32;
2098 pub const SeAdtParmTypeNoUac: SE_ADT_PARAMETER_TYPE = 20i32;
2099 pub const SeAdtParmTypeNone: SE_ADT_PARAMETER_TYPE = 0i32;
2100 pub const SeAdtParmTypeObjectTypes: SE_ADT_PARAMETER_TYPE = 9i32;
2101 pub const SeAdtParmTypePrivs: SE_ADT_PARAMETER_TYPE = 8i32;
2102 pub const SeAdtParmTypePtr: SE_ADT_PARAMETER_TYPE = 11i32;
2103 pub const SeAdtParmTypeResourceAttribute: SE_ADT_PARAMETER_TYPE = 31i32;
2104 pub const SeAdtParmTypeSD: SE_ADT_PARAMETER_TYPE = 24i32;
2105 pub const SeAdtParmTypeSid: SE_ADT_PARAMETER_TYPE = 4i32;
2106 pub const SeAdtParmTypeSidList: SE_ADT_PARAMETER_TYPE = 17i32;
2107 pub const SeAdtParmTypeSockAddr: SE_ADT_PARAMETER_TYPE = 23i32;
2108 pub const SeAdtParmTypeSockAddrNoPort: SE_ADT_PARAMETER_TYPE = 28i32;
2109 pub const SeAdtParmTypeStagingReason: SE_ADT_PARAMETER_TYPE = 30i32;
2110 pub const SeAdtParmTypeString: SE_ADT_PARAMETER_TYPE = 1i32;
2111 pub const SeAdtParmTypeStringList: SE_ADT_PARAMETER_TYPE = 16i32;
2112 pub const SeAdtParmTypeTime: SE_ADT_PARAMETER_TYPE = 12i32;
2113 pub const SeAdtParmTypeUlong: SE_ADT_PARAMETER_TYPE = 3i32;
2114 pub const SeAdtParmTypeUlongNoConv: SE_ADT_PARAMETER_TYPE = 27i32;
2115 pub const SeAdtParmTypeUserAccountControl: SE_ADT_PARAMETER_TYPE = 19i32;
2116 pub const SecApplicationProtocolNegotiationExt_ALPN: SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT = 2i32;
2117 pub const SecApplicationProtocolNegotiationExt_NPN: SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT = 1i32;
2118 pub const SecApplicationProtocolNegotiationExt_None: SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT = 0i32;
2119 pub const SecApplicationProtocolNegotiationStatus_None: SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS = 0i32;
2120 pub const SecApplicationProtocolNegotiationStatus_SelectedClientOnly: SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS = 2i32;
2121 pub const SecApplicationProtocolNegotiationStatus_Success: SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS = 1i32;
2122 pub const SecDirectory: SecDelegationType = 3i32;
2123 pub const SecFull: SecDelegationType = 0i32;
2124 pub const SecNameAlternateId: SECPKG_NAME_TYPE = 1i32;
2125 pub const SecNameDN: SECPKG_NAME_TYPE = 3i32;
2126 pub const SecNameFlat: SECPKG_NAME_TYPE = 2i32;
2127 pub const SecNameSPN: SECPKG_NAME_TYPE = 4i32;
2128 pub const SecNameSamCompatible: SECPKG_NAME_TYPE = 0i32;
2129 pub const SecObject: SecDelegationType = 4i32;
2130 pub const SecPkgAttrLastClientTokenMaybe: SECPKG_ATTR_LCT_STATUS = 2i32;
2131 pub const SecPkgAttrLastClientTokenNo: SECPKG_ATTR_LCT_STATUS = 1i32;
2132 pub const SecPkgAttrLastClientTokenYes: SECPKG_ATTR_LCT_STATUS = 0i32;
2133 pub const SecPkgCallPackageMaxMessage: SECPKG_CALL_PACKAGE_MESSAGE_TYPE = 1026i32;
2134 pub const SecPkgCallPackageMinMessage: SECPKG_CALL_PACKAGE_MESSAGE_TYPE = 1024i32;
2135 pub const SecPkgCallPackagePinDcMessage: SECPKG_CALL_PACKAGE_MESSAGE_TYPE = 1024i32;
2136 pub const SecPkgCallPackageTransferCredMessage: SECPKG_CALL_PACKAGE_MESSAGE_TYPE = 1026i32;
2137 pub const SecPkgCallPackageUnpinAllDcsMessage: SECPKG_CALL_PACKAGE_MESSAGE_TYPE = 1025i32;
2138 pub const SecPkgCredClass_Ephemeral: SECPKG_CRED_CLASS = 10i32;
2139 pub const SecPkgCredClass_Explicit: SECPKG_CRED_CLASS = 40i32;
2140 pub const SecPkgCredClass_None: SECPKG_CRED_CLASS = 0i32;
2141 pub const SecPkgCredClass_PersistedGeneric: SECPKG_CRED_CLASS = 20i32;
2142 pub const SecPkgCredClass_PersistedSpecific: SECPKG_CRED_CLASS = 30i32;
2143 pub const SecService: SecDelegationType = 1i32;
2144 pub const SecSessionPrimaryCred: SECPKG_SESSIONINFO_TYPE = 0i32;
2145 pub const SecTrafficSecret_Client: SEC_TRAFFIC_SECRET_TYPE = 1i32;
2146 pub const SecTrafficSecret_None: SEC_TRAFFIC_SECRET_TYPE = 0i32;
2147 pub const SecTrafficSecret_Server: SEC_TRAFFIC_SECRET_TYPE = 2i32;
2148 pub const SecTree: SecDelegationType = 2i32;
2149 pub const SecpkgContextThunks: SECPKG_EXTENDED_INFORMATION_CLASS = 2i32;
2150 pub const SecpkgExtraOids: SECPKG_EXTENDED_INFORMATION_CLASS = 5i32;
2151 pub const SecpkgGssInfo: SECPKG_EXTENDED_INFORMATION_CLASS = 1i32;
2152 pub const SecpkgMaxInfo: SECPKG_EXTENDED_INFORMATION_CLASS = 6i32;
2153 pub const SecpkgMutualAuthLevel: SECPKG_EXTENDED_INFORMATION_CLASS = 3i32;
2154 pub const SecpkgNego2Info: SECPKG_EXTENDED_INFORMATION_CLASS = 7i32;
2155 pub const SecpkgWowClientDll: SECPKG_EXTENDED_INFORMATION_CLASS = 4i32;
2156 pub const TLS1SP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft TLS 1.0");
2157 pub const TLS1SP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft TLS 1.0");
2158 pub const TLS1SP_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft TLS 1.0");
2159 pub const TLS1_ALERT_ACCESS_DENIED: u32 = 49u32;
2160 pub const TLS1_ALERT_BAD_CERTIFICATE: u32 = 42u32;
2161 pub const TLS1_ALERT_BAD_RECORD_MAC: u32 = 20u32;
2162 pub const TLS1_ALERT_CERTIFICATE_EXPIRED: u32 = 45u32;
2163 pub const TLS1_ALERT_CERTIFICATE_REVOKED: u32 = 44u32;
2164 pub const TLS1_ALERT_CERTIFICATE_UNKNOWN: u32 = 46u32;
2165 pub const TLS1_ALERT_CLOSE_NOTIFY: u32 = 0u32;
2166 pub const TLS1_ALERT_DECODE_ERROR: u32 = 50u32;
2167 pub const TLS1_ALERT_DECOMPRESSION_FAIL: u32 = 30u32;
2168 pub const TLS1_ALERT_DECRYPTION_FAILED: u32 = 21u32;
2169 pub const TLS1_ALERT_DECRYPT_ERROR: u32 = 51u32;
2170 pub const TLS1_ALERT_EXPORT_RESTRICTION: u32 = 60u32;
2171 pub const TLS1_ALERT_FATAL: SCHANNEL_ALERT_TOKEN_ALERT_TYPE = 2u32;
2172 pub const TLS1_ALERT_HANDSHAKE_FAILURE: u32 = 40u32;
2173 pub const TLS1_ALERT_ILLEGAL_PARAMETER: u32 = 47u32;
2174 pub const TLS1_ALERT_INSUFFIENT_SECURITY: u32 = 71u32;
2175 pub const TLS1_ALERT_INTERNAL_ERROR: u32 = 80u32;
2176 pub const TLS1_ALERT_NO_APP_PROTOCOL: u32 = 120u32;
2177 pub const TLS1_ALERT_NO_RENEGOTIATION: u32 = 100u32;
2178 pub const TLS1_ALERT_PROTOCOL_VERSION: u32 = 70u32;
2179 pub const TLS1_ALERT_RECORD_OVERFLOW: u32 = 22u32;
2180 pub const TLS1_ALERT_UNEXPECTED_MESSAGE: u32 = 10u32;
2181 pub const TLS1_ALERT_UNKNOWN_CA: u32 = 48u32;
2182 pub const TLS1_ALERT_UNKNOWN_PSK_IDENTITY: u32 = 115u32;
2183 pub const TLS1_ALERT_UNSUPPORTED_CERT: u32 = 43u32;
2184 pub const TLS1_ALERT_UNSUPPORTED_EXT: u32 = 110u32;
2185 pub const TLS1_ALERT_USER_CANCELED: u32 = 90u32;
2186 pub const TLS1_ALERT_WARNING: SCHANNEL_ALERT_TOKEN_ALERT_TYPE = 1u32;
2187 pub const TLS_PARAMS_OPTIONAL: u32 = 1u32;
2188 pub const TOKENBINDING_EXTENSION_FORMAT_UNDEFINED: TOKENBINDING_EXTENSION_FORMAT = 0i32;
2189 pub const TOKENBINDING_KEY_PARAMETERS_TYPE_ANYEXISTING: TOKENBINDING_KEY_PARAMETERS_TYPE = 255i32;
2190 pub const TOKENBINDING_KEY_PARAMETERS_TYPE_ECDSAP256: TOKENBINDING_KEY_PARAMETERS_TYPE = 2i32;
2191 pub const TOKENBINDING_KEY_PARAMETERS_TYPE_RSA2048_PKCS: TOKENBINDING_KEY_PARAMETERS_TYPE = 0i32;
2192 pub const TOKENBINDING_KEY_PARAMETERS_TYPE_RSA2048_PSS: TOKENBINDING_KEY_PARAMETERS_TYPE = 1i32;
2193 pub const TOKENBINDING_TYPE_PROVIDED: TOKENBINDING_TYPE = 0i32;
2194 pub const TOKENBINDING_TYPE_REFERRED: TOKENBINDING_TYPE = 1i32;
2195 pub const TRUSTED_QUERY_AUTH: i32 = 64i32;
2196 pub const TRUSTED_QUERY_CONTROLLERS: i32 = 2i32;
2197 pub const TRUSTED_QUERY_DOMAIN_NAME: i32 = 1i32;
2198 pub const TRUSTED_QUERY_POSIX: i32 = 8i32;
2199 pub const TRUSTED_SET_AUTH: i32 = 32i32;
2200 pub const TRUSTED_SET_CONTROLLERS: i32 = 4i32;
2201 pub const TRUSTED_SET_POSIX: i32 = 16i32;
2202 pub const TRUST_ATTRIBUTES_USER: u32 = 4278190080u32;
2203 pub const TRUST_ATTRIBUTES_VALID: u32 = 4278386687u32;
2204 pub const TRUST_ATTRIBUTE_CROSS_ORGANIZATION: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 16u32;
2205 pub const TRUST_ATTRIBUTE_CROSS_ORGANIZATION_ENABLE_TGT_DELEGATION: u32 = 2048u32;
2206 pub const TRUST_ATTRIBUTE_CROSS_ORGANIZATION_NO_TGT_DELEGATION: u32 = 512u32;
2207 pub const TRUST_ATTRIBUTE_DISABLE_AUTH_TARGET_VALIDATION: u32 = 4096u32;
2208 pub const TRUST_ATTRIBUTE_FILTER_SIDS: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 4u32;
2209 pub const TRUST_ATTRIBUTE_FOREST_TRANSITIVE: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 8u32;
2210 pub const TRUST_ATTRIBUTE_NON_TRANSITIVE: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 1u32;
2211 pub const TRUST_ATTRIBUTE_PIM_TRUST: u32 = 1024u32;
2212 pub const TRUST_ATTRIBUTE_QUARANTINED_DOMAIN: u32 = 4u32;
2213 pub const TRUST_ATTRIBUTE_TREAT_AS_EXTERNAL: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 64u32;
2214 pub const TRUST_ATTRIBUTE_TREE_PARENT: u32 = 4194304u32;
2215 pub const TRUST_ATTRIBUTE_TREE_ROOT: u32 = 8388608u32;
2216 pub const TRUST_ATTRIBUTE_TRUST_USES_AES_KEYS: u32 = 256u32;
2217 pub const TRUST_ATTRIBUTE_TRUST_USES_RC4_ENCRYPTION: u32 = 128u32;
2218 pub const TRUST_ATTRIBUTE_UPLEVEL_ONLY: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 2u32;
2219 pub const TRUST_ATTRIBUTE_WITHIN_FOREST: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 32u32;
2220 pub const TRUST_AUTH_TYPE_CLEAR: LSA_AUTH_INFORMATION_AUTH_TYPE = 2u32;
2221 pub const TRUST_AUTH_TYPE_NONE: LSA_AUTH_INFORMATION_AUTH_TYPE = 0u32;
2222 pub const TRUST_AUTH_TYPE_NT4OWF: LSA_AUTH_INFORMATION_AUTH_TYPE = 1u32;
2223 pub const TRUST_AUTH_TYPE_VERSION: LSA_AUTH_INFORMATION_AUTH_TYPE = 3u32;
2224 pub const TRUST_DIRECTION_BIDIRECTIONAL: TRUSTED_DOMAIN_TRUST_DIRECTION = 3u32;
2225 pub const TRUST_DIRECTION_DISABLED: TRUSTED_DOMAIN_TRUST_DIRECTION = 0u32;
2226 pub const TRUST_DIRECTION_INBOUND: TRUSTED_DOMAIN_TRUST_DIRECTION = 1u32;
2227 pub const TRUST_DIRECTION_OUTBOUND: TRUSTED_DOMAIN_TRUST_DIRECTION = 2u32;
2228 pub const TRUST_TYPE_DCE: TRUSTED_DOMAIN_TRUST_TYPE = 4u32;
2229 pub const TRUST_TYPE_DOWNLEVEL: TRUSTED_DOMAIN_TRUST_TYPE = 1u32;
2230 pub const TRUST_TYPE_MIT: TRUSTED_DOMAIN_TRUST_TYPE = 3u32;
2231 pub const TRUST_TYPE_UPLEVEL: TRUSTED_DOMAIN_TRUST_TYPE = 2u32;
2232 pub const TlsHashAlgorithm_Md5: eTlsHashAlgorithm = 1i32;
2233 pub const TlsHashAlgorithm_None: eTlsHashAlgorithm = 0i32;
2234 pub const TlsHashAlgorithm_Sha1: eTlsHashAlgorithm = 2i32;
2235 pub const TlsHashAlgorithm_Sha224: eTlsHashAlgorithm = 3i32;
2236 pub const TlsHashAlgorithm_Sha256: eTlsHashAlgorithm = 4i32;
2237 pub const TlsHashAlgorithm_Sha384: eTlsHashAlgorithm = 5i32;
2238 pub const TlsHashAlgorithm_Sha512: eTlsHashAlgorithm = 6i32;
2239 pub const TlsParametersCngAlgUsageCertSig: eTlsAlgorithmUsage = 4i32;
2240 pub const TlsParametersCngAlgUsageCipher: eTlsAlgorithmUsage = 2i32;
2241 pub const TlsParametersCngAlgUsageDigest: eTlsAlgorithmUsage = 3i32;
2242 pub const TlsParametersCngAlgUsageKeyExchange: eTlsAlgorithmUsage = 0i32;
2243 pub const TlsParametersCngAlgUsageSignature: eTlsAlgorithmUsage = 1i32;
2244 pub const TlsSignatureAlgorithm_Anonymous: eTlsSignatureAlgorithm = 0i32;
2245 pub const TlsSignatureAlgorithm_Dsa: eTlsSignatureAlgorithm = 2i32;
2246 pub const TlsSignatureAlgorithm_Ecdsa: eTlsSignatureAlgorithm = 3i32;
2247 pub const TlsSignatureAlgorithm_Rsa: eTlsSignatureAlgorithm = 1i32;
2248 pub const TrustedControllersInformation: TRUSTED_INFORMATION_CLASS = 2i32;
2249 pub const TrustedDomainAuthInformation: TRUSTED_INFORMATION_CLASS = 7i32;
2250 pub const TrustedDomainAuthInformationInternal: TRUSTED_INFORMATION_CLASS = 9i32;
2251 pub const TrustedDomainAuthInformationInternalAes: TRUSTED_INFORMATION_CLASS = 14i32;
2252 pub const TrustedDomainFullInformation: TRUSTED_INFORMATION_CLASS = 8i32;
2253 pub const TrustedDomainFullInformation2Internal: TRUSTED_INFORMATION_CLASS = 12i32;
2254 pub const TrustedDomainFullInformationInternal: TRUSTED_INFORMATION_CLASS = 10i32;
2255 pub const TrustedDomainFullInformationInternalAes: TRUSTED_INFORMATION_CLASS = 15i32;
2256 pub const TrustedDomainInformationBasic: TRUSTED_INFORMATION_CLASS = 5i32;
2257 pub const TrustedDomainInformationEx: TRUSTED_INFORMATION_CLASS = 6i32;
2258 pub const TrustedDomainInformationEx2Internal: TRUSTED_INFORMATION_CLASS = 11i32;
2259 pub const TrustedDomainNameInformation: TRUSTED_INFORMATION_CLASS = 1i32;
2260 pub const TrustedDomainSupportedEncryptionTypes: TRUSTED_INFORMATION_CLASS = 13i32;
2261 pub const TrustedPasswordInformation: TRUSTED_INFORMATION_CLASS = 4i32;
2262 pub const TrustedPosixOffsetInformation: TRUSTED_INFORMATION_CLASS = 3i32;
2263 pub const UNDERSTANDS_LONG_NAMES: u32 = 1u32;
2264 pub const UNISP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Unified Security Protocol Provider");
2265 pub const UNISP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft Unified Security Protocol Provider");
2266 pub const UNISP_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Unified Security Protocol Provider");
2267 pub const UNISP_RPC_ID: u32 = 14u32;
2268 pub const USER_ACCOUNT_AUTO_LOCKED: u32 = 1024u32;
2269 pub const USER_ACCOUNT_DISABLED: u32 = 1u32;
2270 pub const USER_ALL_PARAMETERS: u32 = 2097152u32;
2271 pub const USER_DONT_EXPIRE_PASSWORD: u32 = 512u32;
2272 pub const USER_DONT_REQUIRE_PREAUTH: u32 = 65536u32;
2273 pub const USER_ENCRYPTED_TEXT_PASSWORD_ALLOWED: u32 = 2048u32;
2274 pub const USER_HOME_DIRECTORY_REQUIRED: u32 = 2u32;
2275 pub const USER_INTERDOMAIN_TRUST_ACCOUNT: u32 = 64u32;
2276 pub const USER_MNS_LOGON_ACCOUNT: u32 = 32u32;
2277 pub const USER_NORMAL_ACCOUNT: u32 = 16u32;
2278 pub const USER_NOT_DELEGATED: u32 = 16384u32;
2279 pub const USER_NO_AUTH_DATA_REQUIRED: u32 = 524288u32;
2280 pub const USER_PARTIAL_SECRETS_ACCOUNT: u32 = 1048576u32;
2281 pub const USER_PASSWORD_EXPIRED: u32 = 131072u32;
2282 pub const USER_PASSWORD_NOT_REQUIRED: u32 = 4u32;
2283 pub const USER_SERVER_TRUST_ACCOUNT: u32 = 256u32;
2284 pub const USER_SMARTCARD_REQUIRED: u32 = 4096u32;
2285 pub const USER_TEMP_DUPLICATE_ACCOUNT: u32 = 8u32;
2286 pub const USER_TRUSTED_FOR_DELEGATION: u32 = 8192u32;
2287 pub const USER_TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION: u32 = 262144u32;
2288 pub const USER_USE_AES_KEYS: u32 = 2097152u32;
2289 pub const USER_USE_DES_KEY_ONLY: u32 = 32768u32;
2290 pub const USER_WORKSTATION_TRUST_ACCOUNT: u32 = 128u32;
2291 pub const WDIGEST_SP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WDigest");
2292 pub const WDIGEST_SP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("WDigest");
2293 pub const WDIGEST_SP_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WDigest");
2294 pub const WINDOWS_SLID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x55c92734_d682_4d71_983e_d6ec3f16059f);
2295 pub const _FACILITY_WINDOWS_STORE: u32 = 63u32;
2296 pub type ASC_REQ_FLAGS = u32;
2297 pub type ASC_REQ_HIGH_FLAGS = u64;
2298 pub type CRED_FETCH = i32;
2299 pub type DOMAIN_PASSWORD_PROPERTIES = u32;
2300 pub type EXPORT_SECURITY_CONTEXT_FLAGS = u32;
2301 pub type EXTENDED_NAME_FORMAT = i32;
2302 pub type ISC_REQ_FLAGS = u32;
2303 pub type ISC_REQ_HIGH_FLAGS = u64;
2304 pub type KERB_ADDRESS_TYPE = u32;
2305 pub type KERB_CERTIFICATE_INFO_TYPE = i32;
2306 pub type KERB_CRYPTO_KEY_TYPE = i32;
2307 pub type KERB_LOGON_SUBMIT_TYPE = i32;
2308 pub type KERB_PROFILE_BUFFER_TYPE = i32;
2309 pub type KERB_PROTOCOL_MESSAGE_TYPE = i32;
2310 pub type KERB_REQUEST_FLAGS = u32;
2311 pub type KERB_TICKET_FLAGS = u32;
2312 pub type KSEC_CONTEXT_TYPE = i32;
2313 pub type LSA_AUTH_INFORMATION_AUTH_TYPE = u32;
2314 pub type LSA_FOREST_TRUST_COLLISION_RECORD_TYPE = i32;
2315 pub type LSA_FOREST_TRUST_RECORD_TYPE = i32;
2316 pub type LSA_LOOKUP_DOMAIN_INFO_CLASS = i32;
2317 pub type LSA_TOKEN_INFORMATION_TYPE = i32;
2318 pub type MSV1_0 = u32;
2319 pub type MSV1_0_AVID = i32;
2320 pub type MSV1_0_CREDENTIAL_KEY_TYPE = i32;
2321 pub type MSV1_0_LOGON_SUBMIT_TYPE = i32;
2322 pub type MSV1_0_PROFILE_BUFFER_TYPE = i32;
2323 pub type MSV1_0_PROTOCOL_MESSAGE_TYPE = i32;
2324 pub type MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = u32;
2325 pub type MSV_SUB_AUTHENTICATION_FILTER = u32;
2326 pub type MSV_SUPPLEMENTAL_CREDENTIAL_FLAGS = u32;
2327 pub type NEGOTIATE_MESSAGES = i32;
2328 pub type NETLOGON_LOGON_INFO_CLASS = i32;
2329 pub type PKU2U_LOGON_SUBMIT_TYPE = i32;
2330 pub type POLICY_AUDIT_EVENT_TYPE = i32;
2331 pub type POLICY_DOMAIN_INFORMATION_CLASS = i32;
2332 pub type POLICY_INFORMATION_CLASS = i32;
2333 pub type POLICY_LSA_SERVER_ROLE = i32;
2334 pub type POLICY_NOTIFICATION_INFORMATION_CLASS = i32;
2335 pub type SASL_AUTHZID_STATE = i32;
2336 pub type SCHANNEL_ALERT_TOKEN_ALERT_TYPE = u32;
2337 pub type SCHANNEL_CRED_FLAGS = u32;
2338 pub type SCHANNEL_SESSION_TOKEN_FLAGS = u32;
2339 pub type SECPKG_ATTR = u32;
2340 pub type SECPKG_ATTR_LCT_STATUS = i32;
2341 pub type SECPKG_CALL_PACKAGE_MESSAGE_TYPE = i32;
2342 pub type SECPKG_CRED = u32;
2343 pub type SECPKG_CRED_CLASS = i32;
2344 pub type SECPKG_EXTENDED_INFORMATION_CLASS = i32;
2345 pub type SECPKG_NAME_TYPE = i32;
2346 pub type SECPKG_PACKAGE_CHANGE_TYPE = u32;
2347 pub type SECPKG_SESSIONINFO_TYPE = i32;
2348 #[repr(transparent)]
2349 pub struct SECURITY_LOGON_TYPE(pub i32);
2350 impl SECURITY_LOGON_TYPE {
2351 pub const UndefinedLogonType: Self = Self(0i32);
2352 pub const Interactive: Self = Self(2i32);
2353 pub const Network: Self = Self(3i32);
2354 pub const Batch: Self = Self(4i32);
2355 pub const Service: Self = Self(5i32);
2356 pub const Proxy: Self = Self(6i32);
2357 pub const Unlock: Self = Self(7i32);
2358 pub const NetworkCleartext: Self = Self(8i32);
2359 pub const NewCredentials: Self = Self(9i32);
2360 pub const RemoteInteractive: Self = Self(10i32);
2361 pub const CachedInteractive: Self = Self(11i32);
2362 pub const CachedRemoteInteractive: Self = Self(12i32);
2363 pub const CachedUnlock: Self = Self(13i32);
2364 }
2365 impl ::core::marker::Copy for SECURITY_LOGON_TYPE {}
2366 impl ::core::clone::Clone for SECURITY_LOGON_TYPE {
2367 fn clone(&self) -> Self {
2368 *self
2369 }
2370 }
2371 pub type SECURITY_PACKAGE_OPTIONS_TYPE = u32;
2372 pub type SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT = i32;
2373 pub type SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS = i32;
2374 pub type SEC_TRAFFIC_SECRET_TYPE = i32;
2375 pub type SE_ADT_PARAMETER_TYPE = i32;
2376 pub type SLDATATYPE = u32;
2377 pub type SLIDTYPE = i32;
2378 pub type SLLICENSINGSTATUS = i32;
2379 pub type SLREFERRALTYPE = i32;
2380 pub type SL_ACTIVATION_TYPE = i32;
2381 pub type SL_GENUINE_STATE = i32;
2382 pub type SchGetExtensionsOptions = i32;
2383 pub type SecDelegationType = i32;
2384 pub type TOKENBINDING_EXTENSION_FORMAT = i32;
2385 pub type TOKENBINDING_KEY_PARAMETERS_TYPE = i32;
2386 pub type TOKENBINDING_TYPE = i32;
2387 pub type TRUSTED_DOMAIN_TRUST_ATTRIBUTES = u32;
2388 pub type TRUSTED_DOMAIN_TRUST_DIRECTION = u32;
2389 pub type TRUSTED_DOMAIN_TRUST_TYPE = u32;
2390 pub type TRUSTED_INFORMATION_CLASS = i32;
2391 pub type eTlsAlgorithmUsage = i32;
2392 pub type eTlsHashAlgorithm = i32;
2393 pub type eTlsSignatureAlgorithm = i32;
2394 #[repr(C)]
2395 pub struct AUDIT_POLICY_INFORMATION {
2396 pub AuditSubCategoryGuid: ::windows_sys::core::GUID,
2397 pub AuditingInformation: u32,
2398 pub AuditCategoryGuid: ::windows_sys::core::GUID,
2399 }
2400 impl ::core::marker::Copy for AUDIT_POLICY_INFORMATION {}
2401 impl ::core::clone::Clone for AUDIT_POLICY_INFORMATION {
2402 fn clone(&self) -> Self {
2403 *self
2404 }
2405 }
2406 #[repr(C)]
2407 #[doc = "Required features: `\"Win32_Foundation\"`"]
2408 #[cfg(feature = "Win32_Foundation")]
2409 pub struct CENTRAL_ACCESS_POLICY {
2410 pub CAPID: super::super::super::Foundation::PSID,
2411 pub Name: LSA_UNICODE_STRING,
2412 pub Description: LSA_UNICODE_STRING,
2413 pub ChangeId: LSA_UNICODE_STRING,
2414 pub Flags: u32,
2415 pub CAPECount: u32,
2416 pub CAPEs: *mut *mut CENTRAL_ACCESS_POLICY_ENTRY,
2417 }
2418 #[cfg(feature = "Win32_Foundation")]
2419 impl ::core::marker::Copy for CENTRAL_ACCESS_POLICY {}
2420 #[cfg(feature = "Win32_Foundation")]
2421 impl ::core::clone::Clone for CENTRAL_ACCESS_POLICY {
2422 fn clone(&self) -> Self {
2423 *self
2424 }
2425 }
2426 #[repr(C)]
2427 pub struct CENTRAL_ACCESS_POLICY_ENTRY {
2428 pub Name: LSA_UNICODE_STRING,
2429 pub Description: LSA_UNICODE_STRING,
2430 pub ChangeId: LSA_UNICODE_STRING,
2431 pub LengthAppliesTo: u32,
2432 pub AppliesTo: *mut u8,
2433 pub LengthSD: u32,
2434 pub SD: super::super::PSECURITY_DESCRIPTOR,
2435 pub LengthStagedSD: u32,
2436 pub StagedSD: super::super::PSECURITY_DESCRIPTOR,
2437 pub Flags: u32,
2438 }
2439 impl ::core::marker::Copy for CENTRAL_ACCESS_POLICY_ENTRY {}
2440 impl ::core::clone::Clone for CENTRAL_ACCESS_POLICY_ENTRY {
2441 fn clone(&self) -> Self {
2442 *self
2443 }
2444 }
2445 #[repr(C)]
2446 pub struct CLEAR_BLOCK {
2447 pub data: [u8; 8],
2448 }
2449 impl ::core::marker::Copy for CLEAR_BLOCK {}
2450 impl ::core::clone::Clone for CLEAR_BLOCK {
2451 fn clone(&self) -> Self {
2452 *self
2453 }
2454 }
2455 #[repr(C)]
2456 pub struct CRYPTO_SETTINGS {
2457 pub eAlgorithmUsage: eTlsAlgorithmUsage,
2458 pub strCngAlgId: LSA_UNICODE_STRING,
2459 pub cChainingModes: u32,
2460 pub rgstrChainingModes: *mut LSA_UNICODE_STRING,
2461 pub dwMinBitLength: u32,
2462 pub dwMaxBitLength: u32,
2463 }
2464 impl ::core::marker::Copy for CRYPTO_SETTINGS {}
2465 impl ::core::clone::Clone for CRYPTO_SETTINGS {
2466 fn clone(&self) -> Self {
2467 *self
2468 }
2469 }
2470 #[repr(C)]
2471 pub struct DOMAIN_PASSWORD_INFORMATION {
2472 pub MinPasswordLength: u16,
2473 pub PasswordHistoryLength: u16,
2474 pub PasswordProperties: DOMAIN_PASSWORD_PROPERTIES,
2475 pub MaxPasswordAge: i64,
2476 pub MinPasswordAge: i64,
2477 }
2478 impl ::core::marker::Copy for DOMAIN_PASSWORD_INFORMATION {}
2479 impl ::core::clone::Clone for DOMAIN_PASSWORD_INFORMATION {
2480 fn clone(&self) -> Self {
2481 *self
2482 }
2483 }
2484 #[repr(C)]
2485 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`"]
2486 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
2487 pub struct ENCRYPTED_CREDENTIALW {
2488 pub Cred: super::super::Credentials::CREDENTIALW,
2489 pub ClearCredentialBlobSize: u32,
2490 }
2491 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
2492 impl ::core::marker::Copy for ENCRYPTED_CREDENTIALW {}
2493 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
2494 impl ::core::clone::Clone for ENCRYPTED_CREDENTIALW {
2495 fn clone(&self) -> Self {
2496 *self
2497 }
2498 }
2499 #[repr(C)]
2500 #[doc = "Required features: `\"Win32_Foundation\"`"]
2501 #[cfg(feature = "Win32_Foundation")]
2502 pub struct KDC_PROXY_CACHE_ENTRY_DATA {
2503 pub SinceLastUsed: u64,
2504 pub DomainName: LSA_UNICODE_STRING,
2505 pub ProxyServerName: LSA_UNICODE_STRING,
2506 pub ProxyServerVdir: LSA_UNICODE_STRING,
2507 pub ProxyServerPort: u16,
2508 pub LogonId: super::super::super::Foundation::LUID,
2509 pub CredUserName: LSA_UNICODE_STRING,
2510 pub CredDomainName: LSA_UNICODE_STRING,
2511 pub GlobalCache: super::super::super::Foundation::BOOLEAN,
2512 }
2513 #[cfg(feature = "Win32_Foundation")]
2514 impl ::core::marker::Copy for KDC_PROXY_CACHE_ENTRY_DATA {}
2515 #[cfg(feature = "Win32_Foundation")]
2516 impl ::core::clone::Clone for KDC_PROXY_CACHE_ENTRY_DATA {
2517 fn clone(&self) -> Self {
2518 *self
2519 }
2520 }
2521 #[repr(C)]
2522 pub struct KERB_ADD_BINDING_CACHE_ENTRY_EX_REQUEST {
2523 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2524 pub RealmName: LSA_UNICODE_STRING,
2525 pub KdcAddress: LSA_UNICODE_STRING,
2526 pub AddressType: KERB_ADDRESS_TYPE,
2527 pub DcFlags: u32,
2528 }
2529 impl ::core::marker::Copy for KERB_ADD_BINDING_CACHE_ENTRY_EX_REQUEST {}
2530 impl ::core::clone::Clone for KERB_ADD_BINDING_CACHE_ENTRY_EX_REQUEST {
2531 fn clone(&self) -> Self {
2532 *self
2533 }
2534 }
2535 #[repr(C)]
2536 pub struct KERB_ADD_BINDING_CACHE_ENTRY_REQUEST {
2537 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2538 pub RealmName: LSA_UNICODE_STRING,
2539 pub KdcAddress: LSA_UNICODE_STRING,
2540 pub AddressType: KERB_ADDRESS_TYPE,
2541 }
2542 impl ::core::marker::Copy for KERB_ADD_BINDING_CACHE_ENTRY_REQUEST {}
2543 impl ::core::clone::Clone for KERB_ADD_BINDING_CACHE_ENTRY_REQUEST {
2544 fn clone(&self) -> Self {
2545 *self
2546 }
2547 }
2548 #[repr(C)]
2549 #[doc = "Required features: `\"Win32_Foundation\"`"]
2550 #[cfg(feature = "Win32_Foundation")]
2551 pub struct KERB_ADD_CREDENTIALS_REQUEST {
2552 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2553 pub UserName: LSA_UNICODE_STRING,
2554 pub DomainName: LSA_UNICODE_STRING,
2555 pub Password: LSA_UNICODE_STRING,
2556 pub LogonId: super::super::super::Foundation::LUID,
2557 pub Flags: KERB_REQUEST_FLAGS,
2558 }
2559 #[cfg(feature = "Win32_Foundation")]
2560 impl ::core::marker::Copy for KERB_ADD_CREDENTIALS_REQUEST {}
2561 #[cfg(feature = "Win32_Foundation")]
2562 impl ::core::clone::Clone for KERB_ADD_CREDENTIALS_REQUEST {
2563 fn clone(&self) -> Self {
2564 *self
2565 }
2566 }
2567 #[repr(C)]
2568 #[doc = "Required features: `\"Win32_Foundation\"`"]
2569 #[cfg(feature = "Win32_Foundation")]
2570 pub struct KERB_ADD_CREDENTIALS_REQUEST_EX {
2571 pub Credentials: KERB_ADD_CREDENTIALS_REQUEST,
2572 pub PrincipalNameCount: u32,
2573 pub PrincipalNames: [LSA_UNICODE_STRING; 1],
2574 }
2575 #[cfg(feature = "Win32_Foundation")]
2576 impl ::core::marker::Copy for KERB_ADD_CREDENTIALS_REQUEST_EX {}
2577 #[cfg(feature = "Win32_Foundation")]
2578 impl ::core::clone::Clone for KERB_ADD_CREDENTIALS_REQUEST_EX {
2579 fn clone(&self) -> Self {
2580 *self
2581 }
2582 }
2583 #[repr(C)]
2584 pub struct KERB_AUTH_DATA {
2585 pub Type: u32,
2586 pub Length: u32,
2587 pub Data: *mut u8,
2588 }
2589 impl ::core::marker::Copy for KERB_AUTH_DATA {}
2590 impl ::core::clone::Clone for KERB_AUTH_DATA {
2591 fn clone(&self) -> Self {
2592 *self
2593 }
2594 }
2595 #[repr(C)]
2596 pub struct KERB_BINDING_CACHE_ENTRY_DATA {
2597 pub DiscoveryTime: u64,
2598 pub RealmName: LSA_UNICODE_STRING,
2599 pub KdcAddress: LSA_UNICODE_STRING,
2600 pub AddressType: KERB_ADDRESS_TYPE,
2601 pub Flags: u32,
2602 pub DcFlags: u32,
2603 pub CacheFlags: u32,
2604 pub KdcName: LSA_UNICODE_STRING,
2605 }
2606 impl ::core::marker::Copy for KERB_BINDING_CACHE_ENTRY_DATA {}
2607 impl ::core::clone::Clone for KERB_BINDING_CACHE_ENTRY_DATA {
2608 fn clone(&self) -> Self {
2609 *self
2610 }
2611 }
2612 #[repr(C)]
2613 pub struct KERB_CERTIFICATE_HASHINFO {
2614 pub StoreNameLength: u16,
2615 pub HashLength: u16,
2616 }
2617 impl ::core::marker::Copy for KERB_CERTIFICATE_HASHINFO {}
2618 impl ::core::clone::Clone for KERB_CERTIFICATE_HASHINFO {
2619 fn clone(&self) -> Self {
2620 *self
2621 }
2622 }
2623 #[repr(C)]
2624 pub struct KERB_CERTIFICATE_INFO {
2625 pub CertInfoSize: u32,
2626 pub InfoType: u32,
2627 }
2628 impl ::core::marker::Copy for KERB_CERTIFICATE_INFO {}
2629 impl ::core::clone::Clone for KERB_CERTIFICATE_INFO {
2630 fn clone(&self) -> Self {
2631 *self
2632 }
2633 }
2634 #[repr(C)]
2635 pub struct KERB_CERTIFICATE_LOGON {
2636 pub MessageType: KERB_LOGON_SUBMIT_TYPE,
2637 pub DomainName: LSA_UNICODE_STRING,
2638 pub UserName: LSA_UNICODE_STRING,
2639 pub Pin: LSA_UNICODE_STRING,
2640 pub Flags: u32,
2641 pub CspDataLength: u32,
2642 pub CspData: *mut u8,
2643 }
2644 impl ::core::marker::Copy for KERB_CERTIFICATE_LOGON {}
2645 impl ::core::clone::Clone for KERB_CERTIFICATE_LOGON {
2646 fn clone(&self) -> Self {
2647 *self
2648 }
2649 }
2650 #[repr(C)]
2651 pub struct KERB_CERTIFICATE_S4U_LOGON {
2652 pub MessageType: KERB_LOGON_SUBMIT_TYPE,
2653 pub Flags: u32,
2654 pub UserPrincipalName: LSA_UNICODE_STRING,
2655 pub DomainName: LSA_UNICODE_STRING,
2656 pub CertificateLength: u32,
2657 pub Certificate: *mut u8,
2658 }
2659 impl ::core::marker::Copy for KERB_CERTIFICATE_S4U_LOGON {}
2660 impl ::core::clone::Clone for KERB_CERTIFICATE_S4U_LOGON {
2661 fn clone(&self) -> Self {
2662 *self
2663 }
2664 }
2665 #[repr(C)]
2666 #[doc = "Required features: `\"Win32_Foundation\"`"]
2667 #[cfg(feature = "Win32_Foundation")]
2668 pub struct KERB_CERTIFICATE_UNLOCK_LOGON {
2669 pub Logon: KERB_CERTIFICATE_LOGON,
2670 pub LogonId: super::super::super::Foundation::LUID,
2671 }
2672 #[cfg(feature = "Win32_Foundation")]
2673 impl ::core::marker::Copy for KERB_CERTIFICATE_UNLOCK_LOGON {}
2674 #[cfg(feature = "Win32_Foundation")]
2675 impl ::core::clone::Clone for KERB_CERTIFICATE_UNLOCK_LOGON {
2676 fn clone(&self) -> Self {
2677 *self
2678 }
2679 }
2680 #[repr(C)]
2681 #[doc = "Required features: `\"Win32_Foundation\"`"]
2682 #[cfg(feature = "Win32_Foundation")]
2683 pub struct KERB_CHANGEPASSWORD_REQUEST {
2684 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2685 pub DomainName: LSA_UNICODE_STRING,
2686 pub AccountName: LSA_UNICODE_STRING,
2687 pub OldPassword: LSA_UNICODE_STRING,
2688 pub NewPassword: LSA_UNICODE_STRING,
2689 pub Impersonating: super::super::super::Foundation::BOOLEAN,
2690 }
2691 #[cfg(feature = "Win32_Foundation")]
2692 impl ::core::marker::Copy for KERB_CHANGEPASSWORD_REQUEST {}
2693 #[cfg(feature = "Win32_Foundation")]
2694 impl ::core::clone::Clone for KERB_CHANGEPASSWORD_REQUEST {
2695 fn clone(&self) -> Self {
2696 *self
2697 }
2698 }
2699 #[repr(C)]
2700 #[doc = "Required features: `\"Win32_Foundation\"`"]
2701 #[cfg(feature = "Win32_Foundation")]
2702 pub struct KERB_CLEANUP_MACHINE_PKINIT_CREDS_REQUEST {
2703 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2704 pub LogonId: super::super::super::Foundation::LUID,
2705 }
2706 #[cfg(feature = "Win32_Foundation")]
2707 impl ::core::marker::Copy for KERB_CLEANUP_MACHINE_PKINIT_CREDS_REQUEST {}
2708 #[cfg(feature = "Win32_Foundation")]
2709 impl ::core::clone::Clone for KERB_CLEANUP_MACHINE_PKINIT_CREDS_REQUEST {
2710 fn clone(&self) -> Self {
2711 *self
2712 }
2713 }
2714 #[repr(C)]
2715 pub struct KERB_CLOUD_KERBEROS_DEBUG_DATA {
2716 pub _bitfield: u32,
2717 }
2718 impl ::core::marker::Copy for KERB_CLOUD_KERBEROS_DEBUG_DATA {}
2719 impl ::core::clone::Clone for KERB_CLOUD_KERBEROS_DEBUG_DATA {
2720 fn clone(&self) -> Self {
2721 *self
2722 }
2723 }
2724 #[repr(C)]
2725 pub struct KERB_CLOUD_KERBEROS_DEBUG_DATA_V0 {
2726 pub _bitfield: u32,
2727 }
2728 impl ::core::marker::Copy for KERB_CLOUD_KERBEROS_DEBUG_DATA_V0 {}
2729 impl ::core::clone::Clone for KERB_CLOUD_KERBEROS_DEBUG_DATA_V0 {
2730 fn clone(&self) -> Self {
2731 *self
2732 }
2733 }
2734 #[repr(C)]
2735 #[doc = "Required features: `\"Win32_Foundation\"`"]
2736 #[cfg(feature = "Win32_Foundation")]
2737 pub struct KERB_CLOUD_KERBEROS_DEBUG_REQUEST {
2738 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2739 pub LogonId: super::super::super::Foundation::LUID,
2740 }
2741 #[cfg(feature = "Win32_Foundation")]
2742 impl ::core::marker::Copy for KERB_CLOUD_KERBEROS_DEBUG_REQUEST {}
2743 #[cfg(feature = "Win32_Foundation")]
2744 impl ::core::clone::Clone for KERB_CLOUD_KERBEROS_DEBUG_REQUEST {
2745 fn clone(&self) -> Self {
2746 *self
2747 }
2748 }
2749 #[repr(C)]
2750 pub struct KERB_CLOUD_KERBEROS_DEBUG_RESPONSE {
2751 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2752 pub Version: u32,
2753 pub Length: u32,
2754 pub Data: [u32; 1],
2755 }
2756 impl ::core::marker::Copy for KERB_CLOUD_KERBEROS_DEBUG_RESPONSE {}
2757 impl ::core::clone::Clone for KERB_CLOUD_KERBEROS_DEBUG_RESPONSE {
2758 fn clone(&self) -> Self {
2759 *self
2760 }
2761 }
2762 #[repr(C)]
2763 pub struct KERB_CRYPTO_KEY {
2764 pub KeyType: KERB_CRYPTO_KEY_TYPE,
2765 pub Length: u32,
2766 pub Value: *mut u8,
2767 }
2768 impl ::core::marker::Copy for KERB_CRYPTO_KEY {}
2769 impl ::core::clone::Clone for KERB_CRYPTO_KEY {
2770 fn clone(&self) -> Self {
2771 *self
2772 }
2773 }
2774 #[repr(C)]
2775 pub struct KERB_CRYPTO_KEY32 {
2776 pub KeyType: i32,
2777 pub Length: u32,
2778 pub Offset: u32,
2779 }
2780 impl ::core::marker::Copy for KERB_CRYPTO_KEY32 {}
2781 impl ::core::clone::Clone for KERB_CRYPTO_KEY32 {
2782 fn clone(&self) -> Self {
2783 *self
2784 }
2785 }
2786 #[repr(C)]
2787 #[doc = "Required features: `\"Win32_Foundation\"`"]
2788 #[cfg(feature = "Win32_Foundation")]
2789 pub struct KERB_DECRYPT_REQUEST {
2790 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2791 pub LogonId: super::super::super::Foundation::LUID,
2792 pub Flags: u32,
2793 pub CryptoType: i32,
2794 pub KeyUsage: i32,
2795 pub Key: KERB_CRYPTO_KEY,
2796 pub EncryptedDataSize: u32,
2797 pub InitialVectorSize: u32,
2798 pub InitialVector: *mut u8,
2799 pub EncryptedData: *mut u8,
2800 }
2801 #[cfg(feature = "Win32_Foundation")]
2802 impl ::core::marker::Copy for KERB_DECRYPT_REQUEST {}
2803 #[cfg(feature = "Win32_Foundation")]
2804 impl ::core::clone::Clone for KERB_DECRYPT_REQUEST {
2805 fn clone(&self) -> Self {
2806 *self
2807 }
2808 }
2809 #[repr(C)]
2810 pub struct KERB_DECRYPT_RESPONSE {
2811 pub DecryptedData: [u8; 1],
2812 }
2813 impl ::core::marker::Copy for KERB_DECRYPT_RESPONSE {}
2814 impl ::core::clone::Clone for KERB_DECRYPT_RESPONSE {
2815 fn clone(&self) -> Self {
2816 *self
2817 }
2818 }
2819 #[repr(C)]
2820 pub struct KERB_EXTERNAL_NAME {
2821 pub NameType: i16,
2822 pub NameCount: u16,
2823 pub Names: [LSA_UNICODE_STRING; 1],
2824 }
2825 impl ::core::marker::Copy for KERB_EXTERNAL_NAME {}
2826 impl ::core::clone::Clone for KERB_EXTERNAL_NAME {
2827 fn clone(&self) -> Self {
2828 *self
2829 }
2830 }
2831 #[repr(C)]
2832 pub struct KERB_EXTERNAL_TICKET {
2833 pub ServiceName: *mut KERB_EXTERNAL_NAME,
2834 pub TargetName: *mut KERB_EXTERNAL_NAME,
2835 pub ClientName: *mut KERB_EXTERNAL_NAME,
2836 pub DomainName: LSA_UNICODE_STRING,
2837 pub TargetDomainName: LSA_UNICODE_STRING,
2838 pub AltTargetDomainName: LSA_UNICODE_STRING,
2839 pub SessionKey: KERB_CRYPTO_KEY,
2840 pub TicketFlags: KERB_TICKET_FLAGS,
2841 pub Flags: u32,
2842 pub KeyExpirationTime: i64,
2843 pub StartTime: i64,
2844 pub EndTime: i64,
2845 pub RenewUntil: i64,
2846 pub TimeSkew: i64,
2847 pub EncodedTicketSize: u32,
2848 pub EncodedTicket: *mut u8,
2849 }
2850 impl ::core::marker::Copy for KERB_EXTERNAL_TICKET {}
2851 impl ::core::clone::Clone for KERB_EXTERNAL_TICKET {
2852 fn clone(&self) -> Self {
2853 *self
2854 }
2855 }
2856 #[repr(C)]
2857 pub struct KERB_INTERACTIVE_LOGON {
2858 pub MessageType: KERB_LOGON_SUBMIT_TYPE,
2859 pub LogonDomainName: LSA_UNICODE_STRING,
2860 pub UserName: LSA_UNICODE_STRING,
2861 pub Password: LSA_UNICODE_STRING,
2862 }
2863 impl ::core::marker::Copy for KERB_INTERACTIVE_LOGON {}
2864 impl ::core::clone::Clone for KERB_INTERACTIVE_LOGON {
2865 fn clone(&self) -> Self {
2866 *self
2867 }
2868 }
2869 #[repr(C)]
2870 pub struct KERB_INTERACTIVE_PROFILE {
2871 pub MessageType: KERB_PROFILE_BUFFER_TYPE,
2872 pub LogonCount: u16,
2873 pub BadPasswordCount: u16,
2874 pub LogonTime: i64,
2875 pub LogoffTime: i64,
2876 pub KickOffTime: i64,
2877 pub PasswordLastSet: i64,
2878 pub PasswordCanChange: i64,
2879 pub PasswordMustChange: i64,
2880 pub LogonScript: LSA_UNICODE_STRING,
2881 pub HomeDirectory: LSA_UNICODE_STRING,
2882 pub FullName: LSA_UNICODE_STRING,
2883 pub ProfilePath: LSA_UNICODE_STRING,
2884 pub HomeDirectoryDrive: LSA_UNICODE_STRING,
2885 pub LogonServer: LSA_UNICODE_STRING,
2886 pub UserFlags: u32,
2887 }
2888 impl ::core::marker::Copy for KERB_INTERACTIVE_PROFILE {}
2889 impl ::core::clone::Clone for KERB_INTERACTIVE_PROFILE {
2890 fn clone(&self) -> Self {
2891 *self
2892 }
2893 }
2894 #[repr(C)]
2895 #[doc = "Required features: `\"Win32_Foundation\"`"]
2896 #[cfg(feature = "Win32_Foundation")]
2897 pub struct KERB_INTERACTIVE_UNLOCK_LOGON {
2898 pub Logon: KERB_INTERACTIVE_LOGON,
2899 pub LogonId: super::super::super::Foundation::LUID,
2900 }
2901 #[cfg(feature = "Win32_Foundation")]
2902 impl ::core::marker::Copy for KERB_INTERACTIVE_UNLOCK_LOGON {}
2903 #[cfg(feature = "Win32_Foundation")]
2904 impl ::core::clone::Clone for KERB_INTERACTIVE_UNLOCK_LOGON {
2905 fn clone(&self) -> Self {
2906 *self
2907 }
2908 }
2909 #[repr(C)]
2910 pub struct KERB_NET_ADDRESS {
2911 pub Family: u32,
2912 pub Length: u32,
2913 pub Address: ::windows_sys::core::PSTR,
2914 }
2915 impl ::core::marker::Copy for KERB_NET_ADDRESS {}
2916 impl ::core::clone::Clone for KERB_NET_ADDRESS {
2917 fn clone(&self) -> Self {
2918 *self
2919 }
2920 }
2921 #[repr(C)]
2922 pub struct KERB_NET_ADDRESSES {
2923 pub Number: u32,
2924 pub Addresses: [KERB_NET_ADDRESS; 1],
2925 }
2926 impl ::core::marker::Copy for KERB_NET_ADDRESSES {}
2927 impl ::core::clone::Clone for KERB_NET_ADDRESSES {
2928 fn clone(&self) -> Self {
2929 *self
2930 }
2931 }
2932 #[repr(C)]
2933 pub struct KERB_PURGE_BINDING_CACHE_REQUEST {
2934 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2935 }
2936 impl ::core::marker::Copy for KERB_PURGE_BINDING_CACHE_REQUEST {}
2937 impl ::core::clone::Clone for KERB_PURGE_BINDING_CACHE_REQUEST {
2938 fn clone(&self) -> Self {
2939 *self
2940 }
2941 }
2942 #[repr(C)]
2943 #[doc = "Required features: `\"Win32_Foundation\"`"]
2944 #[cfg(feature = "Win32_Foundation")]
2945 pub struct KERB_PURGE_KDC_PROXY_CACHE_REQUEST {
2946 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2947 pub Flags: u32,
2948 pub LogonId: super::super::super::Foundation::LUID,
2949 }
2950 #[cfg(feature = "Win32_Foundation")]
2951 impl ::core::marker::Copy for KERB_PURGE_KDC_PROXY_CACHE_REQUEST {}
2952 #[cfg(feature = "Win32_Foundation")]
2953 impl ::core::clone::Clone for KERB_PURGE_KDC_PROXY_CACHE_REQUEST {
2954 fn clone(&self) -> Self {
2955 *self
2956 }
2957 }
2958 #[repr(C)]
2959 pub struct KERB_PURGE_KDC_PROXY_CACHE_RESPONSE {
2960 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2961 pub CountOfPurged: u32,
2962 }
2963 impl ::core::marker::Copy for KERB_PURGE_KDC_PROXY_CACHE_RESPONSE {}
2964 impl ::core::clone::Clone for KERB_PURGE_KDC_PROXY_CACHE_RESPONSE {
2965 fn clone(&self) -> Self {
2966 *self
2967 }
2968 }
2969 #[repr(C)]
2970 #[doc = "Required features: `\"Win32_Foundation\"`"]
2971 #[cfg(feature = "Win32_Foundation")]
2972 pub struct KERB_PURGE_TKT_CACHE_EX_REQUEST {
2973 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2974 pub LogonId: super::super::super::Foundation::LUID,
2975 pub Flags: u32,
2976 pub TicketTemplate: KERB_TICKET_CACHE_INFO_EX,
2977 }
2978 #[cfg(feature = "Win32_Foundation")]
2979 impl ::core::marker::Copy for KERB_PURGE_TKT_CACHE_EX_REQUEST {}
2980 #[cfg(feature = "Win32_Foundation")]
2981 impl ::core::clone::Clone for KERB_PURGE_TKT_CACHE_EX_REQUEST {
2982 fn clone(&self) -> Self {
2983 *self
2984 }
2985 }
2986 #[repr(C)]
2987 #[doc = "Required features: `\"Win32_Foundation\"`"]
2988 #[cfg(feature = "Win32_Foundation")]
2989 pub struct KERB_PURGE_TKT_CACHE_REQUEST {
2990 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2991 pub LogonId: super::super::super::Foundation::LUID,
2992 pub ServerName: LSA_UNICODE_STRING,
2993 pub RealmName: LSA_UNICODE_STRING,
2994 }
2995 #[cfg(feature = "Win32_Foundation")]
2996 impl ::core::marker::Copy for KERB_PURGE_TKT_CACHE_REQUEST {}
2997 #[cfg(feature = "Win32_Foundation")]
2998 impl ::core::clone::Clone for KERB_PURGE_TKT_CACHE_REQUEST {
2999 fn clone(&self) -> Self {
3000 *self
3001 }
3002 }
3003 #[repr(C)]
3004 pub struct KERB_QUERY_BINDING_CACHE_REQUEST {
3005 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
3006 }
3007 impl ::core::marker::Copy for KERB_QUERY_BINDING_CACHE_REQUEST {}
3008 impl ::core::clone::Clone for KERB_QUERY_BINDING_CACHE_REQUEST {
3009 fn clone(&self) -> Self {
3010 *self
3011 }
3012 }
3013 #[repr(C)]
3014 pub struct KERB_QUERY_BINDING_CACHE_RESPONSE {
3015 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
3016 pub CountOfEntries: u32,
3017 pub Entries: *mut KERB_BINDING_CACHE_ENTRY_DATA,
3018 }
3019 impl ::core::marker::Copy for KERB_QUERY_BINDING_CACHE_RESPONSE {}
3020 impl ::core::clone::Clone for KERB_QUERY_BINDING_CACHE_RESPONSE {
3021 fn clone(&self) -> Self {
3022 *self
3023 }
3024 }
3025 #[repr(C)]
3026 pub struct KERB_QUERY_DOMAIN_EXTENDED_POLICIES_REQUEST {
3027 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
3028 pub Flags: u32,
3029 pub DomainName: LSA_UNICODE_STRING,
3030 }
3031 impl ::core::marker::Copy for KERB_QUERY_DOMAIN_EXTENDED_POLICIES_REQUEST {}
3032 impl ::core::clone::Clone for KERB_QUERY_DOMAIN_EXTENDED_POLICIES_REQUEST {
3033 fn clone(&self) -> Self {
3034 *self
3035 }
3036 }
3037 #[repr(C)]
3038 pub struct KERB_QUERY_DOMAIN_EXTENDED_POLICIES_RESPONSE {
3039 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
3040 pub Flags: u32,
3041 pub ExtendedPolicies: u32,
3042 pub DsFlags: u32,
3043 }
3044 impl ::core::marker::Copy for KERB_QUERY_DOMAIN_EXTENDED_POLICIES_RESPONSE {}
3045 impl ::core::clone::Clone for KERB_QUERY_DOMAIN_EXTENDED_POLICIES_RESPONSE {
3046 fn clone(&self) -> Self {
3047 *self
3048 }
3049 }
3050 #[repr(C)]
3051 #[doc = "Required features: `\"Win32_Foundation\"`"]
3052 #[cfg(feature = "Win32_Foundation")]
3053 pub struct KERB_QUERY_KDC_PROXY_CACHE_REQUEST {
3054 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
3055 pub Flags: u32,
3056 pub LogonId: super::super::super::Foundation::LUID,
3057 }
3058 #[cfg(feature = "Win32_Foundation")]
3059 impl ::core::marker::Copy for KERB_QUERY_KDC_PROXY_CACHE_REQUEST {}
3060 #[cfg(feature = "Win32_Foundation")]
3061 impl ::core::clone::Clone for KERB_QUERY_KDC_PROXY_CACHE_REQUEST {
3062 fn clone(&self) -> Self {
3063 *self
3064 }
3065 }
3066 #[repr(C)]
3067 #[doc = "Required features: `\"Win32_Foundation\"`"]
3068 #[cfg(feature = "Win32_Foundation")]
3069 pub struct KERB_QUERY_KDC_PROXY_CACHE_RESPONSE {
3070 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
3071 pub CountOfEntries: u32,
3072 pub Entries: *mut KDC_PROXY_CACHE_ENTRY_DATA,
3073 }
3074 #[cfg(feature = "Win32_Foundation")]
3075 impl ::core::marker::Copy for KERB_QUERY_KDC_PROXY_CACHE_RESPONSE {}
3076 #[cfg(feature = "Win32_Foundation")]
3077 impl ::core::clone::Clone for KERB_QUERY_KDC_PROXY_CACHE_RESPONSE {
3078 fn clone(&self) -> Self {
3079 *self
3080 }
3081 }
3082 #[repr(C)]
3083 #[doc = "Required features: `\"Win32_Foundation\"`"]
3084 #[cfg(feature = "Win32_Foundation")]
3085 pub struct KERB_QUERY_S4U2PROXY_CACHE_REQUEST {
3086 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
3087 pub Flags: u32,
3088 pub LogonId: super::super::super::Foundation::LUID,
3089 }
3090 #[cfg(feature = "Win32_Foundation")]
3091 impl ::core::marker::Copy for KERB_QUERY_S4U2PROXY_CACHE_REQUEST {}
3092 #[cfg(feature = "Win32_Foundation")]
3093 impl ::core::clone::Clone for KERB_QUERY_S4U2PROXY_CACHE_REQUEST {
3094 fn clone(&self) -> Self {
3095 *self
3096 }
3097 }
3098 #[repr(C)]
3099 #[doc = "Required features: `\"Win32_Foundation\"`"]
3100 #[cfg(feature = "Win32_Foundation")]
3101 pub struct KERB_QUERY_S4U2PROXY_CACHE_RESPONSE {
3102 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
3103 pub CountOfCreds: u32,
3104 pub Creds: *mut KERB_S4U2PROXY_CRED,
3105 }
3106 #[cfg(feature = "Win32_Foundation")]
3107 impl ::core::marker::Copy for KERB_QUERY_S4U2PROXY_CACHE_RESPONSE {}
3108 #[cfg(feature = "Win32_Foundation")]
3109 impl ::core::clone::Clone for KERB_QUERY_S4U2PROXY_CACHE_RESPONSE {
3110 fn clone(&self) -> Self {
3111 *self
3112 }
3113 }
3114 #[repr(C)]
3115 pub struct KERB_QUERY_TKT_CACHE_EX2_RESPONSE {
3116 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
3117 pub CountOfTickets: u32,
3118 pub Tickets: [KERB_TICKET_CACHE_INFO_EX2; 1],
3119 }
3120 impl ::core::marker::Copy for KERB_QUERY_TKT_CACHE_EX2_RESPONSE {}
3121 impl ::core::clone::Clone for KERB_QUERY_TKT_CACHE_EX2_RESPONSE {
3122 fn clone(&self) -> Self {
3123 *self
3124 }
3125 }
3126 #[repr(C)]
3127 pub struct KERB_QUERY_TKT_CACHE_EX3_RESPONSE {
3128 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
3129 pub CountOfTickets: u32,
3130 pub Tickets: [KERB_TICKET_CACHE_INFO_EX3; 1],
3131 }
3132 impl ::core::marker::Copy for KERB_QUERY_TKT_CACHE_EX3_RESPONSE {}
3133 impl ::core::clone::Clone for KERB_QUERY_TKT_CACHE_EX3_RESPONSE {
3134 fn clone(&self) -> Self {
3135 *self
3136 }
3137 }
3138 #[repr(C)]
3139 pub struct KERB_QUERY_TKT_CACHE_EX_RESPONSE {
3140 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
3141 pub CountOfTickets: u32,
3142 pub Tickets: [KERB_TICKET_CACHE_INFO_EX; 1],
3143 }
3144 impl ::core::marker::Copy for KERB_QUERY_TKT_CACHE_EX_RESPONSE {}
3145 impl ::core::clone::Clone for KERB_QUERY_TKT_CACHE_EX_RESPONSE {
3146 fn clone(&self) -> Self {
3147 *self
3148 }
3149 }
3150 #[repr(C)]
3151 #[doc = "Required features: `\"Win32_Foundation\"`"]
3152 #[cfg(feature = "Win32_Foundation")]
3153 pub struct KERB_QUERY_TKT_CACHE_REQUEST {
3154 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
3155 pub LogonId: super::super::super::Foundation::LUID,
3156 }
3157 #[cfg(feature = "Win32_Foundation")]
3158 impl ::core::marker::Copy for KERB_QUERY_TKT_CACHE_REQUEST {}
3159 #[cfg(feature = "Win32_Foundation")]
3160 impl ::core::clone::Clone for KERB_QUERY_TKT_CACHE_REQUEST {
3161 fn clone(&self) -> Self {
3162 *self
3163 }
3164 }
3165 #[repr(C)]
3166 pub struct KERB_QUERY_TKT_CACHE_RESPONSE {
3167 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
3168 pub CountOfTickets: u32,
3169 pub Tickets: [KERB_TICKET_CACHE_INFO; 1],
3170 }
3171 impl ::core::marker::Copy for KERB_QUERY_TKT_CACHE_RESPONSE {}
3172 impl ::core::clone::Clone for KERB_QUERY_TKT_CACHE_RESPONSE {
3173 fn clone(&self) -> Self {
3174 *self
3175 }
3176 }
3177 #[repr(C)]
3178 pub struct KERB_REFRESH_POLICY_REQUEST {
3179 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
3180 pub Flags: u32,
3181 }
3182 impl ::core::marker::Copy for KERB_REFRESH_POLICY_REQUEST {}
3183 impl ::core::clone::Clone for KERB_REFRESH_POLICY_REQUEST {
3184 fn clone(&self) -> Self {
3185 *self
3186 }
3187 }
3188 #[repr(C)]
3189 pub struct KERB_REFRESH_POLICY_RESPONSE {
3190 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
3191 pub Flags: u32,
3192 }
3193 impl ::core::marker::Copy for KERB_REFRESH_POLICY_RESPONSE {}
3194 impl ::core::clone::Clone for KERB_REFRESH_POLICY_RESPONSE {
3195 fn clone(&self) -> Self {
3196 *self
3197 }
3198 }
3199 #[repr(C)]
3200 #[doc = "Required features: `\"Win32_Foundation\"`"]
3201 #[cfg(feature = "Win32_Foundation")]
3202 pub struct KERB_REFRESH_SCCRED_REQUEST {
3203 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
3204 pub CredentialBlob: LSA_UNICODE_STRING,
3205 pub LogonId: super::super::super::Foundation::LUID,
3206 pub Flags: u32,
3207 }
3208 #[cfg(feature = "Win32_Foundation")]
3209 impl ::core::marker::Copy for KERB_REFRESH_SCCRED_REQUEST {}
3210 #[cfg(feature = "Win32_Foundation")]
3211 impl ::core::clone::Clone for KERB_REFRESH_SCCRED_REQUEST {
3212 fn clone(&self) -> Self {
3213 *self
3214 }
3215 }
3216 #[repr(C)]
3217 pub struct KERB_RETRIEVE_KEY_TAB_REQUEST {
3218 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
3219 pub Flags: u32,
3220 pub UserName: LSA_UNICODE_STRING,
3221 pub DomainName: LSA_UNICODE_STRING,
3222 pub Password: LSA_UNICODE_STRING,
3223 }
3224 impl ::core::marker::Copy for KERB_RETRIEVE_KEY_TAB_REQUEST {}
3225 impl ::core::clone::Clone for KERB_RETRIEVE_KEY_TAB_REQUEST {
3226 fn clone(&self) -> Self {
3227 *self
3228 }
3229 }
3230 #[repr(C)]
3231 pub struct KERB_RETRIEVE_KEY_TAB_RESPONSE {
3232 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
3233 pub KeyTabLength: u32,
3234 pub KeyTab: *mut u8,
3235 }
3236 impl ::core::marker::Copy for KERB_RETRIEVE_KEY_TAB_RESPONSE {}
3237 impl ::core::clone::Clone for KERB_RETRIEVE_KEY_TAB_RESPONSE {
3238 fn clone(&self) -> Self {
3239 *self
3240 }
3241 }
3242 #[repr(C)]
3243 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`"]
3244 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
3245 pub struct KERB_RETRIEVE_TKT_REQUEST {
3246 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
3247 pub LogonId: super::super::super::Foundation::LUID,
3248 pub TargetName: LSA_UNICODE_STRING,
3249 pub TicketFlags: u32,
3250 pub CacheOptions: u32,
3251 pub EncryptionType: KERB_CRYPTO_KEY_TYPE,
3252 pub CredentialsHandle: super::super::Credentials::SecHandle,
3253 }
3254 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
3255 impl ::core::marker::Copy for KERB_RETRIEVE_TKT_REQUEST {}
3256 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
3257 impl ::core::clone::Clone for KERB_RETRIEVE_TKT_REQUEST {
3258 fn clone(&self) -> Self {
3259 *self
3260 }
3261 }
3262 #[repr(C)]
3263 pub struct KERB_RETRIEVE_TKT_RESPONSE {
3264 pub Ticket: KERB_EXTERNAL_TICKET,
3265 }
3266 impl ::core::marker::Copy for KERB_RETRIEVE_TKT_RESPONSE {}
3267 impl ::core::clone::Clone for KERB_RETRIEVE_TKT_RESPONSE {
3268 fn clone(&self) -> Self {
3269 *self
3270 }
3271 }
3272 #[repr(C)]
3273 #[doc = "Required features: `\"Win32_Foundation\"`"]
3274 #[cfg(feature = "Win32_Foundation")]
3275 pub struct KERB_S4U2PROXY_CACHE_ENTRY_INFO {
3276 pub ServerName: LSA_UNICODE_STRING,
3277 pub Flags: u32,
3278 pub LastStatus: super::super::super::Foundation::NTSTATUS,
3279 pub Expiry: i64,
3280 }
3281 #[cfg(feature = "Win32_Foundation")]
3282 impl ::core::marker::Copy for KERB_S4U2PROXY_CACHE_ENTRY_INFO {}
3283 #[cfg(feature = "Win32_Foundation")]
3284 impl ::core::clone::Clone for KERB_S4U2PROXY_CACHE_ENTRY_INFO {
3285 fn clone(&self) -> Self {
3286 *self
3287 }
3288 }
3289 #[repr(C)]
3290 #[doc = "Required features: `\"Win32_Foundation\"`"]
3291 #[cfg(feature = "Win32_Foundation")]
3292 pub struct KERB_S4U2PROXY_CRED {
3293 pub UserName: LSA_UNICODE_STRING,
3294 pub DomainName: LSA_UNICODE_STRING,
3295 pub Flags: u32,
3296 pub LastStatus: super::super::super::Foundation::NTSTATUS,
3297 pub Expiry: i64,
3298 pub CountOfEntries: u32,
3299 pub Entries: *mut KERB_S4U2PROXY_CACHE_ENTRY_INFO,
3300 }
3301 #[cfg(feature = "Win32_Foundation")]
3302 impl ::core::marker::Copy for KERB_S4U2PROXY_CRED {}
3303 #[cfg(feature = "Win32_Foundation")]
3304 impl ::core::clone::Clone for KERB_S4U2PROXY_CRED {
3305 fn clone(&self) -> Self {
3306 *self
3307 }
3308 }
3309 #[repr(C)]
3310 pub struct KERB_S4U_LOGON {
3311 pub MessageType: KERB_LOGON_SUBMIT_TYPE,
3312 pub Flags: u32,
3313 pub ClientUpn: LSA_UNICODE_STRING,
3314 pub ClientRealm: LSA_UNICODE_STRING,
3315 }
3316 impl ::core::marker::Copy for KERB_S4U_LOGON {}
3317 impl ::core::clone::Clone for KERB_S4U_LOGON {
3318 fn clone(&self) -> Self {
3319 *self
3320 }
3321 }
3322 #[repr(C)]
3323 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`"]
3324 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
3325 pub struct KERB_SETPASSWORD_EX_REQUEST {
3326 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
3327 pub LogonId: super::super::super::Foundation::LUID,
3328 pub CredentialsHandle: super::super::Credentials::SecHandle,
3329 pub Flags: u32,
3330 pub AccountRealm: LSA_UNICODE_STRING,
3331 pub AccountName: LSA_UNICODE_STRING,
3332 pub Password: LSA_UNICODE_STRING,
3333 pub ClientRealm: LSA_UNICODE_STRING,
3334 pub ClientName: LSA_UNICODE_STRING,
3335 pub Impersonating: super::super::super::Foundation::BOOLEAN,
3336 pub KdcAddress: LSA_UNICODE_STRING,
3337 pub KdcAddressType: u32,
3338 }
3339 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
3340 impl ::core::marker::Copy for KERB_SETPASSWORD_EX_REQUEST {}
3341 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
3342 impl ::core::clone::Clone for KERB_SETPASSWORD_EX_REQUEST {
3343 fn clone(&self) -> Self {
3344 *self
3345 }
3346 }
3347 #[repr(C)]
3348 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`"]
3349 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
3350 pub struct KERB_SETPASSWORD_REQUEST {
3351 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
3352 pub LogonId: super::super::super::Foundation::LUID,
3353 pub CredentialsHandle: super::super::Credentials::SecHandle,
3354 pub Flags: u32,
3355 pub DomainName: LSA_UNICODE_STRING,
3356 pub AccountName: LSA_UNICODE_STRING,
3357 pub Password: LSA_UNICODE_STRING,
3358 }
3359 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
3360 impl ::core::marker::Copy for KERB_SETPASSWORD_REQUEST {}
3361 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
3362 impl ::core::clone::Clone for KERB_SETPASSWORD_REQUEST {
3363 fn clone(&self) -> Self {
3364 *self
3365 }
3366 }
3367 #[repr(C)]
3368 pub struct KERB_SMART_CARD_LOGON {
3369 pub MessageType: KERB_LOGON_SUBMIT_TYPE,
3370 pub Pin: LSA_UNICODE_STRING,
3371 pub CspDataLength: u32,
3372 pub CspData: *mut u8,
3373 }
3374 impl ::core::marker::Copy for KERB_SMART_CARD_LOGON {}
3375 impl ::core::clone::Clone for KERB_SMART_CARD_LOGON {
3376 fn clone(&self) -> Self {
3377 *self
3378 }
3379 }
3380 #[repr(C)]
3381 pub struct KERB_SMART_CARD_PROFILE {
3382 pub Profile: KERB_INTERACTIVE_PROFILE,
3383 pub CertificateSize: u32,
3384 pub CertificateData: *mut u8,
3385 }
3386 impl ::core::marker::Copy for KERB_SMART_CARD_PROFILE {}
3387 impl ::core::clone::Clone for KERB_SMART_CARD_PROFILE {
3388 fn clone(&self) -> Self {
3389 *self
3390 }
3391 }
3392 #[repr(C)]
3393 #[doc = "Required features: `\"Win32_Foundation\"`"]
3394 #[cfg(feature = "Win32_Foundation")]
3395 pub struct KERB_SMART_CARD_UNLOCK_LOGON {
3396 pub Logon: KERB_SMART_CARD_LOGON,
3397 pub LogonId: super::super::super::Foundation::LUID,
3398 }
3399 #[cfg(feature = "Win32_Foundation")]
3400 impl ::core::marker::Copy for KERB_SMART_CARD_UNLOCK_LOGON {}
3401 #[cfg(feature = "Win32_Foundation")]
3402 impl ::core::clone::Clone for KERB_SMART_CARD_UNLOCK_LOGON {
3403 fn clone(&self) -> Self {
3404 *self
3405 }
3406 }
3407 #[repr(C)]
3408 #[doc = "Required features: `\"Win32_Foundation\"`"]
3409 #[cfg(feature = "Win32_Foundation")]
3410 pub struct KERB_SUBMIT_TKT_REQUEST {
3411 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
3412 pub LogonId: super::super::super::Foundation::LUID,
3413 pub Flags: u32,
3414 pub Key: KERB_CRYPTO_KEY32,
3415 pub KerbCredSize: u32,
3416 pub KerbCredOffset: u32,
3417 }
3418 #[cfg(feature = "Win32_Foundation")]
3419 impl ::core::marker::Copy for KERB_SUBMIT_TKT_REQUEST {}
3420 #[cfg(feature = "Win32_Foundation")]
3421 impl ::core::clone::Clone for KERB_SUBMIT_TKT_REQUEST {
3422 fn clone(&self) -> Self {
3423 *self
3424 }
3425 }
3426 #[repr(C)]
3427 pub struct KERB_TICKET_CACHE_INFO {
3428 pub ServerName: LSA_UNICODE_STRING,
3429 pub RealmName: LSA_UNICODE_STRING,
3430 pub StartTime: i64,
3431 pub EndTime: i64,
3432 pub RenewTime: i64,
3433 pub EncryptionType: i32,
3434 pub TicketFlags: KERB_TICKET_FLAGS,
3435 }
3436 impl ::core::marker::Copy for KERB_TICKET_CACHE_INFO {}
3437 impl ::core::clone::Clone for KERB_TICKET_CACHE_INFO {
3438 fn clone(&self) -> Self {
3439 *self
3440 }
3441 }
3442 #[repr(C)]
3443 pub struct KERB_TICKET_CACHE_INFO_EX {
3444 pub ClientName: LSA_UNICODE_STRING,
3445 pub ClientRealm: LSA_UNICODE_STRING,
3446 pub ServerName: LSA_UNICODE_STRING,
3447 pub ServerRealm: LSA_UNICODE_STRING,
3448 pub StartTime: i64,
3449 pub EndTime: i64,
3450 pub RenewTime: i64,
3451 pub EncryptionType: i32,
3452 pub TicketFlags: u32,
3453 }
3454 impl ::core::marker::Copy for KERB_TICKET_CACHE_INFO_EX {}
3455 impl ::core::clone::Clone for KERB_TICKET_CACHE_INFO_EX {
3456 fn clone(&self) -> Self {
3457 *self
3458 }
3459 }
3460 #[repr(C)]
3461 pub struct KERB_TICKET_CACHE_INFO_EX2 {
3462 pub ClientName: LSA_UNICODE_STRING,
3463 pub ClientRealm: LSA_UNICODE_STRING,
3464 pub ServerName: LSA_UNICODE_STRING,
3465 pub ServerRealm: LSA_UNICODE_STRING,
3466 pub StartTime: i64,
3467 pub EndTime: i64,
3468 pub RenewTime: i64,
3469 pub EncryptionType: i32,
3470 pub TicketFlags: u32,
3471 pub SessionKeyType: u32,
3472 pub BranchId: u32,
3473 }
3474 impl ::core::marker::Copy for KERB_TICKET_CACHE_INFO_EX2 {}
3475 impl ::core::clone::Clone for KERB_TICKET_CACHE_INFO_EX2 {
3476 fn clone(&self) -> Self {
3477 *self
3478 }
3479 }
3480 #[repr(C)]
3481 pub struct KERB_TICKET_CACHE_INFO_EX3 {
3482 pub ClientName: LSA_UNICODE_STRING,
3483 pub ClientRealm: LSA_UNICODE_STRING,
3484 pub ServerName: LSA_UNICODE_STRING,
3485 pub ServerRealm: LSA_UNICODE_STRING,
3486 pub StartTime: i64,
3487 pub EndTime: i64,
3488 pub RenewTime: i64,
3489 pub EncryptionType: i32,
3490 pub TicketFlags: u32,
3491 pub SessionKeyType: u32,
3492 pub BranchId: u32,
3493 pub CacheFlags: u32,
3494 pub KdcCalled: LSA_UNICODE_STRING,
3495 }
3496 impl ::core::marker::Copy for KERB_TICKET_CACHE_INFO_EX3 {}
3497 impl ::core::clone::Clone for KERB_TICKET_CACHE_INFO_EX3 {
3498 fn clone(&self) -> Self {
3499 *self
3500 }
3501 }
3502 #[repr(C)]
3503 pub struct KERB_TICKET_LOGON {
3504 pub MessageType: KERB_LOGON_SUBMIT_TYPE,
3505 pub Flags: u32,
3506 pub ServiceTicketLength: u32,
3507 pub TicketGrantingTicketLength: u32,
3508 pub ServiceTicket: *mut u8,
3509 pub TicketGrantingTicket: *mut u8,
3510 }
3511 impl ::core::marker::Copy for KERB_TICKET_LOGON {}
3512 impl ::core::clone::Clone for KERB_TICKET_LOGON {
3513 fn clone(&self) -> Self {
3514 *self
3515 }
3516 }
3517 #[repr(C)]
3518 pub struct KERB_TICKET_PROFILE {
3519 pub Profile: KERB_INTERACTIVE_PROFILE,
3520 pub SessionKey: KERB_CRYPTO_KEY,
3521 }
3522 impl ::core::marker::Copy for KERB_TICKET_PROFILE {}
3523 impl ::core::clone::Clone for KERB_TICKET_PROFILE {
3524 fn clone(&self) -> Self {
3525 *self
3526 }
3527 }
3528 #[repr(C)]
3529 #[doc = "Required features: `\"Win32_Foundation\"`"]
3530 #[cfg(feature = "Win32_Foundation")]
3531 pub struct KERB_TICKET_UNLOCK_LOGON {
3532 pub Logon: KERB_TICKET_LOGON,
3533 pub LogonId: super::super::super::Foundation::LUID,
3534 }
3535 #[cfg(feature = "Win32_Foundation")]
3536 impl ::core::marker::Copy for KERB_TICKET_UNLOCK_LOGON {}
3537 #[cfg(feature = "Win32_Foundation")]
3538 impl ::core::clone::Clone for KERB_TICKET_UNLOCK_LOGON {
3539 fn clone(&self) -> Self {
3540 *self
3541 }
3542 }
3543 #[repr(C)]
3544 #[doc = "Required features: `\"Win32_Foundation\"`"]
3545 #[cfg(feature = "Win32_Foundation")]
3546 pub struct KERB_TRANSFER_CRED_REQUEST {
3547 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
3548 pub OriginLogonId: super::super::super::Foundation::LUID,
3549 pub DestinationLogonId: super::super::super::Foundation::LUID,
3550 pub Flags: u32,
3551 }
3552 #[cfg(feature = "Win32_Foundation")]
3553 impl ::core::marker::Copy for KERB_TRANSFER_CRED_REQUEST {}
3554 #[cfg(feature = "Win32_Foundation")]
3555 impl ::core::clone::Clone for KERB_TRANSFER_CRED_REQUEST {
3556 fn clone(&self) -> Self {
3557 *self
3558 }
3559 }
3560 #[repr(C)]
3561 #[doc = "Required features: `\"Win32_System_Kernel\"`"]
3562 #[cfg(feature = "Win32_System_Kernel")]
3563 pub struct KSEC_LIST_ENTRY {
3564 pub List: super::super::super::System::Kernel::LIST_ENTRY,
3565 pub RefCount: i32,
3566 pub Signature: u32,
3567 pub OwningList: *mut ::core::ffi::c_void,
3568 pub Reserved: *mut ::core::ffi::c_void,
3569 }
3570 #[cfg(feature = "Win32_System_Kernel")]
3571 impl ::core::marker::Copy for KSEC_LIST_ENTRY {}
3572 #[cfg(feature = "Win32_System_Kernel")]
3573 impl ::core::clone::Clone for KSEC_LIST_ENTRY {
3574 fn clone(&self) -> Self {
3575 *self
3576 }
3577 }
3578 #[repr(C)]
3579 pub struct LOGON_HOURS {
3580 pub UnitsPerWeek: u16,
3581 pub LogonHours: *mut u8,
3582 }
3583 impl ::core::marker::Copy for LOGON_HOURS {}
3584 impl ::core::clone::Clone for LOGON_HOURS {
3585 fn clone(&self) -> Self {
3586 *self
3587 }
3588 }
3589 #[repr(C)]
3590 pub struct LSA_AUTH_INFORMATION {
3591 pub LastUpdateTime: i64,
3592 pub AuthType: LSA_AUTH_INFORMATION_AUTH_TYPE,
3593 pub AuthInfoLength: u32,
3594 pub AuthInfo: *mut u8,
3595 }
3596 impl ::core::marker::Copy for LSA_AUTH_INFORMATION {}
3597 impl ::core::clone::Clone for LSA_AUTH_INFORMATION {
3598 fn clone(&self) -> Self {
3599 *self
3600 }
3601 }
3602 #[repr(C)]
3603 #[doc = "Required features: `\"Win32_Foundation\"`"]
3604 #[cfg(feature = "Win32_Foundation")]
3605 pub struct LSA_DISPATCH_TABLE {
3606 pub CreateLogonSession: PLSA_CREATE_LOGON_SESSION,
3607 pub DeleteLogonSession: PLSA_DELETE_LOGON_SESSION,
3608 pub AddCredential: PLSA_ADD_CREDENTIAL,
3609 pub GetCredentials: PLSA_GET_CREDENTIALS,
3610 pub DeleteCredential: PLSA_DELETE_CREDENTIAL,
3611 pub AllocateLsaHeap: PLSA_ALLOCATE_LSA_HEAP,
3612 pub FreeLsaHeap: PLSA_FREE_LSA_HEAP,
3613 pub AllocateClientBuffer: PLSA_ALLOCATE_CLIENT_BUFFER,
3614 pub FreeClientBuffer: PLSA_FREE_CLIENT_BUFFER,
3615 pub CopyToClientBuffer: PLSA_COPY_TO_CLIENT_BUFFER,
3616 pub CopyFromClientBuffer: PLSA_COPY_FROM_CLIENT_BUFFER,
3617 }
3618 #[cfg(feature = "Win32_Foundation")]
3619 impl ::core::marker::Copy for LSA_DISPATCH_TABLE {}
3620 #[cfg(feature = "Win32_Foundation")]
3621 impl ::core::clone::Clone for LSA_DISPATCH_TABLE {
3622 fn clone(&self) -> Self {
3623 *self
3624 }
3625 }
3626 #[repr(C)]
3627 #[doc = "Required features: `\"Win32_Foundation\"`"]
3628 #[cfg(feature = "Win32_Foundation")]
3629 pub struct LSA_ENUMERATION_INFORMATION {
3630 pub Sid: super::super::super::Foundation::PSID,
3631 }
3632 #[cfg(feature = "Win32_Foundation")]
3633 impl ::core::marker::Copy for LSA_ENUMERATION_INFORMATION {}
3634 #[cfg(feature = "Win32_Foundation")]
3635 impl ::core::clone::Clone for LSA_ENUMERATION_INFORMATION {
3636 fn clone(&self) -> Self {
3637 *self
3638 }
3639 }
3640 #[repr(C)]
3641 pub struct LSA_FOREST_TRUST_BINARY_DATA {
3642 pub Length: u32,
3643 pub Buffer: *mut u8,
3644 }
3645 impl ::core::marker::Copy for LSA_FOREST_TRUST_BINARY_DATA {}
3646 impl ::core::clone::Clone for LSA_FOREST_TRUST_BINARY_DATA {
3647 fn clone(&self) -> Self {
3648 *self
3649 }
3650 }
3651 #[repr(C)]
3652 pub struct LSA_FOREST_TRUST_COLLISION_INFORMATION {
3653 pub RecordCount: u32,
3654 pub Entries: *mut *mut LSA_FOREST_TRUST_COLLISION_RECORD,
3655 }
3656 impl ::core::marker::Copy for LSA_FOREST_TRUST_COLLISION_INFORMATION {}
3657 impl ::core::clone::Clone for LSA_FOREST_TRUST_COLLISION_INFORMATION {
3658 fn clone(&self) -> Self {
3659 *self
3660 }
3661 }
3662 #[repr(C)]
3663 pub struct LSA_FOREST_TRUST_COLLISION_RECORD {
3664 pub Index: u32,
3665 pub Type: LSA_FOREST_TRUST_COLLISION_RECORD_TYPE,
3666 pub Flags: u32,
3667 pub Name: LSA_UNICODE_STRING,
3668 }
3669 impl ::core::marker::Copy for LSA_FOREST_TRUST_COLLISION_RECORD {}
3670 impl ::core::clone::Clone for LSA_FOREST_TRUST_COLLISION_RECORD {
3671 fn clone(&self) -> Self {
3672 *self
3673 }
3674 }
3675 #[repr(C)]
3676 #[doc = "Required features: `\"Win32_Foundation\"`"]
3677 #[cfg(feature = "Win32_Foundation")]
3678 pub struct LSA_FOREST_TRUST_DOMAIN_INFO {
3679 pub Sid: super::super::super::Foundation::PSID,
3680 pub DnsName: LSA_UNICODE_STRING,
3681 pub NetbiosName: LSA_UNICODE_STRING,
3682 }
3683 #[cfg(feature = "Win32_Foundation")]
3684 impl ::core::marker::Copy for LSA_FOREST_TRUST_DOMAIN_INFO {}
3685 #[cfg(feature = "Win32_Foundation")]
3686 impl ::core::clone::Clone for LSA_FOREST_TRUST_DOMAIN_INFO {
3687 fn clone(&self) -> Self {
3688 *self
3689 }
3690 }
3691 #[repr(C)]
3692 #[doc = "Required features: `\"Win32_Foundation\"`"]
3693 #[cfg(feature = "Win32_Foundation")]
3694 pub struct LSA_FOREST_TRUST_INFORMATION {
3695 pub RecordCount: u32,
3696 pub Entries: *mut *mut LSA_FOREST_TRUST_RECORD,
3697 }
3698 #[cfg(feature = "Win32_Foundation")]
3699 impl ::core::marker::Copy for LSA_FOREST_TRUST_INFORMATION {}
3700 #[cfg(feature = "Win32_Foundation")]
3701 impl ::core::clone::Clone for LSA_FOREST_TRUST_INFORMATION {
3702 fn clone(&self) -> Self {
3703 *self
3704 }
3705 }
3706 #[repr(C)]
3707 #[doc = "Required features: `\"Win32_Foundation\"`"]
3708 #[cfg(feature = "Win32_Foundation")]
3709 pub struct LSA_FOREST_TRUST_INFORMATION2 {
3710 pub RecordCount: u32,
3711 pub Entries: *mut *mut LSA_FOREST_TRUST_RECORD2,
3712 }
3713 #[cfg(feature = "Win32_Foundation")]
3714 impl ::core::marker::Copy for LSA_FOREST_TRUST_INFORMATION2 {}
3715 #[cfg(feature = "Win32_Foundation")]
3716 impl ::core::clone::Clone for LSA_FOREST_TRUST_INFORMATION2 {
3717 fn clone(&self) -> Self {
3718 *self
3719 }
3720 }
3721 #[repr(C)]
3722 #[doc = "Required features: `\"Win32_Foundation\"`"]
3723 #[cfg(feature = "Win32_Foundation")]
3724 pub struct LSA_FOREST_TRUST_RECORD {
3725 pub Flags: u32,
3726 pub ForestTrustType: LSA_FOREST_TRUST_RECORD_TYPE,
3727 pub Time: i64,
3728 pub ForestTrustData: LSA_FOREST_TRUST_RECORD_0,
3729 }
3730 #[cfg(feature = "Win32_Foundation")]
3731 impl ::core::marker::Copy for LSA_FOREST_TRUST_RECORD {}
3732 #[cfg(feature = "Win32_Foundation")]
3733 impl ::core::clone::Clone for LSA_FOREST_TRUST_RECORD {
3734 fn clone(&self) -> Self {
3735 *self
3736 }
3737 }
3738 #[repr(C)]
3739 #[doc = "Required features: `\"Win32_Foundation\"`"]
3740 #[cfg(feature = "Win32_Foundation")]
3741 pub union LSA_FOREST_TRUST_RECORD_0 {
3742 pub TopLevelName: LSA_UNICODE_STRING,
3743 pub DomainInfo: LSA_FOREST_TRUST_DOMAIN_INFO,
3744 pub Data: LSA_FOREST_TRUST_BINARY_DATA,
3745 }
3746 #[cfg(feature = "Win32_Foundation")]
3747 impl ::core::marker::Copy for LSA_FOREST_TRUST_RECORD_0 {}
3748 #[cfg(feature = "Win32_Foundation")]
3749 impl ::core::clone::Clone for LSA_FOREST_TRUST_RECORD_0 {
3750 fn clone(&self) -> Self {
3751 *self
3752 }
3753 }
3754 #[repr(C)]
3755 #[doc = "Required features: `\"Win32_Foundation\"`"]
3756 #[cfg(feature = "Win32_Foundation")]
3757 pub struct LSA_FOREST_TRUST_RECORD2 {
3758 pub Flags: u32,
3759 pub ForestTrustType: LSA_FOREST_TRUST_RECORD_TYPE,
3760 pub Time: i64,
3761 pub ForestTrustData: LSA_FOREST_TRUST_RECORD2_0,
3762 }
3763 #[cfg(feature = "Win32_Foundation")]
3764 impl ::core::marker::Copy for LSA_FOREST_TRUST_RECORD2 {}
3765 #[cfg(feature = "Win32_Foundation")]
3766 impl ::core::clone::Clone for LSA_FOREST_TRUST_RECORD2 {
3767 fn clone(&self) -> Self {
3768 *self
3769 }
3770 }
3771 #[repr(C)]
3772 #[doc = "Required features: `\"Win32_Foundation\"`"]
3773 #[cfg(feature = "Win32_Foundation")]
3774 pub union LSA_FOREST_TRUST_RECORD2_0 {
3775 pub TopLevelName: LSA_UNICODE_STRING,
3776 pub DomainInfo: LSA_FOREST_TRUST_DOMAIN_INFO,
3777 pub BinaryData: LSA_FOREST_TRUST_BINARY_DATA,
3778 pub ScannerInfo: LSA_FOREST_TRUST_SCANNER_INFO,
3779 }
3780 #[cfg(feature = "Win32_Foundation")]
3781 impl ::core::marker::Copy for LSA_FOREST_TRUST_RECORD2_0 {}
3782 #[cfg(feature = "Win32_Foundation")]
3783 impl ::core::clone::Clone for LSA_FOREST_TRUST_RECORD2_0 {
3784 fn clone(&self) -> Self {
3785 *self
3786 }
3787 }
3788 #[repr(C)]
3789 #[doc = "Required features: `\"Win32_Foundation\"`"]
3790 #[cfg(feature = "Win32_Foundation")]
3791 pub struct LSA_FOREST_TRUST_SCANNER_INFO {
3792 pub DomainSid: super::super::super::Foundation::PSID,
3793 pub DnsName: LSA_UNICODE_STRING,
3794 pub NetbiosName: LSA_UNICODE_STRING,
3795 }
3796 #[cfg(feature = "Win32_Foundation")]
3797 impl ::core::marker::Copy for LSA_FOREST_TRUST_SCANNER_INFO {}
3798 #[cfg(feature = "Win32_Foundation")]
3799 impl ::core::clone::Clone for LSA_FOREST_TRUST_SCANNER_INFO {
3800 fn clone(&self) -> Self {
3801 *self
3802 }
3803 }
3804 pub type LSA_HANDLE = isize;
3805 #[repr(C)]
3806 pub struct LSA_LAST_INTER_LOGON_INFO {
3807 pub LastSuccessfulLogon: i64,
3808 pub LastFailedLogon: i64,
3809 pub FailedAttemptCountSinceLastSuccessfulLogon: u32,
3810 }
3811 impl ::core::marker::Copy for LSA_LAST_INTER_LOGON_INFO {}
3812 impl ::core::clone::Clone for LSA_LAST_INTER_LOGON_INFO {
3813 fn clone(&self) -> Self {
3814 *self
3815 }
3816 }
3817 #[repr(C)]
3818 #[doc = "Required features: `\"Win32_Foundation\"`"]
3819 #[cfg(feature = "Win32_Foundation")]
3820 pub struct LSA_OBJECT_ATTRIBUTES {
3821 pub Length: u32,
3822 pub RootDirectory: super::super::super::Foundation::HANDLE,
3823 pub ObjectName: *mut LSA_UNICODE_STRING,
3824 pub Attributes: u32,
3825 pub SecurityDescriptor: *mut ::core::ffi::c_void,
3826 pub SecurityQualityOfService: *mut ::core::ffi::c_void,
3827 }
3828 #[cfg(feature = "Win32_Foundation")]
3829 impl ::core::marker::Copy for LSA_OBJECT_ATTRIBUTES {}
3830 #[cfg(feature = "Win32_Foundation")]
3831 impl ::core::clone::Clone for LSA_OBJECT_ATTRIBUTES {
3832 fn clone(&self) -> Self {
3833 *self
3834 }
3835 }
3836 #[repr(C)]
3837 #[doc = "Required features: `\"Win32_Foundation\"`"]
3838 #[cfg(feature = "Win32_Foundation")]
3839 pub struct LSA_REFERENCED_DOMAIN_LIST {
3840 pub Entries: u32,
3841 pub Domains: *mut LSA_TRUST_INFORMATION,
3842 }
3843 #[cfg(feature = "Win32_Foundation")]
3844 impl ::core::marker::Copy for LSA_REFERENCED_DOMAIN_LIST {}
3845 #[cfg(feature = "Win32_Foundation")]
3846 impl ::core::clone::Clone for LSA_REFERENCED_DOMAIN_LIST {
3847 fn clone(&self) -> Self {
3848 *self
3849 }
3850 }
3851 #[repr(C)]
3852 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`, `\"Win32_System_Threading\"`"]
3853 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Threading"))]
3854 pub struct LSA_SECPKG_FUNCTION_TABLE {
3855 pub CreateLogonSession: PLSA_CREATE_LOGON_SESSION,
3856 pub DeleteLogonSession: PLSA_DELETE_LOGON_SESSION,
3857 pub AddCredential: PLSA_ADD_CREDENTIAL,
3858 pub GetCredentials: PLSA_GET_CREDENTIALS,
3859 pub DeleteCredential: PLSA_DELETE_CREDENTIAL,
3860 pub AllocateLsaHeap: PLSA_ALLOCATE_LSA_HEAP,
3861 pub FreeLsaHeap: PLSA_FREE_LSA_HEAP,
3862 pub AllocateClientBuffer: PLSA_ALLOCATE_CLIENT_BUFFER,
3863 pub FreeClientBuffer: PLSA_FREE_CLIENT_BUFFER,
3864 pub CopyToClientBuffer: PLSA_COPY_TO_CLIENT_BUFFER,
3865 pub CopyFromClientBuffer: PLSA_COPY_FROM_CLIENT_BUFFER,
3866 pub ImpersonateClient: PLSA_IMPERSONATE_CLIENT,
3867 pub UnloadPackage: PLSA_UNLOAD_PACKAGE,
3868 pub DuplicateHandle: PLSA_DUPLICATE_HANDLE,
3869 pub SaveSupplementalCredentials: PLSA_SAVE_SUPPLEMENTAL_CREDENTIALS,
3870 pub CreateThread: PLSA_CREATE_THREAD,
3871 pub GetClientInfo: PLSA_GET_CLIENT_INFO,
3872 pub RegisterNotification: PLSA_REGISTER_NOTIFICATION,
3873 pub CancelNotification: PLSA_CANCEL_NOTIFICATION,
3874 pub MapBuffer: PLSA_MAP_BUFFER,
3875 pub CreateToken: PLSA_CREATE_TOKEN,
3876 pub AuditLogon: PLSA_AUDIT_LOGON,
3877 pub CallPackage: PLSA_CALL_PACKAGE,
3878 pub FreeReturnBuffer: PLSA_FREE_LSA_HEAP,
3879 pub GetCallInfo: PLSA_GET_CALL_INFO,
3880 pub CallPackageEx: PLSA_CALL_PACKAGEEX,
3881 pub CreateSharedMemory: PLSA_CREATE_SHARED_MEMORY,
3882 pub AllocateSharedMemory: PLSA_ALLOCATE_SHARED_MEMORY,
3883 pub FreeSharedMemory: PLSA_FREE_SHARED_MEMORY,
3884 pub DeleteSharedMemory: PLSA_DELETE_SHARED_MEMORY,
3885 pub OpenSamUser: PLSA_OPEN_SAM_USER,
3886 pub GetUserCredentials: PLSA_GET_USER_CREDENTIALS,
3887 pub GetUserAuthData: PLSA_GET_USER_AUTH_DATA,
3888 pub CloseSamUser: PLSA_CLOSE_SAM_USER,
3889 pub ConvertAuthDataToToken: PLSA_CONVERT_AUTH_DATA_TO_TOKEN,
3890 pub ClientCallback: PLSA_CLIENT_CALLBACK,
3891 pub UpdateCredentials: PLSA_UPDATE_PRIMARY_CREDENTIALS,
3892 pub GetAuthDataForUser: PLSA_GET_AUTH_DATA_FOR_USER,
3893 pub CrackSingleName: PLSA_CRACK_SINGLE_NAME,
3894 pub AuditAccountLogon: PLSA_AUDIT_ACCOUNT_LOGON,
3895 pub CallPackagePassthrough: PLSA_CALL_PACKAGE_PASSTHROUGH,
3896 pub CrediRead: CredReadFn,
3897 pub CrediReadDomainCredentials: CredReadDomainCredentialsFn,
3898 pub CrediFreeCredentials: CredFreeCredentialsFn,
3899 pub LsaProtectMemory: PLSA_PROTECT_MEMORY,
3900 pub LsaUnprotectMemory: PLSA_PROTECT_MEMORY,
3901 pub OpenTokenByLogonId: PLSA_OPEN_TOKEN_BY_LOGON_ID,
3902 pub ExpandAuthDataForDomain: PLSA_EXPAND_AUTH_DATA_FOR_DOMAIN,
3903 pub AllocatePrivateHeap: PLSA_ALLOCATE_PRIVATE_HEAP,
3904 pub FreePrivateHeap: PLSA_FREE_PRIVATE_HEAP,
3905 pub CreateTokenEx: PLSA_CREATE_TOKEN_EX,
3906 pub CrediWrite: CredWriteFn,
3907 pub CrediUnmarshalandDecodeString: CrediUnmarshalandDecodeStringFn,
3908 pub DummyFunction6: PLSA_PROTECT_MEMORY,
3909 pub GetExtendedCallFlags: PLSA_GET_EXTENDED_CALL_FLAGS,
3910 pub DuplicateTokenHandle: PLSA_DUPLICATE_HANDLE,
3911 pub GetServiceAccountPassword: PLSA_GET_SERVICE_ACCOUNT_PASSWORD,
3912 pub DummyFunction7: PLSA_PROTECT_MEMORY,
3913 pub AuditLogonEx: PLSA_AUDIT_LOGON_EX,
3914 pub CheckProtectedUserByToken: PLSA_CHECK_PROTECTED_USER_BY_TOKEN,
3915 pub QueryClientRequest: PLSA_QUERY_CLIENT_REQUEST,
3916 pub GetAppModeInfo: PLSA_GET_APP_MODE_INFO,
3917 pub SetAppModeInfo: PLSA_SET_APP_MODE_INFO,
3918 pub GetClientInfoEx: PLSA_GET_CLIENT_INFO_EX,
3919 }
3920 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Threading"))]
3921 impl ::core::marker::Copy for LSA_SECPKG_FUNCTION_TABLE {}
3922 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Threading"))]
3923 impl ::core::clone::Clone for LSA_SECPKG_FUNCTION_TABLE {
3924 fn clone(&self) -> Self {
3925 *self
3926 }
3927 }
3928 #[repr(C)]
3929 pub struct LSA_STRING {
3930 pub Length: u16,
3931 pub MaximumLength: u16,
3932 pub Buffer: ::windows_sys::core::PSTR,
3933 }
3934 impl ::core::marker::Copy for LSA_STRING {}
3935 impl ::core::clone::Clone for LSA_STRING {
3936 fn clone(&self) -> Self {
3937 *self
3938 }
3939 }
3940 #[repr(C)]
3941 #[doc = "Required features: `\"Win32_Foundation\"`"]
3942 #[cfg(feature = "Win32_Foundation")]
3943 pub struct LSA_TOKEN_INFORMATION_NULL {
3944 pub ExpirationTime: i64,
3945 pub Groups: *mut super::super::TOKEN_GROUPS,
3946 }
3947 #[cfg(feature = "Win32_Foundation")]
3948 impl ::core::marker::Copy for LSA_TOKEN_INFORMATION_NULL {}
3949 #[cfg(feature = "Win32_Foundation")]
3950 impl ::core::clone::Clone for LSA_TOKEN_INFORMATION_NULL {
3951 fn clone(&self) -> Self {
3952 *self
3953 }
3954 }
3955 #[repr(C)]
3956 #[doc = "Required features: `\"Win32_Foundation\"`"]
3957 #[cfg(feature = "Win32_Foundation")]
3958 pub struct LSA_TOKEN_INFORMATION_V1 {
3959 pub ExpirationTime: i64,
3960 pub User: super::super::TOKEN_USER,
3961 pub Groups: *mut super::super::TOKEN_GROUPS,
3962 pub PrimaryGroup: super::super::TOKEN_PRIMARY_GROUP,
3963 pub Privileges: *mut super::super::TOKEN_PRIVILEGES,
3964 pub Owner: super::super::TOKEN_OWNER,
3965 pub DefaultDacl: super::super::TOKEN_DEFAULT_DACL,
3966 }
3967 #[cfg(feature = "Win32_Foundation")]
3968 impl ::core::marker::Copy for LSA_TOKEN_INFORMATION_V1 {}
3969 #[cfg(feature = "Win32_Foundation")]
3970 impl ::core::clone::Clone for LSA_TOKEN_INFORMATION_V1 {
3971 fn clone(&self) -> Self {
3972 *self
3973 }
3974 }
3975 #[repr(C)]
3976 #[doc = "Required features: `\"Win32_Foundation\"`"]
3977 #[cfg(feature = "Win32_Foundation")]
3978 pub struct LSA_TOKEN_INFORMATION_V3 {
3979 pub ExpirationTime: i64,
3980 pub User: super::super::TOKEN_USER,
3981 pub Groups: *mut super::super::TOKEN_GROUPS,
3982 pub PrimaryGroup: super::super::TOKEN_PRIMARY_GROUP,
3983 pub Privileges: *mut super::super::TOKEN_PRIVILEGES,
3984 pub Owner: super::super::TOKEN_OWNER,
3985 pub DefaultDacl: super::super::TOKEN_DEFAULT_DACL,
3986 pub UserClaims: super::super::TOKEN_USER_CLAIMS,
3987 pub DeviceClaims: super::super::TOKEN_DEVICE_CLAIMS,
3988 pub DeviceGroups: *mut super::super::TOKEN_GROUPS,
3989 }
3990 #[cfg(feature = "Win32_Foundation")]
3991 impl ::core::marker::Copy for LSA_TOKEN_INFORMATION_V3 {}
3992 #[cfg(feature = "Win32_Foundation")]
3993 impl ::core::clone::Clone for LSA_TOKEN_INFORMATION_V3 {
3994 fn clone(&self) -> Self {
3995 *self
3996 }
3997 }
3998 #[repr(C)]
3999 pub struct LSA_TRANSLATED_NAME {
4000 pub Use: super::super::SID_NAME_USE,
4001 pub Name: LSA_UNICODE_STRING,
4002 pub DomainIndex: i32,
4003 }
4004 impl ::core::marker::Copy for LSA_TRANSLATED_NAME {}
4005 impl ::core::clone::Clone for LSA_TRANSLATED_NAME {
4006 fn clone(&self) -> Self {
4007 *self
4008 }
4009 }
4010 #[repr(C)]
4011 pub struct LSA_TRANSLATED_SID {
4012 pub Use: super::super::SID_NAME_USE,
4013 pub RelativeId: u32,
4014 pub DomainIndex: i32,
4015 }
4016 impl ::core::marker::Copy for LSA_TRANSLATED_SID {}
4017 impl ::core::clone::Clone for LSA_TRANSLATED_SID {
4018 fn clone(&self) -> Self {
4019 *self
4020 }
4021 }
4022 #[repr(C)]
4023 #[doc = "Required features: `\"Win32_Foundation\"`"]
4024 #[cfg(feature = "Win32_Foundation")]
4025 pub struct LSA_TRANSLATED_SID2 {
4026 pub Use: super::super::SID_NAME_USE,
4027 pub Sid: super::super::super::Foundation::PSID,
4028 pub DomainIndex: i32,
4029 pub Flags: u32,
4030 }
4031 #[cfg(feature = "Win32_Foundation")]
4032 impl ::core::marker::Copy for LSA_TRANSLATED_SID2 {}
4033 #[cfg(feature = "Win32_Foundation")]
4034 impl ::core::clone::Clone for LSA_TRANSLATED_SID2 {
4035 fn clone(&self) -> Self {
4036 *self
4037 }
4038 }
4039 #[repr(C)]
4040 #[doc = "Required features: `\"Win32_Foundation\"`"]
4041 #[cfg(feature = "Win32_Foundation")]
4042 pub struct LSA_TRUST_INFORMATION {
4043 pub Name: LSA_UNICODE_STRING,
4044 pub Sid: super::super::super::Foundation::PSID,
4045 }
4046 #[cfg(feature = "Win32_Foundation")]
4047 impl ::core::marker::Copy for LSA_TRUST_INFORMATION {}
4048 #[cfg(feature = "Win32_Foundation")]
4049 impl ::core::clone::Clone for LSA_TRUST_INFORMATION {
4050 fn clone(&self) -> Self {
4051 *self
4052 }
4053 }
4054 #[repr(C)]
4055 pub struct LSA_UNICODE_STRING {
4056 pub Length: u16,
4057 pub MaximumLength: u16,
4058 pub Buffer: ::windows_sys::core::PWSTR,
4059 }
4060 impl ::core::marker::Copy for LSA_UNICODE_STRING {}
4061 impl ::core::clone::Clone for LSA_UNICODE_STRING {
4062 fn clone(&self) -> Self {
4063 *self
4064 }
4065 }
4066 #[repr(C)]
4067 pub struct MSV1_0_AV_PAIR {
4068 pub AvId: u16,
4069 pub AvLen: u16,
4070 }
4071 impl ::core::marker::Copy for MSV1_0_AV_PAIR {}
4072 impl ::core::clone::Clone for MSV1_0_AV_PAIR {
4073 fn clone(&self) -> Self {
4074 *self
4075 }
4076 }
4077 #[repr(C)]
4078 #[doc = "Required features: `\"Win32_Foundation\"`"]
4079 #[cfg(feature = "Win32_Foundation")]
4080 pub struct MSV1_0_CHANGEPASSWORD_REQUEST {
4081 pub MessageType: MSV1_0_PROTOCOL_MESSAGE_TYPE,
4082 pub DomainName: LSA_UNICODE_STRING,
4083 pub AccountName: LSA_UNICODE_STRING,
4084 pub OldPassword: LSA_UNICODE_STRING,
4085 pub NewPassword: LSA_UNICODE_STRING,
4086 pub Impersonating: super::super::super::Foundation::BOOLEAN,
4087 }
4088 #[cfg(feature = "Win32_Foundation")]
4089 impl ::core::marker::Copy for MSV1_0_CHANGEPASSWORD_REQUEST {}
4090 #[cfg(feature = "Win32_Foundation")]
4091 impl ::core::clone::Clone for MSV1_0_CHANGEPASSWORD_REQUEST {
4092 fn clone(&self) -> Self {
4093 *self
4094 }
4095 }
4096 #[repr(C)]
4097 #[doc = "Required features: `\"Win32_Foundation\"`"]
4098 #[cfg(feature = "Win32_Foundation")]
4099 pub struct MSV1_0_CHANGEPASSWORD_RESPONSE {
4100 pub MessageType: MSV1_0_PROTOCOL_MESSAGE_TYPE,
4101 pub PasswordInfoValid: super::super::super::Foundation::BOOLEAN,
4102 pub DomainPasswordInfo: DOMAIN_PASSWORD_INFORMATION,
4103 }
4104 #[cfg(feature = "Win32_Foundation")]
4105 impl ::core::marker::Copy for MSV1_0_CHANGEPASSWORD_RESPONSE {}
4106 #[cfg(feature = "Win32_Foundation")]
4107 impl ::core::clone::Clone for MSV1_0_CHANGEPASSWORD_RESPONSE {
4108 fn clone(&self) -> Self {
4109 *self
4110 }
4111 }
4112 #[repr(C)]
4113 pub struct MSV1_0_CREDENTIAL_KEY {
4114 pub Data: [u8; 20],
4115 }
4116 impl ::core::marker::Copy for MSV1_0_CREDENTIAL_KEY {}
4117 impl ::core::clone::Clone for MSV1_0_CREDENTIAL_KEY {
4118 fn clone(&self) -> Self {
4119 *self
4120 }
4121 }
4122 #[repr(C)]
4123 pub struct MSV1_0_INTERACTIVE_LOGON {
4124 pub MessageType: MSV1_0_LOGON_SUBMIT_TYPE,
4125 pub LogonDomainName: LSA_UNICODE_STRING,
4126 pub UserName: LSA_UNICODE_STRING,
4127 pub Password: LSA_UNICODE_STRING,
4128 }
4129 impl ::core::marker::Copy for MSV1_0_INTERACTIVE_LOGON {}
4130 impl ::core::clone::Clone for MSV1_0_INTERACTIVE_LOGON {
4131 fn clone(&self) -> Self {
4132 *self
4133 }
4134 }
4135 #[repr(C)]
4136 pub struct MSV1_0_INTERACTIVE_PROFILE {
4137 pub MessageType: MSV1_0_PROFILE_BUFFER_TYPE,
4138 pub LogonCount: u16,
4139 pub BadPasswordCount: u16,
4140 pub LogonTime: i64,
4141 pub LogoffTime: i64,
4142 pub KickOffTime: i64,
4143 pub PasswordLastSet: i64,
4144 pub PasswordCanChange: i64,
4145 pub PasswordMustChange: i64,
4146 pub LogonScript: LSA_UNICODE_STRING,
4147 pub HomeDirectory: LSA_UNICODE_STRING,
4148 pub FullName: LSA_UNICODE_STRING,
4149 pub ProfilePath: LSA_UNICODE_STRING,
4150 pub HomeDirectoryDrive: LSA_UNICODE_STRING,
4151 pub LogonServer: LSA_UNICODE_STRING,
4152 pub UserFlags: u32,
4153 }
4154 impl ::core::marker::Copy for MSV1_0_INTERACTIVE_PROFILE {}
4155 impl ::core::clone::Clone for MSV1_0_INTERACTIVE_PROFILE {
4156 fn clone(&self) -> Self {
4157 *self
4158 }
4159 }
4160 #[repr(C)]
4161 pub struct MSV1_0_IUM_SUPPLEMENTAL_CREDENTIAL {
4162 pub Version: u32,
4163 pub EncryptedCredsSize: u32,
4164 pub EncryptedCreds: [u8; 1],
4165 }
4166 impl ::core::marker::Copy for MSV1_0_IUM_SUPPLEMENTAL_CREDENTIAL {}
4167 impl ::core::clone::Clone for MSV1_0_IUM_SUPPLEMENTAL_CREDENTIAL {
4168 fn clone(&self) -> Self {
4169 *self
4170 }
4171 }
4172 #[repr(C)]
4173 pub struct MSV1_0_LM20_LOGON {
4174 pub MessageType: MSV1_0_LOGON_SUBMIT_TYPE,
4175 pub LogonDomainName: LSA_UNICODE_STRING,
4176 pub UserName: LSA_UNICODE_STRING,
4177 pub Workstation: LSA_UNICODE_STRING,
4178 pub ChallengeToClient: [u8; 8],
4179 pub CaseSensitiveChallengeResponse: LSA_STRING,
4180 pub CaseInsensitiveChallengeResponse: LSA_STRING,
4181 pub ParameterControl: u32,
4182 }
4183 impl ::core::marker::Copy for MSV1_0_LM20_LOGON {}
4184 impl ::core::clone::Clone for MSV1_0_LM20_LOGON {
4185 fn clone(&self) -> Self {
4186 *self
4187 }
4188 }
4189 #[repr(C)]
4190 pub struct MSV1_0_LM20_LOGON_PROFILE {
4191 pub MessageType: MSV1_0_PROFILE_BUFFER_TYPE,
4192 pub KickOffTime: i64,
4193 pub LogoffTime: i64,
4194 pub UserFlags: MSV_SUB_AUTHENTICATION_FILTER,
4195 pub UserSessionKey: [u8; 16],
4196 pub LogonDomainName: LSA_UNICODE_STRING,
4197 pub LanmanSessionKey: [u8; 8],
4198 pub LogonServer: LSA_UNICODE_STRING,
4199 pub UserParameters: LSA_UNICODE_STRING,
4200 }
4201 impl ::core::marker::Copy for MSV1_0_LM20_LOGON_PROFILE {}
4202 impl ::core::clone::Clone for MSV1_0_LM20_LOGON_PROFILE {
4203 fn clone(&self) -> Self {
4204 *self
4205 }
4206 }
4207 #[repr(C)]
4208 pub struct MSV1_0_NTLM3_RESPONSE {
4209 pub Response: [u8; 16],
4210 pub RespType: u8,
4211 pub HiRespType: u8,
4212 pub Flags: u16,
4213 pub MsgWord: u32,
4214 pub TimeStamp: u64,
4215 pub ChallengeFromClient: [u8; 8],
4216 pub AvPairsOff: u32,
4217 pub Buffer: [u8; 1],
4218 }
4219 impl ::core::marker::Copy for MSV1_0_NTLM3_RESPONSE {}
4220 impl ::core::clone::Clone for MSV1_0_NTLM3_RESPONSE {
4221 fn clone(&self) -> Self {
4222 *self
4223 }
4224 }
4225 #[repr(C)]
4226 pub struct MSV1_0_PASSTHROUGH_REQUEST {
4227 pub MessageType: MSV1_0_PROTOCOL_MESSAGE_TYPE,
4228 pub DomainName: LSA_UNICODE_STRING,
4229 pub PackageName: LSA_UNICODE_STRING,
4230 pub DataLength: u32,
4231 pub LogonData: *mut u8,
4232 pub Pad: u32,
4233 }
4234 impl ::core::marker::Copy for MSV1_0_PASSTHROUGH_REQUEST {}
4235 impl ::core::clone::Clone for MSV1_0_PASSTHROUGH_REQUEST {
4236 fn clone(&self) -> Self {
4237 *self
4238 }
4239 }
4240 #[repr(C)]
4241 pub struct MSV1_0_PASSTHROUGH_RESPONSE {
4242 pub MessageType: MSV1_0_PROTOCOL_MESSAGE_TYPE,
4243 pub Pad: u32,
4244 pub DataLength: u32,
4245 pub ValidationData: *mut u8,
4246 }
4247 impl ::core::marker::Copy for MSV1_0_PASSTHROUGH_RESPONSE {}
4248 impl ::core::clone::Clone for MSV1_0_PASSTHROUGH_RESPONSE {
4249 fn clone(&self) -> Self {
4250 *self
4251 }
4252 }
4253 #[repr(C, packed(1))]
4254 pub struct MSV1_0_REMOTE_SUPPLEMENTAL_CREDENTIAL {
4255 pub Version: u32,
4256 pub Flags: u32,
4257 pub CredentialKey: MSV1_0_CREDENTIAL_KEY,
4258 pub CredentialKeyType: MSV1_0_CREDENTIAL_KEY_TYPE,
4259 pub EncryptedCredsSize: u32,
4260 pub EncryptedCreds: [u8; 1],
4261 }
4262 impl ::core::marker::Copy for MSV1_0_REMOTE_SUPPLEMENTAL_CREDENTIAL {}
4263 impl ::core::clone::Clone for MSV1_0_REMOTE_SUPPLEMENTAL_CREDENTIAL {
4264 fn clone(&self) -> Self {
4265 *self
4266 }
4267 }
4268 #[repr(C)]
4269 pub struct MSV1_0_S4U_LOGON {
4270 pub MessageType: MSV1_0_LOGON_SUBMIT_TYPE,
4271 pub Flags: u32,
4272 pub UserPrincipalName: LSA_UNICODE_STRING,
4273 pub DomainName: LSA_UNICODE_STRING,
4274 }
4275 impl ::core::marker::Copy for MSV1_0_S4U_LOGON {}
4276 impl ::core::clone::Clone for MSV1_0_S4U_LOGON {
4277 fn clone(&self) -> Self {
4278 *self
4279 }
4280 }
4281 #[repr(C)]
4282 pub struct MSV1_0_SUBAUTH_LOGON {
4283 pub MessageType: MSV1_0_LOGON_SUBMIT_TYPE,
4284 pub LogonDomainName: LSA_UNICODE_STRING,
4285 pub UserName: LSA_UNICODE_STRING,
4286 pub Workstation: LSA_UNICODE_STRING,
4287 pub ChallengeToClient: [u8; 8],
4288 pub AuthenticationInfo1: LSA_STRING,
4289 pub AuthenticationInfo2: LSA_STRING,
4290 pub ParameterControl: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL,
4291 pub SubAuthPackageId: u32,
4292 }
4293 impl ::core::marker::Copy for MSV1_0_SUBAUTH_LOGON {}
4294 impl ::core::clone::Clone for MSV1_0_SUBAUTH_LOGON {
4295 fn clone(&self) -> Self {
4296 *self
4297 }
4298 }
4299 #[repr(C)]
4300 pub struct MSV1_0_SUBAUTH_REQUEST {
4301 pub MessageType: MSV1_0_PROTOCOL_MESSAGE_TYPE,
4302 pub SubAuthPackageId: u32,
4303 pub SubAuthInfoLength: u32,
4304 pub SubAuthSubmitBuffer: *mut u8,
4305 }
4306 impl ::core::marker::Copy for MSV1_0_SUBAUTH_REQUEST {}
4307 impl ::core::clone::Clone for MSV1_0_SUBAUTH_REQUEST {
4308 fn clone(&self) -> Self {
4309 *self
4310 }
4311 }
4312 #[repr(C)]
4313 pub struct MSV1_0_SUBAUTH_RESPONSE {
4314 pub MessageType: MSV1_0_PROTOCOL_MESSAGE_TYPE,
4315 pub SubAuthInfoLength: u32,
4316 pub SubAuthReturnBuffer: *mut u8,
4317 }
4318 impl ::core::marker::Copy for MSV1_0_SUBAUTH_RESPONSE {}
4319 impl ::core::clone::Clone for MSV1_0_SUBAUTH_RESPONSE {
4320 fn clone(&self) -> Self {
4321 *self
4322 }
4323 }
4324 #[repr(C)]
4325 pub struct MSV1_0_SUPPLEMENTAL_CREDENTIAL {
4326 pub Version: u32,
4327 pub Flags: MSV_SUPPLEMENTAL_CREDENTIAL_FLAGS,
4328 pub LmPassword: [u8; 16],
4329 pub NtPassword: [u8; 16],
4330 }
4331 impl ::core::marker::Copy for MSV1_0_SUPPLEMENTAL_CREDENTIAL {}
4332 impl ::core::clone::Clone for MSV1_0_SUPPLEMENTAL_CREDENTIAL {
4333 fn clone(&self) -> Self {
4334 *self
4335 }
4336 }
4337 #[repr(C)]
4338 pub struct MSV1_0_SUPPLEMENTAL_CREDENTIAL_V2 {
4339 pub Version: u32,
4340 pub Flags: u32,
4341 pub NtPassword: [u8; 16],
4342 pub CredentialKey: MSV1_0_CREDENTIAL_KEY,
4343 }
4344 impl ::core::marker::Copy for MSV1_0_SUPPLEMENTAL_CREDENTIAL_V2 {}
4345 impl ::core::clone::Clone for MSV1_0_SUPPLEMENTAL_CREDENTIAL_V2 {
4346 fn clone(&self) -> Self {
4347 *self
4348 }
4349 }
4350 #[repr(C)]
4351 pub struct MSV1_0_SUPPLEMENTAL_CREDENTIAL_V3 {
4352 pub Version: u32,
4353 pub Flags: u32,
4354 pub CredentialKeyType: MSV1_0_CREDENTIAL_KEY_TYPE,
4355 pub NtPassword: [u8; 16],
4356 pub CredentialKey: MSV1_0_CREDENTIAL_KEY,
4357 pub ShaPassword: [u8; 20],
4358 }
4359 impl ::core::marker::Copy for MSV1_0_SUPPLEMENTAL_CREDENTIAL_V3 {}
4360 impl ::core::clone::Clone for MSV1_0_SUPPLEMENTAL_CREDENTIAL_V3 {
4361 fn clone(&self) -> Self {
4362 *self
4363 }
4364 }
4365 #[repr(C)]
4366 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_PasswordManagement\"`"]
4367 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
4368 pub struct MSV1_0_VALIDATION_INFO {
4369 pub LogoffTime: i64,
4370 pub KickoffTime: i64,
4371 pub LogonServer: LSA_UNICODE_STRING,
4372 pub LogonDomainName: LSA_UNICODE_STRING,
4373 pub SessionKey: USER_SESSION_KEY,
4374 pub Authoritative: super::super::super::Foundation::BOOLEAN,
4375 pub UserFlags: u32,
4376 pub WhichFields: u32,
4377 pub UserId: u32,
4378 }
4379 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
4380 impl ::core::marker::Copy for MSV1_0_VALIDATION_INFO {}
4381 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
4382 impl ::core::clone::Clone for MSV1_0_VALIDATION_INFO {
4383 fn clone(&self) -> Self {
4384 *self
4385 }
4386 }
4387 #[repr(C)]
4388 #[doc = "Required features: `\"Win32_Foundation\"`"]
4389 #[cfg(feature = "Win32_Foundation")]
4390 pub struct NEGOTIATE_CALLER_NAME_REQUEST {
4391 pub MessageType: u32,
4392 pub LogonId: super::super::super::Foundation::LUID,
4393 }
4394 #[cfg(feature = "Win32_Foundation")]
4395 impl ::core::marker::Copy for NEGOTIATE_CALLER_NAME_REQUEST {}
4396 #[cfg(feature = "Win32_Foundation")]
4397 impl ::core::clone::Clone for NEGOTIATE_CALLER_NAME_REQUEST {
4398 fn clone(&self) -> Self {
4399 *self
4400 }
4401 }
4402 #[repr(C)]
4403 pub struct NEGOTIATE_CALLER_NAME_RESPONSE {
4404 pub MessageType: u32,
4405 pub CallerName: ::windows_sys::core::PWSTR,
4406 }
4407 impl ::core::marker::Copy for NEGOTIATE_CALLER_NAME_RESPONSE {}
4408 impl ::core::clone::Clone for NEGOTIATE_CALLER_NAME_RESPONSE {
4409 fn clone(&self) -> Self {
4410 *self
4411 }
4412 }
4413 #[repr(C)]
4414 pub struct NEGOTIATE_PACKAGE_PREFIX {
4415 pub PackageId: usize,
4416 pub PackageDataA: *mut ::core::ffi::c_void,
4417 pub PackageDataW: *mut ::core::ffi::c_void,
4418 pub PrefixLen: usize,
4419 pub Prefix: [u8; 32],
4420 }
4421 impl ::core::marker::Copy for NEGOTIATE_PACKAGE_PREFIX {}
4422 impl ::core::clone::Clone for NEGOTIATE_PACKAGE_PREFIX {
4423 fn clone(&self) -> Self {
4424 *self
4425 }
4426 }
4427 #[repr(C)]
4428 pub struct NEGOTIATE_PACKAGE_PREFIXES {
4429 pub MessageType: u32,
4430 pub PrefixCount: u32,
4431 pub Offset: u32,
4432 pub Pad: u32,
4433 }
4434 impl ::core::marker::Copy for NEGOTIATE_PACKAGE_PREFIXES {}
4435 impl ::core::clone::Clone for NEGOTIATE_PACKAGE_PREFIXES {
4436 fn clone(&self) -> Self {
4437 *self
4438 }
4439 }
4440 #[repr(C)]
4441 pub struct NETLOGON_GENERIC_INFO {
4442 pub Identity: NETLOGON_LOGON_IDENTITY_INFO,
4443 pub PackageName: LSA_UNICODE_STRING,
4444 pub DataLength: u32,
4445 pub LogonData: *mut u8,
4446 }
4447 impl ::core::marker::Copy for NETLOGON_GENERIC_INFO {}
4448 impl ::core::clone::Clone for NETLOGON_GENERIC_INFO {
4449 fn clone(&self) -> Self {
4450 *self
4451 }
4452 }
4453 #[repr(C)]
4454 #[doc = "Required features: `\"Win32_System_PasswordManagement\"`"]
4455 #[cfg(feature = "Win32_System_PasswordManagement")]
4456 pub struct NETLOGON_INTERACTIVE_INFO {
4457 pub Identity: NETLOGON_LOGON_IDENTITY_INFO,
4458 pub LmOwfPassword: super::super::super::System::PasswordManagement::LM_OWF_PASSWORD,
4459 pub NtOwfPassword: super::super::super::System::PasswordManagement::LM_OWF_PASSWORD,
4460 }
4461 #[cfg(feature = "Win32_System_PasswordManagement")]
4462 impl ::core::marker::Copy for NETLOGON_INTERACTIVE_INFO {}
4463 #[cfg(feature = "Win32_System_PasswordManagement")]
4464 impl ::core::clone::Clone for NETLOGON_INTERACTIVE_INFO {
4465 fn clone(&self) -> Self {
4466 *self
4467 }
4468 }
4469 #[repr(C)]
4470 pub struct NETLOGON_LOGON_IDENTITY_INFO {
4471 pub LogonDomainName: LSA_UNICODE_STRING,
4472 pub ParameterControl: u32,
4473 pub LogonId: i64,
4474 pub UserName: LSA_UNICODE_STRING,
4475 pub Workstation: LSA_UNICODE_STRING,
4476 }
4477 impl ::core::marker::Copy for NETLOGON_LOGON_IDENTITY_INFO {}
4478 impl ::core::clone::Clone for NETLOGON_LOGON_IDENTITY_INFO {
4479 fn clone(&self) -> Self {
4480 *self
4481 }
4482 }
4483 #[repr(C)]
4484 pub struct NETLOGON_NETWORK_INFO {
4485 pub Identity: NETLOGON_LOGON_IDENTITY_INFO,
4486 pub LmChallenge: CLEAR_BLOCK,
4487 pub NtChallengeResponse: LSA_STRING,
4488 pub LmChallengeResponse: LSA_STRING,
4489 }
4490 impl ::core::marker::Copy for NETLOGON_NETWORK_INFO {}
4491 impl ::core::clone::Clone for NETLOGON_NETWORK_INFO {
4492 fn clone(&self) -> Self {
4493 *self
4494 }
4495 }
4496 #[repr(C)]
4497 #[doc = "Required features: `\"Win32_System_PasswordManagement\"`"]
4498 #[cfg(feature = "Win32_System_PasswordManagement")]
4499 pub struct NETLOGON_SERVICE_INFO {
4500 pub Identity: NETLOGON_LOGON_IDENTITY_INFO,
4501 pub LmOwfPassword: super::super::super::System::PasswordManagement::LM_OWF_PASSWORD,
4502 pub NtOwfPassword: super::super::super::System::PasswordManagement::LM_OWF_PASSWORD,
4503 }
4504 #[cfg(feature = "Win32_System_PasswordManagement")]
4505 impl ::core::marker::Copy for NETLOGON_SERVICE_INFO {}
4506 #[cfg(feature = "Win32_System_PasswordManagement")]
4507 impl ::core::clone::Clone for NETLOGON_SERVICE_INFO {
4508 fn clone(&self) -> Self {
4509 *self
4510 }
4511 }
4512 #[repr(C)]
4513 pub struct PKU2U_CERTIFICATE_S4U_LOGON {
4514 pub MessageType: PKU2U_LOGON_SUBMIT_TYPE,
4515 pub Flags: u32,
4516 pub UserPrincipalName: LSA_UNICODE_STRING,
4517 pub DomainName: LSA_UNICODE_STRING,
4518 pub CertificateLength: u32,
4519 pub Certificate: *mut u8,
4520 }
4521 impl ::core::marker::Copy for PKU2U_CERTIFICATE_S4U_LOGON {}
4522 impl ::core::clone::Clone for PKU2U_CERTIFICATE_S4U_LOGON {
4523 fn clone(&self) -> Self {
4524 *self
4525 }
4526 }
4527 #[repr(C)]
4528 pub struct PKU2U_CERT_BLOB {
4529 pub CertOffset: u32,
4530 pub CertLength: u16,
4531 }
4532 impl ::core::marker::Copy for PKU2U_CERT_BLOB {}
4533 impl ::core::clone::Clone for PKU2U_CERT_BLOB {
4534 fn clone(&self) -> Self {
4535 *self
4536 }
4537 }
4538 #[repr(C)]
4539 pub struct PKU2U_CREDUI_CONTEXT {
4540 pub Version: u64,
4541 pub cbHeaderLength: u16,
4542 pub cbStructureLength: u32,
4543 pub CertArrayCount: u16,
4544 pub CertArrayOffset: u32,
4545 }
4546 impl ::core::marker::Copy for PKU2U_CREDUI_CONTEXT {}
4547 impl ::core::clone::Clone for PKU2U_CREDUI_CONTEXT {
4548 fn clone(&self) -> Self {
4549 *self
4550 }
4551 }
4552 #[repr(C)]
4553 #[doc = "Required features: `\"Win32_Foundation\"`"]
4554 #[cfg(feature = "Win32_Foundation")]
4555 pub struct POLICY_ACCOUNT_DOMAIN_INFO {
4556 pub DomainName: LSA_UNICODE_STRING,
4557 pub DomainSid: super::super::super::Foundation::PSID,
4558 }
4559 #[cfg(feature = "Win32_Foundation")]
4560 impl ::core::marker::Copy for POLICY_ACCOUNT_DOMAIN_INFO {}
4561 #[cfg(feature = "Win32_Foundation")]
4562 impl ::core::clone::Clone for POLICY_ACCOUNT_DOMAIN_INFO {
4563 fn clone(&self) -> Self {
4564 *self
4565 }
4566 }
4567 #[repr(C)]
4568 pub struct POLICY_AUDIT_CATEGORIES_INFO {
4569 pub MaximumCategoryCount: u32,
4570 pub SubCategoriesInfo: *mut POLICY_AUDIT_SUBCATEGORIES_INFO,
4571 }
4572 impl ::core::marker::Copy for POLICY_AUDIT_CATEGORIES_INFO {}
4573 impl ::core::clone::Clone for POLICY_AUDIT_CATEGORIES_INFO {
4574 fn clone(&self) -> Self {
4575 *self
4576 }
4577 }
4578 #[repr(C)]
4579 #[doc = "Required features: `\"Win32_Foundation\"`"]
4580 #[cfg(feature = "Win32_Foundation")]
4581 pub struct POLICY_AUDIT_EVENTS_INFO {
4582 pub AuditingMode: super::super::super::Foundation::BOOLEAN,
4583 pub EventAuditingOptions: *mut u32,
4584 pub MaximumAuditEventCount: u32,
4585 }
4586 #[cfg(feature = "Win32_Foundation")]
4587 impl ::core::marker::Copy for POLICY_AUDIT_EVENTS_INFO {}
4588 #[cfg(feature = "Win32_Foundation")]
4589 impl ::core::clone::Clone for POLICY_AUDIT_EVENTS_INFO {
4590 fn clone(&self) -> Self {
4591 *self
4592 }
4593 }
4594 #[repr(C)]
4595 #[doc = "Required features: `\"Win32_Foundation\"`"]
4596 #[cfg(feature = "Win32_Foundation")]
4597 pub struct POLICY_AUDIT_FULL_QUERY_INFO {
4598 pub ShutDownOnFull: super::super::super::Foundation::BOOLEAN,
4599 pub LogIsFull: super::super::super::Foundation::BOOLEAN,
4600 }
4601 #[cfg(feature = "Win32_Foundation")]
4602 impl ::core::marker::Copy for POLICY_AUDIT_FULL_QUERY_INFO {}
4603 #[cfg(feature = "Win32_Foundation")]
4604 impl ::core::clone::Clone for POLICY_AUDIT_FULL_QUERY_INFO {
4605 fn clone(&self) -> Self {
4606 *self
4607 }
4608 }
4609 #[repr(C)]
4610 #[doc = "Required features: `\"Win32_Foundation\"`"]
4611 #[cfg(feature = "Win32_Foundation")]
4612 pub struct POLICY_AUDIT_FULL_SET_INFO {
4613 pub ShutDownOnFull: super::super::super::Foundation::BOOLEAN,
4614 }
4615 #[cfg(feature = "Win32_Foundation")]
4616 impl ::core::marker::Copy for POLICY_AUDIT_FULL_SET_INFO {}
4617 #[cfg(feature = "Win32_Foundation")]
4618 impl ::core::clone::Clone for POLICY_AUDIT_FULL_SET_INFO {
4619 fn clone(&self) -> Self {
4620 *self
4621 }
4622 }
4623 #[repr(C)]
4624 #[doc = "Required features: `\"Win32_Foundation\"`"]
4625 #[cfg(feature = "Win32_Foundation")]
4626 pub struct POLICY_AUDIT_LOG_INFO {
4627 pub AuditLogPercentFull: u32,
4628 pub MaximumLogSize: u32,
4629 pub AuditRetentionPeriod: i64,
4630 pub AuditLogFullShutdownInProgress: super::super::super::Foundation::BOOLEAN,
4631 pub TimeToShutdown: i64,
4632 pub NextAuditRecordId: u32,
4633 }
4634 #[cfg(feature = "Win32_Foundation")]
4635 impl ::core::marker::Copy for POLICY_AUDIT_LOG_INFO {}
4636 #[cfg(feature = "Win32_Foundation")]
4637 impl ::core::clone::Clone for POLICY_AUDIT_LOG_INFO {
4638 fn clone(&self) -> Self {
4639 *self
4640 }
4641 }
4642 #[repr(C)]
4643 #[doc = "Required features: `\"Win32_Foundation\"`"]
4644 #[cfg(feature = "Win32_Foundation")]
4645 pub struct POLICY_AUDIT_SID_ARRAY {
4646 pub UsersCount: u32,
4647 pub UserSidArray: *mut super::super::super::Foundation::PSID,
4648 }
4649 #[cfg(feature = "Win32_Foundation")]
4650 impl ::core::marker::Copy for POLICY_AUDIT_SID_ARRAY {}
4651 #[cfg(feature = "Win32_Foundation")]
4652 impl ::core::clone::Clone for POLICY_AUDIT_SID_ARRAY {
4653 fn clone(&self) -> Self {
4654 *self
4655 }
4656 }
4657 #[repr(C)]
4658 pub struct POLICY_AUDIT_SUBCATEGORIES_INFO {
4659 pub MaximumSubCategoryCount: u32,
4660 pub EventAuditingOptions: *mut u32,
4661 }
4662 impl ::core::marker::Copy for POLICY_AUDIT_SUBCATEGORIES_INFO {}
4663 impl ::core::clone::Clone for POLICY_AUDIT_SUBCATEGORIES_INFO {
4664 fn clone(&self) -> Self {
4665 *self
4666 }
4667 }
4668 #[repr(C)]
4669 pub struct POLICY_DEFAULT_QUOTA_INFO {
4670 pub QuotaLimits: super::super::QUOTA_LIMITS,
4671 }
4672 impl ::core::marker::Copy for POLICY_DEFAULT_QUOTA_INFO {}
4673 impl ::core::clone::Clone for POLICY_DEFAULT_QUOTA_INFO {
4674 fn clone(&self) -> Self {
4675 *self
4676 }
4677 }
4678 #[repr(C)]
4679 #[doc = "Required features: `\"Win32_Foundation\"`"]
4680 #[cfg(feature = "Win32_Foundation")]
4681 pub struct POLICY_DNS_DOMAIN_INFO {
4682 pub Name: LSA_UNICODE_STRING,
4683 pub DnsDomainName: LSA_UNICODE_STRING,
4684 pub DnsForestName: LSA_UNICODE_STRING,
4685 pub DomainGuid: ::windows_sys::core::GUID,
4686 pub Sid: super::super::super::Foundation::PSID,
4687 }
4688 #[cfg(feature = "Win32_Foundation")]
4689 impl ::core::marker::Copy for POLICY_DNS_DOMAIN_INFO {}
4690 #[cfg(feature = "Win32_Foundation")]
4691 impl ::core::clone::Clone for POLICY_DNS_DOMAIN_INFO {
4692 fn clone(&self) -> Self {
4693 *self
4694 }
4695 }
4696 #[repr(C)]
4697 pub struct POLICY_DOMAIN_EFS_INFO {
4698 pub InfoLength: u32,
4699 pub EfsBlob: *mut u8,
4700 }
4701 impl ::core::marker::Copy for POLICY_DOMAIN_EFS_INFO {}
4702 impl ::core::clone::Clone for POLICY_DOMAIN_EFS_INFO {
4703 fn clone(&self) -> Self {
4704 *self
4705 }
4706 }
4707 #[repr(C)]
4708 pub struct POLICY_DOMAIN_KERBEROS_TICKET_INFO {
4709 pub AuthenticationOptions: u32,
4710 pub MaxServiceTicketAge: i64,
4711 pub MaxTicketAge: i64,
4712 pub MaxRenewAge: i64,
4713 pub MaxClockSkew: i64,
4714 pub Reserved: i64,
4715 }
4716 impl ::core::marker::Copy for POLICY_DOMAIN_KERBEROS_TICKET_INFO {}
4717 impl ::core::clone::Clone for POLICY_DOMAIN_KERBEROS_TICKET_INFO {
4718 fn clone(&self) -> Self {
4719 *self
4720 }
4721 }
4722 #[repr(C)]
4723 pub struct POLICY_LSA_SERVER_ROLE_INFO {
4724 pub LsaServerRole: POLICY_LSA_SERVER_ROLE,
4725 }
4726 impl ::core::marker::Copy for POLICY_LSA_SERVER_ROLE_INFO {}
4727 impl ::core::clone::Clone for POLICY_LSA_SERVER_ROLE_INFO {
4728 fn clone(&self) -> Self {
4729 *self
4730 }
4731 }
4732 #[repr(C)]
4733 #[doc = "Required features: `\"Win32_Foundation\"`"]
4734 #[cfg(feature = "Win32_Foundation")]
4735 pub struct POLICY_MACHINE_ACCT_INFO {
4736 pub Rid: u32,
4737 pub Sid: super::super::super::Foundation::PSID,
4738 }
4739 #[cfg(feature = "Win32_Foundation")]
4740 impl ::core::marker::Copy for POLICY_MACHINE_ACCT_INFO {}
4741 #[cfg(feature = "Win32_Foundation")]
4742 impl ::core::clone::Clone for POLICY_MACHINE_ACCT_INFO {
4743 fn clone(&self) -> Self {
4744 *self
4745 }
4746 }
4747 #[repr(C)]
4748 pub struct POLICY_MODIFICATION_INFO {
4749 pub ModifiedId: i64,
4750 pub DatabaseCreationTime: i64,
4751 }
4752 impl ::core::marker::Copy for POLICY_MODIFICATION_INFO {}
4753 impl ::core::clone::Clone for POLICY_MODIFICATION_INFO {
4754 fn clone(&self) -> Self {
4755 *self
4756 }
4757 }
4758 #[repr(C)]
4759 pub struct POLICY_PD_ACCOUNT_INFO {
4760 pub Name: LSA_UNICODE_STRING,
4761 }
4762 impl ::core::marker::Copy for POLICY_PD_ACCOUNT_INFO {}
4763 impl ::core::clone::Clone for POLICY_PD_ACCOUNT_INFO {
4764 fn clone(&self) -> Self {
4765 *self
4766 }
4767 }
4768 #[repr(C)]
4769 #[doc = "Required features: `\"Win32_Foundation\"`"]
4770 #[cfg(feature = "Win32_Foundation")]
4771 pub struct POLICY_PRIMARY_DOMAIN_INFO {
4772 pub Name: LSA_UNICODE_STRING,
4773 pub Sid: super::super::super::Foundation::PSID,
4774 }
4775 #[cfg(feature = "Win32_Foundation")]
4776 impl ::core::marker::Copy for POLICY_PRIMARY_DOMAIN_INFO {}
4777 #[cfg(feature = "Win32_Foundation")]
4778 impl ::core::clone::Clone for POLICY_PRIMARY_DOMAIN_INFO {
4779 fn clone(&self) -> Self {
4780 *self
4781 }
4782 }
4783 #[repr(C)]
4784 pub struct POLICY_REPLICA_SOURCE_INFO {
4785 pub ReplicaSource: LSA_UNICODE_STRING,
4786 pub ReplicaAccountName: LSA_UNICODE_STRING,
4787 }
4788 impl ::core::marker::Copy for POLICY_REPLICA_SOURCE_INFO {}
4789 impl ::core::clone::Clone for POLICY_REPLICA_SOURCE_INFO {
4790 fn clone(&self) -> Self {
4791 *self
4792 }
4793 }
4794 #[repr(C)]
4795 pub struct PctPublicKey {
4796 pub Type: u32,
4797 pub cbKey: u32,
4798 pub pKey: [u8; 1],
4799 }
4800 impl ::core::marker::Copy for PctPublicKey {}
4801 impl ::core::clone::Clone for PctPublicKey {
4802 fn clone(&self) -> Self {
4803 *self
4804 }
4805 }
4806 #[repr(C)]
4807 #[doc = "Required features: `\"Win32_Foundation\"`"]
4808 #[cfg(feature = "Win32_Foundation")]
4809 pub struct SAM_REGISTER_MAPPING_ELEMENT {
4810 pub Original: ::windows_sys::core::PSTR,
4811 pub Mapped: ::windows_sys::core::PSTR,
4812 pub Continuable: super::super::super::Foundation::BOOLEAN,
4813 }
4814 #[cfg(feature = "Win32_Foundation")]
4815 impl ::core::marker::Copy for SAM_REGISTER_MAPPING_ELEMENT {}
4816 #[cfg(feature = "Win32_Foundation")]
4817 impl ::core::clone::Clone for SAM_REGISTER_MAPPING_ELEMENT {
4818 fn clone(&self) -> Self {
4819 *self
4820 }
4821 }
4822 #[repr(C)]
4823 #[doc = "Required features: `\"Win32_Foundation\"`"]
4824 #[cfg(feature = "Win32_Foundation")]
4825 pub struct SAM_REGISTER_MAPPING_LIST {
4826 pub Count: u32,
4827 pub Elements: *mut SAM_REGISTER_MAPPING_ELEMENT,
4828 }
4829 #[cfg(feature = "Win32_Foundation")]
4830 impl ::core::marker::Copy for SAM_REGISTER_MAPPING_LIST {}
4831 #[cfg(feature = "Win32_Foundation")]
4832 impl ::core::clone::Clone for SAM_REGISTER_MAPPING_LIST {
4833 fn clone(&self) -> Self {
4834 *self
4835 }
4836 }
4837 #[repr(C)]
4838 #[doc = "Required features: `\"Win32_Foundation\"`"]
4839 #[cfg(feature = "Win32_Foundation")]
4840 pub struct SAM_REGISTER_MAPPING_TABLE {
4841 pub Count: u32,
4842 pub Lists: *mut SAM_REGISTER_MAPPING_LIST,
4843 }
4844 #[cfg(feature = "Win32_Foundation")]
4845 impl ::core::marker::Copy for SAM_REGISTER_MAPPING_TABLE {}
4846 #[cfg(feature = "Win32_Foundation")]
4847 impl ::core::clone::Clone for SAM_REGISTER_MAPPING_TABLE {
4848 fn clone(&self) -> Self {
4849 *self
4850 }
4851 }
4852 #[repr(C)]
4853 pub struct SCHANNEL_ALERT_TOKEN {
4854 pub dwTokenType: u32,
4855 pub dwAlertType: SCHANNEL_ALERT_TOKEN_ALERT_TYPE,
4856 pub dwAlertNumber: u32,
4857 }
4858 impl ::core::marker::Copy for SCHANNEL_ALERT_TOKEN {}
4859 impl ::core::clone::Clone for SCHANNEL_ALERT_TOKEN {
4860 fn clone(&self) -> Self {
4861 *self
4862 }
4863 }
4864 #[repr(C)]
4865 pub struct SCHANNEL_CERT_HASH {
4866 pub dwLength: u32,
4867 pub dwFlags: u32,
4868 pub hProv: usize,
4869 pub ShaHash: [u8; 20],
4870 }
4871 impl ::core::marker::Copy for SCHANNEL_CERT_HASH {}
4872 impl ::core::clone::Clone for SCHANNEL_CERT_HASH {
4873 fn clone(&self) -> Self {
4874 *self
4875 }
4876 }
4877 #[repr(C)]
4878 pub struct SCHANNEL_CERT_HASH_STORE {
4879 pub dwLength: u32,
4880 pub dwFlags: u32,
4881 pub hProv: usize,
4882 pub ShaHash: [u8; 20],
4883 pub pwszStoreName: [u16; 128],
4884 }
4885 impl ::core::marker::Copy for SCHANNEL_CERT_HASH_STORE {}
4886 impl ::core::clone::Clone for SCHANNEL_CERT_HASH_STORE {
4887 fn clone(&self) -> Self {
4888 *self
4889 }
4890 }
4891 #[repr(C)]
4892 #[doc = "Required features: `\"Win32_Security_Cryptography\"`"]
4893 #[cfg(feature = "Win32_Security_Cryptography")]
4894 pub struct SCHANNEL_CLIENT_SIGNATURE {
4895 pub cbLength: u32,
4896 pub aiHash: super::super::Cryptography::ALG_ID,
4897 pub cbHash: u32,
4898 pub HashValue: [u8; 36],
4899 pub CertThumbprint: [u8; 20],
4900 }
4901 #[cfg(feature = "Win32_Security_Cryptography")]
4902 impl ::core::marker::Copy for SCHANNEL_CLIENT_SIGNATURE {}
4903 #[cfg(feature = "Win32_Security_Cryptography")]
4904 impl ::core::clone::Clone for SCHANNEL_CLIENT_SIGNATURE {
4905 fn clone(&self) -> Self {
4906 *self
4907 }
4908 }
4909 #[repr(C)]
4910 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"]
4911 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
4912 pub struct SCHANNEL_CRED {
4913 pub dwVersion: u32,
4914 pub cCreds: u32,
4915 pub paCred: *mut *mut super::super::Cryptography::CERT_CONTEXT,
4916 pub hRootStore: super::super::Cryptography::HCERTSTORE,
4917 pub cMappers: u32,
4918 pub aphMappers: *mut *mut _HMAPPER,
4919 pub cSupportedAlgs: u32,
4920 pub palgSupportedAlgs: *mut super::super::Cryptography::ALG_ID,
4921 pub grbitEnabledProtocols: u32,
4922 pub dwMinimumCipherStrength: u32,
4923 pub dwMaximumCipherStrength: u32,
4924 pub dwSessionLifespan: u32,
4925 pub dwFlags: SCHANNEL_CRED_FLAGS,
4926 pub dwCredFormat: u32,
4927 }
4928 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
4929 impl ::core::marker::Copy for SCHANNEL_CRED {}
4930 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
4931 impl ::core::clone::Clone for SCHANNEL_CRED {
4932 fn clone(&self) -> Self {
4933 *self
4934 }
4935 }
4936 #[repr(C)]
4937 pub struct SCHANNEL_SESSION_TOKEN {
4938 pub dwTokenType: u32,
4939 pub dwFlags: SCHANNEL_SESSION_TOKEN_FLAGS,
4940 }
4941 impl ::core::marker::Copy for SCHANNEL_SESSION_TOKEN {}
4942 impl ::core::clone::Clone for SCHANNEL_SESSION_TOKEN {
4943 fn clone(&self) -> Self {
4944 *self
4945 }
4946 }
4947 #[repr(C)]
4948 pub struct SCH_CRED {
4949 pub dwVersion: u32,
4950 pub cCreds: u32,
4951 pub paSecret: *mut *mut ::core::ffi::c_void,
4952 pub paPublic: *mut *mut ::core::ffi::c_void,
4953 pub cMappers: u32,
4954 pub aphMappers: *mut *mut _HMAPPER,
4955 }
4956 impl ::core::marker::Copy for SCH_CRED {}
4957 impl ::core::clone::Clone for SCH_CRED {
4958 fn clone(&self) -> Self {
4959 *self
4960 }
4961 }
4962 #[repr(C)]
4963 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"]
4964 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
4965 pub struct SCH_CREDENTIALS {
4966 pub dwVersion: u32,
4967 pub dwCredFormat: u32,
4968 pub cCreds: u32,
4969 pub paCred: *mut *mut super::super::Cryptography::CERT_CONTEXT,
4970 pub hRootStore: super::super::Cryptography::HCERTSTORE,
4971 pub cMappers: u32,
4972 pub aphMappers: *mut *mut _HMAPPER,
4973 pub dwSessionLifespan: u32,
4974 pub dwFlags: u32,
4975 pub cTlsParameters: u32,
4976 pub pTlsParameters: *mut TLS_PARAMETERS,
4977 }
4978 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
4979 impl ::core::marker::Copy for SCH_CREDENTIALS {}
4980 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
4981 impl ::core::clone::Clone for SCH_CREDENTIALS {
4982 fn clone(&self) -> Self {
4983 *self
4984 }
4985 }
4986 #[repr(C)]
4987 pub struct SCH_CRED_PUBLIC_CERTCHAIN {
4988 pub dwType: u32,
4989 pub cbCertChain: u32,
4990 pub pCertChain: *mut u8,
4991 }
4992 impl ::core::marker::Copy for SCH_CRED_PUBLIC_CERTCHAIN {}
4993 impl ::core::clone::Clone for SCH_CRED_PUBLIC_CERTCHAIN {
4994 fn clone(&self) -> Self {
4995 *self
4996 }
4997 }
4998 #[repr(C)]
4999 pub struct SCH_CRED_SECRET_CAPI {
5000 pub dwType: u32,
5001 pub hProv: usize,
5002 }
5003 impl ::core::marker::Copy for SCH_CRED_SECRET_CAPI {}
5004 impl ::core::clone::Clone for SCH_CRED_SECRET_CAPI {
5005 fn clone(&self) -> Self {
5006 *self
5007 }
5008 }
5009 #[repr(C)]
5010 pub struct SCH_CRED_SECRET_PRIVKEY {
5011 pub dwType: u32,
5012 pub pPrivateKey: *mut u8,
5013 pub cbPrivateKey: u32,
5014 pub pszPassword: ::windows_sys::core::PSTR,
5015 }
5016 impl ::core::marker::Copy for SCH_CRED_SECRET_PRIVKEY {}
5017 impl ::core::clone::Clone for SCH_CRED_SECRET_PRIVKEY {
5018 fn clone(&self) -> Self {
5019 *self
5020 }
5021 }
5022 #[repr(C)]
5023 pub struct SCH_EXTENSION_DATA {
5024 pub ExtensionType: u16,
5025 pub pExtData: *const u8,
5026 pub cbExtData: u32,
5027 }
5028 impl ::core::marker::Copy for SCH_EXTENSION_DATA {}
5029 impl ::core::clone::Clone for SCH_EXTENSION_DATA {
5030 fn clone(&self) -> Self {
5031 *self
5032 }
5033 }
5034 #[repr(C)]
5035 #[doc = "Required features: `\"Win32_Foundation\"`"]
5036 #[cfg(feature = "Win32_Foundation")]
5037 pub struct SECPKG_APP_MODE_INFO {
5038 pub UserFunction: u32,
5039 pub Argument1: usize,
5040 pub Argument2: usize,
5041 pub UserData: SecBuffer,
5042 pub ReturnToLsa: super::super::super::Foundation::BOOLEAN,
5043 }
5044 #[cfg(feature = "Win32_Foundation")]
5045 impl ::core::marker::Copy for SECPKG_APP_MODE_INFO {}
5046 #[cfg(feature = "Win32_Foundation")]
5047 impl ::core::clone::Clone for SECPKG_APP_MODE_INFO {
5048 fn clone(&self) -> Self {
5049 *self
5050 }
5051 }
5052 #[repr(C)]
5053 pub struct SECPKG_BYTE_VECTOR {
5054 pub ByteArrayOffset: u32,
5055 pub ByteArrayLength: u16,
5056 }
5057 impl ::core::marker::Copy for SECPKG_BYTE_VECTOR {}
5058 impl ::core::clone::Clone for SECPKG_BYTE_VECTOR {
5059 fn clone(&self) -> Self {
5060 *self
5061 }
5062 }
5063 #[repr(C)]
5064 pub struct SECPKG_CALL_INFO {
5065 pub ProcessId: u32,
5066 pub ThreadId: u32,
5067 pub Attributes: u32,
5068 pub CallCount: u32,
5069 pub MechOid: *mut ::core::ffi::c_void,
5070 }
5071 impl ::core::marker::Copy for SECPKG_CALL_INFO {}
5072 impl ::core::clone::Clone for SECPKG_CALL_INFO {
5073 fn clone(&self) -> Self {
5074 *self
5075 }
5076 }
5077 #[repr(C)]
5078 pub struct SECPKG_CALL_PACKAGE_PIN_DC_REQUEST {
5079 pub MessageType: u32,
5080 pub Flags: u32,
5081 pub DomainName: LSA_UNICODE_STRING,
5082 pub DcName: LSA_UNICODE_STRING,
5083 pub DcFlags: u32,
5084 }
5085 impl ::core::marker::Copy for SECPKG_CALL_PACKAGE_PIN_DC_REQUEST {}
5086 impl ::core::clone::Clone for SECPKG_CALL_PACKAGE_PIN_DC_REQUEST {
5087 fn clone(&self) -> Self {
5088 *self
5089 }
5090 }
5091 #[repr(C)]
5092 #[doc = "Required features: `\"Win32_Foundation\"`"]
5093 #[cfg(feature = "Win32_Foundation")]
5094 pub struct SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST {
5095 pub MessageType: u32,
5096 pub OriginLogonId: super::super::super::Foundation::LUID,
5097 pub DestinationLogonId: super::super::super::Foundation::LUID,
5098 pub Flags: u32,
5099 }
5100 #[cfg(feature = "Win32_Foundation")]
5101 impl ::core::marker::Copy for SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST {}
5102 #[cfg(feature = "Win32_Foundation")]
5103 impl ::core::clone::Clone for SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST {
5104 fn clone(&self) -> Self {
5105 *self
5106 }
5107 }
5108 #[repr(C)]
5109 pub struct SECPKG_CALL_PACKAGE_UNPIN_ALL_DCS_REQUEST {
5110 pub MessageType: u32,
5111 pub Flags: u32,
5112 }
5113 impl ::core::marker::Copy for SECPKG_CALL_PACKAGE_UNPIN_ALL_DCS_REQUEST {}
5114 impl ::core::clone::Clone for SECPKG_CALL_PACKAGE_UNPIN_ALL_DCS_REQUEST {
5115 fn clone(&self) -> Self {
5116 *self
5117 }
5118 }
5119 #[repr(C)]
5120 #[doc = "Required features: `\"Win32_Foundation\"`"]
5121 #[cfg(feature = "Win32_Foundation")]
5122 pub struct SECPKG_CLIENT_INFO {
5123 pub LogonId: super::super::super::Foundation::LUID,
5124 pub ProcessID: u32,
5125 pub ThreadID: u32,
5126 pub HasTcbPrivilege: super::super::super::Foundation::BOOLEAN,
5127 pub Impersonating: super::super::super::Foundation::BOOLEAN,
5128 pub Restricted: super::super::super::Foundation::BOOLEAN,
5129 pub ClientFlags: u8,
5130 pub ImpersonationLevel: super::super::SECURITY_IMPERSONATION_LEVEL,
5131 pub ClientToken: super::super::super::Foundation::HANDLE,
5132 }
5133 #[cfg(feature = "Win32_Foundation")]
5134 impl ::core::marker::Copy for SECPKG_CLIENT_INFO {}
5135 #[cfg(feature = "Win32_Foundation")]
5136 impl ::core::clone::Clone for SECPKG_CLIENT_INFO {
5137 fn clone(&self) -> Self {
5138 *self
5139 }
5140 }
5141 #[repr(C)]
5142 #[doc = "Required features: `\"Win32_Foundation\"`"]
5143 #[cfg(feature = "Win32_Foundation")]
5144 pub struct SECPKG_CLIENT_INFO_EX {
5145 pub LogonId: super::super::super::Foundation::LUID,
5146 pub ProcessID: u32,
5147 pub ThreadID: u32,
5148 pub HasTcbPrivilege: super::super::super::Foundation::BOOLEAN,
5149 pub Impersonating: super::super::super::Foundation::BOOLEAN,
5150 pub Restricted: super::super::super::Foundation::BOOLEAN,
5151 pub ClientFlags: u8,
5152 pub ImpersonationLevel: super::super::SECURITY_IMPERSONATION_LEVEL,
5153 pub ClientToken: super::super::super::Foundation::HANDLE,
5154 pub IdentificationLogonId: super::super::super::Foundation::LUID,
5155 pub IdentificationToken: super::super::super::Foundation::HANDLE,
5156 }
5157 #[cfg(feature = "Win32_Foundation")]
5158 impl ::core::marker::Copy for SECPKG_CLIENT_INFO_EX {}
5159 #[cfg(feature = "Win32_Foundation")]
5160 impl ::core::clone::Clone for SECPKG_CLIENT_INFO_EX {
5161 fn clone(&self) -> Self {
5162 *self
5163 }
5164 }
5165 #[repr(C)]
5166 pub struct SECPKG_CONTEXT_THUNKS {
5167 pub InfoLevelCount: u32,
5168 pub Levels: [u32; 1],
5169 }
5170 impl ::core::marker::Copy for SECPKG_CONTEXT_THUNKS {}
5171 impl ::core::clone::Clone for SECPKG_CONTEXT_THUNKS {
5172 fn clone(&self) -> Self {
5173 *self
5174 }
5175 }
5176 #[repr(C)]
5177 #[doc = "Required features: `\"Win32_Foundation\"`"]
5178 #[cfg(feature = "Win32_Foundation")]
5179 pub struct SECPKG_CREDENTIAL {
5180 pub Version: u64,
5181 pub cbHeaderLength: u16,
5182 pub cbStructureLength: u32,
5183 pub ClientProcess: u32,
5184 pub ClientThread: u32,
5185 pub LogonId: super::super::super::Foundation::LUID,
5186 pub ClientToken: super::super::super::Foundation::HANDLE,
5187 pub SessionId: u32,
5188 pub ModifiedId: super::super::super::Foundation::LUID,
5189 pub fCredentials: u32,
5190 pub Flags: u32,
5191 pub PrincipalName: SECPKG_BYTE_VECTOR,
5192 pub PackageList: SECPKG_BYTE_VECTOR,
5193 pub MarshaledSuppliedCreds: SECPKG_BYTE_VECTOR,
5194 }
5195 #[cfg(feature = "Win32_Foundation")]
5196 impl ::core::marker::Copy for SECPKG_CREDENTIAL {}
5197 #[cfg(feature = "Win32_Foundation")]
5198 impl ::core::clone::Clone for SECPKG_CREDENTIAL {
5199 fn clone(&self) -> Self {
5200 *self
5201 }
5202 }
5203 #[repr(C)]
5204 #[doc = "Required features: `\"Win32_Foundation\"`"]
5205 #[cfg(feature = "Win32_Foundation")]
5206 pub struct SECPKG_DLL_FUNCTIONS {
5207 pub AllocateHeap: PLSA_ALLOCATE_LSA_HEAP,
5208 pub FreeHeap: PLSA_FREE_LSA_HEAP,
5209 pub RegisterCallback: PLSA_REGISTER_CALLBACK,
5210 pub LocatePackageById: PLSA_LOCATE_PKG_BY_ID,
5211 }
5212 #[cfg(feature = "Win32_Foundation")]
5213 impl ::core::marker::Copy for SECPKG_DLL_FUNCTIONS {}
5214 #[cfg(feature = "Win32_Foundation")]
5215 impl ::core::clone::Clone for SECPKG_DLL_FUNCTIONS {
5216 fn clone(&self) -> Self {
5217 *self
5218 }
5219 }
5220 #[repr(C)]
5221 pub struct SECPKG_EVENT_NOTIFY {
5222 pub EventClass: u32,
5223 pub Reserved: u32,
5224 pub EventDataSize: u32,
5225 pub EventData: *mut ::core::ffi::c_void,
5226 pub PackageParameter: *mut ::core::ffi::c_void,
5227 }
5228 impl ::core::marker::Copy for SECPKG_EVENT_NOTIFY {}
5229 impl ::core::clone::Clone for SECPKG_EVENT_NOTIFY {
5230 fn clone(&self) -> Self {
5231 *self
5232 }
5233 }
5234 #[repr(C)]
5235 pub struct SECPKG_EVENT_PACKAGE_CHANGE {
5236 pub ChangeType: SECPKG_PACKAGE_CHANGE_TYPE,
5237 pub PackageId: usize,
5238 pub PackageName: SECURITY_STRING,
5239 }
5240 impl ::core::marker::Copy for SECPKG_EVENT_PACKAGE_CHANGE {}
5241 impl ::core::clone::Clone for SECPKG_EVENT_PACKAGE_CHANGE {
5242 fn clone(&self) -> Self {
5243 *self
5244 }
5245 }
5246 #[repr(C)]
5247 pub struct SECPKG_EVENT_ROLE_CHANGE {
5248 pub PreviousRole: u32,
5249 pub NewRole: u32,
5250 }
5251 impl ::core::marker::Copy for SECPKG_EVENT_ROLE_CHANGE {}
5252 impl ::core::clone::Clone for SECPKG_EVENT_ROLE_CHANGE {
5253 fn clone(&self) -> Self {
5254 *self
5255 }
5256 }
5257 #[repr(C)]
5258 pub struct SECPKG_EXTENDED_INFORMATION {
5259 pub Class: SECPKG_EXTENDED_INFORMATION_CLASS,
5260 pub Info: SECPKG_EXTENDED_INFORMATION_0,
5261 }
5262 impl ::core::marker::Copy for SECPKG_EXTENDED_INFORMATION {}
5263 impl ::core::clone::Clone for SECPKG_EXTENDED_INFORMATION {
5264 fn clone(&self) -> Self {
5265 *self
5266 }
5267 }
5268 #[repr(C)]
5269 pub union SECPKG_EXTENDED_INFORMATION_0 {
5270 pub GssInfo: SECPKG_GSS_INFO,
5271 pub ContextThunks: SECPKG_CONTEXT_THUNKS,
5272 pub MutualAuthLevel: SECPKG_MUTUAL_AUTH_LEVEL,
5273 pub WowClientDll: SECPKG_WOW_CLIENT_DLL,
5274 pub ExtraOids: SECPKG_EXTRA_OIDS,
5275 pub Nego2Info: SECPKG_NEGO2_INFO,
5276 }
5277 impl ::core::marker::Copy for SECPKG_EXTENDED_INFORMATION_0 {}
5278 impl ::core::clone::Clone for SECPKG_EXTENDED_INFORMATION_0 {
5279 fn clone(&self) -> Self {
5280 *self
5281 }
5282 }
5283 #[repr(C)]
5284 pub struct SECPKG_EXTRA_OIDS {
5285 pub OidCount: u32,
5286 pub Oids: [SECPKG_SERIALIZED_OID; 1],
5287 }
5288 impl ::core::marker::Copy for SECPKG_EXTRA_OIDS {}
5289 impl ::core::clone::Clone for SECPKG_EXTRA_OIDS {
5290 fn clone(&self) -> Self {
5291 *self
5292 }
5293 }
5294 #[repr(C)]
5295 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`, `\"Win32_System_Threading\"`"]
5296 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Threading"))]
5297 pub struct SECPKG_FUNCTION_TABLE {
5298 pub InitializePackage: PLSA_AP_INITIALIZE_PACKAGE,
5299 pub LogonUserA: PLSA_AP_LOGON_USER,
5300 pub CallPackage: PLSA_AP_CALL_PACKAGE,
5301 pub LogonTerminated: PLSA_AP_LOGON_TERMINATED,
5302 pub CallPackageUntrusted: PLSA_AP_CALL_PACKAGE,
5303 pub CallPackagePassthrough: PLSA_AP_CALL_PACKAGE_PASSTHROUGH,
5304 pub LogonUserExA: PLSA_AP_LOGON_USER_EX,
5305 pub LogonUserEx2: PLSA_AP_LOGON_USER_EX2,
5306 pub Initialize: SpInitializeFn,
5307 pub Shutdown: SpShutdownFn,
5308 pub GetInfo: SpGetInfoFn,
5309 pub AcceptCredentials: SpAcceptCredentialsFn,
5310 pub AcquireCredentialsHandleA: SpAcquireCredentialsHandleFn,
5311 pub QueryCredentialsAttributesA: SpQueryCredentialsAttributesFn,
5312 pub FreeCredentialsHandle: SpFreeCredentialsHandleFn,
5313 pub SaveCredentials: SpSaveCredentialsFn,
5314 pub GetCredentials: SpGetCredentialsFn,
5315 pub DeleteCredentials: SpDeleteCredentialsFn,
5316 pub InitLsaModeContext: SpInitLsaModeContextFn,
5317 pub AcceptLsaModeContext: SpAcceptLsaModeContextFn,
5318 pub DeleteContext: SpDeleteContextFn,
5319 pub ApplyControlToken: SpApplyControlTokenFn,
5320 pub GetUserInfo: SpGetUserInfoFn,
5321 pub GetExtendedInformation: SpGetExtendedInformationFn,
5322 pub QueryContextAttributesA: SpQueryContextAttributesFn,
5323 pub AddCredentialsA: SpAddCredentialsFn,
5324 pub SetExtendedInformation: SpSetExtendedInformationFn,
5325 pub SetContextAttributesA: SpSetContextAttributesFn,
5326 pub SetCredentialsAttributesA: SpSetCredentialsAttributesFn,
5327 pub ChangeAccountPasswordA: SpChangeAccountPasswordFn,
5328 pub QueryMetaData: SpQueryMetaDataFn,
5329 pub ExchangeMetaData: SpExchangeMetaDataFn,
5330 pub GetCredUIContext: SpGetCredUIContextFn,
5331 pub UpdateCredentials: SpUpdateCredentialsFn,
5332 pub ValidateTargetInfo: SpValidateTargetInfoFn,
5333 pub PostLogonUser: LSA_AP_POST_LOGON_USER,
5334 pub GetRemoteCredGuardLogonBuffer: SpGetRemoteCredGuardLogonBufferFn,
5335 pub GetRemoteCredGuardSupplementalCreds: SpGetRemoteCredGuardSupplementalCredsFn,
5336 pub GetTbalSupplementalCreds: SpGetTbalSupplementalCredsFn,
5337 pub LogonUserEx3: PLSA_AP_LOGON_USER_EX3,
5338 pub PreLogonUserSurrogate: PLSA_AP_PRE_LOGON_USER_SURROGATE,
5339 pub PostLogonUserSurrogate: PLSA_AP_POST_LOGON_USER_SURROGATE,
5340 pub ExtractTargetInfo: SpExtractTargetInfoFn,
5341 }
5342 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Threading"))]
5343 impl ::core::marker::Copy for SECPKG_FUNCTION_TABLE {}
5344 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Threading"))]
5345 impl ::core::clone::Clone for SECPKG_FUNCTION_TABLE {
5346 fn clone(&self) -> Self {
5347 *self
5348 }
5349 }
5350 #[repr(C)]
5351 pub struct SECPKG_GSS_INFO {
5352 pub EncodedIdLength: u32,
5353 pub EncodedId: [u8; 4],
5354 }
5355 impl ::core::marker::Copy for SECPKG_GSS_INFO {}
5356 impl ::core::clone::Clone for SECPKG_GSS_INFO {
5357 fn clone(&self) -> Self {
5358 *self
5359 }
5360 }
5361 #[repr(C)]
5362 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
5363 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
5364 pub struct SECPKG_KERNEL_FUNCTIONS {
5365 pub AllocateHeap: PLSA_ALLOCATE_LSA_HEAP,
5366 pub FreeHeap: PLSA_FREE_LSA_HEAP,
5367 pub CreateContextList: PKSEC_CREATE_CONTEXT_LIST,
5368 pub InsertListEntry: PKSEC_INSERT_LIST_ENTRY,
5369 pub ReferenceListEntry: PKSEC_REFERENCE_LIST_ENTRY,
5370 pub DereferenceListEntry: PKSEC_DEREFERENCE_LIST_ENTRY,
5371 pub SerializeWinntAuthData: PKSEC_SERIALIZE_WINNT_AUTH_DATA,
5372 pub SerializeSchannelAuthData: PKSEC_SERIALIZE_SCHANNEL_AUTH_DATA,
5373 pub LocatePackageById: PKSEC_LOCATE_PKG_BY_ID,
5374 }
5375 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
5376 impl ::core::marker::Copy for SECPKG_KERNEL_FUNCTIONS {}
5377 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
5378 impl ::core::clone::Clone for SECPKG_KERNEL_FUNCTIONS {
5379 fn clone(&self) -> Self {
5380 *self
5381 }
5382 }
5383 #[repr(C)]
5384 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
5385 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
5386 pub struct SECPKG_KERNEL_FUNCTION_TABLE {
5387 pub Initialize: KspInitPackageFn,
5388 pub DeleteContext: KspDeleteContextFn,
5389 pub InitContext: KspInitContextFn,
5390 pub MapHandle: KspMapHandleFn,
5391 pub Sign: KspMakeSignatureFn,
5392 pub Verify: KspVerifySignatureFn,
5393 pub Seal: KspSealMessageFn,
5394 pub Unseal: KspUnsealMessageFn,
5395 pub GetToken: KspGetTokenFn,
5396 pub QueryAttributes: KspQueryAttributesFn,
5397 pub CompleteToken: KspCompleteTokenFn,
5398 pub ExportContext: SpExportSecurityContextFn,
5399 pub ImportContext: SpImportSecurityContextFn,
5400 pub SetPackagePagingMode: KspSetPagingModeFn,
5401 pub SerializeAuthData: KspSerializeAuthDataFn,
5402 }
5403 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
5404 impl ::core::marker::Copy for SECPKG_KERNEL_FUNCTION_TABLE {}
5405 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
5406 impl ::core::clone::Clone for SECPKG_KERNEL_FUNCTION_TABLE {
5407 fn clone(&self) -> Self {
5408 *self
5409 }
5410 }
5411 #[repr(C)]
5412 pub struct SECPKG_MUTUAL_AUTH_LEVEL {
5413 pub MutualAuthLevel: u32,
5414 }
5415 impl ::core::marker::Copy for SECPKG_MUTUAL_AUTH_LEVEL {}
5416 impl ::core::clone::Clone for SECPKG_MUTUAL_AUTH_LEVEL {
5417 fn clone(&self) -> Self {
5418 *self
5419 }
5420 }
5421 #[repr(C)]
5422 pub struct SECPKG_NEGO2_INFO {
5423 pub AuthScheme: [u8; 16],
5424 pub PackageFlags: u32,
5425 }
5426 impl ::core::marker::Copy for SECPKG_NEGO2_INFO {}
5427 impl ::core::clone::Clone for SECPKG_NEGO2_INFO {
5428 fn clone(&self) -> Self {
5429 *self
5430 }
5431 }
5432 #[repr(C)]
5433 #[doc = "Required features: `\"Win32_Foundation\"`"]
5434 #[cfg(feature = "Win32_Foundation")]
5435 pub struct SECPKG_NTLM_TARGETINFO {
5436 pub Flags: u32,
5437 pub MsvAvNbComputerName: ::windows_sys::core::PWSTR,
5438 pub MsvAvNbDomainName: ::windows_sys::core::PWSTR,
5439 pub MsvAvDnsComputerName: ::windows_sys::core::PWSTR,
5440 pub MsvAvDnsDomainName: ::windows_sys::core::PWSTR,
5441 pub MsvAvDnsTreeName: ::windows_sys::core::PWSTR,
5442 pub MsvAvFlags: u32,
5443 pub MsvAvTimestamp: super::super::super::Foundation::FILETIME,
5444 pub MsvAvTargetName: ::windows_sys::core::PWSTR,
5445 }
5446 #[cfg(feature = "Win32_Foundation")]
5447 impl ::core::marker::Copy for SECPKG_NTLM_TARGETINFO {}
5448 #[cfg(feature = "Win32_Foundation")]
5449 impl ::core::clone::Clone for SECPKG_NTLM_TARGETINFO {
5450 fn clone(&self) -> Self {
5451 *self
5452 }
5453 }
5454 #[repr(C)]
5455 #[doc = "Required features: `\"Win32_Foundation\"`"]
5456 #[cfg(feature = "Win32_Foundation")]
5457 pub struct SECPKG_PARAMETERS {
5458 pub Version: u32,
5459 pub MachineState: u32,
5460 pub SetupMode: u32,
5461 pub DomainSid: super::super::super::Foundation::PSID,
5462 pub DomainName: LSA_UNICODE_STRING,
5463 pub DnsDomainName: LSA_UNICODE_STRING,
5464 pub DomainGuid: ::windows_sys::core::GUID,
5465 }
5466 #[cfg(feature = "Win32_Foundation")]
5467 impl ::core::marker::Copy for SECPKG_PARAMETERS {}
5468 #[cfg(feature = "Win32_Foundation")]
5469 impl ::core::clone::Clone for SECPKG_PARAMETERS {
5470 fn clone(&self) -> Self {
5471 *self
5472 }
5473 }
5474 #[repr(C)]
5475 #[doc = "Required features: `\"Win32_Foundation\"`"]
5476 #[cfg(feature = "Win32_Foundation")]
5477 pub struct SECPKG_POST_LOGON_USER_INFO {
5478 pub Flags: u32,
5479 pub LogonId: super::super::super::Foundation::LUID,
5480 pub LinkedLogonId: super::super::super::Foundation::LUID,
5481 }
5482 #[cfg(feature = "Win32_Foundation")]
5483 impl ::core::marker::Copy for SECPKG_POST_LOGON_USER_INFO {}
5484 #[cfg(feature = "Win32_Foundation")]
5485 impl ::core::clone::Clone for SECPKG_POST_LOGON_USER_INFO {
5486 fn clone(&self) -> Self {
5487 *self
5488 }
5489 }
5490 #[repr(C)]
5491 #[doc = "Required features: `\"Win32_Foundation\"`"]
5492 #[cfg(feature = "Win32_Foundation")]
5493 pub struct SECPKG_PRIMARY_CRED {
5494 pub LogonId: super::super::super::Foundation::LUID,
5495 pub DownlevelName: LSA_UNICODE_STRING,
5496 pub DomainName: LSA_UNICODE_STRING,
5497 pub Password: LSA_UNICODE_STRING,
5498 pub OldPassword: LSA_UNICODE_STRING,
5499 pub UserSid: super::super::super::Foundation::PSID,
5500 pub Flags: u32,
5501 pub DnsDomainName: LSA_UNICODE_STRING,
5502 pub Upn: LSA_UNICODE_STRING,
5503 pub LogonServer: LSA_UNICODE_STRING,
5504 pub Spare1: LSA_UNICODE_STRING,
5505 pub Spare2: LSA_UNICODE_STRING,
5506 pub Spare3: LSA_UNICODE_STRING,
5507 pub Spare4: LSA_UNICODE_STRING,
5508 }
5509 #[cfg(feature = "Win32_Foundation")]
5510 impl ::core::marker::Copy for SECPKG_PRIMARY_CRED {}
5511 #[cfg(feature = "Win32_Foundation")]
5512 impl ::core::clone::Clone for SECPKG_PRIMARY_CRED {
5513 fn clone(&self) -> Self {
5514 *self
5515 }
5516 }
5517 #[repr(C)]
5518 #[doc = "Required features: `\"Win32_Foundation\"`"]
5519 #[cfg(feature = "Win32_Foundation")]
5520 pub struct SECPKG_PRIMARY_CRED_EX {
5521 pub LogonId: super::super::super::Foundation::LUID,
5522 pub DownlevelName: LSA_UNICODE_STRING,
5523 pub DomainName: LSA_UNICODE_STRING,
5524 pub Password: LSA_UNICODE_STRING,
5525 pub OldPassword: LSA_UNICODE_STRING,
5526 pub UserSid: super::super::super::Foundation::PSID,
5527 pub Flags: u32,
5528 pub DnsDomainName: LSA_UNICODE_STRING,
5529 pub Upn: LSA_UNICODE_STRING,
5530 pub LogonServer: LSA_UNICODE_STRING,
5531 pub Spare1: LSA_UNICODE_STRING,
5532 pub Spare2: LSA_UNICODE_STRING,
5533 pub Spare3: LSA_UNICODE_STRING,
5534 pub Spare4: LSA_UNICODE_STRING,
5535 pub PackageId: usize,
5536 pub PrevLogonId: super::super::super::Foundation::LUID,
5537 pub FlagsEx: u32,
5538 }
5539 #[cfg(feature = "Win32_Foundation")]
5540 impl ::core::marker::Copy for SECPKG_PRIMARY_CRED_EX {}
5541 #[cfg(feature = "Win32_Foundation")]
5542 impl ::core::clone::Clone for SECPKG_PRIMARY_CRED_EX {
5543 fn clone(&self) -> Self {
5544 *self
5545 }
5546 }
5547 #[repr(C)]
5548 #[doc = "Required features: `\"Win32_Foundation\"`"]
5549 #[cfg(feature = "Win32_Foundation")]
5550 pub struct SECPKG_REDIRECTED_LOGON_BUFFER {
5551 pub RedirectedLogonGuid: ::windows_sys::core::GUID,
5552 pub RedirectedLogonHandle: super::super::super::Foundation::HANDLE,
5553 pub Init: PLSA_REDIRECTED_LOGON_INIT,
5554 pub Callback: PLSA_REDIRECTED_LOGON_CALLBACK,
5555 pub CleanupCallback: PLSA_REDIRECTED_LOGON_CLEANUP_CALLBACK,
5556 pub GetLogonCreds: PLSA_REDIRECTED_LOGON_GET_LOGON_CREDS,
5557 pub GetSupplementalCreds: PLSA_REDIRECTED_LOGON_GET_SUPP_CREDS,
5558 pub GetRedirectedLogonSid: PLSA_REDIRECTED_LOGON_GET_SID,
5559 }
5560 #[cfg(feature = "Win32_Foundation")]
5561 impl ::core::marker::Copy for SECPKG_REDIRECTED_LOGON_BUFFER {}
5562 #[cfg(feature = "Win32_Foundation")]
5563 impl ::core::clone::Clone for SECPKG_REDIRECTED_LOGON_BUFFER {
5564 fn clone(&self) -> Self {
5565 *self
5566 }
5567 }
5568 #[repr(C)]
5569 pub struct SECPKG_SERIALIZED_OID {
5570 pub OidLength: u32,
5571 pub OidAttributes: u32,
5572 pub OidValue: [u8; 32],
5573 }
5574 impl ::core::marker::Copy for SECPKG_SERIALIZED_OID {}
5575 impl ::core::clone::Clone for SECPKG_SERIALIZED_OID {
5576 fn clone(&self) -> Self {
5577 *self
5578 }
5579 }
5580 #[repr(C)]
5581 pub struct SECPKG_SHORT_VECTOR {
5582 pub ShortArrayOffset: u32,
5583 pub ShortArrayCount: u16,
5584 }
5585 impl ::core::marker::Copy for SECPKG_SHORT_VECTOR {}
5586 impl ::core::clone::Clone for SECPKG_SHORT_VECTOR {
5587 fn clone(&self) -> Self {
5588 *self
5589 }
5590 }
5591 #[repr(C)]
5592 pub struct SECPKG_SUPPLEMENTAL_CRED {
5593 pub PackageName: LSA_UNICODE_STRING,
5594 pub CredentialSize: u32,
5595 pub Credentials: *mut u8,
5596 }
5597 impl ::core::marker::Copy for SECPKG_SUPPLEMENTAL_CRED {}
5598 impl ::core::clone::Clone for SECPKG_SUPPLEMENTAL_CRED {
5599 fn clone(&self) -> Self {
5600 *self
5601 }
5602 }
5603 #[repr(C)]
5604 pub struct SECPKG_SUPPLEMENTAL_CRED_ARRAY {
5605 pub CredentialCount: u32,
5606 pub Credentials: [SECPKG_SUPPLEMENTAL_CRED; 1],
5607 }
5608 impl ::core::marker::Copy for SECPKG_SUPPLEMENTAL_CRED_ARRAY {}
5609 impl ::core::clone::Clone for SECPKG_SUPPLEMENTAL_CRED_ARRAY {
5610 fn clone(&self) -> Self {
5611 *self
5612 }
5613 }
5614 #[repr(C)]
5615 pub struct SECPKG_SUPPLIED_CREDENTIAL {
5616 pub cbHeaderLength: u16,
5617 pub cbStructureLength: u16,
5618 pub UserName: SECPKG_SHORT_VECTOR,
5619 pub DomainName: SECPKG_SHORT_VECTOR,
5620 pub PackedCredentials: SECPKG_BYTE_VECTOR,
5621 pub CredFlags: u32,
5622 }
5623 impl ::core::marker::Copy for SECPKG_SUPPLIED_CREDENTIAL {}
5624 impl ::core::clone::Clone for SECPKG_SUPPLIED_CREDENTIAL {
5625 fn clone(&self) -> Self {
5626 *self
5627 }
5628 }
5629 #[repr(C)]
5630 #[doc = "Required features: `\"Win32_Foundation\"`"]
5631 #[cfg(feature = "Win32_Foundation")]
5632 pub struct SECPKG_SURROGATE_LOGON {
5633 pub Version: u32,
5634 pub SurrogateLogonID: super::super::super::Foundation::LUID,
5635 pub EntryCount: u32,
5636 pub Entries: *mut SECPKG_SURROGATE_LOGON_ENTRY,
5637 }
5638 #[cfg(feature = "Win32_Foundation")]
5639 impl ::core::marker::Copy for SECPKG_SURROGATE_LOGON {}
5640 #[cfg(feature = "Win32_Foundation")]
5641 impl ::core::clone::Clone for SECPKG_SURROGATE_LOGON {
5642 fn clone(&self) -> Self {
5643 *self
5644 }
5645 }
5646 #[repr(C)]
5647 pub struct SECPKG_SURROGATE_LOGON_ENTRY {
5648 pub Type: ::windows_sys::core::GUID,
5649 pub Data: *mut ::core::ffi::c_void,
5650 }
5651 impl ::core::marker::Copy for SECPKG_SURROGATE_LOGON_ENTRY {}
5652 impl ::core::clone::Clone for SECPKG_SURROGATE_LOGON_ENTRY {
5653 fn clone(&self) -> Self {
5654 *self
5655 }
5656 }
5657 #[repr(C)]
5658 #[doc = "Required features: `\"Win32_Foundation\"`"]
5659 #[cfg(feature = "Win32_Foundation")]
5660 pub struct SECPKG_TARGETINFO {
5661 pub DomainSid: super::super::super::Foundation::PSID,
5662 pub ComputerName: ::windows_sys::core::PCWSTR,
5663 }
5664 #[cfg(feature = "Win32_Foundation")]
5665 impl ::core::marker::Copy for SECPKG_TARGETINFO {}
5666 #[cfg(feature = "Win32_Foundation")]
5667 impl ::core::clone::Clone for SECPKG_TARGETINFO {
5668 fn clone(&self) -> Self {
5669 *self
5670 }
5671 }
5672 #[repr(C)]
5673 #[doc = "Required features: `\"Win32_Foundation\"`"]
5674 #[cfg(feature = "Win32_Foundation")]
5675 pub struct SECPKG_USER_FUNCTION_TABLE {
5676 pub InstanceInit: SpInstanceInitFn,
5677 pub InitUserModeContext: SpInitUserModeContextFn,
5678 pub MakeSignature: SpMakeSignatureFn,
5679 pub VerifySignature: SpVerifySignatureFn,
5680 pub SealMessage: SpSealMessageFn,
5681 pub UnsealMessage: SpUnsealMessageFn,
5682 pub GetContextToken: SpGetContextTokenFn,
5683 pub QueryContextAttributesA: SpQueryContextAttributesFn,
5684 pub CompleteAuthToken: SpCompleteAuthTokenFn,
5685 pub DeleteUserModeContext: SpDeleteContextFn,
5686 pub FormatCredentials: SpFormatCredentialsFn,
5687 pub MarshallSupplementalCreds: SpMarshallSupplementalCredsFn,
5688 pub ExportContext: SpExportSecurityContextFn,
5689 pub ImportContext: SpImportSecurityContextFn,
5690 pub MarshalAttributeData: SpMarshalAttributeDataFn,
5691 }
5692 #[cfg(feature = "Win32_Foundation")]
5693 impl ::core::marker::Copy for SECPKG_USER_FUNCTION_TABLE {}
5694 #[cfg(feature = "Win32_Foundation")]
5695 impl ::core::clone::Clone for SECPKG_USER_FUNCTION_TABLE {
5696 fn clone(&self) -> Self {
5697 *self
5698 }
5699 }
5700 #[repr(C)]
5701 pub struct SECPKG_WOW_CLIENT_DLL {
5702 pub WowClientDllPath: SECURITY_STRING,
5703 }
5704 impl ::core::marker::Copy for SECPKG_WOW_CLIENT_DLL {}
5705 impl ::core::clone::Clone for SECPKG_WOW_CLIENT_DLL {
5706 fn clone(&self) -> Self {
5707 *self
5708 }
5709 }
5710 #[repr(C)]
5711 #[doc = "Required features: `\"Win32_Foundation\"`"]
5712 #[cfg(feature = "Win32_Foundation")]
5713 pub struct SECURITY_LOGON_SESSION_DATA {
5714 pub Size: u32,
5715 pub LogonId: super::super::super::Foundation::LUID,
5716 pub UserName: LSA_UNICODE_STRING,
5717 pub LogonDomain: LSA_UNICODE_STRING,
5718 pub AuthenticationPackage: LSA_UNICODE_STRING,
5719 pub LogonType: u32,
5720 pub Session: u32,
5721 pub Sid: super::super::super::Foundation::PSID,
5722 pub LogonTime: i64,
5723 pub LogonServer: LSA_UNICODE_STRING,
5724 pub DnsDomainName: LSA_UNICODE_STRING,
5725 pub Upn: LSA_UNICODE_STRING,
5726 pub UserFlags: u32,
5727 pub LastLogonInfo: LSA_LAST_INTER_LOGON_INFO,
5728 pub LogonScript: LSA_UNICODE_STRING,
5729 pub ProfilePath: LSA_UNICODE_STRING,
5730 pub HomeDirectory: LSA_UNICODE_STRING,
5731 pub HomeDirectoryDrive: LSA_UNICODE_STRING,
5732 pub LogoffTime: i64,
5733 pub KickOffTime: i64,
5734 pub PasswordLastSet: i64,
5735 pub PasswordCanChange: i64,
5736 pub PasswordMustChange: i64,
5737 }
5738 #[cfg(feature = "Win32_Foundation")]
5739 impl ::core::marker::Copy for SECURITY_LOGON_SESSION_DATA {}
5740 #[cfg(feature = "Win32_Foundation")]
5741 impl ::core::clone::Clone for SECURITY_LOGON_SESSION_DATA {
5742 fn clone(&self) -> Self {
5743 *self
5744 }
5745 }
5746 #[repr(C)]
5747 pub struct SECURITY_PACKAGE_OPTIONS {
5748 pub Size: u32,
5749 pub Type: SECURITY_PACKAGE_OPTIONS_TYPE,
5750 pub Flags: u32,
5751 pub SignatureSize: u32,
5752 pub Signature: *mut ::core::ffi::c_void,
5753 }
5754 impl ::core::marker::Copy for SECURITY_PACKAGE_OPTIONS {}
5755 impl ::core::clone::Clone for SECURITY_PACKAGE_OPTIONS {
5756 fn clone(&self) -> Self {
5757 *self
5758 }
5759 }
5760 #[repr(C)]
5761 pub struct SECURITY_STRING {
5762 pub Length: u16,
5763 pub MaximumLength: u16,
5764 pub Buffer: *mut u16,
5765 }
5766 impl ::core::marker::Copy for SECURITY_STRING {}
5767 impl ::core::clone::Clone for SECURITY_STRING {
5768 fn clone(&self) -> Self {
5769 *self
5770 }
5771 }
5772 #[repr(C)]
5773 #[doc = "Required features: `\"Win32_Foundation\"`"]
5774 #[cfg(feature = "Win32_Foundation")]
5775 pub struct SECURITY_USER_DATA {
5776 pub UserName: SECURITY_STRING,
5777 pub LogonDomainName: SECURITY_STRING,
5778 pub LogonServer: SECURITY_STRING,
5779 pub pSid: super::super::super::Foundation::PSID,
5780 }
5781 #[cfg(feature = "Win32_Foundation")]
5782 impl ::core::marker::Copy for SECURITY_USER_DATA {}
5783 #[cfg(feature = "Win32_Foundation")]
5784 impl ::core::clone::Clone for SECURITY_USER_DATA {
5785 fn clone(&self) -> Self {
5786 *self
5787 }
5788 }
5789 #[repr(C)]
5790 pub struct SEC_APPLICATION_PROTOCOLS {
5791 pub ProtocolListsSize: u32,
5792 pub ProtocolLists: [SEC_APPLICATION_PROTOCOL_LIST; 1],
5793 }
5794 impl ::core::marker::Copy for SEC_APPLICATION_PROTOCOLS {}
5795 impl ::core::clone::Clone for SEC_APPLICATION_PROTOCOLS {
5796 fn clone(&self) -> Self {
5797 *self
5798 }
5799 }
5800 #[repr(C)]
5801 pub struct SEC_APPLICATION_PROTOCOL_LIST {
5802 pub ProtoNegoExt: SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT,
5803 pub ProtocolListSize: u16,
5804 pub ProtocolList: [u8; 1],
5805 }
5806 impl ::core::marker::Copy for SEC_APPLICATION_PROTOCOL_LIST {}
5807 impl ::core::clone::Clone for SEC_APPLICATION_PROTOCOL_LIST {
5808 fn clone(&self) -> Self {
5809 *self
5810 }
5811 }
5812 #[repr(C)]
5813 pub struct SEC_CERTIFICATE_REQUEST_CONTEXT {
5814 pub cbCertificateRequestContext: u8,
5815 pub rgCertificateRequestContext: [u8; 1],
5816 }
5817 impl ::core::marker::Copy for SEC_CERTIFICATE_REQUEST_CONTEXT {}
5818 impl ::core::clone::Clone for SEC_CERTIFICATE_REQUEST_CONTEXT {
5819 fn clone(&self) -> Self {
5820 *self
5821 }
5822 }
5823 #[repr(C)]
5824 pub struct SEC_CHANNEL_BINDINGS {
5825 pub dwInitiatorAddrType: u32,
5826 pub cbInitiatorLength: u32,
5827 pub dwInitiatorOffset: u32,
5828 pub dwAcceptorAddrType: u32,
5829 pub cbAcceptorLength: u32,
5830 pub dwAcceptorOffset: u32,
5831 pub cbApplicationDataLength: u32,
5832 pub dwApplicationDataOffset: u32,
5833 }
5834 impl ::core::marker::Copy for SEC_CHANNEL_BINDINGS {}
5835 impl ::core::clone::Clone for SEC_CHANNEL_BINDINGS {
5836 fn clone(&self) -> Self {
5837 *self
5838 }
5839 }
5840 #[repr(C)]
5841 pub struct SEC_DTLS_MTU {
5842 pub PathMTU: u16,
5843 }
5844 impl ::core::marker::Copy for SEC_DTLS_MTU {}
5845 impl ::core::clone::Clone for SEC_DTLS_MTU {
5846 fn clone(&self) -> Self {
5847 *self
5848 }
5849 }
5850 #[repr(C)]
5851 pub struct SEC_FLAGS {
5852 pub Flags: u64,
5853 }
5854 impl ::core::marker::Copy for SEC_FLAGS {}
5855 impl ::core::clone::Clone for SEC_FLAGS {
5856 fn clone(&self) -> Self {
5857 *self
5858 }
5859 }
5860 #[repr(C)]
5861 pub struct SEC_NEGOTIATION_INFO {
5862 pub Size: u32,
5863 pub NameLength: u32,
5864 pub Name: *mut u16,
5865 pub Reserved: *mut ::core::ffi::c_void,
5866 }
5867 impl ::core::marker::Copy for SEC_NEGOTIATION_INFO {}
5868 impl ::core::clone::Clone for SEC_NEGOTIATION_INFO {
5869 fn clone(&self) -> Self {
5870 *self
5871 }
5872 }
5873 #[repr(C)]
5874 pub struct SEC_PRESHAREDKEY {
5875 pub KeySize: u16,
5876 pub Key: [u8; 1],
5877 }
5878 impl ::core::marker::Copy for SEC_PRESHAREDKEY {}
5879 impl ::core::clone::Clone for SEC_PRESHAREDKEY {
5880 fn clone(&self) -> Self {
5881 *self
5882 }
5883 }
5884 #[repr(C)]
5885 pub struct SEC_PRESHAREDKEY_IDENTITY {
5886 pub KeyIdentitySize: u16,
5887 pub KeyIdentity: [u8; 1],
5888 }
5889 impl ::core::marker::Copy for SEC_PRESHAREDKEY_IDENTITY {}
5890 impl ::core::clone::Clone for SEC_PRESHAREDKEY_IDENTITY {
5891 fn clone(&self) -> Self {
5892 *self
5893 }
5894 }
5895 #[repr(C)]
5896 pub struct SEC_SRTP_MASTER_KEY_IDENTIFIER {
5897 pub MasterKeyIdentifierSize: u8,
5898 pub MasterKeyIdentifier: [u8; 1],
5899 }
5900 impl ::core::marker::Copy for SEC_SRTP_MASTER_KEY_IDENTIFIER {}
5901 impl ::core::clone::Clone for SEC_SRTP_MASTER_KEY_IDENTIFIER {
5902 fn clone(&self) -> Self {
5903 *self
5904 }
5905 }
5906 #[repr(C)]
5907 pub struct SEC_SRTP_PROTECTION_PROFILES {
5908 pub ProfilesSize: u16,
5909 pub ProfilesList: [u16; 1],
5910 }
5911 impl ::core::marker::Copy for SEC_SRTP_PROTECTION_PROFILES {}
5912 impl ::core::clone::Clone for SEC_SRTP_PROTECTION_PROFILES {
5913 fn clone(&self) -> Self {
5914 *self
5915 }
5916 }
5917 #[repr(C)]
5918 pub struct SEC_TOKEN_BINDING {
5919 pub MajorVersion: u8,
5920 pub MinorVersion: u8,
5921 pub KeyParametersSize: u16,
5922 pub KeyParameters: [u8; 1],
5923 }
5924 impl ::core::marker::Copy for SEC_TOKEN_BINDING {}
5925 impl ::core::clone::Clone for SEC_TOKEN_BINDING {
5926 fn clone(&self) -> Self {
5927 *self
5928 }
5929 }
5930 #[repr(C)]
5931 pub struct SEC_TRAFFIC_SECRETS {
5932 pub SymmetricAlgId: [u16; 64],
5933 pub ChainingMode: [u16; 64],
5934 pub HashAlgId: [u16; 64],
5935 pub KeySize: u16,
5936 pub IvSize: u16,
5937 pub MsgSequenceStart: u16,
5938 pub MsgSequenceEnd: u16,
5939 pub TrafficSecretType: SEC_TRAFFIC_SECRET_TYPE,
5940 pub TrafficSecretSize: u16,
5941 pub TrafficSecret: [u8; 1],
5942 }
5943 impl ::core::marker::Copy for SEC_TRAFFIC_SECRETS {}
5944 impl ::core::clone::Clone for SEC_TRAFFIC_SECRETS {
5945 fn clone(&self) -> Self {
5946 *self
5947 }
5948 }
5949 #[repr(C)]
5950 pub struct SEC_WINNT_AUTH_IDENTITY32 {
5951 pub User: u32,
5952 pub UserLength: u32,
5953 pub Domain: u32,
5954 pub DomainLength: u32,
5955 pub Password: u32,
5956 pub PasswordLength: u32,
5957 pub Flags: u32,
5958 }
5959 impl ::core::marker::Copy for SEC_WINNT_AUTH_IDENTITY32 {}
5960 impl ::core::clone::Clone for SEC_WINNT_AUTH_IDENTITY32 {
5961 fn clone(&self) -> Self {
5962 *self
5963 }
5964 }
5965 #[repr(C)]
5966 pub struct SEC_WINNT_AUTH_IDENTITY_EX2 {
5967 pub Version: u32,
5968 pub cbHeaderLength: u16,
5969 pub cbStructureLength: u32,
5970 pub UserOffset: u32,
5971 pub UserLength: u16,
5972 pub DomainOffset: u32,
5973 pub DomainLength: u16,
5974 pub PackedCredentialsOffset: u32,
5975 pub PackedCredentialsLength: u16,
5976 pub Flags: u32,
5977 pub PackageListOffset: u32,
5978 pub PackageListLength: u16,
5979 }
5980 impl ::core::marker::Copy for SEC_WINNT_AUTH_IDENTITY_EX2 {}
5981 impl ::core::clone::Clone for SEC_WINNT_AUTH_IDENTITY_EX2 {
5982 fn clone(&self) -> Self {
5983 *self
5984 }
5985 }
5986 #[repr(C)]
5987 pub struct SEC_WINNT_AUTH_IDENTITY_EX32 {
5988 pub Version: u32,
5989 pub Length: u32,
5990 pub User: u32,
5991 pub UserLength: u32,
5992 pub Domain: u32,
5993 pub DomainLength: u32,
5994 pub Password: u32,
5995 pub PasswordLength: u32,
5996 pub Flags: u32,
5997 pub PackageList: u32,
5998 pub PackageListLength: u32,
5999 }
6000 impl ::core::marker::Copy for SEC_WINNT_AUTH_IDENTITY_EX32 {}
6001 impl ::core::clone::Clone for SEC_WINNT_AUTH_IDENTITY_EX32 {
6002 fn clone(&self) -> Self {
6003 *self
6004 }
6005 }
6006 #[repr(C)]
6007 pub struct SEC_WINNT_AUTH_IDENTITY_EXA {
6008 pub Version: u32,
6009 pub Length: u32,
6010 pub User: *mut u8,
6011 pub UserLength: u32,
6012 pub Domain: *mut u8,
6013 pub DomainLength: u32,
6014 pub Password: *mut u8,
6015 pub PasswordLength: u32,
6016 pub Flags: u32,
6017 pub PackageList: *mut u8,
6018 pub PackageListLength: u32,
6019 }
6020 impl ::core::marker::Copy for SEC_WINNT_AUTH_IDENTITY_EXA {}
6021 impl ::core::clone::Clone for SEC_WINNT_AUTH_IDENTITY_EXA {
6022 fn clone(&self) -> Self {
6023 *self
6024 }
6025 }
6026 #[repr(C)]
6027 pub struct SEC_WINNT_AUTH_IDENTITY_EXW {
6028 pub Version: u32,
6029 pub Length: u32,
6030 pub User: *mut u16,
6031 pub UserLength: u32,
6032 pub Domain: *mut u16,
6033 pub DomainLength: u32,
6034 pub Password: *mut u16,
6035 pub PasswordLength: u32,
6036 pub Flags: u32,
6037 pub PackageList: *mut u16,
6038 pub PackageListLength: u32,
6039 }
6040 impl ::core::marker::Copy for SEC_WINNT_AUTH_IDENTITY_EXW {}
6041 impl ::core::clone::Clone for SEC_WINNT_AUTH_IDENTITY_EXW {
6042 fn clone(&self) -> Self {
6043 *self
6044 }
6045 }
6046 #[repr(C)]
6047 #[doc = "Required features: `\"Win32_System_Rpc\"`"]
6048 #[cfg(feature = "Win32_System_Rpc")]
6049 pub union SEC_WINNT_AUTH_IDENTITY_INFO {
6050 pub AuthIdExw: SEC_WINNT_AUTH_IDENTITY_EXW,
6051 pub AuthIdExa: SEC_WINNT_AUTH_IDENTITY_EXA,
6052 pub AuthId_a: super::super::super::System::Rpc::SEC_WINNT_AUTH_IDENTITY_A,
6053 pub AuthId_w: super::super::super::System::Rpc::SEC_WINNT_AUTH_IDENTITY_W,
6054 pub AuthIdEx2: SEC_WINNT_AUTH_IDENTITY_EX2,
6055 }
6056 #[cfg(feature = "Win32_System_Rpc")]
6057 impl ::core::marker::Copy for SEC_WINNT_AUTH_IDENTITY_INFO {}
6058 #[cfg(feature = "Win32_System_Rpc")]
6059 impl ::core::clone::Clone for SEC_WINNT_AUTH_IDENTITY_INFO {
6060 fn clone(&self) -> Self {
6061 *self
6062 }
6063 }
6064 #[repr(C)]
6065 pub struct SEND_GENERIC_TLS_EXTENSION {
6066 pub ExtensionType: u16,
6067 pub HandshakeType: u16,
6068 pub Flags: u32,
6069 pub BufferSize: u16,
6070 pub Buffer: [u8; 1],
6071 }
6072 impl ::core::marker::Copy for SEND_GENERIC_TLS_EXTENSION {}
6073 impl ::core::clone::Clone for SEND_GENERIC_TLS_EXTENSION {
6074 fn clone(&self) -> Self {
6075 *self
6076 }
6077 }
6078 #[repr(C)]
6079 pub struct SE_ADT_ACCESS_REASON {
6080 pub AccessMask: u32,
6081 pub AccessReasons: [u32; 32],
6082 pub ObjectTypeIndex: u32,
6083 pub AccessGranted: u32,
6084 pub SecurityDescriptor: super::super::PSECURITY_DESCRIPTOR,
6085 }
6086 impl ::core::marker::Copy for SE_ADT_ACCESS_REASON {}
6087 impl ::core::clone::Clone for SE_ADT_ACCESS_REASON {
6088 fn clone(&self) -> Self {
6089 *self
6090 }
6091 }
6092 #[repr(C)]
6093 pub struct SE_ADT_CLAIMS {
6094 pub Length: u32,
6095 pub Claims: *mut ::core::ffi::c_void,
6096 }
6097 impl ::core::marker::Copy for SE_ADT_CLAIMS {}
6098 impl ::core::clone::Clone for SE_ADT_CLAIMS {
6099 fn clone(&self) -> Self {
6100 *self
6101 }
6102 }
6103 #[repr(C)]
6104 pub struct SE_ADT_OBJECT_TYPE {
6105 pub ObjectType: ::windows_sys::core::GUID,
6106 pub Flags: u16,
6107 pub Level: u16,
6108 pub AccessMask: u32,
6109 }
6110 impl ::core::marker::Copy for SE_ADT_OBJECT_TYPE {}
6111 impl ::core::clone::Clone for SE_ADT_OBJECT_TYPE {
6112 fn clone(&self) -> Self {
6113 *self
6114 }
6115 }
6116 #[repr(C)]
6117 pub struct SE_ADT_PARAMETER_ARRAY {
6118 pub CategoryId: u32,
6119 pub AuditId: u32,
6120 pub ParameterCount: u32,
6121 pub Length: u32,
6122 pub FlatSubCategoryId: u16,
6123 pub Type: u16,
6124 pub Flags: u32,
6125 pub Parameters: [SE_ADT_PARAMETER_ARRAY_ENTRY; 32],
6126 }
6127 impl ::core::marker::Copy for SE_ADT_PARAMETER_ARRAY {}
6128 impl ::core::clone::Clone for SE_ADT_PARAMETER_ARRAY {
6129 fn clone(&self) -> Self {
6130 *self
6131 }
6132 }
6133 #[repr(C)]
6134 pub struct SE_ADT_PARAMETER_ARRAY_ENTRY {
6135 pub Type: SE_ADT_PARAMETER_TYPE,
6136 pub Length: u32,
6137 pub Data: [usize; 2],
6138 pub Address: *mut ::core::ffi::c_void,
6139 }
6140 impl ::core::marker::Copy for SE_ADT_PARAMETER_ARRAY_ENTRY {}
6141 impl ::core::clone::Clone for SE_ADT_PARAMETER_ARRAY_ENTRY {
6142 fn clone(&self) -> Self {
6143 *self
6144 }
6145 }
6146 #[repr(C)]
6147 pub struct SE_ADT_PARAMETER_ARRAY_EX {
6148 pub CategoryId: u32,
6149 pub AuditId: u32,
6150 pub Version: u32,
6151 pub ParameterCount: u32,
6152 pub Length: u32,
6153 pub FlatSubCategoryId: u16,
6154 pub Type: u16,
6155 pub Flags: u32,
6156 pub Parameters: [SE_ADT_PARAMETER_ARRAY_ENTRY; 32],
6157 }
6158 impl ::core::marker::Copy for SE_ADT_PARAMETER_ARRAY_EX {}
6159 impl ::core::clone::Clone for SE_ADT_PARAMETER_ARRAY_EX {
6160 fn clone(&self) -> Self {
6161 *self
6162 }
6163 }
6164 #[repr(C)]
6165 pub struct SL_ACTIVATION_INFO_HEADER {
6166 pub cbSize: u32,
6167 pub r#type: SL_ACTIVATION_TYPE,
6168 }
6169 impl ::core::marker::Copy for SL_ACTIVATION_INFO_HEADER {}
6170 impl ::core::clone::Clone for SL_ACTIVATION_INFO_HEADER {
6171 fn clone(&self) -> Self {
6172 *self
6173 }
6174 }
6175 #[repr(C)]
6176 pub struct SL_AD_ACTIVATION_INFO {
6177 pub header: SL_ACTIVATION_INFO_HEADER,
6178 pub pwszProductKey: ::windows_sys::core::PCWSTR,
6179 pub pwszActivationObjectName: ::windows_sys::core::PCWSTR,
6180 }
6181 impl ::core::marker::Copy for SL_AD_ACTIVATION_INFO {}
6182 impl ::core::clone::Clone for SL_AD_ACTIVATION_INFO {
6183 fn clone(&self) -> Self {
6184 *self
6185 }
6186 }
6187 #[repr(C)]
6188 pub struct SL_LICENSING_STATUS {
6189 pub SkuId: ::windows_sys::core::GUID,
6190 pub eStatus: SLLICENSINGSTATUS,
6191 pub dwGraceTime: u32,
6192 pub dwTotalGraceDays: u32,
6193 pub hrReason: ::windows_sys::core::HRESULT,
6194 pub qwValidityExpiration: u64,
6195 }
6196 impl ::core::marker::Copy for SL_LICENSING_STATUS {}
6197 impl ::core::clone::Clone for SL_LICENSING_STATUS {
6198 fn clone(&self) -> Self {
6199 *self
6200 }
6201 }
6202 #[repr(C)]
6203 pub struct SL_NONGENUINE_UI_OPTIONS {
6204 pub cbSize: u32,
6205 pub pComponentId: *const ::windows_sys::core::GUID,
6206 pub hResultUI: ::windows_sys::core::HRESULT,
6207 }
6208 impl ::core::marker::Copy for SL_NONGENUINE_UI_OPTIONS {}
6209 impl ::core::clone::Clone for SL_NONGENUINE_UI_OPTIONS {
6210 fn clone(&self) -> Self {
6211 *self
6212 }
6213 }
6214 #[repr(C)]
6215 pub struct SL_SYSTEM_POLICY_INFORMATION {
6216 pub Reserved1: [*mut ::core::ffi::c_void; 2],
6217 pub Reserved2: [u32; 3],
6218 }
6219 impl ::core::marker::Copy for SL_SYSTEM_POLICY_INFORMATION {}
6220 impl ::core::clone::Clone for SL_SYSTEM_POLICY_INFORMATION {
6221 fn clone(&self) -> Self {
6222 *self
6223 }
6224 }
6225 #[repr(C)]
6226 pub struct SR_SECURITY_DESCRIPTOR {
6227 pub Length: u32,
6228 pub SecurityDescriptor: *mut u8,
6229 }
6230 impl ::core::marker::Copy for SR_SECURITY_DESCRIPTOR {}
6231 impl ::core::clone::Clone for SR_SECURITY_DESCRIPTOR {
6232 fn clone(&self) -> Self {
6233 *self
6234 }
6235 }
6236 #[repr(C)]
6237 pub struct SSL_CREDENTIAL_CERTIFICATE {
6238 pub cbPrivateKey: u32,
6239 pub pPrivateKey: *mut u8,
6240 pub cbCertificate: u32,
6241 pub pCertificate: *mut u8,
6242 pub pszPassword: ::windows_sys::core::PSTR,
6243 }
6244 impl ::core::marker::Copy for SSL_CREDENTIAL_CERTIFICATE {}
6245 impl ::core::clone::Clone for SSL_CREDENTIAL_CERTIFICATE {
6246 fn clone(&self) -> Self {
6247 *self
6248 }
6249 }
6250 #[repr(C)]
6251 pub struct SUBSCRIBE_GENERIC_TLS_EXTENSION {
6252 pub Flags: u32,
6253 pub SubscriptionsCount: u32,
6254 pub Subscriptions: [TLS_EXTENSION_SUBSCRIPTION; 1],
6255 }
6256 impl ::core::marker::Copy for SUBSCRIBE_GENERIC_TLS_EXTENSION {}
6257 impl ::core::clone::Clone for SUBSCRIBE_GENERIC_TLS_EXTENSION {
6258 fn clone(&self) -> Self {
6259 *self
6260 }
6261 }
6262 #[repr(C)]
6263 pub struct SecBuffer {
6264 pub cbBuffer: u32,
6265 pub BufferType: u32,
6266 pub pvBuffer: *mut ::core::ffi::c_void,
6267 }
6268 impl ::core::marker::Copy for SecBuffer {}
6269 impl ::core::clone::Clone for SecBuffer {
6270 fn clone(&self) -> Self {
6271 *self
6272 }
6273 }
6274 #[repr(C)]
6275 pub struct SecBufferDesc {
6276 pub ulVersion: u32,
6277 pub cBuffers: u32,
6278 pub pBuffers: *mut SecBuffer,
6279 }
6280 impl ::core::marker::Copy for SecBufferDesc {}
6281 impl ::core::clone::Clone for SecBufferDesc {
6282 fn clone(&self) -> Self {
6283 *self
6284 }
6285 }
6286 #[repr(C)]
6287 pub struct SecPkgContext_AccessToken {
6288 pub AccessToken: *mut ::core::ffi::c_void,
6289 }
6290 impl ::core::marker::Copy for SecPkgContext_AccessToken {}
6291 impl ::core::clone::Clone for SecPkgContext_AccessToken {
6292 fn clone(&self) -> Self {
6293 *self
6294 }
6295 }
6296 #[repr(C)]
6297 pub struct SecPkgContext_ApplicationProtocol {
6298 pub ProtoNegoStatus: SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS,
6299 pub ProtoNegoExt: SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT,
6300 pub ProtocolIdSize: u8,
6301 pub ProtocolId: [u8; 255],
6302 }
6303 impl ::core::marker::Copy for SecPkgContext_ApplicationProtocol {}
6304 impl ::core::clone::Clone for SecPkgContext_ApplicationProtocol {
6305 fn clone(&self) -> Self {
6306 *self
6307 }
6308 }
6309 #[repr(C)]
6310 pub struct SecPkgContext_AuthorityA {
6311 pub sAuthorityName: *mut i8,
6312 }
6313 impl ::core::marker::Copy for SecPkgContext_AuthorityA {}
6314 impl ::core::clone::Clone for SecPkgContext_AuthorityA {
6315 fn clone(&self) -> Self {
6316 *self
6317 }
6318 }
6319 #[repr(C)]
6320 pub struct SecPkgContext_AuthorityW {
6321 pub sAuthorityName: *mut u16,
6322 }
6323 impl ::core::marker::Copy for SecPkgContext_AuthorityW {}
6324 impl ::core::clone::Clone for SecPkgContext_AuthorityW {
6325 fn clone(&self) -> Self {
6326 *self
6327 }
6328 }
6329 #[repr(C)]
6330 pub struct SecPkgContext_AuthzID {
6331 pub AuthzIDLength: u32,
6332 pub AuthzID: ::windows_sys::core::PSTR,
6333 }
6334 impl ::core::marker::Copy for SecPkgContext_AuthzID {}
6335 impl ::core::clone::Clone for SecPkgContext_AuthzID {
6336 fn clone(&self) -> Self {
6337 *self
6338 }
6339 }
6340 #[repr(C)]
6341 pub struct SecPkgContext_Bindings {
6342 pub BindingsLength: u32,
6343 pub Bindings: *mut SEC_CHANNEL_BINDINGS,
6344 }
6345 impl ::core::marker::Copy for SecPkgContext_Bindings {}
6346 impl ::core::clone::Clone for SecPkgContext_Bindings {
6347 fn clone(&self) -> Self {
6348 *self
6349 }
6350 }
6351 #[repr(C)]
6352 pub struct SecPkgContext_CertInfo {
6353 pub dwVersion: u32,
6354 pub cbSubjectName: u32,
6355 pub pwszSubjectName: ::windows_sys::core::PWSTR,
6356 pub cbIssuerName: u32,
6357 pub pwszIssuerName: ::windows_sys::core::PWSTR,
6358 pub dwKeySize: u32,
6359 }
6360 impl ::core::marker::Copy for SecPkgContext_CertInfo {}
6361 impl ::core::clone::Clone for SecPkgContext_CertInfo {
6362 fn clone(&self) -> Self {
6363 *self
6364 }
6365 }
6366 #[repr(C)]
6367 pub struct SecPkgContext_CertificateValidationResult {
6368 pub dwChainErrorStatus: u32,
6369 pub hrVerifyChainStatus: ::windows_sys::core::HRESULT,
6370 }
6371 impl ::core::marker::Copy for SecPkgContext_CertificateValidationResult {}
6372 impl ::core::clone::Clone for SecPkgContext_CertificateValidationResult {
6373 fn clone(&self) -> Self {
6374 *self
6375 }
6376 }
6377 #[repr(C)]
6378 pub struct SecPkgContext_Certificates {
6379 pub cCertificates: u32,
6380 pub cbCertificateChain: u32,
6381 pub pbCertificateChain: *mut u8,
6382 }
6383 impl ::core::marker::Copy for SecPkgContext_Certificates {}
6384 impl ::core::clone::Clone for SecPkgContext_Certificates {
6385 fn clone(&self) -> Self {
6386 *self
6387 }
6388 }
6389 #[repr(C)]
6390 pub struct SecPkgContext_CipherInfo {
6391 pub dwVersion: u32,
6392 pub dwProtocol: u32,
6393 pub dwCipherSuite: u32,
6394 pub dwBaseCipherSuite: u32,
6395 pub szCipherSuite: [u16; 64],
6396 pub szCipher: [u16; 64],
6397 pub dwCipherLen: u32,
6398 pub dwCipherBlockLen: u32,
6399 pub szHash: [u16; 64],
6400 pub dwHashLen: u32,
6401 pub szExchange: [u16; 64],
6402 pub dwMinExchangeLen: u32,
6403 pub dwMaxExchangeLen: u32,
6404 pub szCertificate: [u16; 64],
6405 pub dwKeyType: u32,
6406 }
6407 impl ::core::marker::Copy for SecPkgContext_CipherInfo {}
6408 impl ::core::clone::Clone for SecPkgContext_CipherInfo {
6409 fn clone(&self) -> Self {
6410 *self
6411 }
6412 }
6413 #[repr(C)]
6414 pub struct SecPkgContext_ClientCertPolicyResult {
6415 pub dwPolicyResult: ::windows_sys::core::HRESULT,
6416 pub guidPolicyId: ::windows_sys::core::GUID,
6417 }
6418 impl ::core::marker::Copy for SecPkgContext_ClientCertPolicyResult {}
6419 impl ::core::clone::Clone for SecPkgContext_ClientCertPolicyResult {
6420 fn clone(&self) -> Self {
6421 *self
6422 }
6423 }
6424 #[repr(C)]
6425 pub struct SecPkgContext_ClientSpecifiedTarget {
6426 pub sTargetName: *mut u16,
6427 }
6428 impl ::core::marker::Copy for SecPkgContext_ClientSpecifiedTarget {}
6429 impl ::core::clone::Clone for SecPkgContext_ClientSpecifiedTarget {
6430 fn clone(&self) -> Self {
6431 *self
6432 }
6433 }
6434 #[repr(C)]
6435 #[doc = "Required features: `\"Win32_Security_Cryptography\"`"]
6436 #[cfg(feature = "Win32_Security_Cryptography")]
6437 pub struct SecPkgContext_ConnectionInfo {
6438 pub dwProtocol: u32,
6439 pub aiCipher: super::super::Cryptography::ALG_ID,
6440 pub dwCipherStrength: u32,
6441 pub aiHash: super::super::Cryptography::ALG_ID,
6442 pub dwHashStrength: u32,
6443 pub aiExch: super::super::Cryptography::ALG_ID,
6444 pub dwExchStrength: u32,
6445 }
6446 #[cfg(feature = "Win32_Security_Cryptography")]
6447 impl ::core::marker::Copy for SecPkgContext_ConnectionInfo {}
6448 #[cfg(feature = "Win32_Security_Cryptography")]
6449 impl ::core::clone::Clone for SecPkgContext_ConnectionInfo {
6450 fn clone(&self) -> Self {
6451 *self
6452 }
6453 }
6454 #[repr(C)]
6455 pub struct SecPkgContext_ConnectionInfoEx {
6456 pub dwVersion: u32,
6457 pub dwProtocol: u32,
6458 pub szCipher: [u16; 64],
6459 pub dwCipherStrength: u32,
6460 pub szHash: [u16; 64],
6461 pub dwHashStrength: u32,
6462 pub szExchange: [u16; 64],
6463 pub dwExchStrength: u32,
6464 }
6465 impl ::core::marker::Copy for SecPkgContext_ConnectionInfoEx {}
6466 impl ::core::clone::Clone for SecPkgContext_ConnectionInfoEx {
6467 fn clone(&self) -> Self {
6468 *self
6469 }
6470 }
6471 #[repr(C)]
6472 pub struct SecPkgContext_CredInfo {
6473 pub CredClass: SECPKG_CRED_CLASS,
6474 pub IsPromptingNeeded: u32,
6475 }
6476 impl ::core::marker::Copy for SecPkgContext_CredInfo {}
6477 impl ::core::clone::Clone for SecPkgContext_CredInfo {
6478 fn clone(&self) -> Self {
6479 *self
6480 }
6481 }
6482 #[repr(C)]
6483 pub struct SecPkgContext_CredentialNameA {
6484 pub CredentialType: u32,
6485 pub sCredentialName: *mut i8,
6486 }
6487 impl ::core::marker::Copy for SecPkgContext_CredentialNameA {}
6488 impl ::core::clone::Clone for SecPkgContext_CredentialNameA {
6489 fn clone(&self) -> Self {
6490 *self
6491 }
6492 }
6493 #[repr(C)]
6494 pub struct SecPkgContext_CredentialNameW {
6495 pub CredentialType: u32,
6496 pub sCredentialName: *mut u16,
6497 }
6498 impl ::core::marker::Copy for SecPkgContext_CredentialNameW {}
6499 impl ::core::clone::Clone for SecPkgContext_CredentialNameW {
6500 fn clone(&self) -> Self {
6501 *self
6502 }
6503 }
6504 #[repr(C)]
6505 pub struct SecPkgContext_DceInfo {
6506 pub AuthzSvc: u32,
6507 pub pPac: *mut ::core::ffi::c_void,
6508 }
6509 impl ::core::marker::Copy for SecPkgContext_DceInfo {}
6510 impl ::core::clone::Clone for SecPkgContext_DceInfo {
6511 fn clone(&self) -> Self {
6512 *self
6513 }
6514 }
6515 #[repr(C)]
6516 pub struct SecPkgContext_EapKeyBlock {
6517 pub rgbKeys: [u8; 128],
6518 pub rgbIVs: [u8; 64],
6519 }
6520 impl ::core::marker::Copy for SecPkgContext_EapKeyBlock {}
6521 impl ::core::clone::Clone for SecPkgContext_EapKeyBlock {
6522 fn clone(&self) -> Self {
6523 *self
6524 }
6525 }
6526 #[repr(C)]
6527 pub struct SecPkgContext_EapPrfInfo {
6528 pub dwVersion: u32,
6529 pub cbPrfData: u32,
6530 pub pbPrfData: *mut u8,
6531 }
6532 impl ::core::marker::Copy for SecPkgContext_EapPrfInfo {}
6533 impl ::core::clone::Clone for SecPkgContext_EapPrfInfo {
6534 fn clone(&self) -> Self {
6535 *self
6536 }
6537 }
6538 #[repr(C)]
6539 pub struct SecPkgContext_EarlyStart {
6540 pub dwEarlyStartFlags: u32,
6541 }
6542 impl ::core::marker::Copy for SecPkgContext_EarlyStart {}
6543 impl ::core::clone::Clone for SecPkgContext_EarlyStart {
6544 fn clone(&self) -> Self {
6545 *self
6546 }
6547 }
6548 #[repr(C)]
6549 pub struct SecPkgContext_Flags {
6550 pub Flags: u32,
6551 }
6552 impl ::core::marker::Copy for SecPkgContext_Flags {}
6553 impl ::core::clone::Clone for SecPkgContext_Flags {
6554 fn clone(&self) -> Self {
6555 *self
6556 }
6557 }
6558 #[repr(C)]
6559 #[doc = "Required features: `\"Win32_Security_Cryptography\"`"]
6560 #[cfg(feature = "Win32_Security_Cryptography")]
6561 pub struct SecPkgContext_IssuerListInfoEx {
6562 pub aIssuers: *mut super::super::Cryptography::CRYPT_INTEGER_BLOB,
6563 pub cIssuers: u32,
6564 }
6565 #[cfg(feature = "Win32_Security_Cryptography")]
6566 impl ::core::marker::Copy for SecPkgContext_IssuerListInfoEx {}
6567 #[cfg(feature = "Win32_Security_Cryptography")]
6568 impl ::core::clone::Clone for SecPkgContext_IssuerListInfoEx {
6569 fn clone(&self) -> Self {
6570 *self
6571 }
6572 }
6573 #[repr(C)]
6574 pub struct SecPkgContext_KeyInfoA {
6575 pub sSignatureAlgorithmName: *mut i8,
6576 pub sEncryptAlgorithmName: *mut i8,
6577 pub KeySize: u32,
6578 pub SignatureAlgorithm: u32,
6579 pub EncryptAlgorithm: u32,
6580 }
6581 impl ::core::marker::Copy for SecPkgContext_KeyInfoA {}
6582 impl ::core::clone::Clone for SecPkgContext_KeyInfoA {
6583 fn clone(&self) -> Self {
6584 *self
6585 }
6586 }
6587 #[repr(C)]
6588 pub struct SecPkgContext_KeyInfoW {
6589 pub sSignatureAlgorithmName: *mut u16,
6590 pub sEncryptAlgorithmName: *mut u16,
6591 pub KeySize: u32,
6592 pub SignatureAlgorithm: u32,
6593 pub EncryptAlgorithm: u32,
6594 }
6595 impl ::core::marker::Copy for SecPkgContext_KeyInfoW {}
6596 impl ::core::clone::Clone for SecPkgContext_KeyInfoW {
6597 fn clone(&self) -> Self {
6598 *self
6599 }
6600 }
6601 #[repr(C)]
6602 pub struct SecPkgContext_KeyingMaterial {
6603 pub cbKeyingMaterial: u32,
6604 pub pbKeyingMaterial: *mut u8,
6605 }
6606 impl ::core::marker::Copy for SecPkgContext_KeyingMaterial {}
6607 impl ::core::clone::Clone for SecPkgContext_KeyingMaterial {
6608 fn clone(&self) -> Self {
6609 *self
6610 }
6611 }
6612 #[repr(C)]
6613 pub struct SecPkgContext_KeyingMaterialInfo {
6614 pub cbLabel: u16,
6615 pub pszLabel: ::windows_sys::core::PSTR,
6616 pub cbContextValue: u16,
6617 pub pbContextValue: *mut u8,
6618 pub cbKeyingMaterial: u32,
6619 }
6620 impl ::core::marker::Copy for SecPkgContext_KeyingMaterialInfo {}
6621 impl ::core::clone::Clone for SecPkgContext_KeyingMaterialInfo {
6622 fn clone(&self) -> Self {
6623 *self
6624 }
6625 }
6626 #[repr(C)]
6627 pub struct SecPkgContext_KeyingMaterial_Inproc {
6628 pub cbLabel: u16,
6629 pub pszLabel: ::windows_sys::core::PSTR,
6630 pub cbContextValue: u16,
6631 pub pbContextValue: *mut u8,
6632 pub cbKeyingMaterial: u32,
6633 pub pbKeyingMaterial: *mut u8,
6634 }
6635 impl ::core::marker::Copy for SecPkgContext_KeyingMaterial_Inproc {}
6636 impl ::core::clone::Clone for SecPkgContext_KeyingMaterial_Inproc {
6637 fn clone(&self) -> Self {
6638 *self
6639 }
6640 }
6641 #[repr(C)]
6642 pub struct SecPkgContext_LastClientTokenStatus {
6643 pub LastClientTokenStatus: SECPKG_ATTR_LCT_STATUS,
6644 }
6645 impl ::core::marker::Copy for SecPkgContext_LastClientTokenStatus {}
6646 impl ::core::clone::Clone for SecPkgContext_LastClientTokenStatus {
6647 fn clone(&self) -> Self {
6648 *self
6649 }
6650 }
6651 #[repr(C)]
6652 pub struct SecPkgContext_Lifespan {
6653 pub tsStart: i64,
6654 pub tsExpiry: i64,
6655 }
6656 impl ::core::marker::Copy for SecPkgContext_Lifespan {}
6657 impl ::core::clone::Clone for SecPkgContext_Lifespan {
6658 fn clone(&self) -> Self {
6659 *self
6660 }
6661 }
6662 #[repr(C)]
6663 pub struct SecPkgContext_LocalCredentialInfo {
6664 pub cbCertificateChain: u32,
6665 pub pbCertificateChain: *mut u8,
6666 pub cCertificates: u32,
6667 pub fFlags: u32,
6668 pub dwBits: u32,
6669 }
6670 impl ::core::marker::Copy for SecPkgContext_LocalCredentialInfo {}
6671 impl ::core::clone::Clone for SecPkgContext_LocalCredentialInfo {
6672 fn clone(&self) -> Self {
6673 *self
6674 }
6675 }
6676 #[repr(C)]
6677 pub struct SecPkgContext_LogoffTime {
6678 pub tsLogoffTime: i64,
6679 }
6680 impl ::core::marker::Copy for SecPkgContext_LogoffTime {}
6681 impl ::core::clone::Clone for SecPkgContext_LogoffTime {
6682 fn clone(&self) -> Self {
6683 *self
6684 }
6685 }
6686 #[repr(C)]
6687 pub struct SecPkgContext_MappedCredAttr {
6688 pub dwAttribute: u32,
6689 pub pvBuffer: *mut ::core::ffi::c_void,
6690 }
6691 impl ::core::marker::Copy for SecPkgContext_MappedCredAttr {}
6692 impl ::core::clone::Clone for SecPkgContext_MappedCredAttr {
6693 fn clone(&self) -> Self {
6694 *self
6695 }
6696 }
6697 #[repr(C)]
6698 pub struct SecPkgContext_NamesA {
6699 pub sUserName: *mut i8,
6700 }
6701 impl ::core::marker::Copy for SecPkgContext_NamesA {}
6702 impl ::core::clone::Clone for SecPkgContext_NamesA {
6703 fn clone(&self) -> Self {
6704 *self
6705 }
6706 }
6707 #[repr(C)]
6708 pub struct SecPkgContext_NamesW {
6709 pub sUserName: *mut u16,
6710 }
6711 impl ::core::marker::Copy for SecPkgContext_NamesW {}
6712 impl ::core::clone::Clone for SecPkgContext_NamesW {
6713 fn clone(&self) -> Self {
6714 *self
6715 }
6716 }
6717 #[repr(C)]
6718 pub struct SecPkgContext_NativeNamesA {
6719 pub sClientName: *mut i8,
6720 pub sServerName: *mut i8,
6721 }
6722 impl ::core::marker::Copy for SecPkgContext_NativeNamesA {}
6723 impl ::core::clone::Clone for SecPkgContext_NativeNamesA {
6724 fn clone(&self) -> Self {
6725 *self
6726 }
6727 }
6728 #[repr(C)]
6729 pub struct SecPkgContext_NativeNamesW {
6730 pub sClientName: *mut u16,
6731 pub sServerName: *mut u16,
6732 }
6733 impl ::core::marker::Copy for SecPkgContext_NativeNamesW {}
6734 impl ::core::clone::Clone for SecPkgContext_NativeNamesW {
6735 fn clone(&self) -> Self {
6736 *self
6737 }
6738 }
6739 #[repr(C)]
6740 pub struct SecPkgContext_NegoKeys {
6741 pub KeyType: u32,
6742 pub KeyLength: u16,
6743 pub KeyValue: *mut u8,
6744 pub VerifyKeyType: u32,
6745 pub VerifyKeyLength: u16,
6746 pub VerifyKeyValue: *mut u8,
6747 }
6748 impl ::core::marker::Copy for SecPkgContext_NegoKeys {}
6749 impl ::core::clone::Clone for SecPkgContext_NegoKeys {
6750 fn clone(&self) -> Self {
6751 *self
6752 }
6753 }
6754 #[repr(C)]
6755 pub struct SecPkgContext_NegoPackageInfo {
6756 pub PackageMask: u32,
6757 }
6758 impl ::core::marker::Copy for SecPkgContext_NegoPackageInfo {}
6759 impl ::core::clone::Clone for SecPkgContext_NegoPackageInfo {
6760 fn clone(&self) -> Self {
6761 *self
6762 }
6763 }
6764 #[repr(C)]
6765 pub struct SecPkgContext_NegoStatus {
6766 pub LastStatus: u32,
6767 }
6768 impl ::core::marker::Copy for SecPkgContext_NegoStatus {}
6769 impl ::core::clone::Clone for SecPkgContext_NegoStatus {
6770 fn clone(&self) -> Self {
6771 *self
6772 }
6773 }
6774 #[repr(C)]
6775 pub struct SecPkgContext_NegotiatedTlsExtensions {
6776 pub ExtensionsCount: u32,
6777 pub Extensions: *mut u16,
6778 }
6779 impl ::core::marker::Copy for SecPkgContext_NegotiatedTlsExtensions {}
6780 impl ::core::clone::Clone for SecPkgContext_NegotiatedTlsExtensions {
6781 fn clone(&self) -> Self {
6782 *self
6783 }
6784 }
6785 #[repr(C)]
6786 pub struct SecPkgContext_NegotiationInfoA {
6787 pub PackageInfo: *mut SecPkgInfoA,
6788 pub NegotiationState: u32,
6789 }
6790 impl ::core::marker::Copy for SecPkgContext_NegotiationInfoA {}
6791 impl ::core::clone::Clone for SecPkgContext_NegotiationInfoA {
6792 fn clone(&self) -> Self {
6793 *self
6794 }
6795 }
6796 #[repr(C)]
6797 pub struct SecPkgContext_NegotiationInfoW {
6798 pub PackageInfo: *mut SecPkgInfoW,
6799 pub NegotiationState: u32,
6800 }
6801 impl ::core::marker::Copy for SecPkgContext_NegotiationInfoW {}
6802 impl ::core::clone::Clone for SecPkgContext_NegotiationInfoW {
6803 fn clone(&self) -> Self {
6804 *self
6805 }
6806 }
6807 #[repr(C)]
6808 pub struct SecPkgContext_PackageInfoA {
6809 pub PackageInfo: *mut SecPkgInfoA,
6810 }
6811 impl ::core::marker::Copy for SecPkgContext_PackageInfoA {}
6812 impl ::core::clone::Clone for SecPkgContext_PackageInfoA {
6813 fn clone(&self) -> Self {
6814 *self
6815 }
6816 }
6817 #[repr(C)]
6818 pub struct SecPkgContext_PackageInfoW {
6819 pub PackageInfo: *mut SecPkgInfoW,
6820 }
6821 impl ::core::marker::Copy for SecPkgContext_PackageInfoW {}
6822 impl ::core::clone::Clone for SecPkgContext_PackageInfoW {
6823 fn clone(&self) -> Self {
6824 *self
6825 }
6826 }
6827 #[repr(C)]
6828 pub struct SecPkgContext_PasswordExpiry {
6829 pub tsPasswordExpires: i64,
6830 }
6831 impl ::core::marker::Copy for SecPkgContext_PasswordExpiry {}
6832 impl ::core::clone::Clone for SecPkgContext_PasswordExpiry {
6833 fn clone(&self) -> Self {
6834 *self
6835 }
6836 }
6837 #[repr(C)]
6838 pub struct SecPkgContext_ProtoInfoA {
6839 pub sProtocolName: *mut i8,
6840 pub majorVersion: u32,
6841 pub minorVersion: u32,
6842 }
6843 impl ::core::marker::Copy for SecPkgContext_ProtoInfoA {}
6844 impl ::core::clone::Clone for SecPkgContext_ProtoInfoA {
6845 fn clone(&self) -> Self {
6846 *self
6847 }
6848 }
6849 #[repr(C)]
6850 pub struct SecPkgContext_ProtoInfoW {
6851 pub sProtocolName: *mut u16,
6852 pub majorVersion: u32,
6853 pub minorVersion: u32,
6854 }
6855 impl ::core::marker::Copy for SecPkgContext_ProtoInfoW {}
6856 impl ::core::clone::Clone for SecPkgContext_ProtoInfoW {
6857 fn clone(&self) -> Self {
6858 *self
6859 }
6860 }
6861 #[repr(C)]
6862 pub struct SecPkgContext_RemoteCredentialInfo {
6863 pub cbCertificateChain: u32,
6864 pub pbCertificateChain: *mut u8,
6865 pub cCertificates: u32,
6866 pub fFlags: u32,
6867 pub dwBits: u32,
6868 }
6869 impl ::core::marker::Copy for SecPkgContext_RemoteCredentialInfo {}
6870 impl ::core::clone::Clone for SecPkgContext_RemoteCredentialInfo {
6871 fn clone(&self) -> Self {
6872 *self
6873 }
6874 }
6875 #[repr(C)]
6876 pub struct SecPkgContext_SaslContext {
6877 pub SaslContext: *mut ::core::ffi::c_void,
6878 }
6879 impl ::core::marker::Copy for SecPkgContext_SaslContext {}
6880 impl ::core::clone::Clone for SecPkgContext_SaslContext {
6881 fn clone(&self) -> Self {
6882 *self
6883 }
6884 }
6885 #[repr(C)]
6886 pub struct SecPkgContext_SessionAppData {
6887 pub dwFlags: u32,
6888 pub cbAppData: u32,
6889 pub pbAppData: *mut u8,
6890 }
6891 impl ::core::marker::Copy for SecPkgContext_SessionAppData {}
6892 impl ::core::clone::Clone for SecPkgContext_SessionAppData {
6893 fn clone(&self) -> Self {
6894 *self
6895 }
6896 }
6897 #[repr(C)]
6898 pub struct SecPkgContext_SessionInfo {
6899 pub dwFlags: u32,
6900 pub cbSessionId: u32,
6901 pub rgbSessionId: [u8; 32],
6902 }
6903 impl ::core::marker::Copy for SecPkgContext_SessionInfo {}
6904 impl ::core::clone::Clone for SecPkgContext_SessionInfo {
6905 fn clone(&self) -> Self {
6906 *self
6907 }
6908 }
6909 #[repr(C)]
6910 pub struct SecPkgContext_SessionKey {
6911 pub SessionKeyLength: u32,
6912 pub SessionKey: *mut u8,
6913 }
6914 impl ::core::marker::Copy for SecPkgContext_SessionKey {}
6915 impl ::core::clone::Clone for SecPkgContext_SessionKey {
6916 fn clone(&self) -> Self {
6917 *self
6918 }
6919 }
6920 #[repr(C)]
6921 pub struct SecPkgContext_Sizes {
6922 pub cbMaxToken: u32,
6923 pub cbMaxSignature: u32,
6924 pub cbBlockSize: u32,
6925 pub cbSecurityTrailer: u32,
6926 }
6927 impl ::core::marker::Copy for SecPkgContext_Sizes {}
6928 impl ::core::clone::Clone for SecPkgContext_Sizes {
6929 fn clone(&self) -> Self {
6930 *self
6931 }
6932 }
6933 #[repr(C)]
6934 pub struct SecPkgContext_SrtpParameters {
6935 pub ProtectionProfile: u16,
6936 pub MasterKeyIdentifierSize: u8,
6937 pub MasterKeyIdentifier: *mut u8,
6938 }
6939 impl ::core::marker::Copy for SecPkgContext_SrtpParameters {}
6940 impl ::core::clone::Clone for SecPkgContext_SrtpParameters {
6941 fn clone(&self) -> Self {
6942 *self
6943 }
6944 }
6945 #[repr(C)]
6946 pub struct SecPkgContext_StreamSizes {
6947 pub cbHeader: u32,
6948 pub cbTrailer: u32,
6949 pub cbMaximumMessage: u32,
6950 pub cBuffers: u32,
6951 pub cbBlockSize: u32,
6952 }
6953 impl ::core::marker::Copy for SecPkgContext_StreamSizes {}
6954 impl ::core::clone::Clone for SecPkgContext_StreamSizes {
6955 fn clone(&self) -> Self {
6956 *self
6957 }
6958 }
6959 #[repr(C)]
6960 pub struct SecPkgContext_SubjectAttributes {
6961 pub AttributeInfo: *mut ::core::ffi::c_void,
6962 }
6963 impl ::core::marker::Copy for SecPkgContext_SubjectAttributes {}
6964 impl ::core::clone::Clone for SecPkgContext_SubjectAttributes {
6965 fn clone(&self) -> Self {
6966 *self
6967 }
6968 }
6969 #[repr(C)]
6970 pub struct SecPkgContext_SupportedSignatures {
6971 pub cSignatureAndHashAlgorithms: u16,
6972 pub pSignatureAndHashAlgorithms: *mut u16,
6973 }
6974 impl ::core::marker::Copy for SecPkgContext_SupportedSignatures {}
6975 impl ::core::clone::Clone for SecPkgContext_SupportedSignatures {
6976 fn clone(&self) -> Self {
6977 *self
6978 }
6979 }
6980 #[repr(C)]
6981 pub struct SecPkgContext_Target {
6982 pub TargetLength: u32,
6983 pub Target: ::windows_sys::core::PSTR,
6984 }
6985 impl ::core::marker::Copy for SecPkgContext_Target {}
6986 impl ::core::clone::Clone for SecPkgContext_Target {
6987 fn clone(&self) -> Self {
6988 *self
6989 }
6990 }
6991 #[repr(C)]
6992 pub struct SecPkgContext_TargetInformation {
6993 pub MarshalledTargetInfoLength: u32,
6994 pub MarshalledTargetInfo: *mut u8,
6995 }
6996 impl ::core::marker::Copy for SecPkgContext_TargetInformation {}
6997 impl ::core::clone::Clone for SecPkgContext_TargetInformation {
6998 fn clone(&self) -> Self {
6999 *self
7000 }
7001 }
7002 #[repr(C)]
7003 pub struct SecPkgContext_TokenBinding {
7004 pub MajorVersion: u8,
7005 pub MinorVersion: u8,
7006 pub KeyParametersSize: u16,
7007 pub KeyParameters: *mut u8,
7008 }
7009 impl ::core::marker::Copy for SecPkgContext_TokenBinding {}
7010 impl ::core::clone::Clone for SecPkgContext_TokenBinding {
7011 fn clone(&self) -> Self {
7012 *self
7013 }
7014 }
7015 #[repr(C)]
7016 #[doc = "Required features: `\"Win32_Foundation\"`"]
7017 #[cfg(feature = "Win32_Foundation")]
7018 pub struct SecPkgContext_UiInfo {
7019 pub hParentWindow: super::super::super::Foundation::HWND,
7020 }
7021 #[cfg(feature = "Win32_Foundation")]
7022 impl ::core::marker::Copy for SecPkgContext_UiInfo {}
7023 #[cfg(feature = "Win32_Foundation")]
7024 impl ::core::clone::Clone for SecPkgContext_UiInfo {
7025 fn clone(&self) -> Self {
7026 *self
7027 }
7028 }
7029 #[repr(C)]
7030 pub struct SecPkgContext_UserFlags {
7031 pub UserFlags: u32,
7032 }
7033 impl ::core::marker::Copy for SecPkgContext_UserFlags {}
7034 impl ::core::clone::Clone for SecPkgContext_UserFlags {
7035 fn clone(&self) -> Self {
7036 *self
7037 }
7038 }
7039 #[repr(C)]
7040 pub struct SecPkgCred_CipherStrengths {
7041 pub dwMinimumCipherStrength: u32,
7042 pub dwMaximumCipherStrength: u32,
7043 }
7044 impl ::core::marker::Copy for SecPkgCred_CipherStrengths {}
7045 impl ::core::clone::Clone for SecPkgCred_CipherStrengths {
7046 fn clone(&self) -> Self {
7047 *self
7048 }
7049 }
7050 #[repr(C)]
7051 #[doc = "Required features: `\"Win32_Foundation\"`"]
7052 #[cfg(feature = "Win32_Foundation")]
7053 pub struct SecPkgCred_ClientCertPolicy {
7054 pub dwFlags: u32,
7055 pub guidPolicyId: ::windows_sys::core::GUID,
7056 pub dwCertFlags: u32,
7057 pub dwUrlRetrievalTimeout: u32,
7058 pub fCheckRevocationFreshnessTime: super::super::super::Foundation::BOOL,
7059 pub dwRevocationFreshnessTime: u32,
7060 pub fOmitUsageCheck: super::super::super::Foundation::BOOL,
7061 pub pwszSslCtlStoreName: ::windows_sys::core::PWSTR,
7062 pub pwszSslCtlIdentifier: ::windows_sys::core::PWSTR,
7063 }
7064 #[cfg(feature = "Win32_Foundation")]
7065 impl ::core::marker::Copy for SecPkgCred_ClientCertPolicy {}
7066 #[cfg(feature = "Win32_Foundation")]
7067 impl ::core::clone::Clone for SecPkgCred_ClientCertPolicy {
7068 fn clone(&self) -> Self {
7069 *self
7070 }
7071 }
7072 #[repr(C)]
7073 pub struct SecPkgCred_SessionTicketKey {
7074 pub TicketInfoVersion: u32,
7075 pub KeyId: [u8; 16],
7076 pub KeyingMaterial: [u8; 64],
7077 pub KeyingMaterialSize: u8,
7078 }
7079 impl ::core::marker::Copy for SecPkgCred_SessionTicketKey {}
7080 impl ::core::clone::Clone for SecPkgCred_SessionTicketKey {
7081 fn clone(&self) -> Self {
7082 *self
7083 }
7084 }
7085 #[repr(C)]
7086 pub struct SecPkgCred_SessionTicketKeys {
7087 pub cSessionTicketKeys: u32,
7088 pub pSessionTicketKeys: *mut SecPkgCred_SessionTicketKey,
7089 }
7090 impl ::core::marker::Copy for SecPkgCred_SessionTicketKeys {}
7091 impl ::core::clone::Clone for SecPkgCred_SessionTicketKeys {
7092 fn clone(&self) -> Self {
7093 *self
7094 }
7095 }
7096 #[repr(C)]
7097 #[doc = "Required features: `\"Win32_Security_Cryptography\"`"]
7098 #[cfg(feature = "Win32_Security_Cryptography")]
7099 pub struct SecPkgCred_SupportedAlgs {
7100 pub cSupportedAlgs: u32,
7101 pub palgSupportedAlgs: *mut super::super::Cryptography::ALG_ID,
7102 }
7103 #[cfg(feature = "Win32_Security_Cryptography")]
7104 impl ::core::marker::Copy for SecPkgCred_SupportedAlgs {}
7105 #[cfg(feature = "Win32_Security_Cryptography")]
7106 impl ::core::clone::Clone for SecPkgCred_SupportedAlgs {
7107 fn clone(&self) -> Self {
7108 *self
7109 }
7110 }
7111 #[repr(C)]
7112 pub struct SecPkgCred_SupportedProtocols {
7113 pub grbitProtocol: u32,
7114 }
7115 impl ::core::marker::Copy for SecPkgCred_SupportedProtocols {}
7116 impl ::core::clone::Clone for SecPkgCred_SupportedProtocols {
7117 fn clone(&self) -> Self {
7118 *self
7119 }
7120 }
7121 #[repr(C)]
7122 pub struct SecPkgCredentials_Cert {
7123 pub EncodedCertSize: u32,
7124 pub EncodedCert: *mut u8,
7125 }
7126 impl ::core::marker::Copy for SecPkgCredentials_Cert {}
7127 impl ::core::clone::Clone for SecPkgCredentials_Cert {
7128 fn clone(&self) -> Self {
7129 *self
7130 }
7131 }
7132 #[repr(C)]
7133 pub struct SecPkgCredentials_KdcProxySettingsW {
7134 pub Version: u32,
7135 pub Flags: u32,
7136 pub ProxyServerOffset: u16,
7137 pub ProxyServerLength: u16,
7138 pub ClientTlsCredOffset: u16,
7139 pub ClientTlsCredLength: u16,
7140 }
7141 impl ::core::marker::Copy for SecPkgCredentials_KdcProxySettingsW {}
7142 impl ::core::clone::Clone for SecPkgCredentials_KdcProxySettingsW {
7143 fn clone(&self) -> Self {
7144 *self
7145 }
7146 }
7147 #[repr(C)]
7148 pub struct SecPkgCredentials_NamesA {
7149 pub sUserName: *mut i8,
7150 }
7151 impl ::core::marker::Copy for SecPkgCredentials_NamesA {}
7152 impl ::core::clone::Clone for SecPkgCredentials_NamesA {
7153 fn clone(&self) -> Self {
7154 *self
7155 }
7156 }
7157 #[repr(C)]
7158 pub struct SecPkgCredentials_NamesW {
7159 pub sUserName: *mut u16,
7160 }
7161 impl ::core::marker::Copy for SecPkgCredentials_NamesW {}
7162 impl ::core::clone::Clone for SecPkgCredentials_NamesW {
7163 fn clone(&self) -> Self {
7164 *self
7165 }
7166 }
7167 #[repr(C)]
7168 pub struct SecPkgCredentials_SSIProviderA {
7169 pub sProviderName: *mut i8,
7170 pub ProviderInfoLength: u32,
7171 pub ProviderInfo: ::windows_sys::core::PSTR,
7172 }
7173 impl ::core::marker::Copy for SecPkgCredentials_SSIProviderA {}
7174 impl ::core::clone::Clone for SecPkgCredentials_SSIProviderA {
7175 fn clone(&self) -> Self {
7176 *self
7177 }
7178 }
7179 #[repr(C)]
7180 pub struct SecPkgCredentials_SSIProviderW {
7181 pub sProviderName: *mut u16,
7182 pub ProviderInfoLength: u32,
7183 pub ProviderInfo: ::windows_sys::core::PSTR,
7184 }
7185 impl ::core::marker::Copy for SecPkgCredentials_SSIProviderW {}
7186 impl ::core::clone::Clone for SecPkgCredentials_SSIProviderW {
7187 fn clone(&self) -> Self {
7188 *self
7189 }
7190 }
7191 #[repr(C)]
7192 pub struct SecPkgInfoA {
7193 pub fCapabilities: u32,
7194 pub wVersion: u16,
7195 pub wRPCID: u16,
7196 pub cbMaxToken: u32,
7197 pub Name: *mut i8,
7198 pub Comment: *mut i8,
7199 }
7200 impl ::core::marker::Copy for SecPkgInfoA {}
7201 impl ::core::clone::Clone for SecPkgInfoA {
7202 fn clone(&self) -> Self {
7203 *self
7204 }
7205 }
7206 #[repr(C)]
7207 pub struct SecPkgInfoW {
7208 pub fCapabilities: u32,
7209 pub wVersion: u16,
7210 pub wRPCID: u16,
7211 pub cbMaxToken: u32,
7212 pub Name: *mut u16,
7213 pub Comment: *mut u16,
7214 }
7215 impl ::core::marker::Copy for SecPkgInfoW {}
7216 impl ::core::clone::Clone for SecPkgInfoW {
7217 fn clone(&self) -> Self {
7218 *self
7219 }
7220 }
7221 #[repr(C)]
7222 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`"]
7223 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
7224 pub struct SecurityFunctionTableA {
7225 pub dwVersion: u32,
7226 pub EnumerateSecurityPackagesA: ENUMERATE_SECURITY_PACKAGES_FN_A,
7227 pub QueryCredentialsAttributesA: QUERY_CREDENTIALS_ATTRIBUTES_FN_A,
7228 pub AcquireCredentialsHandleA: ACQUIRE_CREDENTIALS_HANDLE_FN_A,
7229 pub FreeCredentialsHandle: FREE_CREDENTIALS_HANDLE_FN,
7230 pub Reserved2: *mut ::core::ffi::c_void,
7231 pub InitializeSecurityContextA: INITIALIZE_SECURITY_CONTEXT_FN_A,
7232 pub AcceptSecurityContext: ACCEPT_SECURITY_CONTEXT_FN,
7233 pub CompleteAuthToken: COMPLETE_AUTH_TOKEN_FN,
7234 pub DeleteSecurityContext: DELETE_SECURITY_CONTEXT_FN,
7235 pub ApplyControlToken: APPLY_CONTROL_TOKEN_FN,
7236 pub QueryContextAttributesA: QUERY_CONTEXT_ATTRIBUTES_FN_A,
7237 pub ImpersonateSecurityContext: IMPERSONATE_SECURITY_CONTEXT_FN,
7238 pub RevertSecurityContext: REVERT_SECURITY_CONTEXT_FN,
7239 pub MakeSignature: MAKE_SIGNATURE_FN,
7240 pub VerifySignature: VERIFY_SIGNATURE_FN,
7241 pub FreeContextBuffer: FREE_CONTEXT_BUFFER_FN,
7242 pub QuerySecurityPackageInfoA: QUERY_SECURITY_PACKAGE_INFO_FN_A,
7243 pub Reserved3: *mut ::core::ffi::c_void,
7244 pub Reserved4: *mut ::core::ffi::c_void,
7245 pub ExportSecurityContext: EXPORT_SECURITY_CONTEXT_FN,
7246 pub ImportSecurityContextA: IMPORT_SECURITY_CONTEXT_FN_A,
7247 pub AddCredentialsA: ADD_CREDENTIALS_FN_A,
7248 pub Reserved8: *mut ::core::ffi::c_void,
7249 pub QuerySecurityContextToken: QUERY_SECURITY_CONTEXT_TOKEN_FN,
7250 pub EncryptMessage: ENCRYPT_MESSAGE_FN,
7251 pub DecryptMessage: DECRYPT_MESSAGE_FN,
7252 pub SetContextAttributesA: SET_CONTEXT_ATTRIBUTES_FN_A,
7253 pub SetCredentialsAttributesA: SET_CREDENTIALS_ATTRIBUTES_FN_A,
7254 pub ChangeAccountPasswordA: CHANGE_PASSWORD_FN_A,
7255 pub QueryContextAttributesExA: QUERY_CONTEXT_ATTRIBUTES_EX_FN_A,
7256 pub QueryCredentialsAttributesExA: QUERY_CREDENTIALS_ATTRIBUTES_EX_FN_A,
7257 }
7258 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
7259 impl ::core::marker::Copy for SecurityFunctionTableA {}
7260 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
7261 impl ::core::clone::Clone for SecurityFunctionTableA {
7262 fn clone(&self) -> Self {
7263 *self
7264 }
7265 }
7266 #[repr(C)]
7267 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`"]
7268 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
7269 pub struct SecurityFunctionTableW {
7270 pub dwVersion: u32,
7271 pub EnumerateSecurityPackagesW: ENUMERATE_SECURITY_PACKAGES_FN_W,
7272 pub QueryCredentialsAttributesW: QUERY_CREDENTIALS_ATTRIBUTES_FN_W,
7273 pub AcquireCredentialsHandleW: ACQUIRE_CREDENTIALS_HANDLE_FN_W,
7274 pub FreeCredentialsHandle: FREE_CREDENTIALS_HANDLE_FN,
7275 pub Reserved2: *mut ::core::ffi::c_void,
7276 pub InitializeSecurityContextW: INITIALIZE_SECURITY_CONTEXT_FN_W,
7277 pub AcceptSecurityContext: ACCEPT_SECURITY_CONTEXT_FN,
7278 pub CompleteAuthToken: COMPLETE_AUTH_TOKEN_FN,
7279 pub DeleteSecurityContext: DELETE_SECURITY_CONTEXT_FN,
7280 pub ApplyControlToken: APPLY_CONTROL_TOKEN_FN,
7281 pub QueryContextAttributesW: QUERY_CONTEXT_ATTRIBUTES_FN_W,
7282 pub ImpersonateSecurityContext: IMPERSONATE_SECURITY_CONTEXT_FN,
7283 pub RevertSecurityContext: REVERT_SECURITY_CONTEXT_FN,
7284 pub MakeSignature: MAKE_SIGNATURE_FN,
7285 pub VerifySignature: VERIFY_SIGNATURE_FN,
7286 pub FreeContextBuffer: FREE_CONTEXT_BUFFER_FN,
7287 pub QuerySecurityPackageInfoW: QUERY_SECURITY_PACKAGE_INFO_FN_W,
7288 pub Reserved3: *mut ::core::ffi::c_void,
7289 pub Reserved4: *mut ::core::ffi::c_void,
7290 pub ExportSecurityContext: EXPORT_SECURITY_CONTEXT_FN,
7291 pub ImportSecurityContextW: IMPORT_SECURITY_CONTEXT_FN_W,
7292 pub AddCredentialsW: ADD_CREDENTIALS_FN_W,
7293 pub Reserved8: *mut ::core::ffi::c_void,
7294 pub QuerySecurityContextToken: QUERY_SECURITY_CONTEXT_TOKEN_FN,
7295 pub EncryptMessage: ENCRYPT_MESSAGE_FN,
7296 pub DecryptMessage: DECRYPT_MESSAGE_FN,
7297 pub SetContextAttributesW: SET_CONTEXT_ATTRIBUTES_FN_W,
7298 pub SetCredentialsAttributesW: SET_CREDENTIALS_ATTRIBUTES_FN_W,
7299 pub ChangeAccountPasswordW: CHANGE_PASSWORD_FN_W,
7300 pub QueryContextAttributesExW: QUERY_CONTEXT_ATTRIBUTES_EX_FN_W,
7301 pub QueryCredentialsAttributesExW: QUERY_CREDENTIALS_ATTRIBUTES_EX_FN_W,
7302 }
7303 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
7304 impl ::core::marker::Copy for SecurityFunctionTableW {}
7305 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
7306 impl ::core::clone::Clone for SecurityFunctionTableW {
7307 fn clone(&self) -> Self {
7308 *self
7309 }
7310 }
7311 #[repr(C)]
7312 pub struct TLS_EXTENSION_SUBSCRIPTION {
7313 pub ExtensionType: u16,
7314 pub HandshakeType: u16,
7315 }
7316 impl ::core::marker::Copy for TLS_EXTENSION_SUBSCRIPTION {}
7317 impl ::core::clone::Clone for TLS_EXTENSION_SUBSCRIPTION {
7318 fn clone(&self) -> Self {
7319 *self
7320 }
7321 }
7322 #[repr(C)]
7323 pub struct TLS_PARAMETERS {
7324 pub cAlpnIds: u32,
7325 pub rgstrAlpnIds: *mut LSA_UNICODE_STRING,
7326 pub grbitDisabledProtocols: u32,
7327 pub cDisabledCrypto: u32,
7328 pub pDisabledCrypto: *mut CRYPTO_SETTINGS,
7329 pub dwFlags: u32,
7330 }
7331 impl ::core::marker::Copy for TLS_PARAMETERS {}
7332 impl ::core::clone::Clone for TLS_PARAMETERS {
7333 fn clone(&self) -> Self {
7334 *self
7335 }
7336 }
7337 #[repr(C)]
7338 pub struct TOKENBINDING_IDENTIFIER {
7339 pub keyType: u8,
7340 }
7341 impl ::core::marker::Copy for TOKENBINDING_IDENTIFIER {}
7342 impl ::core::clone::Clone for TOKENBINDING_IDENTIFIER {
7343 fn clone(&self) -> Self {
7344 *self
7345 }
7346 }
7347 #[repr(C)]
7348 pub struct TOKENBINDING_KEY_TYPES {
7349 pub keyCount: u32,
7350 pub keyType: *mut TOKENBINDING_KEY_PARAMETERS_TYPE,
7351 }
7352 impl ::core::marker::Copy for TOKENBINDING_KEY_TYPES {}
7353 impl ::core::clone::Clone for TOKENBINDING_KEY_TYPES {
7354 fn clone(&self) -> Self {
7355 *self
7356 }
7357 }
7358 #[repr(C)]
7359 pub struct TOKENBINDING_RESULT_DATA {
7360 pub bindingType: TOKENBINDING_TYPE,
7361 pub identifierSize: u32,
7362 pub identifierData: *mut TOKENBINDING_IDENTIFIER,
7363 pub extensionFormat: TOKENBINDING_EXTENSION_FORMAT,
7364 pub extensionSize: u32,
7365 pub extensionData: *mut ::core::ffi::c_void,
7366 }
7367 impl ::core::marker::Copy for TOKENBINDING_RESULT_DATA {}
7368 impl ::core::clone::Clone for TOKENBINDING_RESULT_DATA {
7369 fn clone(&self) -> Self {
7370 *self
7371 }
7372 }
7373 #[repr(C)]
7374 pub struct TOKENBINDING_RESULT_LIST {
7375 pub resultCount: u32,
7376 pub resultData: *mut TOKENBINDING_RESULT_DATA,
7377 }
7378 impl ::core::marker::Copy for TOKENBINDING_RESULT_LIST {}
7379 impl ::core::clone::Clone for TOKENBINDING_RESULT_LIST {
7380 fn clone(&self) -> Self {
7381 *self
7382 }
7383 }
7384 #[repr(C)]
7385 pub struct TRUSTED_CONTROLLERS_INFO {
7386 pub Entries: u32,
7387 pub Names: *mut LSA_UNICODE_STRING,
7388 }
7389 impl ::core::marker::Copy for TRUSTED_CONTROLLERS_INFO {}
7390 impl ::core::clone::Clone for TRUSTED_CONTROLLERS_INFO {
7391 fn clone(&self) -> Self {
7392 *self
7393 }
7394 }
7395 #[repr(C)]
7396 pub struct TRUSTED_DOMAIN_AUTH_INFORMATION {
7397 pub IncomingAuthInfos: u32,
7398 pub IncomingAuthenticationInformation: *mut LSA_AUTH_INFORMATION,
7399 pub IncomingPreviousAuthenticationInformation: *mut LSA_AUTH_INFORMATION,
7400 pub OutgoingAuthInfos: u32,
7401 pub OutgoingAuthenticationInformation: *mut LSA_AUTH_INFORMATION,
7402 pub OutgoingPreviousAuthenticationInformation: *mut LSA_AUTH_INFORMATION,
7403 }
7404 impl ::core::marker::Copy for TRUSTED_DOMAIN_AUTH_INFORMATION {}
7405 impl ::core::clone::Clone for TRUSTED_DOMAIN_AUTH_INFORMATION {
7406 fn clone(&self) -> Self {
7407 *self
7408 }
7409 }
7410 #[repr(C)]
7411 #[doc = "Required features: `\"Win32_Foundation\"`"]
7412 #[cfg(feature = "Win32_Foundation")]
7413 pub struct TRUSTED_DOMAIN_FULL_INFORMATION {
7414 pub Information: TRUSTED_DOMAIN_INFORMATION_EX,
7415 pub PosixOffset: TRUSTED_POSIX_OFFSET_INFO,
7416 pub AuthInformation: TRUSTED_DOMAIN_AUTH_INFORMATION,
7417 }
7418 #[cfg(feature = "Win32_Foundation")]
7419 impl ::core::marker::Copy for TRUSTED_DOMAIN_FULL_INFORMATION {}
7420 #[cfg(feature = "Win32_Foundation")]
7421 impl ::core::clone::Clone for TRUSTED_DOMAIN_FULL_INFORMATION {
7422 fn clone(&self) -> Self {
7423 *self
7424 }
7425 }
7426 #[repr(C)]
7427 #[doc = "Required features: `\"Win32_Foundation\"`"]
7428 #[cfg(feature = "Win32_Foundation")]
7429 pub struct TRUSTED_DOMAIN_FULL_INFORMATION2 {
7430 pub Information: TRUSTED_DOMAIN_INFORMATION_EX2,
7431 pub PosixOffset: TRUSTED_POSIX_OFFSET_INFO,
7432 pub AuthInformation: TRUSTED_DOMAIN_AUTH_INFORMATION,
7433 }
7434 #[cfg(feature = "Win32_Foundation")]
7435 impl ::core::marker::Copy for TRUSTED_DOMAIN_FULL_INFORMATION2 {}
7436 #[cfg(feature = "Win32_Foundation")]
7437 impl ::core::clone::Clone for TRUSTED_DOMAIN_FULL_INFORMATION2 {
7438 fn clone(&self) -> Self {
7439 *self
7440 }
7441 }
7442 #[repr(C)]
7443 #[doc = "Required features: `\"Win32_Foundation\"`"]
7444 #[cfg(feature = "Win32_Foundation")]
7445 pub struct TRUSTED_DOMAIN_INFORMATION_EX {
7446 pub Name: LSA_UNICODE_STRING,
7447 pub FlatName: LSA_UNICODE_STRING,
7448 pub Sid: super::super::super::Foundation::PSID,
7449 pub TrustDirection: TRUSTED_DOMAIN_TRUST_DIRECTION,
7450 pub TrustType: TRUSTED_DOMAIN_TRUST_TYPE,
7451 pub TrustAttributes: TRUSTED_DOMAIN_TRUST_ATTRIBUTES,
7452 }
7453 #[cfg(feature = "Win32_Foundation")]
7454 impl ::core::marker::Copy for TRUSTED_DOMAIN_INFORMATION_EX {}
7455 #[cfg(feature = "Win32_Foundation")]
7456 impl ::core::clone::Clone for TRUSTED_DOMAIN_INFORMATION_EX {
7457 fn clone(&self) -> Self {
7458 *self
7459 }
7460 }
7461 #[repr(C)]
7462 #[doc = "Required features: `\"Win32_Foundation\"`"]
7463 #[cfg(feature = "Win32_Foundation")]
7464 pub struct TRUSTED_DOMAIN_INFORMATION_EX2 {
7465 pub Name: LSA_UNICODE_STRING,
7466 pub FlatName: LSA_UNICODE_STRING,
7467 pub Sid: super::super::super::Foundation::PSID,
7468 pub TrustDirection: u32,
7469 pub TrustType: u32,
7470 pub TrustAttributes: u32,
7471 pub ForestTrustLength: u32,
7472 pub ForestTrustInfo: *mut u8,
7473 }
7474 #[cfg(feature = "Win32_Foundation")]
7475 impl ::core::marker::Copy for TRUSTED_DOMAIN_INFORMATION_EX2 {}
7476 #[cfg(feature = "Win32_Foundation")]
7477 impl ::core::clone::Clone for TRUSTED_DOMAIN_INFORMATION_EX2 {
7478 fn clone(&self) -> Self {
7479 *self
7480 }
7481 }
7482 #[repr(C)]
7483 pub struct TRUSTED_DOMAIN_NAME_INFO {
7484 pub Name: LSA_UNICODE_STRING,
7485 }
7486 impl ::core::marker::Copy for TRUSTED_DOMAIN_NAME_INFO {}
7487 impl ::core::clone::Clone for TRUSTED_DOMAIN_NAME_INFO {
7488 fn clone(&self) -> Self {
7489 *self
7490 }
7491 }
7492 #[repr(C)]
7493 pub struct TRUSTED_DOMAIN_SUPPORTED_ENCRYPTION_TYPES {
7494 pub SupportedEncryptionTypes: u32,
7495 }
7496 impl ::core::marker::Copy for TRUSTED_DOMAIN_SUPPORTED_ENCRYPTION_TYPES {}
7497 impl ::core::clone::Clone for TRUSTED_DOMAIN_SUPPORTED_ENCRYPTION_TYPES {
7498 fn clone(&self) -> Self {
7499 *self
7500 }
7501 }
7502 #[repr(C)]
7503 pub struct TRUSTED_PASSWORD_INFO {
7504 pub Password: LSA_UNICODE_STRING,
7505 pub OldPassword: LSA_UNICODE_STRING,
7506 }
7507 impl ::core::marker::Copy for TRUSTED_PASSWORD_INFO {}
7508 impl ::core::clone::Clone for TRUSTED_PASSWORD_INFO {
7509 fn clone(&self) -> Self {
7510 *self
7511 }
7512 }
7513 #[repr(C)]
7514 pub struct TRUSTED_POSIX_OFFSET_INFO {
7515 pub Offset: u32,
7516 }
7517 impl ::core::marker::Copy for TRUSTED_POSIX_OFFSET_INFO {}
7518 impl ::core::clone::Clone for TRUSTED_POSIX_OFFSET_INFO {
7519 fn clone(&self) -> Self {
7520 *self
7521 }
7522 }
7523 #[repr(C, packed(4))]
7524 #[doc = "Required features: `\"Win32_Foundation\"`"]
7525 #[cfg(feature = "Win32_Foundation")]
7526 pub struct USER_ALL_INFORMATION {
7527 pub LastLogon: i64,
7528 pub LastLogoff: i64,
7529 pub PasswordLastSet: i64,
7530 pub AccountExpires: i64,
7531 pub PasswordCanChange: i64,
7532 pub PasswordMustChange: i64,
7533 pub UserName: LSA_UNICODE_STRING,
7534 pub FullName: LSA_UNICODE_STRING,
7535 pub HomeDirectory: LSA_UNICODE_STRING,
7536 pub HomeDirectoryDrive: LSA_UNICODE_STRING,
7537 pub ScriptPath: LSA_UNICODE_STRING,
7538 pub ProfilePath: LSA_UNICODE_STRING,
7539 pub AdminComment: LSA_UNICODE_STRING,
7540 pub WorkStations: LSA_UNICODE_STRING,
7541 pub UserComment: LSA_UNICODE_STRING,
7542 pub Parameters: LSA_UNICODE_STRING,
7543 pub LmPassword: LSA_UNICODE_STRING,
7544 pub NtPassword: LSA_UNICODE_STRING,
7545 pub PrivateData: LSA_UNICODE_STRING,
7546 pub SecurityDescriptor: SR_SECURITY_DESCRIPTOR,
7547 pub UserId: u32,
7548 pub PrimaryGroupId: u32,
7549 pub UserAccountControl: u32,
7550 pub WhichFields: u32,
7551 pub LogonHours: LOGON_HOURS,
7552 pub BadPasswordCount: u16,
7553 pub LogonCount: u16,
7554 pub CountryCode: u16,
7555 pub CodePage: u16,
7556 pub LmPasswordPresent: super::super::super::Foundation::BOOLEAN,
7557 pub NtPasswordPresent: super::super::super::Foundation::BOOLEAN,
7558 pub PasswordExpired: super::super::super::Foundation::BOOLEAN,
7559 pub PrivateDataSensitive: super::super::super::Foundation::BOOLEAN,
7560 }
7561 #[cfg(feature = "Win32_Foundation")]
7562 impl ::core::marker::Copy for USER_ALL_INFORMATION {}
7563 #[cfg(feature = "Win32_Foundation")]
7564 impl ::core::clone::Clone for USER_ALL_INFORMATION {
7565 fn clone(&self) -> Self {
7566 *self
7567 }
7568 }
7569 #[repr(C)]
7570 #[doc = "Required features: `\"Win32_System_PasswordManagement\"`"]
7571 #[cfg(feature = "Win32_System_PasswordManagement")]
7572 pub struct USER_SESSION_KEY {
7573 pub data: [super::super::super::System::PasswordManagement::CYPHER_BLOCK; 2],
7574 }
7575 #[cfg(feature = "Win32_System_PasswordManagement")]
7576 impl ::core::marker::Copy for USER_SESSION_KEY {}
7577 #[cfg(feature = "Win32_System_PasswordManagement")]
7578 impl ::core::clone::Clone for USER_SESSION_KEY {
7579 fn clone(&self) -> Self {
7580 *self
7581 }
7582 }
7583 #[repr(C)]
7584 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"]
7585 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
7586 pub struct X509Certificate {
7587 pub Version: u32,
7588 pub SerialNumber: [u32; 4],
7589 pub SignatureAlgorithm: super::super::Cryptography::ALG_ID,
7590 pub ValidFrom: super::super::super::Foundation::FILETIME,
7591 pub ValidUntil: super::super::super::Foundation::FILETIME,
7592 pub pszIssuer: ::windows_sys::core::PSTR,
7593 pub pszSubject: ::windows_sys::core::PSTR,
7594 pub pPublicKey: *mut PctPublicKey,
7595 }
7596 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
7597 impl ::core::marker::Copy for X509Certificate {}
7598 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
7599 impl ::core::clone::Clone for X509Certificate {
7600 fn clone(&self) -> Self {
7601 *self
7602 }
7603 }
7604 pub type _HMAPPER = isize;
7605 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
7606 #[cfg(feature = "Win32_Security_Credentials")]
7607 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>;
7608 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
7609 #[cfg(feature = "Win32_Security_Credentials")]
7610 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>;
7611 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
7612 #[cfg(feature = "Win32_Security_Credentials")]
7613 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>;
7614 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
7615 #[cfg(feature = "Win32_Security_Credentials")]
7616 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>;
7617 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
7618 #[cfg(feature = "Win32_Security_Credentials")]
7619 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>;
7620 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
7621 #[cfg(feature = "Win32_Security_Credentials")]
7622 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>;
7623 #[doc = "Required features: `\"Win32_Foundation\"`"]
7624 #[cfg(feature = "Win32_Foundation")]
7625 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>;
7626 #[doc = "Required features: `\"Win32_Foundation\"`"]
7627 #[cfg(feature = "Win32_Foundation")]
7628 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>;
7629 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
7630 #[cfg(feature = "Win32_Security_Credentials")]
7631 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>;
7632 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`"]
7633 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
7634 pub type CredFreeCredentialsFn = ::core::option::Option<unsafe extern "system" fn(count: u32, credentials: *mut *mut ENCRYPTED_CREDENTIALW) -> ()>;
7635 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`"]
7636 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
7637 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>;
7638 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`"]
7639 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
7640 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>;
7641 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`"]
7642 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
7643 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>;
7644 #[doc = "Required features: `\"Win32_Foundation\"`"]
7645 #[cfg(feature = "Win32_Foundation")]
7646 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>;
7647 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
7648 #[cfg(feature = "Win32_Security_Credentials")]
7649 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>;
7650 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
7651 #[cfg(feature = "Win32_Security_Credentials")]
7652 pub type DELETE_SECURITY_CONTEXT_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT>;
7653 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
7654 #[cfg(feature = "Win32_Security_Credentials")]
7655 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>;
7656 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>;
7657 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>;
7658 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
7659 #[cfg(feature = "Win32_Security_Credentials")]
7660 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>;
7661 pub type FREE_CONTEXT_BUFFER_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>;
7662 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
7663 #[cfg(feature = "Win32_Security_Credentials")]
7664 pub type FREE_CREDENTIALS_HANDLE_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT>;
7665 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
7666 #[cfg(feature = "Win32_Security_Credentials")]
7667 pub type IMPERSONATE_SECURITY_CONTEXT_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT>;
7668 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
7669 #[cfg(feature = "Win32_Security_Credentials")]
7670 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>;
7671 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
7672 #[cfg(feature = "Win32_Security_Credentials")]
7673 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>;
7674 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
7675 #[cfg(feature = "Win32_Security_Credentials")]
7676 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>;
7677 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
7678 #[cfg(feature = "Win32_Security_Credentials")]
7679 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>;
7680 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`"]
7681 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
7682 pub type INIT_SECURITY_INTERFACE_A = ::core::option::Option<unsafe extern "system" fn() -> *mut SecurityFunctionTableA>;
7683 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`"]
7684 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
7685 pub type INIT_SECURITY_INTERFACE_W = ::core::option::Option<unsafe extern "system" fn() -> *mut SecurityFunctionTableW>;
7686 #[doc = "Required features: `\"Win32_Foundation\"`"]
7687 #[cfg(feature = "Win32_Foundation")]
7688 pub type KspCompleteTokenFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, token: *const SecBufferDesc) -> super::super::super::Foundation::NTSTATUS>;
7689 #[doc = "Required features: `\"Win32_Foundation\"`"]
7690 #[cfg(feature = "Win32_Foundation")]
7691 pub type KspDeleteContextFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, lsacontextid: *mut usize) -> super::super::super::Foundation::NTSTATUS>;
7692 #[doc = "Required features: `\"Win32_Foundation\"`"]
7693 #[cfg(feature = "Win32_Foundation")]
7694 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>;
7695 #[doc = "Required features: `\"Win32_Foundation\"`"]
7696 #[cfg(feature = "Win32_Foundation")]
7697 pub type KspInitContextFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, contextdata: *const SecBuffer, newcontextid: *mut usize) -> super::super::super::Foundation::NTSTATUS>;
7698 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
7699 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
7700 pub type KspInitPackageFn = ::core::option::Option<unsafe extern "system" fn(functiontable: *const SECPKG_KERNEL_FUNCTIONS) -> super::super::super::Foundation::NTSTATUS>;
7701 #[doc = "Required features: `\"Win32_Foundation\"`"]
7702 #[cfg(feature = "Win32_Foundation")]
7703 pub type KspMakeSignatureFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, fqop: u32, message: *const SecBufferDesc, messageseqno: u32) -> super::super::super::Foundation::NTSTATUS>;
7704 #[doc = "Required features: `\"Win32_Foundation\"`"]
7705 #[cfg(feature = "Win32_Foundation")]
7706 pub type KspMapHandleFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, lsacontextid: *mut usize) -> super::super::super::Foundation::NTSTATUS>;
7707 #[doc = "Required features: `\"Win32_Foundation\"`"]
7708 #[cfg(feature = "Win32_Foundation")]
7709 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>;
7710 #[doc = "Required features: `\"Win32_Foundation\"`"]
7711 #[cfg(feature = "Win32_Foundation")]
7712 pub type KspSealMessageFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, fqop: u32, message: *const SecBufferDesc, messageseqno: u32) -> super::super::super::Foundation::NTSTATUS>;
7713 #[doc = "Required features: `\"Win32_Foundation\"`"]
7714 #[cfg(feature = "Win32_Foundation")]
7715 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>;
7716 #[doc = "Required features: `\"Win32_Foundation\"`"]
7717 #[cfg(feature = "Win32_Foundation")]
7718 pub type KspSetPagingModeFn = ::core::option::Option<unsafe extern "system" fn(pagingmode: super::super::super::Foundation::BOOLEAN) -> super::super::super::Foundation::NTSTATUS>;
7719 #[doc = "Required features: `\"Win32_Foundation\"`"]
7720 #[cfg(feature = "Win32_Foundation")]
7721 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>;
7722 #[doc = "Required features: `\"Win32_Foundation\"`"]
7723 #[cfg(feature = "Win32_Foundation")]
7724 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>;
7725 #[doc = "Required features: `\"Win32_Foundation\"`"]
7726 #[cfg(feature = "Win32_Foundation")]
7727 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>;
7728 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
7729 #[cfg(feature = "Win32_Security_Credentials")]
7730 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>;
7731 pub type PKSEC_CREATE_CONTEXT_LIST = ::core::option::Option<unsafe extern "system" fn(r#type: KSEC_CONTEXT_TYPE) -> *mut ::core::ffi::c_void>;
7732 #[doc = "Required features: `\"Win32_System_Kernel\"`"]
7733 #[cfg(feature = "Win32_System_Kernel")]
7734 pub type PKSEC_DEREFERENCE_LIST_ENTRY = ::core::option::Option<unsafe extern "system" fn(entry: *const KSEC_LIST_ENTRY, delete: *mut u8) -> ()>;
7735 #[doc = "Required features: `\"Win32_System_Kernel\"`"]
7736 #[cfg(feature = "Win32_System_Kernel")]
7737 pub type PKSEC_INSERT_LIST_ENTRY = ::core::option::Option<unsafe extern "system" fn(list: *const ::core::ffi::c_void, entry: *const KSEC_LIST_ENTRY) -> ()>;
7738 pub type PKSEC_LOCATE_PKG_BY_ID = ::core::option::Option<unsafe extern "system" fn(packageid: u32) -> *mut ::core::ffi::c_void>;
7739 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`"]
7740 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
7741 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>;
7742 #[doc = "Required features: `\"Win32_Foundation\"`"]
7743 #[cfg(feature = "Win32_Foundation")]
7744 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>;
7745 #[doc = "Required features: `\"Win32_Foundation\"`"]
7746 #[cfg(feature = "Win32_Foundation")]
7747 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>;
7748 #[doc = "Required features: `\"Win32_Foundation\"`"]
7749 #[cfg(feature = "Win32_Foundation")]
7750 pub type PLSA_ADD_CREDENTIAL = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, authenticationpackage: u32, primarykeyvalue: *const LSA_STRING, credentials: *const LSA_STRING) -> super::super::super::Foundation::NTSTATUS>;
7751 #[doc = "Required features: `\"Win32_Foundation\"`"]
7752 #[cfg(feature = "Win32_Foundation")]
7753 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>;
7754 pub type PLSA_ALLOCATE_LSA_HEAP = ::core::option::Option<unsafe extern "system" fn(length: u32) -> *mut ::core::ffi::c_void>;
7755 pub type PLSA_ALLOCATE_PRIVATE_HEAP = ::core::option::Option<unsafe extern "system" fn(length: usize) -> *mut ::core::ffi::c_void>;
7756 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>;
7757 #[doc = "Required features: `\"Win32_Foundation\"`"]
7758 #[cfg(feature = "Win32_Foundation")]
7759 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>;
7760 #[doc = "Required features: `\"Win32_Foundation\"`"]
7761 #[cfg(feature = "Win32_Foundation")]
7762 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>;
7763 #[doc = "Required features: `\"Win32_Foundation\"`"]
7764 #[cfg(feature = "Win32_Foundation")]
7765 pub type PLSA_AP_INITIALIZE_PACKAGE = ::core::option::Option<unsafe extern "system" fn(authenticationpackageid: u32, lsadispatchtable: *const LSA_DISPATCH_TABLE, database: *const LSA_STRING, confidentiality: *const LSA_STRING, authenticationpackagename: *mut *mut LSA_STRING) -> super::super::super::Foundation::NTSTATUS>;
7766 #[doc = "Required features: `\"Win32_Foundation\"`"]
7767 #[cfg(feature = "Win32_Foundation")]
7768 pub type PLSA_AP_LOGON_TERMINATED = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID) -> ()>;
7769 #[doc = "Required features: `\"Win32_Foundation\"`"]
7770 #[cfg(feature = "Win32_Foundation")]
7771 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 LSA_UNICODE_STRING, authenticatingauthority: *mut *mut LSA_UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS>;
7772 #[doc = "Required features: `\"Win32_Foundation\"`"]
7773 #[cfg(feature = "Win32_Foundation")]
7774 pub type PLSA_AP_LOGON_USER_EX = ::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 LSA_UNICODE_STRING, authenticatingauthority: *mut *mut LSA_UNICODE_STRING, machinename: *mut *mut LSA_UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS>;
7775 #[doc = "Required features: `\"Win32_Foundation\"`"]
7776 #[cfg(feature = "Win32_Foundation")]
7777 pub type PLSA_AP_LOGON_USER_EX2 = ::core::option::Option<
7778 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, profilebuffer: *mut *mut ::core::ffi::c_void, profilebuffersize: *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 LSA_UNICODE_STRING, authenticatingauthority: *mut *mut LSA_UNICODE_STRING, machinename: *mut *mut LSA_UNICODE_STRING, primarycredentials: *mut SECPKG_PRIMARY_CRED, supplementalcredentials: *mut *mut SECPKG_SUPPLEMENTAL_CRED_ARRAY) -> super::super::super::Foundation::NTSTATUS,
7779 >;
7780 #[doc = "Required features: `\"Win32_Foundation\"`"]
7781 #[cfg(feature = "Win32_Foundation")]
7782 pub type PLSA_AP_LOGON_USER_EX3 = ::core::option::Option<
7783 unsafe extern "system" fn(
7784 clientrequest: *const *const ::core::ffi::c_void,
7785 logontype: SECURITY_LOGON_TYPE,
7786 protocolsubmitbuffer: *const ::core::ffi::c_void,
7787 clientbufferbase: *const ::core::ffi::c_void,
7788 submitbuffersize: u32,
7789 surrogatelogon: *mut SECPKG_SURROGATE_LOGON,
7790 profilebuffer: *mut *mut ::core::ffi::c_void,
7791 profilebuffersize: *mut u32,
7792 logonid: *mut super::super::super::Foundation::LUID,
7793 substatus: *mut i32,
7794 tokeninformationtype: *mut LSA_TOKEN_INFORMATION_TYPE,
7795 tokeninformation: *mut *mut ::core::ffi::c_void,
7796 accountname: *mut *mut LSA_UNICODE_STRING,
7797 authenticatingauthority: *mut *mut LSA_UNICODE_STRING,
7798 machinename: *mut *mut LSA_UNICODE_STRING,
7799 primarycredentials: *mut SECPKG_PRIMARY_CRED,
7800 supplementalcredentials: *mut *mut SECPKG_SUPPLEMENTAL_CRED_ARRAY,
7801 ) -> super::super::super::Foundation::NTSTATUS,
7802 >;
7803 #[doc = "Required features: `\"Win32_Foundation\"`"]
7804 #[cfg(feature = "Win32_Foundation")]
7805 pub type PLSA_AP_POST_LOGON_USER_SURROGATE = ::core::option::Option<
7806 unsafe extern "system" fn(
7807 clientrequest: *const *const ::core::ffi::c_void,
7808 logontype: SECURITY_LOGON_TYPE,
7809 protocolsubmitbuffer: *const ::core::ffi::c_void,
7810 clientbufferbase: *const ::core::ffi::c_void,
7811 submitbuffersize: u32,
7812 surrogatelogon: *const SECPKG_SURROGATE_LOGON,
7813 profilebuffer: *const ::core::ffi::c_void,
7814 profilebuffersize: u32,
7815 logonid: *const super::super::super::Foundation::LUID,
7816 status: super::super::super::Foundation::NTSTATUS,
7817 substatus: super::super::super::Foundation::NTSTATUS,
7818 tokeninformationtype: LSA_TOKEN_INFORMATION_TYPE,
7819 tokeninformation: *const ::core::ffi::c_void,
7820 accountname: *const LSA_UNICODE_STRING,
7821 authenticatingauthority: *const LSA_UNICODE_STRING,
7822 machinename: *const LSA_UNICODE_STRING,
7823 primarycredentials: *const SECPKG_PRIMARY_CRED,
7824 supplementalcredentials: *const SECPKG_SUPPLEMENTAL_CRED_ARRAY,
7825 ) -> super::super::super::Foundation::NTSTATUS,
7826 >;
7827 #[doc = "Required features: `\"Win32_Foundation\"`"]
7828 #[cfg(feature = "Win32_Foundation")]
7829 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>;
7830 #[doc = "Required features: `\"Win32_Foundation\"`"]
7831 #[cfg(feature = "Win32_Foundation")]
7832 pub type PLSA_AUDIT_ACCOUNT_LOGON = ::core::option::Option<unsafe extern "system" fn(auditid: u32, success: super::super::super::Foundation::BOOLEAN, source: *const LSA_UNICODE_STRING, clientname: *const LSA_UNICODE_STRING, mappedname: *const LSA_UNICODE_STRING, status: super::super::super::Foundation::NTSTATUS) -> super::super::super::Foundation::NTSTATUS>;
7833 #[doc = "Required features: `\"Win32_Foundation\"`"]
7834 #[cfg(feature = "Win32_Foundation")]
7835 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 LSA_UNICODE_STRING, authenticatingauthority: *const LSA_UNICODE_STRING, workstationname: *const LSA_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) -> ()>;
7836 #[doc = "Required features: `\"Win32_Foundation\"`"]
7837 #[cfg(feature = "Win32_Foundation")]
7838 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 LSA_UNICODE_STRING, authenticatingauthority: *const LSA_UNICODE_STRING, workstationname: *const LSA_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) -> ()>;
7839 #[doc = "Required features: `\"Win32_Foundation\"`"]
7840 #[cfg(feature = "Win32_Foundation")]
7841 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>;
7842 #[doc = "Required features: `\"Win32_Foundation\"`"]
7843 #[cfg(feature = "Win32_Foundation")]
7844 pub type PLSA_CALL_PACKAGE = ::core::option::Option<unsafe extern "system" fn(authenticationpackage: *const LSA_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>;
7845 #[doc = "Required features: `\"Win32_Foundation\"`"]
7846 #[cfg(feature = "Win32_Foundation")]
7847 pub type PLSA_CALL_PACKAGEEX = ::core::option::Option<unsafe extern "system" fn(authenticationpackage: *const LSA_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>;
7848 #[doc = "Required features: `\"Win32_Foundation\"`"]
7849 #[cfg(feature = "Win32_Foundation")]
7850 pub type PLSA_CALL_PACKAGE_PASSTHROUGH = ::core::option::Option<unsafe extern "system" fn(authenticationpackage: *const LSA_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>;
7851 #[doc = "Required features: `\"Win32_Foundation\"`"]
7852 #[cfg(feature = "Win32_Foundation")]
7853 pub type PLSA_CANCEL_NOTIFICATION = ::core::option::Option<unsafe extern "system" fn(notifyhandle: super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS>;
7854 #[doc = "Required features: `\"Win32_Foundation\"`"]
7855 #[cfg(feature = "Win32_Foundation")]
7856 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>;
7857 #[doc = "Required features: `\"Win32_Foundation\"`"]
7858 #[cfg(feature = "Win32_Foundation")]
7859 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>;
7860 #[doc = "Required features: `\"Win32_Foundation\"`"]
7861 #[cfg(feature = "Win32_Foundation")]
7862 pub type PLSA_CLOSE_SAM_USER = ::core::option::Option<unsafe extern "system" fn(userhandle: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>;
7863 #[doc = "Required features: `\"Win32_Foundation\"`"]
7864 #[cfg(feature = "Win32_Foundation")]
7865 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 LSA_UNICODE_STRING, token: *mut super::super::super::Foundation::HANDLE, logonid: *mut super::super::super::Foundation::LUID, accountname: *mut LSA_UNICODE_STRING, substatus: *mut i32) -> super::super::super::Foundation::NTSTATUS>;
7866 #[doc = "Required features: `\"Win32_Foundation\"`"]
7867 #[cfg(feature = "Win32_Foundation")]
7868 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>;
7869 #[doc = "Required features: `\"Win32_Foundation\"`"]
7870 #[cfg(feature = "Win32_Foundation")]
7871 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>;
7872 #[doc = "Required features: `\"Win32_Foundation\"`"]
7873 #[cfg(feature = "Win32_Foundation")]
7874 pub type PLSA_CRACK_SINGLE_NAME = ::core::option::Option<unsafe extern "system" fn(formatoffered: u32, performatgc: super::super::super::Foundation::BOOLEAN, nameinput: *const LSA_UNICODE_STRING, prefix: *const LSA_UNICODE_STRING, requestedformat: u32, crackedname: *mut LSA_UNICODE_STRING, dnsdomainname: *mut LSA_UNICODE_STRING, substatus: *mut u32) -> super::super::super::Foundation::NTSTATUS>;
7875 #[doc = "Required features: `\"Win32_Foundation\"`"]
7876 #[cfg(feature = "Win32_Foundation")]
7877 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>;
7878 pub type PLSA_CREATE_SHARED_MEMORY = ::core::option::Option<unsafe extern "system" fn(maxsize: u32, initialsize: u32) -> *mut ::core::ffi::c_void>;
7879 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`"]
7880 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))]
7881 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>;
7882 #[doc = "Required features: `\"Win32_Foundation\"`"]
7883 #[cfg(feature = "Win32_Foundation")]
7884 pub type PLSA_CREATE_TOKEN = ::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 LSA_UNICODE_STRING, authorityname: *const LSA_UNICODE_STRING, workstation: *const LSA_UNICODE_STRING, profilepath: *const LSA_UNICODE_STRING, token: *mut super::super::super::Foundation::HANDLE, substatus: *mut i32) -> super::super::super::Foundation::NTSTATUS>;
7885 #[doc = "Required features: `\"Win32_Foundation\"`"]
7886 #[cfg(feature = "Win32_Foundation")]
7887 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 LSA_UNICODE_STRING, profilepath: *const LSA_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>;
7888 #[doc = "Required features: `\"Win32_Foundation\"`"]
7889 #[cfg(feature = "Win32_Foundation")]
7890 pub type PLSA_DELETE_CREDENTIAL = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, authenticationpackage: u32, primarykeyvalue: *const LSA_STRING) -> super::super::super::Foundation::NTSTATUS>;
7891 #[doc = "Required features: `\"Win32_Foundation\"`"]
7892 #[cfg(feature = "Win32_Foundation")]
7893 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>;
7894 #[doc = "Required features: `\"Win32_Foundation\"`"]
7895 #[cfg(feature = "Win32_Foundation")]
7896 pub type PLSA_DELETE_SHARED_MEMORY = ::core::option::Option<unsafe extern "system" fn(sharedmem: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOLEAN>;
7897 #[doc = "Required features: `\"Win32_Foundation\"`"]
7898 #[cfg(feature = "Win32_Foundation")]
7899 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>;
7900 #[doc = "Required features: `\"Win32_Foundation\"`"]
7901 #[cfg(feature = "Win32_Foundation")]
7902 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>;
7903 #[doc = "Required features: `\"Win32_Foundation\"`"]
7904 #[cfg(feature = "Win32_Foundation")]
7905 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>;
7906 pub type PLSA_FREE_LSA_HEAP = ::core::option::Option<unsafe extern "system" fn(base: *const ::core::ffi::c_void) -> ()>;
7907 pub type PLSA_FREE_PRIVATE_HEAP = ::core::option::Option<unsafe extern "system" fn(base: *const ::core::ffi::c_void) -> ()>;
7908 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) -> ()>;
7909 #[doc = "Required features: `\"Win32_Foundation\"`"]
7910 #[cfg(feature = "Win32_Foundation")]
7911 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>;
7912 #[doc = "Required features: `\"Win32_Foundation\"`"]
7913 #[cfg(feature = "Win32_Foundation")]
7914 pub type PLSA_GET_AUTH_DATA_FOR_USER = ::core::option::Option<unsafe extern "system" fn(name: *const SECURITY_STRING, nametype: SECPKG_NAME_TYPE, prefix: *const SECURITY_STRING, userauthdata: *mut *mut u8, userauthdatasize: *mut u32, userflatname: *mut LSA_UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS>;
7915 #[doc = "Required features: `\"Win32_Foundation\"`"]
7916 #[cfg(feature = "Win32_Foundation")]
7917 pub type PLSA_GET_CALL_INFO = ::core::option::Option<unsafe extern "system" fn(info: *mut SECPKG_CALL_INFO) -> super::super::super::Foundation::BOOLEAN>;
7918 #[doc = "Required features: `\"Win32_Foundation\"`"]
7919 #[cfg(feature = "Win32_Foundation")]
7920 pub type PLSA_GET_CLIENT_INFO = ::core::option::Option<unsafe extern "system" fn(clientinfo: *mut SECPKG_CLIENT_INFO) -> super::super::super::Foundation::NTSTATUS>;
7921 #[doc = "Required features: `\"Win32_Foundation\"`"]
7922 #[cfg(feature = "Win32_Foundation")]
7923 pub type PLSA_GET_CLIENT_INFO_EX = ::core::option::Option<unsafe extern "system" fn(clientinfo: *mut SECPKG_CLIENT_INFO_EX, structsize: u32) -> super::super::super::Foundation::NTSTATUS>;
7924 #[doc = "Required features: `\"Win32_Foundation\"`"]
7925 #[cfg(feature = "Win32_Foundation")]
7926 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 LSA_STRING, primarykeylength: *mut u32, credentials: *const LSA_STRING) -> super::super::super::Foundation::NTSTATUS>;
7927 #[doc = "Required features: `\"Win32_Foundation\"`"]
7928 #[cfg(feature = "Win32_Foundation")]
7929 pub type PLSA_GET_EXTENDED_CALL_FLAGS = ::core::option::Option<unsafe extern "system" fn(flags: *mut u32) -> super::super::super::Foundation::NTSTATUS>;
7930 #[doc = "Required features: `\"Win32_Foundation\"`"]
7931 #[cfg(feature = "Win32_Foundation")]
7932 pub type PLSA_GET_SERVICE_ACCOUNT_PASSWORD = ::core::option::Option<unsafe extern "system" fn(accountname: *const LSA_UNICODE_STRING, domainname: *const LSA_UNICODE_STRING, credfetch: CRED_FETCH, filetimeexpiry: *mut super::super::super::Foundation::FILETIME, currentpassword: *mut LSA_UNICODE_STRING, previouspassword: *mut LSA_UNICODE_STRING, filetimecurrpwdvalidforoutbound: *mut super::super::super::Foundation::FILETIME) -> super::super::super::Foundation::NTSTATUS>;
7933 #[doc = "Required features: `\"Win32_Foundation\"`"]
7934 #[cfg(feature = "Win32_Foundation")]
7935 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>;
7936 #[doc = "Required features: `\"Win32_Foundation\"`"]
7937 #[cfg(feature = "Win32_Foundation")]
7938 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>;
7939 #[doc = "Required features: `\"Win32_Foundation\"`"]
7940 #[cfg(feature = "Win32_Foundation")]
7941 pub type PLSA_IMPERSONATE_CLIENT = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Foundation::NTSTATUS>;
7942 pub type PLSA_LOCATE_PKG_BY_ID = ::core::option::Option<unsafe extern "system" fn(packgeid: u32) -> *mut ::core::ffi::c_void>;
7943 #[doc = "Required features: `\"Win32_Foundation\"`"]
7944 #[cfg(feature = "Win32_Foundation")]
7945 pub type PLSA_MAP_BUFFER = ::core::option::Option<unsafe extern "system" fn(inputbuffer: *const SecBuffer, outputbuffer: *mut SecBuffer) -> super::super::super::Foundation::NTSTATUS>;
7946 #[doc = "Required features: `\"Win32_Foundation\"`"]
7947 #[cfg(feature = "Win32_Foundation")]
7948 pub type PLSA_OPEN_SAM_USER = ::core::option::Option<unsafe extern "system" fn(name: *const SECURITY_STRING, nametype: SECPKG_NAME_TYPE, prefix: *const SECURITY_STRING, allowguest: super::super::super::Foundation::BOOLEAN, reserved: u32, userhandle: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>;
7949 #[doc = "Required features: `\"Win32_Foundation\"`"]
7950 #[cfg(feature = "Win32_Foundation")]
7951 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>;
7952 pub type PLSA_PROTECT_MEMORY = ::core::option::Option<unsafe extern "system" fn(buffer: *mut ::core::ffi::c_void, buffersize: u32) -> ()>;
7953 #[doc = "Required features: `\"Win32_Foundation\"`"]
7954 #[cfg(feature = "Win32_Foundation")]
7955 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>;
7956 #[doc = "Required features: `\"Win32_Foundation\"`"]
7957 #[cfg(feature = "Win32_Foundation")]
7958 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>;
7959 #[doc = "Required features: `\"Win32_Foundation\"`"]
7960 #[cfg(feature = "Win32_Foundation")]
7961 pub type PLSA_REDIRECTED_LOGON_CLEANUP_CALLBACK = ::core::option::Option<unsafe extern "system" fn(redirectedlogonhandle: super::super::super::Foundation::HANDLE) -> ()>;
7962 #[doc = "Required features: `\"Win32_Foundation\"`"]
7963 #[cfg(feature = "Win32_Foundation")]
7964 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>;
7965 #[doc = "Required features: `\"Win32_Foundation\"`"]
7966 #[cfg(feature = "Win32_Foundation")]
7967 pub type PLSA_REDIRECTED_LOGON_GET_SID = ::core::option::Option<unsafe extern "system" fn(redirectedlogonhandle: super::super::super::Foundation::HANDLE, sid: *mut super::super::super::Foundation::PSID) -> super::super::super::Foundation::NTSTATUS>;
7968 #[doc = "Required features: `\"Win32_Foundation\"`"]
7969 #[cfg(feature = "Win32_Foundation")]
7970 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>;
7971 #[doc = "Required features: `\"Win32_Foundation\"`"]
7972 #[cfg(feature = "Win32_Foundation")]
7973 pub type PLSA_REDIRECTED_LOGON_INIT = ::core::option::Option<unsafe extern "system" fn(redirectedlogonhandle: super::super::super::Foundation::HANDLE, packagename: *const LSA_UNICODE_STRING, sessionid: u32, logonid: *const super::super::super::Foundation::LUID) -> super::super::super::Foundation::NTSTATUS>;
7974 #[doc = "Required features: `\"Win32_Foundation\"`"]
7975 #[cfg(feature = "Win32_Foundation")]
7976 pub type PLSA_REGISTER_CALLBACK = ::core::option::Option<unsafe extern "system" fn(callbackid: u32, callback: PLSA_CALLBACK_FUNCTION) -> super::super::super::Foundation::NTSTATUS>;
7977 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`"]
7978 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))]
7979 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>;
7980 #[doc = "Required features: `\"Win32_Foundation\"`"]
7981 #[cfg(feature = "Win32_Foundation")]
7982 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>;
7983 #[doc = "Required features: `\"Win32_Foundation\"`"]
7984 #[cfg(feature = "Win32_Foundation")]
7985 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>;
7986 #[doc = "Required features: `\"Win32_Foundation\"`"]
7987 #[cfg(feature = "Win32_Foundation")]
7988 pub type PLSA_UNLOAD_PACKAGE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Foundation::NTSTATUS>;
7989 #[doc = "Required features: `\"Win32_Foundation\"`"]
7990 #[cfg(feature = "Win32_Foundation")]
7991 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>;
7992 pub type PSAM_CREDENTIAL_UPDATE_FREE_ROUTINE = ::core::option::Option<unsafe extern "system" fn(p: *const ::core::ffi::c_void) -> ()>;
7993 #[doc = "Required features: `\"Win32_Foundation\"`"]
7994 #[cfg(feature = "Win32_Foundation")]
7995 pub type PSAM_CREDENTIAL_UPDATE_NOTIFY_ROUTINE = ::core::option::Option<unsafe extern "system" fn(clearpassword: *const LSA_UNICODE_STRING, oldcredentials: *const ::core::ffi::c_void, oldcredentialsize: u32, useraccountcontrol: u32, upn: *const LSA_UNICODE_STRING, username: *const LSA_UNICODE_STRING, netbiosdomainname: *const LSA_UNICODE_STRING, dnsdomainname: *const LSA_UNICODE_STRING, newcredentials: *mut *mut ::core::ffi::c_void, newcredentialsize: *mut u32) -> super::super::super::Foundation::NTSTATUS>;
7996 #[doc = "Required features: `\"Win32_Foundation\"`"]
7997 #[cfg(feature = "Win32_Foundation")]
7998 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>;
7999 #[doc = "Required features: `\"Win32_Foundation\"`"]
8000 #[cfg(feature = "Win32_Foundation")]
8001 pub type PSAM_CREDENTIAL_UPDATE_REGISTER_ROUTINE = ::core::option::Option<unsafe extern "system" fn(credentialname: *mut LSA_UNICODE_STRING) -> super::super::super::Foundation::BOOLEAN>;
8002 #[doc = "Required features: `\"Win32_Foundation\"`"]
8003 #[cfg(feature = "Win32_Foundation")]
8004 pub type PSAM_INIT_NOTIFICATION_ROUTINE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Foundation::BOOLEAN>;
8005 #[doc = "Required features: `\"Win32_Foundation\"`"]
8006 #[cfg(feature = "Win32_Foundation")]
8007 pub type PSAM_PASSWORD_FILTER_ROUTINE = ::core::option::Option<unsafe extern "system" fn(accountname: *const LSA_UNICODE_STRING, fullname: *const LSA_UNICODE_STRING, password: *const LSA_UNICODE_STRING, setoperation: super::super::super::Foundation::BOOLEAN) -> super::super::super::Foundation::BOOLEAN>;
8008 #[doc = "Required features: `\"Win32_Foundation\"`"]
8009 #[cfg(feature = "Win32_Foundation")]
8010 pub type PSAM_PASSWORD_NOTIFICATION_ROUTINE = ::core::option::Option<unsafe extern "system" fn(username: *mut LSA_UNICODE_STRING, relativeid: u32, newpassword: *mut LSA_UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS>;
8011 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
8012 #[cfg(feature = "Win32_Security_Credentials")]
8013 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>;
8014 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
8015 #[cfg(feature = "Win32_Security_Credentials")]
8016 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>;
8017 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
8018 #[cfg(feature = "Win32_Security_Credentials")]
8019 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>;
8020 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
8021 #[cfg(feature = "Win32_Security_Credentials")]
8022 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>;
8023 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
8024 #[cfg(feature = "Win32_Security_Credentials")]
8025 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>;
8026 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
8027 #[cfg(feature = "Win32_Security_Credentials")]
8028 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>;
8029 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
8030 #[cfg(feature = "Win32_Security_Credentials")]
8031 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>;
8032 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
8033 #[cfg(feature = "Win32_Security_Credentials")]
8034 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>;
8035 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
8036 #[cfg(feature = "Win32_Security_Credentials")]
8037 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>;
8038 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>;
8039 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>;
8040 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
8041 #[cfg(feature = "Win32_Security_Credentials")]
8042 pub type REVERT_SECURITY_CONTEXT_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT>;
8043 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) -> ()>;
8044 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
8045 #[cfg(feature = "Win32_Security_Credentials")]
8046 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>;
8047 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
8048 #[cfg(feature = "Win32_Security_Credentials")]
8049 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>;
8050 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
8051 #[cfg(feature = "Win32_Security_Credentials")]
8052 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>;
8053 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
8054 #[cfg(feature = "Win32_Security_Credentials")]
8055 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>;
8056 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"]
8057 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
8058 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>;
8059 #[doc = "Required features: `\"Win32_Foundation\"`"]
8060 #[cfg(feature = "Win32_Foundation")]
8061 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>;
8062 #[doc = "Required features: `\"Win32_Foundation\"`"]
8063 #[cfg(feature = "Win32_Foundation")]
8064 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>;
8065 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"]
8066 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
8067 pub type SSL_FREE_CERTIFICATE_FN = ::core::option::Option<unsafe extern "system" fn(pcertificate: *mut X509Certificate) -> ()>;
8068 #[doc = "Required features: `\"Win32_Foundation\"`"]
8069 #[cfg(feature = "Win32_Foundation")]
8070 pub type SpAcceptCredentialsFn = ::core::option::Option<unsafe extern "system" fn(logontype: SECURITY_LOGON_TYPE, accountname: *const LSA_UNICODE_STRING, primarycredentials: *const SECPKG_PRIMARY_CRED, supplementalcredentials: *const SECPKG_SUPPLEMENTAL_CRED) -> super::super::super::Foundation::NTSTATUS>;
8071 #[doc = "Required features: `\"Win32_Foundation\"`"]
8072 #[cfg(feature = "Win32_Foundation")]
8073 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>;
8074 #[doc = "Required features: `\"Win32_Foundation\"`"]
8075 #[cfg(feature = "Win32_Foundation")]
8076 pub type SpAcquireCredentialsHandleFn = ::core::option::Option<unsafe extern "system" fn(principalname: *const LSA_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>;
8077 #[doc = "Required features: `\"Win32_Foundation\"`"]
8078 #[cfg(feature = "Win32_Foundation")]
8079 pub type SpAddCredentialsFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, principalname: *const LSA_UNICODE_STRING, package: *const LSA_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>;
8080 #[doc = "Required features: `\"Win32_Foundation\"`"]
8081 #[cfg(feature = "Win32_Foundation")]
8082 pub type SpApplyControlTokenFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, controltoken: *const SecBufferDesc) -> super::super::super::Foundation::NTSTATUS>;
8083 #[doc = "Required features: `\"Win32_Foundation\"`"]
8084 #[cfg(feature = "Win32_Foundation")]
8085 pub type SpChangeAccountPasswordFn = ::core::option::Option<unsafe extern "system" fn(pdomainname: *const LSA_UNICODE_STRING, paccountname: *const LSA_UNICODE_STRING, poldpassword: *const LSA_UNICODE_STRING, pnewpassword: *const LSA_UNICODE_STRING, impersonating: super::super::super::Foundation::BOOLEAN, poutput: *mut SecBufferDesc) -> super::super::super::Foundation::NTSTATUS>;
8086 #[doc = "Required features: `\"Win32_Foundation\"`"]
8087 #[cfg(feature = "Win32_Foundation")]
8088 pub type SpCompleteAuthTokenFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, inputbuffer: *const SecBufferDesc) -> super::super::super::Foundation::NTSTATUS>;
8089 #[doc = "Required features: `\"Win32_Foundation\"`"]
8090 #[cfg(feature = "Win32_Foundation")]
8091 pub type SpDeleteContextFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize) -> super::super::super::Foundation::NTSTATUS>;
8092 #[doc = "Required features: `\"Win32_Foundation\"`"]
8093 #[cfg(feature = "Win32_Foundation")]
8094 pub type SpDeleteCredentialsFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, key: *const SecBuffer) -> super::super::super::Foundation::NTSTATUS>;
8095 #[doc = "Required features: `\"Win32_Foundation\"`"]
8096 #[cfg(feature = "Win32_Foundation")]
8097 pub type SpExchangeMetaDataFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, targetname: *const LSA_UNICODE_STRING, contextrequirements: u32, metadatalength: u32, metadata: *const u8, contexthandle: *mut usize) -> super::super::super::Foundation::NTSTATUS>;
8098 #[doc = "Required features: `\"Win32_Foundation\"`"]
8099 #[cfg(feature = "Win32_Foundation")]
8100 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>;
8101 #[doc = "Required features: `\"Win32_Foundation\"`"]
8102 #[cfg(feature = "Win32_Foundation")]
8103 pub type SpExtractTargetInfoFn = ::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, ppvtargetinfo: *mut *mut ::core::ffi::c_void, pcbtargetinfo: *mut u32) -> super::super::super::Foundation::NTSTATUS>;
8104 #[doc = "Required features: `\"Win32_Foundation\"`"]
8105 #[cfg(feature = "Win32_Foundation")]
8106 pub type SpFormatCredentialsFn = ::core::option::Option<unsafe extern "system" fn(credentials: *const SecBuffer, formattedcredentials: *mut SecBuffer) -> super::super::super::Foundation::NTSTATUS>;
8107 #[doc = "Required features: `\"Win32_Foundation\"`"]
8108 #[cfg(feature = "Win32_Foundation")]
8109 pub type SpFreeCredentialsHandleFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize) -> super::super::super::Foundation::NTSTATUS>;
8110 #[doc = "Required features: `\"Win32_Foundation\"`"]
8111 #[cfg(feature = "Win32_Foundation")]
8112 pub type SpGetContextTokenFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, impersonationtoken: *mut super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS>;
8113 #[doc = "Required features: `\"Win32_Foundation\"`"]
8114 #[cfg(feature = "Win32_Foundation")]
8115 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>;
8116 #[doc = "Required features: `\"Win32_Foundation\"`"]
8117 #[cfg(feature = "Win32_Foundation")]
8118 pub type SpGetCredentialsFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, credentials: *mut SecBuffer) -> super::super::super::Foundation::NTSTATUS>;
8119 #[doc = "Required features: `\"Win32_Foundation\"`"]
8120 #[cfg(feature = "Win32_Foundation")]
8121 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>;
8122 #[doc = "Required features: `\"Win32_Foundation\"`"]
8123 #[cfg(feature = "Win32_Foundation")]
8124 pub type SpGetInfoFn = ::core::option::Option<unsafe extern "system" fn(packageinfo: *mut SecPkgInfoA) -> super::super::super::Foundation::NTSTATUS>;
8125 #[doc = "Required features: `\"Win32_Foundation\"`"]
8126 #[cfg(feature = "Win32_Foundation")]
8127 pub type SpGetRemoteCredGuardLogonBufferFn = ::core::option::Option<unsafe extern "system" fn(credhandle: usize, contexthandle: usize, targetname: *const LSA_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>;
8128 #[doc = "Required features: `\"Win32_Foundation\"`"]
8129 #[cfg(feature = "Win32_Foundation")]
8130 pub type SpGetRemoteCredGuardSupplementalCredsFn = ::core::option::Option<unsafe extern "system" fn(credhandle: usize, targetname: *const LSA_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>;
8131 #[doc = "Required features: `\"Win32_Foundation\"`"]
8132 #[cfg(feature = "Win32_Foundation")]
8133 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>;
8134 #[doc = "Required features: `\"Win32_Foundation\"`"]
8135 #[cfg(feature = "Win32_Foundation")]
8136 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>;
8137 #[doc = "Required features: `\"Win32_Foundation\"`"]
8138 #[cfg(feature = "Win32_Foundation")]
8139 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>;
8140 #[doc = "Required features: `\"Win32_Foundation\"`"]
8141 #[cfg(feature = "Win32_Foundation")]
8142 pub type SpInitLsaModeContextFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, contexthandle: usize, targetname: *const LSA_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>;
8143 #[doc = "Required features: `\"Win32_Foundation\"`"]
8144 #[cfg(feature = "Win32_Foundation")]
8145 pub type SpInitUserModeContextFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, packedcontext: *const SecBuffer) -> super::super::super::Foundation::NTSTATUS>;
8146 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`, `\"Win32_System_Threading\"`"]
8147 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Threading"))]
8148 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>;
8149 #[doc = "Required features: `\"Win32_Foundation\"`"]
8150 #[cfg(feature = "Win32_Foundation")]
8151 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>;
8152 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`, `\"Win32_System_Threading\"`"]
8153 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Threading"))]
8154 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>;
8155 #[doc = "Required features: `\"Win32_Foundation\"`"]
8156 #[cfg(feature = "Win32_Foundation")]
8157 pub type SpMakeSignatureFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, qualityofprotection: u32, messagebuffers: *const SecBufferDesc, messagesequencenumber: u32) -> super::super::super::Foundation::NTSTATUS>;
8158 #[doc = "Required features: `\"Win32_Foundation\"`"]
8159 #[cfg(feature = "Win32_Foundation")]
8160 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>;
8161 #[doc = "Required features: `\"Win32_Foundation\"`"]
8162 #[cfg(feature = "Win32_Foundation")]
8163 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>;
8164 #[doc = "Required features: `\"Win32_Foundation\"`"]
8165 #[cfg(feature = "Win32_Foundation")]
8166 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>;
8167 #[doc = "Required features: `\"Win32_Foundation\"`"]
8168 #[cfg(feature = "Win32_Foundation")]
8169 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>;
8170 #[doc = "Required features: `\"Win32_Foundation\"`"]
8171 #[cfg(feature = "Win32_Foundation")]
8172 pub type SpQueryMetaDataFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, targetname: *const LSA_UNICODE_STRING, contextrequirements: u32, metadatalength: *mut u32, metadata: *mut *mut u8, contexthandle: *mut usize) -> super::super::super::Foundation::NTSTATUS>;
8173 #[doc = "Required features: `\"Win32_Foundation\"`"]
8174 #[cfg(feature = "Win32_Foundation")]
8175 pub type SpSaveCredentialsFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, credentials: *const SecBuffer) -> super::super::super::Foundation::NTSTATUS>;
8176 #[doc = "Required features: `\"Win32_Foundation\"`"]
8177 #[cfg(feature = "Win32_Foundation")]
8178 pub type SpSealMessageFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, qualityofprotection: u32, messagebuffers: *const SecBufferDesc, messagesequencenumber: u32) -> super::super::super::Foundation::NTSTATUS>;
8179 #[doc = "Required features: `\"Win32_Foundation\"`"]
8180 #[cfg(feature = "Win32_Foundation")]
8181 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>;
8182 #[doc = "Required features: `\"Win32_Foundation\"`"]
8183 #[cfg(feature = "Win32_Foundation")]
8184 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>;
8185 #[doc = "Required features: `\"Win32_Foundation\"`"]
8186 #[cfg(feature = "Win32_Foundation")]
8187 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>;
8188 #[doc = "Required features: `\"Win32_Foundation\"`"]
8189 #[cfg(feature = "Win32_Foundation")]
8190 pub type SpShutdownFn = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Foundation::NTSTATUS>;
8191 #[doc = "Required features: `\"Win32_Foundation\"`"]
8192 #[cfg(feature = "Win32_Foundation")]
8193 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>;
8194 #[doc = "Required features: `\"Win32_Foundation\"`"]
8195 #[cfg(feature = "Win32_Foundation")]
8196 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>;
8197 #[doc = "Required features: `\"Win32_Foundation\"`"]
8198 #[cfg(feature = "Win32_Foundation")]
8199 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>;
8200 #[doc = "Required features: `\"Win32_Foundation\"`"]
8201 #[cfg(feature = "Win32_Foundation")]
8202 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>;
8203 #[doc = "Required features: `\"Win32_Foundation\"`"]
8204 #[cfg(feature = "Win32_Foundation")]
8205 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>;
8206 #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"]
8207 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
8208 pub type SslDeserializeCertificateStoreFn = ::core::option::Option<unsafe extern "system" fn(serializedcertificatestore: super::super::Cryptography::CRYPT_INTEGER_BLOB, ppcertcontext: *mut *mut super::super::Cryptography::CERT_CONTEXT) -> ::windows_sys::core::HRESULT>;
8209 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>;
8210 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>;
8211 #[doc = "Required features: `\"Win32_Security_Credentials\"`"]
8212 #[cfg(feature = "Win32_Security_Credentials")]
8213 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>;