]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Win32/Security/Authentication/Identity/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Win32 / Security / Authentication / Identity / mod.rs
CommitLineData
5e7ed085
FG
1#[cfg(feature = "Win32_Security_Authentication_Identity_Provider")]
2pub mod Provider;
3#[link(name = "windows")]
4extern "system" {
04454e1e 5 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 6 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 7 pub fn AcceptSecurityContext(phcredential: *const super::super::Credentials::SecHandle, phcontext: *const super::super::Credentials::SecHandle, pinput: *const SecBufferDesc, fcontextreq: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ, targetdatarep: u32, phnewcontext: *mut super::super::Credentials::SecHandle, poutput: *mut SecBufferDesc, pfcontextattr: *mut u32, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT;
04454e1e
FG
8 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
9 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 10 pub fn AcquireCredentialsHandleA(pszprincipal: ::windows_sys::core::PCSTR, pszpackage: ::windows_sys::core::PCSTR, fcredentialuse: SECPKG_CRED, pvlogonid: *const ::core::ffi::c_void, pauthdata: *const ::core::ffi::c_void, pgetkeyfn: SEC_GET_KEY_FN, pvgetkeyargument: *const ::core::ffi::c_void, phcredential: *mut super::super::Credentials::SecHandle, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT;
04454e1e
FG
11 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
12 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 13 pub fn AcquireCredentialsHandleW(pszprincipal: ::windows_sys::core::PCWSTR, pszpackage: ::windows_sys::core::PCWSTR, fcredentialuse: SECPKG_CRED, pvlogonid: *const ::core::ffi::c_void, pauthdata: *const ::core::ffi::c_void, pgetkeyfn: SEC_GET_KEY_FN, pvgetkeyargument: *const ::core::ffi::c_void, phcredential: *mut super::super::Credentials::SecHandle, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT;
04454e1e
FG
14 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
15 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 16 pub fn AddCredentialsA(hcredentials: *const super::super::Credentials::SecHandle, pszprincipal: ::windows_sys::core::PCSTR, pszpackage: ::windows_sys::core::PCSTR, fcredentialuse: u32, pauthdata: *const ::core::ffi::c_void, pgetkeyfn: SEC_GET_KEY_FN, pvgetkeyargument: *const ::core::ffi::c_void, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT;
04454e1e
FG
17 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
18 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 19 pub fn AddCredentialsW(hcredentials: *const super::super::Credentials::SecHandle, pszprincipal: ::windows_sys::core::PCWSTR, pszpackage: ::windows_sys::core::PCWSTR, fcredentialuse: u32, pauthdata: *const ::core::ffi::c_void, pgetkeyfn: SEC_GET_KEY_FN, pvgetkeyargument: *const ::core::ffi::c_void, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT;
04454e1e 20 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 21 pub fn AddSecurityPackageA(pszpackagename: ::windows_sys::core::PCSTR, poptions: *const SECURITY_PACKAGE_OPTIONS) -> ::windows_sys::core::HRESULT;
04454e1e 22 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 23 pub fn AddSecurityPackageW(pszpackagename: ::windows_sys::core::PCWSTR, poptions: *const SECURITY_PACKAGE_OPTIONS) -> ::windows_sys::core::HRESULT;
04454e1e 24 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 25 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 26 pub fn ApplyControlToken(phcontext: *const super::super::Credentials::SecHandle, pinput: *const SecBufferDesc) -> ::windows_sys::core::HRESULT;
04454e1e 27 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
28 #[cfg(feature = "Win32_Foundation")]
29 pub fn AuditComputeEffectivePolicyBySid(psid: super::super::super::Foundation::PSID, psubcategoryguids: *const ::windows_sys::core::GUID, dwpolicycount: u32, ppauditpolicy: *mut *mut AUDIT_POLICY_INFORMATION) -> super::super::super::Foundation::BOOLEAN;
04454e1e 30 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
31 #[cfg(feature = "Win32_Foundation")]
32 pub fn AuditComputeEffectivePolicyByToken(htokenhandle: super::super::super::Foundation::HANDLE, psubcategoryguids: *const ::windows_sys::core::GUID, dwpolicycount: u32, ppauditpolicy: *mut *mut AUDIT_POLICY_INFORMATION) -> super::super::super::Foundation::BOOLEAN;
04454e1e 33 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
34 #[cfg(feature = "Win32_Foundation")]
35 pub fn AuditEnumerateCategories(ppauditcategoriesarray: *mut *mut ::windows_sys::core::GUID, pdwcountreturned: *mut u32) -> super::super::super::Foundation::BOOLEAN;
04454e1e 36 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
37 #[cfg(feature = "Win32_Foundation")]
38 pub fn AuditEnumeratePerUserPolicy(ppauditsidarray: *mut *mut POLICY_AUDIT_SID_ARRAY) -> super::super::super::Foundation::BOOLEAN;
04454e1e 39 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
40 #[cfg(feature = "Win32_Foundation")]
41 pub fn AuditEnumerateSubCategories(pauditcategoryguid: *const ::windows_sys::core::GUID, bretrieveallsubcategories: super::super::super::Foundation::BOOLEAN, ppauditsubcategoriesarray: *mut *mut ::windows_sys::core::GUID, pdwcountreturned: *mut u32) -> super::super::super::Foundation::BOOLEAN;
04454e1e 42 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 43 pub fn AuditFree(buffer: *const ::core::ffi::c_void);
04454e1e 44 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
45 #[cfg(feature = "Win32_Foundation")]
46 pub fn AuditLookupCategoryGuidFromCategoryId(auditcategoryid: POLICY_AUDIT_EVENT_TYPE, pauditcategoryguid: *mut ::windows_sys::core::GUID) -> super::super::super::Foundation::BOOLEAN;
04454e1e 47 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
48 #[cfg(feature = "Win32_Foundation")]
49 pub fn AuditLookupCategoryIdFromCategoryGuid(pauditcategoryguid: *const ::windows_sys::core::GUID, pauditcategoryid: *mut POLICY_AUDIT_EVENT_TYPE) -> super::super::super::Foundation::BOOLEAN;
04454e1e 50 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085 51 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
52 pub fn AuditLookupCategoryNameA(pauditcategoryguid: *const ::windows_sys::core::GUID, ppszcategoryname: *mut ::windows_sys::core::PSTR) -> super::super::super::Foundation::BOOLEAN;
53 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085 54 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
55 pub fn AuditLookupCategoryNameW(pauditcategoryguid: *const ::windows_sys::core::GUID, ppszcategoryname: *mut ::windows_sys::core::PWSTR) -> super::super::super::Foundation::BOOLEAN;
56 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085 57 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
58 pub fn AuditLookupSubCategoryNameA(pauditsubcategoryguid: *const ::windows_sys::core::GUID, ppszsubcategoryname: *mut ::windows_sys::core::PSTR) -> super::super::super::Foundation::BOOLEAN;
59 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085 60 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
61 pub fn AuditLookupSubCategoryNameW(pauditsubcategoryguid: *const ::windows_sys::core::GUID, ppszsubcategoryname: *mut ::windows_sys::core::PWSTR) -> super::super::super::Foundation::BOOLEAN;
62 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085 63 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
64 pub fn AuditQueryGlobalSaclA(objecttypename: ::windows_sys::core::PCSTR, acl: *mut *mut super::super::ACL) -> super::super::super::Foundation::BOOLEAN;
65 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085 66 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
67 pub fn AuditQueryGlobalSaclW(objecttypename: ::windows_sys::core::PCWSTR, acl: *mut *mut super::super::ACL) -> super::super::super::Foundation::BOOLEAN;
68 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
69 #[cfg(feature = "Win32_Foundation")]
70 pub fn AuditQueryPerUserPolicy(psid: super::super::super::Foundation::PSID, psubcategoryguids: *const ::windows_sys::core::GUID, dwpolicycount: u32, ppauditpolicy: *mut *mut AUDIT_POLICY_INFORMATION) -> super::super::super::Foundation::BOOLEAN;
04454e1e 71 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085 72 #[cfg(feature = "Win32_Foundation")]
923072b8 73 pub fn AuditQuerySecurity(securityinformation: u32, ppsecuritydescriptor: *mut super::super::PSECURITY_DESCRIPTOR) -> super::super::super::Foundation::BOOLEAN;
04454e1e 74 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
75 #[cfg(feature = "Win32_Foundation")]
76 pub fn AuditQuerySystemPolicy(psubcategoryguids: *const ::windows_sys::core::GUID, dwpolicycount: u32, ppauditpolicy: *mut *mut AUDIT_POLICY_INFORMATION) -> super::super::super::Foundation::BOOLEAN;
04454e1e 77 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085 78 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
79 pub fn AuditSetGlobalSaclA(objecttypename: ::windows_sys::core::PCSTR, acl: *const super::super::ACL) -> super::super::super::Foundation::BOOLEAN;
80 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085 81 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
82 pub fn AuditSetGlobalSaclW(objecttypename: ::windows_sys::core::PCWSTR, acl: *const super::super::ACL) -> super::super::super::Foundation::BOOLEAN;
83 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
84 #[cfg(feature = "Win32_Foundation")]
85 pub fn AuditSetPerUserPolicy(psid: super::super::super::Foundation::PSID, pauditpolicy: *const AUDIT_POLICY_INFORMATION, dwpolicycount: u32) -> super::super::super::Foundation::BOOLEAN;
04454e1e 86 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085 87 #[cfg(feature = "Win32_Foundation")]
923072b8 88 pub fn AuditSetSecurity(securityinformation: u32, psecuritydescriptor: super::super::PSECURITY_DESCRIPTOR) -> super::super::super::Foundation::BOOLEAN;
04454e1e 89 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
90 #[cfg(feature = "Win32_Foundation")]
91 pub fn AuditSetSystemPolicy(pauditpolicy: *const AUDIT_POLICY_INFORMATION, dwpolicycount: u32) -> super::super::super::Foundation::BOOLEAN;
04454e1e 92 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085 93 #[cfg(feature = "Win32_Foundation")]
923072b8 94 pub fn ChangeAccountPasswordA(pszpackagename: *const i8, pszdomainname: *const i8, pszaccountname: *const i8, pszoldpassword: *const i8, psznewpassword: *const i8, bimpersonating: super::super::super::Foundation::BOOLEAN, dwreserved: u32, poutput: *mut SecBufferDesc) -> ::windows_sys::core::HRESULT;
04454e1e 95 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085 96 #[cfg(feature = "Win32_Foundation")]
923072b8 97 pub fn ChangeAccountPasswordW(pszpackagename: *const u16, pszdomainname: *const u16, pszaccountname: *const u16, pszoldpassword: *const u16, psznewpassword: *const u16, bimpersonating: super::super::super::Foundation::BOOLEAN, dwreserved: u32, poutput: *mut SecBufferDesc) -> ::windows_sys::core::HRESULT;
04454e1e 98 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 99 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 100 pub fn CompleteAuthToken(phcontext: *const super::super::Credentials::SecHandle, ptoken: *const SecBufferDesc) -> ::windows_sys::core::HRESULT;
04454e1e 101 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085
FG
102 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
103 pub fn CredMarshalTargetInfo(intargetinfo: *const super::super::Credentials::CREDENTIAL_TARGET_INFORMATIONW, buffer: *mut *mut u16, buffersize: *mut u32) -> super::super::super::Foundation::NTSTATUS;
04454e1e 104 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085
FG
105 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
106 pub fn CredUnmarshalTargetInfo(buffer: *const u16, buffersize: u32, rettargetinfo: *mut *mut super::super::Credentials::CREDENTIAL_TARGET_INFORMATIONW, retactualsize: *mut u32) -> super::super::super::Foundation::NTSTATUS;
04454e1e 107 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 108 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 109 pub fn DecryptMessage(phcontext: *const super::super::Credentials::SecHandle, pmessage: *const SecBufferDesc, messageseqno: u32, pfqop: *mut u32) -> ::windows_sys::core::HRESULT;
04454e1e 110 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 111 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 112 pub fn DeleteSecurityContext(phcontext: *const super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT;
04454e1e 113 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 114 pub fn DeleteSecurityPackageA(pszpackagename: ::windows_sys::core::PCSTR) -> ::windows_sys::core::HRESULT;
04454e1e 115 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 116 pub fn DeleteSecurityPackageW(pszpackagename: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT;
04454e1e 117 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 118 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 119 pub fn EncryptMessage(phcontext: *const super::super::Credentials::SecHandle, fqop: u32, pmessage: *const SecBufferDesc, messageseqno: u32) -> ::windows_sys::core::HRESULT;
04454e1e 120 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 121 pub fn EnumerateSecurityPackagesA(pcpackages: *mut u32, pppackageinfo: *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT;
04454e1e 122 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 123 pub fn EnumerateSecurityPackagesW(pcpackages: *mut u32, pppackageinfo: *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT;
04454e1e 124 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 125 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 126 pub fn ExportSecurityContext(phcontext: *const super::super::Credentials::SecHandle, fflags: EXPORT_SECURITY_CONTEXT_FLAGS, ppackedcontext: *mut SecBuffer, ptoken: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e 127 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 128 pub fn FreeContextBuffer(pvcontextbuffer: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e 129 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 130 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 131 pub fn FreeCredentialsHandle(phcredential: *const super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT;
04454e1e 132 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085 133 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
134 pub fn GetComputerObjectNameA(nameformat: EXTENDED_NAME_FORMAT, lpnamebuffer: ::windows_sys::core::PSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN;
135 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085 136 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
137 pub fn GetComputerObjectNameW(nameformat: EXTENDED_NAME_FORMAT, lpnamebuffer: ::windows_sys::core::PWSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN;
138 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085 139 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
140 pub fn GetUserNameExA(nameformat: EXTENDED_NAME_FORMAT, lpnamebuffer: ::windows_sys::core::PSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN;
141 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085 142 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
143 pub fn GetUserNameExW(nameformat: EXTENDED_NAME_FORMAT, lpnamebuffer: ::windows_sys::core::PWSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN;
144 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 145 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 146 pub fn ImpersonateSecurityContext(phcontext: *const super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT;
04454e1e
FG
147 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
148 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 149 pub fn ImportSecurityContextA(pszpackage: ::windows_sys::core::PCSTR, ppackedcontext: *const SecBuffer, token: *const ::core::ffi::c_void, phcontext: *mut super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT;
04454e1e
FG
150 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
151 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 152 pub fn ImportSecurityContextW(pszpackage: ::windows_sys::core::PCWSTR, ppackedcontext: *const SecBuffer, token: *const ::core::ffi::c_void, phcontext: *mut super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT;
04454e1e 153 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085
FG
154 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
155 pub fn InitSecurityInterfaceA() -> *mut SecurityFunctionTableA;
04454e1e 156 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085
FG
157 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
158 pub fn InitSecurityInterfaceW() -> *mut SecurityFunctionTableW;
04454e1e 159 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 160 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 161 pub fn InitializeSecurityContextA(phcredential: *const super::super::Credentials::SecHandle, phcontext: *const super::super::Credentials::SecHandle, psztargetname: *const i8, fcontextreq: u32, reserved1: u32, targetdatarep: u32, pinput: *const SecBufferDesc, reserved2: u32, phnewcontext: *mut super::super::Credentials::SecHandle, poutput: *mut SecBufferDesc, pfcontextattr: *mut u32, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT;
04454e1e 162 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 163 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 164 pub fn InitializeSecurityContextW(phcredential: *const super::super::Credentials::SecHandle, phcontext: *const super::super::Credentials::SecHandle, psztargetname: *const u16, fcontextreq: u32, reserved1: u32, targetdatarep: u32, pinput: *const SecBufferDesc, reserved2: u32, phnewcontext: *mut super::super::Credentials::SecHandle, poutput: *mut SecBufferDesc, pfcontextattr: *mut u32, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT;
04454e1e 165 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
166 #[cfg(feature = "Win32_Foundation")]
167 pub fn LsaAddAccountRights(policyhandle: *const ::core::ffi::c_void, accountsid: super::super::super::Foundation::PSID, userrights: *const super::super::super::Foundation::UNICODE_STRING, countofrights: u32) -> super::super::super::Foundation::NTSTATUS;
04454e1e 168 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
169 #[cfg(feature = "Win32_Foundation")]
170 pub fn LsaCallAuthenticationPackage(lsahandle: super::super::super::Foundation::HANDLE, authenticationpackage: u32, protocolsubmitbuffer: *const ::core::ffi::c_void, submitbufferlength: u32, protocolreturnbuffer: *mut *mut ::core::ffi::c_void, returnbufferlength: *mut u32, protocolstatus: *mut i32) -> super::super::super::Foundation::NTSTATUS;
04454e1e 171 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
172 #[cfg(feature = "Win32_Foundation")]
173 pub fn LsaClose(objecthandle: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS;
04454e1e 174 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
175 #[cfg(feature = "Win32_Foundation")]
176 pub fn LsaConnectUntrusted(lsahandle: *mut super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS;
04454e1e 177 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
178 #[cfg(feature = "Win32_Foundation")]
179 pub fn LsaCreateTrustedDomainEx(policyhandle: *const ::core::ffi::c_void, trusteddomaininformation: *const TRUSTED_DOMAIN_INFORMATION_EX, authenticationinformation: *const TRUSTED_DOMAIN_AUTH_INFORMATION, desiredaccess: u32, trusteddomainhandle: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS;
04454e1e 180 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
181 #[cfg(feature = "Win32_Foundation")]
182 pub fn LsaDeleteTrustedDomain(policyhandle: *const ::core::ffi::c_void, trusteddomainsid: super::super::super::Foundation::PSID) -> super::super::super::Foundation::NTSTATUS;
04454e1e 183 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
184 #[cfg(feature = "Win32_Foundation")]
185 pub fn LsaDeregisterLogonProcess(lsahandle: LsaHandle) -> super::super::super::Foundation::NTSTATUS;
04454e1e 186 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
187 #[cfg(feature = "Win32_Foundation")]
188 pub fn LsaEnumerateAccountRights(policyhandle: *const ::core::ffi::c_void, accountsid: super::super::super::Foundation::PSID, userrights: *mut *mut super::super::super::Foundation::UNICODE_STRING, countofrights: *mut u32) -> super::super::super::Foundation::NTSTATUS;
04454e1e 189 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
190 #[cfg(feature = "Win32_Foundation")]
191 pub fn LsaEnumerateAccountsWithUserRight(policyhandle: *const ::core::ffi::c_void, userright: *const super::super::super::Foundation::UNICODE_STRING, buffer: *mut *mut ::core::ffi::c_void, countreturned: *mut u32) -> super::super::super::Foundation::NTSTATUS;
04454e1e 192 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
193 #[cfg(feature = "Win32_Foundation")]
194 pub fn LsaEnumerateLogonSessions(logonsessioncount: *mut u32, logonsessionlist: *mut *mut super::super::super::Foundation::LUID) -> super::super::super::Foundation::NTSTATUS;
04454e1e 195 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
196 #[cfg(feature = "Win32_Foundation")]
197 pub fn LsaEnumerateTrustedDomains(policyhandle: *const ::core::ffi::c_void, enumerationcontext: *mut u32, buffer: *mut *mut ::core::ffi::c_void, preferedmaximumlength: u32, countreturned: *mut u32) -> super::super::super::Foundation::NTSTATUS;
04454e1e 198 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
199 #[cfg(feature = "Win32_Foundation")]
200 pub fn LsaEnumerateTrustedDomainsEx(policyhandle: *const ::core::ffi::c_void, enumerationcontext: *mut u32, buffer: *mut *mut ::core::ffi::c_void, preferedmaximumlength: u32, countreturned: *mut u32) -> super::super::super::Foundation::NTSTATUS;
04454e1e 201 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
202 #[cfg(feature = "Win32_Foundation")]
203 pub fn LsaFreeMemory(buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS;
04454e1e 204 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
205 #[cfg(feature = "Win32_Foundation")]
206 pub fn LsaFreeReturnBuffer(buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS;
04454e1e 207 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
208 #[cfg(feature = "Win32_Foundation")]
209 pub fn LsaGetAppliedCAPIDs(systemname: *const super::super::super::Foundation::UNICODE_STRING, capids: *mut *mut super::super::super::Foundation::PSID, capidcount: *mut u32) -> super::super::super::Foundation::NTSTATUS;
04454e1e 210 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
211 #[cfg(feature = "Win32_Foundation")]
212 pub fn LsaGetLogonSessionData(logonid: *const super::super::super::Foundation::LUID, pplogonsessiondata: *mut *mut SECURITY_LOGON_SESSION_DATA) -> super::super::super::Foundation::NTSTATUS;
04454e1e 213 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
5e7ed085
FG
214 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
215 pub fn LsaLogonUser(lsahandle: super::super::super::Foundation::HANDLE, originname: *const super::super::super::System::Kernel::STRING, logontype: SECURITY_LOGON_TYPE, authenticationpackage: u32, authenticationinformation: *const ::core::ffi::c_void, authenticationinformationlength: u32, localgroups: *const super::super::TOKEN_GROUPS, sourcecontext: *const super::super::TOKEN_SOURCE, profilebuffer: *mut *mut ::core::ffi::c_void, profilebufferlength: *mut u32, logonid: *mut super::super::super::Foundation::LUID, token: *mut super::super::super::Foundation::HANDLE, quotas: *mut super::super::QUOTA_LIMITS, substatus: *mut i32) -> super::super::super::Foundation::NTSTATUS;
04454e1e 216 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
5e7ed085
FG
217 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
218 pub fn LsaLookupAuthenticationPackage(lsahandle: super::super::super::Foundation::HANDLE, packagename: *const super::super::super::System::Kernel::STRING, authenticationpackage: *mut u32) -> super::super::super::Foundation::NTSTATUS;
04454e1e 219 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
220 #[cfg(feature = "Win32_Foundation")]
221 pub fn LsaLookupNames(policyhandle: *const ::core::ffi::c_void, count: u32, names: *const super::super::super::Foundation::UNICODE_STRING, referenceddomains: *mut *mut LSA_REFERENCED_DOMAIN_LIST, sids: *mut *mut LSA_TRANSLATED_SID) -> super::super::super::Foundation::NTSTATUS;
04454e1e 222 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
223 #[cfg(feature = "Win32_Foundation")]
224 pub fn LsaLookupNames2(policyhandle: *const ::core::ffi::c_void, flags: u32, count: u32, names: *const super::super::super::Foundation::UNICODE_STRING, referenceddomains: *mut *mut LSA_REFERENCED_DOMAIN_LIST, sids: *mut *mut LSA_TRANSLATED_SID2) -> super::super::super::Foundation::NTSTATUS;
04454e1e 225 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
226 #[cfg(feature = "Win32_Foundation")]
227 pub fn LsaLookupSids(policyhandle: *const ::core::ffi::c_void, count: u32, sids: *const super::super::super::Foundation::PSID, referenceddomains: *mut *mut LSA_REFERENCED_DOMAIN_LIST, names: *mut *mut LSA_TRANSLATED_NAME) -> super::super::super::Foundation::NTSTATUS;
04454e1e 228 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
229 #[cfg(feature = "Win32_Foundation")]
230 pub fn LsaLookupSids2(policyhandle: *const ::core::ffi::c_void, lookupoptions: u32, count: u32, sids: *const super::super::super::Foundation::PSID, referenceddomains: *mut *mut LSA_REFERENCED_DOMAIN_LIST, names: *mut *mut LSA_TRANSLATED_NAME) -> super::super::super::Foundation::NTSTATUS;
04454e1e 231 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
232 #[cfg(feature = "Win32_Foundation")]
233 pub fn LsaNtStatusToWinError(status: super::super::super::Foundation::NTSTATUS) -> u32;
04454e1e 234 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"]
5e7ed085
FG
235 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))]
236 pub fn LsaOpenPolicy(systemname: *const super::super::super::Foundation::UNICODE_STRING, objectattributes: *const super::super::super::System::WindowsProgramming::OBJECT_ATTRIBUTES, desiredaccess: u32, policyhandle: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS;
04454e1e 237 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
238 #[cfg(feature = "Win32_Foundation")]
239 pub fn LsaOpenTrustedDomainByName(policyhandle: *const ::core::ffi::c_void, trusteddomainname: *const super::super::super::Foundation::UNICODE_STRING, desiredaccess: u32, trusteddomainhandle: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS;
04454e1e 240 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
241 #[cfg(feature = "Win32_Foundation")]
242 pub fn LsaQueryCAPs(capids: *const super::super::super::Foundation::PSID, capidcount: u32, caps: *mut *mut CENTRAL_ACCESS_POLICY, capcount: *mut u32) -> super::super::super::Foundation::NTSTATUS;
04454e1e 243 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
244 #[cfg(feature = "Win32_Foundation")]
245 pub fn LsaQueryDomainInformationPolicy(policyhandle: *const ::core::ffi::c_void, informationclass: POLICY_DOMAIN_INFORMATION_CLASS, buffer: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS;
04454e1e 246 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
247 #[cfg(feature = "Win32_Foundation")]
248 pub fn LsaQueryForestTrustInformation(policyhandle: *const ::core::ffi::c_void, trusteddomainname: *const super::super::super::Foundation::UNICODE_STRING, foresttrustinfo: *mut *mut LSA_FOREST_TRUST_INFORMATION) -> super::super::super::Foundation::NTSTATUS;
04454e1e 249 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
250 #[cfg(feature = "Win32_Foundation")]
251 pub fn LsaQueryInformationPolicy(policyhandle: *const ::core::ffi::c_void, informationclass: POLICY_INFORMATION_CLASS, buffer: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS;
04454e1e 252 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
253 #[cfg(feature = "Win32_Foundation")]
254 pub fn LsaQueryTrustedDomainInfo(policyhandle: *const ::core::ffi::c_void, trusteddomainsid: super::super::super::Foundation::PSID, informationclass: TRUSTED_INFORMATION_CLASS, buffer: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS;
04454e1e 255 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
256 #[cfg(feature = "Win32_Foundation")]
257 pub fn LsaQueryTrustedDomainInfoByName(policyhandle: *const ::core::ffi::c_void, trusteddomainname: *const super::super::super::Foundation::UNICODE_STRING, informationclass: TRUSTED_INFORMATION_CLASS, buffer: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS;
04454e1e 258 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
5e7ed085
FG
259 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
260 pub fn LsaRegisterLogonProcess(logonprocessname: *const super::super::super::System::Kernel::STRING, lsahandle: *mut LsaHandle, securitymode: *mut u32) -> super::super::super::Foundation::NTSTATUS;
04454e1e 261 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
262 #[cfg(feature = "Win32_Foundation")]
263 pub fn LsaRegisterPolicyChangeNotification(informationclass: POLICY_NOTIFICATION_INFORMATION_CLASS, notificationeventhandle: super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS;
04454e1e 264 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
265 #[cfg(feature = "Win32_Foundation")]
266 pub fn LsaRemoveAccountRights(policyhandle: *const ::core::ffi::c_void, accountsid: super::super::super::Foundation::PSID, allrights: super::super::super::Foundation::BOOLEAN, userrights: *const super::super::super::Foundation::UNICODE_STRING, countofrights: u32) -> super::super::super::Foundation::NTSTATUS;
04454e1e 267 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
268 #[cfg(feature = "Win32_Foundation")]
269 pub fn LsaRetrievePrivateData(policyhandle: *const ::core::ffi::c_void, keyname: *const super::super::super::Foundation::UNICODE_STRING, privatedata: *mut *mut super::super::super::Foundation::UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS;
04454e1e 270 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
271 #[cfg(feature = "Win32_Foundation")]
272 pub fn LsaSetCAPs(capdns: *const super::super::super::Foundation::UNICODE_STRING, capdncount: u32, flags: u32) -> super::super::super::Foundation::NTSTATUS;
04454e1e 273 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
274 #[cfg(feature = "Win32_Foundation")]
275 pub fn LsaSetDomainInformationPolicy(policyhandle: *const ::core::ffi::c_void, informationclass: POLICY_DOMAIN_INFORMATION_CLASS, buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS;
04454e1e 276 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
277 #[cfg(feature = "Win32_Foundation")]
278 pub fn LsaSetForestTrustInformation(policyhandle: *const ::core::ffi::c_void, trusteddomainname: *const super::super::super::Foundation::UNICODE_STRING, foresttrustinfo: *const LSA_FOREST_TRUST_INFORMATION, checkonly: super::super::super::Foundation::BOOLEAN, collisioninfo: *mut *mut LSA_FOREST_TRUST_COLLISION_INFORMATION) -> super::super::super::Foundation::NTSTATUS;
04454e1e 279 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
280 #[cfg(feature = "Win32_Foundation")]
281 pub fn LsaSetInformationPolicy(policyhandle: *const ::core::ffi::c_void, informationclass: POLICY_INFORMATION_CLASS, buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS;
04454e1e 282 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
283 #[cfg(feature = "Win32_Foundation")]
284 pub fn LsaSetTrustedDomainInfoByName(policyhandle: *const ::core::ffi::c_void, trusteddomainname: *const super::super::super::Foundation::UNICODE_STRING, informationclass: TRUSTED_INFORMATION_CLASS, buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS;
04454e1e 285 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
286 #[cfg(feature = "Win32_Foundation")]
287 pub fn LsaSetTrustedDomainInformation(policyhandle: *const ::core::ffi::c_void, trusteddomainsid: super::super::super::Foundation::PSID, informationclass: TRUSTED_INFORMATION_CLASS, buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS;
04454e1e 288 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
289 #[cfg(feature = "Win32_Foundation")]
290 pub fn LsaStorePrivateData(policyhandle: *const ::core::ffi::c_void, keyname: *const super::super::super::Foundation::UNICODE_STRING, privatedata: *const super::super::super::Foundation::UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS;
04454e1e 291 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
292 #[cfg(feature = "Win32_Foundation")]
293 pub fn LsaUnregisterPolicyChangeNotification(informationclass: POLICY_NOTIFICATION_INFORMATION_CLASS, notificationeventhandle: super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS;
04454e1e 294 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 295 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 296 pub fn MakeSignature(phcontext: *const super::super::Credentials::SecHandle, fqop: u32, pmessage: *const SecBufferDesc, messageseqno: u32) -> ::windows_sys::core::HRESULT;
04454e1e 297 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 298 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 299 pub fn QueryContextAttributesA(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e 300 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 301 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 302 pub fn QueryContextAttributesExA(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *mut ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT;
04454e1e 303 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 304 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 305 pub fn QueryContextAttributesExW(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *mut ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT;
04454e1e 306 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 307 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 308 pub fn QueryContextAttributesW(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e 309 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 310 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 311 pub fn QueryCredentialsAttributesA(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e 312 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 313 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 314 pub fn QueryCredentialsAttributesExA(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *mut ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT;
04454e1e 315 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 316 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 317 pub fn QueryCredentialsAttributesExW(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *mut ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT;
04454e1e 318 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 319 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 320 pub fn QueryCredentialsAttributesW(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e 321 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 322 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 323 pub fn QuerySecurityContextToken(phcontext: *const super::super::Credentials::SecHandle, token: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e 324 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 325 pub fn QuerySecurityPackageInfoA(pszpackagename: ::windows_sys::core::PCSTR, pppackageinfo: *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT;
04454e1e 326 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 327 pub fn QuerySecurityPackageInfoW(pszpackagename: ::windows_sys::core::PCWSTR, pppackageinfo: *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT;
04454e1e 328 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 329 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 330 pub fn RevertSecurityContext(phcontext: *const super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT;
04454e1e
FG
331 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
332 pub fn SLAcquireGenuineTicket(ppticketblob: *mut *mut ::core::ffi::c_void, pcbticketblob: *mut u32, pwsztemplateid: ::windows_sys::core::PCWSTR, pwszserverurl: ::windows_sys::core::PCWSTR, pwszclienttoken: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT;
333 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
334 pub fn SLActivateProduct(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, cbappspecificdata: u32, pvappspecificdata: *const ::core::ffi::c_void, pactivationinfo: *const SL_ACTIVATION_INFO_HEADER, pwszproxyserver: ::windows_sys::core::PCWSTR, wproxyport: u16) -> ::windows_sys::core::HRESULT;
335 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 336 pub fn SLClose(hslc: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e
FG
337 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
338 pub fn SLConsumeRight(hslc: *const ::core::ffi::c_void, pappid: *const ::windows_sys::core::GUID, pproductskuid: *const ::windows_sys::core::GUID, pwszrightname: ::windows_sys::core::PCWSTR, pvreserved: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
339 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
340 pub fn SLDepositOfflineConfirmationId(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, pwszinstallationid: ::windows_sys::core::PCWSTR, pwszconfirmationid: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT;
341 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
342 pub fn SLDepositOfflineConfirmationIdEx(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, pactivationinfo: *const SL_ACTIVATION_INFO_HEADER, pwszinstallationid: ::windows_sys::core::PCWSTR, pwszconfirmationid: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT;
343 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
344 pub fn SLFireEvent(hslc: *const ::core::ffi::c_void, pwszeventid: ::windows_sys::core::PCWSTR, papplicationid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
345 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
346 pub fn SLGenerateOfflineInstallationId(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, ppwszinstallationid: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT;
347 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
348 pub fn SLGenerateOfflineInstallationIdEx(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, pactivationinfo: *const SL_ACTIVATION_INFO_HEADER, ppwszinstallationid: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT;
349 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
350 pub fn SLGetApplicationInformation(hslc: *const ::core::ffi::c_void, papplicationid: *const ::windows_sys::core::GUID, pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT;
351 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
352 pub fn SLGetGenuineInformation(pqueryid: *const ::windows_sys::core::GUID, pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT;
353 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 354 pub fn SLGetInstalledProductKeyIds(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, pnproductkeyids: *mut u32, ppproductkeyids: *mut *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
04454e1e 355 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 356 pub fn SLGetLicense(hslc: *const ::core::ffi::c_void, plicensefileid: *const ::windows_sys::core::GUID, pcblicensefile: *mut u32, ppblicensefile: *mut *mut u8) -> ::windows_sys::core::HRESULT;
04454e1e 357 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 358 pub fn SLGetLicenseFileId(hslc: *const ::core::ffi::c_void, cblicenseblob: u32, pblicenseblob: *const u8, plicensefileid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
04454e1e
FG
359 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
360 pub fn SLGetLicenseInformation(hslc: *const ::core::ffi::c_void, psllicenseid: *const ::windows_sys::core::GUID, pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT;
361 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
362 pub fn SLGetLicensingStatusInformation(hslc: *const ::core::ffi::c_void, pappid: *const ::windows_sys::core::GUID, pproductskuid: *const ::windows_sys::core::GUID, pwszrightname: ::windows_sys::core::PCWSTR, pnstatuscount: *mut u32, pplicensingstatus: *mut *mut SL_LICENSING_STATUS) -> ::windows_sys::core::HRESULT;
363 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
364 pub fn SLGetPKeyId(hslc: *const ::core::ffi::c_void, pwszpkeyalgorithm: ::windows_sys::core::PCWSTR, pwszpkeystring: ::windows_sys::core::PCWSTR, cbpkeyspecificdata: u32, pbpkeyspecificdata: *const u8, ppkeyid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
365 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
366 pub fn SLGetPKeyInformation(hslc: *const ::core::ffi::c_void, ppkeyid: *const ::windows_sys::core::GUID, pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT;
367 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
368 pub fn SLGetPolicyInformation(hslc: *const ::core::ffi::c_void, pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT;
369 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
370 pub fn SLGetPolicyInformationDWORD(hslc: *const ::core::ffi::c_void, pwszvaluename: ::windows_sys::core::PCWSTR, pdwvalue: *mut u32) -> ::windows_sys::core::HRESULT;
371 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
372 pub fn SLGetProductSkuInformation(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT;
373 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
374 pub fn SLGetReferralInformation(hslc: *const ::core::ffi::c_void, ereferraltype: SLREFERRALTYPE, pskuorappid: *const ::windows_sys::core::GUID, pwszvaluename: ::windows_sys::core::PCWSTR, ppwszvalue: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT;
375 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 376 pub fn SLGetSLIDList(hslc: *const ::core::ffi::c_void, equeryidtype: SLIDTYPE, pqueryid: *const ::windows_sys::core::GUID, ereturnidtype: SLIDTYPE, pnreturnids: *mut u32, ppreturnids: *mut *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
04454e1e
FG
377 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
378 pub fn SLGetServerStatus(pwszserverurl: ::windows_sys::core::PCWSTR, pwszacquisitiontype: ::windows_sys::core::PCWSTR, pwszproxyserver: ::windows_sys::core::PCWSTR, wproxyport: u16, phrstatus: *mut ::windows_sys::core::HRESULT) -> ::windows_sys::core::HRESULT;
379 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
380 pub fn SLGetServiceInformation(hslc: *const ::core::ffi::c_void, pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT;
381 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
382 pub fn SLGetWindowsInformation(pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT;
383 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
384 pub fn SLGetWindowsInformationDWORD(pwszvaluename: ::windows_sys::core::PCWSTR, pdwvalue: *mut u32) -> ::windows_sys::core::HRESULT;
385 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 386 pub fn SLInstallLicense(hslc: *const ::core::ffi::c_void, cblicenseblob: u32, pblicenseblob: *const u8, plicensefileid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
04454e1e
FG
387 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
388 pub fn SLInstallProofOfPurchase(hslc: *const ::core::ffi::c_void, pwszpkeyalgorithm: ::windows_sys::core::PCWSTR, pwszpkeystring: ::windows_sys::core::PCWSTR, cbpkeyspecificdata: u32, pbpkeyspecificdata: *const u8, ppkeyid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
389 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 390 pub fn SLIsGenuineLocal(pappid: *const ::windows_sys::core::GUID, pgenuinestate: *mut SL_GENUINE_STATE, puioptions: *mut SL_NONGENUINE_UI_OPTIONS) -> ::windows_sys::core::HRESULT;
04454e1e 391 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 392 pub fn SLOpen(phslc: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e
FG
393 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
394 pub fn SLQueryLicenseValueFromApp(valuename: ::windows_sys::core::PCWSTR, valuetype: *mut u32, databuffer: *mut ::core::ffi::c_void, datasize: u32, resultdatasize: *mut u32) -> ::windows_sys::core::HRESULT;
395 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085 396 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
397 pub fn SLRegisterEvent(hslc: *const ::core::ffi::c_void, pwszeventid: ::windows_sys::core::PCWSTR, papplicationid: *const ::windows_sys::core::GUID, hevent: super::super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT;
398 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 399 pub fn SLSetCurrentProductKey(hslc: *const ::core::ffi::c_void, pproductskuid: *const ::windows_sys::core::GUID, pproductkeyid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
04454e1e
FG
400 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
401 pub fn SLSetGenuineInformation(pqueryid: *const ::windows_sys::core::GUID, pwszvaluename: ::windows_sys::core::PCWSTR, edatatype: SLDATATYPE, cbvalue: u32, pbvalue: *const u8) -> ::windows_sys::core::HRESULT;
402 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 403 pub fn SLUninstallLicense(hslc: *const ::core::ffi::c_void, plicensefileid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
04454e1e 404 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 405 pub fn SLUninstallProofOfPurchase(hslc: *const ::core::ffi::c_void, ppkeyid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
04454e1e 406 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085 407 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
408 pub fn SLUnregisterEvent(hslc: *const ::core::ffi::c_void, pwszeventid: ::windows_sys::core::PCWSTR, papplicationid: *const ::windows_sys::core::GUID, hevent: super::super::super::Foundation::HANDLE) -> ::windows_sys::core::HRESULT;
409 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 410 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 411 pub fn SaslAcceptSecurityContext(phcredential: *const super::super::Credentials::SecHandle, phcontext: *const super::super::Credentials::SecHandle, pinput: *const SecBufferDesc, fcontextreq: u32, targetdatarep: u32, phnewcontext: *mut super::super::Credentials::SecHandle, poutput: *mut SecBufferDesc, pfcontextattr: *mut u32, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT;
04454e1e 412 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 413 pub fn SaslEnumerateProfilesA(profilelist: *mut ::windows_sys::core::PSTR, profilecount: *mut u32) -> ::windows_sys::core::HRESULT;
04454e1e 414 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 415 pub fn SaslEnumerateProfilesW(profilelist: *mut ::windows_sys::core::PWSTR, profilecount: *mut u32) -> ::windows_sys::core::HRESULT;
04454e1e 416 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 417 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 418 pub fn SaslGetContextOption(contexthandle: *const super::super::Credentials::SecHandle, option: u32, value: *mut ::core::ffi::c_void, size: u32, needed: *mut u32) -> ::windows_sys::core::HRESULT;
04454e1e 419 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 420 pub fn SaslGetProfilePackageA(profilename: ::windows_sys::core::PCSTR, packageinfo: *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT;
04454e1e 421 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 422 pub fn SaslGetProfilePackageW(profilename: ::windows_sys::core::PCWSTR, packageinfo: *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT;
04454e1e 423 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 424 pub fn SaslIdentifyPackageA(pinput: *const SecBufferDesc, packageinfo: *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT;
04454e1e 425 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 426 pub fn SaslIdentifyPackageW(pinput: *const SecBufferDesc, packageinfo: *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT;
04454e1e
FG
427 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
428 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 429 pub fn SaslInitializeSecurityContextA(phcredential: *const super::super::Credentials::SecHandle, phcontext: *const super::super::Credentials::SecHandle, psztargetname: ::windows_sys::core::PCSTR, fcontextreq: u32, reserved1: u32, targetdatarep: u32, pinput: *const SecBufferDesc, reserved2: u32, phnewcontext: *mut super::super::Credentials::SecHandle, poutput: *mut SecBufferDesc, pfcontextattr: *mut u32, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT;
04454e1e
FG
430 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
431 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 432 pub fn SaslInitializeSecurityContextW(phcredential: *const super::super::Credentials::SecHandle, phcontext: *const super::super::Credentials::SecHandle, psztargetname: ::windows_sys::core::PCWSTR, fcontextreq: u32, reserved1: u32, targetdatarep: u32, pinput: *const SecBufferDesc, reserved2: u32, phnewcontext: *mut super::super::Credentials::SecHandle, poutput: *mut SecBufferDesc, pfcontextattr: *mut u32, ptsexpiry: *mut i64) -> ::windows_sys::core::HRESULT;
04454e1e 433 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 434 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 435 pub fn SaslSetContextOption(contexthandle: *const super::super::Credentials::SecHandle, option: u32, value: *const ::core::ffi::c_void, size: u32) -> ::windows_sys::core::HRESULT;
04454e1e 436 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 437 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 438 pub fn SetContextAttributesA(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *const ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT;
04454e1e 439 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 440 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 441 pub fn SetContextAttributesW(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *const ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT;
04454e1e 442 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 443 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 444 pub fn SetCredentialsAttributesA(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *const ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT;
04454e1e 445 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 446 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 447 pub fn SetCredentialsAttributesW(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *const ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT;
04454e1e 448 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
449 #[cfg(feature = "Win32_Foundation")]
450 pub fn SslCrackCertificate(pbcertificate: *mut u8, cbcertificate: u32, dwflags: u32, ppcertificate: *mut *mut X509Certificate) -> super::super::super::Foundation::BOOL;
04454e1e 451 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085 452 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
453 pub fn SslEmptyCacheA(psztargetname: ::windows_sys::core::PCSTR, dwflags: u32) -> super::super::super::Foundation::BOOL;
454 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085 455 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
456 pub fn SslEmptyCacheW(psztargetname: ::windows_sys::core::PCWSTR, dwflags: u32) -> super::super::super::Foundation::BOOL;
457 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
458 #[cfg(feature = "Win32_Foundation")]
459 pub fn SslFreeCertificate(pcertificate: *mut X509Certificate);
04454e1e 460 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 461 pub fn SslGenerateRandomBits(prandomdata: *mut u8, crandomdata: i32);
04454e1e 462 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 463 pub fn SslGetExtensions(clienthello: *const u8, clienthellobytesize: u32, genericextensions: *mut SCH_EXTENSION_DATA, genericextensionscount: u8, bytestoread: *mut u32, flags: SchGetExtensionsOptions) -> ::windows_sys::core::HRESULT;
04454e1e 464 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 465 pub fn SslGetMaximumKeySize(reserved: u32) -> u32;
04454e1e 466 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 467 pub fn SslGetServerIdentity(clienthello: *const u8, clienthellosize: u32, serveridentity: *mut *mut u8, serveridentitysize: *mut u32, flags: u32) -> ::windows_sys::core::HRESULT;
04454e1e 468 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085 469 #[cfg(feature = "Win32_Foundation")]
923072b8 470 pub fn SspiCompareAuthIdentities(authidentity1: *const ::core::ffi::c_void, authidentity2: *const ::core::ffi::c_void, samesupplieduser: *mut super::super::super::Foundation::BOOLEAN, samesuppliedidentity: *mut super::super::super::Foundation::BOOLEAN) -> ::windows_sys::core::HRESULT;
04454e1e 471 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 472 pub fn SspiCopyAuthIdentity(authdata: *const ::core::ffi::c_void, authdatacopy: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e 473 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 474 pub fn SspiDecryptAuthIdentity(encryptedauthdata: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e 475 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 476 pub fn SspiDecryptAuthIdentityEx(options: u32, encryptedauthdata: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e 477 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 478 pub fn SspiEncodeAuthIdentityAsStrings(pauthidentity: *const ::core::ffi::c_void, ppszusername: *mut ::windows_sys::core::PWSTR, ppszdomainname: *mut ::windows_sys::core::PWSTR, ppszpackedcredentialsstring: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT;
04454e1e 479 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 480 pub fn SspiEncodeStringsAsAuthIdentity(pszusername: ::windows_sys::core::PCWSTR, pszdomainname: ::windows_sys::core::PCWSTR, pszpackedcredentialsstring: ::windows_sys::core::PCWSTR, ppauthidentity: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e 481 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 482 pub fn SspiEncryptAuthIdentity(authdata: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e 483 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 484 pub fn SspiEncryptAuthIdentityEx(options: u32, authdata: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e 485 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 486 pub fn SspiExcludePackage(authidentity: *const ::core::ffi::c_void, pszpackagename: ::windows_sys::core::PCWSTR, ppnewauthidentity: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e 487 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 488 pub fn SspiFreeAuthIdentity(authdata: *const ::core::ffi::c_void);
04454e1e 489 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 490 pub fn SspiGetTargetHostName(psztargetname: ::windows_sys::core::PCWSTR, pszhostname: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT;
04454e1e 491 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
492 #[cfg(feature = "Win32_Foundation")]
493 pub fn SspiIsAuthIdentityEncrypted(encryptedauthdata: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOLEAN;
04454e1e 494 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
495 #[cfg(feature = "Win32_Foundation")]
496 pub fn SspiIsPromptingNeeded(errororntstatus: u32) -> super::super::super::Foundation::BOOLEAN;
04454e1e 497 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 498 pub fn SspiLocalFree(databuffer: *const ::core::ffi::c_void);
04454e1e 499 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 500 pub fn SspiMarshalAuthIdentity(authidentity: *const ::core::ffi::c_void, authidentitylength: *mut u32, authidentitybytearray: *mut *mut i8) -> ::windows_sys::core::HRESULT;
04454e1e 501 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 502 pub fn SspiPrepareForCredRead(authidentity: *const ::core::ffi::c_void, psztargetname: ::windows_sys::core::PCWSTR, pcredmancredentialtype: *mut u32, ppszcredmantargetname: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT;
04454e1e 503 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 504 pub fn SspiPrepareForCredWrite(authidentity: *const ::core::ffi::c_void, psztargetname: ::windows_sys::core::PCWSTR, pcredmancredentialtype: *mut u32, ppszcredmantargetname: *mut ::windows_sys::core::PWSTR, ppszcredmanusername: *mut ::windows_sys::core::PWSTR, ppcredentialblob: *mut *mut u8, pcredentialblobsize: *mut u32) -> ::windows_sys::core::HRESULT;
04454e1e
FG
505 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
506 pub fn SspiPromptForCredentialsA(psztargetname: ::windows_sys::core::PCSTR, puiinfo: *const ::core::ffi::c_void, dwautherror: u32, pszpackage: ::windows_sys::core::PCSTR, pinputauthidentity: *const ::core::ffi::c_void, ppauthidentity: *mut *mut ::core::ffi::c_void, pfsave: *mut i32, dwflags: u32) -> u32;
507 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
508 pub fn SspiPromptForCredentialsW(psztargetname: ::windows_sys::core::PCWSTR, puiinfo: *const ::core::ffi::c_void, dwautherror: u32, pszpackage: ::windows_sys::core::PCWSTR, pinputauthidentity: *const ::core::ffi::c_void, ppauthidentity: *mut *mut ::core::ffi::c_void, pfsave: *mut i32, dwflags: u32) -> u32;
509 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 510 pub fn SspiUnmarshalAuthIdentity(authidentitylength: u32, authidentitybytearray: ::windows_sys::core::PCSTR, ppauthidentity: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e 511 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 512 pub fn SspiValidateAuthIdentity(authdata: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
04454e1e 513 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 514 pub fn SspiZeroAuthIdentity(authdata: *const ::core::ffi::c_void);
04454e1e 515 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
516 #[cfg(feature = "Win32_Foundation")]
517 pub fn SystemFunction036(randombuffer: *mut ::core::ffi::c_void, randombufferlength: u32) -> super::super::super::Foundation::BOOLEAN;
04454e1e 518 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
519 #[cfg(feature = "Win32_Foundation")]
520 pub fn SystemFunction040(memory: *mut ::core::ffi::c_void, memorysize: u32, optionflags: u32) -> super::super::super::Foundation::NTSTATUS;
04454e1e 521 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
522 #[cfg(feature = "Win32_Foundation")]
523 pub fn SystemFunction041(memory: *mut ::core::ffi::c_void, memorysize: u32, optionflags: u32) -> super::super::super::Foundation::NTSTATUS;
04454e1e 524 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 525 pub fn TokenBindingDeleteAllBindings() -> ::windows_sys::core::HRESULT;
04454e1e 526 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 527 pub fn TokenBindingDeleteBinding(targeturl: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT;
04454e1e 528 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 529 pub fn TokenBindingGenerateBinding(keytype: TOKENBINDING_KEY_PARAMETERS_TYPE, targeturl: ::windows_sys::core::PCWSTR, bindingtype: TOKENBINDING_TYPE, tlsekm: *const ::core::ffi::c_void, tlsekmsize: u32, extensionformat: TOKENBINDING_EXTENSION_FORMAT, extensiondata: *const ::core::ffi::c_void, tokenbinding: *mut *mut ::core::ffi::c_void, tokenbindingsize: *mut u32, resultdata: *mut *mut TOKENBINDING_RESULT_DATA) -> ::windows_sys::core::HRESULT;
04454e1e 530 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 531 pub fn TokenBindingGenerateID(keytype: TOKENBINDING_KEY_PARAMETERS_TYPE, publickey: *const ::core::ffi::c_void, publickeysize: u32, resultdata: *mut *mut TOKENBINDING_RESULT_DATA) -> ::windows_sys::core::HRESULT;
04454e1e 532 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 533 pub fn TokenBindingGenerateIDForUri(keytype: TOKENBINDING_KEY_PARAMETERS_TYPE, targeturi: ::windows_sys::core::PCWSTR, resultdata: *mut *mut TOKENBINDING_RESULT_DATA) -> ::windows_sys::core::HRESULT;
04454e1e 534 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 535 pub fn TokenBindingGenerateMessage(tokenbindings: *const *const ::core::ffi::c_void, tokenbindingssize: *const u32, tokenbindingscount: u32, tokenbindingmessage: *mut *mut ::core::ffi::c_void, tokenbindingmessagesize: *mut u32) -> ::windows_sys::core::HRESULT;
04454e1e 536 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 537 pub fn TokenBindingGetHighestSupportedVersion(majorversion: *mut u8, minorversion: *mut u8) -> ::windows_sys::core::HRESULT;
04454e1e 538 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 539 pub fn TokenBindingGetKeyTypesClient(keytypes: *mut *mut TOKENBINDING_KEY_TYPES) -> ::windows_sys::core::HRESULT;
04454e1e 540 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 541 pub fn TokenBindingGetKeyTypesServer(keytypes: *mut *mut TOKENBINDING_KEY_TYPES) -> ::windows_sys::core::HRESULT;
04454e1e 542 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 543 pub fn TokenBindingVerifyMessage(tokenbindingmessage: *const ::core::ffi::c_void, tokenbindingmessagesize: u32, keytype: TOKENBINDING_KEY_PARAMETERS_TYPE, tlsekm: *const ::core::ffi::c_void, tlsekmsize: u32, resultlist: *mut *mut TOKENBINDING_RESULT_LIST) -> ::windows_sys::core::HRESULT;
04454e1e 544 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085 545 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
546 pub fn TranslateNameA(lpaccountname: ::windows_sys::core::PCSTR, accountnameformat: EXTENDED_NAME_FORMAT, desirednameformat: EXTENDED_NAME_FORMAT, lptranslatedname: ::windows_sys::core::PSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN;
547 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085 548 #[cfg(feature = "Win32_Foundation")]
04454e1e
FG
549 pub fn TranslateNameW(lpaccountname: ::windows_sys::core::PCWSTR, accountnameformat: EXTENDED_NAME_FORMAT, desirednameformat: EXTENDED_NAME_FORMAT, lptranslatedname: ::windows_sys::core::PWSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN;
550 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 551 #[cfg(feature = "Win32_Security_Credentials")]
923072b8 552 pub fn VerifySignature(phcontext: *const super::super::Credentials::SecHandle, pmessage: *const SecBufferDesc, messageseqno: u32, pfqop: *mut u32) -> ::windows_sys::core::HRESULT;
5e7ed085 553}
04454e1e 554#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 555pub type ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ = u32;
04454e1e 556#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 557pub const ASC_REQ_ALLOCATE_MEMORY: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ = 256u32;
04454e1e 558#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 559pub const ASC_REQ_CONNECTION: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ = 2048u32;
04454e1e 560#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 561pub const ASC_REQ_DELEGATE: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ = 1u32;
04454e1e 562#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 563pub const ASC_REQ_EXTENDED_ERROR: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ = 32768u32;
04454e1e 564#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 565pub const ASC_REQ_REPLAY_DETECT: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ = 4u32;
04454e1e 566#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 567pub const ASC_REQ_SEQUENCE_DETECT: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ = 8u32;
04454e1e 568#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 569pub const ASC_REQ_STREAM: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ = 65536u32;
04454e1e 570#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 571#[cfg(feature = "Win32_Security_Credentials")]
923072b8 572pub type ACCEPT_SECURITY_CONTEXT_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: *mut super::super::Credentials::SecHandle, param2: *mut SecBufferDesc, param3: u32, param4: u32, param5: *mut super::super::Credentials::SecHandle, param6: *mut SecBufferDesc, param7: *mut u32, param8: *mut i64) -> ::windows_sys::core::HRESULT>;
04454e1e 573#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 574pub const ACCOUNT_ADJUST_PRIVILEGES: i32 = 2i32;
04454e1e 575#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 576pub const ACCOUNT_ADJUST_QUOTAS: i32 = 4i32;
04454e1e 577#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 578pub const ACCOUNT_ADJUST_SYSTEM_ACCESS: i32 = 8i32;
04454e1e 579#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 580pub const ACCOUNT_VIEW: i32 = 1i32;
04454e1e 581#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 582#[cfg(feature = "Win32_Security_Credentials")]
923072b8 583pub type ACQUIRE_CREDENTIALS_HANDLE_FN_A = ::core::option::Option<unsafe extern "system" fn(param0: *mut i8, param1: *mut i8, param2: u32, param3: *mut ::core::ffi::c_void, param4: *mut ::core::ffi::c_void, param5: SEC_GET_KEY_FN, param6: *mut ::core::ffi::c_void, param7: *mut super::super::Credentials::SecHandle, param8: *mut i64) -> ::windows_sys::core::HRESULT>;
04454e1e 584#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 585#[cfg(feature = "Win32_Security_Credentials")]
923072b8 586pub type ACQUIRE_CREDENTIALS_HANDLE_FN_W = ::core::option::Option<unsafe extern "system" fn(param0: *mut u16, param1: *mut u16, param2: u32, param3: *mut ::core::ffi::c_void, param4: *mut ::core::ffi::c_void, param5: SEC_GET_KEY_FN, param6: *mut ::core::ffi::c_void, param7: *mut super::super::Credentials::SecHandle, param8: *mut i64) -> ::windows_sys::core::HRESULT>;
04454e1e 587#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 588#[cfg(feature = "Win32_Security_Credentials")]
923072b8 589pub type ADD_CREDENTIALS_FN_A = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: *mut i8, param2: *mut i8, param3: u32, param4: *mut ::core::ffi::c_void, param5: SEC_GET_KEY_FN, param6: *mut ::core::ffi::c_void, param7: *mut i64) -> ::windows_sys::core::HRESULT>;
04454e1e 590#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 591#[cfg(feature = "Win32_Security_Credentials")]
923072b8 592pub type ADD_CREDENTIALS_FN_W = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: *mut u16, param2: *mut u16, param3: u32, param4: *mut ::core::ffi::c_void, param5: SEC_GET_KEY_FN, param6: *mut ::core::ffi::c_void, param7: *mut i64) -> ::windows_sys::core::HRESULT>;
04454e1e 593#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 594#[cfg(feature = "Win32_Security_Credentials")]
923072b8 595pub type APPLY_CONTROL_TOKEN_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: *mut SecBufferDesc) -> ::windows_sys::core::HRESULT>;
04454e1e 596#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 597pub const ASC_REQ_ALLOW_CONTEXT_REPLAY: u32 = 4194304u32;
04454e1e 598#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 599pub const ASC_REQ_ALLOW_MISSING_BINDINGS: u32 = 268435456u32;
04454e1e 600#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 601pub const ASC_REQ_ALLOW_NON_USER_LOGONS: u32 = 2097152u32;
04454e1e 602#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 603pub const ASC_REQ_ALLOW_NULL_SESSION: u32 = 1048576u32;
04454e1e 604#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 605pub const ASC_REQ_CALL_LEVEL: u32 = 4096u32;
04454e1e 606#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 607pub const ASC_REQ_CONFIDENTIALITY: u32 = 16u32;
04454e1e 608#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 609pub const ASC_REQ_DATAGRAM: u32 = 1024u32;
04454e1e 610#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 611pub const ASC_REQ_FRAGMENT_SUPPLIED: u32 = 8192u32;
04454e1e 612#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 613pub const ASC_REQ_FRAGMENT_TO_FIT: u32 = 8388608u32;
04454e1e 614#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 615pub const ASC_REQ_IDENTIFY: u32 = 524288u32;
04454e1e 616#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 617pub const ASC_REQ_INTEGRITY: u32 = 131072u32;
04454e1e 618#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 619pub const ASC_REQ_LICENSING: u32 = 262144u32;
04454e1e 620#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 621pub const ASC_REQ_MESSAGES: u64 = 4294967296u64;
04454e1e 622#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 623pub const ASC_REQ_MUTUAL_AUTH: u32 = 2u32;
04454e1e 624#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 625pub const ASC_REQ_NO_TOKEN: u32 = 16777216u32;
04454e1e 626#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 627pub const ASC_REQ_PROXY_BINDINGS: u32 = 67108864u32;
04454e1e 628#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 629pub const ASC_REQ_SESSION_TICKET: u32 = 64u32;
04454e1e 630#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 631pub const ASC_REQ_USE_DCE_STYLE: u32 = 512u32;
04454e1e 632#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 633pub const ASC_REQ_USE_SESSION_KEY: u32 = 32u32;
04454e1e 634#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 635pub const ASC_RET_ALLOCATED_MEMORY: u32 = 256u32;
04454e1e 636#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 637pub const ASC_RET_ALLOW_CONTEXT_REPLAY: u32 = 4194304u32;
04454e1e 638#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 639pub const ASC_RET_ALLOW_NON_USER_LOGONS: u32 = 2097152u32;
04454e1e 640#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 641pub const ASC_RET_CALL_LEVEL: u32 = 8192u32;
04454e1e 642#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 643pub const ASC_RET_CONFIDENTIALITY: u32 = 16u32;
04454e1e 644#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 645pub const ASC_RET_CONNECTION: u32 = 2048u32;
04454e1e 646#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 647pub const ASC_RET_DATAGRAM: u32 = 1024u32;
04454e1e 648#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 649pub const ASC_RET_DELEGATE: u32 = 1u32;
04454e1e 650#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 651pub const ASC_RET_EXTENDED_ERROR: u32 = 32768u32;
04454e1e 652#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 653pub const ASC_RET_FRAGMENT_ONLY: u32 = 8388608u32;
04454e1e 654#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 655pub const ASC_RET_IDENTIFY: u32 = 524288u32;
04454e1e 656#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 657pub const ASC_RET_INTEGRITY: u32 = 131072u32;
04454e1e 658#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 659pub const ASC_RET_LICENSING: u32 = 262144u32;
04454e1e 660#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 661pub const ASC_RET_MESSAGES: u64 = 4294967296u64;
04454e1e 662#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 663pub const ASC_RET_MUTUAL_AUTH: u32 = 2u32;
04454e1e 664#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 665pub const ASC_RET_NO_ADDITIONAL_TOKEN: u32 = 33554432u32;
04454e1e 666#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 667pub const ASC_RET_NO_TOKEN: u32 = 16777216u32;
04454e1e 668#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 669pub const ASC_RET_NULL_SESSION: u32 = 1048576u32;
04454e1e 670#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 671pub const ASC_RET_REPLAY_DETECT: u32 = 4u32;
04454e1e 672#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 673pub const ASC_RET_SEQUENCE_DETECT: u32 = 8u32;
04454e1e 674#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 675pub const ASC_RET_SESSION_TICKET: u32 = 64u32;
04454e1e 676#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 677pub const ASC_RET_STREAM: u32 = 65536u32;
04454e1e 678#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 679pub const ASC_RET_THIRD_LEG_FAILED: u32 = 16384u32;
04454e1e 680#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 681pub const ASC_RET_USED_DCE_STYLE: u32 = 512u32;
04454e1e 682#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 683pub const ASC_RET_USE_SESSION_KEY: u32 = 32u32;
04454e1e 684#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
685pub const AUDIT_ENUMERATE_USERS: u32 = 16u32;
686#[repr(C)]
04454e1e 687#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
688pub struct AUDIT_POLICY_INFORMATION {
689 pub AuditSubCategoryGuid: ::windows_sys::core::GUID,
690 pub AuditingInformation: u32,
691 pub AuditCategoryGuid: ::windows_sys::core::GUID,
692}
693impl ::core::marker::Copy for AUDIT_POLICY_INFORMATION {}
694impl ::core::clone::Clone for AUDIT_POLICY_INFORMATION {
695 fn clone(&self) -> Self {
696 *self
697 }
698}
04454e1e 699#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 700pub const AUDIT_QUERY_MISC_POLICY: u32 = 64u32;
04454e1e 701#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 702pub const AUDIT_QUERY_SYSTEM_POLICY: u32 = 2u32;
04454e1e 703#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 704pub const AUDIT_QUERY_USER_POLICY: u32 = 8u32;
04454e1e 705#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 706pub const AUDIT_SET_MISC_POLICY: u32 = 32u32;
04454e1e 707#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 708pub const AUDIT_SET_SYSTEM_POLICY: u32 = 1u32;
04454e1e 709#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 710pub const AUDIT_SET_USER_POLICY: u32 = 4u32;
04454e1e 711#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 712pub const AUTH_REQ_ALLOW_ENC_TKT_IN_SKEY: u32 = 32u32;
04454e1e 713#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 714pub const AUTH_REQ_ALLOW_FORWARDABLE: u32 = 1u32;
04454e1e 715#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 716pub const AUTH_REQ_ALLOW_NOADDRESS: u32 = 16u32;
04454e1e 717#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 718pub const AUTH_REQ_ALLOW_POSTDATE: u32 = 4u32;
04454e1e 719#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 720pub const AUTH_REQ_ALLOW_PROXIABLE: u32 = 2u32;
04454e1e 721#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 722pub const AUTH_REQ_ALLOW_RENEWABLE: u32 = 8u32;
04454e1e 723#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 724pub const AUTH_REQ_ALLOW_S4U_DELEGATE: u32 = 2048u32;
04454e1e 725#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 726pub const AUTH_REQ_ALLOW_VALIDATE: u32 = 64u32;
04454e1e 727#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 728pub const AUTH_REQ_OK_AS_DELEGATE: u32 = 256u32;
04454e1e 729#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 730pub const AUTH_REQ_PREAUTH_REQUIRED: u32 = 512u32;
04454e1e 731#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 732pub const AUTH_REQ_TRANSITIVE_TRUST: u32 = 1024u32;
04454e1e 733#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
734pub const AUTH_REQ_VALIDATE_CLIENT: u32 = 128u32;
735pub const Audit_AccountLogon: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1771542608, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
736pub const Audit_AccountLogon_CredentialValidation: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864447, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
737pub const Audit_AccountLogon_KerbCredentialValidation: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864450, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
738pub const Audit_AccountLogon_Kerberos: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864448, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
739pub const Audit_AccountLogon_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864449, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
740pub const Audit_AccountManagement: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1771542606, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
741pub const Audit_AccountManagement_ApplicationGroup: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864441, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
742pub const Audit_AccountManagement_ComputerAccount: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864438, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
743pub const Audit_AccountManagement_DistributionGroup: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864440, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
744pub const Audit_AccountManagement_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864442, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
745pub const Audit_AccountManagement_SecurityGroup: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864439, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
746pub const Audit_AccountManagement_UserAccount: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864437, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
747pub const Audit_DSAccess_DSAccess: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864443, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
748pub const Audit_DetailedTracking: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1771542604, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
749pub const Audit_DetailedTracking_DpapiActivity: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864429, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
750pub const Audit_DetailedTracking_PnpActivity: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864456, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
751pub const Audit_DetailedTracking_ProcessCreation: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864427, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
752pub const Audit_DetailedTracking_ProcessTermination: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864428, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
753pub const Audit_DetailedTracking_RpcCall: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864430, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
754pub const Audit_DetailedTracking_TokenRightAdjusted: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864458, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
755pub const Audit_DirectoryServiceAccess: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1771542607, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
756pub const Audit_DsAccess_AdAuditChanges: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864444, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
757pub const Audit_Ds_DetailedReplication: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864446, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
758pub const Audit_Ds_Replication: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864445, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
759pub const Audit_Logon: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1771542601, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
760pub const Audit_Logon_AccountLockout: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864407, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
761pub const Audit_Logon_Claims: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864455, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
762pub const Audit_Logon_Groups: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864457, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
763pub const Audit_Logon_IPSecMainMode: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864408, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
764pub const Audit_Logon_IPSecQuickMode: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864409, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
765pub const Audit_Logon_IPSecUserMode: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864410, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
766pub const Audit_Logon_Logoff: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864406, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
767pub const Audit_Logon_Logon: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864405, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
768pub const Audit_Logon_NPS: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864451, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
769pub const Audit_Logon_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864412, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
770pub const Audit_Logon_SpecialLogon: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864411, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
771pub const Audit_ObjectAccess: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1771542602, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
772pub const Audit_ObjectAccess_ApplicationGenerated: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864418, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
773pub const Audit_ObjectAccess_CbacStaging: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864454, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
774pub const Audit_ObjectAccess_CertificationServices: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864417, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
775pub const Audit_ObjectAccess_DetailedFileShare: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864452, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
776pub const Audit_ObjectAccess_FileSystem: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864413, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
777pub const Audit_ObjectAccess_FirewallConnection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864422, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
778pub const Audit_ObjectAccess_FirewallPacketDrops: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864421, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
779pub const Audit_ObjectAccess_Handle: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864419, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
780pub const Audit_ObjectAccess_Kernel: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864415, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
781pub const Audit_ObjectAccess_Other: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864423, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
782pub const Audit_ObjectAccess_Registry: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864414, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
783pub const Audit_ObjectAccess_RemovableStorage: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864453, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
784pub const Audit_ObjectAccess_Sam: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864416, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
785pub const Audit_ObjectAccess_Share: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864420, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
786pub const Audit_PolicyChange: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1771542605, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
787pub const Audit_PolicyChange_AuditPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864431, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
788pub const Audit_PolicyChange_AuthenticationPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864432, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
789pub const Audit_PolicyChange_AuthorizationPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864433, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
790pub const Audit_PolicyChange_MpsscvRulePolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864434, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
791pub const Audit_PolicyChange_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864436, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
792pub const Audit_PolicyChange_WfpIPSecPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864435, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
793pub const Audit_PrivilegeUse: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1771542603, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
794pub const Audit_PrivilegeUse_NonSensitive: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864425, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
795pub const Audit_PrivilegeUse_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864426, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
796pub const Audit_PrivilegeUse_Sensitive: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864424, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
797pub const Audit_System: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1771542600, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
798pub const Audit_System_IPSecDriverEvents: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864403, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
799pub const Audit_System_Integrity: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864402, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
800pub const Audit_System_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864404, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
801pub const Audit_System_SecurityStateChange: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864400, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
802pub const Audit_System_SecuritySubsystemExtension: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 214864401, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] };
803#[repr(C)]
04454e1e 804#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
805#[cfg(feature = "Win32_Foundation")]
806pub struct CENTRAL_ACCESS_POLICY {
807 pub CAPID: super::super::super::Foundation::PSID,
808 pub Name: super::super::super::Foundation::UNICODE_STRING,
809 pub Description: super::super::super::Foundation::UNICODE_STRING,
810 pub ChangeId: super::super::super::Foundation::UNICODE_STRING,
811 pub Flags: u32,
812 pub CAPECount: u32,
813 pub CAPEs: *mut *mut CENTRAL_ACCESS_POLICY_ENTRY,
814}
815#[cfg(feature = "Win32_Foundation")]
816impl ::core::marker::Copy for CENTRAL_ACCESS_POLICY {}
817#[cfg(feature = "Win32_Foundation")]
818impl ::core::clone::Clone for CENTRAL_ACCESS_POLICY {
819 fn clone(&self) -> Self {
820 *self
821 }
822}
823#[repr(C)]
04454e1e 824#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
825#[cfg(feature = "Win32_Foundation")]
826pub struct CENTRAL_ACCESS_POLICY_ENTRY {
827 pub Name: super::super::super::Foundation::UNICODE_STRING,
828 pub Description: super::super::super::Foundation::UNICODE_STRING,
829 pub ChangeId: super::super::super::Foundation::UNICODE_STRING,
830 pub LengthAppliesTo: u32,
831 pub AppliesTo: *mut u8,
832 pub LengthSD: u32,
923072b8 833 pub SD: super::super::PSECURITY_DESCRIPTOR,
5e7ed085 834 pub LengthStagedSD: u32,
923072b8 835 pub StagedSD: super::super::PSECURITY_DESCRIPTOR,
5e7ed085
FG
836 pub Flags: u32,
837}
838#[cfg(feature = "Win32_Foundation")]
839impl ::core::marker::Copy for CENTRAL_ACCESS_POLICY_ENTRY {}
840#[cfg(feature = "Win32_Foundation")]
841impl ::core::clone::Clone for CENTRAL_ACCESS_POLICY_ENTRY {
842 fn clone(&self) -> Self {
843 *self
844 }
845}
04454e1e 846#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 847pub const CENTRAL_ACCESS_POLICY_OWNER_RIGHTS_PRESENT_FLAG: u32 = 1u32;
04454e1e 848#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 849pub const CENTRAL_ACCESS_POLICY_STAGED_FLAG: u32 = 65536u32;
04454e1e 850#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 851pub const CENTRAL_ACCESS_POLICY_STAGED_OWNER_RIGHTS_PRESENT_FLAG: u32 = 256u32;
04454e1e 852#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085 853#[cfg(feature = "Win32_Foundation")]
923072b8 854pub type CHANGE_PASSWORD_FN_A = ::core::option::Option<unsafe extern "system" fn(param0: *mut i8, param1: *mut i8, param2: *mut i8, param3: *mut i8, param4: *mut i8, param5: super::super::super::Foundation::BOOLEAN, param6: u32, param7: *mut SecBufferDesc) -> ::windows_sys::core::HRESULT>;
04454e1e 855#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085 856#[cfg(feature = "Win32_Foundation")]
923072b8 857pub type CHANGE_PASSWORD_FN_W = ::core::option::Option<unsafe extern "system" fn(param0: *mut u16, param1: *mut u16, param2: *mut u16, param3: *mut u16, param4: *mut u16, param5: super::super::super::Foundation::BOOLEAN, param6: u32, param7: *mut SecBufferDesc) -> ::windows_sys::core::HRESULT>;
5e7ed085 858#[repr(C)]
04454e1e 859#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
860#[cfg(feature = "Win32_Foundation")]
861pub struct CLEAR_BLOCK {
862 pub data: [super::super::super::Foundation::CHAR; 8],
863}
864#[cfg(feature = "Win32_Foundation")]
865impl ::core::marker::Copy for CLEAR_BLOCK {}
866#[cfg(feature = "Win32_Foundation")]
867impl ::core::clone::Clone for CLEAR_BLOCK {
868 fn clone(&self) -> Self {
869 *self
870 }
871}
04454e1e 872#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 873pub const CLEAR_BLOCK_LENGTH: u32 = 8u32;
04454e1e 874#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 875pub const CLOUDAP_NAME: &str = "CloudAP";
04454e1e 876#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 877pub const CLOUDAP_NAME_W: &str = "CloudAP";
04454e1e 878#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 879#[cfg(feature = "Win32_Security_Credentials")]
923072b8 880pub type COMPLETE_AUTH_TOKEN_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: *mut SecBufferDesc) -> ::windows_sys::core::HRESULT>;
04454e1e 881#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 882pub const CREDP_FLAGS_CLEAR_PASSWORD: u32 = 8u32;
04454e1e 883#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 884pub const CREDP_FLAGS_DONT_CACHE_TI: u32 = 4u32;
04454e1e 885#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 886pub const CREDP_FLAGS_IN_PROCESS: u32 = 1u32;
04454e1e 887#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 888pub const CREDP_FLAGS_TRUSTED_CALLER: u32 = 32u32;
04454e1e 889#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 890pub const CREDP_FLAGS_USER_ENCRYPTED_PASSWORD: u32 = 16u32;
04454e1e 891#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 892pub const CREDP_FLAGS_USE_MIDL_HEAP: u32 = 2u32;
04454e1e 893#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 894pub const CREDP_FLAGS_VALIDATE_PROXY_TARGET: u32 = 64u32;
04454e1e 895#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 896pub type CRED_FETCH = i32;
04454e1e 897#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 898pub const CredFetchDefault: CRED_FETCH = 0i32;
04454e1e 899#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 900pub const CredFetchDPAPI: CRED_FETCH = 1i32;
04454e1e 901#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 902pub const CredFetchForced: CRED_FETCH = 2i32;
04454e1e 903#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 904pub const CRED_MARSHALED_TI_SIZE_SIZE: u32 = 12u32;
04454e1e 905#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 906pub const CYPHER_BLOCK_LENGTH: u32 = 8u32;
04454e1e 907#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 908pub const ClOUDAP_NAME_A: &str = "CloudAP";
04454e1e 909#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085
FG
910#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
911pub type CredFreeCredentialsFn = ::core::option::Option<unsafe extern "system" fn(count: u32, credentials: *mut *mut ENCRYPTED_CREDENTIALW)>;
04454e1e 912#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085
FG
913#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
914pub type CredReadDomainCredentialsFn = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, credflags: u32, targetinfo: *const super::super::Credentials::CREDENTIAL_TARGET_INFORMATIONW, flags: u32, count: *mut u32, credential: *mut *mut *mut ENCRYPTED_CREDENTIALW) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 915#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 916#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
04454e1e
FG
917pub type CredReadFn = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, credflags: u32, targetname: ::windows_sys::core::PCWSTR, r#type: u32, flags: u32, credential: *mut *mut ENCRYPTED_CREDENTIALW) -> super::super::super::Foundation::NTSTATUS>;
918#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085
FG
919#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
920pub type CredWriteFn = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, credflags: u32, credential: *const ENCRYPTED_CREDENTIALW, flags: u32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 921#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085 922#[cfg(feature = "Win32_Foundation")]
04454e1e
FG
923pub type CrediUnmarshalandDecodeStringFn = ::core::option::Option<unsafe extern "system" fn(marshaledstring: ::windows_sys::core::PCWSTR, blob: *mut *mut u8, blobsize: *mut u32, isfailurefatal: *mut u8) -> super::super::super::Foundation::NTSTATUS>;
924#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 925#[cfg(feature = "Win32_Security_Credentials")]
923072b8 926pub type DECRYPT_MESSAGE_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: *mut SecBufferDesc, param2: u32, param3: *mut u32) -> ::windows_sys::core::HRESULT>;
04454e1e 927#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 928pub const DEFAULT_TLS_SSP_NAME: &str = "Default TLS SSP";
04454e1e 929#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 930pub const DEFAULT_TLS_SSP_NAME_A: &str = "Default TLS SSP";
04454e1e 931#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 932pub const DEFAULT_TLS_SSP_NAME_W: &str = "Default TLS SSP";
04454e1e 933#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 934#[cfg(feature = "Win32_Security_Credentials")]
923072b8 935pub type DELETE_SECURITY_CONTEXT_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT>;
04454e1e 936#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
937pub const DOMAIN_NO_LM_OWF_CHANGE: i32 = 64i32;
938#[repr(C)]
04454e1e 939#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
940pub struct DOMAIN_PASSWORD_INFORMATION {
941 pub MinPasswordLength: u16,
942 pub PasswordHistoryLength: u16,
943 pub PasswordProperties: DOMAIN_PASSWORD_PROPERTIES,
944 pub MaxPasswordAge: i64,
945 pub MinPasswordAge: i64,
946}
947impl ::core::marker::Copy for DOMAIN_PASSWORD_INFORMATION {}
948impl ::core::clone::Clone for DOMAIN_PASSWORD_INFORMATION {
949 fn clone(&self) -> Self {
950 *self
951 }
952}
04454e1e 953#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 954pub type DOMAIN_PASSWORD_PROPERTIES = u32;
04454e1e 955#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 956pub const DOMAIN_PASSWORD_COMPLEX: DOMAIN_PASSWORD_PROPERTIES = 1u32;
04454e1e 957#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 958pub const DOMAIN_PASSWORD_NO_ANON_CHANGE: DOMAIN_PASSWORD_PROPERTIES = 2u32;
04454e1e 959#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 960pub const DOMAIN_PASSWORD_NO_CLEAR_CHANGE: DOMAIN_PASSWORD_PROPERTIES = 4u32;
04454e1e 961#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 962pub const DOMAIN_LOCKOUT_ADMINS: DOMAIN_PASSWORD_PROPERTIES = 8u32;
04454e1e 963#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 964pub const DOMAIN_PASSWORD_STORE_CLEARTEXT: DOMAIN_PASSWORD_PROPERTIES = 16u32;
04454e1e 965#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 966pub const DOMAIN_REFUSE_PASSWORD_CHANGE: DOMAIN_PASSWORD_PROPERTIES = 32u32;
04454e1e 967#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 968pub const DS_UNKNOWN_ADDRESS_TYPE: u32 = 0u32;
04454e1e 969#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
970pub const ENABLE_TLS_CLIENT_EARLY_START: u32 = 1u32;
971#[repr(C)]
04454e1e 972#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085
FG
973#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
974pub struct ENCRYPTED_CREDENTIALW {
975 pub Cred: super::super::Credentials::CREDENTIALW,
976 pub ClearCredentialBlobSize: u32,
977}
978#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
979impl ::core::marker::Copy for ENCRYPTED_CREDENTIALW {}
980#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
981impl ::core::clone::Clone for ENCRYPTED_CREDENTIALW {
982 fn clone(&self) -> Self {
983 *self
984 }
985}
04454e1e 986#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 987#[cfg(feature = "Win32_Security_Credentials")]
923072b8 988pub type ENCRYPT_MESSAGE_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut SecBufferDesc, param3: u32) -> ::windows_sys::core::HRESULT>;
04454e1e 989#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 990pub type ENUMERATE_SECURITY_PACKAGES_FN_A = ::core::option::Option<unsafe extern "system" fn(param0: *mut u32, param1: *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT>;
04454e1e 991#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 992pub type ENUMERATE_SECURITY_PACKAGES_FN_W = ::core::option::Option<unsafe extern "system" fn(param0: *mut u32, param1: *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT>;
04454e1e 993#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 994pub type EXPORT_SECURITY_CONTEXT_FLAGS = u32;
04454e1e 995#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 996pub const SECPKG_CONTEXT_EXPORT_RESET_NEW: EXPORT_SECURITY_CONTEXT_FLAGS = 1u32;
04454e1e 997#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 998pub const SECPKG_CONTEXT_EXPORT_DELETE_OLD: EXPORT_SECURITY_CONTEXT_FLAGS = 2u32;
04454e1e 999#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1000pub const SECPKG_CONTEXT_EXPORT_TO_KERNEL: EXPORT_SECURITY_CONTEXT_FLAGS = 4u32;
04454e1e 1001#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 1002#[cfg(feature = "Win32_Security_Credentials")]
923072b8 1003pub type EXPORT_SECURITY_CONTEXT_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut SecBuffer, param3: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>;
04454e1e 1004#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1005pub type EXTENDED_NAME_FORMAT = i32;
04454e1e 1006#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1007pub const NameUnknown: EXTENDED_NAME_FORMAT = 0i32;
04454e1e 1008#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1009pub const NameFullyQualifiedDN: EXTENDED_NAME_FORMAT = 1i32;
04454e1e 1010#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1011pub const NameSamCompatible: EXTENDED_NAME_FORMAT = 2i32;
04454e1e 1012#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1013pub const NameDisplay: EXTENDED_NAME_FORMAT = 3i32;
04454e1e 1014#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1015pub const NameUniqueId: EXTENDED_NAME_FORMAT = 6i32;
04454e1e 1016#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1017pub const NameCanonical: EXTENDED_NAME_FORMAT = 7i32;
04454e1e 1018#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1019pub const NameUserPrincipal: EXTENDED_NAME_FORMAT = 8i32;
04454e1e 1020#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1021pub const NameCanonicalEx: EXTENDED_NAME_FORMAT = 9i32;
04454e1e 1022#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1023pub const NameServicePrincipal: EXTENDED_NAME_FORMAT = 10i32;
04454e1e 1024#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1025pub const NameDnsDomain: EXTENDED_NAME_FORMAT = 12i32;
04454e1e 1026#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1027pub const NameGivenName: EXTENDED_NAME_FORMAT = 13i32;
04454e1e 1028#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1029pub const NameSurname: EXTENDED_NAME_FORMAT = 14i32;
04454e1e 1030#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1031pub const E_RM_UNKNOWN_ERROR: ::windows_sys::core::HRESULT = -1073415165i32;
04454e1e 1032#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1033pub const FACILITY_SL_ITF: u32 = 4u32;
04454e1e 1034#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 1035pub type FREE_CONTEXT_BUFFER_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>;
04454e1e 1036#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 1037#[cfg(feature = "Win32_Security_Credentials")]
923072b8 1038pub type FREE_CREDENTIALS_HANDLE_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT>;
5e7ed085 1039pub type ICcgDomainAuthCredentials = *mut ::core::ffi::c_void;
04454e1e 1040#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 1041pub const ID_CAP_SLAPI: &str = "slapiQueryLicenseValue";
04454e1e 1042#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 1043#[cfg(feature = "Win32_Security_Credentials")]
923072b8 1044pub type IMPERSONATE_SECURITY_CONTEXT_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT>;
04454e1e 1045#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 1046#[cfg(feature = "Win32_Security_Credentials")]
923072b8 1047pub type IMPORT_SECURITY_CONTEXT_FN_A = ::core::option::Option<unsafe extern "system" fn(param0: *mut i8, param1: *mut SecBuffer, param2: *mut ::core::ffi::c_void, param3: *mut super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT>;
04454e1e 1048#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 1049#[cfg(feature = "Win32_Security_Credentials")]
923072b8 1050pub type IMPORT_SECURITY_CONTEXT_FN_W = ::core::option::Option<unsafe extern "system" fn(param0: *mut u16, param1: *mut SecBuffer, param2: *mut ::core::ffi::c_void, param3: *mut super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT>;
04454e1e 1051#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 1052#[cfg(feature = "Win32_Security_Credentials")]
923072b8 1053pub type INITIALIZE_SECURITY_CONTEXT_FN_A = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: *mut super::super::Credentials::SecHandle, param2: *mut i8, param3: u32, param4: u32, param5: u32, param6: *mut SecBufferDesc, param7: u32, param8: *mut super::super::Credentials::SecHandle, param9: *mut SecBufferDesc, param10: *mut u32, param11: *mut i64) -> ::windows_sys::core::HRESULT>;
04454e1e 1054#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 1055#[cfg(feature = "Win32_Security_Credentials")]
923072b8 1056pub type INITIALIZE_SECURITY_CONTEXT_FN_W = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: *mut super::super::Credentials::SecHandle, param2: *mut u16, param3: u32, param4: u32, param5: u32, param6: *mut SecBufferDesc, param7: u32, param8: *mut super::super::Credentials::SecHandle, param9: *mut SecBufferDesc, param10: *mut u32, param11: *mut i64) -> ::windows_sys::core::HRESULT>;
04454e1e 1057#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085
FG
1058#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
1059pub type INIT_SECURITY_INTERFACE_A = ::core::option::Option<unsafe extern "system" fn() -> *mut SecurityFunctionTableA>;
04454e1e 1060#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085
FG
1061#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
1062pub type INIT_SECURITY_INTERFACE_W = ::core::option::Option<unsafe extern "system" fn() -> *mut SecurityFunctionTableW>;
04454e1e 1063#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1064pub const ISC_REQ_ALLOCATE_MEMORY: u32 = 256u32;
04454e1e 1065#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1066pub const ISC_REQ_CALL_LEVEL: u32 = 4096u32;
04454e1e 1067#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1068pub const ISC_REQ_CONFIDENTIALITY: u32 = 16u32;
04454e1e 1069#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1070pub const ISC_REQ_CONFIDENTIALITY_ONLY: u32 = 1073741824u32;
04454e1e 1071#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1072pub const ISC_REQ_CONNECTION: u32 = 2048u32;
04454e1e 1073#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1074pub const ISC_REQ_DATAGRAM: u32 = 1024u32;
04454e1e 1075#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1076pub const ISC_REQ_DEFERRED_CRED_VALIDATION: u64 = 8589934592u64;
04454e1e 1077#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1078pub const ISC_REQ_DELEGATE: u32 = 1u32;
04454e1e 1079#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1080pub const ISC_REQ_EXTENDED_ERROR: u32 = 16384u32;
04454e1e 1081#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1082pub const ISC_REQ_FORWARD_CREDENTIALS: u32 = 4194304u32;
04454e1e 1083#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1084pub const ISC_REQ_FRAGMENT_SUPPLIED: u32 = 8192u32;
04454e1e 1085#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1086pub const ISC_REQ_FRAGMENT_TO_FIT: u32 = 2097152u32;
04454e1e 1087#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1088pub const ISC_REQ_IDENTIFY: u32 = 131072u32;
04454e1e 1089#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1090pub const ISC_REQ_INTEGRITY: u32 = 65536u32;
04454e1e 1091#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1092pub const ISC_REQ_MANUAL_CRED_VALIDATION: u32 = 524288u32;
04454e1e 1093#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1094pub const ISC_REQ_MESSAGES: u64 = 4294967296u64;
04454e1e 1095#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1096pub const ISC_REQ_MUTUAL_AUTH: u32 = 2u32;
04454e1e 1097#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1098pub const ISC_REQ_NO_INTEGRITY: u32 = 8388608u32;
04454e1e 1099#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1100pub const ISC_REQ_NULL_SESSION: u32 = 262144u32;
04454e1e 1101#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1102pub const ISC_REQ_PROMPT_FOR_CREDS: u32 = 64u32;
04454e1e 1103#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1104pub const ISC_REQ_REPLAY_DETECT: u32 = 4u32;
04454e1e 1105#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1106pub const ISC_REQ_RESERVED1: u32 = 1048576u32;
04454e1e 1107#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1108pub const ISC_REQ_SEQUENCE_DETECT: u32 = 8u32;
04454e1e 1109#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1110pub const ISC_REQ_STREAM: u32 = 32768u32;
04454e1e 1111#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1112pub const ISC_REQ_UNVERIFIED_TARGET_NAME: u32 = 536870912u32;
04454e1e 1113#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1114pub const ISC_REQ_USE_DCE_STYLE: u32 = 512u32;
04454e1e 1115#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1116pub const ISC_REQ_USE_HTTP_STYLE: u32 = 16777216u32;
04454e1e 1117#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1118pub const ISC_REQ_USE_SESSION_KEY: u32 = 32u32;
04454e1e 1119#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1120pub const ISC_REQ_USE_SUPPLIED_CREDS: u32 = 128u32;
04454e1e 1121#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1122pub const ISC_RET_ALLOCATED_MEMORY: u32 = 256u32;
04454e1e 1123#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1124pub const ISC_RET_CALL_LEVEL: u32 = 8192u32;
04454e1e 1125#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1126pub const ISC_RET_CONFIDENTIALITY: u32 = 16u32;
04454e1e 1127#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1128pub const ISC_RET_CONFIDENTIALITY_ONLY: u32 = 1073741824u32;
04454e1e 1129#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1130pub const ISC_RET_CONNECTION: u32 = 2048u32;
04454e1e 1131#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1132pub const ISC_RET_DATAGRAM: u32 = 1024u32;
04454e1e 1133#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1134pub const ISC_RET_DEFERRED_CRED_VALIDATION: u64 = 8589934592u64;
04454e1e 1135#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1136pub const ISC_RET_DELEGATE: u32 = 1u32;
04454e1e 1137#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1138pub const ISC_RET_EXTENDED_ERROR: u32 = 16384u32;
04454e1e 1139#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1140pub const ISC_RET_FORWARD_CREDENTIALS: u32 = 4194304u32;
04454e1e 1141#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1142pub const ISC_RET_FRAGMENT_ONLY: u32 = 2097152u32;
04454e1e 1143#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1144pub const ISC_RET_IDENTIFY: u32 = 131072u32;
04454e1e 1145#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1146pub const ISC_RET_INTEGRITY: u32 = 65536u32;
04454e1e 1147#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1148pub const ISC_RET_INTERMEDIATE_RETURN: u32 = 4096u32;
04454e1e 1149#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1150pub const ISC_RET_MANUAL_CRED_VALIDATION: u32 = 524288u32;
04454e1e 1151#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1152pub const ISC_RET_MESSAGES: u64 = 4294967296u64;
04454e1e 1153#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1154pub const ISC_RET_MUTUAL_AUTH: u32 = 2u32;
04454e1e 1155#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1156pub const ISC_RET_NO_ADDITIONAL_TOKEN: u32 = 33554432u32;
04454e1e 1157#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1158pub const ISC_RET_NULL_SESSION: u32 = 262144u32;
04454e1e 1159#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1160pub const ISC_RET_REAUTHENTICATION: u32 = 134217728u32;
04454e1e 1161#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1162pub const ISC_RET_REPLAY_DETECT: u32 = 4u32;
04454e1e 1163#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1164pub const ISC_RET_RESERVED1: u32 = 1048576u32;
04454e1e 1165#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1166pub const ISC_RET_SEQUENCE_DETECT: u32 = 8u32;
04454e1e 1167#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1168pub const ISC_RET_STREAM: u32 = 32768u32;
04454e1e 1169#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1170pub const ISC_RET_USED_COLLECTED_CREDS: u32 = 64u32;
04454e1e 1171#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1172pub const ISC_RET_USED_DCE_STYLE: u32 = 512u32;
04454e1e 1173#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1174pub const ISC_RET_USED_HTTP_STYLE: u32 = 16777216u32;
04454e1e 1175#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1176pub const ISC_RET_USED_SUPPLIED_CREDS: u32 = 128u32;
04454e1e 1177#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1178pub const ISC_RET_USE_SESSION_KEY: u32 = 32u32;
04454e1e 1179#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1180pub const ISSP_LEVEL: u32 = 32u32;
04454e1e 1181#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
1182pub const ISSP_MODE: u32 = 1u32;
1183#[repr(C)]
04454e1e 1184#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1185#[cfg(feature = "Win32_Foundation")]
1186pub struct KDC_PROXY_CACHE_ENTRY_DATA {
1187 pub SinceLastUsed: u64,
1188 pub DomainName: super::super::super::Foundation::UNICODE_STRING,
1189 pub ProxyServerName: super::super::super::Foundation::UNICODE_STRING,
1190 pub ProxyServerVdir: super::super::super::Foundation::UNICODE_STRING,
1191 pub ProxyServerPort: u16,
1192 pub LogonId: super::super::super::Foundation::LUID,
1193 pub CredUserName: super::super::super::Foundation::UNICODE_STRING,
1194 pub CredDomainName: super::super::super::Foundation::UNICODE_STRING,
1195 pub GlobalCache: super::super::super::Foundation::BOOLEAN,
1196}
1197#[cfg(feature = "Win32_Foundation")]
1198impl ::core::marker::Copy for KDC_PROXY_CACHE_ENTRY_DATA {}
1199#[cfg(feature = "Win32_Foundation")]
1200impl ::core::clone::Clone for KDC_PROXY_CACHE_ENTRY_DATA {
1201 fn clone(&self) -> Self {
1202 *self
1203 }
1204}
04454e1e 1205#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1206pub const KDC_PROXY_SETTINGS_FLAGS_FORCEPROXY: u32 = 1u32;
04454e1e 1207#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1208pub const KDC_PROXY_SETTINGS_V1: u32 = 1u32;
04454e1e 1209#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1210pub const KERBEROS_REVISION: u32 = 6u32;
04454e1e 1211#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1212pub const KERBEROS_VERSION: u32 = 5u32;
04454e1e 1213#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1214pub type KERB_ADDRESS_TYPE = u32;
04454e1e 1215#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1216pub const DS_INET_ADDRESS: KERB_ADDRESS_TYPE = 1u32;
04454e1e 1217#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
1218pub const DS_NETBIOS_ADDRESS: KERB_ADDRESS_TYPE = 2u32;
1219#[repr(C)]
04454e1e 1220#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1221#[cfg(feature = "Win32_Foundation")]
1222pub struct KERB_ADD_BINDING_CACHE_ENTRY_EX_REQUEST {
1223 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
1224 pub RealmName: super::super::super::Foundation::UNICODE_STRING,
1225 pub KdcAddress: super::super::super::Foundation::UNICODE_STRING,
1226 pub AddressType: KERB_ADDRESS_TYPE,
1227 pub DcFlags: u32,
1228}
1229#[cfg(feature = "Win32_Foundation")]
1230impl ::core::marker::Copy for KERB_ADD_BINDING_CACHE_ENTRY_EX_REQUEST {}
1231#[cfg(feature = "Win32_Foundation")]
1232impl ::core::clone::Clone for KERB_ADD_BINDING_CACHE_ENTRY_EX_REQUEST {
1233 fn clone(&self) -> Self {
1234 *self
1235 }
1236}
1237#[repr(C)]
04454e1e 1238#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1239#[cfg(feature = "Win32_Foundation")]
1240pub struct KERB_ADD_BINDING_CACHE_ENTRY_REQUEST {
1241 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
1242 pub RealmName: super::super::super::Foundation::UNICODE_STRING,
1243 pub KdcAddress: super::super::super::Foundation::UNICODE_STRING,
1244 pub AddressType: KERB_ADDRESS_TYPE,
1245}
1246#[cfg(feature = "Win32_Foundation")]
1247impl ::core::marker::Copy for KERB_ADD_BINDING_CACHE_ENTRY_REQUEST {}
1248#[cfg(feature = "Win32_Foundation")]
1249impl ::core::clone::Clone for KERB_ADD_BINDING_CACHE_ENTRY_REQUEST {
1250 fn clone(&self) -> Self {
1251 *self
1252 }
1253}
1254#[repr(C)]
04454e1e 1255#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1256#[cfg(feature = "Win32_Foundation")]
1257pub struct KERB_ADD_CREDENTIALS_REQUEST {
1258 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
1259 pub UserName: super::super::super::Foundation::UNICODE_STRING,
1260 pub DomainName: super::super::super::Foundation::UNICODE_STRING,
1261 pub Password: super::super::super::Foundation::UNICODE_STRING,
1262 pub LogonId: super::super::super::Foundation::LUID,
1263 pub Flags: KERB_REQUEST_FLAGS,
1264}
1265#[cfg(feature = "Win32_Foundation")]
1266impl ::core::marker::Copy for KERB_ADD_CREDENTIALS_REQUEST {}
1267#[cfg(feature = "Win32_Foundation")]
1268impl ::core::clone::Clone for KERB_ADD_CREDENTIALS_REQUEST {
1269 fn clone(&self) -> Self {
1270 *self
1271 }
1272}
1273#[repr(C)]
04454e1e 1274#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1275#[cfg(feature = "Win32_Foundation")]
1276pub struct KERB_ADD_CREDENTIALS_REQUEST_EX {
1277 pub Credentials: KERB_ADD_CREDENTIALS_REQUEST,
1278 pub PrincipalNameCount: u32,
1279 pub PrincipalNames: [super::super::super::Foundation::UNICODE_STRING; 1],
1280}
1281#[cfg(feature = "Win32_Foundation")]
1282impl ::core::marker::Copy for KERB_ADD_CREDENTIALS_REQUEST_EX {}
1283#[cfg(feature = "Win32_Foundation")]
1284impl ::core::clone::Clone for KERB_ADD_CREDENTIALS_REQUEST_EX {
1285 fn clone(&self) -> Self {
1286 *self
1287 }
1288}
1289#[repr(C)]
04454e1e 1290#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
1291pub struct KERB_AUTH_DATA {
1292 pub Type: u32,
1293 pub Length: u32,
1294 pub Data: *mut u8,
1295}
1296impl ::core::marker::Copy for KERB_AUTH_DATA {}
1297impl ::core::clone::Clone for KERB_AUTH_DATA {
1298 fn clone(&self) -> Self {
1299 *self
1300 }
1301}
1302#[repr(C)]
04454e1e 1303#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1304#[cfg(feature = "Win32_Foundation")]
1305pub struct KERB_BINDING_CACHE_ENTRY_DATA {
1306 pub DiscoveryTime: u64,
1307 pub RealmName: super::super::super::Foundation::UNICODE_STRING,
1308 pub KdcAddress: super::super::super::Foundation::UNICODE_STRING,
1309 pub AddressType: KERB_ADDRESS_TYPE,
1310 pub Flags: u32,
1311 pub DcFlags: u32,
1312 pub CacheFlags: u32,
1313 pub KdcName: super::super::super::Foundation::UNICODE_STRING,
1314}
1315#[cfg(feature = "Win32_Foundation")]
1316impl ::core::marker::Copy for KERB_BINDING_CACHE_ENTRY_DATA {}
1317#[cfg(feature = "Win32_Foundation")]
1318impl ::core::clone::Clone for KERB_BINDING_CACHE_ENTRY_DATA {
1319 fn clone(&self) -> Self {
1320 *self
1321 }
1322}
1323#[repr(C)]
04454e1e 1324#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
1325pub struct KERB_CERTIFICATE_HASHINFO {
1326 pub StoreNameLength: u16,
1327 pub HashLength: u16,
1328}
1329impl ::core::marker::Copy for KERB_CERTIFICATE_HASHINFO {}
1330impl ::core::clone::Clone for KERB_CERTIFICATE_HASHINFO {
1331 fn clone(&self) -> Self {
1332 *self
1333 }
1334}
1335#[repr(C)]
04454e1e 1336#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
1337pub struct KERB_CERTIFICATE_INFO {
1338 pub CertInfoSize: u32,
1339 pub InfoType: u32,
1340}
1341impl ::core::marker::Copy for KERB_CERTIFICATE_INFO {}
1342impl ::core::clone::Clone for KERB_CERTIFICATE_INFO {
1343 fn clone(&self) -> Self {
1344 *self
1345 }
1346}
04454e1e 1347#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1348pub type KERB_CERTIFICATE_INFO_TYPE = i32;
04454e1e 1349#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
1350pub const CertHashInfo: KERB_CERTIFICATE_INFO_TYPE = 1i32;
1351#[repr(C)]
04454e1e 1352#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1353#[cfg(feature = "Win32_Foundation")]
1354pub struct KERB_CERTIFICATE_LOGON {
1355 pub MessageType: KERB_LOGON_SUBMIT_TYPE,
1356 pub DomainName: super::super::super::Foundation::UNICODE_STRING,
1357 pub UserName: super::super::super::Foundation::UNICODE_STRING,
1358 pub Pin: super::super::super::Foundation::UNICODE_STRING,
1359 pub Flags: u32,
1360 pub CspDataLength: u32,
1361 pub CspData: *mut u8,
1362}
1363#[cfg(feature = "Win32_Foundation")]
1364impl ::core::marker::Copy for KERB_CERTIFICATE_LOGON {}
1365#[cfg(feature = "Win32_Foundation")]
1366impl ::core::clone::Clone for KERB_CERTIFICATE_LOGON {
1367 fn clone(&self) -> Self {
1368 *self
1369 }
1370}
04454e1e 1371#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1372pub const KERB_CERTIFICATE_LOGON_FLAG_CHECK_DUPLICATES: u32 = 1u32;
04454e1e 1373#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
1374pub const KERB_CERTIFICATE_LOGON_FLAG_USE_CERTIFICATE_INFO: u32 = 2u32;
1375#[repr(C)]
04454e1e 1376#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1377#[cfg(feature = "Win32_Foundation")]
1378pub struct KERB_CERTIFICATE_S4U_LOGON {
1379 pub MessageType: KERB_LOGON_SUBMIT_TYPE,
1380 pub Flags: u32,
1381 pub UserPrincipalName: super::super::super::Foundation::UNICODE_STRING,
1382 pub DomainName: super::super::super::Foundation::UNICODE_STRING,
1383 pub CertificateLength: u32,
1384 pub Certificate: *mut u8,
1385}
1386#[cfg(feature = "Win32_Foundation")]
1387impl ::core::marker::Copy for KERB_CERTIFICATE_S4U_LOGON {}
1388#[cfg(feature = "Win32_Foundation")]
1389impl ::core::clone::Clone for KERB_CERTIFICATE_S4U_LOGON {
1390 fn clone(&self) -> Self {
1391 *self
1392 }
1393}
04454e1e 1394#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1395pub const KERB_CERTIFICATE_S4U_LOGON_FLAG_CHECK_DUPLICATES: u32 = 1u32;
04454e1e 1396#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1397pub const KERB_CERTIFICATE_S4U_LOGON_FLAG_CHECK_LOGONHOURS: u32 = 2u32;
04454e1e 1398#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1399pub const KERB_CERTIFICATE_S4U_LOGON_FLAG_FAIL_IF_NT_AUTH_POLICY_REQUIRED: u32 = 4u32;
04454e1e 1400#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
1401pub const KERB_CERTIFICATE_S4U_LOGON_FLAG_IDENTIFY: u32 = 8u32;
1402#[repr(C)]
04454e1e 1403#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1404#[cfg(feature = "Win32_Foundation")]
1405pub struct KERB_CERTIFICATE_UNLOCK_LOGON {
1406 pub Logon: KERB_CERTIFICATE_LOGON,
1407 pub LogonId: super::super::super::Foundation::LUID,
1408}
1409#[cfg(feature = "Win32_Foundation")]
1410impl ::core::marker::Copy for KERB_CERTIFICATE_UNLOCK_LOGON {}
1411#[cfg(feature = "Win32_Foundation")]
1412impl ::core::clone::Clone for KERB_CERTIFICATE_UNLOCK_LOGON {
1413 fn clone(&self) -> Self {
1414 *self
1415 }
1416}
1417#[repr(C)]
04454e1e 1418#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1419#[cfg(feature = "Win32_Foundation")]
1420pub struct KERB_CHANGEPASSWORD_REQUEST {
1421 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
1422 pub DomainName: super::super::super::Foundation::UNICODE_STRING,
1423 pub AccountName: super::super::super::Foundation::UNICODE_STRING,
1424 pub OldPassword: super::super::super::Foundation::UNICODE_STRING,
1425 pub NewPassword: super::super::super::Foundation::UNICODE_STRING,
1426 pub Impersonating: super::super::super::Foundation::BOOLEAN,
1427}
1428#[cfg(feature = "Win32_Foundation")]
1429impl ::core::marker::Copy for KERB_CHANGEPASSWORD_REQUEST {}
1430#[cfg(feature = "Win32_Foundation")]
1431impl ::core::clone::Clone for KERB_CHANGEPASSWORD_REQUEST {
1432 fn clone(&self) -> Self {
1433 *self
1434 }
1435}
04454e1e 1436#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1437pub const KERB_CHECKSUM_CRC32: u32 = 1u32;
04454e1e 1438#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1439pub const KERB_CHECKSUM_DES_MAC: i32 = -133i32;
04454e1e 1440#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1441pub const KERB_CHECKSUM_DES_MAC_MD5: i32 = -134i32;
04454e1e 1442#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1443pub const KERB_CHECKSUM_HMAC_MD5: i32 = -138i32;
04454e1e 1444#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1445pub const KERB_CHECKSUM_HMAC_SHA1_96_AES128: u32 = 15u32;
04454e1e 1446#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1447pub const KERB_CHECKSUM_HMAC_SHA1_96_AES128_Ki: i32 = -150i32;
04454e1e 1448#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1449pub const KERB_CHECKSUM_HMAC_SHA1_96_AES256: u32 = 16u32;
04454e1e 1450#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1451pub const KERB_CHECKSUM_HMAC_SHA1_96_AES256_Ki: i32 = -151i32;
04454e1e 1452#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1453pub const KERB_CHECKSUM_KRB_DES_MAC: u32 = 4u32;
04454e1e 1454#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1455pub const KERB_CHECKSUM_KRB_DES_MAC_K: u32 = 5u32;
04454e1e 1456#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1457pub const KERB_CHECKSUM_LM: i32 = -130i32;
04454e1e 1458#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1459pub const KERB_CHECKSUM_MD25: i32 = -135i32;
04454e1e 1460#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1461pub const KERB_CHECKSUM_MD4: u32 = 2u32;
04454e1e 1462#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1463pub const KERB_CHECKSUM_MD5: u32 = 7u32;
04454e1e 1464#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1465pub const KERB_CHECKSUM_MD5_DES: u32 = 8u32;
04454e1e 1466#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1467pub const KERB_CHECKSUM_MD5_HMAC: i32 = -137i32;
04454e1e 1468#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1469pub const KERB_CHECKSUM_NONE: u32 = 0u32;
04454e1e 1470#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1471pub const KERB_CHECKSUM_RC4_MD5: i32 = -136i32;
04454e1e 1472#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1473pub const KERB_CHECKSUM_REAL_CRC32: i32 = -132i32;
04454e1e 1474#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1475pub const KERB_CHECKSUM_SHA1: i32 = -131i32;
04454e1e 1476#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
1477pub const KERB_CHECKSUM_SHA1_NEW: u32 = 14u32;
1478#[repr(C)]
04454e1e 1479#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1480#[cfg(feature = "Win32_Foundation")]
1481pub struct KERB_CLEANUP_MACHINE_PKINIT_CREDS_REQUEST {
1482 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
1483 pub LogonId: super::super::super::Foundation::LUID,
1484}
1485#[cfg(feature = "Win32_Foundation")]
1486impl ::core::marker::Copy for KERB_CLEANUP_MACHINE_PKINIT_CREDS_REQUEST {}
1487#[cfg(feature = "Win32_Foundation")]
1488impl ::core::clone::Clone for KERB_CLEANUP_MACHINE_PKINIT_CREDS_REQUEST {
1489 fn clone(&self) -> Self {
1490 *self
1491 }
1492}
1493#[repr(C)]
04454e1e 1494#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
1495pub struct KERB_CLOUD_KERBEROS_DEBUG_DATA_V0 {
1496 pub _bitfield: i32,
1497}
1498impl ::core::marker::Copy for KERB_CLOUD_KERBEROS_DEBUG_DATA_V0 {}
1499impl ::core::clone::Clone for KERB_CLOUD_KERBEROS_DEBUG_DATA_V0 {
1500 fn clone(&self) -> Self {
1501 *self
1502 }
1503}
04454e1e 1504#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
1505pub const KERB_CLOUD_KERBEROS_DEBUG_DATA_VERSION: u32 = 0u32;
1506#[repr(C)]
04454e1e 1507#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1508#[cfg(feature = "Win32_Foundation")]
1509pub struct KERB_CLOUD_KERBEROS_DEBUG_REQUEST {
1510 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
1511 pub LogonId: super::super::super::Foundation::LUID,
1512}
1513#[cfg(feature = "Win32_Foundation")]
1514impl ::core::marker::Copy for KERB_CLOUD_KERBEROS_DEBUG_REQUEST {}
1515#[cfg(feature = "Win32_Foundation")]
1516impl ::core::clone::Clone for KERB_CLOUD_KERBEROS_DEBUG_REQUEST {
1517 fn clone(&self) -> Self {
1518 *self
1519 }
1520}
1521#[repr(C)]
04454e1e 1522#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
1523pub struct KERB_CLOUD_KERBEROS_DEBUG_RESPONSE {
1524 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
1525 pub Version: u32,
1526 pub Length: u32,
1527 pub Data: [u32; 1],
1528}
1529impl ::core::marker::Copy for KERB_CLOUD_KERBEROS_DEBUG_RESPONSE {}
1530impl ::core::clone::Clone for KERB_CLOUD_KERBEROS_DEBUG_RESPONSE {
1531 fn clone(&self) -> Self {
1532 *self
1533 }
1534}
1535#[repr(C)]
04454e1e 1536#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
1537pub struct KERB_CRYPTO_KEY {
1538 pub KeyType: KERB_CRYPTO_KEY_TYPE,
1539 pub Length: u32,
1540 pub Value: *mut u8,
1541}
1542impl ::core::marker::Copy for KERB_CRYPTO_KEY {}
1543impl ::core::clone::Clone for KERB_CRYPTO_KEY {
1544 fn clone(&self) -> Self {
1545 *self
1546 }
1547}
1548#[repr(C)]
04454e1e 1549#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
1550pub struct KERB_CRYPTO_KEY32 {
1551 pub KeyType: i32,
1552 pub Length: u32,
1553 pub Offset: u32,
1554}
1555impl ::core::marker::Copy for KERB_CRYPTO_KEY32 {}
1556impl ::core::clone::Clone for KERB_CRYPTO_KEY32 {
1557 fn clone(&self) -> Self {
1558 *self
1559 }
1560}
04454e1e 1561#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1562pub type KERB_CRYPTO_KEY_TYPE = i32;
04454e1e 1563#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1564pub const KERB_ETYPE_DES_CBC_CRC: KERB_CRYPTO_KEY_TYPE = 1i32;
04454e1e 1565#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1566pub const KERB_ETYPE_DES_CBC_MD4: KERB_CRYPTO_KEY_TYPE = 2i32;
04454e1e 1567#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1568pub const KERB_ETYPE_DES_CBC_MD5: KERB_CRYPTO_KEY_TYPE = 3i32;
04454e1e 1569#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1570pub const KERB_ETYPE_NULL: KERB_CRYPTO_KEY_TYPE = 0i32;
04454e1e 1571#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1572pub const KERB_ETYPE_RC4_HMAC_NT: KERB_CRYPTO_KEY_TYPE = 23i32;
04454e1e 1573#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1574pub const KERB_ETYPE_RC4_MD4: KERB_CRYPTO_KEY_TYPE = -128i32;
04454e1e 1575#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
1576pub const KERB_DECRYPT_FLAG_DEFAULT_KEY: u32 = 1u32;
1577#[repr(C)]
04454e1e 1578#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1579#[cfg(feature = "Win32_Foundation")]
1580pub struct KERB_DECRYPT_REQUEST {
1581 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
1582 pub LogonId: super::super::super::Foundation::LUID,
1583 pub Flags: u32,
1584 pub CryptoType: i32,
1585 pub KeyUsage: i32,
1586 pub Key: KERB_CRYPTO_KEY,
1587 pub EncryptedDataSize: u32,
1588 pub InitialVectorSize: u32,
1589 pub InitialVector: *mut u8,
1590 pub EncryptedData: *mut u8,
1591}
1592#[cfg(feature = "Win32_Foundation")]
1593impl ::core::marker::Copy for KERB_DECRYPT_REQUEST {}
1594#[cfg(feature = "Win32_Foundation")]
1595impl ::core::clone::Clone for KERB_DECRYPT_REQUEST {
1596 fn clone(&self) -> Self {
1597 *self
1598 }
1599}
1600#[repr(C)]
04454e1e 1601#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
1602pub struct KERB_DECRYPT_RESPONSE {
1603 pub DecryptedData: [u8; 1],
1604}
1605impl ::core::marker::Copy for KERB_DECRYPT_RESPONSE {}
1606impl ::core::clone::Clone for KERB_DECRYPT_RESPONSE {
1607 fn clone(&self) -> Self {
1608 *self
1609 }
1610}
04454e1e 1611#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1612pub const KERB_ETYPE_AES128_CTS_HMAC_SHA1_96: u32 = 17u32;
04454e1e 1613#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1614pub const KERB_ETYPE_AES128_CTS_HMAC_SHA1_96_PLAIN: i32 = -148i32;
04454e1e 1615#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1616pub const KERB_ETYPE_AES256_CTS_HMAC_SHA1_96: u32 = 18u32;
04454e1e 1617#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1618pub const KERB_ETYPE_AES256_CTS_HMAC_SHA1_96_PLAIN: i32 = -149i32;
04454e1e 1619#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1620pub const KERB_ETYPE_DEFAULT: u32 = 0u32;
04454e1e 1621#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1622pub const KERB_ETYPE_DES3_CBC_MD5: u32 = 5u32;
04454e1e 1623#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1624pub const KERB_ETYPE_DES3_CBC_SHA1: u32 = 7u32;
04454e1e 1625#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1626pub const KERB_ETYPE_DES3_CBC_SHA1_KD: u32 = 16u32;
04454e1e 1627#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1628pub const KERB_ETYPE_DES_CBC_MD5_NT: u32 = 20u32;
04454e1e 1629#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1630pub const KERB_ETYPE_DES_EDE3_CBC_ENV: u32 = 15u32;
04454e1e 1631#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1632pub const KERB_ETYPE_DES_PLAIN: i32 = -132i32;
04454e1e 1633#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1634pub const KERB_ETYPE_DSA_SHA1_CMS: u32 = 9u32;
04454e1e 1635#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1636pub const KERB_ETYPE_DSA_SIGN: u32 = 8u32;
04454e1e 1637#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1638pub const KERB_ETYPE_PKCS7_PUB: u32 = 13u32;
04454e1e 1639#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1640pub const KERB_ETYPE_RC2_CBC_ENV: u32 = 12u32;
04454e1e 1641#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1642pub const KERB_ETYPE_RC4_HMAC_NT_EXP: u32 = 24u32;
04454e1e 1643#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1644pub const KERB_ETYPE_RC4_HMAC_OLD: i32 = -133i32;
04454e1e 1645#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1646pub const KERB_ETYPE_RC4_HMAC_OLD_EXP: i32 = -135i32;
04454e1e 1647#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1648pub const KERB_ETYPE_RC4_LM: i32 = -130i32;
04454e1e 1649#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1650pub const KERB_ETYPE_RC4_PLAIN: i32 = -140i32;
04454e1e 1651#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1652pub const KERB_ETYPE_RC4_PLAIN2: i32 = -129i32;
04454e1e 1653#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1654pub const KERB_ETYPE_RC4_PLAIN_EXP: i32 = -141i32;
04454e1e 1655#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1656pub const KERB_ETYPE_RC4_PLAIN_OLD: i32 = -134i32;
04454e1e 1657#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1658pub const KERB_ETYPE_RC4_PLAIN_OLD_EXP: i32 = -136i32;
04454e1e 1659#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1660pub const KERB_ETYPE_RC4_SHA: i32 = -131i32;
04454e1e 1661#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1662pub const KERB_ETYPE_RSA_ENV: u32 = 13u32;
04454e1e 1663#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1664pub const KERB_ETYPE_RSA_ES_OEAP_ENV: u32 = 14u32;
04454e1e 1665#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1666pub const KERB_ETYPE_RSA_MD5_CMS: u32 = 10u32;
04454e1e 1667#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1668pub const KERB_ETYPE_RSA_PRIV: u32 = 9u32;
04454e1e 1669#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1670pub const KERB_ETYPE_RSA_PUB: u32 = 10u32;
04454e1e 1671#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1672pub const KERB_ETYPE_RSA_PUB_MD5: u32 = 11u32;
04454e1e 1673#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1674pub const KERB_ETYPE_RSA_PUB_SHA1: u32 = 12u32;
04454e1e 1675#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
1676pub const KERB_ETYPE_RSA_SHA1_CMS: u32 = 11u32;
1677#[repr(C)]
04454e1e 1678#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1679#[cfg(feature = "Win32_Foundation")]
1680pub struct KERB_EXTERNAL_NAME {
1681 pub NameType: i16,
1682 pub NameCount: u16,
1683 pub Names: [super::super::super::Foundation::UNICODE_STRING; 1],
1684}
1685#[cfg(feature = "Win32_Foundation")]
1686impl ::core::marker::Copy for KERB_EXTERNAL_NAME {}
1687#[cfg(feature = "Win32_Foundation")]
1688impl ::core::clone::Clone for KERB_EXTERNAL_NAME {
1689 fn clone(&self) -> Self {
1690 *self
1691 }
1692}
1693#[repr(C)]
04454e1e 1694#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1695#[cfg(feature = "Win32_Foundation")]
1696pub struct KERB_EXTERNAL_TICKET {
1697 pub ServiceName: *mut KERB_EXTERNAL_NAME,
1698 pub TargetName: *mut KERB_EXTERNAL_NAME,
1699 pub ClientName: *mut KERB_EXTERNAL_NAME,
1700 pub DomainName: super::super::super::Foundation::UNICODE_STRING,
1701 pub TargetDomainName: super::super::super::Foundation::UNICODE_STRING,
1702 pub AltTargetDomainName: super::super::super::Foundation::UNICODE_STRING,
1703 pub SessionKey: KERB_CRYPTO_KEY,
1704 pub TicketFlags: KERB_TICKET_FLAGS,
1705 pub Flags: u32,
1706 pub KeyExpirationTime: i64,
1707 pub StartTime: i64,
1708 pub EndTime: i64,
1709 pub RenewUntil: i64,
1710 pub TimeSkew: i64,
1711 pub EncodedTicketSize: u32,
1712 pub EncodedTicket: *mut u8,
1713}
1714#[cfg(feature = "Win32_Foundation")]
1715impl ::core::marker::Copy for KERB_EXTERNAL_TICKET {}
1716#[cfg(feature = "Win32_Foundation")]
1717impl ::core::clone::Clone for KERB_EXTERNAL_TICKET {
1718 fn clone(&self) -> Self {
1719 *self
1720 }
1721}
1722#[repr(C)]
04454e1e 1723#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1724#[cfg(feature = "Win32_Foundation")]
1725pub struct KERB_INTERACTIVE_LOGON {
1726 pub MessageType: KERB_LOGON_SUBMIT_TYPE,
1727 pub LogonDomainName: super::super::super::Foundation::UNICODE_STRING,
1728 pub UserName: super::super::super::Foundation::UNICODE_STRING,
1729 pub Password: super::super::super::Foundation::UNICODE_STRING,
1730}
1731#[cfg(feature = "Win32_Foundation")]
1732impl ::core::marker::Copy for KERB_INTERACTIVE_LOGON {}
1733#[cfg(feature = "Win32_Foundation")]
1734impl ::core::clone::Clone for KERB_INTERACTIVE_LOGON {
1735 fn clone(&self) -> Self {
1736 *self
1737 }
1738}
1739#[repr(C)]
04454e1e 1740#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1741#[cfg(feature = "Win32_Foundation")]
1742pub struct KERB_INTERACTIVE_PROFILE {
1743 pub MessageType: KERB_PROFILE_BUFFER_TYPE,
1744 pub LogonCount: u16,
1745 pub BadPasswordCount: u16,
1746 pub LogonTime: i64,
1747 pub LogoffTime: i64,
1748 pub KickOffTime: i64,
1749 pub PasswordLastSet: i64,
1750 pub PasswordCanChange: i64,
1751 pub PasswordMustChange: i64,
1752 pub LogonScript: super::super::super::Foundation::UNICODE_STRING,
1753 pub HomeDirectory: super::super::super::Foundation::UNICODE_STRING,
1754 pub FullName: super::super::super::Foundation::UNICODE_STRING,
1755 pub ProfilePath: super::super::super::Foundation::UNICODE_STRING,
1756 pub HomeDirectoryDrive: super::super::super::Foundation::UNICODE_STRING,
1757 pub LogonServer: super::super::super::Foundation::UNICODE_STRING,
1758 pub UserFlags: u32,
1759}
1760#[cfg(feature = "Win32_Foundation")]
1761impl ::core::marker::Copy for KERB_INTERACTIVE_PROFILE {}
1762#[cfg(feature = "Win32_Foundation")]
1763impl ::core::clone::Clone for KERB_INTERACTIVE_PROFILE {
1764 fn clone(&self) -> Self {
1765 *self
1766 }
1767}
1768#[repr(C)]
04454e1e 1769#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1770#[cfg(feature = "Win32_Foundation")]
1771pub struct KERB_INTERACTIVE_UNLOCK_LOGON {
1772 pub Logon: KERB_INTERACTIVE_LOGON,
1773 pub LogonId: super::super::super::Foundation::LUID,
1774}
1775#[cfg(feature = "Win32_Foundation")]
1776impl ::core::marker::Copy for KERB_INTERACTIVE_UNLOCK_LOGON {}
1777#[cfg(feature = "Win32_Foundation")]
1778impl ::core::clone::Clone for KERB_INTERACTIVE_UNLOCK_LOGON {
1779 fn clone(&self) -> Self {
1780 *self
1781 }
1782}
04454e1e 1783#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1784pub const KERB_LOGON_FLAG_ALLOW_EXPIRED_TICKET: u32 = 1u32;
04454e1e 1785#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1786pub const KERB_LOGON_FLAG_REDIRECTED: u32 = 2u32;
04454e1e 1787#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1788pub type KERB_LOGON_SUBMIT_TYPE = i32;
04454e1e 1789#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1790pub const KerbInteractiveLogon: KERB_LOGON_SUBMIT_TYPE = 2i32;
04454e1e 1791#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1792pub const KerbSmartCardLogon: KERB_LOGON_SUBMIT_TYPE = 6i32;
04454e1e 1793#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1794pub const KerbWorkstationUnlockLogon: KERB_LOGON_SUBMIT_TYPE = 7i32;
04454e1e 1795#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1796pub const KerbSmartCardUnlockLogon: KERB_LOGON_SUBMIT_TYPE = 8i32;
04454e1e 1797#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1798pub const KerbProxyLogon: KERB_LOGON_SUBMIT_TYPE = 9i32;
04454e1e 1799#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1800pub const KerbTicketLogon: KERB_LOGON_SUBMIT_TYPE = 10i32;
04454e1e 1801#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1802pub const KerbTicketUnlockLogon: KERB_LOGON_SUBMIT_TYPE = 11i32;
04454e1e 1803#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1804pub const KerbS4ULogon: KERB_LOGON_SUBMIT_TYPE = 12i32;
04454e1e 1805#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1806pub const KerbCertificateLogon: KERB_LOGON_SUBMIT_TYPE = 13i32;
04454e1e 1807#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1808pub const KerbCertificateS4ULogon: KERB_LOGON_SUBMIT_TYPE = 14i32;
04454e1e 1809#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1810pub const KerbCertificateUnlockLogon: KERB_LOGON_SUBMIT_TYPE = 15i32;
04454e1e 1811#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1812pub const KerbNoElevationLogon: KERB_LOGON_SUBMIT_TYPE = 83i32;
04454e1e 1813#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
1814pub const KerbLuidLogon: KERB_LOGON_SUBMIT_TYPE = 84i32;
1815#[repr(C)]
04454e1e 1816#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
1817pub struct KERB_NET_ADDRESS {
1818 pub Family: u32,
1819 pub Length: u32,
04454e1e 1820 pub Address: ::windows_sys::core::PSTR,
5e7ed085 1821}
5e7ed085 1822impl ::core::marker::Copy for KERB_NET_ADDRESS {}
5e7ed085
FG
1823impl ::core::clone::Clone for KERB_NET_ADDRESS {
1824 fn clone(&self) -> Self {
1825 *self
1826 }
1827}
1828#[repr(C)]
04454e1e 1829#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
1830pub struct KERB_NET_ADDRESSES {
1831 pub Number: u32,
1832 pub Addresses: [KERB_NET_ADDRESS; 1],
1833}
5e7ed085 1834impl ::core::marker::Copy for KERB_NET_ADDRESSES {}
5e7ed085
FG
1835impl ::core::clone::Clone for KERB_NET_ADDRESSES {
1836 fn clone(&self) -> Self {
1837 *self
1838 }
1839}
04454e1e 1840#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1841pub type KERB_PROFILE_BUFFER_TYPE = i32;
04454e1e 1842#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1843pub const KerbInteractiveProfile: KERB_PROFILE_BUFFER_TYPE = 2i32;
04454e1e 1844#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1845pub const KerbSmartCardProfile: KERB_PROFILE_BUFFER_TYPE = 4i32;
04454e1e 1846#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1847pub const KerbTicketProfile: KERB_PROFILE_BUFFER_TYPE = 6i32;
04454e1e 1848#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1849pub type KERB_PROTOCOL_MESSAGE_TYPE = i32;
04454e1e 1850#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1851pub const KerbDebugRequestMessage: KERB_PROTOCOL_MESSAGE_TYPE = 0i32;
04454e1e 1852#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1853pub const KerbQueryTicketCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 1i32;
04454e1e 1854#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1855pub const KerbChangeMachinePasswordMessage: KERB_PROTOCOL_MESSAGE_TYPE = 2i32;
04454e1e 1856#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1857pub const KerbVerifyPacMessage: KERB_PROTOCOL_MESSAGE_TYPE = 3i32;
04454e1e 1858#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1859pub const KerbRetrieveTicketMessage: KERB_PROTOCOL_MESSAGE_TYPE = 4i32;
04454e1e 1860#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1861pub const KerbUpdateAddressesMessage: KERB_PROTOCOL_MESSAGE_TYPE = 5i32;
04454e1e 1862#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1863pub const KerbPurgeTicketCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 6i32;
04454e1e 1864#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1865pub const KerbChangePasswordMessage: KERB_PROTOCOL_MESSAGE_TYPE = 7i32;
04454e1e 1866#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1867pub const KerbRetrieveEncodedTicketMessage: KERB_PROTOCOL_MESSAGE_TYPE = 8i32;
04454e1e 1868#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1869pub const KerbDecryptDataMessage: KERB_PROTOCOL_MESSAGE_TYPE = 9i32;
04454e1e 1870#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1871pub const KerbAddBindingCacheEntryMessage: KERB_PROTOCOL_MESSAGE_TYPE = 10i32;
04454e1e 1872#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1873pub const KerbSetPasswordMessage: KERB_PROTOCOL_MESSAGE_TYPE = 11i32;
04454e1e 1874#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1875pub const KerbSetPasswordExMessage: KERB_PROTOCOL_MESSAGE_TYPE = 12i32;
04454e1e 1876#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1877pub const KerbVerifyCredentialsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 13i32;
04454e1e 1878#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1879pub const KerbQueryTicketCacheExMessage: KERB_PROTOCOL_MESSAGE_TYPE = 14i32;
04454e1e 1880#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1881pub const KerbPurgeTicketCacheExMessage: KERB_PROTOCOL_MESSAGE_TYPE = 15i32;
04454e1e 1882#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1883pub const KerbRefreshSmartcardCredentialsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 16i32;
04454e1e 1884#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1885pub const KerbAddExtraCredentialsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 17i32;
04454e1e 1886#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1887pub const KerbQuerySupplementalCredentialsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 18i32;
04454e1e 1888#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1889pub const KerbTransferCredentialsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 19i32;
04454e1e 1890#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1891pub const KerbQueryTicketCacheEx2Message: KERB_PROTOCOL_MESSAGE_TYPE = 20i32;
04454e1e 1892#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1893pub const KerbSubmitTicketMessage: KERB_PROTOCOL_MESSAGE_TYPE = 21i32;
04454e1e 1894#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1895pub const KerbAddExtraCredentialsExMessage: KERB_PROTOCOL_MESSAGE_TYPE = 22i32;
04454e1e 1896#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1897pub const KerbQueryKdcProxyCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 23i32;
04454e1e 1898#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1899pub const KerbPurgeKdcProxyCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 24i32;
04454e1e 1900#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1901pub const KerbQueryTicketCacheEx3Message: KERB_PROTOCOL_MESSAGE_TYPE = 25i32;
04454e1e 1902#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1903pub const KerbCleanupMachinePkinitCredsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 26i32;
04454e1e 1904#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1905pub const KerbAddBindingCacheEntryExMessage: KERB_PROTOCOL_MESSAGE_TYPE = 27i32;
04454e1e 1906#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1907pub const KerbQueryBindingCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 28i32;
04454e1e 1908#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1909pub const KerbPurgeBindingCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 29i32;
04454e1e 1910#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1911pub const KerbPinKdcMessage: KERB_PROTOCOL_MESSAGE_TYPE = 30i32;
04454e1e 1912#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1913pub const KerbUnpinAllKdcsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 31i32;
04454e1e 1914#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1915pub const KerbQueryDomainExtendedPoliciesMessage: KERB_PROTOCOL_MESSAGE_TYPE = 32i32;
04454e1e 1916#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1917pub const KerbQueryS4U2ProxyCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 33i32;
04454e1e 1918#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1919pub const KerbRetrieveKeyTabMessage: KERB_PROTOCOL_MESSAGE_TYPE = 34i32;
04454e1e 1920#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1921pub const KerbRefreshPolicyMessage: KERB_PROTOCOL_MESSAGE_TYPE = 35i32;
04454e1e 1922#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 1923pub const KerbPrintCloudKerberosDebugMessage: KERB_PROTOCOL_MESSAGE_TYPE = 36i32;
04454e1e 1924#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
1925pub const KERB_PURGE_ALL_TICKETS: u32 = 1u32;
1926#[repr(C)]
04454e1e 1927#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
1928pub struct KERB_PURGE_BINDING_CACHE_REQUEST {
1929 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
1930}
1931impl ::core::marker::Copy for KERB_PURGE_BINDING_CACHE_REQUEST {}
1932impl ::core::clone::Clone for KERB_PURGE_BINDING_CACHE_REQUEST {
1933 fn clone(&self) -> Self {
1934 *self
1935 }
1936}
1937#[repr(C)]
04454e1e 1938#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1939#[cfg(feature = "Win32_Foundation")]
1940pub struct KERB_PURGE_KDC_PROXY_CACHE_REQUEST {
1941 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
1942 pub Flags: u32,
1943 pub LogonId: super::super::super::Foundation::LUID,
1944}
1945#[cfg(feature = "Win32_Foundation")]
1946impl ::core::marker::Copy for KERB_PURGE_KDC_PROXY_CACHE_REQUEST {}
1947#[cfg(feature = "Win32_Foundation")]
1948impl ::core::clone::Clone for KERB_PURGE_KDC_PROXY_CACHE_REQUEST {
1949 fn clone(&self) -> Self {
1950 *self
1951 }
1952}
1953#[repr(C)]
04454e1e 1954#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
1955pub struct KERB_PURGE_KDC_PROXY_CACHE_RESPONSE {
1956 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
1957 pub CountOfPurged: u32,
1958}
1959impl ::core::marker::Copy for KERB_PURGE_KDC_PROXY_CACHE_RESPONSE {}
1960impl ::core::clone::Clone for KERB_PURGE_KDC_PROXY_CACHE_RESPONSE {
1961 fn clone(&self) -> Self {
1962 *self
1963 }
1964}
1965#[repr(C)]
04454e1e 1966#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1967#[cfg(feature = "Win32_Foundation")]
1968pub struct KERB_PURGE_TKT_CACHE_EX_REQUEST {
1969 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
1970 pub LogonId: super::super::super::Foundation::LUID,
1971 pub Flags: u32,
1972 pub TicketTemplate: KERB_TICKET_CACHE_INFO_EX,
1973}
1974#[cfg(feature = "Win32_Foundation")]
1975impl ::core::marker::Copy for KERB_PURGE_TKT_CACHE_EX_REQUEST {}
1976#[cfg(feature = "Win32_Foundation")]
1977impl ::core::clone::Clone for KERB_PURGE_TKT_CACHE_EX_REQUEST {
1978 fn clone(&self) -> Self {
1979 *self
1980 }
1981}
1982#[repr(C)]
04454e1e 1983#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
1984#[cfg(feature = "Win32_Foundation")]
1985pub struct KERB_PURGE_TKT_CACHE_REQUEST {
1986 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
1987 pub LogonId: super::super::super::Foundation::LUID,
1988 pub ServerName: super::super::super::Foundation::UNICODE_STRING,
1989 pub RealmName: super::super::super::Foundation::UNICODE_STRING,
1990}
1991#[cfg(feature = "Win32_Foundation")]
1992impl ::core::marker::Copy for KERB_PURGE_TKT_CACHE_REQUEST {}
1993#[cfg(feature = "Win32_Foundation")]
1994impl ::core::clone::Clone for KERB_PURGE_TKT_CACHE_REQUEST {
1995 fn clone(&self) -> Self {
1996 *self
1997 }
1998}
1999#[repr(C)]
04454e1e 2000#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
2001pub struct KERB_QUERY_BINDING_CACHE_REQUEST {
2002 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2003}
2004impl ::core::marker::Copy for KERB_QUERY_BINDING_CACHE_REQUEST {}
2005impl ::core::clone::Clone for KERB_QUERY_BINDING_CACHE_REQUEST {
2006 fn clone(&self) -> Self {
2007 *self
2008 }
2009}
2010#[repr(C)]
04454e1e 2011#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2012#[cfg(feature = "Win32_Foundation")]
2013pub struct KERB_QUERY_BINDING_CACHE_RESPONSE {
2014 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2015 pub CountOfEntries: u32,
2016 pub Entries: *mut KERB_BINDING_CACHE_ENTRY_DATA,
2017}
2018#[cfg(feature = "Win32_Foundation")]
2019impl ::core::marker::Copy for KERB_QUERY_BINDING_CACHE_RESPONSE {}
2020#[cfg(feature = "Win32_Foundation")]
2021impl ::core::clone::Clone for KERB_QUERY_BINDING_CACHE_RESPONSE {
2022 fn clone(&self) -> Self {
2023 *self
2024 }
2025}
2026#[repr(C)]
04454e1e 2027#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2028#[cfg(feature = "Win32_Foundation")]
2029pub struct KERB_QUERY_DOMAIN_EXTENDED_POLICIES_REQUEST {
2030 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2031 pub Flags: u32,
2032 pub DomainName: super::super::super::Foundation::UNICODE_STRING,
2033}
2034#[cfg(feature = "Win32_Foundation")]
2035impl ::core::marker::Copy for KERB_QUERY_DOMAIN_EXTENDED_POLICIES_REQUEST {}
2036#[cfg(feature = "Win32_Foundation")]
2037impl ::core::clone::Clone for KERB_QUERY_DOMAIN_EXTENDED_POLICIES_REQUEST {
2038 fn clone(&self) -> Self {
2039 *self
2040 }
2041}
2042#[repr(C)]
04454e1e 2043#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
2044pub struct KERB_QUERY_DOMAIN_EXTENDED_POLICIES_RESPONSE {
2045 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2046 pub Flags: u32,
2047 pub ExtendedPolicies: u32,
2048 pub DsFlags: u32,
2049}
2050impl ::core::marker::Copy for KERB_QUERY_DOMAIN_EXTENDED_POLICIES_RESPONSE {}
2051impl ::core::clone::Clone for KERB_QUERY_DOMAIN_EXTENDED_POLICIES_RESPONSE {
2052 fn clone(&self) -> Self {
2053 *self
2054 }
2055}
04454e1e 2056#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
2057pub const KERB_QUERY_DOMAIN_EXTENDED_POLICIES_RESPONSE_FLAG_DAC_DISABLED: u32 = 1u32;
2058#[repr(C)]
04454e1e 2059#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2060#[cfg(feature = "Win32_Foundation")]
2061pub struct KERB_QUERY_KDC_PROXY_CACHE_REQUEST {
2062 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2063 pub Flags: u32,
2064 pub LogonId: super::super::super::Foundation::LUID,
2065}
2066#[cfg(feature = "Win32_Foundation")]
2067impl ::core::marker::Copy for KERB_QUERY_KDC_PROXY_CACHE_REQUEST {}
2068#[cfg(feature = "Win32_Foundation")]
2069impl ::core::clone::Clone for KERB_QUERY_KDC_PROXY_CACHE_REQUEST {
2070 fn clone(&self) -> Self {
2071 *self
2072 }
2073}
2074#[repr(C)]
04454e1e 2075#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2076#[cfg(feature = "Win32_Foundation")]
2077pub struct KERB_QUERY_KDC_PROXY_CACHE_RESPONSE {
2078 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2079 pub CountOfEntries: u32,
2080 pub Entries: *mut KDC_PROXY_CACHE_ENTRY_DATA,
2081}
2082#[cfg(feature = "Win32_Foundation")]
2083impl ::core::marker::Copy for KERB_QUERY_KDC_PROXY_CACHE_RESPONSE {}
2084#[cfg(feature = "Win32_Foundation")]
2085impl ::core::clone::Clone for KERB_QUERY_KDC_PROXY_CACHE_RESPONSE {
2086 fn clone(&self) -> Self {
2087 *self
2088 }
2089}
2090#[repr(C)]
04454e1e 2091#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2092#[cfg(feature = "Win32_Foundation")]
2093pub struct KERB_QUERY_S4U2PROXY_CACHE_REQUEST {
2094 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2095 pub Flags: u32,
2096 pub LogonId: super::super::super::Foundation::LUID,
2097}
2098#[cfg(feature = "Win32_Foundation")]
2099impl ::core::marker::Copy for KERB_QUERY_S4U2PROXY_CACHE_REQUEST {}
2100#[cfg(feature = "Win32_Foundation")]
2101impl ::core::clone::Clone for KERB_QUERY_S4U2PROXY_CACHE_REQUEST {
2102 fn clone(&self) -> Self {
2103 *self
2104 }
2105}
2106#[repr(C)]
04454e1e 2107#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2108#[cfg(feature = "Win32_Foundation")]
2109pub struct KERB_QUERY_S4U2PROXY_CACHE_RESPONSE {
2110 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2111 pub CountOfCreds: u32,
2112 pub Creds: *mut KERB_S4U2PROXY_CRED,
2113}
2114#[cfg(feature = "Win32_Foundation")]
2115impl ::core::marker::Copy for KERB_QUERY_S4U2PROXY_CACHE_RESPONSE {}
2116#[cfg(feature = "Win32_Foundation")]
2117impl ::core::clone::Clone for KERB_QUERY_S4U2PROXY_CACHE_RESPONSE {
2118 fn clone(&self) -> Self {
2119 *self
2120 }
2121}
2122#[repr(C)]
04454e1e 2123#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2124#[cfg(feature = "Win32_Foundation")]
2125pub struct KERB_QUERY_TKT_CACHE_EX2_RESPONSE {
2126 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2127 pub CountOfTickets: u32,
2128 pub Tickets: [KERB_TICKET_CACHE_INFO_EX2; 1],
2129}
2130#[cfg(feature = "Win32_Foundation")]
2131impl ::core::marker::Copy for KERB_QUERY_TKT_CACHE_EX2_RESPONSE {}
2132#[cfg(feature = "Win32_Foundation")]
2133impl ::core::clone::Clone for KERB_QUERY_TKT_CACHE_EX2_RESPONSE {
2134 fn clone(&self) -> Self {
2135 *self
2136 }
2137}
2138#[repr(C)]
04454e1e 2139#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2140#[cfg(feature = "Win32_Foundation")]
2141pub struct KERB_QUERY_TKT_CACHE_EX3_RESPONSE {
2142 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2143 pub CountOfTickets: u32,
2144 pub Tickets: [KERB_TICKET_CACHE_INFO_EX3; 1],
2145}
2146#[cfg(feature = "Win32_Foundation")]
2147impl ::core::marker::Copy for KERB_QUERY_TKT_CACHE_EX3_RESPONSE {}
2148#[cfg(feature = "Win32_Foundation")]
2149impl ::core::clone::Clone for KERB_QUERY_TKT_CACHE_EX3_RESPONSE {
2150 fn clone(&self) -> Self {
2151 *self
2152 }
2153}
2154#[repr(C)]
04454e1e 2155#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2156#[cfg(feature = "Win32_Foundation")]
2157pub struct KERB_QUERY_TKT_CACHE_EX_RESPONSE {
2158 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2159 pub CountOfTickets: u32,
2160 pub Tickets: [KERB_TICKET_CACHE_INFO_EX; 1],
2161}
2162#[cfg(feature = "Win32_Foundation")]
2163impl ::core::marker::Copy for KERB_QUERY_TKT_CACHE_EX_RESPONSE {}
2164#[cfg(feature = "Win32_Foundation")]
2165impl ::core::clone::Clone for KERB_QUERY_TKT_CACHE_EX_RESPONSE {
2166 fn clone(&self) -> Self {
2167 *self
2168 }
2169}
2170#[repr(C)]
04454e1e 2171#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2172#[cfg(feature = "Win32_Foundation")]
2173pub struct KERB_QUERY_TKT_CACHE_REQUEST {
2174 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2175 pub LogonId: super::super::super::Foundation::LUID,
2176}
2177#[cfg(feature = "Win32_Foundation")]
2178impl ::core::marker::Copy for KERB_QUERY_TKT_CACHE_REQUEST {}
2179#[cfg(feature = "Win32_Foundation")]
2180impl ::core::clone::Clone for KERB_QUERY_TKT_CACHE_REQUEST {
2181 fn clone(&self) -> Self {
2182 *self
2183 }
2184}
2185#[repr(C)]
04454e1e 2186#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2187#[cfg(feature = "Win32_Foundation")]
2188pub struct KERB_QUERY_TKT_CACHE_RESPONSE {
2189 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2190 pub CountOfTickets: u32,
2191 pub Tickets: [KERB_TICKET_CACHE_INFO; 1],
2192}
2193#[cfg(feature = "Win32_Foundation")]
2194impl ::core::marker::Copy for KERB_QUERY_TKT_CACHE_RESPONSE {}
2195#[cfg(feature = "Win32_Foundation")]
2196impl ::core::clone::Clone for KERB_QUERY_TKT_CACHE_RESPONSE {
2197 fn clone(&self) -> Self {
2198 *self
2199 }
2200}
04454e1e 2201#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2202pub const KERB_REFRESH_POLICY_KDC: u32 = 2u32;
04454e1e 2203#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
2204pub const KERB_REFRESH_POLICY_KERBEROS: u32 = 1u32;
2205#[repr(C)]
04454e1e 2206#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
2207pub struct KERB_REFRESH_POLICY_REQUEST {
2208 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2209 pub Flags: u32,
2210}
2211impl ::core::marker::Copy for KERB_REFRESH_POLICY_REQUEST {}
2212impl ::core::clone::Clone for KERB_REFRESH_POLICY_REQUEST {
2213 fn clone(&self) -> Self {
2214 *self
2215 }
2216}
2217#[repr(C)]
04454e1e 2218#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
2219pub struct KERB_REFRESH_POLICY_RESPONSE {
2220 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2221 pub Flags: u32,
2222}
2223impl ::core::marker::Copy for KERB_REFRESH_POLICY_RESPONSE {}
2224impl ::core::clone::Clone for KERB_REFRESH_POLICY_RESPONSE {
2225 fn clone(&self) -> Self {
2226 *self
2227 }
2228}
04454e1e 2229#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2230pub const KERB_REFRESH_SCCRED_GETTGT: u32 = 1u32;
04454e1e 2231#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
2232pub const KERB_REFRESH_SCCRED_RELEASE: u32 = 0u32;
2233#[repr(C)]
04454e1e 2234#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2235#[cfg(feature = "Win32_Foundation")]
2236pub struct KERB_REFRESH_SCCRED_REQUEST {
2237 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2238 pub CredentialBlob: super::super::super::Foundation::UNICODE_STRING,
2239 pub LogonId: super::super::super::Foundation::LUID,
2240 pub Flags: u32,
2241}
2242#[cfg(feature = "Win32_Foundation")]
2243impl ::core::marker::Copy for KERB_REFRESH_SCCRED_REQUEST {}
2244#[cfg(feature = "Win32_Foundation")]
2245impl ::core::clone::Clone for KERB_REFRESH_SCCRED_REQUEST {
2246 fn clone(&self) -> Self {
2247 *self
2248 }
2249}
04454e1e 2250#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2251pub type KERB_REQUEST_FLAGS = u32;
04454e1e 2252#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2253pub const KERB_REQUEST_ADD_CREDENTIAL: KERB_REQUEST_FLAGS = 1u32;
04454e1e 2254#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2255pub const KERB_REQUEST_REPLACE_CREDENTIAL: KERB_REQUEST_FLAGS = 2u32;
04454e1e 2256#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
2257pub const KERB_REQUEST_REMOVE_CREDENTIAL: KERB_REQUEST_FLAGS = 4u32;
2258#[repr(C)]
04454e1e 2259#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2260#[cfg(feature = "Win32_Foundation")]
2261pub struct KERB_RETRIEVE_KEY_TAB_REQUEST {
2262 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2263 pub Flags: u32,
2264 pub UserName: super::super::super::Foundation::UNICODE_STRING,
2265 pub DomainName: super::super::super::Foundation::UNICODE_STRING,
2266 pub Password: super::super::super::Foundation::UNICODE_STRING,
2267}
2268#[cfg(feature = "Win32_Foundation")]
2269impl ::core::marker::Copy for KERB_RETRIEVE_KEY_TAB_REQUEST {}
2270#[cfg(feature = "Win32_Foundation")]
2271impl ::core::clone::Clone for KERB_RETRIEVE_KEY_TAB_REQUEST {
2272 fn clone(&self) -> Self {
2273 *self
2274 }
2275}
2276#[repr(C)]
04454e1e 2277#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
2278pub struct KERB_RETRIEVE_KEY_TAB_RESPONSE {
2279 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2280 pub KeyTabLength: u32,
2281 pub KeyTab: *mut u8,
2282}
2283impl ::core::marker::Copy for KERB_RETRIEVE_KEY_TAB_RESPONSE {}
2284impl ::core::clone::Clone for KERB_RETRIEVE_KEY_TAB_RESPONSE {
2285 fn clone(&self) -> Self {
2286 *self
2287 }
2288}
04454e1e 2289#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2290pub const KERB_RETRIEVE_TICKET_AS_KERB_CRED: u32 = 8u32;
04454e1e 2291#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2292pub const KERB_RETRIEVE_TICKET_CACHE_TICKET: u32 = 32u32;
04454e1e 2293#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2294pub const KERB_RETRIEVE_TICKET_DEFAULT: u32 = 0u32;
04454e1e 2295#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2296pub const KERB_RETRIEVE_TICKET_DONT_USE_CACHE: u32 = 1u32;
04454e1e 2297#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2298pub const KERB_RETRIEVE_TICKET_MAX_LIFETIME: u32 = 64u32;
04454e1e 2299#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2300pub const KERB_RETRIEVE_TICKET_USE_CACHE_ONLY: u32 = 2u32;
04454e1e 2301#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2302pub const KERB_RETRIEVE_TICKET_USE_CREDHANDLE: u32 = 4u32;
04454e1e 2303#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
2304pub const KERB_RETRIEVE_TICKET_WITH_SEC_CRED: u32 = 16u32;
2305#[repr(C)]
04454e1e 2306#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085
FG
2307#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
2308pub struct KERB_RETRIEVE_TKT_REQUEST {
2309 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2310 pub LogonId: super::super::super::Foundation::LUID,
2311 pub TargetName: super::super::super::Foundation::UNICODE_STRING,
2312 pub TicketFlags: u32,
2313 pub CacheOptions: u32,
2314 pub EncryptionType: KERB_CRYPTO_KEY_TYPE,
2315 pub CredentialsHandle: super::super::Credentials::SecHandle,
2316}
2317#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
2318impl ::core::marker::Copy for KERB_RETRIEVE_TKT_REQUEST {}
2319#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
2320impl ::core::clone::Clone for KERB_RETRIEVE_TKT_REQUEST {
2321 fn clone(&self) -> Self {
2322 *self
2323 }
2324}
2325#[repr(C)]
04454e1e 2326#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2327#[cfg(feature = "Win32_Foundation")]
2328pub struct KERB_RETRIEVE_TKT_RESPONSE {
2329 pub Ticket: KERB_EXTERNAL_TICKET,
2330}
2331#[cfg(feature = "Win32_Foundation")]
2332impl ::core::marker::Copy for KERB_RETRIEVE_TKT_RESPONSE {}
2333#[cfg(feature = "Win32_Foundation")]
2334impl ::core::clone::Clone for KERB_RETRIEVE_TKT_RESPONSE {
2335 fn clone(&self) -> Self {
2336 *self
2337 }
2338}
2339#[repr(C)]
04454e1e 2340#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2341#[cfg(feature = "Win32_Foundation")]
2342pub struct KERB_S4U2PROXY_CACHE_ENTRY_INFO {
2343 pub ServerName: super::super::super::Foundation::UNICODE_STRING,
2344 pub Flags: u32,
2345 pub LastStatus: super::super::super::Foundation::NTSTATUS,
2346 pub Expiry: i64,
2347}
2348#[cfg(feature = "Win32_Foundation")]
2349impl ::core::marker::Copy for KERB_S4U2PROXY_CACHE_ENTRY_INFO {}
2350#[cfg(feature = "Win32_Foundation")]
2351impl ::core::clone::Clone for KERB_S4U2PROXY_CACHE_ENTRY_INFO {
2352 fn clone(&self) -> Self {
2353 *self
2354 }
2355}
04454e1e 2356#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
2357pub const KERB_S4U2PROXY_CACHE_ENTRY_INFO_FLAG_NEGATIVE: u32 = 1u32;
2358#[repr(C)]
04454e1e 2359#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2360#[cfg(feature = "Win32_Foundation")]
2361pub struct KERB_S4U2PROXY_CRED {
2362 pub UserName: super::super::super::Foundation::UNICODE_STRING,
2363 pub DomainName: super::super::super::Foundation::UNICODE_STRING,
2364 pub Flags: u32,
2365 pub LastStatus: super::super::super::Foundation::NTSTATUS,
2366 pub Expiry: i64,
2367 pub CountOfEntries: u32,
2368 pub Entries: *mut KERB_S4U2PROXY_CACHE_ENTRY_INFO,
2369}
2370#[cfg(feature = "Win32_Foundation")]
2371impl ::core::marker::Copy for KERB_S4U2PROXY_CRED {}
2372#[cfg(feature = "Win32_Foundation")]
2373impl ::core::clone::Clone for KERB_S4U2PROXY_CRED {
2374 fn clone(&self) -> Self {
2375 *self
2376 }
2377}
04454e1e 2378#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
2379pub const KERB_S4U2PROXY_CRED_FLAG_NEGATIVE: u32 = 1u32;
2380#[repr(C)]
04454e1e 2381#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2382#[cfg(feature = "Win32_Foundation")]
2383pub struct KERB_S4U_LOGON {
2384 pub MessageType: KERB_LOGON_SUBMIT_TYPE,
2385 pub Flags: u32,
2386 pub ClientUpn: super::super::super::Foundation::UNICODE_STRING,
2387 pub ClientRealm: super::super::super::Foundation::UNICODE_STRING,
2388}
2389#[cfg(feature = "Win32_Foundation")]
2390impl ::core::marker::Copy for KERB_S4U_LOGON {}
2391#[cfg(feature = "Win32_Foundation")]
2392impl ::core::clone::Clone for KERB_S4U_LOGON {
2393 fn clone(&self) -> Self {
2394 *self
2395 }
2396}
04454e1e 2397#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2398pub const KERB_S4U_LOGON_FLAG_CHECK_LOGONHOURS: u32 = 2u32;
04454e1e 2399#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
2400pub const KERB_S4U_LOGON_FLAG_IDENTIFY: u32 = 8u32;
2401#[repr(C)]
04454e1e 2402#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085
FG
2403#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
2404pub struct KERB_SETPASSWORD_EX_REQUEST {
2405 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2406 pub LogonId: super::super::super::Foundation::LUID,
2407 pub CredentialsHandle: super::super::Credentials::SecHandle,
2408 pub Flags: u32,
2409 pub AccountRealm: super::super::super::Foundation::UNICODE_STRING,
2410 pub AccountName: super::super::super::Foundation::UNICODE_STRING,
2411 pub Password: super::super::super::Foundation::UNICODE_STRING,
2412 pub ClientRealm: super::super::super::Foundation::UNICODE_STRING,
2413 pub ClientName: super::super::super::Foundation::UNICODE_STRING,
2414 pub Impersonating: super::super::super::Foundation::BOOLEAN,
2415 pub KdcAddress: super::super::super::Foundation::UNICODE_STRING,
2416 pub KdcAddressType: u32,
2417}
2418#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
2419impl ::core::marker::Copy for KERB_SETPASSWORD_EX_REQUEST {}
2420#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
2421impl ::core::clone::Clone for KERB_SETPASSWORD_EX_REQUEST {
2422 fn clone(&self) -> Self {
2423 *self
2424 }
2425}
2426#[repr(C)]
04454e1e 2427#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085
FG
2428#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
2429pub struct KERB_SETPASSWORD_REQUEST {
2430 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2431 pub LogonId: super::super::super::Foundation::LUID,
2432 pub CredentialsHandle: super::super::Credentials::SecHandle,
2433 pub Flags: u32,
2434 pub DomainName: super::super::super::Foundation::UNICODE_STRING,
2435 pub AccountName: super::super::super::Foundation::UNICODE_STRING,
2436 pub Password: super::super::super::Foundation::UNICODE_STRING,
2437}
2438#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
2439impl ::core::marker::Copy for KERB_SETPASSWORD_REQUEST {}
2440#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
2441impl ::core::clone::Clone for KERB_SETPASSWORD_REQUEST {
2442 fn clone(&self) -> Self {
2443 *self
2444 }
2445}
04454e1e 2446#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2447pub const KERB_SETPASS_USE_CREDHANDLE: u32 = 2u32;
04454e1e 2448#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
2449pub const KERB_SETPASS_USE_LOGONID: u32 = 1u32;
2450#[repr(C)]
04454e1e 2451#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2452#[cfg(feature = "Win32_Foundation")]
2453pub struct KERB_SMART_CARD_LOGON {
2454 pub MessageType: KERB_LOGON_SUBMIT_TYPE,
2455 pub Pin: super::super::super::Foundation::UNICODE_STRING,
2456 pub CspDataLength: u32,
2457 pub CspData: *mut u8,
2458}
2459#[cfg(feature = "Win32_Foundation")]
2460impl ::core::marker::Copy for KERB_SMART_CARD_LOGON {}
2461#[cfg(feature = "Win32_Foundation")]
2462impl ::core::clone::Clone for KERB_SMART_CARD_LOGON {
2463 fn clone(&self) -> Self {
2464 *self
2465 }
2466}
2467#[repr(C)]
04454e1e 2468#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2469#[cfg(feature = "Win32_Foundation")]
2470pub struct KERB_SMART_CARD_PROFILE {
2471 pub Profile: KERB_INTERACTIVE_PROFILE,
2472 pub CertificateSize: u32,
2473 pub CertificateData: *mut u8,
2474}
2475#[cfg(feature = "Win32_Foundation")]
2476impl ::core::marker::Copy for KERB_SMART_CARD_PROFILE {}
2477#[cfg(feature = "Win32_Foundation")]
2478impl ::core::clone::Clone for KERB_SMART_CARD_PROFILE {
2479 fn clone(&self) -> Self {
2480 *self
2481 }
2482}
2483#[repr(C)]
04454e1e 2484#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2485#[cfg(feature = "Win32_Foundation")]
2486pub struct KERB_SMART_CARD_UNLOCK_LOGON {
2487 pub Logon: KERB_SMART_CARD_LOGON,
2488 pub LogonId: super::super::super::Foundation::LUID,
2489}
2490#[cfg(feature = "Win32_Foundation")]
2491impl ::core::marker::Copy for KERB_SMART_CARD_UNLOCK_LOGON {}
2492#[cfg(feature = "Win32_Foundation")]
2493impl ::core::clone::Clone for KERB_SMART_CARD_UNLOCK_LOGON {
2494 fn clone(&self) -> Self {
2495 *self
2496 }
2497}
2498#[repr(C)]
04454e1e 2499#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2500#[cfg(feature = "Win32_Foundation")]
2501pub struct KERB_SUBMIT_TKT_REQUEST {
2502 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2503 pub LogonId: super::super::super::Foundation::LUID,
2504 pub Flags: u32,
2505 pub Key: KERB_CRYPTO_KEY32,
2506 pub KerbCredSize: u32,
2507 pub KerbCredOffset: u32,
2508}
2509#[cfg(feature = "Win32_Foundation")]
2510impl ::core::marker::Copy for KERB_SUBMIT_TKT_REQUEST {}
2511#[cfg(feature = "Win32_Foundation")]
2512impl ::core::clone::Clone for KERB_SUBMIT_TKT_REQUEST {
2513 fn clone(&self) -> Self {
2514 *self
2515 }
2516}
2517#[repr(C)]
04454e1e 2518#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2519#[cfg(feature = "Win32_Foundation")]
2520pub struct KERB_TICKET_CACHE_INFO {
2521 pub ServerName: super::super::super::Foundation::UNICODE_STRING,
2522 pub RealmName: super::super::super::Foundation::UNICODE_STRING,
2523 pub StartTime: i64,
2524 pub EndTime: i64,
2525 pub RenewTime: i64,
2526 pub EncryptionType: i32,
2527 pub TicketFlags: KERB_TICKET_FLAGS,
2528}
2529#[cfg(feature = "Win32_Foundation")]
2530impl ::core::marker::Copy for KERB_TICKET_CACHE_INFO {}
2531#[cfg(feature = "Win32_Foundation")]
2532impl ::core::clone::Clone for KERB_TICKET_CACHE_INFO {
2533 fn clone(&self) -> Self {
2534 *self
2535 }
2536}
2537#[repr(C)]
04454e1e 2538#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2539#[cfg(feature = "Win32_Foundation")]
2540pub struct KERB_TICKET_CACHE_INFO_EX {
2541 pub ClientName: super::super::super::Foundation::UNICODE_STRING,
2542 pub ClientRealm: super::super::super::Foundation::UNICODE_STRING,
2543 pub ServerName: super::super::super::Foundation::UNICODE_STRING,
2544 pub ServerRealm: super::super::super::Foundation::UNICODE_STRING,
2545 pub StartTime: i64,
2546 pub EndTime: i64,
2547 pub RenewTime: i64,
2548 pub EncryptionType: i32,
2549 pub TicketFlags: u32,
2550}
2551#[cfg(feature = "Win32_Foundation")]
2552impl ::core::marker::Copy for KERB_TICKET_CACHE_INFO_EX {}
2553#[cfg(feature = "Win32_Foundation")]
2554impl ::core::clone::Clone for KERB_TICKET_CACHE_INFO_EX {
2555 fn clone(&self) -> Self {
2556 *self
2557 }
2558}
2559#[repr(C)]
04454e1e 2560#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2561#[cfg(feature = "Win32_Foundation")]
2562pub struct KERB_TICKET_CACHE_INFO_EX2 {
2563 pub ClientName: super::super::super::Foundation::UNICODE_STRING,
2564 pub ClientRealm: super::super::super::Foundation::UNICODE_STRING,
2565 pub ServerName: super::super::super::Foundation::UNICODE_STRING,
2566 pub ServerRealm: super::super::super::Foundation::UNICODE_STRING,
2567 pub StartTime: i64,
2568 pub EndTime: i64,
2569 pub RenewTime: i64,
2570 pub EncryptionType: i32,
2571 pub TicketFlags: u32,
2572 pub SessionKeyType: u32,
2573 pub BranchId: u32,
2574}
2575#[cfg(feature = "Win32_Foundation")]
2576impl ::core::marker::Copy for KERB_TICKET_CACHE_INFO_EX2 {}
2577#[cfg(feature = "Win32_Foundation")]
2578impl ::core::clone::Clone for KERB_TICKET_CACHE_INFO_EX2 {
2579 fn clone(&self) -> Self {
2580 *self
2581 }
2582}
2583#[repr(C)]
04454e1e 2584#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2585#[cfg(feature = "Win32_Foundation")]
2586pub struct KERB_TICKET_CACHE_INFO_EX3 {
2587 pub ClientName: super::super::super::Foundation::UNICODE_STRING,
2588 pub ClientRealm: super::super::super::Foundation::UNICODE_STRING,
2589 pub ServerName: super::super::super::Foundation::UNICODE_STRING,
2590 pub ServerRealm: super::super::super::Foundation::UNICODE_STRING,
2591 pub StartTime: i64,
2592 pub EndTime: i64,
2593 pub RenewTime: i64,
2594 pub EncryptionType: i32,
2595 pub TicketFlags: u32,
2596 pub SessionKeyType: u32,
2597 pub BranchId: u32,
2598 pub CacheFlags: u32,
2599 pub KdcCalled: super::super::super::Foundation::UNICODE_STRING,
2600}
2601#[cfg(feature = "Win32_Foundation")]
2602impl ::core::marker::Copy for KERB_TICKET_CACHE_INFO_EX3 {}
2603#[cfg(feature = "Win32_Foundation")]
2604impl ::core::clone::Clone for KERB_TICKET_CACHE_INFO_EX3 {
2605 fn clone(&self) -> Self {
2606 *self
2607 }
2608}
04454e1e 2609#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2610pub type KERB_TICKET_FLAGS = u32;
04454e1e 2611#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2612pub const KERB_TICKET_FLAGS_forwardable: KERB_TICKET_FLAGS = 1073741824u32;
04454e1e 2613#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2614pub const KERB_TICKET_FLAGS_forwarded: KERB_TICKET_FLAGS = 536870912u32;
04454e1e 2615#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2616pub const KERB_TICKET_FLAGS_hw_authent: KERB_TICKET_FLAGS = 1048576u32;
04454e1e 2617#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2618pub const KERB_TICKET_FLAGS_initial: KERB_TICKET_FLAGS = 4194304u32;
04454e1e 2619#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2620pub const KERB_TICKET_FLAGS_invalid: KERB_TICKET_FLAGS = 16777216u32;
04454e1e 2621#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2622pub const KERB_TICKET_FLAGS_may_postdate: KERB_TICKET_FLAGS = 67108864u32;
04454e1e 2623#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2624pub const KERB_TICKET_FLAGS_ok_as_delegate: KERB_TICKET_FLAGS = 262144u32;
04454e1e 2625#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2626pub const KERB_TICKET_FLAGS_postdated: KERB_TICKET_FLAGS = 33554432u32;
04454e1e 2627#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2628pub const KERB_TICKET_FLAGS_pre_authent: KERB_TICKET_FLAGS = 2097152u32;
04454e1e 2629#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2630pub const KERB_TICKET_FLAGS_proxiable: KERB_TICKET_FLAGS = 268435456u32;
04454e1e 2631#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2632pub const KERB_TICKET_FLAGS_proxy: KERB_TICKET_FLAGS = 134217728u32;
04454e1e 2633#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2634pub const KERB_TICKET_FLAGS_renewable: KERB_TICKET_FLAGS = 8388608u32;
04454e1e 2635#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2636pub const KERB_TICKET_FLAGS_reserved: KERB_TICKET_FLAGS = 2147483648u32;
04454e1e 2637#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2638pub const KERB_TICKET_FLAGS_reserved1: KERB_TICKET_FLAGS = 1u32;
04454e1e 2639#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2640pub const KERB_TICKET_FLAGS_cname_in_pa_data: u32 = 262144u32;
04454e1e 2641#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2642pub const KERB_TICKET_FLAGS_enc_pa_rep: u32 = 65536u32;
04454e1e 2643#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
2644pub const KERB_TICKET_FLAGS_name_canonicalize: u32 = 65536u32;
2645#[repr(C)]
04454e1e 2646#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
2647pub struct KERB_TICKET_LOGON {
2648 pub MessageType: KERB_LOGON_SUBMIT_TYPE,
2649 pub Flags: u32,
2650 pub ServiceTicketLength: u32,
2651 pub TicketGrantingTicketLength: u32,
2652 pub ServiceTicket: *mut u8,
2653 pub TicketGrantingTicket: *mut u8,
2654}
2655impl ::core::marker::Copy for KERB_TICKET_LOGON {}
2656impl ::core::clone::Clone for KERB_TICKET_LOGON {
2657 fn clone(&self) -> Self {
2658 *self
2659 }
2660}
2661#[repr(C)]
04454e1e 2662#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2663#[cfg(feature = "Win32_Foundation")]
2664pub struct KERB_TICKET_PROFILE {
2665 pub Profile: KERB_INTERACTIVE_PROFILE,
2666 pub SessionKey: KERB_CRYPTO_KEY,
2667}
2668#[cfg(feature = "Win32_Foundation")]
2669impl ::core::marker::Copy for KERB_TICKET_PROFILE {}
2670#[cfg(feature = "Win32_Foundation")]
2671impl ::core::clone::Clone for KERB_TICKET_PROFILE {
2672 fn clone(&self) -> Self {
2673 *self
2674 }
2675}
2676#[repr(C)]
04454e1e 2677#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2678#[cfg(feature = "Win32_Foundation")]
2679pub struct KERB_TICKET_UNLOCK_LOGON {
2680 pub Logon: KERB_TICKET_LOGON,
2681 pub LogonId: super::super::super::Foundation::LUID,
2682}
2683#[cfg(feature = "Win32_Foundation")]
2684impl ::core::marker::Copy for KERB_TICKET_UNLOCK_LOGON {}
2685#[cfg(feature = "Win32_Foundation")]
2686impl ::core::clone::Clone for KERB_TICKET_UNLOCK_LOGON {
2687 fn clone(&self) -> Self {
2688 *self
2689 }
2690}
04454e1e 2691#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
2692pub const KERB_TRANSFER_CRED_CLEANUP_CREDENTIALS: u32 = 2u32;
2693#[repr(C)]
04454e1e 2694#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2695#[cfg(feature = "Win32_Foundation")]
2696pub struct KERB_TRANSFER_CRED_REQUEST {
2697 pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
2698 pub OriginLogonId: super::super::super::Foundation::LUID,
2699 pub DestinationLogonId: super::super::super::Foundation::LUID,
2700 pub Flags: u32,
2701}
2702#[cfg(feature = "Win32_Foundation")]
2703impl ::core::marker::Copy for KERB_TRANSFER_CRED_REQUEST {}
2704#[cfg(feature = "Win32_Foundation")]
2705impl ::core::clone::Clone for KERB_TRANSFER_CRED_REQUEST {
2706 fn clone(&self) -> Self {
2707 *self
2708 }
2709}
04454e1e 2710#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2711pub const KERB_TRANSFER_CRED_WITH_TICKETS: u32 = 1u32;
04454e1e 2712#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2713pub const KERB_USE_DEFAULT_TICKET_FLAGS: u32 = 0u32;
04454e1e 2714#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2715pub const KERB_WRAP_NO_ENCRYPT: u32 = 2147483649u32;
04454e1e 2716#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2717pub const KERN_CONTEXT_CERT_INFO_V1: u32 = 0u32;
04454e1e 2718#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 2719pub const KRB_ANONYMOUS_STRING: &str = "ANONYMOUS";
04454e1e 2720#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2721pub const KRB_NT_ENTERPRISE_PRINCIPAL: u32 = 10u32;
04454e1e 2722#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2723pub const KRB_NT_ENT_PRINCIPAL_AND_ID: i32 = -130i32;
04454e1e 2724#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2725pub const KRB_NT_MS_BRANCH_ID: i32 = -133i32;
04454e1e 2726#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2727pub const KRB_NT_MS_PRINCIPAL: i32 = -128i32;
04454e1e 2728#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2729pub const KRB_NT_MS_PRINCIPAL_AND_ID: i32 = -129i32;
04454e1e 2730#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2731pub const KRB_NT_PRINCIPAL: u32 = 1u32;
04454e1e 2732#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2733pub const KRB_NT_PRINCIPAL_AND_ID: i32 = -131i32;
04454e1e 2734#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2735pub const KRB_NT_SRV_HST: u32 = 3u32;
04454e1e 2736#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2737pub const KRB_NT_SRV_INST: u32 = 2u32;
04454e1e 2738#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2739pub const KRB_NT_SRV_INST_AND_ID: i32 = -132i32;
04454e1e 2740#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2741pub const KRB_NT_SRV_XHST: u32 = 4u32;
04454e1e 2742#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2743pub const KRB_NT_UID: u32 = 5u32;
04454e1e 2744#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2745pub const KRB_NT_UNKNOWN: u32 = 0u32;
04454e1e 2746#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2747pub const KRB_NT_WELLKNOWN: u32 = 11u32;
04454e1e 2748#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2749pub const KRB_NT_X500_PRINCIPAL: u32 = 6u32;
04454e1e 2750#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 2751pub const KRB_WELLKNOWN_STRING: &str = "WELLKNOWN";
04454e1e 2752#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2753pub type KSEC_CONTEXT_TYPE = i32;
04454e1e 2754#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2755pub const KSecPaged: KSEC_CONTEXT_TYPE = 0i32;
04454e1e 2756#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
2757pub const KSecNonPaged: KSEC_CONTEXT_TYPE = 1i32;
2758#[repr(C)]
04454e1e 2759#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_System_Kernel\"`*"]
5e7ed085
FG
2760#[cfg(feature = "Win32_System_Kernel")]
2761pub struct KSEC_LIST_ENTRY {
2762 pub List: super::super::super::System::Kernel::LIST_ENTRY,
2763 pub RefCount: i32,
2764 pub Signature: u32,
2765 pub OwningList: *mut ::core::ffi::c_void,
2766 pub Reserved: *mut ::core::ffi::c_void,
2767}
2768#[cfg(feature = "Win32_System_Kernel")]
2769impl ::core::marker::Copy for KSEC_LIST_ENTRY {}
2770#[cfg(feature = "Win32_System_Kernel")]
2771impl ::core::clone::Clone for KSEC_LIST_ENTRY {
2772 fn clone(&self) -> Self {
2773 *self
2774 }
2775}
04454e1e 2776#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2777#[cfg(feature = "Win32_Foundation")]
2778pub type KspCompleteTokenFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, token: *const SecBufferDesc) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 2779#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2780#[cfg(feature = "Win32_Foundation")]
2781pub type KspDeleteContextFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, lsacontextid: *mut usize) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 2782#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2783#[cfg(feature = "Win32_Foundation")]
2784pub type KspGetTokenFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, impersonationtoken: *mut super::super::super::Foundation::HANDLE, rawtoken: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 2785#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2786#[cfg(feature = "Win32_Foundation")]
2787pub type KspInitContextFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, contextdata: *const SecBuffer, newcontextid: *mut usize) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 2788#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
5e7ed085
FG
2789#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
2790pub type KspInitPackageFn = ::core::option::Option<unsafe extern "system" fn(functiontable: *const SECPKG_KERNEL_FUNCTIONS) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 2791#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2792#[cfg(feature = "Win32_Foundation")]
2793pub type KspMakeSignatureFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, fqop: u32, message: *const SecBufferDesc, messageseqno: u32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 2794#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2795#[cfg(feature = "Win32_Foundation")]
2796pub type KspMapHandleFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, lsacontextid: *mut usize) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 2797#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2798#[cfg(feature = "Win32_Foundation")]
2799pub type KspQueryAttributesFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, attribute: u32, buffer: *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 2800#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2801#[cfg(feature = "Win32_Foundation")]
2802pub type KspSealMessageFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, fqop: u32, message: *const SecBufferDesc, messageseqno: u32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 2803#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2804#[cfg(feature = "Win32_Foundation")]
2805pub type KspSerializeAuthDataFn = ::core::option::Option<unsafe extern "system" fn(pvauthdata: *const ::core::ffi::c_void, size: *mut u32, serializeddata: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 2806#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2807#[cfg(feature = "Win32_Foundation")]
2808pub type KspSetPagingModeFn = ::core::option::Option<unsafe extern "system" fn(pagingmode: super::super::super::Foundation::BOOLEAN) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 2809#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2810#[cfg(feature = "Win32_Foundation")]
2811pub type KspUnsealMessageFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, message: *const SecBufferDesc, messageseqno: u32, pfqop: *mut u32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 2812#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2813#[cfg(feature = "Win32_Foundation")]
2814pub type KspVerifySignatureFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, message: *const SecBufferDesc, messageseqno: u32, pfqop: *mut u32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 2815#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2816pub const LCRED_CRED_EXISTS: u32 = 1u32;
04454e1e 2817#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2818pub const LCRED_STATUS_NOCRED: u32 = 0u32;
04454e1e 2819#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2820pub const LCRED_STATUS_UNKNOWN_ISSUER: u32 = 2u32;
04454e1e 2821#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
2822pub const LOGON_GRACE_LOGON: u32 = 16777216u32;
2823#[repr(C)]
04454e1e 2824#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
2825pub struct LOGON_HOURS {
2826 pub UnitsPerWeek: u16,
2827 pub LogonHours: *mut u8,
2828}
2829impl ::core::marker::Copy for LOGON_HOURS {}
2830impl ::core::clone::Clone for LOGON_HOURS {
2831 fn clone(&self) -> Self {
2832 *self
2833 }
2834}
04454e1e 2835#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2836pub const LOGON_LM_V2: u32 = 4096u32;
04454e1e 2837#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2838pub const LOGON_MANAGED_SERVICE: u32 = 524288u32;
04454e1e 2839#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2840pub const LOGON_NO_ELEVATION: u32 = 262144u32;
04454e1e 2841#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2842pub const LOGON_NO_OPTIMIZED: u32 = 131072u32;
04454e1e 2843#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2844pub const LOGON_NTLMV2_ENABLED: u32 = 256u32;
04454e1e 2845#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2846pub const LOGON_NTLM_V2: u32 = 8192u32;
04454e1e 2847#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2848pub const LOGON_NT_V2: u32 = 2048u32;
04454e1e 2849#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2850pub const LOGON_OPTIMIZED: u32 = 16384u32;
04454e1e 2851#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2852pub const LOGON_PKINIT: u32 = 65536u32;
04454e1e 2853#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2854pub const LOGON_WINLOGON: u32 = 32768u32;
04454e1e 2855#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2856pub const LOOKUP_TRANSLATE_NAMES: u32 = 2048u32;
04454e1e 2857#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2858pub const LOOKUP_VIEW_LOCAL_INFORMATION: u32 = 1u32;
04454e1e 2859#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2860pub const LSASETCAPS_RELOAD_FLAG: u32 = 1u32;
04454e1e 2861#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2862pub const LSASETCAPS_VALID_FLAG_MASK: u32 = 1u32;
04454e1e 2863#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 2864pub const LSA_ADT_LEGACY_SECURITY_SOURCE_NAME: &str = "Security";
04454e1e 2865#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 2866pub const LSA_ADT_SECURITY_SOURCE_NAME: &str = "Microsoft-Windows-Security-Auditing";
04454e1e 2867#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 2868pub const LSA_AP_NAME_CALL_PACKAGE: &str = "LsaApCallPackage\u{0}";
04454e1e 2869#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 2870pub const LSA_AP_NAME_CALL_PACKAGE_PASSTHROUGH: &str = "LsaApCallPackagePassthrough\u{0}";
04454e1e 2871#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 2872pub const LSA_AP_NAME_CALL_PACKAGE_UNTRUSTED: &str = "LsaApCallPackageUntrusted\u{0}";
04454e1e 2873#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 2874pub const LSA_AP_NAME_INITIALIZE_PACKAGE: &str = "LsaApInitializePackage\u{0}";
04454e1e 2875#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 2876pub const LSA_AP_NAME_LOGON_TERMINATED: &str = "LsaApLogonTerminated\u{0}";
04454e1e 2877#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 2878pub const LSA_AP_NAME_LOGON_USER: &str = "LsaApLogonUser\u{0}";
04454e1e 2879#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 2880pub const LSA_AP_NAME_LOGON_USER_EX: &str = "LsaApLogonUserEx\u{0}";
04454e1e 2881#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 2882pub const LSA_AP_NAME_LOGON_USER_EX2: &str = "LsaApLogonUserEx2\u{0}";
04454e1e 2883#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2884#[cfg(feature = "Win32_Foundation")]
2885pub type LSA_AP_POST_LOGON_USER = ::core::option::Option<unsafe extern "system" fn(postlogonuserinfo: *const SECPKG_POST_LOGON_USER_INFO) -> super::super::super::Foundation::NTSTATUS>;
2886#[repr(C)]
04454e1e 2887#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
2888pub struct LSA_AUTH_INFORMATION {
2889 pub LastUpdateTime: i64,
2890 pub AuthType: LSA_AUTH_INFORMATION_AUTH_TYPE,
2891 pub AuthInfoLength: u32,
2892 pub AuthInfo: *mut u8,
2893}
2894impl ::core::marker::Copy for LSA_AUTH_INFORMATION {}
2895impl ::core::clone::Clone for LSA_AUTH_INFORMATION {
2896 fn clone(&self) -> Self {
2897 *self
2898 }
2899}
04454e1e 2900#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2901pub type LSA_AUTH_INFORMATION_AUTH_TYPE = u32;
04454e1e 2902#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2903pub const TRUST_AUTH_TYPE_NONE: LSA_AUTH_INFORMATION_AUTH_TYPE = 0u32;
04454e1e 2904#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2905pub const TRUST_AUTH_TYPE_NT4OWF: LSA_AUTH_INFORMATION_AUTH_TYPE = 1u32;
04454e1e 2906#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2907pub const TRUST_AUTH_TYPE_CLEAR: LSA_AUTH_INFORMATION_AUTH_TYPE = 2u32;
04454e1e 2908#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2909pub const TRUST_AUTH_TYPE_VERSION: LSA_AUTH_INFORMATION_AUTH_TYPE = 3u32;
04454e1e 2910#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
2911pub const LSA_CALL_LICENSE_SERVER: u32 = 2147483648u32;
2912#[repr(C)]
04454e1e 2913#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
5e7ed085
FG
2914#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
2915pub struct LSA_DISPATCH_TABLE {
2916 pub CreateLogonSession: PLSA_CREATE_LOGON_SESSION,
2917 pub DeleteLogonSession: PLSA_DELETE_LOGON_SESSION,
2918 pub AddCredential: PLSA_ADD_CREDENTIAL,
2919 pub GetCredentials: PLSA_GET_CREDENTIALS,
2920 pub DeleteCredential: PLSA_DELETE_CREDENTIAL,
2921 pub AllocateLsaHeap: PLSA_ALLOCATE_LSA_HEAP,
2922 pub FreeLsaHeap: PLSA_FREE_LSA_HEAP,
2923 pub AllocateClientBuffer: PLSA_ALLOCATE_CLIENT_BUFFER,
2924 pub FreeClientBuffer: PLSA_FREE_CLIENT_BUFFER,
2925 pub CopyToClientBuffer: PLSA_COPY_TO_CLIENT_BUFFER,
2926 pub CopyFromClientBuffer: PLSA_COPY_FROM_CLIENT_BUFFER,
2927}
2928#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
2929impl ::core::marker::Copy for LSA_DISPATCH_TABLE {}
2930#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
2931impl ::core::clone::Clone for LSA_DISPATCH_TABLE {
2932 fn clone(&self) -> Self {
2933 *self
2934 }
2935}
2936#[repr(C)]
04454e1e 2937#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2938#[cfg(feature = "Win32_Foundation")]
2939pub struct LSA_ENUMERATION_INFORMATION {
2940 pub Sid: super::super::super::Foundation::PSID,
2941}
2942#[cfg(feature = "Win32_Foundation")]
2943impl ::core::marker::Copy for LSA_ENUMERATION_INFORMATION {}
2944#[cfg(feature = "Win32_Foundation")]
2945impl ::core::clone::Clone for LSA_ENUMERATION_INFORMATION {
2946 fn clone(&self) -> Self {
2947 *self
2948 }
2949}
2950#[repr(C)]
04454e1e 2951#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
2952pub struct LSA_FOREST_TRUST_BINARY_DATA {
2953 pub Length: u32,
2954 pub Buffer: *mut u8,
2955}
2956impl ::core::marker::Copy for LSA_FOREST_TRUST_BINARY_DATA {}
2957impl ::core::clone::Clone for LSA_FOREST_TRUST_BINARY_DATA {
2958 fn clone(&self) -> Self {
2959 *self
2960 }
2961}
2962#[repr(C)]
04454e1e 2963#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2964#[cfg(feature = "Win32_Foundation")]
2965pub struct LSA_FOREST_TRUST_COLLISION_INFORMATION {
2966 pub RecordCount: u32,
2967 pub Entries: *mut *mut LSA_FOREST_TRUST_COLLISION_RECORD,
2968}
2969#[cfg(feature = "Win32_Foundation")]
2970impl ::core::marker::Copy for LSA_FOREST_TRUST_COLLISION_INFORMATION {}
2971#[cfg(feature = "Win32_Foundation")]
2972impl ::core::clone::Clone for LSA_FOREST_TRUST_COLLISION_INFORMATION {
2973 fn clone(&self) -> Self {
2974 *self
2975 }
2976}
2977#[repr(C)]
04454e1e 2978#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
2979#[cfg(feature = "Win32_Foundation")]
2980pub struct LSA_FOREST_TRUST_COLLISION_RECORD {
2981 pub Index: u32,
2982 pub Type: LSA_FOREST_TRUST_COLLISION_RECORD_TYPE,
2983 pub Flags: u32,
2984 pub Name: super::super::super::Foundation::UNICODE_STRING,
2985}
2986#[cfg(feature = "Win32_Foundation")]
2987impl ::core::marker::Copy for LSA_FOREST_TRUST_COLLISION_RECORD {}
2988#[cfg(feature = "Win32_Foundation")]
2989impl ::core::clone::Clone for LSA_FOREST_TRUST_COLLISION_RECORD {
2990 fn clone(&self) -> Self {
2991 *self
2992 }
2993}
04454e1e 2994#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2995pub type LSA_FOREST_TRUST_COLLISION_RECORD_TYPE = i32;
04454e1e 2996#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2997pub const CollisionTdo: LSA_FOREST_TRUST_COLLISION_RECORD_TYPE = 0i32;
04454e1e 2998#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 2999pub const CollisionXref: LSA_FOREST_TRUST_COLLISION_RECORD_TYPE = 1i32;
04454e1e 3000#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3001pub const CollisionOther: LSA_FOREST_TRUST_COLLISION_RECORD_TYPE = 2i32;
3002#[repr(C)]
04454e1e 3003#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
3004#[cfg(feature = "Win32_Foundation")]
3005pub struct LSA_FOREST_TRUST_DOMAIN_INFO {
3006 pub Sid: super::super::super::Foundation::PSID,
3007 pub DnsName: super::super::super::Foundation::UNICODE_STRING,
3008 pub NetbiosName: super::super::super::Foundation::UNICODE_STRING,
3009}
3010#[cfg(feature = "Win32_Foundation")]
3011impl ::core::marker::Copy for LSA_FOREST_TRUST_DOMAIN_INFO {}
3012#[cfg(feature = "Win32_Foundation")]
3013impl ::core::clone::Clone for LSA_FOREST_TRUST_DOMAIN_INFO {
3014 fn clone(&self) -> Self {
3015 *self
3016 }
3017}
3018#[repr(C)]
04454e1e 3019#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
3020#[cfg(feature = "Win32_Foundation")]
3021pub struct LSA_FOREST_TRUST_INFORMATION {
3022 pub RecordCount: u32,
3023 pub Entries: *mut *mut LSA_FOREST_TRUST_RECORD,
3024}
3025#[cfg(feature = "Win32_Foundation")]
3026impl ::core::marker::Copy for LSA_FOREST_TRUST_INFORMATION {}
3027#[cfg(feature = "Win32_Foundation")]
3028impl ::core::clone::Clone for LSA_FOREST_TRUST_INFORMATION {
3029 fn clone(&self) -> Self {
3030 *self
3031 }
3032}
3033#[repr(C)]
04454e1e 3034#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
3035#[cfg(feature = "Win32_Foundation")]
3036pub struct LSA_FOREST_TRUST_RECORD {
3037 pub Flags: u32,
3038 pub ForestTrustType: LSA_FOREST_TRUST_RECORD_TYPE,
3039 pub Time: i64,
3040 pub ForestTrustData: LSA_FOREST_TRUST_RECORD_0,
3041}
3042#[cfg(feature = "Win32_Foundation")]
3043impl ::core::marker::Copy for LSA_FOREST_TRUST_RECORD {}
3044#[cfg(feature = "Win32_Foundation")]
3045impl ::core::clone::Clone for LSA_FOREST_TRUST_RECORD {
3046 fn clone(&self) -> Self {
3047 *self
3048 }
3049}
3050#[repr(C)]
04454e1e 3051#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
3052#[cfg(feature = "Win32_Foundation")]
3053pub union LSA_FOREST_TRUST_RECORD_0 {
3054 pub TopLevelName: super::super::super::Foundation::UNICODE_STRING,
3055 pub DomainInfo: LSA_FOREST_TRUST_DOMAIN_INFO,
3056 pub Data: LSA_FOREST_TRUST_BINARY_DATA,
3057}
3058#[cfg(feature = "Win32_Foundation")]
3059impl ::core::marker::Copy for LSA_FOREST_TRUST_RECORD_0 {}
3060#[cfg(feature = "Win32_Foundation")]
3061impl ::core::clone::Clone for LSA_FOREST_TRUST_RECORD_0 {
3062 fn clone(&self) -> Self {
3063 *self
3064 }
3065}
04454e1e 3066#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3067pub type LSA_FOREST_TRUST_RECORD_TYPE = i32;
04454e1e 3068#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3069pub const ForestTrustTopLevelName: LSA_FOREST_TRUST_RECORD_TYPE = 0i32;
04454e1e 3070#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3071pub const ForestTrustTopLevelNameEx: LSA_FOREST_TRUST_RECORD_TYPE = 1i32;
04454e1e 3072#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3073pub const ForestTrustDomainInfo: LSA_FOREST_TRUST_RECORD_TYPE = 2i32;
04454e1e 3074#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3075pub const ForestTrustRecordTypeLast: LSA_FOREST_TRUST_RECORD_TYPE = 2i32;
04454e1e 3076#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3077pub const LSA_FOREST_TRUST_RECORD_TYPE_UNRECOGNIZED: u32 = 2147483648u32;
04454e1e 3078#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3079pub const LSA_FTRECORD_DISABLED_REASONS: i32 = 65535i32;
04454e1e 3080#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 3081pub const LSA_GLOBAL_SECRET_PREFIX: &str = "G$";
04454e1e 3082#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3083pub const LSA_GLOBAL_SECRET_PREFIX_LENGTH: u32 = 2u32;
3084#[repr(C)]
04454e1e 3085#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3086pub struct LSA_LAST_INTER_LOGON_INFO {
3087 pub LastSuccessfulLogon: i64,
3088 pub LastFailedLogon: i64,
3089 pub FailedAttemptCountSinceLastSuccessfulLogon: u32,
3090}
3091impl ::core::marker::Copy for LSA_LAST_INTER_LOGON_INFO {}
3092impl ::core::clone::Clone for LSA_LAST_INTER_LOGON_INFO {
3093 fn clone(&self) -> Self {
3094 *self
3095 }
3096}
04454e1e 3097#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 3098pub const LSA_LOCAL_SECRET_PREFIX: &str = "L$";
04454e1e 3099#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3100pub const LSA_LOCAL_SECRET_PREFIX_LENGTH: u32 = 2u32;
04454e1e 3101#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3102pub const LSA_LOOKUP_DISALLOW_CONNECTED_ACCOUNT_INTERNET_SID: u32 = 2147483648u32;
04454e1e 3103#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3104pub type LSA_LOOKUP_DOMAIN_INFO_CLASS = i32;
04454e1e 3105#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3106pub const AccountDomainInformation: LSA_LOOKUP_DOMAIN_INFO_CLASS = 5i32;
04454e1e 3107#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3108pub const DnsDomainInformation: LSA_LOOKUP_DOMAIN_INFO_CLASS = 12i32;
04454e1e 3109#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3110pub const LSA_LOOKUP_ISOLATED_AS_LOCAL: u32 = 2147483648u32;
04454e1e 3111#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3112pub const LSA_LOOKUP_PREFER_INTERNET_NAMES: u32 = 1073741824u32;
04454e1e 3113#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 3114pub const LSA_MACHINE_SECRET_PREFIX: &str = "M$";
04454e1e 3115#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3116pub const LSA_MAXIMUM_ENUMERATION_LENGTH: u32 = 32000u32;
04454e1e 3117#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3118pub const LSA_MAXIMUM_SID_COUNT: i32 = 256i32;
04454e1e 3119#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3120pub const LSA_MODE_INDIVIDUAL_ACCOUNTS: i32 = 2i32;
04454e1e 3121#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3122pub const LSA_MODE_LOG_FULL: i32 = 8i32;
04454e1e 3123#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3124pub const LSA_MODE_MANDATORY_ACCESS: i32 = 4i32;
04454e1e 3125#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3126pub const LSA_MODE_PASSWORD_PROTECTED: i32 = 1i32;
04454e1e 3127#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3128pub const LSA_NB_DISABLED_ADMIN: i32 = 4i32;
04454e1e 3129#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3130pub const LSA_NB_DISABLED_CONFLICT: i32 = 8i32;
04454e1e 3131#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3132pub const LSA_QUERY_CLIENT_PRELOGON_SESSION_ID: u32 = 1u32;
3133#[repr(C)]
04454e1e 3134#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
3135#[cfg(feature = "Win32_Foundation")]
3136pub struct LSA_REFERENCED_DOMAIN_LIST {
3137 pub Entries: u32,
3138 pub Domains: *mut LSA_TRUST_INFORMATION,
3139}
3140#[cfg(feature = "Win32_Foundation")]
3141impl ::core::marker::Copy for LSA_REFERENCED_DOMAIN_LIST {}
3142#[cfg(feature = "Win32_Foundation")]
3143impl ::core::clone::Clone for LSA_REFERENCED_DOMAIN_LIST {
3144 fn clone(&self) -> Self {
3145 *self
3146 }
3147}
3148#[repr(C)]
04454e1e 3149#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Threading\"`*"]
5e7ed085
FG
3150#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
3151pub struct LSA_SECPKG_FUNCTION_TABLE {
3152 pub CreateLogonSession: PLSA_CREATE_LOGON_SESSION,
3153 pub DeleteLogonSession: PLSA_DELETE_LOGON_SESSION,
3154 pub AddCredential: PLSA_ADD_CREDENTIAL,
3155 pub GetCredentials: PLSA_GET_CREDENTIALS,
3156 pub DeleteCredential: PLSA_DELETE_CREDENTIAL,
3157 pub AllocateLsaHeap: PLSA_ALLOCATE_LSA_HEAP,
3158 pub FreeLsaHeap: PLSA_FREE_LSA_HEAP,
3159 pub AllocateClientBuffer: PLSA_ALLOCATE_CLIENT_BUFFER,
3160 pub FreeClientBuffer: PLSA_FREE_CLIENT_BUFFER,
3161 pub CopyToClientBuffer: PLSA_COPY_TO_CLIENT_BUFFER,
3162 pub CopyFromClientBuffer: PLSA_COPY_FROM_CLIENT_BUFFER,
3163 pub ImpersonateClient: PLSA_IMPERSONATE_CLIENT,
3164 pub UnloadPackage: PLSA_UNLOAD_PACKAGE,
3165 pub DuplicateHandle: PLSA_DUPLICATE_HANDLE,
3166 pub SaveSupplementalCredentials: PLSA_SAVE_SUPPLEMENTAL_CREDENTIALS,
3167 pub CreateThread: PLSA_CREATE_THREAD,
3168 pub GetClientInfo: PLSA_GET_CLIENT_INFO,
3169 pub RegisterNotification: PLSA_REGISTER_NOTIFICATION,
3170 pub CancelNotification: PLSA_CANCEL_NOTIFICATION,
3171 pub MapBuffer: PLSA_MAP_BUFFER,
3172 pub CreateToken: PLSA_CREATE_TOKEN,
3173 pub AuditLogon: PLSA_AUDIT_LOGON,
3174 pub CallPackage: PLSA_CALL_PACKAGE,
3175 pub FreeReturnBuffer: PLSA_FREE_LSA_HEAP,
3176 pub GetCallInfo: PLSA_GET_CALL_INFO,
3177 pub CallPackageEx: PLSA_CALL_PACKAGEEX,
3178 pub CreateSharedMemory: PLSA_CREATE_SHARED_MEMORY,
3179 pub AllocateSharedMemory: PLSA_ALLOCATE_SHARED_MEMORY,
3180 pub FreeSharedMemory: PLSA_FREE_SHARED_MEMORY,
3181 pub DeleteSharedMemory: PLSA_DELETE_SHARED_MEMORY,
3182 pub OpenSamUser: PLSA_OPEN_SAM_USER,
3183 pub GetUserCredentials: PLSA_GET_USER_CREDENTIALS,
3184 pub GetUserAuthData: PLSA_GET_USER_AUTH_DATA,
3185 pub CloseSamUser: PLSA_CLOSE_SAM_USER,
3186 pub ConvertAuthDataToToken: PLSA_CONVERT_AUTH_DATA_TO_TOKEN,
3187 pub ClientCallback: PLSA_CLIENT_CALLBACK,
3188 pub UpdateCredentials: PLSA_UPDATE_PRIMARY_CREDENTIALS,
3189 pub GetAuthDataForUser: PLSA_GET_AUTH_DATA_FOR_USER,
3190 pub CrackSingleName: PLSA_CRACK_SINGLE_NAME,
3191 pub AuditAccountLogon: PLSA_AUDIT_ACCOUNT_LOGON,
3192 pub CallPackagePassthrough: PLSA_CALL_PACKAGE_PASSTHROUGH,
3193 pub CrediRead: CredReadFn,
3194 pub CrediReadDomainCredentials: CredReadDomainCredentialsFn,
3195 pub CrediFreeCredentials: CredFreeCredentialsFn,
3196 pub LsaProtectMemory: PLSA_PROTECT_MEMORY,
3197 pub LsaUnprotectMemory: PLSA_PROTECT_MEMORY,
3198 pub OpenTokenByLogonId: PLSA_OPEN_TOKEN_BY_LOGON_ID,
3199 pub ExpandAuthDataForDomain: PLSA_EXPAND_AUTH_DATA_FOR_DOMAIN,
3200 pub AllocatePrivateHeap: PLSA_ALLOCATE_PRIVATE_HEAP,
3201 pub FreePrivateHeap: PLSA_FREE_PRIVATE_HEAP,
3202 pub CreateTokenEx: PLSA_CREATE_TOKEN_EX,
3203 pub CrediWrite: CredWriteFn,
3204 pub CrediUnmarshalandDecodeString: CrediUnmarshalandDecodeStringFn,
3205 pub DummyFunction6: PLSA_PROTECT_MEMORY,
3206 pub GetExtendedCallFlags: PLSA_GET_EXTENDED_CALL_FLAGS,
3207 pub DuplicateTokenHandle: PLSA_DUPLICATE_HANDLE,
3208 pub GetServiceAccountPassword: PLSA_GET_SERVICE_ACCOUNT_PASSWORD,
3209 pub DummyFunction7: PLSA_PROTECT_MEMORY,
3210 pub AuditLogonEx: PLSA_AUDIT_LOGON_EX,
3211 pub CheckProtectedUserByToken: PLSA_CHECK_PROTECTED_USER_BY_TOKEN,
3212 pub QueryClientRequest: PLSA_QUERY_CLIENT_REQUEST,
3213 pub GetAppModeInfo: PLSA_GET_APP_MODE_INFO,
3214 pub SetAppModeInfo: PLSA_SET_APP_MODE_INFO,
3215}
3216#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
3217impl ::core::marker::Copy for LSA_SECPKG_FUNCTION_TABLE {}
3218#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
3219impl ::core::clone::Clone for LSA_SECPKG_FUNCTION_TABLE {
3220 fn clone(&self) -> Self {
3221 *self
3222 }
3223}
04454e1e 3224#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3225pub const LSA_SECRET_MAXIMUM_COUNT: i32 = 4096i32;
04454e1e 3226#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3227pub const LSA_SECRET_MAXIMUM_LENGTH: i32 = 512i32;
04454e1e 3228#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3229pub const LSA_SID_DISABLED_ADMIN: i32 = 1i32;
04454e1e 3230#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3231pub const LSA_SID_DISABLED_CONFLICT: i32 = 2i32;
04454e1e 3232#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3233pub const LSA_TLN_DISABLED_ADMIN: i32 = 2i32;
04454e1e 3234#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3235pub const LSA_TLN_DISABLED_CONFLICT: i32 = 4i32;
04454e1e 3236#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3237pub const LSA_TLN_DISABLED_NEW: i32 = 1i32;
3238#[repr(C)]
04454e1e 3239#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
3240#[cfg(feature = "Win32_Foundation")]
3241pub struct LSA_TOKEN_INFORMATION_NULL {
3242 pub ExpirationTime: i64,
3243 pub Groups: *mut super::super::TOKEN_GROUPS,
3244}
3245#[cfg(feature = "Win32_Foundation")]
3246impl ::core::marker::Copy for LSA_TOKEN_INFORMATION_NULL {}
3247#[cfg(feature = "Win32_Foundation")]
3248impl ::core::clone::Clone for LSA_TOKEN_INFORMATION_NULL {
3249 fn clone(&self) -> Self {
3250 *self
3251 }
3252}
04454e1e 3253#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3254pub type LSA_TOKEN_INFORMATION_TYPE = i32;
04454e1e 3255#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3256pub const LsaTokenInformationNull: LSA_TOKEN_INFORMATION_TYPE = 0i32;
04454e1e 3257#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3258pub const LsaTokenInformationV1: LSA_TOKEN_INFORMATION_TYPE = 1i32;
04454e1e 3259#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3260pub const LsaTokenInformationV2: LSA_TOKEN_INFORMATION_TYPE = 2i32;
04454e1e 3261#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3262pub const LsaTokenInformationV3: LSA_TOKEN_INFORMATION_TYPE = 3i32;
3263#[repr(C)]
04454e1e 3264#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
3265#[cfg(feature = "Win32_Foundation")]
3266pub struct LSA_TOKEN_INFORMATION_V1 {
3267 pub ExpirationTime: i64,
3268 pub User: super::super::TOKEN_USER,
3269 pub Groups: *mut super::super::TOKEN_GROUPS,
3270 pub PrimaryGroup: super::super::TOKEN_PRIMARY_GROUP,
3271 pub Privileges: *mut super::super::TOKEN_PRIVILEGES,
3272 pub Owner: super::super::TOKEN_OWNER,
3273 pub DefaultDacl: super::super::TOKEN_DEFAULT_DACL,
3274}
3275#[cfg(feature = "Win32_Foundation")]
3276impl ::core::marker::Copy for LSA_TOKEN_INFORMATION_V1 {}
3277#[cfg(feature = "Win32_Foundation")]
3278impl ::core::clone::Clone for LSA_TOKEN_INFORMATION_V1 {
3279 fn clone(&self) -> Self {
3280 *self
3281 }
3282}
3283#[repr(C)]
04454e1e 3284#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
3285#[cfg(feature = "Win32_Foundation")]
3286pub struct LSA_TOKEN_INFORMATION_V3 {
3287 pub ExpirationTime: i64,
3288 pub User: super::super::TOKEN_USER,
3289 pub Groups: *mut super::super::TOKEN_GROUPS,
3290 pub PrimaryGroup: super::super::TOKEN_PRIMARY_GROUP,
3291 pub Privileges: *mut super::super::TOKEN_PRIVILEGES,
3292 pub Owner: super::super::TOKEN_OWNER,
3293 pub DefaultDacl: super::super::TOKEN_DEFAULT_DACL,
3294 pub UserClaims: super::super::TOKEN_USER_CLAIMS,
3295 pub DeviceClaims: super::super::TOKEN_DEVICE_CLAIMS,
3296 pub DeviceGroups: *mut super::super::TOKEN_GROUPS,
3297}
3298#[cfg(feature = "Win32_Foundation")]
3299impl ::core::marker::Copy for LSA_TOKEN_INFORMATION_V3 {}
3300#[cfg(feature = "Win32_Foundation")]
3301impl ::core::clone::Clone for LSA_TOKEN_INFORMATION_V3 {
3302 fn clone(&self) -> Self {
3303 *self
3304 }
3305}
3306#[repr(C)]
04454e1e 3307#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
3308#[cfg(feature = "Win32_Foundation")]
3309pub struct LSA_TRANSLATED_NAME {
3310 pub Use: super::super::SID_NAME_USE,
3311 pub Name: super::super::super::Foundation::UNICODE_STRING,
3312 pub DomainIndex: i32,
3313}
3314#[cfg(feature = "Win32_Foundation")]
3315impl ::core::marker::Copy for LSA_TRANSLATED_NAME {}
3316#[cfg(feature = "Win32_Foundation")]
3317impl ::core::clone::Clone for LSA_TRANSLATED_NAME {
3318 fn clone(&self) -> Self {
3319 *self
3320 }
3321}
3322#[repr(C)]
04454e1e 3323#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3324pub struct LSA_TRANSLATED_SID {
3325 pub Use: super::super::SID_NAME_USE,
3326 pub RelativeId: u32,
3327 pub DomainIndex: i32,
3328}
3329impl ::core::marker::Copy for LSA_TRANSLATED_SID {}
3330impl ::core::clone::Clone for LSA_TRANSLATED_SID {
3331 fn clone(&self) -> Self {
3332 *self
3333 }
3334}
3335#[repr(C)]
04454e1e 3336#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
3337#[cfg(feature = "Win32_Foundation")]
3338pub struct LSA_TRANSLATED_SID2 {
3339 pub Use: super::super::SID_NAME_USE,
3340 pub Sid: super::super::super::Foundation::PSID,
3341 pub DomainIndex: i32,
3342 pub Flags: u32,
3343}
3344#[cfg(feature = "Win32_Foundation")]
3345impl ::core::marker::Copy for LSA_TRANSLATED_SID2 {}
3346#[cfg(feature = "Win32_Foundation")]
3347impl ::core::clone::Clone for LSA_TRANSLATED_SID2 {
3348 fn clone(&self) -> Self {
3349 *self
3350 }
3351}
3352#[repr(C)]
04454e1e 3353#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
3354#[cfg(feature = "Win32_Foundation")]
3355pub struct LSA_TRUST_INFORMATION {
3356 pub Name: super::super::super::Foundation::UNICODE_STRING,
3357 pub Sid: super::super::super::Foundation::PSID,
3358}
3359#[cfg(feature = "Win32_Foundation")]
3360impl ::core::marker::Copy for LSA_TRUST_INFORMATION {}
3361#[cfg(feature = "Win32_Foundation")]
3362impl ::core::clone::Clone for LSA_TRUST_INFORMATION {
3363 fn clone(&self) -> Self {
3364 *self
3365 }
3366}
3367pub type LsaHandle = isize;
04454e1e 3368#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 3369#[cfg(feature = "Win32_Security_Credentials")]
923072b8 3370pub type MAKE_SIGNATURE_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut SecBufferDesc, param3: u32) -> ::windows_sys::core::HRESULT>;
04454e1e 3371#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3372pub const MAXIMUM_CAPES_PER_CAP: u32 = 127u32;
04454e1e 3373#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3374pub const MAX_CRED_SIZE: u32 = 1024u32;
04454e1e 3375#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3376pub const MAX_PROTOCOL_ID_SIZE: u32 = 255u32;
04454e1e 3377#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3378pub const MAX_RECORDS_IN_FOREST_TRUST_INFO: u32 = 4000u32;
04454e1e 3379#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3380pub const MAX_USER_RECORDS: u32 = 1000u32;
04454e1e 3381#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 3382pub const MICROSOFT_KERBEROS_NAME: &str = "Kerberos";
04454e1e 3383#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 3384pub const MICROSOFT_KERBEROS_NAME_A: &str = "Kerberos";
04454e1e 3385#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 3386pub const MICROSOFT_KERBEROS_NAME_W: &str = "Kerberos";
04454e1e 3387#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3388pub type MSV1_0 = u32;
04454e1e 3389#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3390pub const MSV1_0_PASSTHRU: MSV1_0 = 1u32;
04454e1e 3391#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3392pub const MSV1_0_GUEST_LOGON: MSV1_0 = 2u32;
04454e1e 3393#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3394pub const MSV1_0_ALLOW_FORCE_GUEST: u32 = 8192u32;
04454e1e 3395#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3396pub const MSV1_0_ALLOW_MSVCHAPV2: u32 = 65536u32;
04454e1e 3397#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3398pub type MSV1_0_AVID = i32;
04454e1e 3399#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3400pub const MsvAvEOL: MSV1_0_AVID = 0i32;
04454e1e 3401#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3402pub const MsvAvNbComputerName: MSV1_0_AVID = 1i32;
04454e1e 3403#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3404pub const MsvAvNbDomainName: MSV1_0_AVID = 2i32;
04454e1e 3405#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3406pub const MsvAvDnsComputerName: MSV1_0_AVID = 3i32;
04454e1e 3407#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3408pub const MsvAvDnsDomainName: MSV1_0_AVID = 4i32;
04454e1e 3409#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3410pub const MsvAvDnsTreeName: MSV1_0_AVID = 5i32;
04454e1e 3411#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3412pub const MsvAvFlags: MSV1_0_AVID = 6i32;
04454e1e 3413#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3414pub const MsvAvTimestamp: MSV1_0_AVID = 7i32;
04454e1e 3415#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3416pub const MsvAvRestrictions: MSV1_0_AVID = 8i32;
04454e1e 3417#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3418pub const MsvAvTargetName: MSV1_0_AVID = 9i32;
04454e1e 3419#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3420pub const MsvAvChannelBindings: MSV1_0_AVID = 10i32;
04454e1e 3421#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3422pub const MSV1_0_AV_FLAG_FORCE_GUEST: u32 = 1u32;
04454e1e 3423#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3424pub const MSV1_0_AV_FLAG_MIC_HANDSHAKE_MESSAGES: u32 = 2u32;
04454e1e 3425#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3426pub const MSV1_0_AV_FLAG_UNVERIFIED_TARGET: u32 = 4u32;
3427#[repr(C)]
04454e1e 3428#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3429pub struct MSV1_0_AV_PAIR {
3430 pub AvId: u16,
3431 pub AvLen: u16,
3432}
3433impl ::core::marker::Copy for MSV1_0_AV_PAIR {}
3434impl ::core::clone::Clone for MSV1_0_AV_PAIR {
3435 fn clone(&self) -> Self {
3436 *self
3437 }
3438}
04454e1e 3439#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3440pub const MSV1_0_CHALLENGE_LENGTH: u32 = 8u32;
3441#[repr(C)]
04454e1e 3442#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
3443#[cfg(feature = "Win32_Foundation")]
3444pub struct MSV1_0_CHANGEPASSWORD_REQUEST {
3445 pub MessageType: MSV1_0_PROTOCOL_MESSAGE_TYPE,
3446 pub DomainName: super::super::super::Foundation::UNICODE_STRING,
3447 pub AccountName: super::super::super::Foundation::UNICODE_STRING,
3448 pub OldPassword: super::super::super::Foundation::UNICODE_STRING,
3449 pub NewPassword: super::super::super::Foundation::UNICODE_STRING,
3450 pub Impersonating: super::super::super::Foundation::BOOLEAN,
3451}
3452#[cfg(feature = "Win32_Foundation")]
3453impl ::core::marker::Copy for MSV1_0_CHANGEPASSWORD_REQUEST {}
3454#[cfg(feature = "Win32_Foundation")]
3455impl ::core::clone::Clone for MSV1_0_CHANGEPASSWORD_REQUEST {
3456 fn clone(&self) -> Self {
3457 *self
3458 }
3459}
3460#[repr(C)]
04454e1e 3461#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
3462#[cfg(feature = "Win32_Foundation")]
3463pub struct MSV1_0_CHANGEPASSWORD_RESPONSE {
3464 pub MessageType: MSV1_0_PROTOCOL_MESSAGE_TYPE,
3465 pub PasswordInfoValid: super::super::super::Foundation::BOOLEAN,
3466 pub DomainPasswordInfo: DOMAIN_PASSWORD_INFORMATION,
3467}
3468#[cfg(feature = "Win32_Foundation")]
3469impl ::core::marker::Copy for MSV1_0_CHANGEPASSWORD_RESPONSE {}
3470#[cfg(feature = "Win32_Foundation")]
3471impl ::core::clone::Clone for MSV1_0_CHANGEPASSWORD_RESPONSE {
3472 fn clone(&self) -> Self {
3473 *self
3474 }
3475}
04454e1e 3476#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3477pub const MSV1_0_CHECK_LOGONHOURS_FOR_S4U: u32 = 262144u32;
04454e1e 3478#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3479pub const MSV1_0_CLEARTEXT_PASSWORD_SUPPLIED: u32 = 16384u32;
3480#[repr(C)]
04454e1e 3481#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3482pub struct MSV1_0_CREDENTIAL_KEY {
3483 pub Data: [u8; 20],
3484}
3485impl ::core::marker::Copy for MSV1_0_CREDENTIAL_KEY {}
3486impl ::core::clone::Clone for MSV1_0_CREDENTIAL_KEY {
3487 fn clone(&self) -> Self {
3488 *self
3489 }
3490}
04454e1e 3491#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3492pub const MSV1_0_CREDENTIAL_KEY_LENGTH: u32 = 20u32;
04454e1e 3493#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3494pub type MSV1_0_CREDENTIAL_KEY_TYPE = i32;
04454e1e 3495#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3496pub const InvalidCredKey: MSV1_0_CREDENTIAL_KEY_TYPE = 0i32;
04454e1e 3497#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3498pub const DeprecatedIUMCredKey: MSV1_0_CREDENTIAL_KEY_TYPE = 1i32;
04454e1e 3499#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3500pub const DomainUserCredKey: MSV1_0_CREDENTIAL_KEY_TYPE = 2i32;
04454e1e 3501#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3502pub const LocalUserCredKey: MSV1_0_CREDENTIAL_KEY_TYPE = 3i32;
04454e1e 3503#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3504pub const ExternallySuppliedCredKey: MSV1_0_CREDENTIAL_KEY_TYPE = 4i32;
04454e1e 3505#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3506pub const MSV1_0_CRED_CREDKEY_PRESENT: u32 = 8u32;
04454e1e 3507#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3508pub const MSV1_0_CRED_REMOVED: u32 = 4u32;
04454e1e 3509#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3510pub const MSV1_0_CRED_SHA_PRESENT: u32 = 16u32;
04454e1e 3511#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3512pub const MSV1_0_CRED_VERSION_ARSO: u32 = 4294901763u32;
04454e1e 3513#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3514pub const MSV1_0_CRED_VERSION_INVALID: u32 = 4294967295u32;
04454e1e 3515#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3516pub const MSV1_0_CRED_VERSION_IUM: u32 = 4294901761u32;
04454e1e 3517#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3518pub const MSV1_0_CRED_VERSION_REMOTE: u32 = 4294901762u32;
04454e1e 3519#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3520pub const MSV1_0_CRED_VERSION_RESERVED_1: u32 = 4294967294u32;
04454e1e 3521#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3522pub const MSV1_0_CRED_VERSION_V2: u32 = 2u32;
04454e1e 3523#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3524pub const MSV1_0_CRED_VERSION_V3: u32 = 4u32;
04454e1e 3525#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3526pub const MSV1_0_DISABLE_PERSONAL_FALLBACK: u32 = 4096u32;
3527#[repr(C)]
04454e1e 3528#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
3529#[cfg(feature = "Win32_Foundation")]
3530pub struct MSV1_0_INTERACTIVE_LOGON {
3531 pub MessageType: MSV1_0_LOGON_SUBMIT_TYPE,
3532 pub LogonDomainName: super::super::super::Foundation::UNICODE_STRING,
3533 pub UserName: super::super::super::Foundation::UNICODE_STRING,
3534 pub Password: super::super::super::Foundation::UNICODE_STRING,
3535}
3536#[cfg(feature = "Win32_Foundation")]
3537impl ::core::marker::Copy for MSV1_0_INTERACTIVE_LOGON {}
3538#[cfg(feature = "Win32_Foundation")]
3539impl ::core::clone::Clone for MSV1_0_INTERACTIVE_LOGON {
3540 fn clone(&self) -> Self {
3541 *self
3542 }
3543}
3544#[repr(C)]
04454e1e 3545#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
3546#[cfg(feature = "Win32_Foundation")]
3547pub struct MSV1_0_INTERACTIVE_PROFILE {
3548 pub MessageType: MSV1_0_PROFILE_BUFFER_TYPE,
3549 pub LogonCount: u16,
3550 pub BadPasswordCount: u16,
3551 pub LogonTime: i64,
3552 pub LogoffTime: i64,
3553 pub KickOffTime: i64,
3554 pub PasswordLastSet: i64,
3555 pub PasswordCanChange: i64,
3556 pub PasswordMustChange: i64,
3557 pub LogonScript: super::super::super::Foundation::UNICODE_STRING,
3558 pub HomeDirectory: super::super::super::Foundation::UNICODE_STRING,
3559 pub FullName: super::super::super::Foundation::UNICODE_STRING,
3560 pub ProfilePath: super::super::super::Foundation::UNICODE_STRING,
3561 pub HomeDirectoryDrive: super::super::super::Foundation::UNICODE_STRING,
3562 pub LogonServer: super::super::super::Foundation::UNICODE_STRING,
3563 pub UserFlags: u32,
3564}
3565#[cfg(feature = "Win32_Foundation")]
3566impl ::core::marker::Copy for MSV1_0_INTERACTIVE_PROFILE {}
3567#[cfg(feature = "Win32_Foundation")]
3568impl ::core::clone::Clone for MSV1_0_INTERACTIVE_PROFILE {
3569 fn clone(&self) -> Self {
3570 *self
3571 }
3572}
04454e1e 3573#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3574pub const MSV1_0_INTERNET_DOMAIN: u32 = 524288u32;
3575#[repr(C)]
04454e1e 3576#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3577pub struct MSV1_0_IUM_SUPPLEMENTAL_CREDENTIAL {
3578 pub Version: u32,
3579 pub EncryptedCredsSize: u32,
3580 pub EncryptedCreds: [u8; 1],
3581}
3582impl ::core::marker::Copy for MSV1_0_IUM_SUPPLEMENTAL_CREDENTIAL {}
3583impl ::core::clone::Clone for MSV1_0_IUM_SUPPLEMENTAL_CREDENTIAL {
3584 fn clone(&self) -> Self {
3585 *self
3586 }
3587}
04454e1e 3588#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3589pub const MSV1_0_LANMAN_SESSION_KEY_LENGTH: u32 = 8u32;
3590#[repr(C)]
04454e1e 3591#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
5e7ed085
FG
3592#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
3593pub struct MSV1_0_LM20_LOGON {
3594 pub MessageType: MSV1_0_LOGON_SUBMIT_TYPE,
3595 pub LogonDomainName: super::super::super::Foundation::UNICODE_STRING,
3596 pub UserName: super::super::super::Foundation::UNICODE_STRING,
3597 pub Workstation: super::super::super::Foundation::UNICODE_STRING,
3598 pub ChallengeToClient: [u8; 8],
3599 pub CaseSensitiveChallengeResponse: super::super::super::System::Kernel::STRING,
3600 pub CaseInsensitiveChallengeResponse: super::super::super::System::Kernel::STRING,
3601 pub ParameterControl: u32,
3602}
3603#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
3604impl ::core::marker::Copy for MSV1_0_LM20_LOGON {}
3605#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
3606impl ::core::clone::Clone for MSV1_0_LM20_LOGON {
3607 fn clone(&self) -> Self {
3608 *self
3609 }
3610}
3611#[repr(C)]
04454e1e 3612#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
3613#[cfg(feature = "Win32_Foundation")]
3614pub struct MSV1_0_LM20_LOGON_PROFILE {
3615 pub MessageType: MSV1_0_PROFILE_BUFFER_TYPE,
3616 pub KickOffTime: i64,
3617 pub LogoffTime: i64,
3618 pub UserFlags: MSV_SUB_AUTHENTICATION_FILTER,
3619 pub UserSessionKey: [u8; 16],
3620 pub LogonDomainName: super::super::super::Foundation::UNICODE_STRING,
3621 pub LanmanSessionKey: [u8; 8],
3622 pub LogonServer: super::super::super::Foundation::UNICODE_STRING,
3623 pub UserParameters: super::super::super::Foundation::UNICODE_STRING,
3624}
3625#[cfg(feature = "Win32_Foundation")]
3626impl ::core::marker::Copy for MSV1_0_LM20_LOGON_PROFILE {}
3627#[cfg(feature = "Win32_Foundation")]
3628impl ::core::clone::Clone for MSV1_0_LM20_LOGON_PROFILE {
3629 fn clone(&self) -> Self {
3630 *self
3631 }
3632}
04454e1e 3633#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3634pub type MSV1_0_LOGON_SUBMIT_TYPE = i32;
04454e1e 3635#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3636pub const MsV1_0InteractiveLogon: MSV1_0_LOGON_SUBMIT_TYPE = 2i32;
04454e1e 3637#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3638pub const MsV1_0Lm20Logon: MSV1_0_LOGON_SUBMIT_TYPE = 3i32;
04454e1e 3639#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3640pub const MsV1_0NetworkLogon: MSV1_0_LOGON_SUBMIT_TYPE = 4i32;
04454e1e 3641#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3642pub const MsV1_0SubAuthLogon: MSV1_0_LOGON_SUBMIT_TYPE = 5i32;
04454e1e 3643#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3644pub const MsV1_0WorkstationUnlockLogon: MSV1_0_LOGON_SUBMIT_TYPE = 7i32;
04454e1e 3645#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3646pub const MsV1_0S4ULogon: MSV1_0_LOGON_SUBMIT_TYPE = 12i32;
04454e1e 3647#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3648pub const MsV1_0VirtualLogon: MSV1_0_LOGON_SUBMIT_TYPE = 82i32;
04454e1e 3649#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3650pub const MsV1_0NoElevationLogon: MSV1_0_LOGON_SUBMIT_TYPE = 83i32;
04454e1e 3651#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3652pub const MsV1_0LuidLogon: MSV1_0_LOGON_SUBMIT_TYPE = 84i32;
04454e1e 3653#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3654pub const MSV1_0_MAX_AVL_SIZE: u32 = 64000u32;
04454e1e 3655#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3656pub const MSV1_0_MAX_NTLM3_LIFE: u32 = 1800u32;
04454e1e 3657#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3658pub const MSV1_0_MNS_LOGON: u32 = 16777216u32;
04454e1e 3659#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3660pub const MSV1_0_NTLM3_OWF_LENGTH: u32 = 16u32;
3661#[repr(C)]
04454e1e 3662#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3663pub struct MSV1_0_NTLM3_RESPONSE {
3664 pub Response: [u8; 16],
3665 pub RespType: u8,
3666 pub HiRespType: u8,
3667 pub Flags: u16,
3668 pub MsgWord: u32,
3669 pub TimeStamp: u64,
3670 pub ChallengeFromClient: [u8; 8],
3671 pub AvPairsOff: u32,
3672 pub Buffer: [u8; 1],
3673}
3674impl ::core::marker::Copy for MSV1_0_NTLM3_RESPONSE {}
3675impl ::core::clone::Clone for MSV1_0_NTLM3_RESPONSE {
3676 fn clone(&self) -> Self {
3677 *self
3678 }
3679}
04454e1e 3680#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3681pub const MSV1_0_NTLM3_RESPONSE_LENGTH: u32 = 16u32;
04454e1e 3682#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3683pub const MSV1_0_OWF_PASSWORD_LENGTH: u32 = 16u32;
04454e1e 3684#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 3685pub const MSV1_0_PACKAGE_NAME: &str = "MICROSOFT_AUTHENTICATION_PACKAGE_V1_0";
04454e1e 3686#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 3687pub const MSV1_0_PACKAGE_NAMEW: &str = "MICROSOFT_AUTHENTICATION_PACKAGE_V1_0";
5e7ed085 3688#[repr(C)]
04454e1e 3689#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
3690#[cfg(feature = "Win32_Foundation")]
3691pub struct MSV1_0_PASSTHROUGH_REQUEST {
3692 pub MessageType: MSV1_0_PROTOCOL_MESSAGE_TYPE,
3693 pub DomainName: super::super::super::Foundation::UNICODE_STRING,
3694 pub PackageName: super::super::super::Foundation::UNICODE_STRING,
3695 pub DataLength: u32,
3696 pub LogonData: *mut u8,
3697 pub Pad: u32,
3698}
3699#[cfg(feature = "Win32_Foundation")]
3700impl ::core::marker::Copy for MSV1_0_PASSTHROUGH_REQUEST {}
3701#[cfg(feature = "Win32_Foundation")]
3702impl ::core::clone::Clone for MSV1_0_PASSTHROUGH_REQUEST {
3703 fn clone(&self) -> Self {
3704 *self
3705 }
3706}
3707#[repr(C)]
04454e1e 3708#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3709pub struct MSV1_0_PASSTHROUGH_RESPONSE {
3710 pub MessageType: MSV1_0_PROTOCOL_MESSAGE_TYPE,
3711 pub Pad: u32,
3712 pub DataLength: u32,
3713 pub ValidationData: *mut u8,
3714}
3715impl ::core::marker::Copy for MSV1_0_PASSTHROUGH_RESPONSE {}
3716impl ::core::clone::Clone for MSV1_0_PASSTHROUGH_RESPONSE {
3717 fn clone(&self) -> Self {
3718 *self
3719 }
3720}
04454e1e 3721#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3722pub type MSV1_0_PROFILE_BUFFER_TYPE = i32;
04454e1e 3723#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3724pub const MsV1_0InteractiveProfile: MSV1_0_PROFILE_BUFFER_TYPE = 2i32;
04454e1e 3725#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3726pub const MsV1_0Lm20LogonProfile: MSV1_0_PROFILE_BUFFER_TYPE = 3i32;
04454e1e 3727#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3728pub const MsV1_0SmartCardProfile: MSV1_0_PROFILE_BUFFER_TYPE = 4i32;
04454e1e 3729#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3730pub type MSV1_0_PROTOCOL_MESSAGE_TYPE = i32;
04454e1e 3731#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3732pub const MsV1_0Lm20ChallengeRequest: MSV1_0_PROTOCOL_MESSAGE_TYPE = 0i32;
04454e1e 3733#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3734pub const MsV1_0Lm20GetChallengeResponse: MSV1_0_PROTOCOL_MESSAGE_TYPE = 1i32;
04454e1e 3735#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3736pub const MsV1_0EnumerateUsers: MSV1_0_PROTOCOL_MESSAGE_TYPE = 2i32;
04454e1e 3737#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3738pub const MsV1_0GetUserInfo: MSV1_0_PROTOCOL_MESSAGE_TYPE = 3i32;
04454e1e 3739#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3740pub const MsV1_0ReLogonUsers: MSV1_0_PROTOCOL_MESSAGE_TYPE = 4i32;
04454e1e 3741#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3742pub const MsV1_0ChangePassword: MSV1_0_PROTOCOL_MESSAGE_TYPE = 5i32;
04454e1e 3743#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3744pub const MsV1_0ChangeCachedPassword: MSV1_0_PROTOCOL_MESSAGE_TYPE = 6i32;
04454e1e 3745#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3746pub const MsV1_0GenericPassthrough: MSV1_0_PROTOCOL_MESSAGE_TYPE = 7i32;
04454e1e 3747#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3748pub const MsV1_0CacheLogon: MSV1_0_PROTOCOL_MESSAGE_TYPE = 8i32;
04454e1e 3749#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3750pub const MsV1_0SubAuth: MSV1_0_PROTOCOL_MESSAGE_TYPE = 9i32;
04454e1e 3751#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3752pub const MsV1_0DeriveCredential: MSV1_0_PROTOCOL_MESSAGE_TYPE = 10i32;
04454e1e 3753#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3754pub const MsV1_0CacheLookup: MSV1_0_PROTOCOL_MESSAGE_TYPE = 11i32;
04454e1e 3755#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3756pub const MsV1_0SetProcessOption: MSV1_0_PROTOCOL_MESSAGE_TYPE = 12i32;
04454e1e 3757#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3758pub const MsV1_0ConfigLocalAliases: MSV1_0_PROTOCOL_MESSAGE_TYPE = 13i32;
04454e1e 3759#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3760pub const MsV1_0ClearCachedCredentials: MSV1_0_PROTOCOL_MESSAGE_TYPE = 14i32;
04454e1e 3761#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3762pub const MsV1_0LookupToken: MSV1_0_PROTOCOL_MESSAGE_TYPE = 15i32;
04454e1e 3763#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3764pub const MsV1_0ValidateAuth: MSV1_0_PROTOCOL_MESSAGE_TYPE = 16i32;
04454e1e 3765#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3766pub const MsV1_0CacheLookupEx: MSV1_0_PROTOCOL_MESSAGE_TYPE = 17i32;
04454e1e 3767#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3768pub const MsV1_0GetCredentialKey: MSV1_0_PROTOCOL_MESSAGE_TYPE = 18i32;
04454e1e 3769#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3770pub const MsV1_0SetThreadOption: MSV1_0_PROTOCOL_MESSAGE_TYPE = 19i32;
04454e1e 3771#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3772pub const MsV1_0DecryptDpapiMasterKey: MSV1_0_PROTOCOL_MESSAGE_TYPE = 20i32;
04454e1e 3773#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3774pub const MsV1_0GetStrongCredentialKey: MSV1_0_PROTOCOL_MESSAGE_TYPE = 21i32;
04454e1e 3775#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3776pub const MsV1_0TransferCred: MSV1_0_PROTOCOL_MESSAGE_TYPE = 22i32;
04454e1e 3777#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3778pub const MsV1_0ProvisionTbal: MSV1_0_PROTOCOL_MESSAGE_TYPE = 23i32;
04454e1e 3779#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3780pub const MsV1_0DeleteTbalSecrets: MSV1_0_PROTOCOL_MESSAGE_TYPE = 24i32;
3781#[repr(C, packed(1))]
04454e1e 3782#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3783pub struct MSV1_0_REMOTE_SUPPLEMENTAL_CREDENTIAL {
3784 pub Version: u32,
3785 pub Flags: u32,
3786 pub CredentialKey: MSV1_0_CREDENTIAL_KEY,
3787 pub CredentialKeyType: MSV1_0_CREDENTIAL_KEY_TYPE,
3788 pub EncryptedCredsSize: u32,
3789 pub EncryptedCreds: [u8; 1],
3790}
3791impl ::core::marker::Copy for MSV1_0_REMOTE_SUPPLEMENTAL_CREDENTIAL {}
3792impl ::core::clone::Clone for MSV1_0_REMOTE_SUPPLEMENTAL_CREDENTIAL {
3793 fn clone(&self) -> Self {
3794 *self
3795 }
3796}
04454e1e 3797#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3798pub const MSV1_0_S4U2SELF: u32 = 131072u32;
3799#[repr(C)]
04454e1e 3800#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
3801#[cfg(feature = "Win32_Foundation")]
3802pub struct MSV1_0_S4U_LOGON {
3803 pub MessageType: MSV1_0_LOGON_SUBMIT_TYPE,
3804 pub Flags: u32,
3805 pub UserPrincipalName: super::super::super::Foundation::UNICODE_STRING,
3806 pub DomainName: super::super::super::Foundation::UNICODE_STRING,
3807}
3808#[cfg(feature = "Win32_Foundation")]
3809impl ::core::marker::Copy for MSV1_0_S4U_LOGON {}
3810#[cfg(feature = "Win32_Foundation")]
3811impl ::core::clone::Clone for MSV1_0_S4U_LOGON {
3812 fn clone(&self) -> Self {
3813 *self
3814 }
3815}
04454e1e 3816#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3817pub const MSV1_0_S4U_LOGON_FLAG_CHECK_LOGONHOURS: u32 = 2u32;
04454e1e 3818#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3819pub const MSV1_0_SHA_PASSWORD_LENGTH: u32 = 20u32;
04454e1e 3820#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3821pub const MSV1_0_SUBAUTHENTICATION_DLL: u32 = 4278190080u32;
04454e1e 3822#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3823pub const MSV1_0_SUBAUTHENTICATION_DLL_EX: u32 = 1048576u32;
04454e1e 3824#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3825pub const MSV1_0_SUBAUTHENTICATION_DLL_IIS: u32 = 132u32;
04454e1e 3826#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3827pub const MSV1_0_SUBAUTHENTICATION_DLL_RAS: u32 = 2u32;
04454e1e 3828#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3829pub const MSV1_0_SUBAUTHENTICATION_DLL_SHIFT: u32 = 24u32;
04454e1e 3830#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3831pub const MSV1_0_SUBAUTHENTICATION_FLAGS: u32 = 4278190080u32;
04454e1e 3832#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 3833pub const MSV1_0_SUBAUTHENTICATION_KEY: &str = "SYSTEM\\CurrentControlSet\\Control\\Lsa\\MSV1_0";
04454e1e 3834#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 3835pub const MSV1_0_SUBAUTHENTICATION_VALUE: &str = "Auth";
04454e1e 3836#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3837pub const MSV1_0_SUBAUTH_ACCOUNT_DISABLED: u32 = 1u32;
04454e1e 3838#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3839pub const MSV1_0_SUBAUTH_ACCOUNT_EXPIRY: u32 = 16u32;
04454e1e 3840#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3841pub const MSV1_0_SUBAUTH_ACCOUNT_TYPE: u32 = 64u32;
04454e1e 3842#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3843pub const MSV1_0_SUBAUTH_LOCKOUT: u32 = 128u32;
3844#[repr(C)]
04454e1e 3845#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
5e7ed085
FG
3846#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
3847pub struct MSV1_0_SUBAUTH_LOGON {
3848 pub MessageType: MSV1_0_LOGON_SUBMIT_TYPE,
3849 pub LogonDomainName: super::super::super::Foundation::UNICODE_STRING,
3850 pub UserName: super::super::super::Foundation::UNICODE_STRING,
3851 pub Workstation: super::super::super::Foundation::UNICODE_STRING,
3852 pub ChallengeToClient: [u8; 8],
3853 pub AuthenticationInfo1: super::super::super::System::Kernel::STRING,
3854 pub AuthenticationInfo2: super::super::super::System::Kernel::STRING,
3855 pub ParameterControl: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL,
3856 pub SubAuthPackageId: u32,
3857}
3858#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
3859impl ::core::marker::Copy for MSV1_0_SUBAUTH_LOGON {}
3860#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
3861impl ::core::clone::Clone for MSV1_0_SUBAUTH_LOGON {
3862 fn clone(&self) -> Self {
3863 *self
3864 }
3865}
04454e1e 3866#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3867pub const MSV1_0_SUBAUTH_LOGON_HOURS: u32 = 8u32;
04454e1e 3868#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3869pub const MSV1_0_SUBAUTH_PASSWORD: u32 = 2u32;
04454e1e 3870#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3871pub const MSV1_0_SUBAUTH_PASSWORD_EXPIRY: u32 = 32u32;
3872#[repr(C)]
04454e1e 3873#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3874pub struct MSV1_0_SUBAUTH_REQUEST {
3875 pub MessageType: MSV1_0_PROTOCOL_MESSAGE_TYPE,
3876 pub SubAuthPackageId: u32,
3877 pub SubAuthInfoLength: u32,
3878 pub SubAuthSubmitBuffer: *mut u8,
3879}
3880impl ::core::marker::Copy for MSV1_0_SUBAUTH_REQUEST {}
3881impl ::core::clone::Clone for MSV1_0_SUBAUTH_REQUEST {
3882 fn clone(&self) -> Self {
3883 *self
3884 }
3885}
3886#[repr(C)]
04454e1e 3887#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3888pub struct MSV1_0_SUBAUTH_RESPONSE {
3889 pub MessageType: MSV1_0_PROTOCOL_MESSAGE_TYPE,
3890 pub SubAuthInfoLength: u32,
3891 pub SubAuthReturnBuffer: *mut u8,
3892}
3893impl ::core::marker::Copy for MSV1_0_SUBAUTH_RESPONSE {}
3894impl ::core::clone::Clone for MSV1_0_SUBAUTH_RESPONSE {
3895 fn clone(&self) -> Self {
3896 *self
3897 }
3898}
04454e1e 3899#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3900pub const MSV1_0_SUBAUTH_WORKSTATIONS: u32 = 4u32;
3901#[repr(C)]
04454e1e 3902#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3903pub struct MSV1_0_SUPPLEMENTAL_CREDENTIAL {
3904 pub Version: u32,
3905 pub Flags: MSV_SUPPLEMENTAL_CREDENTIAL_FLAGS,
3906 pub LmPassword: [u8; 16],
3907 pub NtPassword: [u8; 16],
3908}
3909impl ::core::marker::Copy for MSV1_0_SUPPLEMENTAL_CREDENTIAL {}
3910impl ::core::clone::Clone for MSV1_0_SUPPLEMENTAL_CREDENTIAL {
3911 fn clone(&self) -> Self {
3912 *self
3913 }
3914}
3915#[repr(C)]
04454e1e 3916#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3917pub struct MSV1_0_SUPPLEMENTAL_CREDENTIAL_V2 {
3918 pub Version: u32,
3919 pub Flags: u32,
3920 pub NtPassword: [u8; 16],
3921 pub CredentialKey: MSV1_0_CREDENTIAL_KEY,
3922}
3923impl ::core::marker::Copy for MSV1_0_SUPPLEMENTAL_CREDENTIAL_V2 {}
3924impl ::core::clone::Clone for MSV1_0_SUPPLEMENTAL_CREDENTIAL_V2 {
3925 fn clone(&self) -> Self {
3926 *self
3927 }
3928}
3929#[repr(C)]
04454e1e 3930#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3931pub struct MSV1_0_SUPPLEMENTAL_CREDENTIAL_V3 {
3932 pub Version: u32,
3933 pub Flags: u32,
3934 pub CredentialKeyType: MSV1_0_CREDENTIAL_KEY_TYPE,
3935 pub NtPassword: [u8; 16],
3936 pub CredentialKey: MSV1_0_CREDENTIAL_KEY,
3937 pub ShaPassword: [u8; 20],
3938}
3939impl ::core::marker::Copy for MSV1_0_SUPPLEMENTAL_CREDENTIAL_V3 {}
3940impl ::core::clone::Clone for MSV1_0_SUPPLEMENTAL_CREDENTIAL_V3 {
3941 fn clone(&self) -> Self {
3942 *self
3943 }
3944}
04454e1e 3945#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3946pub const MSV1_0_USER_SESSION_KEY_LENGTH: u32 = 16u32;
04454e1e 3947#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3948pub const MSV1_0_USE_CLIENT_CHALLENGE: u32 = 128u32;
04454e1e 3949#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
3950pub const MSV1_0_USE_DOMAIN_FOR_ROUTING_ONLY: u32 = 32768u32;
3951#[repr(C)]
04454e1e 3952#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_PasswordManagement\"`*"]
5e7ed085
FG
3953#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
3954pub struct MSV1_0_VALIDATION_INFO {
3955 pub LogoffTime: i64,
3956 pub KickoffTime: i64,
3957 pub LogonServer: super::super::super::Foundation::UNICODE_STRING,
3958 pub LogonDomainName: super::super::super::Foundation::UNICODE_STRING,
3959 pub SessionKey: USER_SESSION_KEY,
3960 pub Authoritative: super::super::super::Foundation::BOOLEAN,
3961 pub UserFlags: u32,
3962 pub WhichFields: u32,
3963 pub UserId: u32,
3964}
3965#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
3966impl ::core::marker::Copy for MSV1_0_VALIDATION_INFO {}
3967#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
3968impl ::core::clone::Clone for MSV1_0_VALIDATION_INFO {
3969 fn clone(&self) -> Self {
3970 *self
3971 }
3972}
04454e1e 3973#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3974pub const MSV1_0_VALIDATION_KICKOFF_TIME: u32 = 2u32;
04454e1e 3975#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3976pub const MSV1_0_VALIDATION_LOGOFF_TIME: u32 = 1u32;
04454e1e 3977#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3978pub const MSV1_0_VALIDATION_LOGON_DOMAIN: u32 = 8u32;
04454e1e 3979#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3980pub const MSV1_0_VALIDATION_LOGON_SERVER: u32 = 4u32;
04454e1e 3981#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3982pub const MSV1_0_VALIDATION_SESSION_KEY: u32 = 16u32;
04454e1e 3983#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3984pub const MSV1_0_VALIDATION_USER_FLAGS: u32 = 32u32;
04454e1e 3985#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3986pub const MSV1_0_VALIDATION_USER_ID: u32 = 64u32;
04454e1e 3987#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3988pub type MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = u32;
04454e1e 3989#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3990pub const MSV1_0_CLEARTEXT_PASSWORD_ALLOWED: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 2u32;
04454e1e 3991#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3992pub const MSV1_0_UPDATE_LOGON_STATISTICS: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 4u32;
04454e1e 3993#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3994pub const MSV1_0_RETURN_USER_PARAMETERS: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 8u32;
04454e1e 3995#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3996pub const MSV1_0_DONT_TRY_GUEST_ACCOUNT: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 16u32;
04454e1e 3997#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 3998pub const MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 32u32;
04454e1e 3999#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4000pub const MSV1_0_RETURN_PASSWORD_EXPIRY: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 64u32;
04454e1e 4001#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4002pub const MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 2048u32;
04454e1e 4003#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4004pub const MSV1_0_TRY_GUEST_ACCOUNT_ONLY: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 256u32;
04454e1e 4005#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4006pub const MSV1_0_RETURN_PROFILE_PATH: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 512u32;
04454e1e 4007#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4008pub const MSV1_0_TRY_SPECIFIED_DOMAIN_ONLY: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 1024u32;
04454e1e 4009#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4010pub type MSV_SUB_AUTHENTICATION_FILTER = u32;
04454e1e 4011#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4012pub const LOGON_GUEST: MSV_SUB_AUTHENTICATION_FILTER = 1u32;
04454e1e 4013#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4014pub const LOGON_NOENCRYPTION: MSV_SUB_AUTHENTICATION_FILTER = 2u32;
04454e1e 4015#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4016pub const LOGON_CACHED_ACCOUNT: MSV_SUB_AUTHENTICATION_FILTER = 4u32;
04454e1e 4017#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4018pub const LOGON_USED_LM_PASSWORD: MSV_SUB_AUTHENTICATION_FILTER = 8u32;
04454e1e 4019#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4020pub const LOGON_EXTRA_SIDS: MSV_SUB_AUTHENTICATION_FILTER = 32u32;
04454e1e 4021#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4022pub const LOGON_SUBAUTH_SESSION_KEY: MSV_SUB_AUTHENTICATION_FILTER = 64u32;
04454e1e 4023#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4024pub const LOGON_SERVER_TRUST_ACCOUNT: MSV_SUB_AUTHENTICATION_FILTER = 128u32;
04454e1e 4025#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4026pub const LOGON_PROFILE_PATH_RETURNED: MSV_SUB_AUTHENTICATION_FILTER = 1024u32;
04454e1e 4027#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4028pub const LOGON_RESOURCE_GROUPS: MSV_SUB_AUTHENTICATION_FILTER = 512u32;
04454e1e 4029#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4030pub type MSV_SUPPLEMENTAL_CREDENTIAL_FLAGS = u32;
04454e1e 4031#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4032pub const MSV1_0_CRED_LM_PRESENT: MSV_SUPPLEMENTAL_CREDENTIAL_FLAGS = 1u32;
04454e1e 4033#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4034pub const MSV1_0_CRED_NT_PRESENT: MSV_SUPPLEMENTAL_CREDENTIAL_FLAGS = 2u32;
04454e1e 4035#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4036pub const MSV1_0_CRED_VERSION: MSV_SUPPLEMENTAL_CREDENTIAL_FLAGS = 0u32;
04454e1e 4037#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 4038pub const NEGOSSP_NAME: &str = "Negotiate";
04454e1e 4039#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 4040pub const NEGOSSP_NAME_A: &str = "Negotiate";
04454e1e 4041#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 4042pub const NEGOSSP_NAME_W: &str = "Negotiate";
04454e1e 4043#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
4044pub const NEGOTIATE_ALLOW_NTLM: u32 = 268435456u32;
4045#[repr(C)]
04454e1e 4046#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4047#[cfg(feature = "Win32_Foundation")]
4048pub struct NEGOTIATE_CALLER_NAME_REQUEST {
4049 pub MessageType: u32,
4050 pub LogonId: super::super::super::Foundation::LUID,
4051}
4052#[cfg(feature = "Win32_Foundation")]
4053impl ::core::marker::Copy for NEGOTIATE_CALLER_NAME_REQUEST {}
4054#[cfg(feature = "Win32_Foundation")]
4055impl ::core::clone::Clone for NEGOTIATE_CALLER_NAME_REQUEST {
4056 fn clone(&self) -> Self {
4057 *self
4058 }
4059}
4060#[repr(C)]
04454e1e 4061#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
4062pub struct NEGOTIATE_CALLER_NAME_RESPONSE {
4063 pub MessageType: u32,
04454e1e 4064 pub CallerName: ::windows_sys::core::PWSTR,
5e7ed085 4065}
5e7ed085 4066impl ::core::marker::Copy for NEGOTIATE_CALLER_NAME_RESPONSE {}
5e7ed085
FG
4067impl ::core::clone::Clone for NEGOTIATE_CALLER_NAME_RESPONSE {
4068 fn clone(&self) -> Self {
4069 *self
4070 }
4071}
04454e1e 4072#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4073pub const NEGOTIATE_MAX_PREFIX: u32 = 32u32;
04454e1e 4074#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4075pub type NEGOTIATE_MESSAGES = i32;
04454e1e 4076#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4077pub const NegEnumPackagePrefixes: NEGOTIATE_MESSAGES = 0i32;
04454e1e 4078#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4079pub const NegGetCallerName: NEGOTIATE_MESSAGES = 1i32;
04454e1e 4080#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4081pub const NegTransferCredentials: NEGOTIATE_MESSAGES = 2i32;
04454e1e 4082#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4083pub const NegMsgReserved1: NEGOTIATE_MESSAGES = 3i32;
04454e1e 4084#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4085pub const NegCallPackageMax: NEGOTIATE_MESSAGES = 4i32;
04454e1e 4086#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
4087pub const NEGOTIATE_NEG_NTLM: u32 = 536870912u32;
4088#[repr(C)]
04454e1e 4089#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
4090pub struct NEGOTIATE_PACKAGE_PREFIX {
4091 pub PackageId: usize,
4092 pub PackageDataA: *mut ::core::ffi::c_void,
4093 pub PackageDataW: *mut ::core::ffi::c_void,
4094 pub PrefixLen: usize,
4095 pub Prefix: [u8; 32],
4096}
4097impl ::core::marker::Copy for NEGOTIATE_PACKAGE_PREFIX {}
4098impl ::core::clone::Clone for NEGOTIATE_PACKAGE_PREFIX {
4099 fn clone(&self) -> Self {
4100 *self
4101 }
4102}
4103#[repr(C)]
04454e1e 4104#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
4105pub struct NEGOTIATE_PACKAGE_PREFIXES {
4106 pub MessageType: u32,
4107 pub PrefixCount: u32,
4108 pub Offset: u32,
4109 pub Pad: u32,
4110}
4111impl ::core::marker::Copy for NEGOTIATE_PACKAGE_PREFIXES {}
4112impl ::core::clone::Clone for NEGOTIATE_PACKAGE_PREFIXES {
4113 fn clone(&self) -> Self {
4114 *self
4115 }
4116}
4117#[repr(C)]
04454e1e 4118#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4119#[cfg(feature = "Win32_Foundation")]
4120pub struct NETLOGON_GENERIC_INFO {
4121 pub Identity: NETLOGON_LOGON_IDENTITY_INFO,
4122 pub PackageName: super::super::super::Foundation::UNICODE_STRING,
4123 pub DataLength: u32,
4124 pub LogonData: *mut u8,
4125}
4126#[cfg(feature = "Win32_Foundation")]
4127impl ::core::marker::Copy for NETLOGON_GENERIC_INFO {}
4128#[cfg(feature = "Win32_Foundation")]
4129impl ::core::clone::Clone for NETLOGON_GENERIC_INFO {
4130 fn clone(&self) -> Self {
4131 *self
4132 }
4133}
4134#[repr(C)]
04454e1e 4135#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_PasswordManagement\"`*"]
5e7ed085
FG
4136#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
4137pub struct NETLOGON_INTERACTIVE_INFO {
4138 pub Identity: NETLOGON_LOGON_IDENTITY_INFO,
4139 pub LmOwfPassword: super::super::super::System::PasswordManagement::LM_OWF_PASSWORD,
4140 pub NtOwfPassword: super::super::super::System::PasswordManagement::LM_OWF_PASSWORD,
4141}
4142#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
4143impl ::core::marker::Copy for NETLOGON_INTERACTIVE_INFO {}
4144#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
4145impl ::core::clone::Clone for NETLOGON_INTERACTIVE_INFO {
4146 fn clone(&self) -> Self {
4147 *self
4148 }
4149}
4150#[repr(C)]
04454e1e 4151#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4152#[cfg(feature = "Win32_Foundation")]
4153pub struct NETLOGON_LOGON_IDENTITY_INFO {
4154 pub LogonDomainName: super::super::super::Foundation::UNICODE_STRING,
4155 pub ParameterControl: u32,
4156 pub LogonId: i64,
4157 pub UserName: super::super::super::Foundation::UNICODE_STRING,
4158 pub Workstation: super::super::super::Foundation::UNICODE_STRING,
4159}
4160#[cfg(feature = "Win32_Foundation")]
4161impl ::core::marker::Copy for NETLOGON_LOGON_IDENTITY_INFO {}
4162#[cfg(feature = "Win32_Foundation")]
4163impl ::core::clone::Clone for NETLOGON_LOGON_IDENTITY_INFO {
4164 fn clone(&self) -> Self {
4165 *self
4166 }
4167}
04454e1e 4168#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4169pub type NETLOGON_LOGON_INFO_CLASS = i32;
04454e1e 4170#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4171pub const NetlogonInteractiveInformation: NETLOGON_LOGON_INFO_CLASS = 1i32;
04454e1e 4172#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4173pub const NetlogonNetworkInformation: NETLOGON_LOGON_INFO_CLASS = 2i32;
04454e1e 4174#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4175pub const NetlogonServiceInformation: NETLOGON_LOGON_INFO_CLASS = 3i32;
04454e1e 4176#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4177pub const NetlogonGenericInformation: NETLOGON_LOGON_INFO_CLASS = 4i32;
04454e1e 4178#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4179pub const NetlogonInteractiveTransitiveInformation: NETLOGON_LOGON_INFO_CLASS = 5i32;
04454e1e 4180#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4181pub const NetlogonNetworkTransitiveInformation: NETLOGON_LOGON_INFO_CLASS = 6i32;
04454e1e 4182#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
4183pub const NetlogonServiceTransitiveInformation: NETLOGON_LOGON_INFO_CLASS = 7i32;
4184#[repr(C)]
04454e1e 4185#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
5e7ed085
FG
4186#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
4187pub struct NETLOGON_NETWORK_INFO {
4188 pub Identity: NETLOGON_LOGON_IDENTITY_INFO,
4189 pub LmChallenge: CLEAR_BLOCK,
4190 pub NtChallengeResponse: super::super::super::System::Kernel::STRING,
4191 pub LmChallengeResponse: super::super::super::System::Kernel::STRING,
4192}
4193#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
4194impl ::core::marker::Copy for NETLOGON_NETWORK_INFO {}
4195#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
4196impl ::core::clone::Clone for NETLOGON_NETWORK_INFO {
4197 fn clone(&self) -> Self {
4198 *self
4199 }
4200}
4201#[repr(C)]
04454e1e 4202#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_PasswordManagement\"`*"]
5e7ed085
FG
4203#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
4204pub struct NETLOGON_SERVICE_INFO {
4205 pub Identity: NETLOGON_LOGON_IDENTITY_INFO,
4206 pub LmOwfPassword: super::super::super::System::PasswordManagement::LM_OWF_PASSWORD,
4207 pub NtOwfPassword: super::super::super::System::PasswordManagement::LM_OWF_PASSWORD,
4208}
4209#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
4210impl ::core::marker::Copy for NETLOGON_SERVICE_INFO {}
4211#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
4212impl ::core::clone::Clone for NETLOGON_SERVICE_INFO {
4213 fn clone(&self) -> Self {
4214 *self
4215 }
4216}
04454e1e 4217#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4218pub const NGC_DATA_FLAG_IS_CLOUD_TRUST_CRED: u32 = 8u32;
04454e1e 4219#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4220pub const NGC_DATA_FLAG_IS_SMARTCARD_DATA: u32 = 4u32;
04454e1e 4221#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4222pub const NGC_DATA_FLAG_KERB_CERTIFICATE_LOGON_FLAG_CHECK_DUPLICATES: u32 = 1u32;
04454e1e 4223#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4224pub const NGC_DATA_FLAG_KERB_CERTIFICATE_LOGON_FLAG_USE_CERTIFICATE_INFO: u32 = 2u32;
04454e1e 4225#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4226pub const NOTIFIER_FLAG_NEW_THREAD: u32 = 1u32;
04454e1e 4227#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4228pub const NOTIFIER_FLAG_ONE_SHOT: u32 = 2u32;
04454e1e 4229#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4230pub const NOTIFIER_FLAG_SECONDS: u32 = 2147483648u32;
04454e1e 4231#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4232pub const NOTIFIER_TYPE_HANDLE_WAIT: u32 = 2u32;
04454e1e 4233#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4234pub const NOTIFIER_TYPE_IMMEDIATE: u32 = 16u32;
04454e1e 4235#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4236pub const NOTIFIER_TYPE_INTERVAL: u32 = 1u32;
04454e1e 4237#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4238pub const NOTIFIER_TYPE_NOTIFY_EVENT: u32 = 4u32;
04454e1e 4239#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4240pub const NOTIFIER_TYPE_STATE_CHANGE: u32 = 3u32;
04454e1e 4241#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4242pub const NOTIFY_CLASS_DOMAIN_CHANGE: u32 = 3u32;
04454e1e 4243#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4244pub const NOTIFY_CLASS_PACKAGE_CHANGE: u32 = 1u32;
04454e1e 4245#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4246pub const NOTIFY_CLASS_REGISTRY_CHANGE: u32 = 4u32;
04454e1e 4247#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4248pub const NOTIFY_CLASS_ROLE_CHANGE: u32 = 2u32;
04454e1e 4249#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4250pub const NO_LONG_NAMES: u32 = 2u32;
04454e1e 4251#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 4252pub const NTLMSP_NAME: &str = "NTLM";
04454e1e 4253#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 4254pub const NTLMSP_NAME_A: &str = "NTLM";
04454e1e 4255#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 4256pub const PCT1SP_NAME: &str = "Microsoft PCT 1.0";
04454e1e 4257#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 4258pub const PCT1SP_NAME_A: &str = "Microsoft PCT 1.0";
04454e1e 4259#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 4260pub const PCT1SP_NAME_W: &str = "Microsoft PCT 1.0";
04454e1e 4261#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4262pub const PER_USER_AUDIT_FAILURE_EXCLUDE: u32 = 8u32;
04454e1e 4263#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4264pub const PER_USER_AUDIT_FAILURE_INCLUDE: u32 = 4u32;
04454e1e 4265#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4266pub const PER_USER_AUDIT_NONE: u32 = 16u32;
04454e1e 4267#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4268pub const PER_USER_AUDIT_SUCCESS_EXCLUDE: u32 = 2u32;
04454e1e 4269#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4270pub const PER_USER_AUDIT_SUCCESS_INCLUDE: u32 = 1u32;
04454e1e 4271#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4272pub const PER_USER_POLICY_UNCHANGED: u32 = 0u32;
04454e1e 4273#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4274pub type PKSEC_CREATE_CONTEXT_LIST = ::core::option::Option<unsafe extern "system" fn(r#type: KSEC_CONTEXT_TYPE) -> *mut ::core::ffi::c_void>;
04454e1e 4275#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_System_Kernel\"`*"]
5e7ed085
FG
4276#[cfg(feature = "Win32_System_Kernel")]
4277pub type PKSEC_DEREFERENCE_LIST_ENTRY = ::core::option::Option<unsafe extern "system" fn(entry: *const KSEC_LIST_ENTRY, delete: *mut u8)>;
04454e1e 4278#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_System_Kernel\"`*"]
5e7ed085
FG
4279#[cfg(feature = "Win32_System_Kernel")]
4280pub type PKSEC_INSERT_LIST_ENTRY = ::core::option::Option<unsafe extern "system" fn(list: *const ::core::ffi::c_void, entry: *const KSEC_LIST_ENTRY)>;
04454e1e 4281#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4282pub type PKSEC_LOCATE_PKG_BY_ID = ::core::option::Option<unsafe extern "system" fn(packageid: u32) -> *mut ::core::ffi::c_void>;
04454e1e 4283#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
5e7ed085
FG
4284#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
4285pub type PKSEC_REFERENCE_LIST_ENTRY = ::core::option::Option<unsafe extern "system" fn(entry: *const KSEC_LIST_ENTRY, signature: u32, removenoref: super::super::super::Foundation::BOOLEAN) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4286#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4287#[cfg(feature = "Win32_Foundation")]
4288pub type PKSEC_SERIALIZE_SCHANNEL_AUTH_DATA = ::core::option::Option<unsafe extern "system" fn(pvauthdata: *const ::core::ffi::c_void, size: *mut u32, serializeddata: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4289#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4290#[cfg(feature = "Win32_Foundation")]
4291pub type PKSEC_SERIALIZE_WINNT_AUTH_DATA = ::core::option::Option<unsafe extern "system" fn(pvauthdata: *const ::core::ffi::c_void, size: *mut u32, serializeddata: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>;
4292#[repr(C)]
04454e1e 4293#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4294#[cfg(feature = "Win32_Foundation")]
4295pub struct PKU2U_CERTIFICATE_S4U_LOGON {
4296 pub MessageType: PKU2U_LOGON_SUBMIT_TYPE,
4297 pub Flags: u32,
4298 pub UserPrincipalName: super::super::super::Foundation::UNICODE_STRING,
4299 pub DomainName: super::super::super::Foundation::UNICODE_STRING,
4300 pub CertificateLength: u32,
4301 pub Certificate: *mut u8,
4302}
4303#[cfg(feature = "Win32_Foundation")]
4304impl ::core::marker::Copy for PKU2U_CERTIFICATE_S4U_LOGON {}
4305#[cfg(feature = "Win32_Foundation")]
4306impl ::core::clone::Clone for PKU2U_CERTIFICATE_S4U_LOGON {
4307 fn clone(&self) -> Self {
4308 *self
4309 }
4310}
4311#[repr(C)]
04454e1e 4312#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
4313pub struct PKU2U_CERT_BLOB {
4314 pub CertOffset: u32,
4315 pub CertLength: u16,
4316}
4317impl ::core::marker::Copy for PKU2U_CERT_BLOB {}
4318impl ::core::clone::Clone for PKU2U_CERT_BLOB {
4319 fn clone(&self) -> Self {
4320 *self
4321 }
4322}
4323#[repr(C)]
04454e1e 4324#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
4325pub struct PKU2U_CREDUI_CONTEXT {
4326 pub Version: u64,
4327 pub cbHeaderLength: u16,
4328 pub cbStructureLength: u32,
4329 pub CertArrayCount: u16,
4330 pub CertArrayOffset: u32,
4331}
4332impl ::core::marker::Copy for PKU2U_CREDUI_CONTEXT {}
4333impl ::core::clone::Clone for PKU2U_CREDUI_CONTEXT {
4334 fn clone(&self) -> Self {
4335 *self
4336 }
4337}
04454e1e 4338#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4339pub type PKU2U_LOGON_SUBMIT_TYPE = i32;
04454e1e 4340#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4341pub const Pku2uCertificateS4ULogon: PKU2U_LOGON_SUBMIT_TYPE = 14i32;
04454e1e 4342#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 4343pub const PKU2U_PACKAGE_NAME: &str = "pku2u";
04454e1e 4344#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 4345pub const PKU2U_PACKAGE_NAME_A: &str = "pku2u";
04454e1e 4346#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 4347pub const PKU2U_PACKAGE_NAME_W: &str = "pku2u";
04454e1e 4348#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
5e7ed085
FG
4349#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
4350pub type PLSA_ADD_CREDENTIAL = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, authenticationpackage: u32, primarykeyvalue: *const super::super::super::System::Kernel::STRING, credentials: *const super::super::super::System::Kernel::STRING) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4351#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4352#[cfg(feature = "Win32_Foundation")]
4353pub type PLSA_ALLOCATE_CLIENT_BUFFER = ::core::option::Option<unsafe extern "system" fn(clientrequest: *const *const ::core::ffi::c_void, lengthrequired: u32, clientbaseaddress: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4354#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4355pub type PLSA_ALLOCATE_LSA_HEAP = ::core::option::Option<unsafe extern "system" fn(length: u32) -> *mut ::core::ffi::c_void>;
04454e1e 4356#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4357pub type PLSA_ALLOCATE_PRIVATE_HEAP = ::core::option::Option<unsafe extern "system" fn(length: usize) -> *mut ::core::ffi::c_void>;
04454e1e 4358#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4359pub type PLSA_ALLOCATE_SHARED_MEMORY = ::core::option::Option<unsafe extern "system" fn(sharedmem: *const ::core::ffi::c_void, size: u32) -> *mut ::core::ffi::c_void>;
04454e1e 4360#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4361#[cfg(feature = "Win32_Foundation")]
4362pub type PLSA_AP_CALL_PACKAGE = ::core::option::Option<unsafe extern "system" fn(clientrequest: *const *const ::core::ffi::c_void, protocolsubmitbuffer: *const ::core::ffi::c_void, clientbufferbase: *const ::core::ffi::c_void, submitbufferlength: u32, protocolreturnbuffer: *mut *mut ::core::ffi::c_void, returnbufferlength: *mut u32, protocolstatus: *mut i32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4363#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4364#[cfg(feature = "Win32_Foundation")]
4365pub type PLSA_AP_CALL_PACKAGE_PASSTHROUGH = ::core::option::Option<unsafe extern "system" fn(clientrequest: *const *const ::core::ffi::c_void, protocolsubmitbuffer: *const ::core::ffi::c_void, clientbufferbase: *const ::core::ffi::c_void, submitbufferlength: u32, protocolreturnbuffer: *mut *mut ::core::ffi::c_void, returnbufferlength: *mut u32, protocolstatus: *mut i32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4366#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
5e7ed085
FG
4367#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
4368pub type PLSA_AP_INITIALIZE_PACKAGE = ::core::option::Option<unsafe extern "system" fn(authenticationpackageid: u32, lsadispatchtable: *const LSA_DISPATCH_TABLE, database: *const super::super::super::System::Kernel::STRING, confidentiality: *const super::super::super::System::Kernel::STRING, authenticationpackagename: *mut *mut super::super::super::System::Kernel::STRING) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4369#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4370#[cfg(feature = "Win32_Foundation")]
4371pub type PLSA_AP_LOGON_TERMINATED = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID)>;
04454e1e 4372#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4373#[cfg(feature = "Win32_Foundation")]
4374pub type PLSA_AP_LOGON_USER = ::core::option::Option<unsafe extern "system" fn(clientrequest: *const *const ::core::ffi::c_void, logontype: SECURITY_LOGON_TYPE, authenticationinformation: *const ::core::ffi::c_void, clientauthenticationbase: *const ::core::ffi::c_void, authenticationinformationlength: u32, profilebuffer: *mut *mut ::core::ffi::c_void, profilebufferlength: *mut u32, logonid: *mut super::super::super::Foundation::LUID, substatus: *mut i32, tokeninformationtype: *mut LSA_TOKEN_INFORMATION_TYPE, tokeninformation: *mut *mut ::core::ffi::c_void, accountname: *mut *mut super::super::super::Foundation::UNICODE_STRING, authenticatingauthority: *mut *mut super::super::super::Foundation::UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4375#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4376#[cfg(feature = "Win32_Foundation")]
4377pub type PLSA_AP_LOGON_USER_EX = ::core::option::Option<
4378 unsafe extern "system" fn(clientrequest: *const *const ::core::ffi::c_void, logontype: SECURITY_LOGON_TYPE, authenticationinformation: *const ::core::ffi::c_void, clientauthenticationbase: *const ::core::ffi::c_void, authenticationinformationlength: u32, profilebuffer: *mut *mut ::core::ffi::c_void, profilebufferlength: *mut u32, logonid: *mut super::super::super::Foundation::LUID, substatus: *mut i32, tokeninformationtype: *mut LSA_TOKEN_INFORMATION_TYPE, tokeninformation: *mut *mut ::core::ffi::c_void, accountname: *mut *mut super::super::super::Foundation::UNICODE_STRING, authenticatingauthority: *mut *mut super::super::super::Foundation::UNICODE_STRING, machinename: *mut *mut super::super::super::Foundation::UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS,
4379>;
04454e1e 4380#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4381#[cfg(feature = "Win32_Foundation")]
4382pub type PLSA_AP_LOGON_USER_EX2 = ::core::option::Option<
4383 unsafe extern "system" fn(
4384 clientrequest: *const *const ::core::ffi::c_void,
4385 logontype: SECURITY_LOGON_TYPE,
4386 protocolsubmitbuffer: *const ::core::ffi::c_void,
4387 clientbufferbase: *const ::core::ffi::c_void,
4388 submitbuffersize: u32,
4389 profilebuffer: *mut *mut ::core::ffi::c_void,
4390 profilebuffersize: *mut u32,
4391 logonid: *mut super::super::super::Foundation::LUID,
4392 substatus: *mut i32,
4393 tokeninformationtype: *mut LSA_TOKEN_INFORMATION_TYPE,
4394 tokeninformation: *mut *mut ::core::ffi::c_void,
4395 accountname: *mut *mut super::super::super::Foundation::UNICODE_STRING,
4396 authenticatingauthority: *mut *mut super::super::super::Foundation::UNICODE_STRING,
4397 machinename: *mut *mut super::super::super::Foundation::UNICODE_STRING,
4398 primarycredentials: *mut SECPKG_PRIMARY_CRED,
4399 supplementalcredentials: *mut *mut SECPKG_SUPPLEMENTAL_CRED_ARRAY,
4400 ) -> super::super::super::Foundation::NTSTATUS,
4401>;
04454e1e 4402#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4403#[cfg(feature = "Win32_Foundation")]
4404pub type PLSA_AP_LOGON_USER_EX3 = ::core::option::Option<
4405 unsafe extern "system" fn(
4406 clientrequest: *const *const ::core::ffi::c_void,
4407 logontype: SECURITY_LOGON_TYPE,
4408 protocolsubmitbuffer: *const ::core::ffi::c_void,
4409 clientbufferbase: *const ::core::ffi::c_void,
4410 submitbuffersize: u32,
4411 surrogatelogon: *mut SECPKG_SURROGATE_LOGON,
4412 profilebuffer: *mut *mut ::core::ffi::c_void,
4413 profilebuffersize: *mut u32,
4414 logonid: *mut super::super::super::Foundation::LUID,
4415 substatus: *mut i32,
4416 tokeninformationtype: *mut LSA_TOKEN_INFORMATION_TYPE,
4417 tokeninformation: *mut *mut ::core::ffi::c_void,
4418 accountname: *mut *mut super::super::super::Foundation::UNICODE_STRING,
4419 authenticatingauthority: *mut *mut super::super::super::Foundation::UNICODE_STRING,
4420 machinename: *mut *mut super::super::super::Foundation::UNICODE_STRING,
4421 primarycredentials: *mut SECPKG_PRIMARY_CRED,
4422 supplementalcredentials: *mut *mut SECPKG_SUPPLEMENTAL_CRED_ARRAY,
4423 ) -> super::super::super::Foundation::NTSTATUS,
4424>;
04454e1e 4425#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4426#[cfg(feature = "Win32_Foundation")]
4427pub type PLSA_AP_POST_LOGON_USER_SURROGATE = ::core::option::Option<
4428 unsafe extern "system" fn(
4429 clientrequest: *const *const ::core::ffi::c_void,
4430 logontype: SECURITY_LOGON_TYPE,
4431 protocolsubmitbuffer: *const ::core::ffi::c_void,
4432 clientbufferbase: *const ::core::ffi::c_void,
4433 submitbuffersize: u32,
4434 surrogatelogon: *const SECPKG_SURROGATE_LOGON,
4435 profilebuffer: *const ::core::ffi::c_void,
4436 profilebuffersize: u32,
4437 logonid: *const super::super::super::Foundation::LUID,
4438 status: super::super::super::Foundation::NTSTATUS,
4439 substatus: super::super::super::Foundation::NTSTATUS,
4440 tokeninformationtype: LSA_TOKEN_INFORMATION_TYPE,
4441 tokeninformation: *const ::core::ffi::c_void,
4442 accountname: *const super::super::super::Foundation::UNICODE_STRING,
4443 authenticatingauthority: *const super::super::super::Foundation::UNICODE_STRING,
4444 machinename: *const super::super::super::Foundation::UNICODE_STRING,
4445 primarycredentials: *const SECPKG_PRIMARY_CRED,
4446 supplementalcredentials: *const SECPKG_SUPPLEMENTAL_CRED_ARRAY,
4447 ) -> super::super::super::Foundation::NTSTATUS,
4448>;
04454e1e 4449#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4450#[cfg(feature = "Win32_Foundation")]
4451pub type PLSA_AP_PRE_LOGON_USER_SURROGATE = ::core::option::Option<unsafe extern "system" fn(clientrequest: *const *const ::core::ffi::c_void, logontype: SECURITY_LOGON_TYPE, protocolsubmitbuffer: *const ::core::ffi::c_void, clientbufferbase: *const ::core::ffi::c_void, submitbuffersize: u32, surrogatelogon: *mut SECPKG_SURROGATE_LOGON, substatus: *mut i32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4452#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4453#[cfg(feature = "Win32_Foundation")]
4454pub type PLSA_AUDIT_ACCOUNT_LOGON = ::core::option::Option<unsafe extern "system" fn(auditid: u32, success: super::super::super::Foundation::BOOLEAN, source: *const super::super::super::Foundation::UNICODE_STRING, clientname: *const super::super::super::Foundation::UNICODE_STRING, mappedname: *const super::super::super::Foundation::UNICODE_STRING, status: super::super::super::Foundation::NTSTATUS) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4455#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4456#[cfg(feature = "Win32_Foundation")]
4457pub type PLSA_AUDIT_LOGON = ::core::option::Option<unsafe extern "system" fn(status: super::super::super::Foundation::NTSTATUS, substatus: super::super::super::Foundation::NTSTATUS, accountname: *const super::super::super::Foundation::UNICODE_STRING, authenticatingauthority: *const super::super::super::Foundation::UNICODE_STRING, workstationname: *const super::super::super::Foundation::UNICODE_STRING, usersid: super::super::super::Foundation::PSID, logontype: SECURITY_LOGON_TYPE, tokensource: *const super::super::TOKEN_SOURCE, logonid: *const super::super::super::Foundation::LUID)>;
04454e1e 4458#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4459#[cfg(feature = "Win32_Foundation")]
4460pub type PLSA_AUDIT_LOGON_EX = ::core::option::Option<unsafe extern "system" fn(status: super::super::super::Foundation::NTSTATUS, substatus: super::super::super::Foundation::NTSTATUS, accountname: *const super::super::super::Foundation::UNICODE_STRING, authenticatingauthority: *const super::super::super::Foundation::UNICODE_STRING, workstationname: *const super::super::super::Foundation::UNICODE_STRING, usersid: super::super::super::Foundation::PSID, logontype: SECURITY_LOGON_TYPE, impersonationlevel: super::super::SECURITY_IMPERSONATION_LEVEL, tokensource: *const super::super::TOKEN_SOURCE, logonid: *const super::super::super::Foundation::LUID)>;
04454e1e 4461#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4462#[cfg(feature = "Win32_Foundation")]
4463pub type PLSA_CALLBACK_FUNCTION = ::core::option::Option<unsafe extern "system" fn(argument1: usize, argument2: usize, inputbuffer: *mut SecBuffer, outputbuffer: *mut SecBuffer) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4464#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4465#[cfg(feature = "Win32_Foundation")]
4466pub type PLSA_CALL_PACKAGE = ::core::option::Option<unsafe extern "system" fn(authenticationpackage: *const super::super::super::Foundation::UNICODE_STRING, protocolsubmitbuffer: *const ::core::ffi::c_void, submitbufferlength: u32, protocolreturnbuffer: *mut *mut ::core::ffi::c_void, returnbufferlength: *mut u32, protocolstatus: *mut i32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4467#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4468#[cfg(feature = "Win32_Foundation")]
4469pub type PLSA_CALL_PACKAGEEX = ::core::option::Option<unsafe extern "system" fn(authenticationpackage: *const super::super::super::Foundation::UNICODE_STRING, clientbufferbase: *const ::core::ffi::c_void, protocolsubmitbuffer: *const ::core::ffi::c_void, submitbufferlength: u32, protocolreturnbuffer: *mut *mut ::core::ffi::c_void, returnbufferlength: *mut u32, protocolstatus: *mut i32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4470#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4471#[cfg(feature = "Win32_Foundation")]
4472pub type PLSA_CALL_PACKAGE_PASSTHROUGH = ::core::option::Option<unsafe extern "system" fn(authenticationpackage: *const super::super::super::Foundation::UNICODE_STRING, clientbufferbase: *const ::core::ffi::c_void, protocolsubmitbuffer: *const ::core::ffi::c_void, submitbufferlength: u32, protocolreturnbuffer: *mut *mut ::core::ffi::c_void, returnbufferlength: *mut u32, protocolstatus: *mut i32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4473#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4474#[cfg(feature = "Win32_Foundation")]
4475pub type PLSA_CANCEL_NOTIFICATION = ::core::option::Option<unsafe extern "system" fn(notifyhandle: super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4476#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4477#[cfg(feature = "Win32_Foundation")]
4478pub type PLSA_CHECK_PROTECTED_USER_BY_TOKEN = ::core::option::Option<unsafe extern "system" fn(usertoken: super::super::super::Foundation::HANDLE, protecteduser: *mut super::super::super::Foundation::BOOLEAN) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4479#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085 4480#[cfg(feature = "Win32_Foundation")]
04454e1e
FG
4481pub type PLSA_CLIENT_CALLBACK = ::core::option::Option<unsafe extern "system" fn(callback: ::windows_sys::core::PCSTR, argument1: usize, argument2: usize, input: *const SecBuffer, output: *mut SecBuffer) -> super::super::super::Foundation::NTSTATUS>;
4482#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4483#[cfg(feature = "Win32_Foundation")]
4484pub type PLSA_CLOSE_SAM_USER = ::core::option::Option<unsafe extern "system" fn(userhandle: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4485#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4486#[cfg(feature = "Win32_Foundation")]
4487pub type PLSA_CONVERT_AUTH_DATA_TO_TOKEN = ::core::option::Option<unsafe extern "system" fn(userauthdata: *const ::core::ffi::c_void, userauthdatasize: u32, impersonationlevel: super::super::SECURITY_IMPERSONATION_LEVEL, tokensource: *const super::super::TOKEN_SOURCE, logontype: SECURITY_LOGON_TYPE, authorityname: *const super::super::super::Foundation::UNICODE_STRING, token: *mut super::super::super::Foundation::HANDLE, logonid: *mut super::super::super::Foundation::LUID, accountname: *mut super::super::super::Foundation::UNICODE_STRING, substatus: *mut i32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4488#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4489#[cfg(feature = "Win32_Foundation")]
4490pub type PLSA_COPY_FROM_CLIENT_BUFFER = ::core::option::Option<unsafe extern "system" fn(clientrequest: *const *const ::core::ffi::c_void, length: u32, buffertocopy: *mut ::core::ffi::c_void, clientbaseaddress: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4491#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4492#[cfg(feature = "Win32_Foundation")]
4493pub type PLSA_COPY_TO_CLIENT_BUFFER = ::core::option::Option<unsafe extern "system" fn(clientrequest: *const *const ::core::ffi::c_void, length: u32, clientbaseaddress: *mut ::core::ffi::c_void, buffertocopy: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4494#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4495#[cfg(feature = "Win32_Foundation")]
4496pub type PLSA_CRACK_SINGLE_NAME = ::core::option::Option<unsafe extern "system" fn(formatoffered: u32, performatgc: super::super::super::Foundation::BOOLEAN, nameinput: *const super::super::super::Foundation::UNICODE_STRING, prefix: *const super::super::super::Foundation::UNICODE_STRING, requestedformat: u32, crackedname: *mut super::super::super::Foundation::UNICODE_STRING, dnsdomainname: *mut super::super::super::Foundation::UNICODE_STRING, substatus: *mut u32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4497#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4498#[cfg(feature = "Win32_Foundation")]
4499pub type PLSA_CREATE_LOGON_SESSION = ::core::option::Option<unsafe extern "system" fn(logonid: *mut super::super::super::Foundation::LUID) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4500#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4501pub type PLSA_CREATE_SHARED_MEMORY = ::core::option::Option<unsafe extern "system" fn(maxsize: u32, initialsize: u32) -> *mut ::core::ffi::c_void>;
04454e1e 4502#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"]
5e7ed085
FG
4503#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))]
4504pub type PLSA_CREATE_THREAD = ::core::option::Option<unsafe extern "system" fn(securityattributes: *const super::super::SECURITY_ATTRIBUTES, stacksize: u32, startfunction: super::super::super::System::Threading::LPTHREAD_START_ROUTINE, threadparameter: *const ::core::ffi::c_void, creationflags: u32, threadid: *mut u32) -> super::super::super::Foundation::HANDLE>;
04454e1e 4505#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4506#[cfg(feature = "Win32_Foundation")]
4507pub type PLSA_CREATE_TOKEN =
4508 ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, tokensource: *const super::super::TOKEN_SOURCE, logontype: SECURITY_LOGON_TYPE, impersonationlevel: super::super::SECURITY_IMPERSONATION_LEVEL, tokeninformationtype: LSA_TOKEN_INFORMATION_TYPE, tokeninformation: *const ::core::ffi::c_void, tokengroups: *const super::super::TOKEN_GROUPS, accountname: *const super::super::super::Foundation::UNICODE_STRING, authorityname: *const super::super::super::Foundation::UNICODE_STRING, workstation: *const super::super::super::Foundation::UNICODE_STRING, profilepath: *const super::super::super::Foundation::UNICODE_STRING, token: *mut super::super::super::Foundation::HANDLE, substatus: *mut i32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4509#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4510#[cfg(feature = "Win32_Foundation")]
4511pub type PLSA_CREATE_TOKEN_EX = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, tokensource: *const super::super::TOKEN_SOURCE, logontype: SECURITY_LOGON_TYPE, impersonationlevel: super::super::SECURITY_IMPERSONATION_LEVEL, tokeninformationtype: LSA_TOKEN_INFORMATION_TYPE, tokeninformation: *const ::core::ffi::c_void, tokengroups: *const super::super::TOKEN_GROUPS, workstation: *const super::super::super::Foundation::UNICODE_STRING, profilepath: *const super::super::super::Foundation::UNICODE_STRING, sessioninformation: *const ::core::ffi::c_void, sessioninformationtype: SECPKG_SESSIONINFO_TYPE, token: *mut super::super::super::Foundation::HANDLE, substatus: *mut i32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4512#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
5e7ed085
FG
4513#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
4514pub type PLSA_DELETE_CREDENTIAL = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, authenticationpackage: u32, primarykeyvalue: *const super::super::super::System::Kernel::STRING) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4515#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4516#[cfg(feature = "Win32_Foundation")]
4517pub type PLSA_DELETE_LOGON_SESSION = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4518#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4519#[cfg(feature = "Win32_Foundation")]
4520pub type PLSA_DELETE_SHARED_MEMORY = ::core::option::Option<unsafe extern "system" fn(sharedmem: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOLEAN>;
04454e1e 4521#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4522#[cfg(feature = "Win32_Foundation")]
4523pub type PLSA_DUPLICATE_HANDLE = ::core::option::Option<unsafe extern "system" fn(sourcehandle: super::super::super::Foundation::HANDLE, destionationhandle: *mut super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4524#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4525#[cfg(feature = "Win32_Foundation")]
4526pub type PLSA_EXPAND_AUTH_DATA_FOR_DOMAIN = ::core::option::Option<unsafe extern "system" fn(userauthdata: *const u8, userauthdatasize: u32, reserved: *const ::core::ffi::c_void, expandedauthdata: *mut *mut u8, expandedauthdatasize: *mut u32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4527#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4528#[cfg(feature = "Win32_Foundation")]
4529pub type PLSA_FREE_CLIENT_BUFFER = ::core::option::Option<unsafe extern "system" fn(clientrequest: *const *const ::core::ffi::c_void, clientbaseaddress: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4530#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4531pub type PLSA_FREE_LSA_HEAP = ::core::option::Option<unsafe extern "system" fn(base: *const ::core::ffi::c_void)>;
04454e1e 4532#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4533pub type PLSA_FREE_PRIVATE_HEAP = ::core::option::Option<unsafe extern "system" fn(base: *const ::core::ffi::c_void)>;
04454e1e 4534#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4535pub type PLSA_FREE_SHARED_MEMORY = ::core::option::Option<unsafe extern "system" fn(sharedmem: *const ::core::ffi::c_void, memory: *mut ::core::ffi::c_void)>;
04454e1e 4536#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4537#[cfg(feature = "Win32_Foundation")]
4538pub type PLSA_GET_APP_MODE_INFO = ::core::option::Option<unsafe extern "system" fn(userfunction: *mut u32, argument1: *mut usize, argument2: *mut usize, userdata: *mut SecBuffer, returntolsa: *mut super::super::super::Foundation::BOOLEAN) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4539#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4540#[cfg(feature = "Win32_Foundation")]
4541pub type PLSA_GET_AUTH_DATA_FOR_USER = ::core::option::Option<unsafe extern "system" fn(name: *const super::super::super::Foundation::UNICODE_STRING, nametype: SECPKG_NAME_TYPE, prefix: *const super::super::super::Foundation::UNICODE_STRING, userauthdata: *mut *mut u8, userauthdatasize: *mut u32, userflatname: *mut super::super::super::Foundation::UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4542#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4543#[cfg(feature = "Win32_Foundation")]
4544pub type PLSA_GET_CALL_INFO = ::core::option::Option<unsafe extern "system" fn(info: *mut SECPKG_CALL_INFO) -> super::super::super::Foundation::BOOLEAN>;
04454e1e 4545#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4546#[cfg(feature = "Win32_Foundation")]
4547pub type PLSA_GET_CLIENT_INFO = ::core::option::Option<unsafe extern "system" fn(clientinfo: *mut SECPKG_CLIENT_INFO) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4548#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
5e7ed085
FG
4549#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
4550pub type PLSA_GET_CREDENTIALS = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, authenticationpackage: u32, querycontext: *mut u32, retrieveallcredentials: super::super::super::Foundation::BOOLEAN, primarykeyvalue: *const super::super::super::System::Kernel::STRING, primarykeylength: *mut u32, credentials: *const super::super::super::System::Kernel::STRING) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4551#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4552#[cfg(feature = "Win32_Foundation")]
4553pub type PLSA_GET_EXTENDED_CALL_FLAGS = ::core::option::Option<unsafe extern "system" fn(flags: *mut u32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4554#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4555#[cfg(feature = "Win32_Foundation")]
4556pub type PLSA_GET_SERVICE_ACCOUNT_PASSWORD = ::core::option::Option<unsafe extern "system" fn(accountname: *const super::super::super::Foundation::UNICODE_STRING, domainname: *const super::super::super::Foundation::UNICODE_STRING, credfetch: CRED_FETCH, filetimeexpiry: *mut super::super::super::Foundation::FILETIME, currentpassword: *mut super::super::super::Foundation::UNICODE_STRING, previouspassword: *mut super::super::super::Foundation::UNICODE_STRING, filetimecurrpwdvalidforoutbound: *mut super::super::super::Foundation::FILETIME) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4557#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4558#[cfg(feature = "Win32_Foundation")]
4559pub type PLSA_GET_USER_AUTH_DATA = ::core::option::Option<unsafe extern "system" fn(userhandle: *const ::core::ffi::c_void, userauthdata: *mut *mut u8, userauthdatasize: *mut u32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4560#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4561#[cfg(feature = "Win32_Foundation")]
4562pub type PLSA_GET_USER_CREDENTIALS = ::core::option::Option<unsafe extern "system" fn(userhandle: *const ::core::ffi::c_void, primarycreds: *mut *mut ::core::ffi::c_void, primarycredssize: *mut u32, supplementalcreds: *mut *mut ::core::ffi::c_void, supplementalcredssize: *mut u32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4563#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4564#[cfg(feature = "Win32_Foundation")]
4565pub type PLSA_IMPERSONATE_CLIENT = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4566#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4567pub type PLSA_LOCATE_PKG_BY_ID = ::core::option::Option<unsafe extern "system" fn(packgeid: u32) -> *mut ::core::ffi::c_void>;
04454e1e 4568#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4569#[cfg(feature = "Win32_Foundation")]
4570pub type PLSA_MAP_BUFFER = ::core::option::Option<unsafe extern "system" fn(inputbuffer: *const SecBuffer, outputbuffer: *mut SecBuffer) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4571#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4572#[cfg(feature = "Win32_Foundation")]
4573pub type PLSA_OPEN_SAM_USER = ::core::option::Option<unsafe extern "system" fn(name: *const super::super::super::Foundation::UNICODE_STRING, nametype: SECPKG_NAME_TYPE, prefix: *const super::super::super::Foundation::UNICODE_STRING, allowguest: super::super::super::Foundation::BOOLEAN, reserved: u32, userhandle: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4574#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4575#[cfg(feature = "Win32_Foundation")]
4576pub type PLSA_OPEN_TOKEN_BY_LOGON_ID = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, rettokenhandle: *mut super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4577#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4578pub type PLSA_PROTECT_MEMORY = ::core::option::Option<unsafe extern "system" fn(buffer: *mut ::core::ffi::c_void, buffersize: u32)>;
04454e1e 4579#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4580#[cfg(feature = "Win32_Foundation")]
4581pub type PLSA_QUERY_CLIENT_REQUEST = ::core::option::Option<unsafe extern "system" fn(clientrequest: *const *const ::core::ffi::c_void, querytype: u32, replybuffer: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4582#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4583#[cfg(feature = "Win32_Foundation")]
4584pub type PLSA_REDIRECTED_LOGON_CALLBACK = ::core::option::Option<unsafe extern "system" fn(redirectedlogonhandle: super::super::super::Foundation::HANDLE, buffer: *mut ::core::ffi::c_void, bufferlength: u32, returnbuffer: *mut *mut ::core::ffi::c_void, returnbufferlength: *mut u32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4585#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4586#[cfg(feature = "Win32_Foundation")]
4587pub type PLSA_REDIRECTED_LOGON_CLEANUP_CALLBACK = ::core::option::Option<unsafe extern "system" fn(redirectedlogonhandle: super::super::super::Foundation::HANDLE)>;
04454e1e 4588#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4589#[cfg(feature = "Win32_Foundation")]
4590pub type PLSA_REDIRECTED_LOGON_GET_LOGON_CREDS = ::core::option::Option<unsafe extern "system" fn(redirectedlogonhandle: super::super::super::Foundation::HANDLE, logonbuffer: *mut *mut u8, logonbufferlength: *mut u32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4591#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4592#[cfg(feature = "Win32_Foundation")]
4593pub type PLSA_REDIRECTED_LOGON_GET_SUPP_CREDS = ::core::option::Option<unsafe extern "system" fn(redirectedlogonhandle: super::super::super::Foundation::HANDLE, supplementalcredentials: *mut *mut SECPKG_SUPPLEMENTAL_CRED_ARRAY) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4594#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4595#[cfg(feature = "Win32_Foundation")]
4596pub type PLSA_REDIRECTED_LOGON_INIT = ::core::option::Option<unsafe extern "system" fn(redirectedlogonhandle: super::super::super::Foundation::HANDLE, packagename: *const super::super::super::Foundation::UNICODE_STRING, sessionid: u32, logonid: *const super::super::super::Foundation::LUID) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4597#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4598#[cfg(feature = "Win32_Foundation")]
4599pub type PLSA_REGISTER_CALLBACK = ::core::option::Option<unsafe extern "system" fn(callbackid: u32, callback: PLSA_CALLBACK_FUNCTION) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4600#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"]
5e7ed085
FG
4601#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))]
4602pub type PLSA_REGISTER_NOTIFICATION = ::core::option::Option<unsafe extern "system" fn(startfunction: super::super::super::System::Threading::LPTHREAD_START_ROUTINE, parameter: *const ::core::ffi::c_void, notificationtype: u32, notificationclass: u32, notificationflags: u32, intervalminutes: u32, waitevent: super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::HANDLE>;
04454e1e 4603#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4604#[cfg(feature = "Win32_Foundation")]
4605pub type PLSA_SAVE_SUPPLEMENTAL_CREDENTIALS = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, supplementalcredsize: u32, supplementalcreds: *const ::core::ffi::c_void, synchronous: super::super::super::Foundation::BOOLEAN) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4606#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4607#[cfg(feature = "Win32_Foundation")]
4608pub type PLSA_SET_APP_MODE_INFO = ::core::option::Option<unsafe extern "system" fn(userfunction: u32, argument1: usize, argument2: usize, userdata: *const SecBuffer, returntolsa: super::super::super::Foundation::BOOLEAN) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4609#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4610#[cfg(feature = "Win32_Foundation")]
4611pub type PLSA_UNLOAD_PACKAGE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Foundation::NTSTATUS>;
04454e1e 4612#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4613#[cfg(feature = "Win32_Foundation")]
4614pub type PLSA_UPDATE_PRIMARY_CREDENTIALS = ::core::option::Option<unsafe extern "system" fn(primarycredentials: *const SECPKG_PRIMARY_CRED, credentials: *const SECPKG_SUPPLEMENTAL_CRED_ARRAY) -> super::super::super::Foundation::NTSTATUS>;
4615#[repr(C)]
04454e1e 4616#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4617#[cfg(feature = "Win32_Foundation")]
4618pub struct POLICY_ACCOUNT_DOMAIN_INFO {
4619 pub DomainName: super::super::super::Foundation::UNICODE_STRING,
4620 pub DomainSid: super::super::super::Foundation::PSID,
4621}
4622#[cfg(feature = "Win32_Foundation")]
4623impl ::core::marker::Copy for POLICY_ACCOUNT_DOMAIN_INFO {}
4624#[cfg(feature = "Win32_Foundation")]
4625impl ::core::clone::Clone for POLICY_ACCOUNT_DOMAIN_INFO {
4626 fn clone(&self) -> Self {
4627 *self
4628 }
4629}
4630#[repr(C)]
04454e1e 4631#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
4632pub struct POLICY_AUDIT_CATEGORIES_INFO {
4633 pub MaximumCategoryCount: u32,
4634 pub SubCategoriesInfo: *mut POLICY_AUDIT_SUBCATEGORIES_INFO,
4635}
4636impl ::core::marker::Copy for POLICY_AUDIT_CATEGORIES_INFO {}
4637impl ::core::clone::Clone for POLICY_AUDIT_CATEGORIES_INFO {
4638 fn clone(&self) -> Self {
4639 *self
4640 }
4641}
4642#[repr(C)]
04454e1e 4643#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4644#[cfg(feature = "Win32_Foundation")]
4645pub struct POLICY_AUDIT_EVENTS_INFO {
4646 pub AuditingMode: super::super::super::Foundation::BOOLEAN,
4647 pub EventAuditingOptions: *mut u32,
4648 pub MaximumAuditEventCount: u32,
4649}
4650#[cfg(feature = "Win32_Foundation")]
4651impl ::core::marker::Copy for POLICY_AUDIT_EVENTS_INFO {}
4652#[cfg(feature = "Win32_Foundation")]
4653impl ::core::clone::Clone for POLICY_AUDIT_EVENTS_INFO {
4654 fn clone(&self) -> Self {
4655 *self
4656 }
4657}
04454e1e 4658#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4659pub const POLICY_AUDIT_EVENT_FAILURE: i32 = 2i32;
04454e1e 4660#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4661pub const POLICY_AUDIT_EVENT_NONE: i32 = 4i32;
04454e1e 4662#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4663pub const POLICY_AUDIT_EVENT_SUCCESS: i32 = 1i32;
04454e1e 4664#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4665pub type POLICY_AUDIT_EVENT_TYPE = i32;
04454e1e 4666#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4667pub const AuditCategorySystem: POLICY_AUDIT_EVENT_TYPE = 0i32;
04454e1e 4668#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4669pub const AuditCategoryLogon: POLICY_AUDIT_EVENT_TYPE = 1i32;
04454e1e 4670#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4671pub const AuditCategoryObjectAccess: POLICY_AUDIT_EVENT_TYPE = 2i32;
04454e1e 4672#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4673pub const AuditCategoryPrivilegeUse: POLICY_AUDIT_EVENT_TYPE = 3i32;
04454e1e 4674#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4675pub const AuditCategoryDetailedTracking: POLICY_AUDIT_EVENT_TYPE = 4i32;
04454e1e 4676#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4677pub const AuditCategoryPolicyChange: POLICY_AUDIT_EVENT_TYPE = 5i32;
04454e1e 4678#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4679pub const AuditCategoryAccountManagement: POLICY_AUDIT_EVENT_TYPE = 6i32;
04454e1e 4680#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4681pub const AuditCategoryDirectoryServiceAccess: POLICY_AUDIT_EVENT_TYPE = 7i32;
04454e1e 4682#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4683pub const AuditCategoryAccountLogon: POLICY_AUDIT_EVENT_TYPE = 8i32;
04454e1e 4684#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
4685pub const POLICY_AUDIT_EVENT_UNCHANGED: i32 = 0i32;
4686#[repr(C)]
04454e1e 4687#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4688#[cfg(feature = "Win32_Foundation")]
4689pub struct POLICY_AUDIT_FULL_QUERY_INFO {
4690 pub ShutDownOnFull: super::super::super::Foundation::BOOLEAN,
4691 pub LogIsFull: super::super::super::Foundation::BOOLEAN,
4692}
4693#[cfg(feature = "Win32_Foundation")]
4694impl ::core::marker::Copy for POLICY_AUDIT_FULL_QUERY_INFO {}
4695#[cfg(feature = "Win32_Foundation")]
4696impl ::core::clone::Clone for POLICY_AUDIT_FULL_QUERY_INFO {
4697 fn clone(&self) -> Self {
4698 *self
4699 }
4700}
4701#[repr(C)]
04454e1e 4702#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4703#[cfg(feature = "Win32_Foundation")]
4704pub struct POLICY_AUDIT_FULL_SET_INFO {
4705 pub ShutDownOnFull: super::super::super::Foundation::BOOLEAN,
4706}
4707#[cfg(feature = "Win32_Foundation")]
4708impl ::core::marker::Copy for POLICY_AUDIT_FULL_SET_INFO {}
4709#[cfg(feature = "Win32_Foundation")]
4710impl ::core::clone::Clone for POLICY_AUDIT_FULL_SET_INFO {
4711 fn clone(&self) -> Self {
4712 *self
4713 }
4714}
04454e1e 4715#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
4716pub const POLICY_AUDIT_LOG_ADMIN: i32 = 512i32;
4717#[repr(C)]
04454e1e 4718#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4719#[cfg(feature = "Win32_Foundation")]
4720pub struct POLICY_AUDIT_LOG_INFO {
4721 pub AuditLogPercentFull: u32,
4722 pub MaximumLogSize: u32,
4723 pub AuditRetentionPeriod: i64,
4724 pub AuditLogFullShutdownInProgress: super::super::super::Foundation::BOOLEAN,
4725 pub TimeToShutdown: i64,
4726 pub NextAuditRecordId: u32,
4727}
4728#[cfg(feature = "Win32_Foundation")]
4729impl ::core::marker::Copy for POLICY_AUDIT_LOG_INFO {}
4730#[cfg(feature = "Win32_Foundation")]
4731impl ::core::clone::Clone for POLICY_AUDIT_LOG_INFO {
4732 fn clone(&self) -> Self {
4733 *self
4734 }
4735}
4736#[repr(C)]
04454e1e 4737#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4738#[cfg(feature = "Win32_Foundation")]
4739pub struct POLICY_AUDIT_SID_ARRAY {
4740 pub UsersCount: u32,
4741 pub UserSidArray: *mut super::super::super::Foundation::PSID,
4742}
4743#[cfg(feature = "Win32_Foundation")]
4744impl ::core::marker::Copy for POLICY_AUDIT_SID_ARRAY {}
4745#[cfg(feature = "Win32_Foundation")]
4746impl ::core::clone::Clone for POLICY_AUDIT_SID_ARRAY {
4747 fn clone(&self) -> Self {
4748 *self
4749 }
4750}
4751#[repr(C)]
04454e1e 4752#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
4753pub struct POLICY_AUDIT_SUBCATEGORIES_INFO {
4754 pub MaximumSubCategoryCount: u32,
4755 pub EventAuditingOptions: *mut u32,
4756}
4757impl ::core::marker::Copy for POLICY_AUDIT_SUBCATEGORIES_INFO {}
4758impl ::core::clone::Clone for POLICY_AUDIT_SUBCATEGORIES_INFO {
4759 fn clone(&self) -> Self {
4760 *self
4761 }
4762}
04454e1e 4763#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4764pub const POLICY_CREATE_ACCOUNT: i32 = 16i32;
04454e1e 4765#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4766pub const POLICY_CREATE_PRIVILEGE: i32 = 64i32;
04454e1e 4767#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
4768pub const POLICY_CREATE_SECRET: i32 = 32i32;
4769#[repr(C)]
04454e1e 4770#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
4771pub struct POLICY_DEFAULT_QUOTA_INFO {
4772 pub QuotaLimits: super::super::QUOTA_LIMITS,
4773}
4774impl ::core::marker::Copy for POLICY_DEFAULT_QUOTA_INFO {}
4775impl ::core::clone::Clone for POLICY_DEFAULT_QUOTA_INFO {
4776 fn clone(&self) -> Self {
4777 *self
4778 }
4779}
4780#[repr(C)]
04454e1e 4781#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4782#[cfg(feature = "Win32_Foundation")]
4783pub struct POLICY_DNS_DOMAIN_INFO {
4784 pub Name: super::super::super::Foundation::UNICODE_STRING,
4785 pub DnsDomainName: super::super::super::Foundation::UNICODE_STRING,
4786 pub DnsForestName: super::super::super::Foundation::UNICODE_STRING,
4787 pub DomainGuid: ::windows_sys::core::GUID,
4788 pub Sid: super::super::super::Foundation::PSID,
4789}
4790#[cfg(feature = "Win32_Foundation")]
4791impl ::core::marker::Copy for POLICY_DNS_DOMAIN_INFO {}
4792#[cfg(feature = "Win32_Foundation")]
4793impl ::core::clone::Clone for POLICY_DNS_DOMAIN_INFO {
4794 fn clone(&self) -> Self {
4795 *self
4796 }
4797}
4798#[repr(C)]
04454e1e 4799#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
4800pub struct POLICY_DOMAIN_EFS_INFO {
4801 pub InfoLength: u32,
4802 pub EfsBlob: *mut u8,
4803}
4804impl ::core::marker::Copy for POLICY_DOMAIN_EFS_INFO {}
4805impl ::core::clone::Clone for POLICY_DOMAIN_EFS_INFO {
4806 fn clone(&self) -> Self {
4807 *self
4808 }
4809}
04454e1e 4810#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4811pub type POLICY_DOMAIN_INFORMATION_CLASS = i32;
04454e1e 4812#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4813pub const PolicyDomainEfsInformation: POLICY_DOMAIN_INFORMATION_CLASS = 2i32;
04454e1e 4814#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
4815pub const PolicyDomainKerberosTicketInformation: POLICY_DOMAIN_INFORMATION_CLASS = 3i32;
4816#[repr(C)]
04454e1e 4817#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
4818pub struct POLICY_DOMAIN_KERBEROS_TICKET_INFO {
4819 pub AuthenticationOptions: u32,
4820 pub MaxServiceTicketAge: i64,
4821 pub MaxTicketAge: i64,
4822 pub MaxRenewAge: i64,
4823 pub MaxClockSkew: i64,
4824 pub Reserved: i64,
4825}
4826impl ::core::marker::Copy for POLICY_DOMAIN_KERBEROS_TICKET_INFO {}
4827impl ::core::clone::Clone for POLICY_DOMAIN_KERBEROS_TICKET_INFO {
4828 fn clone(&self) -> Self {
4829 *self
4830 }
4831}
04454e1e 4832#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4833pub const POLICY_GET_PRIVATE_INFORMATION: i32 = 4i32;
04454e1e 4834#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4835pub type POLICY_INFORMATION_CLASS = i32;
04454e1e 4836#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4837pub const PolicyAuditLogInformation: POLICY_INFORMATION_CLASS = 1i32;
04454e1e 4838#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4839pub const PolicyAuditEventsInformation: POLICY_INFORMATION_CLASS = 2i32;
04454e1e 4840#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4841pub const PolicyPrimaryDomainInformation: POLICY_INFORMATION_CLASS = 3i32;
04454e1e 4842#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4843pub const PolicyPdAccountInformation: POLICY_INFORMATION_CLASS = 4i32;
04454e1e 4844#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4845pub const PolicyAccountDomainInformation: POLICY_INFORMATION_CLASS = 5i32;
04454e1e 4846#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4847pub const PolicyLsaServerRoleInformation: POLICY_INFORMATION_CLASS = 6i32;
04454e1e 4848#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4849pub const PolicyReplicaSourceInformation: POLICY_INFORMATION_CLASS = 7i32;
04454e1e 4850#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4851pub const PolicyDefaultQuotaInformation: POLICY_INFORMATION_CLASS = 8i32;
04454e1e 4852#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4853pub const PolicyModificationInformation: POLICY_INFORMATION_CLASS = 9i32;
04454e1e 4854#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4855pub const PolicyAuditFullSetInformation: POLICY_INFORMATION_CLASS = 10i32;
04454e1e 4856#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4857pub const PolicyAuditFullQueryInformation: POLICY_INFORMATION_CLASS = 11i32;
04454e1e 4858#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4859pub const PolicyDnsDomainInformation: POLICY_INFORMATION_CLASS = 12i32;
04454e1e 4860#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4861pub const PolicyDnsDomainInformationInt: POLICY_INFORMATION_CLASS = 13i32;
04454e1e 4862#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4863pub const PolicyLocalAccountDomainInformation: POLICY_INFORMATION_CLASS = 14i32;
04454e1e 4864#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4865pub const PolicyMachineAccountInformation: POLICY_INFORMATION_CLASS = 15i32;
04454e1e 4866#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4867pub const PolicyLastEntry: POLICY_INFORMATION_CLASS = 16i32;
04454e1e 4868#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4869pub const POLICY_KERBEROS_VALIDATE_CLIENT: u32 = 128u32;
04454e1e 4870#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4871pub const POLICY_LOOKUP_NAMES: i32 = 2048i32;
04454e1e 4872#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4873pub type POLICY_LSA_SERVER_ROLE = i32;
04454e1e 4874#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4875pub const PolicyServerRoleBackup: POLICY_LSA_SERVER_ROLE = 2i32;
04454e1e 4876#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
4877pub const PolicyServerRolePrimary: POLICY_LSA_SERVER_ROLE = 3i32;
4878#[repr(C)]
04454e1e 4879#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
4880pub struct POLICY_LSA_SERVER_ROLE_INFO {
4881 pub LsaServerRole: POLICY_LSA_SERVER_ROLE,
4882}
4883impl ::core::marker::Copy for POLICY_LSA_SERVER_ROLE_INFO {}
4884impl ::core::clone::Clone for POLICY_LSA_SERVER_ROLE_INFO {
4885 fn clone(&self) -> Self {
4886 *self
4887 }
4888}
4889#[repr(C)]
04454e1e 4890#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4891#[cfg(feature = "Win32_Foundation")]
4892pub struct POLICY_MACHINE_ACCT_INFO {
4893 pub Rid: u32,
4894 pub Sid: super::super::super::Foundation::PSID,
4895}
4896#[cfg(feature = "Win32_Foundation")]
4897impl ::core::marker::Copy for POLICY_MACHINE_ACCT_INFO {}
4898#[cfg(feature = "Win32_Foundation")]
4899impl ::core::clone::Clone for POLICY_MACHINE_ACCT_INFO {
4900 fn clone(&self) -> Self {
4901 *self
4902 }
4903}
4904#[repr(C)]
04454e1e 4905#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
4906pub struct POLICY_MODIFICATION_INFO {
4907 pub ModifiedId: i64,
4908 pub DatabaseCreationTime: i64,
4909}
4910impl ::core::marker::Copy for POLICY_MODIFICATION_INFO {}
4911impl ::core::clone::Clone for POLICY_MODIFICATION_INFO {
4912 fn clone(&self) -> Self {
4913 *self
4914 }
4915}
04454e1e 4916#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4917pub const POLICY_NOTIFICATION: i32 = 4096i32;
04454e1e 4918#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4919pub type POLICY_NOTIFICATION_INFORMATION_CLASS = i32;
04454e1e 4920#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4921pub const PolicyNotifyAuditEventsInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 1i32;
04454e1e 4922#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4923pub const PolicyNotifyAccountDomainInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 2i32;
04454e1e 4924#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4925pub const PolicyNotifyServerRoleInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 3i32;
04454e1e 4926#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4927pub const PolicyNotifyDnsDomainInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 4i32;
04454e1e 4928#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4929pub const PolicyNotifyDomainEfsInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 5i32;
04454e1e 4930#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4931pub const PolicyNotifyDomainKerberosTicketInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 6i32;
04454e1e 4932#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4933pub const PolicyNotifyMachineAccountPasswordInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 7i32;
04454e1e 4934#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4935pub const PolicyNotifyGlobalSaclInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 8i32;
04454e1e 4936#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
4937pub const PolicyNotifyMax: POLICY_NOTIFICATION_INFORMATION_CLASS = 9i32;
4938#[repr(C)]
04454e1e 4939#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4940#[cfg(feature = "Win32_Foundation")]
4941pub struct POLICY_PD_ACCOUNT_INFO {
4942 pub Name: super::super::super::Foundation::UNICODE_STRING,
4943}
4944#[cfg(feature = "Win32_Foundation")]
4945impl ::core::marker::Copy for POLICY_PD_ACCOUNT_INFO {}
4946#[cfg(feature = "Win32_Foundation")]
4947impl ::core::clone::Clone for POLICY_PD_ACCOUNT_INFO {
4948 fn clone(&self) -> Self {
4949 *self
4950 }
4951}
4952#[repr(C)]
04454e1e 4953#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4954#[cfg(feature = "Win32_Foundation")]
4955pub struct POLICY_PRIMARY_DOMAIN_INFO {
4956 pub Name: super::super::super::Foundation::UNICODE_STRING,
4957 pub Sid: super::super::super::Foundation::PSID,
4958}
4959#[cfg(feature = "Win32_Foundation")]
4960impl ::core::marker::Copy for POLICY_PRIMARY_DOMAIN_INFO {}
4961#[cfg(feature = "Win32_Foundation")]
4962impl ::core::clone::Clone for POLICY_PRIMARY_DOMAIN_INFO {
4963 fn clone(&self) -> Self {
4964 *self
4965 }
4966}
04454e1e 4967#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4968pub const POLICY_QOS_ALLOW_LOCAL_ROOT_CERT_STORE: u32 = 32u32;
04454e1e 4969#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4970pub const POLICY_QOS_DHCP_SERVER_ALLOWED: u32 = 128u32;
04454e1e 4971#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4972pub const POLICY_QOS_INBOUND_CONFIDENTIALITY: u32 = 16u32;
04454e1e 4973#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4974pub const POLICY_QOS_INBOUND_INTEGRITY: u32 = 8u32;
04454e1e 4975#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4976pub const POLICY_QOS_OUTBOUND_CONFIDENTIALITY: u32 = 4u32;
04454e1e 4977#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4978pub const POLICY_QOS_OUTBOUND_INTEGRITY: u32 = 2u32;
04454e1e 4979#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4980pub const POLICY_QOS_RAS_SERVER_ALLOWED: u32 = 64u32;
04454e1e 4981#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
4982pub const POLICY_QOS_SCHANNEL_REQUIRED: u32 = 1u32;
4983#[repr(C)]
04454e1e 4984#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
4985#[cfg(feature = "Win32_Foundation")]
4986pub struct POLICY_REPLICA_SOURCE_INFO {
4987 pub ReplicaSource: super::super::super::Foundation::UNICODE_STRING,
4988 pub ReplicaAccountName: super::super::super::Foundation::UNICODE_STRING,
4989}
4990#[cfg(feature = "Win32_Foundation")]
4991impl ::core::marker::Copy for POLICY_REPLICA_SOURCE_INFO {}
4992#[cfg(feature = "Win32_Foundation")]
4993impl ::core::clone::Clone for POLICY_REPLICA_SOURCE_INFO {
4994 fn clone(&self) -> Self {
4995 *self
4996 }
4997}
04454e1e 4998#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 4999pub const POLICY_SERVER_ADMIN: i32 = 1024i32;
04454e1e 5000#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5001pub const POLICY_SET_AUDIT_REQUIREMENTS: i32 = 256i32;
04454e1e 5002#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5003pub const POLICY_SET_DEFAULT_QUOTA_LIMITS: i32 = 128i32;
04454e1e 5004#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5005pub const POLICY_TRUST_ADMIN: i32 = 8i32;
04454e1e 5006#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5007pub const POLICY_VIEW_AUDIT_INFORMATION: i32 = 2i32;
04454e1e 5008#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5009pub const POLICY_VIEW_LOCAL_INFORMATION: i32 = 1i32;
04454e1e 5010#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5011pub const PRIMARY_CRED_ARSO_LOGON: u32 = 2097152u32;
04454e1e 5012#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5013pub const PRIMARY_CRED_AUTH_ID: u32 = 512u32;
04454e1e 5014#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5015pub const PRIMARY_CRED_CACHED_INTERACTIVE_LOGON: u32 = 262144u32;
04454e1e 5016#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5017pub const PRIMARY_CRED_CACHED_LOGON: u32 = 8u32;
04454e1e 5018#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5019pub const PRIMARY_CRED_CLEAR_PASSWORD: u32 = 1u32;
04454e1e 5020#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5021pub const PRIMARY_CRED_DO_NOT_SPLIT: u32 = 1024u32;
04454e1e 5022#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5023pub const PRIMARY_CRED_ENCRYPTED_CREDGUARD_PASSWORD: u32 = 131072u32;
04454e1e 5024#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5025pub const PRIMARY_CRED_ENTERPRISE_INTERNET_USER: u32 = 65536u32;
04454e1e 5026#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5027pub const PRIMARY_CRED_EX: u32 = 4096u32;
04454e1e 5028#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5029pub const PRIMARY_CRED_INTERACTIVE_FIDO_LOGON: u32 = 1048576u32;
04454e1e 5030#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5031pub const PRIMARY_CRED_INTERACTIVE_NGC_LOGON: u32 = 524288u32;
04454e1e 5032#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5033pub const PRIMARY_CRED_INTERACTIVE_SMARTCARD_LOGON: u32 = 64u32;
04454e1e 5034#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5035pub const PRIMARY_CRED_INTERNET_USER: u32 = 256u32;
04454e1e 5036#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5037pub const PRIMARY_CRED_LOGON_LUA: u32 = 32u32;
04454e1e 5038#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5039pub const PRIMARY_CRED_LOGON_NO_TCB: u32 = 16u32;
04454e1e 5040#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5041pub const PRIMARY_CRED_LOGON_PACKAGE_SHIFT: u32 = 24u32;
04454e1e 5042#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5043pub const PRIMARY_CRED_OWF_PASSWORD: u32 = 2u32;
04454e1e 5044#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5045pub const PRIMARY_CRED_PACKAGE_MASK: u32 = 4278190080u32;
04454e1e 5046#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5047pub const PRIMARY_CRED_PACKED_CREDS: u32 = 32768u32;
04454e1e 5048#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5049pub const PRIMARY_CRED_PROTECTED_USER: u32 = 2048u32;
04454e1e 5050#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5051pub const PRIMARY_CRED_REFRESH_NEEDED: u32 = 128u32;
04454e1e 5052#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5053pub const PRIMARY_CRED_RESTRICTED_TS: u32 = 16384u32;
04454e1e 5054#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5055pub const PRIMARY_CRED_SUPPLEMENTAL: u32 = 4194304u32;
04454e1e 5056#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5057pub const PRIMARY_CRED_TRANSFER: u32 = 8192u32;
04454e1e 5058#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5059pub const PRIMARY_CRED_UPDATE: u32 = 4u32;
04454e1e 5060#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5061pub type PSAM_CREDENTIAL_UPDATE_FREE_ROUTINE = ::core::option::Option<unsafe extern "system" fn(p: *const ::core::ffi::c_void)>;
04454e1e 5062#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
5063#[cfg(feature = "Win32_Foundation")]
5064pub type PSAM_CREDENTIAL_UPDATE_NOTIFY_ROUTINE = ::core::option::Option<unsafe extern "system" fn(clearpassword: *const super::super::super::Foundation::UNICODE_STRING, oldcredentials: *const ::core::ffi::c_void, oldcredentialsize: u32, useraccountcontrol: u32, upn: *const super::super::super::Foundation::UNICODE_STRING, username: *const super::super::super::Foundation::UNICODE_STRING, netbiosdomainname: *const super::super::super::Foundation::UNICODE_STRING, dnsdomainname: *const super::super::super::Foundation::UNICODE_STRING, newcredentials: *mut *mut ::core::ffi::c_void, newcredentialsize: *mut u32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 5065#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
5066#[cfg(feature = "Win32_Foundation")]
5067pub type PSAM_CREDENTIAL_UPDATE_REGISTER_MAPPED_ENTRYPOINTS_ROUTINE = ::core::option::Option<unsafe extern "system" fn(table: *mut SAM_REGISTER_MAPPING_TABLE) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 5068#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
5069#[cfg(feature = "Win32_Foundation")]
5070pub type PSAM_CREDENTIAL_UPDATE_REGISTER_ROUTINE = ::core::option::Option<unsafe extern "system" fn(credentialname: *mut super::super::super::Foundation::UNICODE_STRING) -> super::super::super::Foundation::BOOLEAN>;
04454e1e 5071#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
5072#[cfg(feature = "Win32_Foundation")]
5073pub type PSAM_INIT_NOTIFICATION_ROUTINE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Foundation::BOOLEAN>;
04454e1e 5074#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
5075#[cfg(feature = "Win32_Foundation")]
5076pub type PSAM_PASSWORD_FILTER_ROUTINE = ::core::option::Option<unsafe extern "system" fn(accountname: *const super::super::super::Foundation::UNICODE_STRING, fullname: *const super::super::super::Foundation::UNICODE_STRING, password: *const super::super::super::Foundation::UNICODE_STRING, setoperation: super::super::super::Foundation::BOOLEAN) -> super::super::super::Foundation::BOOLEAN>;
04454e1e 5077#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
5078#[cfg(feature = "Win32_Foundation")]
5079pub type PSAM_PASSWORD_NOTIFICATION_ROUTINE = ::core::option::Option<unsafe extern "system" fn(username: *mut super::super::super::Foundation::UNICODE_STRING, relativeid: u32, newpassword: *mut super::super::super::Foundation::UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS>;
5080#[repr(C)]
04454e1e 5081#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5082pub struct PctPublicKey {
5083 pub Type: u32,
5084 pub cbKey: u32,
5085 pub pKey: [u8; 1],
5086}
5087impl ::core::marker::Copy for PctPublicKey {}
5088impl ::core::clone::Clone for PctPublicKey {
5089 fn clone(&self) -> Self {
5090 *self
5091 }
5092}
04454e1e 5093#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 5094#[cfg(feature = "Win32_Security_Credentials")]
923072b8 5095pub type QUERY_CONTEXT_ATTRIBUTES_EX_FN_A = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut ::core::ffi::c_void, param3: u32) -> ::windows_sys::core::HRESULT>;
04454e1e 5096#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 5097#[cfg(feature = "Win32_Security_Credentials")]
923072b8 5098pub type QUERY_CONTEXT_ATTRIBUTES_EX_FN_W = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut ::core::ffi::c_void, param3: u32) -> ::windows_sys::core::HRESULT>;
04454e1e 5099#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 5100#[cfg(feature = "Win32_Security_Credentials")]
923072b8 5101pub type QUERY_CONTEXT_ATTRIBUTES_FN_A = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>;
04454e1e 5102#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 5103#[cfg(feature = "Win32_Security_Credentials")]
923072b8 5104pub type QUERY_CONTEXT_ATTRIBUTES_FN_W = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>;
04454e1e 5105#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 5106#[cfg(feature = "Win32_Security_Credentials")]
923072b8 5107pub type QUERY_CREDENTIALS_ATTRIBUTES_EX_FN_A = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut ::core::ffi::c_void, param3: u32) -> ::windows_sys::core::HRESULT>;
04454e1e 5108#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 5109#[cfg(feature = "Win32_Security_Credentials")]
923072b8 5110pub type QUERY_CREDENTIALS_ATTRIBUTES_EX_FN_W = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut ::core::ffi::c_void, param3: u32) -> ::windows_sys::core::HRESULT>;
04454e1e 5111#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 5112#[cfg(feature = "Win32_Security_Credentials")]
923072b8 5113pub type QUERY_CREDENTIALS_ATTRIBUTES_FN_A = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>;
04454e1e 5114#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 5115#[cfg(feature = "Win32_Security_Credentials")]
923072b8 5116pub type QUERY_CREDENTIALS_ATTRIBUTES_FN_W = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>;
04454e1e 5117#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 5118#[cfg(feature = "Win32_Security_Credentials")]
923072b8 5119pub type QUERY_SECURITY_CONTEXT_TOKEN_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>;
04454e1e 5120#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 5121pub type QUERY_SECURITY_PACKAGE_INFO_FN_A = ::core::option::Option<unsafe extern "system" fn(param0: *mut i8, param1: *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT>;
04454e1e 5122#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 5123pub type QUERY_SECURITY_PACKAGE_INFO_FN_W = ::core::option::Option<unsafe extern "system" fn(param0: *mut u16, param1: *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT>;
04454e1e 5124#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5125pub const RCRED_CRED_EXISTS: u32 = 1u32;
04454e1e 5126#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5127pub const RCRED_STATUS_NOCRED: u32 = 0u32;
04454e1e 5128#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5129pub const RCRED_STATUS_UNKNOWN_ISSUER: u32 = 2u32;
04454e1e 5130#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 5131#[cfg(feature = "Win32_Security_Credentials")]
923072b8 5132pub type REVERT_SECURITY_CONTEXT_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT>;
04454e1e 5133#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5134pub const RTL_ENCRYPT_MEMORY_SIZE: u32 = 8u32;
04454e1e 5135#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5136pub const RTL_ENCRYPT_OPTION_CROSS_PROCESS: u32 = 1u32;
04454e1e 5137#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5138pub const RTL_ENCRYPT_OPTION_FOR_SYSTEM: u32 = 4u32;
04454e1e 5139#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5140pub const RTL_ENCRYPT_OPTION_SAME_LOGON: u32 = 2u32;
04454e1e 5141#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 5142pub const SAM_CREDENTIAL_UPDATE_FREE_ROUTINE: &str = "CredentialUpdateFree";
04454e1e 5143#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 5144pub const SAM_CREDENTIAL_UPDATE_NOTIFY_ROUTINE: &str = "CredentialUpdateNotify";
04454e1e 5145#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 5146pub const SAM_CREDENTIAL_UPDATE_REGISTER_MAPPED_ENTRYPOINTS_ROUTINE: &str = "RegisterMappedEntrypoints";
04454e1e 5147#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 5148pub const SAM_CREDENTIAL_UPDATE_REGISTER_ROUTINE: &str = "CredentialUpdateRegister";
04454e1e 5149#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5150pub const SAM_DAYS_PER_WEEK: u32 = 7u32;
04454e1e 5151#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 5152pub const SAM_INIT_NOTIFICATION_ROUTINE: &str = "InitializeChangeNotify";
04454e1e 5153#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 5154pub const SAM_PASSWORD_CHANGE_NOTIFY_ROUTINE: &str = "PasswordChangeNotify";
04454e1e 5155#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 5156pub const SAM_PASSWORD_FILTER_ROUTINE: &str = "PasswordFilter";
5e7ed085 5157#[repr(C)]
04454e1e 5158#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
5159#[cfg(feature = "Win32_Foundation")]
5160pub struct SAM_REGISTER_MAPPING_ELEMENT {
04454e1e
FG
5161 pub Original: ::windows_sys::core::PSTR,
5162 pub Mapped: ::windows_sys::core::PSTR,
5e7ed085
FG
5163 pub Continuable: super::super::super::Foundation::BOOLEAN,
5164}
5165#[cfg(feature = "Win32_Foundation")]
5166impl ::core::marker::Copy for SAM_REGISTER_MAPPING_ELEMENT {}
5167#[cfg(feature = "Win32_Foundation")]
5168impl ::core::clone::Clone for SAM_REGISTER_MAPPING_ELEMENT {
5169 fn clone(&self) -> Self {
5170 *self
5171 }
5172}
5173#[repr(C)]
04454e1e 5174#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
5175#[cfg(feature = "Win32_Foundation")]
5176pub struct SAM_REGISTER_MAPPING_LIST {
5177 pub Count: u32,
5178 pub Elements: *mut SAM_REGISTER_MAPPING_ELEMENT,
5179}
5180#[cfg(feature = "Win32_Foundation")]
5181impl ::core::marker::Copy for SAM_REGISTER_MAPPING_LIST {}
5182#[cfg(feature = "Win32_Foundation")]
5183impl ::core::clone::Clone for SAM_REGISTER_MAPPING_LIST {
5184 fn clone(&self) -> Self {
5185 *self
5186 }
5187}
5188#[repr(C)]
04454e1e 5189#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
5190#[cfg(feature = "Win32_Foundation")]
5191pub struct SAM_REGISTER_MAPPING_TABLE {
5192 pub Count: u32,
5193 pub Lists: *mut SAM_REGISTER_MAPPING_LIST,
5194}
5195#[cfg(feature = "Win32_Foundation")]
5196impl ::core::marker::Copy for SAM_REGISTER_MAPPING_TABLE {}
5197#[cfg(feature = "Win32_Foundation")]
5198impl ::core::clone::Clone for SAM_REGISTER_MAPPING_TABLE {
5199 fn clone(&self) -> Self {
5200 *self
5201 }
5202}
04454e1e 5203#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5204pub type SASL_AUTHZID_STATE = i32;
04454e1e 5205#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5206pub const Sasl_AuthZIDForbidden: SASL_AUTHZID_STATE = 0i32;
04454e1e 5207#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5208pub const Sasl_AuthZIDProcessed: SASL_AUTHZID_STATE = 1i32;
04454e1e 5209#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5210pub const SASL_OPTION_AUTHZ_PROCESSING: u32 = 4u32;
04454e1e 5211#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5212pub const SASL_OPTION_AUTHZ_STRING: u32 = 3u32;
04454e1e 5213#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5214pub const SASL_OPTION_RECV_SIZE: u32 = 2u32;
04454e1e 5215#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5216pub const SASL_OPTION_SEND_SIZE: u32 = 1u32;
04454e1e 5217#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5218pub const SCHANNEL_ALERT: u32 = 2u32;
5219#[repr(C)]
04454e1e 5220#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5221pub struct SCHANNEL_ALERT_TOKEN {
5222 pub dwTokenType: u32,
5223 pub dwAlertType: SCHANNEL_ALERT_TOKEN_ALERT_TYPE,
5224 pub dwAlertNumber: u32,
5225}
5226impl ::core::marker::Copy for SCHANNEL_ALERT_TOKEN {}
5227impl ::core::clone::Clone for SCHANNEL_ALERT_TOKEN {
5228 fn clone(&self) -> Self {
5229 *self
5230 }
5231}
04454e1e 5232#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5233pub type SCHANNEL_ALERT_TOKEN_ALERT_TYPE = u32;
04454e1e 5234#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5235pub const TLS1_ALERT_WARNING: SCHANNEL_ALERT_TOKEN_ALERT_TYPE = 1u32;
04454e1e 5236#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5237pub const TLS1_ALERT_FATAL: SCHANNEL_ALERT_TOKEN_ALERT_TYPE = 2u32;
5238#[repr(C)]
04454e1e 5239#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5240pub struct SCHANNEL_CERT_HASH {
5241 pub dwLength: u32,
5242 pub dwFlags: u32,
5243 pub hProv: usize,
5244 pub ShaHash: [u8; 20],
5245}
5246impl ::core::marker::Copy for SCHANNEL_CERT_HASH {}
5247impl ::core::clone::Clone for SCHANNEL_CERT_HASH {
5248 fn clone(&self) -> Self {
5249 *self
5250 }
5251}
5252#[repr(C)]
04454e1e 5253#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5254pub struct SCHANNEL_CERT_HASH_STORE {
5255 pub dwLength: u32,
5256 pub dwFlags: u32,
5257 pub hProv: usize,
5258 pub ShaHash: [u8; 20],
5259 pub pwszStoreName: [u16; 128],
5260}
5261impl ::core::marker::Copy for SCHANNEL_CERT_HASH_STORE {}
5262impl ::core::clone::Clone for SCHANNEL_CERT_HASH_STORE {
5263 fn clone(&self) -> Self {
5264 *self
5265 }
5266}
5267#[repr(C)]
04454e1e 5268#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5269pub struct SCHANNEL_CLIENT_SIGNATURE {
5270 pub cbLength: u32,
5271 pub aiHash: u32,
5272 pub cbHash: u32,
5273 pub HashValue: [u8; 36],
5274 pub CertThumbprint: [u8; 20],
5275}
5276impl ::core::marker::Copy for SCHANNEL_CLIENT_SIGNATURE {}
5277impl ::core::clone::Clone for SCHANNEL_CLIENT_SIGNATURE {
5278 fn clone(&self) -> Self {
5279 *self
5280 }
5281}
5282#[repr(C)]
04454e1e 5283#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
5e7ed085
FG
5284#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
5285pub struct SCHANNEL_CRED {
5286 pub dwVersion: u32,
5287 pub cCreds: u32,
5288 pub paCred: *mut *mut super::super::Cryptography::CERT_CONTEXT,
5289 pub hRootStore: super::super::Cryptography::HCERTSTORE,
5290 pub cMappers: u32,
5291 pub aphMappers: *mut *mut _HMAPPER,
5292 pub cSupportedAlgs: u32,
5293 pub palgSupportedAlgs: *mut u32,
5294 pub grbitEnabledProtocols: u32,
5295 pub dwMinimumCipherStrength: u32,
5296 pub dwMaximumCipherStrength: u32,
5297 pub dwSessionLifespan: u32,
5298 pub dwFlags: SCHANNEL_CRED_FLAGS,
5299 pub dwCredFormat: u32,
5300}
5301#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
5302impl ::core::marker::Copy for SCHANNEL_CRED {}
5303#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
5304impl ::core::clone::Clone for SCHANNEL_CRED {
5305 fn clone(&self) -> Self {
5306 *self
5307 }
5308}
04454e1e 5309#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5310pub type SCHANNEL_CRED_FLAGS = u32;
04454e1e 5311#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5312pub const SCH_CRED_AUTO_CRED_VALIDATION: SCHANNEL_CRED_FLAGS = 32u32;
04454e1e 5313#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5314pub const SCH_CRED_CACHE_ONLY_URL_RETRIEVAL_ON_CREATE: SCHANNEL_CRED_FLAGS = 131072u32;
04454e1e 5315#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5316pub const SCH_DISABLE_RECONNECTS: SCHANNEL_CRED_FLAGS = 128u32;
04454e1e 5317#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5318pub const SCH_CRED_IGNORE_NO_REVOCATION_CHECK: SCHANNEL_CRED_FLAGS = 2048u32;
04454e1e 5319#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5320pub const SCH_CRED_IGNORE_REVOCATION_OFFLINE: SCHANNEL_CRED_FLAGS = 4096u32;
04454e1e 5321#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5322pub const SCH_CRED_MANUAL_CRED_VALIDATION: SCHANNEL_CRED_FLAGS = 8u32;
04454e1e 5323#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5324pub const SCH_CRED_NO_DEFAULT_CREDS: SCHANNEL_CRED_FLAGS = 16u32;
04454e1e 5325#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5326pub const SCH_CRED_NO_SERVERNAME_CHECK: SCHANNEL_CRED_FLAGS = 4u32;
04454e1e 5327#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5328pub const SCH_CRED_NO_SYSTEM_MAPPER: SCHANNEL_CRED_FLAGS = 2u32;
04454e1e 5329#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5330pub const SCH_CRED_REVOCATION_CHECK_CHAIN: SCHANNEL_CRED_FLAGS = 512u32;
04454e1e 5331#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5332pub const SCH_CRED_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT: SCHANNEL_CRED_FLAGS = 1024u32;
04454e1e 5333#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5334pub const SCH_CRED_REVOCATION_CHECK_END_CERT: SCHANNEL_CRED_FLAGS = 256u32;
04454e1e 5335#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5336pub const SCH_CRED_USE_DEFAULT_CREDS: SCHANNEL_CRED_FLAGS = 64u32;
04454e1e 5337#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5338pub const SCH_SEND_AUX_RECORD: SCHANNEL_CRED_FLAGS = 2097152u32;
04454e1e 5339#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5340pub const SCH_SEND_ROOT_CERT: SCHANNEL_CRED_FLAGS = 262144u32;
04454e1e 5341#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5342pub const SCH_USE_STRONG_CRYPTO: SCHANNEL_CRED_FLAGS = 4194304u32;
04454e1e 5343#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5344pub const SCH_USE_PRESHAREDKEY_ONLY: SCHANNEL_CRED_FLAGS = 8388608u32;
04454e1e 5345#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5346pub const SCHANNEL_CRED_VERSION: u32 = 4u32;
04454e1e 5347#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 5348pub const SCHANNEL_NAME: &str = "Schannel";
04454e1e 5349#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 5350pub const SCHANNEL_NAME_A: &str = "Schannel";
04454e1e 5351#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 5352pub const SCHANNEL_NAME_W: &str = "Schannel";
04454e1e 5353#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5354pub const SCHANNEL_RENEGOTIATE: u32 = 0u32;
04454e1e 5355#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5356pub const SCHANNEL_SECRET_PRIVKEY: u32 = 2u32;
04454e1e 5357#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5358pub const SCHANNEL_SECRET_TYPE_CAPI: u32 = 1u32;
04454e1e 5359#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5360pub const SCHANNEL_SESSION: u32 = 3u32;
5361#[repr(C)]
04454e1e 5362#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5363pub struct SCHANNEL_SESSION_TOKEN {
5364 pub dwTokenType: u32,
5365 pub dwFlags: SCHANNEL_SESSION_TOKEN_FLAGS,
5366}
5367impl ::core::marker::Copy for SCHANNEL_SESSION_TOKEN {}
5368impl ::core::clone::Clone for SCHANNEL_SESSION_TOKEN {
5369 fn clone(&self) -> Self {
5370 *self
5371 }
5372}
04454e1e 5373#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5374pub type SCHANNEL_SESSION_TOKEN_FLAGS = u32;
04454e1e 5375#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5376pub const SSL_SESSION_ENABLE_RECONNECTS: SCHANNEL_SESSION_TOKEN_FLAGS = 1u32;
04454e1e 5377#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5378pub const SSL_SESSION_DISABLE_RECONNECTS: SCHANNEL_SESSION_TOKEN_FLAGS = 2u32;
04454e1e 5379#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5380pub const SCHANNEL_SHUTDOWN: u32 = 1u32;
04454e1e 5381#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5382pub const SCH_ALLOW_NULL_ENCRYPTION: u32 = 33554432u32;
5383#[repr(C)]
04454e1e 5384#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5385pub struct SCH_CRED {
5386 pub dwVersion: u32,
5387 pub cCreds: u32,
5388 pub paSecret: *mut *mut ::core::ffi::c_void,
5389 pub paPublic: *mut *mut ::core::ffi::c_void,
5390 pub cMappers: u32,
5391 pub aphMappers: *mut *mut _HMAPPER,
5392}
5393impl ::core::marker::Copy for SCH_CRED {}
5394impl ::core::clone::Clone for SCH_CRED {
5395 fn clone(&self) -> Self {
5396 *self
5397 }
5398}
04454e1e 5399#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5400pub const SCH_CREDENTIALS_VERSION: u32 = 5u32;
04454e1e 5401#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5402pub const SCH_CRED_CACHE_ONLY_URL_RETRIEVAL: u32 = 32768u32;
04454e1e 5403#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5404pub const SCH_CRED_CERT_CONTEXT: u32 = 3u32;
04454e1e 5405#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5406pub const SCH_CRED_DEFERRED_CRED_VALIDATION: u32 = 67108864u32;
04454e1e 5407#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5408pub const SCH_CRED_DISABLE_RECONNECTS: u32 = 128u32;
04454e1e 5409#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5410pub const SCH_CRED_FORMAT_CERT_CONTEXT: u32 = 0u32;
04454e1e 5411#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5412pub const SCH_CRED_FORMAT_CERT_HASH: u32 = 1u32;
04454e1e 5413#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5414pub const SCH_CRED_FORMAT_CERT_HASH_STORE: u32 = 2u32;
04454e1e 5415#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5416pub const SCH_CRED_MAX_STORE_NAME_SIZE: u32 = 128u32;
04454e1e 5417#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5418pub const SCH_CRED_MAX_SUPPORTED_ALGS: u32 = 256u32;
04454e1e 5419#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5420pub const SCH_CRED_MAX_SUPPORTED_ALPN_IDS: u32 = 16u32;
04454e1e 5421#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5422pub const SCH_CRED_MAX_SUPPORTED_CERTS: u32 = 100u32;
04454e1e 5423#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5424pub const SCH_CRED_MAX_SUPPORTED_CHAINING_MODES: u32 = 16u32;
04454e1e 5425#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5426pub const SCH_CRED_MAX_SUPPORTED_CRYPTO_SETTINGS: u32 = 16u32;
04454e1e 5427#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5428pub const SCH_CRED_MAX_SUPPORTED_PARAMETERS: u32 = 16u32;
04454e1e 5429#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5430pub const SCH_CRED_MEMORY_STORE_CERT: u32 = 65536u32;
5431#[repr(C)]
04454e1e 5432#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5433pub struct SCH_CRED_PUBLIC_CERTCHAIN {
5434 pub dwType: u32,
5435 pub cbCertChain: u32,
5436 pub pCertChain: *mut u8,
5437}
5438impl ::core::marker::Copy for SCH_CRED_PUBLIC_CERTCHAIN {}
5439impl ::core::clone::Clone for SCH_CRED_PUBLIC_CERTCHAIN {
5440 fn clone(&self) -> Self {
5441 *self
5442 }
5443}
04454e1e 5444#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5445pub const SCH_CRED_RESTRICTED_ROOTS: u32 = 8192u32;
04454e1e 5446#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5447pub const SCH_CRED_REVOCATION_CHECK_CACHE_ONLY: u32 = 16384u32;
5448#[repr(C)]
04454e1e 5449#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5450pub struct SCH_CRED_SECRET_CAPI {
5451 pub dwType: u32,
5452 pub hProv: usize,
5453}
5454impl ::core::marker::Copy for SCH_CRED_SECRET_CAPI {}
5455impl ::core::clone::Clone for SCH_CRED_SECRET_CAPI {
5456 fn clone(&self) -> Self {
5457 *self
5458 }
5459}
5460#[repr(C)]
04454e1e 5461#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5462pub struct SCH_CRED_SECRET_PRIVKEY {
5463 pub dwType: u32,
5464 pub pPrivateKey: *mut u8,
5465 pub cbPrivateKey: u32,
04454e1e 5466 pub pszPassword: ::windows_sys::core::PSTR,
5e7ed085 5467}
5e7ed085 5468impl ::core::marker::Copy for SCH_CRED_SECRET_PRIVKEY {}
5e7ed085
FG
5469impl ::core::clone::Clone for SCH_CRED_SECRET_PRIVKEY {
5470 fn clone(&self) -> Self {
5471 *self
5472 }
5473}
04454e1e 5474#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5475pub const SCH_CRED_SNI_CREDENTIAL: u32 = 524288u32;
04454e1e 5476#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5477pub const SCH_CRED_SNI_ENABLE_OCSP: u32 = 1048576u32;
04454e1e 5478#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5479pub const SCH_CRED_V1: u32 = 1u32;
04454e1e 5480#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5481pub const SCH_CRED_V2: u32 = 2u32;
04454e1e 5482#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5483pub const SCH_CRED_V3: u32 = 3u32;
04454e1e 5484#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5485pub const SCH_CRED_VERSION: u32 = 2u32;
04454e1e 5486#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5487pub const SCH_CRED_X509_CAPI: u32 = 2u32;
04454e1e 5488#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5489pub const SCH_CRED_X509_CERTCHAIN: u32 = 1u32;
5490#[repr(C)]
04454e1e 5491#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5492pub struct SCH_EXTENSION_DATA {
5493 pub ExtensionType: u16,
5494 pub pExtData: *const u8,
5495 pub cbExtData: u32,
5496}
5497impl ::core::marker::Copy for SCH_EXTENSION_DATA {}
5498impl ::core::clone::Clone for SCH_EXTENSION_DATA {
5499 fn clone(&self) -> Self {
5500 *self
5501 }
5502}
04454e1e 5503#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5504pub const SCH_MACHINE_CERT_HASH: u32 = 1u32;
04454e1e 5505#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5506pub const SCH_MAX_EXT_SUBSCRIPTIONS: u32 = 2u32;
04454e1e 5507#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5508pub const SCH_USE_DTLS_ONLY: u32 = 16777216u32;
04454e1e 5509#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5510pub const SECBUFFER_ALERT: u32 = 17u32;
04454e1e 5511#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5512pub const SECBUFFER_APPLICATION_PROTOCOLS: u32 = 18u32;
04454e1e 5513#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5514pub const SECBUFFER_ATTRMASK: u32 = 4026531840u32;
04454e1e 5515#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5516pub const SECBUFFER_CHANGE_PASS_RESPONSE: u32 = 15u32;
04454e1e 5517#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5518pub const SECBUFFER_CHANNEL_BINDINGS: u32 = 14u32;
04454e1e 5519#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5520pub const SECBUFFER_DATA: u32 = 1u32;
04454e1e 5521#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5522pub const SECBUFFER_DTLS_MTU: u32 = 24u32;
04454e1e 5523#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5524pub const SECBUFFER_EMPTY: u32 = 0u32;
04454e1e 5525#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5526pub const SECBUFFER_EXTRA: u32 = 5u32;
04454e1e 5527#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5528pub const SECBUFFER_FLAGS: u32 = 27u32;
04454e1e 5529#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5530pub const SECBUFFER_KERNEL_MAP: u32 = 536870912u32;
04454e1e 5531#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5532pub const SECBUFFER_MECHLIST: u32 = 11u32;
04454e1e 5533#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5534pub const SECBUFFER_MECHLIST_SIGNATURE: u32 = 12u32;
04454e1e 5535#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5536pub const SECBUFFER_MISSING: u32 = 4u32;
04454e1e 5537#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5538pub const SECBUFFER_NEGOTIATION_INFO: u32 = 8u32;
04454e1e 5539#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5540pub const SECBUFFER_PADDING: u32 = 9u32;
04454e1e 5541#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5542pub const SECBUFFER_PKG_PARAMS: u32 = 3u32;
04454e1e 5543#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5544pub const SECBUFFER_PRESHARED_KEY: u32 = 22u32;
04454e1e 5545#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5546pub const SECBUFFER_PRESHARED_KEY_IDENTITY: u32 = 23u32;
04454e1e 5547#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5548pub const SECBUFFER_READONLY: u32 = 2147483648u32;
04454e1e 5549#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5550pub const SECBUFFER_READONLY_WITH_CHECKSUM: u32 = 268435456u32;
04454e1e 5551#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5552pub const SECBUFFER_RESERVED: u32 = 1610612736u32;
04454e1e 5553#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5554pub const SECBUFFER_SEND_GENERIC_TLS_EXTENSION: u32 = 25u32;
04454e1e 5555#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5556pub const SECBUFFER_SRTP_MASTER_KEY_IDENTIFIER: u32 = 20u32;
04454e1e 5557#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5558pub const SECBUFFER_SRTP_PROTECTION_PROFILES: u32 = 19u32;
04454e1e 5559#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5560pub const SECBUFFER_STREAM: u32 = 10u32;
04454e1e 5561#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5562pub const SECBUFFER_STREAM_HEADER: u32 = 7u32;
04454e1e 5563#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5564pub const SECBUFFER_STREAM_TRAILER: u32 = 6u32;
04454e1e 5565#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5566pub const SECBUFFER_SUBSCRIBE_GENERIC_TLS_EXTENSION: u32 = 26u32;
04454e1e 5567#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5568pub const SECBUFFER_TARGET: u32 = 13u32;
04454e1e 5569#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5570pub const SECBUFFER_TARGET_HOST: u32 = 16u32;
04454e1e 5571#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5572pub const SECBUFFER_TOKEN: u32 = 2u32;
04454e1e 5573#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5574pub const SECBUFFER_TOKEN_BINDING: u32 = 21u32;
04454e1e 5575#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5576pub const SECBUFFER_TRAFFIC_SECRETS: u32 = 28u32;
04454e1e 5577#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5578pub const SECBUFFER_UNMAPPED: u32 = 1073741824u32;
04454e1e 5579#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5580pub const SECBUFFER_VERSION: u32 = 0u32;
04454e1e 5581#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5582pub const SECPKGCONTEXT_CIPHERINFO_V1: u32 = 1u32;
04454e1e 5583#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5584pub const SECPKGCONTEXT_CONNECTION_INFO_EX_V1: u32 = 1u32;
04454e1e 5585#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5586pub const SECPKG_ANSI_ATTRIBUTE: u32 = 0u32;
5587#[repr(C)]
04454e1e 5588#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
5589#[cfg(feature = "Win32_Foundation")]
5590pub struct SECPKG_APP_MODE_INFO {
5591 pub UserFunction: u32,
5592 pub Argument1: usize,
5593 pub Argument2: usize,
5594 pub UserData: SecBuffer,
5595 pub ReturnToLsa: super::super::super::Foundation::BOOLEAN,
5596}
5597#[cfg(feature = "Win32_Foundation")]
5598impl ::core::marker::Copy for SECPKG_APP_MODE_INFO {}
5599#[cfg(feature = "Win32_Foundation")]
5600impl ::core::clone::Clone for SECPKG_APP_MODE_INFO {
5601 fn clone(&self) -> Self {
5602 *self
5603 }
5604}
04454e1e 5605#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5606pub type SECPKG_ATTR = u32;
04454e1e 5607#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5608pub const SECPKG_ATTR_C_ACCESS_TOKEN: SECPKG_ATTR = 2147483666u32;
04454e1e 5609#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5610pub const SECPKG_ATTR_C_FULL_ACCESS_TOKEN: SECPKG_ATTR = 2147483778u32;
04454e1e 5611#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5612pub const SECPKG_ATTR_CERT_TRUST_STATUS: SECPKG_ATTR = 2147483780u32;
04454e1e 5613#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5614pub const SECPKG_ATTR_CREDS: SECPKG_ATTR = 2147483776u32;
04454e1e 5615#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5616pub const SECPKG_ATTR_CREDS_2: SECPKG_ATTR = 2147483782u32;
04454e1e 5617#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5618pub const SECPKG_ATTR_NEGOTIATION_PACKAGE: SECPKG_ATTR = 2147483777u32;
04454e1e 5619#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5620pub const SECPKG_ATTR_PACKAGE_INFO: SECPKG_ATTR = 10u32;
04454e1e 5621#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5622pub const SECPKG_ATTR_SERVER_AUTH_FLAGS: SECPKG_ATTR = 2147483779u32;
04454e1e 5623#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5624pub const SECPKG_ATTR_SIZES: SECPKG_ATTR = 0u32;
04454e1e 5625#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5626pub const SECPKG_ATTR_SUBJECT_SECURITY_ATTRIBUTES: SECPKG_ATTR = 124u32;
04454e1e 5627#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5628pub const SECPKG_ATTR_APP_DATA: SECPKG_ATTR = 94u32;
04454e1e 5629#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5630pub const SECPKG_ATTR_EAP_PRF_INFO: SECPKG_ATTR = 101u32;
04454e1e 5631#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5632pub const SECPKG_ATTR_EARLY_START: SECPKG_ATTR = 105u32;
04454e1e 5633#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5634pub const SECPKG_ATTR_DTLS_MTU: SECPKG_ATTR = 34u32;
04454e1e 5635#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5636pub const SECPKG_ATTR_KEYING_MATERIAL_INFO: SECPKG_ATTR = 106u32;
04454e1e 5637#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5638pub const SECPKG_ATTR_ACCESS_TOKEN: SECPKG_ATTR = 18u32;
04454e1e 5639#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5640pub const SECPKG_ATTR_AUTHORITY: SECPKG_ATTR = 6u32;
04454e1e 5641#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5642pub const SECPKG_ATTR_CLIENT_SPECIFIED_TARGET: SECPKG_ATTR = 27u32;
04454e1e 5643#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5644pub const SECPKG_ATTR_CONNECTION_INFO: SECPKG_ATTR = 90u32;
04454e1e 5645#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5646pub const SECPKG_ATTR_DCE_INFO: SECPKG_ATTR = 3u32;
04454e1e 5647#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5648pub const SECPKG_ATTR_ENDPOINT_BINDINGS: SECPKG_ATTR = 26u32;
04454e1e 5649#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5650pub const SECPKG_ATTR_EAP_KEY_BLOCK: SECPKG_ATTR = 91u32;
04454e1e 5651#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5652pub const SECPKG_ATTR_FLAGS: SECPKG_ATTR = 14u32;
04454e1e 5653#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5654pub const SECPKG_ATTR_ISSUER_LIST_EX: SECPKG_ATTR = 89u32;
04454e1e 5655#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5656pub const SECPKG_ATTR_KEY_INFO: SECPKG_ATTR = 5u32;
04454e1e 5657#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5658pub const SECPKG_ATTR_LAST_CLIENT_TOKEN_STATUS: SECPKG_ATTR = 30u32;
04454e1e 5659#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5660pub const SECPKG_ATTR_LIFESPAN: SECPKG_ATTR = 2u32;
04454e1e 5661#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5662pub const SECPKG_ATTR_LOCAL_CERT_CONTEXT: SECPKG_ATTR = 84u32;
04454e1e 5663#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5664pub const SECPKG_ATTR_LOCAL_CRED: SECPKG_ATTR = 82u32;
04454e1e 5665#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5666pub const SECPKG_ATTR_NAMES: SECPKG_ATTR = 1u32;
04454e1e 5667#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5668pub const SECPKG_ATTR_NATIVE_NAMES: SECPKG_ATTR = 13u32;
04454e1e 5669#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5670pub const SECPKG_ATTR_NEGOTIATION_INFO: SECPKG_ATTR = 12u32;
04454e1e 5671#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5672pub const SECPKG_ATTR_PASSWORD_EXPIRY: SECPKG_ATTR = 8u32;
04454e1e 5673#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5674pub const SECPKG_ATTR_REMOTE_CERT_CONTEXT: SECPKG_ATTR = 83u32;
04454e1e 5675#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5676pub const SECPKG_ATTR_ROOT_STORE: SECPKG_ATTR = 85u32;
04454e1e 5677#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5678pub const SECPKG_ATTR_SESSION_KEY: SECPKG_ATTR = 9u32;
04454e1e 5679#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5680pub const SECPKG_ATTR_SESSION_INFO: SECPKG_ATTR = 93u32;
04454e1e 5681#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5682pub const SECPKG_ATTR_STREAM_SIZES: SECPKG_ATTR = 4u32;
04454e1e 5683#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5684pub const SECPKG_ATTR_SUPPORTED_SIGNATURES: SECPKG_ATTR = 102u32;
04454e1e 5685#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5686pub const SECPKG_ATTR_TARGET_INFORMATION: SECPKG_ATTR = 17u32;
04454e1e 5687#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5688pub const SECPKG_ATTR_UNIQUE_BINDINGS: SECPKG_ATTR = 25u32;
04454e1e 5689#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5690pub const SECPKG_ATTR_APPLICATION_PROTOCOL: u32 = 35u32;
04454e1e 5691#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5692pub const SECPKG_ATTR_AUTHENTICATION_ID: u32 = 20u32;
04454e1e 5693#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5694pub const SECPKG_ATTR_CC_POLICY_RESULT: u32 = 97u32;
04454e1e 5695#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5696pub const SECPKG_ATTR_CERT_CHECK_RESULT: u32 = 113u32;
04454e1e 5697#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5698pub const SECPKG_ATTR_CERT_CHECK_RESULT_INPROC: u32 = 114u32;
04454e1e 5699#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5700pub const SECPKG_ATTR_CIPHER_INFO: u32 = 100u32;
04454e1e 5701#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5702pub const SECPKG_ATTR_CIPHER_STRENGTHS: u32 = 87u32;
04454e1e 5703#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5704pub const SECPKG_ATTR_CLIENT_CERT_POLICY: u32 = 96u32;
04454e1e 5705#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5706pub const SECPKG_ATTR_CONNECTION_INFO_EX: u32 = 110u32;
04454e1e 5707#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5708pub const SECPKG_ATTR_CONTEXT_DELETED: u32 = 33u32;
04454e1e 5709#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5710pub const SECPKG_ATTR_CREDENTIAL_NAME: u32 = 16u32;
04454e1e 5711#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5712pub const SECPKG_ATTR_ISSUER_LIST: u32 = 80u32;
04454e1e 5713#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5714pub const SECPKG_ATTR_IS_LOOPBACK: u32 = 37u32;
04454e1e 5715#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5716pub const SECPKG_ATTR_KEYING_MATERIAL: u32 = 107u32;
04454e1e 5717#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5718pub const SECPKG_ATTR_KEYING_MATERIAL_INPROC: u32 = 112u32;
04454e1e 5719#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5720pub const SECPKG_ATTR_KEYING_MATERIAL_TOKEN_BINDING: u32 = 111u32;
04454e1e 5721#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5722pub type SECPKG_ATTR_LCT_STATUS = i32;
04454e1e 5723#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5724pub const SecPkgAttrLastClientTokenYes: SECPKG_ATTR_LCT_STATUS = 0i32;
04454e1e 5725#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5726pub const SecPkgAttrLastClientTokenNo: SECPKG_ATTR_LCT_STATUS = 1i32;
04454e1e 5727#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5728pub const SecPkgAttrLastClientTokenMaybe: SECPKG_ATTR_LCT_STATUS = 2i32;
04454e1e 5729#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5730pub const SECPKG_ATTR_LOCAL_CERT_INFO: u32 = 99u32;
04454e1e 5731#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5732pub const SECPKG_ATTR_LOGOFF_TIME: u32 = 21u32;
04454e1e 5733#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5734pub const SECPKG_ATTR_MAPPED_CRED_ATTR: u32 = 92u32;
04454e1e 5735#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5736pub const SECPKG_ATTR_NEGOTIATED_TLS_EXTENSIONS: u32 = 36u32;
04454e1e 5737#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5738pub const SECPKG_ATTR_NEGO_INFO_FLAG_NO_KERBEROS: u32 = 1u32;
04454e1e 5739#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5740pub const SECPKG_ATTR_NEGO_INFO_FLAG_NO_NTLM: u32 = 2u32;
04454e1e 5741#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5742pub const SECPKG_ATTR_NEGO_KEYS: u32 = 22u32;
04454e1e 5743#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5744pub const SECPKG_ATTR_NEGO_PKG_INFO: u32 = 31u32;
04454e1e 5745#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5746pub const SECPKG_ATTR_NEGO_STATUS: u32 = 32u32;
04454e1e 5747#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5748pub const SECPKG_ATTR_PROMPTING_NEEDED: u32 = 24u32;
04454e1e 5749#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5750pub const SECPKG_ATTR_PROTO_INFO: u32 = 7u32;
04454e1e 5751#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5752pub const SECPKG_ATTR_REMOTE_CERTIFICATES: u32 = 95u32;
04454e1e 5753#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5754pub const SECPKG_ATTR_REMOTE_CERT_CHAIN: u32 = 103u32;
04454e1e 5755#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5756pub const SECPKG_ATTR_REMOTE_CRED: u32 = 81u32;
04454e1e 5757#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5758pub const SECPKG_ATTR_SASL_CONTEXT: u32 = 65536u32;
04454e1e 5759#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5760pub const SECPKG_ATTR_SESSION_TICKET_KEYS: u32 = 115u32;
04454e1e 5761#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5762pub const SECPKG_ATTR_SRTP_PARAMETERS: u32 = 108u32;
04454e1e 5763#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5764pub const SECPKG_ATTR_SUPPORTED_ALGS: u32 = 86u32;
04454e1e 5765#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5766pub const SECPKG_ATTR_SUPPORTED_PROTOCOLS: u32 = 88u32;
04454e1e 5767#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5768pub const SECPKG_ATTR_TARGET: u32 = 19u32;
04454e1e 5769#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5770pub const SECPKG_ATTR_THUNK_ALL: u32 = 65536u32;
04454e1e 5771#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5772pub const SECPKG_ATTR_TOKEN_BINDING: u32 = 109u32;
04454e1e 5773#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5774pub const SECPKG_ATTR_UI_INFO: u32 = 104u32;
04454e1e 5775#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5776pub const SECPKG_ATTR_USER_FLAGS: u32 = 11u32;
04454e1e 5777#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5778pub const SECPKG_ATTR_USE_NCRYPT: u32 = 98u32;
04454e1e 5779#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5780pub const SECPKG_ATTR_USE_VALIDATED: u32 = 15u32;
5781#[repr(C)]
04454e1e 5782#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5783pub struct SECPKG_BYTE_VECTOR {
5784 pub ByteArrayOffset: u32,
5785 pub ByteArrayLength: u16,
5786}
5787impl ::core::marker::Copy for SECPKG_BYTE_VECTOR {}
5788impl ::core::clone::Clone for SECPKG_BYTE_VECTOR {
5789 fn clone(&self) -> Self {
5790 *self
5791 }
5792}
04454e1e 5793#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5794pub const SECPKG_CALLFLAGS_APPCONTAINER: u32 = 1u32;
04454e1e 5795#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5796pub const SECPKG_CALLFLAGS_APPCONTAINER_AUTHCAPABLE: u32 = 2u32;
04454e1e 5797#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5798pub const SECPKG_CALLFLAGS_APPCONTAINER_UPNCAPABLE: u32 = 8u32;
04454e1e 5799#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5800pub const SECPKG_CALLFLAGS_FORCE_SUPPLIED: u32 = 4u32;
04454e1e 5801#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5802pub const SECPKG_CALL_ANSI: u32 = 2u32;
04454e1e 5803#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5804pub const SECPKG_CALL_ASYNC_UPDATE: u32 = 4096u32;
04454e1e 5805#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5806pub const SECPKG_CALL_BUFFER_MARSHAL: u32 = 65536u32;
04454e1e 5807#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5808pub const SECPKG_CALL_CLEANUP: u32 = 32u32;
04454e1e 5809#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5810pub const SECPKG_CALL_CLOUDAP_CONNECT: u32 = 262144u32;
5811#[repr(C)]
04454e1e 5812#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5813pub struct SECPKG_CALL_INFO {
5814 pub ProcessId: u32,
5815 pub ThreadId: u32,
5816 pub Attributes: u32,
5817 pub CallCount: u32,
5818 pub MechOid: *mut ::core::ffi::c_void,
5819}
5820impl ::core::marker::Copy for SECPKG_CALL_INFO {}
5821impl ::core::clone::Clone for SECPKG_CALL_INFO {
5822 fn clone(&self) -> Self {
5823 *self
5824 }
5825}
04454e1e 5826#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5827pub const SECPKG_CALL_IN_PROC: u32 = 16u32;
04454e1e 5828#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5829pub const SECPKG_CALL_IS_TCB: u32 = 512u32;
04454e1e 5830#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5831pub const SECPKG_CALL_KERNEL_MODE: u32 = 1u32;
04454e1e 5832#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5833pub const SECPKG_CALL_NEGO: u32 = 16384u32;
04454e1e 5834#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5835pub const SECPKG_CALL_NEGO_EXTENDER: u32 = 32768u32;
04454e1e 5836#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5837pub const SECPKG_CALL_NETWORK_ONLY: u32 = 1024u32;
04454e1e 5838#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5839pub type SECPKG_CALL_PACKAGE_MESSAGE_TYPE = i32;
04454e1e 5840#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5841pub const SecPkgCallPackageMinMessage: SECPKG_CALL_PACKAGE_MESSAGE_TYPE = 1024i32;
04454e1e 5842#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5843pub const SecPkgCallPackagePinDcMessage: SECPKG_CALL_PACKAGE_MESSAGE_TYPE = 1024i32;
04454e1e 5844#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5845pub const SecPkgCallPackageUnpinAllDcsMessage: SECPKG_CALL_PACKAGE_MESSAGE_TYPE = 1025i32;
04454e1e 5846#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5847pub const SecPkgCallPackageTransferCredMessage: SECPKG_CALL_PACKAGE_MESSAGE_TYPE = 1026i32;
04454e1e 5848#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5849pub const SecPkgCallPackageMaxMessage: SECPKG_CALL_PACKAGE_MESSAGE_TYPE = 1026i32;
5850#[repr(C)]
04454e1e 5851#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
5852#[cfg(feature = "Win32_Foundation")]
5853pub struct SECPKG_CALL_PACKAGE_PIN_DC_REQUEST {
5854 pub MessageType: u32,
5855 pub Flags: u32,
5856 pub DomainName: super::super::super::Foundation::UNICODE_STRING,
5857 pub DcName: super::super::super::Foundation::UNICODE_STRING,
5858 pub DcFlags: u32,
5859}
5860#[cfg(feature = "Win32_Foundation")]
5861impl ::core::marker::Copy for SECPKG_CALL_PACKAGE_PIN_DC_REQUEST {}
5862#[cfg(feature = "Win32_Foundation")]
5863impl ::core::clone::Clone for SECPKG_CALL_PACKAGE_PIN_DC_REQUEST {
5864 fn clone(&self) -> Self {
5865 *self
5866 }
5867}
5868#[repr(C)]
04454e1e 5869#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
5870#[cfg(feature = "Win32_Foundation")]
5871pub struct SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST {
5872 pub MessageType: u32,
5873 pub OriginLogonId: super::super::super::Foundation::LUID,
5874 pub DestinationLogonId: super::super::super::Foundation::LUID,
5875 pub Flags: u32,
5876}
5877#[cfg(feature = "Win32_Foundation")]
5878impl ::core::marker::Copy for SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST {}
5879#[cfg(feature = "Win32_Foundation")]
5880impl ::core::clone::Clone for SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST {
5881 fn clone(&self) -> Self {
5882 *self
5883 }
5884}
04454e1e 5885#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5886pub const SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST_FLAG_CLEANUP_CREDENTIALS: u32 = 2u32;
04454e1e 5887#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5888pub const SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST_FLAG_OPTIMISTIC_LOGON: u32 = 1u32;
04454e1e 5889#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5890pub const SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST_FLAG_TO_SSO_SESSION: u32 = 4u32;
5891#[repr(C)]
04454e1e 5892#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5893pub struct SECPKG_CALL_PACKAGE_UNPIN_ALL_DCS_REQUEST {
5894 pub MessageType: u32,
5895 pub Flags: u32,
5896}
5897impl ::core::marker::Copy for SECPKG_CALL_PACKAGE_UNPIN_ALL_DCS_REQUEST {}
5898impl ::core::clone::Clone for SECPKG_CALL_PACKAGE_UNPIN_ALL_DCS_REQUEST {
5899 fn clone(&self) -> Self {
5900 *self
5901 }
5902}
04454e1e 5903#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5904pub const SECPKG_CALL_PROCESS_TERM: u32 = 256u32;
04454e1e 5905#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5906pub const SECPKG_CALL_RECURSIVE: u32 = 8u32;
04454e1e 5907#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5908pub const SECPKG_CALL_SYSTEM_PROC: u32 = 8192u32;
04454e1e 5909#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5910pub const SECPKG_CALL_THREAD_TERM: u32 = 128u32;
04454e1e 5911#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5912pub const SECPKG_CALL_UNLOCK: u32 = 131072u32;
04454e1e 5913#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5914pub const SECPKG_CALL_URGENT: u32 = 4u32;
04454e1e 5915#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5916pub const SECPKG_CALL_WINLOGON: u32 = 2048u32;
04454e1e 5917#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5918pub const SECPKG_CALL_WOWA32: u32 = 262144u32;
04454e1e 5919#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5920pub const SECPKG_CALL_WOWCLIENT: u32 = 64u32;
04454e1e 5921#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5922pub const SECPKG_CALL_WOWX86: u32 = 64u32;
5923#[repr(C)]
04454e1e 5924#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
5925#[cfg(feature = "Win32_Foundation")]
5926pub struct SECPKG_CLIENT_INFO {
5927 pub LogonId: super::super::super::Foundation::LUID,
5928 pub ProcessID: u32,
5929 pub ThreadID: u32,
5930 pub HasTcbPrivilege: super::super::super::Foundation::BOOLEAN,
5931 pub Impersonating: super::super::super::Foundation::BOOLEAN,
5932 pub Restricted: super::super::super::Foundation::BOOLEAN,
5933 pub ClientFlags: u8,
5934 pub ImpersonationLevel: super::super::SECURITY_IMPERSONATION_LEVEL,
5935 pub ClientToken: super::super::super::Foundation::HANDLE,
5936}
5937#[cfg(feature = "Win32_Foundation")]
5938impl ::core::marker::Copy for SECPKG_CLIENT_INFO {}
5939#[cfg(feature = "Win32_Foundation")]
5940impl ::core::clone::Clone for SECPKG_CLIENT_INFO {
5941 fn clone(&self) -> Self {
5942 *self
5943 }
5944}
04454e1e 5945#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5946pub const SECPKG_CLIENT_PROCESS_TERMINATED: u32 = 1u32;
04454e1e 5947#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5948pub const SECPKG_CLIENT_THREAD_TERMINATED: u32 = 2u32;
5949#[repr(C)]
04454e1e 5950#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5951pub struct SECPKG_CONTEXT_THUNKS {
5952 pub InfoLevelCount: u32,
5953 pub Levels: [u32; 1],
5954}
5955impl ::core::marker::Copy for SECPKG_CONTEXT_THUNKS {}
5956impl ::core::clone::Clone for SECPKG_CONTEXT_THUNKS {
5957 fn clone(&self) -> Self {
5958 *self
5959 }
5960}
04454e1e 5961#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5962pub type SECPKG_CRED = u32;
04454e1e 5963#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5964pub const SECPKG_CRED_INBOUND: SECPKG_CRED = 1u32;
04454e1e 5965#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
5966pub const SECPKG_CRED_OUTBOUND: SECPKG_CRED = 2u32;
5967#[repr(C)]
04454e1e 5968#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
5969#[cfg(feature = "Win32_Foundation")]
5970pub struct SECPKG_CREDENTIAL {
5971 pub Version: u64,
5972 pub cbHeaderLength: u16,
5973 pub cbStructureLength: u32,
5974 pub ClientProcess: u32,
5975 pub ClientThread: u32,
5976 pub LogonId: super::super::super::Foundation::LUID,
5977 pub ClientToken: super::super::super::Foundation::HANDLE,
5978 pub SessionId: u32,
5979 pub ModifiedId: super::super::super::Foundation::LUID,
5980 pub fCredentials: u32,
5981 pub Flags: u32,
5982 pub PrincipalName: SECPKG_BYTE_VECTOR,
5983 pub PackageList: SECPKG_BYTE_VECTOR,
5984 pub MarshaledSuppliedCreds: SECPKG_BYTE_VECTOR,
5985}
5986#[cfg(feature = "Win32_Foundation")]
5987impl ::core::marker::Copy for SECPKG_CREDENTIAL {}
5988#[cfg(feature = "Win32_Foundation")]
5989impl ::core::clone::Clone for SECPKG_CREDENTIAL {
5990 fn clone(&self) -> Self {
5991 *self
5992 }
5993}
04454e1e 5994#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5995pub const SECPKG_CREDENTIAL_ATTRIBUTE: u32 = 0u32;
04454e1e 5996#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5997pub const SECPKG_CREDENTIAL_FLAGS_CALLER_HAS_TCB: u32 = 1u32;
04454e1e 5998#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 5999pub const SECPKG_CREDENTIAL_FLAGS_CREDMAN_CRED: u32 = 2u32;
04454e1e 6000#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6001pub const SECPKG_CREDENTIAL_VERSION: u32 = 201u32;
04454e1e 6002#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6003pub const SECPKG_CRED_ATTR_CERT: u32 = 4u32;
04454e1e 6004#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6005pub const SECPKG_CRED_ATTR_KDC_PROXY_SETTINGS: u32 = 3u32;
04454e1e 6006#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6007pub const SECPKG_CRED_ATTR_NAMES: u32 = 1u32;
04454e1e 6008#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6009pub const SECPKG_CRED_ATTR_PAC_BYPASS: u32 = 5u32;
04454e1e 6010#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6011pub const SECPKG_CRED_ATTR_SSI_PROVIDER: u32 = 2u32;
04454e1e 6012#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6013pub const SECPKG_CRED_AUTOLOGON_RESTRICTED: u32 = 16u32;
04454e1e 6014#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6015pub const SECPKG_CRED_BOTH: u32 = 3u32;
04454e1e 6016#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6017pub type SECPKG_CRED_CLASS = i32;
04454e1e 6018#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6019pub const SecPkgCredClass_None: SECPKG_CRED_CLASS = 0i32;
04454e1e 6020#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6021pub const SecPkgCredClass_Ephemeral: SECPKG_CRED_CLASS = 10i32;
04454e1e 6022#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6023pub const SecPkgCredClass_PersistedGeneric: SECPKG_CRED_CLASS = 20i32;
04454e1e 6024#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6025pub const SecPkgCredClass_PersistedSpecific: SECPKG_CRED_CLASS = 30i32;
04454e1e 6026#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6027pub const SecPkgCredClass_Explicit: SECPKG_CRED_CLASS = 40i32;
04454e1e 6028#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6029pub const SECPKG_CRED_DEFAULT: u32 = 4u32;
04454e1e 6030#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6031pub const SECPKG_CRED_PROCESS_POLICY_ONLY: u32 = 32u32;
04454e1e 6032#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6033pub const SECPKG_CRED_RESERVED: u32 = 4026531840u32;
6034#[repr(C)]
04454e1e 6035#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
6036#[cfg(feature = "Win32_Foundation")]
6037pub struct SECPKG_DLL_FUNCTIONS {
6038 pub AllocateHeap: PLSA_ALLOCATE_LSA_HEAP,
6039 pub FreeHeap: PLSA_FREE_LSA_HEAP,
6040 pub RegisterCallback: PLSA_REGISTER_CALLBACK,
6041 pub LocatePackageById: PLSA_LOCATE_PKG_BY_ID,
6042}
6043#[cfg(feature = "Win32_Foundation")]
6044impl ::core::marker::Copy for SECPKG_DLL_FUNCTIONS {}
6045#[cfg(feature = "Win32_Foundation")]
6046impl ::core::clone::Clone for SECPKG_DLL_FUNCTIONS {
6047 fn clone(&self) -> Self {
6048 *self
6049 }
6050}
6051#[repr(C)]
04454e1e 6052#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6053pub struct SECPKG_EVENT_NOTIFY {
6054 pub EventClass: u32,
6055 pub Reserved: u32,
6056 pub EventDataSize: u32,
6057 pub EventData: *mut ::core::ffi::c_void,
6058 pub PackageParameter: *mut ::core::ffi::c_void,
6059}
6060impl ::core::marker::Copy for SECPKG_EVENT_NOTIFY {}
6061impl ::core::clone::Clone for SECPKG_EVENT_NOTIFY {
6062 fn clone(&self) -> Self {
6063 *self
6064 }
6065}
6066#[repr(C)]
04454e1e 6067#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
6068#[cfg(feature = "Win32_Foundation")]
6069pub struct SECPKG_EVENT_PACKAGE_CHANGE {
6070 pub ChangeType: SECPKG_PACKAGE_CHANGE_TYPE,
6071 pub PackageId: usize,
6072 pub PackageName: super::super::super::Foundation::UNICODE_STRING,
6073}
6074#[cfg(feature = "Win32_Foundation")]
6075impl ::core::marker::Copy for SECPKG_EVENT_PACKAGE_CHANGE {}
6076#[cfg(feature = "Win32_Foundation")]
6077impl ::core::clone::Clone for SECPKG_EVENT_PACKAGE_CHANGE {
6078 fn clone(&self) -> Self {
6079 *self
6080 }
6081}
6082#[repr(C)]
04454e1e 6083#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6084pub struct SECPKG_EVENT_ROLE_CHANGE {
6085 pub PreviousRole: u32,
6086 pub NewRole: u32,
6087}
6088impl ::core::marker::Copy for SECPKG_EVENT_ROLE_CHANGE {}
6089impl ::core::clone::Clone for SECPKG_EVENT_ROLE_CHANGE {
6090 fn clone(&self) -> Self {
6091 *self
6092 }
6093}
6094#[repr(C)]
04454e1e 6095#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
6096#[cfg(feature = "Win32_Foundation")]
6097pub struct SECPKG_EXTENDED_INFORMATION {
6098 pub Class: SECPKG_EXTENDED_INFORMATION_CLASS,
6099 pub Info: SECPKG_EXTENDED_INFORMATION_0,
6100}
6101#[cfg(feature = "Win32_Foundation")]
6102impl ::core::marker::Copy for SECPKG_EXTENDED_INFORMATION {}
6103#[cfg(feature = "Win32_Foundation")]
6104impl ::core::clone::Clone for SECPKG_EXTENDED_INFORMATION {
6105 fn clone(&self) -> Self {
6106 *self
6107 }
6108}
6109#[repr(C)]
04454e1e 6110#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
6111#[cfg(feature = "Win32_Foundation")]
6112pub union SECPKG_EXTENDED_INFORMATION_0 {
6113 pub GssInfo: SECPKG_GSS_INFO,
6114 pub ContextThunks: SECPKG_CONTEXT_THUNKS,
6115 pub MutualAuthLevel: SECPKG_MUTUAL_AUTH_LEVEL,
6116 pub WowClientDll: SECPKG_WOW_CLIENT_DLL,
6117 pub ExtraOids: SECPKG_EXTRA_OIDS,
6118 pub Nego2Info: SECPKG_NEGO2_INFO,
6119}
6120#[cfg(feature = "Win32_Foundation")]
6121impl ::core::marker::Copy for SECPKG_EXTENDED_INFORMATION_0 {}
6122#[cfg(feature = "Win32_Foundation")]
6123impl ::core::clone::Clone for SECPKG_EXTENDED_INFORMATION_0 {
6124 fn clone(&self) -> Self {
6125 *self
6126 }
6127}
04454e1e 6128#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6129pub type SECPKG_EXTENDED_INFORMATION_CLASS = i32;
04454e1e 6130#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6131pub const SecpkgGssInfo: SECPKG_EXTENDED_INFORMATION_CLASS = 1i32;
04454e1e 6132#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6133pub const SecpkgContextThunks: SECPKG_EXTENDED_INFORMATION_CLASS = 2i32;
04454e1e 6134#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6135pub const SecpkgMutualAuthLevel: SECPKG_EXTENDED_INFORMATION_CLASS = 3i32;
04454e1e 6136#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6137pub const SecpkgWowClientDll: SECPKG_EXTENDED_INFORMATION_CLASS = 4i32;
04454e1e 6138#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6139pub const SecpkgExtraOids: SECPKG_EXTENDED_INFORMATION_CLASS = 5i32;
04454e1e 6140#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6141pub const SecpkgMaxInfo: SECPKG_EXTENDED_INFORMATION_CLASS = 6i32;
04454e1e 6142#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6143pub const SecpkgNego2Info: SECPKG_EXTENDED_INFORMATION_CLASS = 7i32;
6144#[repr(C)]
04454e1e 6145#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6146pub struct SECPKG_EXTRA_OIDS {
6147 pub OidCount: u32,
6148 pub Oids: [SECPKG_SERIALIZED_OID; 1],
6149}
6150impl ::core::marker::Copy for SECPKG_EXTRA_OIDS {}
6151impl ::core::clone::Clone for SECPKG_EXTRA_OIDS {
6152 fn clone(&self) -> Self {
6153 *self
6154 }
6155}
04454e1e 6156#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6157pub const SECPKG_FLAG_ACCEPT_WIN32_NAME: u32 = 512u32;
04454e1e 6158#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6159pub const SECPKG_FLAG_APPCONTAINER_CHECKS: u32 = 8388608u32;
04454e1e 6160#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6161pub const SECPKG_FLAG_APPCONTAINER_PASSTHROUGH: u32 = 4194304u32;
04454e1e 6162#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6163pub const SECPKG_FLAG_APPLY_LOOPBACK: u32 = 33554432u32;
04454e1e 6164#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6165pub const SECPKG_FLAG_ASCII_BUFFERS: u32 = 16384u32;
04454e1e 6166#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6167pub const SECPKG_FLAG_CLIENT_ONLY: u32 = 64u32;
04454e1e 6168#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6169pub const SECPKG_FLAG_CONNECTION: u32 = 16u32;
04454e1e 6170#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6171pub const SECPKG_FLAG_CREDENTIAL_ISOLATION_ENABLED: u32 = 16777216u32;
04454e1e 6172#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6173pub const SECPKG_FLAG_DATAGRAM: u32 = 8u32;
04454e1e 6174#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6175pub const SECPKG_FLAG_DELEGATION: u32 = 131072u32;
04454e1e 6176#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6177pub const SECPKG_FLAG_EXTENDED_ERROR: u32 = 128u32;
04454e1e 6178#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6179pub const SECPKG_FLAG_FRAGMENT: u32 = 32768u32;
04454e1e 6180#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6181pub const SECPKG_FLAG_GSS_COMPATIBLE: u32 = 4096u32;
04454e1e 6182#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6183pub const SECPKG_FLAG_IMPERSONATION: u32 = 256u32;
04454e1e 6184#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6185pub const SECPKG_FLAG_INTEGRITY: u32 = 1u32;
04454e1e 6186#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6187pub const SECPKG_FLAG_LOGON: u32 = 8192u32;
04454e1e 6188#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6189pub const SECPKG_FLAG_MULTI_REQUIRED: u32 = 32u32;
04454e1e 6190#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6191pub const SECPKG_FLAG_MUTUAL_AUTH: u32 = 65536u32;
04454e1e 6192#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6193pub const SECPKG_FLAG_NEGOTIABLE: u32 = 2048u32;
04454e1e 6194#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6195pub const SECPKG_FLAG_NEGOTIABLE2: u32 = 2097152u32;
04454e1e 6196#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6197pub const SECPKG_FLAG_NEGO_EXTENDER: u32 = 1048576u32;
04454e1e 6198#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6199pub const SECPKG_FLAG_PRIVACY: u32 = 2u32;
04454e1e 6200#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6201pub const SECPKG_FLAG_READONLY_WITH_CHECKSUM: u32 = 262144u32;
04454e1e 6202#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6203pub const SECPKG_FLAG_RESTRICTED_TOKENS: u32 = 524288u32;
04454e1e 6204#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6205pub const SECPKG_FLAG_STREAM: u32 = 1024u32;
04454e1e 6206#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6207pub const SECPKG_FLAG_TOKEN_ONLY: u32 = 4u32;
6208#[repr(C)]
04454e1e 6209#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Threading\"`*"]
5e7ed085
FG
6210#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
6211pub struct SECPKG_FUNCTION_TABLE {
6212 pub InitializePackage: PLSA_AP_INITIALIZE_PACKAGE,
6213 pub LogonUserA: PLSA_AP_LOGON_USER,
6214 pub CallPackage: PLSA_AP_CALL_PACKAGE,
6215 pub LogonTerminated: PLSA_AP_LOGON_TERMINATED,
6216 pub CallPackageUntrusted: PLSA_AP_CALL_PACKAGE,
6217 pub CallPackagePassthrough: PLSA_AP_CALL_PACKAGE_PASSTHROUGH,
6218 pub LogonUserExA: PLSA_AP_LOGON_USER_EX,
6219 pub LogonUserEx2: PLSA_AP_LOGON_USER_EX2,
6220 pub Initialize: SpInitializeFn,
6221 pub Shutdown: SpShutdownFn,
6222 pub GetInfo: SpGetInfoFn,
6223 pub AcceptCredentials: SpAcceptCredentialsFn,
6224 pub AcquireCredentialsHandleA: SpAcquireCredentialsHandleFn,
6225 pub QueryCredentialsAttributesA: SpQueryCredentialsAttributesFn,
6226 pub FreeCredentialsHandle: SpFreeCredentialsHandleFn,
6227 pub SaveCredentials: SpSaveCredentialsFn,
6228 pub GetCredentials: SpGetCredentialsFn,
6229 pub DeleteCredentials: SpDeleteCredentialsFn,
6230 pub InitLsaModeContext: SpInitLsaModeContextFn,
6231 pub AcceptLsaModeContext: SpAcceptLsaModeContextFn,
6232 pub DeleteContext: SpDeleteContextFn,
6233 pub ApplyControlToken: SpApplyControlTokenFn,
6234 pub GetUserInfo: SpGetUserInfoFn,
6235 pub GetExtendedInformation: SpGetExtendedInformationFn,
6236 pub QueryContextAttributesA: SpQueryContextAttributesFn,
6237 pub AddCredentialsA: SpAddCredentialsFn,
6238 pub SetExtendedInformation: SpSetExtendedInformationFn,
6239 pub SetContextAttributesA: SpSetContextAttributesFn,
6240 pub SetCredentialsAttributesA: SpSetCredentialsAttributesFn,
6241 pub ChangeAccountPasswordA: SpChangeAccountPasswordFn,
6242 pub QueryMetaData: SpQueryMetaDataFn,
6243 pub ExchangeMetaData: SpExchangeMetaDataFn,
6244 pub GetCredUIContext: SpGetCredUIContextFn,
6245 pub UpdateCredentials: SpUpdateCredentialsFn,
6246 pub ValidateTargetInfo: SpValidateTargetInfoFn,
6247 pub PostLogonUser: LSA_AP_POST_LOGON_USER,
6248 pub GetRemoteCredGuardLogonBuffer: SpGetRemoteCredGuardLogonBufferFn,
6249 pub GetRemoteCredGuardSupplementalCreds: SpGetRemoteCredGuardSupplementalCredsFn,
6250 pub GetTbalSupplementalCreds: SpGetTbalSupplementalCredsFn,
6251 pub LogonUserEx3: PLSA_AP_LOGON_USER_EX3,
6252 pub PreLogonUserSurrogate: PLSA_AP_PRE_LOGON_USER_SURROGATE,
6253 pub PostLogonUserSurrogate: PLSA_AP_POST_LOGON_USER_SURROGATE,
6254}
6255#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
6256impl ::core::marker::Copy for SECPKG_FUNCTION_TABLE {}
6257#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
6258impl ::core::clone::Clone for SECPKG_FUNCTION_TABLE {
6259 fn clone(&self) -> Self {
6260 *self
6261 }
6262}
6263#[repr(C)]
04454e1e 6264#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6265pub struct SECPKG_GSS_INFO {
6266 pub EncodedIdLength: u32,
6267 pub EncodedId: [u8; 4],
6268}
6269impl ::core::marker::Copy for SECPKG_GSS_INFO {}
6270impl ::core::clone::Clone for SECPKG_GSS_INFO {
6271 fn clone(&self) -> Self {
6272 *self
6273 }
6274}
04454e1e 6275#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6276pub const SECPKG_ID_NONE: u32 = 65535u32;
04454e1e 6277#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6278pub const SECPKG_INTERFACE_VERSION: u32 = 65536u32;
04454e1e 6279#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6280pub const SECPKG_INTERFACE_VERSION_10: u32 = 33554432u32;
04454e1e 6281#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6282pub const SECPKG_INTERFACE_VERSION_2: u32 = 131072u32;
04454e1e 6283#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6284pub const SECPKG_INTERFACE_VERSION_3: u32 = 262144u32;
04454e1e 6285#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6286pub const SECPKG_INTERFACE_VERSION_4: u32 = 524288u32;
04454e1e 6287#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6288pub const SECPKG_INTERFACE_VERSION_5: u32 = 1048576u32;
04454e1e 6289#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6290pub const SECPKG_INTERFACE_VERSION_6: u32 = 2097152u32;
04454e1e 6291#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6292pub const SECPKG_INTERFACE_VERSION_7: u32 = 4194304u32;
04454e1e 6293#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6294pub const SECPKG_INTERFACE_VERSION_8: u32 = 8388608u32;
04454e1e 6295#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6296pub const SECPKG_INTERFACE_VERSION_9: u32 = 16777216u32;
6297#[repr(C)]
04454e1e 6298#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
5e7ed085
FG
6299#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
6300pub struct SECPKG_KERNEL_FUNCTIONS {
6301 pub AllocateHeap: PLSA_ALLOCATE_LSA_HEAP,
6302 pub FreeHeap: PLSA_FREE_LSA_HEAP,
6303 pub CreateContextList: PKSEC_CREATE_CONTEXT_LIST,
6304 pub InsertListEntry: PKSEC_INSERT_LIST_ENTRY,
6305 pub ReferenceListEntry: PKSEC_REFERENCE_LIST_ENTRY,
6306 pub DereferenceListEntry: PKSEC_DEREFERENCE_LIST_ENTRY,
6307 pub SerializeWinntAuthData: PKSEC_SERIALIZE_WINNT_AUTH_DATA,
6308 pub SerializeSchannelAuthData: PKSEC_SERIALIZE_SCHANNEL_AUTH_DATA,
6309 pub LocatePackageById: PKSEC_LOCATE_PKG_BY_ID,
6310}
6311#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
6312impl ::core::marker::Copy for SECPKG_KERNEL_FUNCTIONS {}
6313#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
6314impl ::core::clone::Clone for SECPKG_KERNEL_FUNCTIONS {
6315 fn clone(&self) -> Self {
6316 *self
6317 }
6318}
6319#[repr(C)]
04454e1e 6320#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
5e7ed085
FG
6321#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
6322pub struct SECPKG_KERNEL_FUNCTION_TABLE {
6323 pub Initialize: KspInitPackageFn,
6324 pub DeleteContext: KspDeleteContextFn,
6325 pub InitContext: KspInitContextFn,
6326 pub MapHandle: KspMapHandleFn,
6327 pub Sign: KspMakeSignatureFn,
6328 pub Verify: KspVerifySignatureFn,
6329 pub Seal: KspSealMessageFn,
6330 pub Unseal: KspUnsealMessageFn,
6331 pub GetToken: KspGetTokenFn,
6332 pub QueryAttributes: KspQueryAttributesFn,
6333 pub CompleteToken: KspCompleteTokenFn,
6334 pub ExportContext: SpExportSecurityContextFn,
6335 pub ImportContext: SpImportSecurityContextFn,
6336 pub SetPackagePagingMode: KspSetPagingModeFn,
6337 pub SerializeAuthData: KspSerializeAuthDataFn,
6338}
6339#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
6340impl ::core::marker::Copy for SECPKG_KERNEL_FUNCTION_TABLE {}
6341#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
6342impl ::core::clone::Clone for SECPKG_KERNEL_FUNCTION_TABLE {
6343 fn clone(&self) -> Self {
6344 *self
6345 }
6346}
04454e1e 6347#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 6348pub const SECPKG_LSAMODEINIT_NAME: &str = "SpLsaModeInitialize";
04454e1e 6349#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6350pub const SECPKG_MAX_OID_LENGTH: u32 = 32u32;
6351#[repr(C)]
04454e1e 6352#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6353pub struct SECPKG_MUTUAL_AUTH_LEVEL {
6354 pub MutualAuthLevel: u32,
6355}
6356impl ::core::marker::Copy for SECPKG_MUTUAL_AUTH_LEVEL {}
6357impl ::core::clone::Clone for SECPKG_MUTUAL_AUTH_LEVEL {
6358 fn clone(&self) -> Self {
6359 *self
6360 }
6361}
04454e1e 6362#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6363pub type SECPKG_NAME_TYPE = i32;
04454e1e 6364#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6365pub const SecNameSamCompatible: SECPKG_NAME_TYPE = 0i32;
04454e1e 6366#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6367pub const SecNameAlternateId: SECPKG_NAME_TYPE = 1i32;
04454e1e 6368#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6369pub const SecNameFlat: SECPKG_NAME_TYPE = 2i32;
04454e1e 6370#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6371pub const SecNameDN: SECPKG_NAME_TYPE = 3i32;
04454e1e 6372#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6373pub const SecNameSPN: SECPKG_NAME_TYPE = 4i32;
6374#[repr(C)]
04454e1e 6375#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6376pub struct SECPKG_NEGO2_INFO {
6377 pub AuthScheme: [u8; 16],
6378 pub PackageFlags: u32,
6379}
6380impl ::core::marker::Copy for SECPKG_NEGO2_INFO {}
6381impl ::core::clone::Clone for SECPKG_NEGO2_INFO {
6382 fn clone(&self) -> Self {
6383 *self
6384 }
6385}
04454e1e 6386#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6387pub const SECPKG_NEGOTIATION_COMPLETE: u32 = 0u32;
04454e1e 6388#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6389pub const SECPKG_NEGOTIATION_DIRECT: u32 = 3u32;
04454e1e 6390#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6391pub const SECPKG_NEGOTIATION_IN_PROGRESS: u32 = 2u32;
04454e1e 6392#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6393pub const SECPKG_NEGOTIATION_OPTIMISTIC: u32 = 1u32;
04454e1e 6394#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6395pub const SECPKG_NEGOTIATION_TRY_MULTICRED: u32 = 4u32;
04454e1e 6396#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6397pub const SECPKG_OPTIONS_PERMANENT: u32 = 1u32;
04454e1e 6398#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6399pub type SECPKG_PACKAGE_CHANGE_TYPE = u32;
04454e1e 6400#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6401pub const SECPKG_PACKAGE_CHANGE_LOAD: SECPKG_PACKAGE_CHANGE_TYPE = 0u32;
04454e1e 6402#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6403pub const SECPKG_PACKAGE_CHANGE_UNLOAD: SECPKG_PACKAGE_CHANGE_TYPE = 1u32;
04454e1e 6404#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6405pub const SECPKG_PACKAGE_CHANGE_SELECT: SECPKG_PACKAGE_CHANGE_TYPE = 2u32;
6406#[repr(C)]
04454e1e 6407#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
6408#[cfg(feature = "Win32_Foundation")]
6409pub struct SECPKG_PARAMETERS {
6410 pub Version: u32,
6411 pub MachineState: u32,
6412 pub SetupMode: u32,
6413 pub DomainSid: super::super::super::Foundation::PSID,
6414 pub DomainName: super::super::super::Foundation::UNICODE_STRING,
6415 pub DnsDomainName: super::super::super::Foundation::UNICODE_STRING,
6416 pub DomainGuid: ::windows_sys::core::GUID,
6417}
6418#[cfg(feature = "Win32_Foundation")]
6419impl ::core::marker::Copy for SECPKG_PARAMETERS {}
6420#[cfg(feature = "Win32_Foundation")]
6421impl ::core::clone::Clone for SECPKG_PARAMETERS {
6422 fn clone(&self) -> Self {
6423 *self
6424 }
6425}
6426#[repr(C)]
04454e1e 6427#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
6428#[cfg(feature = "Win32_Foundation")]
6429pub struct SECPKG_POST_LOGON_USER_INFO {
6430 pub Flags: u32,
6431 pub LogonId: super::super::super::Foundation::LUID,
6432 pub LinkedLogonId: super::super::super::Foundation::LUID,
6433}
6434#[cfg(feature = "Win32_Foundation")]
6435impl ::core::marker::Copy for SECPKG_POST_LOGON_USER_INFO {}
6436#[cfg(feature = "Win32_Foundation")]
6437impl ::core::clone::Clone for SECPKG_POST_LOGON_USER_INFO {
6438 fn clone(&self) -> Self {
6439 *self
6440 }
6441}
6442#[repr(C)]
04454e1e 6443#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
6444#[cfg(feature = "Win32_Foundation")]
6445pub struct SECPKG_PRIMARY_CRED {
6446 pub LogonId: super::super::super::Foundation::LUID,
6447 pub DownlevelName: super::super::super::Foundation::UNICODE_STRING,
6448 pub DomainName: super::super::super::Foundation::UNICODE_STRING,
6449 pub Password: super::super::super::Foundation::UNICODE_STRING,
6450 pub OldPassword: super::super::super::Foundation::UNICODE_STRING,
6451 pub UserSid: super::super::super::Foundation::PSID,
6452 pub Flags: u32,
6453 pub DnsDomainName: super::super::super::Foundation::UNICODE_STRING,
6454 pub Upn: super::super::super::Foundation::UNICODE_STRING,
6455 pub LogonServer: super::super::super::Foundation::UNICODE_STRING,
6456 pub Spare1: super::super::super::Foundation::UNICODE_STRING,
6457 pub Spare2: super::super::super::Foundation::UNICODE_STRING,
6458 pub Spare3: super::super::super::Foundation::UNICODE_STRING,
6459 pub Spare4: super::super::super::Foundation::UNICODE_STRING,
6460}
6461#[cfg(feature = "Win32_Foundation")]
6462impl ::core::marker::Copy for SECPKG_PRIMARY_CRED {}
6463#[cfg(feature = "Win32_Foundation")]
6464impl ::core::clone::Clone for SECPKG_PRIMARY_CRED {
6465 fn clone(&self) -> Self {
6466 *self
6467 }
6468}
6469#[repr(C)]
04454e1e 6470#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
6471#[cfg(feature = "Win32_Foundation")]
6472pub struct SECPKG_PRIMARY_CRED_EX {
6473 pub LogonId: super::super::super::Foundation::LUID,
6474 pub DownlevelName: super::super::super::Foundation::UNICODE_STRING,
6475 pub DomainName: super::super::super::Foundation::UNICODE_STRING,
6476 pub Password: super::super::super::Foundation::UNICODE_STRING,
6477 pub OldPassword: super::super::super::Foundation::UNICODE_STRING,
6478 pub UserSid: super::super::super::Foundation::PSID,
6479 pub Flags: u32,
6480 pub DnsDomainName: super::super::super::Foundation::UNICODE_STRING,
6481 pub Upn: super::super::super::Foundation::UNICODE_STRING,
6482 pub LogonServer: super::super::super::Foundation::UNICODE_STRING,
6483 pub Spare1: super::super::super::Foundation::UNICODE_STRING,
6484 pub Spare2: super::super::super::Foundation::UNICODE_STRING,
6485 pub Spare3: super::super::super::Foundation::UNICODE_STRING,
6486 pub Spare4: super::super::super::Foundation::UNICODE_STRING,
6487 pub PackageId: usize,
6488 pub PrevLogonId: super::super::super::Foundation::LUID,
6489 pub FlagsEx: u32,
6490}
6491#[cfg(feature = "Win32_Foundation")]
6492impl ::core::marker::Copy for SECPKG_PRIMARY_CRED_EX {}
6493#[cfg(feature = "Win32_Foundation")]
6494impl ::core::clone::Clone for SECPKG_PRIMARY_CRED_EX {
6495 fn clone(&self) -> Self {
6496 *self
6497 }
6498}
04454e1e 6499#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6500pub const SECPKG_PRIMARY_CRED_EX_FLAGS_EX_DELEGATION_TOKEN: u32 = 1u32;
6501#[repr(C)]
04454e1e 6502#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
6503#[cfg(feature = "Win32_Foundation")]
6504pub struct SECPKG_REDIRECTED_LOGON_BUFFER {
6505 pub RedirectedLogonGuid: ::windows_sys::core::GUID,
6506 pub RedirectedLogonHandle: super::super::super::Foundation::HANDLE,
6507 pub Init: PLSA_REDIRECTED_LOGON_INIT,
6508 pub Callback: PLSA_REDIRECTED_LOGON_CALLBACK,
6509 pub CleanupCallback: PLSA_REDIRECTED_LOGON_CLEANUP_CALLBACK,
6510 pub GetLogonCreds: PLSA_REDIRECTED_LOGON_GET_LOGON_CREDS,
6511 pub GetSupplementalCreds: PLSA_REDIRECTED_LOGON_GET_SUPP_CREDS,
6512}
6513#[cfg(feature = "Win32_Foundation")]
6514impl ::core::marker::Copy for SECPKG_REDIRECTED_LOGON_BUFFER {}
6515#[cfg(feature = "Win32_Foundation")]
6516impl ::core::clone::Clone for SECPKG_REDIRECTED_LOGON_BUFFER {
6517 fn clone(&self) -> Self {
6518 *self
6519 }
6520}
6521#[repr(C)]
04454e1e 6522#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6523pub struct SECPKG_SERIALIZED_OID {
6524 pub OidLength: u32,
6525 pub OidAttributes: u32,
6526 pub OidValue: [u8; 32],
6527}
6528impl ::core::marker::Copy for SECPKG_SERIALIZED_OID {}
6529impl ::core::clone::Clone for SECPKG_SERIALIZED_OID {
6530 fn clone(&self) -> Self {
6531 *self
6532 }
6533}
04454e1e 6534#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6535pub type SECPKG_SESSIONINFO_TYPE = i32;
04454e1e 6536#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6537pub const SecSessionPrimaryCred: SECPKG_SESSIONINFO_TYPE = 0i32;
6538#[repr(C)]
04454e1e 6539#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6540pub struct SECPKG_SHORT_VECTOR {
6541 pub ShortArrayOffset: u32,
6542 pub ShortArrayCount: u16,
6543}
6544impl ::core::marker::Copy for SECPKG_SHORT_VECTOR {}
6545impl ::core::clone::Clone for SECPKG_SHORT_VECTOR {
6546 fn clone(&self) -> Self {
6547 *self
6548 }
6549}
04454e1e 6550#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6551pub const SECPKG_STATE_CRED_ISOLATION_ENABLED: u32 = 32u32;
04454e1e 6552#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6553pub const SECPKG_STATE_DOMAIN_CONTROLLER: u32 = 4u32;
04454e1e 6554#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6555pub const SECPKG_STATE_ENCRYPTION_PERMITTED: u32 = 1u32;
04454e1e 6556#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6557pub const SECPKG_STATE_RESERVED_1: u32 = 2147483648u32;
04454e1e 6558#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6559pub const SECPKG_STATE_STANDALONE: u32 = 16u32;
04454e1e 6560#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6561pub const SECPKG_STATE_STRONG_ENCRYPTION_PERMITTED: u32 = 2u32;
04454e1e 6562#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6563pub const SECPKG_STATE_WORKSTATION: u32 = 8u32;
6564#[repr(C)]
04454e1e 6565#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
6566#[cfg(feature = "Win32_Foundation")]
6567pub struct SECPKG_SUPPLEMENTAL_CRED {
6568 pub PackageName: super::super::super::Foundation::UNICODE_STRING,
6569 pub CredentialSize: u32,
6570 pub Credentials: *mut u8,
6571}
6572#[cfg(feature = "Win32_Foundation")]
6573impl ::core::marker::Copy for SECPKG_SUPPLEMENTAL_CRED {}
6574#[cfg(feature = "Win32_Foundation")]
6575impl ::core::clone::Clone for SECPKG_SUPPLEMENTAL_CRED {
6576 fn clone(&self) -> Self {
6577 *self
6578 }
6579}
6580#[repr(C)]
04454e1e 6581#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
6582#[cfg(feature = "Win32_Foundation")]
6583pub struct SECPKG_SUPPLEMENTAL_CRED_ARRAY {
6584 pub CredentialCount: u32,
6585 pub Credentials: [SECPKG_SUPPLEMENTAL_CRED; 1],
6586}
6587#[cfg(feature = "Win32_Foundation")]
6588impl ::core::marker::Copy for SECPKG_SUPPLEMENTAL_CRED_ARRAY {}
6589#[cfg(feature = "Win32_Foundation")]
6590impl ::core::clone::Clone for SECPKG_SUPPLEMENTAL_CRED_ARRAY {
6591 fn clone(&self) -> Self {
6592 *self
6593 }
6594}
6595#[repr(C)]
04454e1e 6596#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6597pub struct SECPKG_SUPPLIED_CREDENTIAL {
6598 pub cbHeaderLength: u16,
6599 pub cbStructureLength: u16,
6600 pub UserName: SECPKG_SHORT_VECTOR,
6601 pub DomainName: SECPKG_SHORT_VECTOR,
6602 pub PackedCredentials: SECPKG_BYTE_VECTOR,
6603 pub CredFlags: u32,
6604}
6605impl ::core::marker::Copy for SECPKG_SUPPLIED_CREDENTIAL {}
6606impl ::core::clone::Clone for SECPKG_SUPPLIED_CREDENTIAL {
6607 fn clone(&self) -> Self {
6608 *self
6609 }
6610}
6611#[repr(C)]
04454e1e 6612#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
6613#[cfg(feature = "Win32_Foundation")]
6614pub struct SECPKG_SURROGATE_LOGON {
6615 pub Version: u32,
6616 pub SurrogateLogonID: super::super::super::Foundation::LUID,
6617 pub EntryCount: u32,
6618 pub Entries: *mut SECPKG_SURROGATE_LOGON_ENTRY,
6619}
6620#[cfg(feature = "Win32_Foundation")]
6621impl ::core::marker::Copy for SECPKG_SURROGATE_LOGON {}
6622#[cfg(feature = "Win32_Foundation")]
6623impl ::core::clone::Clone for SECPKG_SURROGATE_LOGON {
6624 fn clone(&self) -> Self {
6625 *self
6626 }
6627}
6628#[repr(C)]
04454e1e 6629#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6630pub struct SECPKG_SURROGATE_LOGON_ENTRY {
6631 pub Type: ::windows_sys::core::GUID,
6632 pub Data: *mut ::core::ffi::c_void,
6633}
6634impl ::core::marker::Copy for SECPKG_SURROGATE_LOGON_ENTRY {}
6635impl ::core::clone::Clone for SECPKG_SURROGATE_LOGON_ENTRY {
6636 fn clone(&self) -> Self {
6637 *self
6638 }
6639}
04454e1e 6640#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6641pub const SECPKG_SURROGATE_LOGON_VERSION_1: u32 = 1u32;
6642#[repr(C)]
04454e1e 6643#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
6644#[cfg(feature = "Win32_Foundation")]
6645pub struct SECPKG_TARGETINFO {
6646 pub DomainSid: super::super::super::Foundation::PSID,
04454e1e 6647 pub ComputerName: ::windows_sys::core::PCWSTR,
5e7ed085
FG
6648}
6649#[cfg(feature = "Win32_Foundation")]
6650impl ::core::marker::Copy for SECPKG_TARGETINFO {}
6651#[cfg(feature = "Win32_Foundation")]
6652impl ::core::clone::Clone for SECPKG_TARGETINFO {
6653 fn clone(&self) -> Self {
6654 *self
6655 }
6656}
04454e1e 6657#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6658pub const SECPKG_UNICODE_ATTRIBUTE: u32 = 2147483648u32;
04454e1e 6659#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 6660pub const SECPKG_USERMODEINIT_NAME: &str = "SpUserModeInitialize";
5e7ed085 6661#[repr(C)]
04454e1e 6662#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
6663#[cfg(feature = "Win32_Foundation")]
6664pub struct SECPKG_USER_FUNCTION_TABLE {
6665 pub InstanceInit: SpInstanceInitFn,
6666 pub InitUserModeContext: SpInitUserModeContextFn,
6667 pub MakeSignature: SpMakeSignatureFn,
6668 pub VerifySignature: SpVerifySignatureFn,
6669 pub SealMessage: SpSealMessageFn,
6670 pub UnsealMessage: SpUnsealMessageFn,
6671 pub GetContextToken: SpGetContextTokenFn,
6672 pub QueryContextAttributesA: SpQueryContextAttributesFn,
6673 pub CompleteAuthToken: SpCompleteAuthTokenFn,
6674 pub DeleteUserModeContext: SpDeleteContextFn,
6675 pub FormatCredentials: SpFormatCredentialsFn,
6676 pub MarshallSupplementalCreds: SpMarshallSupplementalCredsFn,
6677 pub ExportContext: SpExportSecurityContextFn,
6678 pub ImportContext: SpImportSecurityContextFn,
6679 pub MarshalAttributeData: SpMarshalAttributeDataFn,
6680}
6681#[cfg(feature = "Win32_Foundation")]
6682impl ::core::marker::Copy for SECPKG_USER_FUNCTION_TABLE {}
6683#[cfg(feature = "Win32_Foundation")]
6684impl ::core::clone::Clone for SECPKG_USER_FUNCTION_TABLE {
6685 fn clone(&self) -> Self {
6686 *self
6687 }
6688}
6689#[repr(C)]
04454e1e 6690#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
6691#[cfg(feature = "Win32_Foundation")]
6692pub struct SECPKG_WOW_CLIENT_DLL {
6693 pub WowClientDllPath: super::super::super::Foundation::UNICODE_STRING,
6694}
6695#[cfg(feature = "Win32_Foundation")]
6696impl ::core::marker::Copy for SECPKG_WOW_CLIENT_DLL {}
6697#[cfg(feature = "Win32_Foundation")]
6698impl ::core::clone::Clone for SECPKG_WOW_CLIENT_DLL {
6699 fn clone(&self) -> Self {
6700 *self
6701 }
6702}
04454e1e 6703#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6704pub const SECQOP_WRAP_NO_ENCRYPT: u32 = 2147483649u32;
04454e1e 6705#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6706pub const SECQOP_WRAP_OOB_DATA: u32 = 1073741824u32;
04454e1e 6707#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6708pub const SECRET_QUERY_VALUE: i32 = 2i32;
04454e1e 6709#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6710pub const SECRET_SET_VALUE: i32 = 1i32;
04454e1e 6711#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 6712pub const SECURITY_ENTRYPOINT: &str = "INITSECURITYINTERFACEA";
04454e1e 6713#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 6714pub const SECURITY_ENTRYPOINT16: &str = "INITSECURITYINTERFACEA";
04454e1e 6715#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 6716pub const SECURITY_ENTRYPOINT_ANSI: &str = "InitSecurityInterfaceW";
04454e1e 6717#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 6718pub const SECURITY_ENTRYPOINT_ANSIA: &str = "InitSecurityInterfaceA";
04454e1e 6719#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 6720pub const SECURITY_ENTRYPOINT_ANSIW: &str = "InitSecurityInterfaceW";
5e7ed085 6721#[repr(C)]
04454e1e 6722#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
6723#[cfg(feature = "Win32_Foundation")]
6724pub struct SECURITY_LOGON_SESSION_DATA {
6725 pub Size: u32,
6726 pub LogonId: super::super::super::Foundation::LUID,
6727 pub UserName: super::super::super::Foundation::UNICODE_STRING,
6728 pub LogonDomain: super::super::super::Foundation::UNICODE_STRING,
6729 pub AuthenticationPackage: super::super::super::Foundation::UNICODE_STRING,
6730 pub LogonType: u32,
6731 pub Session: u32,
6732 pub Sid: super::super::super::Foundation::PSID,
6733 pub LogonTime: i64,
6734 pub LogonServer: super::super::super::Foundation::UNICODE_STRING,
6735 pub DnsDomainName: super::super::super::Foundation::UNICODE_STRING,
6736 pub Upn: super::super::super::Foundation::UNICODE_STRING,
6737 pub UserFlags: u32,
6738 pub LastLogonInfo: LSA_LAST_INTER_LOGON_INFO,
6739 pub LogonScript: super::super::super::Foundation::UNICODE_STRING,
6740 pub ProfilePath: super::super::super::Foundation::UNICODE_STRING,
6741 pub HomeDirectory: super::super::super::Foundation::UNICODE_STRING,
6742 pub HomeDirectoryDrive: super::super::super::Foundation::UNICODE_STRING,
6743 pub LogoffTime: i64,
6744 pub KickOffTime: i64,
6745 pub PasswordLastSet: i64,
6746 pub PasswordCanChange: i64,
6747 pub PasswordMustChange: i64,
6748}
6749#[cfg(feature = "Win32_Foundation")]
6750impl ::core::marker::Copy for SECURITY_LOGON_SESSION_DATA {}
6751#[cfg(feature = "Win32_Foundation")]
6752impl ::core::clone::Clone for SECURITY_LOGON_SESSION_DATA {
6753 fn clone(&self) -> Self {
6754 *self
6755 }
6756}
04454e1e 6757#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6758#[repr(transparent)]
6759pub struct SECURITY_LOGON_TYPE(pub i32);
6760impl SECURITY_LOGON_TYPE {
6761 pub const UndefinedLogonType: Self = Self(0i32);
6762 pub const Interactive: Self = Self(2i32);
6763 pub const Network: Self = Self(3i32);
6764 pub const Batch: Self = Self(4i32);
6765 pub const Service: Self = Self(5i32);
6766 pub const Proxy: Self = Self(6i32);
6767 pub const Unlock: Self = Self(7i32);
6768 pub const NetworkCleartext: Self = Self(8i32);
6769 pub const NewCredentials: Self = Self(9i32);
6770 pub const RemoteInteractive: Self = Self(10i32);
6771 pub const CachedInteractive: Self = Self(11i32);
6772 pub const CachedRemoteInteractive: Self = Self(12i32);
6773 pub const CachedUnlock: Self = Self(13i32);
6774}
6775impl ::core::marker::Copy for SECURITY_LOGON_TYPE {}
6776impl ::core::clone::Clone for SECURITY_LOGON_TYPE {
6777 fn clone(&self) -> Self {
6778 *self
6779 }
6780}
04454e1e 6781#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6782pub const SECURITY_NATIVE_DREP: u32 = 16u32;
04454e1e 6783#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6784pub const SECURITY_NETWORK_DREP: u32 = 0u32;
6785#[repr(C)]
04454e1e 6786#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6787pub struct SECURITY_PACKAGE_OPTIONS {
6788 pub Size: u32,
6789 pub Type: SECURITY_PACKAGE_OPTIONS_TYPE,
6790 pub Flags: u32,
6791 pub SignatureSize: u32,
6792 pub Signature: *mut ::core::ffi::c_void,
6793}
6794impl ::core::marker::Copy for SECURITY_PACKAGE_OPTIONS {}
6795impl ::core::clone::Clone for SECURITY_PACKAGE_OPTIONS {
6796 fn clone(&self) -> Self {
6797 *self
6798 }
6799}
04454e1e 6800#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6801pub type SECURITY_PACKAGE_OPTIONS_TYPE = u32;
04454e1e 6802#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6803pub const SECPKG_OPTIONS_TYPE_UNKNOWN: SECURITY_PACKAGE_OPTIONS_TYPE = 0u32;
04454e1e 6804#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6805pub const SECPKG_OPTIONS_TYPE_LSA: SECURITY_PACKAGE_OPTIONS_TYPE = 1u32;
04454e1e 6806#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6807pub const SECPKG_OPTIONS_TYPE_SSPI: SECURITY_PACKAGE_OPTIONS_TYPE = 2u32;
04454e1e 6808#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6809pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION: u32 = 1u32;
04454e1e 6810#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6811pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION_2: u32 = 2u32;
04454e1e 6812#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6813pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION_3: u32 = 3u32;
04454e1e 6814#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6815pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION_4: u32 = 4u32;
04454e1e 6816#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6817pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION_5: u32 = 5u32;
6818#[repr(C)]
04454e1e 6819#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
6820#[cfg(feature = "Win32_Foundation")]
6821pub struct SECURITY_USER_DATA {
6822 pub UserName: super::super::super::Foundation::UNICODE_STRING,
6823 pub LogonDomainName: super::super::super::Foundation::UNICODE_STRING,
6824 pub LogonServer: super::super::super::Foundation::UNICODE_STRING,
6825 pub pSid: super::super::super::Foundation::PSID,
6826}
6827#[cfg(feature = "Win32_Foundation")]
6828impl ::core::marker::Copy for SECURITY_USER_DATA {}
6829#[cfg(feature = "Win32_Foundation")]
6830impl ::core::clone::Clone for SECURITY_USER_DATA {
6831 fn clone(&self) -> Self {
6832 *self
6833 }
6834}
6835#[repr(C)]
04454e1e 6836#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6837pub struct SEC_APPLICATION_PROTOCOLS {
6838 pub ProtocolListsSize: u32,
6839 pub ProtocolLists: [SEC_APPLICATION_PROTOCOL_LIST; 1],
6840}
6841impl ::core::marker::Copy for SEC_APPLICATION_PROTOCOLS {}
6842impl ::core::clone::Clone for SEC_APPLICATION_PROTOCOLS {
6843 fn clone(&self) -> Self {
6844 *self
6845 }
6846}
6847#[repr(C)]
04454e1e 6848#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6849pub struct SEC_APPLICATION_PROTOCOL_LIST {
6850 pub ProtoNegoExt: SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT,
6851 pub ProtocolListSize: u16,
6852 pub ProtocolList: [u8; 1],
6853}
6854impl ::core::marker::Copy for SEC_APPLICATION_PROTOCOL_LIST {}
6855impl ::core::clone::Clone for SEC_APPLICATION_PROTOCOL_LIST {
6856 fn clone(&self) -> Self {
6857 *self
6858 }
6859}
04454e1e 6860#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6861pub type SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT = i32;
04454e1e 6862#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6863pub const SecApplicationProtocolNegotiationExt_None: SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT = 0i32;
04454e1e 6864#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6865pub const SecApplicationProtocolNegotiationExt_NPN: SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT = 1i32;
04454e1e 6866#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6867pub const SecApplicationProtocolNegotiationExt_ALPN: SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT = 2i32;
04454e1e 6868#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6869pub type SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS = i32;
04454e1e 6870#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6871pub const SecApplicationProtocolNegotiationStatus_None: SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS = 0i32;
04454e1e 6872#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 6873pub const SecApplicationProtocolNegotiationStatus_Success: SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS = 1i32;
04454e1e 6874#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6875pub const SecApplicationProtocolNegotiationStatus_SelectedClientOnly: SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS = 2i32;
6876#[repr(C)]
04454e1e 6877#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6878pub struct SEC_CHANNEL_BINDINGS {
6879 pub dwInitiatorAddrType: u32,
6880 pub cbInitiatorLength: u32,
6881 pub dwInitiatorOffset: u32,
6882 pub dwAcceptorAddrType: u32,
6883 pub cbAcceptorLength: u32,
6884 pub dwAcceptorOffset: u32,
6885 pub cbApplicationDataLength: u32,
6886 pub dwApplicationDataOffset: u32,
6887}
6888impl ::core::marker::Copy for SEC_CHANNEL_BINDINGS {}
6889impl ::core::clone::Clone for SEC_CHANNEL_BINDINGS {
6890 fn clone(&self) -> Self {
6891 *self
6892 }
6893}
6894#[repr(C)]
04454e1e 6895#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6896pub struct SEC_DTLS_MTU {
6897 pub PathMTU: u16,
6898}
6899impl ::core::marker::Copy for SEC_DTLS_MTU {}
6900impl ::core::clone::Clone for SEC_DTLS_MTU {
6901 fn clone(&self) -> Self {
6902 *self
6903 }
6904}
6905#[repr(C)]
04454e1e 6906#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6907pub struct SEC_FLAGS {
6908 pub Flags: u64,
6909}
6910impl ::core::marker::Copy for SEC_FLAGS {}
6911impl ::core::clone::Clone for SEC_FLAGS {
6912 fn clone(&self) -> Self {
6913 *self
6914 }
6915}
04454e1e 6916#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 6917pub type SEC_GET_KEY_FN = ::core::option::Option<unsafe extern "system" fn(arg: *mut ::core::ffi::c_void, principal: *mut ::core::ffi::c_void, keyver: u32, key: *mut *mut ::core::ffi::c_void, status: *mut ::windows_sys::core::HRESULT)>;
5e7ed085 6918#[repr(C)]
04454e1e 6919#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6920pub struct SEC_NEGOTIATION_INFO {
6921 pub Size: u32,
6922 pub NameLength: u32,
6923 pub Name: *mut u16,
6924 pub Reserved: *mut ::core::ffi::c_void,
6925}
6926impl ::core::marker::Copy for SEC_NEGOTIATION_INFO {}
6927impl ::core::clone::Clone for SEC_NEGOTIATION_INFO {
6928 fn clone(&self) -> Self {
6929 *self
6930 }
6931}
6932#[repr(C)]
04454e1e 6933#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6934pub struct SEC_PRESHAREDKEY {
6935 pub KeySize: u16,
6936 pub Key: [u8; 1],
6937}
6938impl ::core::marker::Copy for SEC_PRESHAREDKEY {}
6939impl ::core::clone::Clone for SEC_PRESHAREDKEY {
6940 fn clone(&self) -> Self {
6941 *self
6942 }
6943}
6944#[repr(C)]
04454e1e 6945#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6946pub struct SEC_PRESHAREDKEY_IDENTITY {
6947 pub KeyIdentitySize: u16,
6948 pub KeyIdentity: [u8; 1],
6949}
6950impl ::core::marker::Copy for SEC_PRESHAREDKEY_IDENTITY {}
6951impl ::core::clone::Clone for SEC_PRESHAREDKEY_IDENTITY {
6952 fn clone(&self) -> Self {
6953 *self
6954 }
6955}
6956#[repr(C)]
04454e1e 6957#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6958pub struct SEC_SRTP_MASTER_KEY_IDENTIFIER {
6959 pub MasterKeyIdentifierSize: u8,
6960 pub MasterKeyIdentifier: [u8; 1],
6961}
6962impl ::core::marker::Copy for SEC_SRTP_MASTER_KEY_IDENTIFIER {}
6963impl ::core::clone::Clone for SEC_SRTP_MASTER_KEY_IDENTIFIER {
6964 fn clone(&self) -> Self {
6965 *self
6966 }
6967}
6968#[repr(C)]
04454e1e 6969#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6970pub struct SEC_SRTP_PROTECTION_PROFILES {
6971 pub ProfilesSize: u16,
6972 pub ProfilesList: [u16; 1],
6973}
6974impl ::core::marker::Copy for SEC_SRTP_PROTECTION_PROFILES {}
6975impl ::core::clone::Clone for SEC_SRTP_PROTECTION_PROFILES {
6976 fn clone(&self) -> Self {
6977 *self
6978 }
6979}
6980#[repr(C)]
04454e1e 6981#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6982pub struct SEC_TOKEN_BINDING {
6983 pub MajorVersion: u8,
6984 pub MinorVersion: u8,
6985 pub KeyParametersSize: u16,
6986 pub KeyParameters: [u8; 1],
6987}
6988impl ::core::marker::Copy for SEC_TOKEN_BINDING {}
6989impl ::core::clone::Clone for SEC_TOKEN_BINDING {
6990 fn clone(&self) -> Self {
6991 *self
6992 }
6993}
6994#[repr(C)]
04454e1e 6995#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
6996pub struct SEC_TRAFFIC_SECRETS {
6997 pub SymmetricAlgId: [u16; 64],
6998 pub ChainingMode: [u16; 64],
6999 pub HashAlgId: [u16; 64],
7000 pub KeySize: u16,
7001 pub IvSize: u16,
7002 pub MsgSequenceStart: u16,
7003 pub MsgSequenceEnd: u16,
7004 pub TrafficSecretType: SEC_TRAFFIC_SECRET_TYPE,
7005 pub TrafficSecretSize: u16,
7006 pub TrafficSecret: [u8; 1],
7007}
7008impl ::core::marker::Copy for SEC_TRAFFIC_SECRETS {}
7009impl ::core::clone::Clone for SEC_TRAFFIC_SECRETS {
7010 fn clone(&self) -> Self {
7011 *self
7012 }
7013}
04454e1e 7014#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7015pub type SEC_TRAFFIC_SECRET_TYPE = i32;
04454e1e 7016#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7017pub const SecTrafficSecret_None: SEC_TRAFFIC_SECRET_TYPE = 0i32;
04454e1e 7018#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7019pub const SecTrafficSecret_Client: SEC_TRAFFIC_SECRET_TYPE = 1i32;
04454e1e 7020#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
7021pub const SecTrafficSecret_Server: SEC_TRAFFIC_SECRET_TYPE = 2i32;
7022#[repr(C)]
04454e1e 7023#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
7024pub struct SEC_WINNT_AUTH_IDENTITY32 {
7025 pub User: u32,
7026 pub UserLength: u32,
7027 pub Domain: u32,
7028 pub DomainLength: u32,
7029 pub Password: u32,
7030 pub PasswordLength: u32,
7031 pub Flags: u32,
7032}
7033impl ::core::marker::Copy for SEC_WINNT_AUTH_IDENTITY32 {}
7034impl ::core::clone::Clone for SEC_WINNT_AUTH_IDENTITY32 {
7035 fn clone(&self) -> Self {
7036 *self
7037 }
7038}
04454e1e 7039#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7040pub const SEC_WINNT_AUTH_IDENTITY_ENCRYPT_FOR_SYSTEM: u32 = 4u32;
04454e1e 7041#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7042pub const SEC_WINNT_AUTH_IDENTITY_ENCRYPT_SAME_LOGON: u32 = 1u32;
04454e1e 7043#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
7044pub const SEC_WINNT_AUTH_IDENTITY_ENCRYPT_SAME_PROCESS: u32 = 2u32;
7045#[repr(C)]
04454e1e 7046#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
7047pub struct SEC_WINNT_AUTH_IDENTITY_EX2 {
7048 pub Version: u32,
7049 pub cbHeaderLength: u16,
7050 pub cbStructureLength: u32,
7051 pub UserOffset: u32,
7052 pub UserLength: u16,
7053 pub DomainOffset: u32,
7054 pub DomainLength: u16,
7055 pub PackedCredentialsOffset: u32,
7056 pub PackedCredentialsLength: u16,
7057 pub Flags: u32,
7058 pub PackageListOffset: u32,
7059 pub PackageListLength: u16,
7060}
7061impl ::core::marker::Copy for SEC_WINNT_AUTH_IDENTITY_EX2 {}
7062impl ::core::clone::Clone for SEC_WINNT_AUTH_IDENTITY_EX2 {
7063 fn clone(&self) -> Self {
7064 *self
7065 }
7066}
7067#[repr(C)]
04454e1e 7068#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
7069pub struct SEC_WINNT_AUTH_IDENTITY_EX32 {
7070 pub Version: u32,
7071 pub Length: u32,
7072 pub User: u32,
7073 pub UserLength: u32,
7074 pub Domain: u32,
7075 pub DomainLength: u32,
7076 pub Password: u32,
7077 pub PasswordLength: u32,
7078 pub Flags: u32,
7079 pub PackageList: u32,
7080 pub PackageListLength: u32,
7081}
7082impl ::core::marker::Copy for SEC_WINNT_AUTH_IDENTITY_EX32 {}
7083impl ::core::clone::Clone for SEC_WINNT_AUTH_IDENTITY_EX32 {
7084 fn clone(&self) -> Self {
7085 *self
7086 }
7087}
7088#[repr(C)]
04454e1e 7089#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
7090pub struct SEC_WINNT_AUTH_IDENTITY_EXA {
7091 pub Version: u32,
7092 pub Length: u32,
7093 pub User: *mut u8,
7094 pub UserLength: u32,
7095 pub Domain: *mut u8,
7096 pub DomainLength: u32,
7097 pub Password: *mut u8,
7098 pub PasswordLength: u32,
7099 pub Flags: u32,
7100 pub PackageList: *mut u8,
7101 pub PackageListLength: u32,
7102}
7103impl ::core::marker::Copy for SEC_WINNT_AUTH_IDENTITY_EXA {}
7104impl ::core::clone::Clone for SEC_WINNT_AUTH_IDENTITY_EXA {
7105 fn clone(&self) -> Self {
7106 *self
7107 }
7108}
7109#[repr(C)]
04454e1e 7110#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
7111pub struct SEC_WINNT_AUTH_IDENTITY_EXW {
7112 pub Version: u32,
7113 pub Length: u32,
7114 pub User: *mut u16,
7115 pub UserLength: u32,
7116 pub Domain: *mut u16,
7117 pub DomainLength: u32,
7118 pub Password: *mut u16,
7119 pub PasswordLength: u32,
7120 pub Flags: u32,
7121 pub PackageList: *mut u16,
7122 pub PackageListLength: u32,
7123}
7124impl ::core::marker::Copy for SEC_WINNT_AUTH_IDENTITY_EXW {}
7125impl ::core::clone::Clone for SEC_WINNT_AUTH_IDENTITY_EXW {
7126 fn clone(&self) -> Self {
7127 *self
7128 }
7129}
04454e1e 7130#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7131pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_ID_PROVIDER: u32 = 524288u32;
04454e1e 7132#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7133pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_NULL_DOMAIN: u32 = 262144u32;
04454e1e 7134#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7135pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_NULL_USER: u32 = 131072u32;
04454e1e 7136#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7137pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_PROCESS_ENCRYPTED: u32 = 16u32;
04454e1e 7138#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7139pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_RESERVED: u32 = 65536u32;
04454e1e 7140#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7141pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_CREDPROV_DO_NOT_LOAD: u32 = 268435456u32;
04454e1e 7142#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7143pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_CREDPROV_DO_NOT_SAVE: u32 = 2147483648u32;
04454e1e 7144#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7145pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_NO_CHECKBOX: u32 = 536870912u32;
04454e1e 7146#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7147pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_SAVE_CRED_BY_CALLER: u32 = 2147483648u32;
04454e1e 7148#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7149pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_SAVE_CRED_CHECKED: u32 = 1073741824u32;
04454e1e 7150#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7151pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_USE_MASK: u32 = 4278190080u32;
04454e1e 7152#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7153pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SYSTEM_ENCRYPTED: u32 = 128u32;
04454e1e 7154#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7155pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SYSTEM_PROTECTED: u32 = 32u32;
04454e1e 7156#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
7157pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_USER_PROTECTED: u32 = 64u32;
7158#[repr(C)]
04454e1e 7159#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_System_Rpc\"`*"]
5e7ed085
FG
7160#[cfg(feature = "Win32_System_Rpc")]
7161pub union SEC_WINNT_AUTH_IDENTITY_INFO {
7162 pub AuthIdExw: SEC_WINNT_AUTH_IDENTITY_EXW,
7163 pub AuthIdExa: SEC_WINNT_AUTH_IDENTITY_EXA,
7164 pub AuthId_a: super::super::super::System::Rpc::SEC_WINNT_AUTH_IDENTITY_A,
7165 pub AuthId_w: super::super::super::System::Rpc::SEC_WINNT_AUTH_IDENTITY_W,
7166 pub AuthIdEx2: SEC_WINNT_AUTH_IDENTITY_EX2,
7167}
7168#[cfg(feature = "Win32_System_Rpc")]
7169impl ::core::marker::Copy for SEC_WINNT_AUTH_IDENTITY_INFO {}
7170#[cfg(feature = "Win32_System_Rpc")]
7171impl ::core::clone::Clone for SEC_WINNT_AUTH_IDENTITY_INFO {
7172 fn clone(&self) -> Self {
7173 *self
7174 }
7175}
04454e1e 7176#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7177pub const SEC_WINNT_AUTH_IDENTITY_MARSHALLED: u32 = 4u32;
04454e1e 7178#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7179pub const SEC_WINNT_AUTH_IDENTITY_ONLY: u32 = 8u32;
04454e1e 7180#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7181pub const SEC_WINNT_AUTH_IDENTITY_VERSION: u32 = 512u32;
04454e1e 7182#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
7183pub const SEC_WINNT_AUTH_IDENTITY_VERSION_2: u32 = 513u32;
7184#[repr(C)]
04454e1e 7185#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
7186pub struct SEND_GENERIC_TLS_EXTENSION {
7187 pub ExtensionType: u16,
7188 pub HandshakeType: u16,
7189 pub Flags: u32,
7190 pub BufferSize: u16,
7191 pub Buffer: [u8; 1],
7192}
7193impl ::core::marker::Copy for SEND_GENERIC_TLS_EXTENSION {}
7194impl ::core::clone::Clone for SEND_GENERIC_TLS_EXTENSION {
7195 fn clone(&self) -> Self {
7196 *self
7197 }
7198}
04454e1e 7199#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7200pub const SESSION_TICKET_INFO_V0: u32 = 0u32;
04454e1e 7201#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7202pub const SESSION_TICKET_INFO_VERSION: u32 = 0u32;
04454e1e 7203#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 7204#[cfg(feature = "Win32_Security_Credentials")]
923072b8 7205pub type SET_CONTEXT_ATTRIBUTES_FN_A = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut ::core::ffi::c_void, param3: u32) -> ::windows_sys::core::HRESULT>;
04454e1e 7206#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 7207#[cfg(feature = "Win32_Security_Credentials")]
923072b8 7208pub type SET_CONTEXT_ATTRIBUTES_FN_W = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut ::core::ffi::c_void, param3: u32) -> ::windows_sys::core::HRESULT>;
04454e1e 7209#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 7210#[cfg(feature = "Win32_Security_Credentials")]
923072b8 7211pub type SET_CREDENTIALS_ATTRIBUTES_FN_A = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut ::core::ffi::c_void, param3: u32) -> ::windows_sys::core::HRESULT>;
04454e1e 7212#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 7213#[cfg(feature = "Win32_Security_Credentials")]
923072b8 7214pub type SET_CREDENTIALS_ATTRIBUTES_FN_W = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: u32, param2: *mut ::core::ffi::c_void, param3: u32) -> ::windows_sys::core::HRESULT>;
5e7ed085 7215#[repr(C)]
923072b8 7216#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
7217pub struct SE_ADT_ACCESS_REASON {
7218 pub AccessMask: u32,
7219 pub AccessReasons: [u32; 32],
7220 pub ObjectTypeIndex: u32,
7221 pub AccessGranted: u32,
923072b8 7222 pub SecurityDescriptor: super::super::PSECURITY_DESCRIPTOR,
5e7ed085 7223}
5e7ed085 7224impl ::core::marker::Copy for SE_ADT_ACCESS_REASON {}
5e7ed085
FG
7225impl ::core::clone::Clone for SE_ADT_ACCESS_REASON {
7226 fn clone(&self) -> Self {
7227 *self
7228 }
7229}
7230#[repr(C)]
04454e1e 7231#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
7232pub struct SE_ADT_CLAIMS {
7233 pub Length: u32,
7234 pub Claims: *mut ::core::ffi::c_void,
7235}
7236impl ::core::marker::Copy for SE_ADT_CLAIMS {}
7237impl ::core::clone::Clone for SE_ADT_CLAIMS {
7238 fn clone(&self) -> Self {
7239 *self
7240 }
7241}
04454e1e 7242#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
7243pub const SE_ADT_OBJECT_ONLY: u32 = 1u32;
7244#[repr(C)]
04454e1e 7245#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
7246pub struct SE_ADT_OBJECT_TYPE {
7247 pub ObjectType: ::windows_sys::core::GUID,
7248 pub Flags: u16,
7249 pub Level: u16,
7250 pub AccessMask: u32,
7251}
7252impl ::core::marker::Copy for SE_ADT_OBJECT_TYPE {}
7253impl ::core::clone::Clone for SE_ADT_OBJECT_TYPE {
7254 fn clone(&self) -> Self {
7255 *self
7256 }
7257}
04454e1e 7258#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7259pub const SE_ADT_PARAMETERS_SELF_RELATIVE: u32 = 1u32;
04454e1e 7260#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
7261pub const SE_ADT_PARAMETERS_SEND_TO_LSA: u32 = 2u32;
7262#[repr(C)]
04454e1e 7263#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
7264pub struct SE_ADT_PARAMETER_ARRAY {
7265 pub CategoryId: u32,
7266 pub AuditId: u32,
7267 pub ParameterCount: u32,
7268 pub Length: u32,
7269 pub FlatSubCategoryId: u16,
7270 pub Type: u16,
7271 pub Flags: u32,
7272 pub Parameters: [SE_ADT_PARAMETER_ARRAY_ENTRY; 32],
7273}
7274impl ::core::marker::Copy for SE_ADT_PARAMETER_ARRAY {}
7275impl ::core::clone::Clone for SE_ADT_PARAMETER_ARRAY {
7276 fn clone(&self) -> Self {
7277 *self
7278 }
7279}
7280#[repr(C)]
04454e1e 7281#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
7282pub struct SE_ADT_PARAMETER_ARRAY_ENTRY {
7283 pub Type: SE_ADT_PARAMETER_TYPE,
7284 pub Length: u32,
7285 pub Data: [usize; 2],
7286 pub Address: *mut ::core::ffi::c_void,
7287}
7288impl ::core::marker::Copy for SE_ADT_PARAMETER_ARRAY_ENTRY {}
7289impl ::core::clone::Clone for SE_ADT_PARAMETER_ARRAY_ENTRY {
7290 fn clone(&self) -> Self {
7291 *self
7292 }
7293}
7294#[repr(C)]
04454e1e 7295#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
7296pub struct SE_ADT_PARAMETER_ARRAY_EX {
7297 pub CategoryId: u32,
7298 pub AuditId: u32,
7299 pub Version: u32,
7300 pub ParameterCount: u32,
7301 pub Length: u32,
7302 pub FlatSubCategoryId: u16,
7303 pub Type: u16,
7304 pub Flags: u32,
7305 pub Parameters: [SE_ADT_PARAMETER_ARRAY_ENTRY; 32],
7306}
7307impl ::core::marker::Copy for SE_ADT_PARAMETER_ARRAY_EX {}
7308impl ::core::clone::Clone for SE_ADT_PARAMETER_ARRAY_EX {
7309 fn clone(&self) -> Self {
7310 *self
7311 }
7312}
04454e1e 7313#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7314pub const SE_ADT_PARAMETER_EXTENSIBLE_AUDIT: u32 = 4u32;
04454e1e 7315#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7316pub const SE_ADT_PARAMETER_GENERIC_AUDIT: u32 = 8u32;
04454e1e 7317#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7318pub type SE_ADT_PARAMETER_TYPE = i32;
04454e1e 7319#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7320pub const SeAdtParmTypeNone: SE_ADT_PARAMETER_TYPE = 0i32;
04454e1e 7321#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7322pub const SeAdtParmTypeString: SE_ADT_PARAMETER_TYPE = 1i32;
04454e1e 7323#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7324pub const SeAdtParmTypeFileSpec: SE_ADT_PARAMETER_TYPE = 2i32;
04454e1e 7325#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7326pub const SeAdtParmTypeUlong: SE_ADT_PARAMETER_TYPE = 3i32;
04454e1e 7327#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7328pub const SeAdtParmTypeSid: SE_ADT_PARAMETER_TYPE = 4i32;
04454e1e 7329#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7330pub const SeAdtParmTypeLogonId: SE_ADT_PARAMETER_TYPE = 5i32;
04454e1e 7331#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7332pub const SeAdtParmTypeNoLogonId: SE_ADT_PARAMETER_TYPE = 6i32;
04454e1e 7333#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7334pub const SeAdtParmTypeAccessMask: SE_ADT_PARAMETER_TYPE = 7i32;
04454e1e 7335#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7336pub const SeAdtParmTypePrivs: SE_ADT_PARAMETER_TYPE = 8i32;
04454e1e 7337#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7338pub const SeAdtParmTypeObjectTypes: SE_ADT_PARAMETER_TYPE = 9i32;
04454e1e 7339#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7340pub const SeAdtParmTypeHexUlong: SE_ADT_PARAMETER_TYPE = 10i32;
04454e1e 7341#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7342pub const SeAdtParmTypePtr: SE_ADT_PARAMETER_TYPE = 11i32;
04454e1e 7343#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7344pub const SeAdtParmTypeTime: SE_ADT_PARAMETER_TYPE = 12i32;
04454e1e 7345#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7346pub const SeAdtParmTypeGuid: SE_ADT_PARAMETER_TYPE = 13i32;
04454e1e 7347#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7348pub const SeAdtParmTypeLuid: SE_ADT_PARAMETER_TYPE = 14i32;
04454e1e 7349#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7350pub const SeAdtParmTypeHexInt64: SE_ADT_PARAMETER_TYPE = 15i32;
04454e1e 7351#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7352pub const SeAdtParmTypeStringList: SE_ADT_PARAMETER_TYPE = 16i32;
04454e1e 7353#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7354pub const SeAdtParmTypeSidList: SE_ADT_PARAMETER_TYPE = 17i32;
04454e1e 7355#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7356pub const SeAdtParmTypeDuration: SE_ADT_PARAMETER_TYPE = 18i32;
04454e1e 7357#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7358pub const SeAdtParmTypeUserAccountControl: SE_ADT_PARAMETER_TYPE = 19i32;
04454e1e 7359#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7360pub const SeAdtParmTypeNoUac: SE_ADT_PARAMETER_TYPE = 20i32;
04454e1e 7361#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7362pub const SeAdtParmTypeMessage: SE_ADT_PARAMETER_TYPE = 21i32;
04454e1e 7363#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7364pub const SeAdtParmTypeDateTime: SE_ADT_PARAMETER_TYPE = 22i32;
04454e1e 7365#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7366pub const SeAdtParmTypeSockAddr: SE_ADT_PARAMETER_TYPE = 23i32;
04454e1e 7367#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7368pub const SeAdtParmTypeSD: SE_ADT_PARAMETER_TYPE = 24i32;
04454e1e 7369#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7370pub const SeAdtParmTypeLogonHours: SE_ADT_PARAMETER_TYPE = 25i32;
04454e1e 7371#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7372pub const SeAdtParmTypeLogonIdNoSid: SE_ADT_PARAMETER_TYPE = 26i32;
04454e1e 7373#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7374pub const SeAdtParmTypeUlongNoConv: SE_ADT_PARAMETER_TYPE = 27i32;
04454e1e 7375#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7376pub const SeAdtParmTypeSockAddrNoPort: SE_ADT_PARAMETER_TYPE = 28i32;
04454e1e 7377#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7378pub const SeAdtParmTypeAccessReason: SE_ADT_PARAMETER_TYPE = 29i32;
04454e1e 7379#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7380pub const SeAdtParmTypeStagingReason: SE_ADT_PARAMETER_TYPE = 30i32;
04454e1e 7381#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7382pub const SeAdtParmTypeResourceAttribute: SE_ADT_PARAMETER_TYPE = 31i32;
04454e1e 7383#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7384pub const SeAdtParmTypeClaims: SE_ADT_PARAMETER_TYPE = 32i32;
04454e1e 7385#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7386pub const SeAdtParmTypeLogonIdAsSid: SE_ADT_PARAMETER_TYPE = 33i32;
04454e1e 7387#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7388pub const SeAdtParmTypeMultiSzString: SE_ADT_PARAMETER_TYPE = 34i32;
04454e1e 7389#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7390pub const SeAdtParmTypeLogonIdEx: SE_ADT_PARAMETER_TYPE = 35i32;
04454e1e 7391#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7392pub const SE_ADT_PARAMETER_WRITE_SYNCHRONOUS: u32 = 16u32;
04454e1e 7393#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7394pub const SE_ADT_POLICY_AUDIT_EVENT_TYPE_EX_BEGIN: u32 = 100u32;
04454e1e 7395#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 7396pub const SE_BATCH_LOGON_NAME: &str = "SeBatchLogonRight";
04454e1e 7397#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 7398pub const SE_DENY_BATCH_LOGON_NAME: &str = "SeDenyBatchLogonRight";
04454e1e 7399#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 7400pub const SE_DENY_INTERACTIVE_LOGON_NAME: &str = "SeDenyInteractiveLogonRight";
04454e1e 7401#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 7402pub const SE_DENY_NETWORK_LOGON_NAME: &str = "SeDenyNetworkLogonRight";
04454e1e 7403#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 7404pub const SE_DENY_REMOTE_INTERACTIVE_LOGON_NAME: &str = "SeDenyRemoteInteractiveLogonRight";
04454e1e 7405#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 7406pub const SE_DENY_SERVICE_LOGON_NAME: &str = "SeDenyServiceLogonRight";
04454e1e 7407#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 7408pub const SE_INTERACTIVE_LOGON_NAME: &str = "SeInteractiveLogonRight";
04454e1e 7409#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7410pub const SE_MAX_AUDIT_PARAMETERS: u32 = 32u32;
04454e1e 7411#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7412pub const SE_MAX_GENERIC_AUDIT_PARAMETERS: u32 = 28u32;
04454e1e 7413#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 7414pub const SE_NETWORK_LOGON_NAME: &str = "SeNetworkLogonRight";
04454e1e 7415#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 7416pub const SE_REMOTE_INTERACTIVE_LOGON_NAME: &str = "SeRemoteInteractiveLogonRight";
04454e1e 7417#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 7418pub const SE_SERVICE_LOGON_NAME: &str = "SeServiceLogonRight";
04454e1e 7419#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7420pub type SLDATATYPE = u32;
04454e1e 7421#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7422pub const SL_DATA_NONE: SLDATATYPE = 0u32;
04454e1e 7423#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7424pub const SL_DATA_SZ: SLDATATYPE = 1u32;
04454e1e 7425#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7426pub const SL_DATA_DWORD: SLDATATYPE = 4u32;
04454e1e 7427#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7428pub const SL_DATA_BINARY: SLDATATYPE = 3u32;
04454e1e 7429#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7430pub const SL_DATA_MULTI_SZ: SLDATATYPE = 7u32;
04454e1e 7431#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7432pub const SL_DATA_SUM: SLDATATYPE = 100u32;
04454e1e 7433#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7434pub type SLIDTYPE = i32;
04454e1e 7435#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7436pub const SL_ID_APPLICATION: SLIDTYPE = 0i32;
04454e1e 7437#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7438pub const SL_ID_PRODUCT_SKU: SLIDTYPE = 1i32;
04454e1e 7439#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7440pub const SL_ID_LICENSE_FILE: SLIDTYPE = 2i32;
04454e1e 7441#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7442pub const SL_ID_LICENSE: SLIDTYPE = 3i32;
04454e1e 7443#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7444pub const SL_ID_PKEY: SLIDTYPE = 4i32;
04454e1e 7445#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7446pub const SL_ID_ALL_LICENSES: SLIDTYPE = 5i32;
04454e1e 7447#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7448pub const SL_ID_ALL_LICENSE_FILES: SLIDTYPE = 6i32;
04454e1e 7449#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7450pub const SL_ID_STORE_TOKEN: SLIDTYPE = 7i32;
04454e1e 7451#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7452pub const SL_ID_LAST: SLIDTYPE = 8i32;
04454e1e 7453#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7454pub type SLLICENSINGSTATUS = i32;
04454e1e 7455#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7456pub const SL_LICENSING_STATUS_UNLICENSED: SLLICENSINGSTATUS = 0i32;
04454e1e 7457#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7458pub const SL_LICENSING_STATUS_LICENSED: SLLICENSINGSTATUS = 1i32;
04454e1e 7459#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7460pub const SL_LICENSING_STATUS_IN_GRACE_PERIOD: SLLICENSINGSTATUS = 2i32;
04454e1e 7461#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7462pub const SL_LICENSING_STATUS_NOTIFICATION: SLLICENSINGSTATUS = 3i32;
04454e1e 7463#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7464pub const SL_LICENSING_STATUS_LAST: SLLICENSINGSTATUS = 4i32;
04454e1e 7465#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7466pub type SLREFERRALTYPE = i32;
04454e1e 7467#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7468pub const SL_REFERRALTYPE_SKUID: SLREFERRALTYPE = 0i32;
04454e1e 7469#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7470pub const SL_REFERRALTYPE_APPID: SLREFERRALTYPE = 1i32;
04454e1e 7471#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7472pub const SL_REFERRALTYPE_OVERRIDE_SKUID: SLREFERRALTYPE = 2i32;
04454e1e 7473#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7474pub const SL_REFERRALTYPE_OVERRIDE_APPID: SLREFERRALTYPE = 3i32;
04454e1e 7475#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
7476pub const SL_REFERRALTYPE_BEST_MATCH: SLREFERRALTYPE = 4i32;
7477#[repr(C)]
04454e1e 7478#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
7479pub struct SL_ACTIVATION_INFO_HEADER {
7480 pub cbSize: u32,
7481 pub r#type: SL_ACTIVATION_TYPE,
7482}
7483impl ::core::marker::Copy for SL_ACTIVATION_INFO_HEADER {}
7484impl ::core::clone::Clone for SL_ACTIVATION_INFO_HEADER {
7485 fn clone(&self) -> Self {
7486 *self
7487 }
7488}
04454e1e 7489#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7490pub type SL_ACTIVATION_TYPE = i32;
04454e1e 7491#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7492pub const SL_ACTIVATION_TYPE_DEFAULT: SL_ACTIVATION_TYPE = 0i32;
04454e1e 7493#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
7494pub const SL_ACTIVATION_TYPE_ACTIVE_DIRECTORY: SL_ACTIVATION_TYPE = 1i32;
7495#[repr(C)]
04454e1e 7496#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
7497pub struct SL_AD_ACTIVATION_INFO {
7498 pub header: SL_ACTIVATION_INFO_HEADER,
04454e1e
FG
7499 pub pwszProductKey: ::windows_sys::core::PCWSTR,
7500 pub pwszActivationObjectName: ::windows_sys::core::PCWSTR,
5e7ed085 7501}
5e7ed085 7502impl ::core::marker::Copy for SL_AD_ACTIVATION_INFO {}
5e7ed085
FG
7503impl ::core::clone::Clone for SL_AD_ACTIVATION_INFO {
7504 fn clone(&self) -> Self {
7505 *self
7506 }
7507}
04454e1e 7508#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7509pub const SL_CLIENTAPI_ZONE: u32 = 61440u32;
04454e1e 7510#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 7511pub const SL_DEFAULT_MIGRATION_ENCRYPTOR_URI: &str = "msft:spp/migrationencryptor/tokenact/1.0";
04454e1e 7512#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 7513pub const SL_EVENT_LICENSING_STATE_CHANGED: &str = "msft:rm/event/licensingstatechanged";
04454e1e 7514#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 7515pub const SL_EVENT_POLICY_CHANGED: &str = "msft:rm/event/policychanged";
04454e1e 7516#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 7517pub const SL_EVENT_USER_NOTIFICATION: &str = "msft:rm/event/usernotification";
04454e1e 7518#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7519pub const SL_E_ACTIVATION_IN_PROGRESS: ::windows_sys::core::HRESULT = -1073422296i32;
04454e1e 7520#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7521pub const SL_E_APPLICATION_POLICIES_MISSING: ::windows_sys::core::HRESULT = -1073418126i32;
04454e1e 7522#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7523pub const SL_E_APPLICATION_POLICIES_NOT_LOADED: ::windows_sys::core::HRESULT = -1073418125i32;
04454e1e 7524#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7525pub const SL_E_AUTHN_CANT_VERIFY: ::windows_sys::core::HRESULT = -1073418118i32;
04454e1e 7526#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7527pub const SL_E_AUTHN_CHALLENGE_NOT_SET: ::windows_sys::core::HRESULT = -1073418119i32;
04454e1e 7528#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7529pub const SL_E_AUTHN_MISMATCHED_KEY: ::windows_sys::core::HRESULT = -1073418120i32;
04454e1e 7530#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7531pub const SL_E_AUTHN_WRONG_VERSION: ::windows_sys::core::HRESULT = -1073418121i32;
04454e1e 7532#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7533pub const SL_E_BASE_SKU_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073418155i32;
04454e1e 7534#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7535pub const SL_E_BIOS_KEY: ::windows_sys::core::HRESULT = -1073417707i32;
04454e1e 7536#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7537pub const SL_E_BLOCKED_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073418159i32;
04454e1e 7538#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7539pub const SL_E_CHPA_ACTCONFIG_ID_NOT_FOUND: ::windows_sys::core::HRESULT = -1073430519i32;
04454e1e 7540#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7541pub const SL_E_CHPA_BINDING_MAPPING_NOT_FOUND: ::windows_sys::core::HRESULT = -1073430522i32;
04454e1e 7542#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7543pub const SL_E_CHPA_BINDING_NOT_FOUND: ::windows_sys::core::HRESULT = -1073430523i32;
04454e1e 7544#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7545pub const SL_E_CHPA_BUSINESS_RULE_INPUT_NOT_FOUND: ::windows_sys::core::HRESULT = -1073428736i32;
04454e1e 7546#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7547pub const SL_E_CHPA_DATABASE_ERROR: ::windows_sys::core::HRESULT = -1073430509i32;
04454e1e 7548#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7549pub const SL_E_CHPA_DIGITALMARKER_BINDING_NOT_CONFIGURED: ::windows_sys::core::HRESULT = -1073430446i32;
04454e1e 7550#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7551pub const SL_E_CHPA_DIGITALMARKER_INVALID_BINDING: ::windows_sys::core::HRESULT = -1073430447i32;
04454e1e 7552#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7553pub const SL_E_CHPA_DMAK_EXTENSION_LIMIT_EXCEEDED: ::windows_sys::core::HRESULT = -1073430495i32;
04454e1e 7554#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7555pub const SL_E_CHPA_DMAK_LIMIT_EXCEEDED: ::windows_sys::core::HRESULT = -1073430496i32;
04454e1e 7556#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7557pub const SL_E_CHPA_DYNAMICALLY_BLOCKED_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073430432i32;
04454e1e 7558#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7559pub const SL_E_CHPA_FAILED_TO_DELETE_PRODUCTKEY_BINDING: ::windows_sys::core::HRESULT = -1073428649i32;
04454e1e 7560#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7561pub const SL_E_CHPA_FAILED_TO_DELETE_PRODUCT_KEY_PROPERTY: ::windows_sys::core::HRESULT = -1073428644i32;
04454e1e 7562#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7563pub const SL_E_CHPA_FAILED_TO_INSERT_PRODUCTKEY_BINDING: ::windows_sys::core::HRESULT = -1073428650i32;
04454e1e 7564#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7565pub const SL_E_CHPA_FAILED_TO_INSERT_PRODUCT_KEY_PROPERTY: ::windows_sys::core::HRESULT = -1073428646i32;
04454e1e 7566#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7567pub const SL_E_CHPA_FAILED_TO_INSERT_PRODUCT_KEY_RECORD: ::windows_sys::core::HRESULT = -1073428608i32;
04454e1e 7568#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7569pub const SL_E_CHPA_FAILED_TO_PROCESS_PRODUCT_KEY_BINDINGS_XML: ::windows_sys::core::HRESULT = -1073428648i32;
04454e1e 7570#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7571pub const SL_E_CHPA_FAILED_TO_UPDATE_PRODUCTKEY_BINDING: ::windows_sys::core::HRESULT = -1073428651i32;
04454e1e 7572#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7573pub const SL_E_CHPA_FAILED_TO_UPDATE_PRODUCT_KEY_PROPERTY: ::windows_sys::core::HRESULT = -1073428645i32;
04454e1e 7574#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7575pub const SL_E_CHPA_FAILED_TO_UPDATE_PRODUCT_KEY_RECORD: ::windows_sys::core::HRESULT = -1073428607i32;
04454e1e 7576#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7577pub const SL_E_CHPA_GENERAL_ERROR: ::windows_sys::core::HRESULT = -1073430448i32;
04454e1e 7578#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7579pub const SL_E_CHPA_INVALID_ACTCONFIG_ID: ::windows_sys::core::HRESULT = -1073430515i32;
04454e1e 7580#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7581pub const SL_E_CHPA_INVALID_ARGUMENT: ::windows_sys::core::HRESULT = -1073430508i32;
04454e1e 7582#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7583pub const SL_E_CHPA_INVALID_BINDING: ::windows_sys::core::HRESULT = -1073430526i32;
04454e1e 7584#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7585pub const SL_E_CHPA_INVALID_BINDING_URI: ::windows_sys::core::HRESULT = -1073430511i32;
04454e1e 7586#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7587pub const SL_E_CHPA_INVALID_PRODUCT_DATA: ::windows_sys::core::HRESULT = -1073430517i32;
04454e1e 7588#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7589pub const SL_E_CHPA_INVALID_PRODUCT_DATA_ID: ::windows_sys::core::HRESULT = -1073430518i32;
04454e1e 7590#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7591pub const SL_E_CHPA_INVALID_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073430524i32;
04454e1e 7592#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7593pub const SL_E_CHPA_INVALID_PRODUCT_KEY_CHAR: ::windows_sys::core::HRESULT = -1073430512i32;
04454e1e 7594#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7595pub const SL_E_CHPA_INVALID_PRODUCT_KEY_FORMAT: ::windows_sys::core::HRESULT = -1073430513i32;
04454e1e 7596#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7597pub const SL_E_CHPA_INVALID_PRODUCT_KEY_LENGTH: ::windows_sys::core::HRESULT = -1073430514i32;
04454e1e 7598#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7599pub const SL_E_CHPA_MAXIMUM_UNLOCK_EXCEEDED: ::windows_sys::core::HRESULT = -1073430520i32;
04454e1e 7600#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7601pub const SL_E_CHPA_MSCH_RESPONSE_NOT_AVAILABLE_VGA: ::windows_sys::core::HRESULT = -1073429505i32;
04454e1e 7602#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7603pub const SL_E_CHPA_NETWORK_ERROR: ::windows_sys::core::HRESULT = -1073430510i32;
04454e1e 7604#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7605pub const SL_E_CHPA_NO_RULES_TO_ACTIVATE: ::windows_sys::core::HRESULT = -1073430449i32;
04454e1e 7606#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7607pub const SL_E_CHPA_NULL_VALUE_FOR_PROPERTY_NAME_OR_ID: ::windows_sys::core::HRESULT = -1073428656i32;
04454e1e 7608#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7609pub const SL_E_CHPA_OEM_SLP_COA0: ::windows_sys::core::HRESULT = -1073430506i32;
04454e1e 7610#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7611pub const SL_E_CHPA_OVERRIDE_REQUEST_NOT_FOUND: ::windows_sys::core::HRESULT = -1073430493i32;
04454e1e 7612#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7613pub const SL_E_CHPA_PRODUCT_KEY_BEING_USED: ::windows_sys::core::HRESULT = -1073428624i32;
04454e1e 7614#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7615pub const SL_E_CHPA_PRODUCT_KEY_BLOCKED: ::windows_sys::core::HRESULT = -1073430525i32;
04454e1e 7616#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7617pub const SL_E_CHPA_PRODUCT_KEY_BLOCKED_IPLOCATION: ::windows_sys::core::HRESULT = -1073430505i32;
04454e1e 7618#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7619pub const SL_E_CHPA_PRODUCT_KEY_OUT_OF_RANGE: ::windows_sys::core::HRESULT = -1073430527i32;
04454e1e 7620#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7621pub const SL_E_CHPA_REISSUANCE_LIMIT_NOT_FOUND: ::windows_sys::core::HRESULT = -1073430494i32;
04454e1e 7622#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7623pub const SL_E_CHPA_RESPONSE_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073430507i32;
04454e1e 7624#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7625pub const SL_E_CHPA_SYSTEM_ERROR: ::windows_sys::core::HRESULT = -1073430516i32;
04454e1e 7626#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7627pub const SL_E_CHPA_TIMEBASED_ACTIVATION_AFTER_END_DATE: ::windows_sys::core::HRESULT = -1073430479i32;
04454e1e 7628#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7629pub const SL_E_CHPA_TIMEBASED_ACTIVATION_BEFORE_START_DATE: ::windows_sys::core::HRESULT = -1073430480i32;
04454e1e 7630#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7631pub const SL_E_CHPA_TIMEBASED_ACTIVATION_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073430478i32;
04454e1e 7632#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7633pub const SL_E_CHPA_TIMEBASED_PRODUCT_KEY_NOT_CONFIGURED: ::windows_sys::core::HRESULT = -1073430477i32;
04454e1e 7634#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7635pub const SL_E_CHPA_UNKNOWN_PRODUCT_KEY_TYPE: ::windows_sys::core::HRESULT = -1073428636i32;
04454e1e 7636#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7637pub const SL_E_CHPA_UNKNOWN_PROPERTY_ID: ::windows_sys::core::HRESULT = -1073428654i32;
04454e1e 7638#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7639pub const SL_E_CHPA_UNKNOWN_PROPERTY_NAME: ::windows_sys::core::HRESULT = -1073428655i32;
04454e1e 7640#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7641pub const SL_E_CHPA_UNSUPPORTED_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073430521i32;
04454e1e 7642#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7643pub const SL_E_CIDIID_INVALID_CHECK_DIGITS: ::windows_sys::core::HRESULT = -1073418163i32;
04454e1e 7644#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7645pub const SL_E_CIDIID_INVALID_DATA: ::windows_sys::core::HRESULT = -1073418196i32;
04454e1e 7646#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7647pub const SL_E_CIDIID_INVALID_DATA_LENGTH: ::windows_sys::core::HRESULT = -1073418193i32;
04454e1e 7648#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7649pub const SL_E_CIDIID_INVALID_VERSION: ::windows_sys::core::HRESULT = -1073418195i32;
04454e1e 7650#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7651pub const SL_E_CIDIID_MISMATCHED: ::windows_sys::core::HRESULT = -1073418191i32;
04454e1e 7652#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7653pub const SL_E_CIDIID_MISMATCHED_PKEY: ::windows_sys::core::HRESULT = -1073418114i32;
04454e1e 7654#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7655pub const SL_E_CIDIID_NOT_BOUND: ::windows_sys::core::HRESULT = -1073418113i32;
04454e1e 7656#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7657pub const SL_E_CIDIID_NOT_DEPOSITED: ::windows_sys::core::HRESULT = -1073418192i32;
04454e1e 7658#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7659pub const SL_E_CIDIID_VERSION_NOT_SUPPORTED: ::windows_sys::core::HRESULT = -1073418194i32;
04454e1e 7660#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7661pub const SL_E_DATATYPE_MISMATCHED: ::windows_sys::core::HRESULT = -1073418210i32;
04454e1e 7662#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7663pub const SL_E_DECRYPTION_LICENSES_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073418212i32;
04454e1e 7664#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7665pub const SL_E_DEPENDENT_PROPERTY_NOT_SET: ::windows_sys::core::HRESULT = -1073418138i32;
04454e1e 7666#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7667pub const SL_E_DOWNLEVEL_SETUP_KEY: ::windows_sys::core::HRESULT = -1073417708i32;
04454e1e 7668#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7669pub const SL_E_DUPLICATE_POLICY: ::windows_sys::core::HRESULT = -1073418158i32;
04454e1e 7670#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7671pub const SL_E_EDITION_MISMATCHED: ::windows_sys::core::HRESULT = -1073417712i32;
04454e1e 7672#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7673pub const SL_E_ENGINE_DETECTED_EXPLOIT: ::windows_sys::core::HRESULT = -1073429327i32;
04454e1e 7674#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7675pub const SL_E_EUL_CONSUMPTION_FAILED: ::windows_sys::core::HRESULT = -1073422315i32;
04454e1e 7676#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7677pub const SL_E_EUL_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073418188i32;
04454e1e 7678#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7679pub const SL_E_EVALUATION_FAILED: ::windows_sys::core::HRESULT = -1073422333i32;
04454e1e 7680#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7681pub const SL_E_EVENT_ALREADY_REGISTERED: ::windows_sys::core::HRESULT = -1073418213i32;
04454e1e 7682#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7683pub const SL_E_EVENT_NOT_REGISTERED: ::windows_sys::core::HRESULT = -1073418214i32;
04454e1e 7684#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7685pub const SL_E_EXTERNAL_SIGNATURE_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418234i32;
04454e1e 7686#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7687pub const SL_E_GRACE_TIME_EXPIRED: ::windows_sys::core::HRESULT = -1073418231i32;
04454e1e 7688#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7689pub const SL_E_HEALTH_CHECK_FAILED_MUI_FILES: ::windows_sys::core::HRESULT = -1073429330i32;
04454e1e 7690#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7691pub const SL_E_HEALTH_CHECK_FAILED_NEUTRAL_FILES: ::windows_sys::core::HRESULT = -1073429331i32;
04454e1e 7692#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7693pub const SL_E_HWID_CHANGED: ::windows_sys::core::HRESULT = -1073417711i32;
04454e1e 7694#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7695pub const SL_E_HWID_ERROR: ::windows_sys::core::HRESULT = -1073422309i32;
04454e1e 7696#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7697pub const SL_E_IA_ID_MISMATCH: ::windows_sys::core::HRESULT = -1073414909i32;
04454e1e 7698#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7699pub const SL_E_IA_INVALID_VIRTUALIZATION_PLATFORM: ::windows_sys::core::HRESULT = -1073414911i32;
04454e1e 7700#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7701pub const SL_E_IA_MACHINE_NOT_BOUND: ::windows_sys::core::HRESULT = -1073414908i32;
04454e1e 7702#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7703pub const SL_E_IA_PARENT_PARTITION_NOT_ACTIVATED: ::windows_sys::core::HRESULT = -1073414910i32;
04454e1e 7704#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7705pub const SL_E_IA_THROTTLE_LIMIT_EXCEEDED: ::windows_sys::core::HRESULT = -1073414912i32;
04454e1e 7706#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7707pub const SL_E_INTERNAL_ERROR: ::windows_sys::core::HRESULT = -1073418239i32;
04454e1e 7708#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7709pub const SL_E_INVALID_AD_DATA: ::windows_sys::core::HRESULT = -1073429329i32;
04454e1e 7710#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7711pub const SL_E_INVALID_BINDING_BLOB: ::windows_sys::core::HRESULT = -1073418190i32;
04454e1e 7712#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7713pub const SL_E_INVALID_CLIENT_TOKEN: ::windows_sys::core::HRESULT = -1073429720i32;
04454e1e 7714#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7715pub const SL_E_INVALID_CONTEXT: ::windows_sys::core::HRESULT = -1073422335i32;
04454e1e 7716#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7717pub const SL_E_INVALID_CONTEXT_DATA: ::windows_sys::core::HRESULT = -1073422300i32;
04454e1e 7718#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7719pub const SL_E_INVALID_EVENT_ID: ::windows_sys::core::HRESULT = -1073418215i32;
04454e1e 7720#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7721pub const SL_E_INVALID_FILE_HASH: ::windows_sys::core::HRESULT = -1073429343i32;
04454e1e 7722#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7723pub const SL_E_INVALID_GUID: ::windows_sys::core::HRESULT = -1073422330i32;
04454e1e 7724#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7725pub const SL_E_INVALID_HASH: ::windows_sys::core::HRESULT = -1073422299i32;
04454e1e 7726#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7727pub const SL_E_INVALID_LICENSE: ::windows_sys::core::HRESULT = -1073418209i32;
04454e1e 7728#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7729pub const SL_E_INVALID_LICENSE_STATE: ::windows_sys::core::HRESULT = -1073429336i32;
04454e1e 7730#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7731pub const SL_E_INVALID_LICENSE_STATE_BREACH_GRACE: ::windows_sys::core::HRESULT = -1073429871i32;
04454e1e 7732#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7733pub const SL_E_INVALID_LICENSE_STATE_BREACH_GRACE_EXPIRED: ::windows_sys::core::HRESULT = -1073429870i32;
04454e1e 7734#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7735pub const SL_E_INVALID_OEM_OR_VOLUME_BINDING_DATA: ::windows_sys::core::HRESULT = -1073429337i32;
04454e1e 7736#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7737pub const SL_E_INVALID_OFFLINE_BLOB: ::windows_sys::core::HRESULT = -1073429719i32;
04454e1e 7738#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7739pub const SL_E_INVALID_OSVERSION_TEMPLATEID: ::windows_sys::core::HRESULT = -1073429717i32;
04454e1e 7740#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7741pub const SL_E_INVALID_OS_FOR_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073429503i32;
04454e1e 7742#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7743pub const SL_E_INVALID_PACKAGE: ::windows_sys::core::HRESULT = -1073418208i32;
04454e1e 7744#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7745pub const SL_E_INVALID_PACKAGE_VERSION: ::windows_sys::core::HRESULT = -1073418144i32;
04454e1e 7746#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7747pub const SL_E_INVALID_PKEY: ::windows_sys::core::HRESULT = -1073418224i32;
04454e1e 7748#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7749pub const SL_E_INVALID_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073418160i32;
04454e1e 7750#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7751pub const SL_E_INVALID_PRODUCT_KEY_TYPE: ::windows_sys::core::HRESULT = -1073418115i32;
04454e1e 7752#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7753pub const SL_E_INVALID_RSDP_COUNT: ::windows_sys::core::HRESULT = -1073429328i32;
04454e1e 7754#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7755pub const SL_E_INVALID_RULESET_RULE: ::windows_sys::core::HRESULT = -1073422301i32;
04454e1e 7756#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7757pub const SL_E_INVALID_RUNNING_MODE: ::windows_sys::core::HRESULT = -1073418199i32;
04454e1e 7758#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7759pub const SL_E_INVALID_TEMPLATE_ID: ::windows_sys::core::HRESULT = -1073429770i32;
04454e1e 7760#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7761pub const SL_E_INVALID_TOKEN_DATA: ::windows_sys::core::HRESULT = -1073429332i32;
04454e1e 7762#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7763pub const SL_E_INVALID_USE_OF_ADD_ON_PKEY: ::windows_sys::core::HRESULT = -2147164122i32;
04454e1e 7764#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7765pub const SL_E_INVALID_XML_BLOB: ::windows_sys::core::HRESULT = -1073429766i32;
04454e1e 7766#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7767pub const SL_E_IP_LOCATION_FALIED: ::windows_sys::core::HRESULT = -1073429335i32;
04454e1e 7768#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7769pub const SL_E_ISSUANCE_LICENSE_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418142i32;
04454e1e 7770#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7771pub const SL_E_LICENSE_AUTHORIZATION_FAILED: ::windows_sys::core::HRESULT = -1073418206i32;
04454e1e 7772#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7773pub const SL_E_LICENSE_DECRYPTION_FAILED: ::windows_sys::core::HRESULT = -1073418205i32;
04454e1e 7774#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7775pub const SL_E_LICENSE_FILE_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418223i32;
04454e1e 7776#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7777pub const SL_E_LICENSE_INVALID_ADDON_INFO: ::windows_sys::core::HRESULT = -1073422310i32;
04454e1e 7778#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7779pub const SL_E_LICENSE_MANAGEMENT_DATA_DUPLICATED: ::windows_sys::core::HRESULT = -1073418156i32;
04454e1e 7780#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7781pub const SL_E_LICENSE_MANAGEMENT_DATA_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418161i32;
04454e1e 7782#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7783pub const SL_E_LICENSE_NOT_BOUND: ::windows_sys::core::HRESULT = -1073418112i32;
04454e1e 7784#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7785pub const SL_E_LICENSE_SERVER_URL_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418216i32;
04454e1e 7786#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7787pub const SL_E_LICENSE_SIGNATURE_VERIFICATION_FAILED: ::windows_sys::core::HRESULT = -1073418211i32;
04454e1e 7788#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7789pub const SL_E_LUA_ACCESSDENIED: ::windows_sys::core::HRESULT = -1073418203i32;
04454e1e 7790#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7791pub const SL_E_MISMATCHED_APPID: ::windows_sys::core::HRESULT = -1073418230i32;
04454e1e 7792#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7793pub const SL_E_MISMATCHED_KEY_TYPES: ::windows_sys::core::HRESULT = -1073429340i32;
04454e1e 7794#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7795pub const SL_E_MISMATCHED_PID: ::windows_sys::core::HRESULT = -1073418235i32;
04454e1e 7796#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7797pub const SL_E_MISMATCHED_PKEY_RANGE: ::windows_sys::core::HRESULT = -1073418236i32;
04454e1e 7798#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7799pub const SL_E_MISMATCHED_PRODUCT_SKU: ::windows_sys::core::HRESULT = -1073418135i32;
04454e1e 7800#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7801pub const SL_E_MISMATCHED_SECURITY_PROCESSOR: ::windows_sys::core::HRESULT = -1073418226i32;
04454e1e 7802#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7803pub const SL_E_MISSING_OVERRIDE_ONLY_ATTRIBUTE: ::windows_sys::core::HRESULT = -1073418157i32;
04454e1e 7804#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7805pub const SL_E_NONGENUINE_GRACE_TIME_EXPIRED: ::windows_sys::core::HRESULT = -1073418140i32;
04454e1e 7806#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7807pub const SL_E_NONGENUINE_GRACE_TIME_EXPIRED_2: ::windows_sys::core::HRESULT = -1073418137i32;
04454e1e 7808#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7809pub const SL_E_NON_GENUINE_STATUS_LAST: ::windows_sys::core::HRESULT = -1073428992i32;
04454e1e 7810#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7811pub const SL_E_NOTIFICATION_BREACH_DETECTED: ::windows_sys::core::HRESULT = -1073429199i32;
04454e1e 7812#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7813pub const SL_E_NOTIFICATION_GRACE_EXPIRED: ::windows_sys::core::HRESULT = -1073429198i32;
04454e1e 7814#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7815pub const SL_E_NOTIFICATION_OTHER_REASONS: ::windows_sys::core::HRESULT = -1073429197i32;
04454e1e 7816#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7817pub const SL_E_NOT_ACTIVATED: ::windows_sys::core::HRESULT = -1073422331i32;
04454e1e 7818#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7819pub const SL_E_NOT_EVALUATED: ::windows_sys::core::HRESULT = -1073422332i32;
04454e1e 7820#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7821pub const SL_E_NOT_GENUINE: ::windows_sys::core::HRESULT = -1073417728i32;
04454e1e 7822#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7823pub const SL_E_NOT_SUPPORTED: ::windows_sys::core::HRESULT = -1073418218i32;
04454e1e 7824#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7825pub const SL_E_NO_PID_CONFIG_DATA: ::windows_sys::core::HRESULT = -1073418229i32;
04454e1e 7826#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7827pub const SL_E_NO_PRODUCT_KEY_FOUND: ::windows_sys::core::HRESULT = -1073417709i32;
04454e1e 7828#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7829pub const SL_E_OEM_KEY_EDITION_MISMATCH: ::windows_sys::core::HRESULT = -1073417710i32;
04454e1e 7830#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7831pub const SL_E_OFFLINE_GENUINE_BLOB_NOT_FOUND: ::windows_sys::core::HRESULT = -1073429715i32;
04454e1e 7832#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7833pub const SL_E_OFFLINE_GENUINE_BLOB_REVOKED: ::windows_sys::core::HRESULT = -1073429716i32;
04454e1e 7834#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7835pub const SL_E_OFFLINE_VALIDATION_BLOB_PARAM_NOT_FOUND: ::windows_sys::core::HRESULT = -1073429718i32;
04454e1e 7836#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7837pub const SL_E_OPERATION_NOT_ALLOWED: ::windows_sys::core::HRESULT = -1073418134i32;
04454e1e 7838#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7839pub const SL_E_OUT_OF_TOLERANCE: ::windows_sys::core::HRESULT = -1073418225i32;
04454e1e 7840#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7841pub const SL_E_PKEY_INTERNAL_ERROR: ::windows_sys::core::HRESULT = -1073422311i32;
04454e1e 7842#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7843pub const SL_E_PKEY_INVALID_ALGORITHM: ::windows_sys::core::HRESULT = -1073422312i32;
04454e1e 7844#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7845pub const SL_E_PKEY_INVALID_CONFIG: ::windows_sys::core::HRESULT = -1073422314i32;
04454e1e 7846#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7847pub const SL_E_PKEY_INVALID_KEYCHANGE1: ::windows_sys::core::HRESULT = -1073422308i32;
04454e1e 7848#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7849pub const SL_E_PKEY_INVALID_KEYCHANGE2: ::windows_sys::core::HRESULT = -1073422307i32;
04454e1e 7850#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7851pub const SL_E_PKEY_INVALID_KEYCHANGE3: ::windows_sys::core::HRESULT = -1073422306i32;
04454e1e 7852#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7853pub const SL_E_PKEY_INVALID_UNIQUEID: ::windows_sys::core::HRESULT = -1073422313i32;
04454e1e 7854#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7855pub const SL_E_PKEY_INVALID_UPGRADE: ::windows_sys::core::HRESULT = -1073418143i32;
04454e1e 7856#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7857pub const SL_E_PKEY_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418220i32;
04454e1e 7858#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7859pub const SL_E_PLUGIN_INVALID_MANIFEST: ::windows_sys::core::HRESULT = -1073418127i32;
04454e1e 7860#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7861pub const SL_E_PLUGIN_NOT_REGISTERED: ::windows_sys::core::HRESULT = -1073418122i32;
04454e1e 7862#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7863pub const SL_E_POLICY_CACHE_INVALID: ::windows_sys::core::HRESULT = -1073418200i32;
04454e1e 7864#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7865pub const SL_E_POLICY_OTHERINFO_MISMATCH: ::windows_sys::core::HRESULT = -1073422304i32;
04454e1e 7866#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7867pub const SL_E_PRODUCT_KEY_INSTALLATION_NOT_ALLOWED: ::windows_sys::core::HRESULT = -1073418189i32;
04454e1e 7868#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7869pub const SL_E_PRODUCT_SKU_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418219i32;
04454e1e 7870#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7871pub const SL_E_PRODUCT_UNIQUENESS_GROUP_ID_INVALID: ::windows_sys::core::HRESULT = -1073422303i32;
04454e1e 7872#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7873pub const SL_E_PROXY_KEY_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418202i32;
04454e1e 7874#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7875pub const SL_E_PROXY_POLICY_NOT_UPDATED: ::windows_sys::core::HRESULT = -1073418169i32;
04454e1e 7876#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7877pub const SL_E_PUBLISHING_LICENSE_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418217i32;
04454e1e 7878#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7879pub const SL_E_RAC_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073418233i32;
04454e1e 7880#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7881pub const SL_E_RIGHT_NOT_CONSUMED: ::windows_sys::core::HRESULT = -1073418238i32;
04454e1e 7882#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7883pub const SL_E_RIGHT_NOT_GRANTED: ::windows_sys::core::HRESULT = -1073418221i32;
04454e1e 7884#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7885pub const SL_E_SECURE_STORE_ID_MISMATCH: ::windows_sys::core::HRESULT = -1073422302i32;
04454e1e 7886#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7887pub const SL_E_SERVICE_RUNNING: ::windows_sys::core::HRESULT = -1073418117i32;
04454e1e 7888#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7889pub const SL_E_SERVICE_STOPPING: ::windows_sys::core::HRESULT = -1073418123i32;
04454e1e 7890#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7891pub const SL_E_SFS_BAD_TOKEN_EXT: ::windows_sys::core::HRESULT = -2147163899i32;
04454e1e 7892#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7893pub const SL_E_SFS_BAD_TOKEN_NAME: ::windows_sys::core::HRESULT = -2147163900i32;
04454e1e 7894#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7895pub const SL_E_SFS_DUPLICATE_TOKEN_NAME: ::windows_sys::core::HRESULT = -2147163898i32;
04454e1e 7896#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7897pub const SL_E_SFS_FILE_READ_ERROR: ::windows_sys::core::HRESULT = -2147163895i32;
04454e1e 7898#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7899pub const SL_E_SFS_FILE_WRITE_ERROR: ::windows_sys::core::HRESULT = -2147163894i32;
04454e1e 7900#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7901pub const SL_E_SFS_INVALID_FD_TABLE: ::windows_sys::core::HRESULT = -2147163902i32;
04454e1e 7902#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7903pub const SL_E_SFS_INVALID_FILE_POSITION: ::windows_sys::core::HRESULT = -2147163893i32;
04454e1e 7904#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7905pub const SL_E_SFS_INVALID_FS_HEADER: ::windows_sys::core::HRESULT = -2147163891i32;
04454e1e 7906#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7907pub const SL_E_SFS_INVALID_FS_VERSION: ::windows_sys::core::HRESULT = -2147163903i32;
04454e1e 7908#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7909pub const SL_E_SFS_INVALID_SYNC: ::windows_sys::core::HRESULT = -2147163901i32;
04454e1e 7910#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7911pub const SL_E_SFS_INVALID_TOKEN_DATA_HASH: ::windows_sys::core::HRESULT = -2147163896i32;
04454e1e 7912#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7913pub const SL_E_SFS_INVALID_TOKEN_DESCRIPTOR: ::windows_sys::core::HRESULT = -2147163890i32;
04454e1e 7914#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7915pub const SL_E_SFS_NO_ACTIVE_TRANSACTION: ::windows_sys::core::HRESULT = -2147163892i32;
04454e1e 7916#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7917pub const SL_E_SFS_TOKEN_SIZE_MISMATCH: ::windows_sys::core::HRESULT = -2147163897i32;
04454e1e 7918#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7919pub const SL_E_SLP_BAD_FORMAT: ::windows_sys::core::HRESULT = -1073418151i32;
04454e1e 7920#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7921pub const SL_E_SLP_INVALID_MARKER_VERSION: ::windows_sys::core::HRESULT = -1073418116i32;
04454e1e 7922#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7923pub const SL_E_SLP_MISSING_ACPI_SLIC: ::windows_sys::core::HRESULT = -1073418153i32;
04454e1e 7924#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7925pub const SL_E_SLP_MISSING_SLP_MARKER: ::windows_sys::core::HRESULT = -1073418152i32;
04454e1e 7926#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7927pub const SL_E_SLP_NOT_SIGNED: ::windows_sys::core::HRESULT = -1073418198i32;
04454e1e 7928#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7929pub const SL_E_SLP_OEM_CERT_MISSING: ::windows_sys::core::HRESULT = -1073418141i32;
04454e1e 7930#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7931pub const SL_E_SOFTMOD_EXPLOIT_DETECTED: ::windows_sys::core::HRESULT = -1073429333i32;
04454e1e 7932#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7933pub const SL_E_SPC_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073418232i32;
04454e1e 7934#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7935pub const SL_E_SRV_AUTHORIZATION_FAILED: ::windows_sys::core::HRESULT = -1073434619i32;
04454e1e 7936#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7937pub const SL_E_SRV_BUSINESS_TOKEN_ENTRY_NOT_FOUND: ::windows_sys::core::HRESULT = -1073434608i32;
04454e1e 7938#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7939pub const SL_E_SRV_CLIENT_CLOCK_OUT_OF_SYNC: ::windows_sys::core::HRESULT = -1073434607i32;
04454e1e 7940#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7941pub const SL_E_SRV_GENERAL_ERROR: ::windows_sys::core::HRESULT = -1073434368i32;
04454e1e 7942#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7943pub const SL_E_SRV_INVALID_BINDING: ::windows_sys::core::HRESULT = -1073434618i32;
04454e1e 7944#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7945pub const SL_E_SRV_INVALID_LICENSE_STRUCTURE: ::windows_sys::core::HRESULT = -1073434620i32;
04454e1e 7946#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7947pub const SL_E_SRV_INVALID_PAYLOAD: ::windows_sys::core::HRESULT = -1073434616i32;
04454e1e 7948#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7949pub const SL_E_SRV_INVALID_PRODUCT_KEY_LICENSE: ::windows_sys::core::HRESULT = -1073434622i32;
04454e1e 7950#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7951pub const SL_E_SRV_INVALID_PUBLISH_LICENSE: ::windows_sys::core::HRESULT = -1073434623i32;
04454e1e 7952#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7953pub const SL_E_SRV_INVALID_RIGHTS_ACCOUNT_LICENSE: ::windows_sys::core::HRESULT = -1073434621i32;
04454e1e 7954#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7955pub const SL_E_SRV_INVALID_SECURITY_PROCESSOR_LICENSE: ::windows_sys::core::HRESULT = -1073434615i32;
04454e1e 7956#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7957pub const SL_E_SRV_SERVER_PONG: ::windows_sys::core::HRESULT = -1073434617i32;
04454e1e 7958#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7959pub const SL_E_STORE_UPGRADE_TOKEN_NOT_AUTHORIZED: ::windows_sys::core::HRESULT = -1073422290i32;
04454e1e 7960#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7961pub const SL_E_STORE_UPGRADE_TOKEN_NOT_PRS_SIGNED: ::windows_sys::core::HRESULT = -1073422292i32;
04454e1e 7962#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7963pub const SL_E_STORE_UPGRADE_TOKEN_REQUIRED: ::windows_sys::core::HRESULT = -1073422295i32;
04454e1e 7964#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7965pub const SL_E_STORE_UPGRADE_TOKEN_WRONG_EDITION: ::windows_sys::core::HRESULT = -1073422294i32;
04454e1e 7966#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7967pub const SL_E_STORE_UPGRADE_TOKEN_WRONG_PID: ::windows_sys::core::HRESULT = -1073422293i32;
04454e1e 7968#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7969pub const SL_E_STORE_UPGRADE_TOKEN_WRONG_VERSION: ::windows_sys::core::HRESULT = -1073422291i32;
04454e1e 7970#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7971pub const SL_E_TAMPER_DETECTED: ::windows_sys::core::HRESULT = -1073418201i32;
04454e1e 7972#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7973pub const SL_E_TAMPER_RECOVERY_REQUIRES_ACTIVATION: ::windows_sys::core::HRESULT = -1073414656i32;
04454e1e 7974#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7975pub const SL_E_TKA_CERT_CNG_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073417453i32;
04454e1e 7976#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7977pub const SL_E_TKA_CERT_NOT_FOUND: ::windows_sys::core::HRESULT = -1073417467i32;
04454e1e 7978#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7979pub const SL_E_TKA_CHALLENGE_EXPIRED: ::windows_sys::core::HRESULT = -1073417471i32;
04454e1e 7980#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7981pub const SL_E_TKA_CHALLENGE_MISMATCH: ::windows_sys::core::HRESULT = -1073417463i32;
04454e1e 7982#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7983pub const SL_E_TKA_CRITERIA_MISMATCH: ::windows_sys::core::HRESULT = -1073417457i32;
04454e1e 7984#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7985pub const SL_E_TKA_FAILED_GRANT_PARSING: ::windows_sys::core::HRESULT = -1073417460i32;
04454e1e 7986#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7987pub const SL_E_TKA_GRANT_NOT_FOUND: ::windows_sys::core::HRESULT = -1073417468i32;
04454e1e 7988#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7989pub const SL_E_TKA_INVALID_BLOB: ::windows_sys::core::HRESULT = -1073417465i32;
04454e1e 7990#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7991pub const SL_E_TKA_INVALID_CERTIFICATE: ::windows_sys::core::HRESULT = -1073417462i32;
04454e1e 7992#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7993pub const SL_E_TKA_INVALID_CERT_CHAIN: ::windows_sys::core::HRESULT = -1073417469i32;
04454e1e 7994#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7995pub const SL_E_TKA_INVALID_SKU_ID: ::windows_sys::core::HRESULT = -1073417466i32;
04454e1e 7996#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7997pub const SL_E_TKA_INVALID_SMARTCARD: ::windows_sys::core::HRESULT = -1073417461i32;
04454e1e 7998#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 7999pub const SL_E_TKA_INVALID_THUMBPRINT: ::windows_sys::core::HRESULT = -1073417459i32;
04454e1e 8000#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8001pub const SL_E_TKA_SILENT_ACTIVATION_FAILURE: ::windows_sys::core::HRESULT = -1073417470i32;
04454e1e 8002#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8003pub const SL_E_TKA_SOFT_CERT_DISALLOWED: ::windows_sys::core::HRESULT = -1073417455i32;
04454e1e 8004#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8005pub const SL_E_TKA_SOFT_CERT_INVALID: ::windows_sys::core::HRESULT = -1073417454i32;
04454e1e 8006#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8007pub const SL_E_TKA_TAMPERED_CERT_CHAIN: ::windows_sys::core::HRESULT = -1073417464i32;
04454e1e 8008#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8009pub const SL_E_TKA_THUMBPRINT_CERT_NOT_FOUND: ::windows_sys::core::HRESULT = -1073417458i32;
04454e1e 8010#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8011pub const SL_E_TKA_TPID_MISMATCH: ::windows_sys::core::HRESULT = -1073417456i32;
04454e1e 8012#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8013pub const SL_E_TOKEN_STORE_INVALID_STATE: ::windows_sys::core::HRESULT = -1073422334i32;
04454e1e 8014#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8015pub const SL_E_TOKSTO_ALREADY_INITIALIZED: ::windows_sys::core::HRESULT = -1073422326i32;
04454e1e 8016#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8017pub const SL_E_TOKSTO_CANT_ACQUIRE_MUTEX: ::windows_sys::core::HRESULT = -1073422317i32;
04454e1e 8018#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8019pub const SL_E_TOKSTO_CANT_CREATE_FILE: ::windows_sys::core::HRESULT = -1073422324i32;
04454e1e 8020#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8021pub const SL_E_TOKSTO_CANT_CREATE_MUTEX: ::windows_sys::core::HRESULT = -1073422318i32;
04454e1e 8022#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8023pub const SL_E_TOKSTO_CANT_PARSE_PROPERTIES: ::windows_sys::core::HRESULT = -1073422321i32;
04454e1e 8024#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8025pub const SL_E_TOKSTO_CANT_READ_FILE: ::windows_sys::core::HRESULT = -1073422322i32;
04454e1e 8026#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8027pub const SL_E_TOKSTO_CANT_WRITE_TO_FILE: ::windows_sys::core::HRESULT = -1073422323i32;
04454e1e 8028#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8029pub const SL_E_TOKSTO_INVALID_FILE: ::windows_sys::core::HRESULT = -1073422319i32;
04454e1e 8030#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8031pub const SL_E_TOKSTO_NOT_INITIALIZED: ::windows_sys::core::HRESULT = -1073422327i32;
04454e1e 8032#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8033pub const SL_E_TOKSTO_NO_ID_SET: ::windows_sys::core::HRESULT = -1073422325i32;
04454e1e 8034#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8035pub const SL_E_TOKSTO_NO_PROPERTIES: ::windows_sys::core::HRESULT = -1073422328i32;
04454e1e 8036#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8037pub const SL_E_TOKSTO_NO_TOKEN_DATA: ::windows_sys::core::HRESULT = -1073422316i32;
04454e1e 8038#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8039pub const SL_E_TOKSTO_PROPERTY_NOT_FOUND: ::windows_sys::core::HRESULT = -1073422320i32;
04454e1e 8040#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8041pub const SL_E_TOKSTO_TOKEN_NOT_FOUND: ::windows_sys::core::HRESULT = -1073422329i32;
04454e1e 8042#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8043pub const SL_E_USE_LICENSE_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418237i32;
04454e1e 8044#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8045pub const SL_E_VALIDATION_BLOB_PARAM_NOT_FOUND: ::windows_sys::core::HRESULT = -1073429721i32;
04454e1e 8046#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8047pub const SL_E_VALIDATION_BLOCKED_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073429342i32;
04454e1e 8048#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8049pub const SL_E_VALIDATION_INVALID_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073429339i32;
04454e1e 8050#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8051pub const SL_E_VALIDITY_PERIOD_EXPIRED: ::windows_sys::core::HRESULT = -1073415161i32;
04454e1e 8052#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8053pub const SL_E_VALIDITY_TIME_EXPIRED: ::windows_sys::core::HRESULT = -1073418207i32;
04454e1e 8054#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8055pub const SL_E_VALUE_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418222i32;
04454e1e 8056#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8057pub const SL_E_VL_AD_AO_NAME_TOO_LONG: ::windows_sys::core::HRESULT = -1073418110i32;
04454e1e 8058#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8059pub const SL_E_VL_AD_AO_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418111i32;
04454e1e 8060#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8061pub const SL_E_VL_AD_SCHEMA_VERSION_NOT_SUPPORTED: ::windows_sys::core::HRESULT = -1073418109i32;
04454e1e 8062#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8063pub const SL_E_VL_BINDING_SERVICE_NOT_ENABLED: ::windows_sys::core::HRESULT = -1073418183i32;
04454e1e 8064#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8065pub const SL_E_VL_BINDING_SERVICE_UNAVAILABLE: ::windows_sys::core::HRESULT = -1073418124i32;
04454e1e 8066#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8067pub const SL_E_VL_INFO_PRODUCT_USER_RIGHT: ::windows_sys::core::HRESULT = 1074065472i32;
04454e1e 8068#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8069pub const SL_E_VL_INVALID_TIMESTAMP: ::windows_sys::core::HRESULT = -1073418132i32;
04454e1e 8070#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8071pub const SL_E_VL_KEY_MANAGEMENT_SERVICE_ID_MISMATCH: ::windows_sys::core::HRESULT = -1073418174i32;
04454e1e 8072#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8073pub const SL_E_VL_KEY_MANAGEMENT_SERVICE_NOT_ACTIVATED: ::windows_sys::core::HRESULT = -1073418175i32;
04454e1e 8074#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8075pub const SL_E_VL_KEY_MANAGEMENT_SERVICE_VM_NOT_SUPPORTED: ::windows_sys::core::HRESULT = -1073418133i32;
04454e1e 8076#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8077pub const SL_E_VL_MACHINE_NOT_BOUND: ::windows_sys::core::HRESULT = -1073418154i32;
04454e1e 8078#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8079pub const SL_E_VL_NOT_ENOUGH_COUNT: ::windows_sys::core::HRESULT = -1073418184i32;
04454e1e 8080#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8081pub const SL_E_VL_NOT_WINDOWS_SLP: ::windows_sys::core::HRESULT = -1073418187i32;
04454e1e 8082#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8083pub const SL_E_WINDOWS_INVALID_LICENSE_STATE: ::windows_sys::core::HRESULT = -1073418204i32;
04454e1e 8084#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8085pub const SL_E_WINDOWS_VERSION_MISMATCH: ::windows_sys::core::HRESULT = -1073422297i32;
04454e1e 8086#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8087pub type SL_GENUINE_STATE = i32;
04454e1e 8088#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8089pub const SL_GEN_STATE_IS_GENUINE: SL_GENUINE_STATE = 0i32;
04454e1e 8090#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8091pub const SL_GEN_STATE_INVALID_LICENSE: SL_GENUINE_STATE = 1i32;
04454e1e 8092#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8093pub const SL_GEN_STATE_TAMPERED: SL_GENUINE_STATE = 2i32;
04454e1e 8094#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8095pub const SL_GEN_STATE_OFFLINE: SL_GENUINE_STATE = 3i32;
04454e1e 8096#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8097pub const SL_GEN_STATE_LAST: SL_GENUINE_STATE = 4i32;
04454e1e 8098#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8099pub const SL_INFO_KEY_ACTIVE_PLUGINS: &str = "ActivePlugins";
04454e1e 8100#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8101pub const SL_INFO_KEY_AUTHOR: &str = "Author";
04454e1e 8102#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8103pub const SL_INFO_KEY_BIOS_OA2_MINOR_VERSION: &str = "BiosOA2MinorVersion";
04454e1e 8104#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8105pub const SL_INFO_KEY_BIOS_PKEY: &str = "BiosProductKey";
04454e1e 8106#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8107pub const SL_INFO_KEY_BIOS_PKEY_DESCRIPTION: &str = "BiosProductKeyDescription";
04454e1e 8108#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8109pub const SL_INFO_KEY_BIOS_PKEY_PKPN: &str = "BiosProductKeyPkPn";
04454e1e 8110#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8111pub const SL_INFO_KEY_BIOS_SLIC_STATE: &str = "BiosSlicState";
04454e1e 8112#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8113pub const SL_INFO_KEY_CHANNEL: &str = "Channel";
04454e1e 8114#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8115pub const SL_INFO_KEY_DESCRIPTION: &str = "Description";
04454e1e 8116#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8117pub const SL_INFO_KEY_DIGITAL_PID: &str = "DigitalPID";
04454e1e 8118#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8119pub const SL_INFO_KEY_DIGITAL_PID2: &str = "DigitalPID2";
04454e1e 8120#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8121pub const SL_INFO_KEY_IS_KMS: &str = "IsKeyManagementService";
04454e1e 8122#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8123pub const SL_INFO_KEY_IS_PRS: &str = "IsPRS";
04454e1e 8124#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8125pub const SL_INFO_KEY_KMS_CURRENT_COUNT: &str = "KeyManagementServiceCurrentCount";
04454e1e 8126#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8127pub const SL_INFO_KEY_KMS_FAILED_REQUESTS: &str = "KeyManagementServiceFailedRequests";
04454e1e 8128#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8129pub const SL_INFO_KEY_KMS_LICENSED_REQUESTS: &str = "KeyManagementServiceLicensedRequests";
04454e1e 8130#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8131pub const SL_INFO_KEY_KMS_NON_GENUINE_GRACE_REQUESTS: &str = "KeyManagementServiceNonGenuineGraceRequests";
04454e1e 8132#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8133pub const SL_INFO_KEY_KMS_NOTIFICATION_REQUESTS: &str = "KeyManagementServiceNotificationRequests";
04454e1e 8134#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8135pub const SL_INFO_KEY_KMS_OOB_GRACE_REQUESTS: &str = "KeyManagementServiceOOBGraceRequests";
04454e1e 8136#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8137pub const SL_INFO_KEY_KMS_OOT_GRACE_REQUESTS: &str = "KeyManagementServiceOOTGraceRequests";
04454e1e 8138#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8139pub const SL_INFO_KEY_KMS_REQUIRED_CLIENT_COUNT: &str = "KeyManagementServiceRequiredClientCount";
04454e1e 8140#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8141pub const SL_INFO_KEY_KMS_TOTAL_REQUESTS: &str = "KeyManagementServiceTotalRequests";
04454e1e 8142#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8143pub const SL_INFO_KEY_KMS_UNLICENSED_REQUESTS: &str = "KeyManagementServiceUnlicensedRequests";
04454e1e 8144#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8145pub const SL_INFO_KEY_LICENSE_TYPE: &str = "LicenseType";
04454e1e 8146#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8147pub const SL_INFO_KEY_LICENSOR_URL: &str = "LicensorUrl";
04454e1e 8148#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8149pub const SL_INFO_KEY_NAME: &str = "Name";
04454e1e 8150#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8151pub const SL_INFO_KEY_PARTIAL_PRODUCT_KEY: &str = "PartialProductKey";
04454e1e 8152#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8153pub const SL_INFO_KEY_PRODUCT_KEY_ACTIVATION_URL: &str = "PKCURL";
04454e1e 8154#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8155pub const SL_INFO_KEY_PRODUCT_SKU_ID: &str = "ProductSkuId";
04454e1e 8156#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8157pub const SL_INFO_KEY_RIGHT_ACCOUNT_ACTIVATION_URL: &str = "RACURL";
04454e1e 8158#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8159pub const SL_INFO_KEY_SECURE_PROCESSOR_ACTIVATION_URL: &str = "SPCURL";
04454e1e 8160#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8161pub const SL_INFO_KEY_SECURE_STORE_ID: &str = "SecureStoreId";
04454e1e 8162#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8163pub const SL_INFO_KEY_SYSTEM_STATE: &str = "SystemState";
04454e1e 8164#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8165pub const SL_INFO_KEY_USE_LICENSE_ACTIVATION_URL: &str = "EULURL";
04454e1e 8166#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8167pub const SL_INFO_KEY_VERSION: &str = "Version";
04454e1e 8168#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8169pub const SL_INTERNAL_ZONE: u32 = 57344u32;
04454e1e 8170#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8171pub const SL_I_NONGENUINE_GRACE_PERIOD: ::windows_sys::core::HRESULT = 1074065509i32;
04454e1e 8172#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8173pub const SL_I_NONGENUINE_GRACE_PERIOD_2: ::windows_sys::core::HRESULT = 1074065512i32;
04454e1e 8174#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8175pub const SL_I_OOB_GRACE_PERIOD: ::windows_sys::core::HRESULT = 1074065420i32;
04454e1e 8176#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8177pub const SL_I_OOT_GRACE_PERIOD: ::windows_sys::core::HRESULT = 1074065421i32;
04454e1e 8178#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8179pub const SL_I_PERPETUAL_OOB_GRACE_PERIOD: ::windows_sys::core::HRESULT = 1074068485i32;
04454e1e 8180#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8181pub const SL_I_STORE_BASED_ACTIVATION: ::windows_sys::core::HRESULT = 1074066433i32;
04454e1e 8182#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8183pub const SL_I_TIMEBASED_EXTENDED_GRACE_PERIOD: ::windows_sys::core::HRESULT = 1074068486i32;
04454e1e 8184#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8185pub const SL_I_TIMEBASED_VALIDITY_PERIOD: ::windows_sys::core::HRESULT = 1074068484i32;
8186#[repr(C)]
04454e1e 8187#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8188pub struct SL_LICENSING_STATUS {
8189 pub SkuId: ::windows_sys::core::GUID,
8190 pub eStatus: SLLICENSINGSTATUS,
8191 pub dwGraceTime: u32,
8192 pub dwTotalGraceDays: u32,
8193 pub hrReason: ::windows_sys::core::HRESULT,
8194 pub qwValidityExpiration: u64,
8195}
8196impl ::core::marker::Copy for SL_LICENSING_STATUS {}
8197impl ::core::clone::Clone for SL_LICENSING_STATUS {
8198 fn clone(&self) -> Self {
8199 *self
8200 }
8201}
04454e1e 8202#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8203pub const SL_MDOLLAR_ZONE: u32 = 40960u32;
04454e1e 8204#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8205pub const SL_MSCH_ZONE: u32 = 49152u32;
8206#[repr(C)]
04454e1e 8207#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8208pub struct SL_NONGENUINE_UI_OPTIONS {
8209 pub cbSize: u32,
8210 pub pComponentId: *const ::windows_sys::core::GUID,
8211 pub hResultUI: ::windows_sys::core::HRESULT,
8212}
8213impl ::core::marker::Copy for SL_NONGENUINE_UI_OPTIONS {}
8214impl ::core::clone::Clone for SL_NONGENUINE_UI_OPTIONS {
8215 fn clone(&self) -> Self {
8216 *self
8217 }
8218}
04454e1e 8219#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8220pub const SL_PKEY_DETECT: &str = "msft:rm/algorithm/pkey/detect";
04454e1e 8221#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8222pub const SL_PKEY_MS2005: &str = "msft:rm/algorithm/pkey/2005";
04454e1e 8223#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8224pub const SL_PKEY_MS2009: &str = "msft:rm/algorithm/pkey/2009";
04454e1e 8225#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8226pub const SL_POLICY_EVALUATION_MODE_ENABLED: &str = "Security-SPP-EvaluationModeEnabled";
04454e1e 8227#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8228pub const SL_PROP_ACTIVATION_VALIDATION_IN_PROGRESS: &str = "SL_ACTIVATION_VALIDATION_IN_PROGRESS";
04454e1e 8229#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8230pub const SL_PROP_BRT_COMMIT: &str = "SL_BRT_COMMIT";
04454e1e 8231#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8232pub const SL_PROP_BRT_DATA: &str = "SL_BRT_DATA";
04454e1e 8233#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8234pub const SL_PROP_GENUINE_RESULT: &str = "SL_GENUINE_RESULT";
04454e1e 8235#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8236pub const SL_PROP_GET_GENUINE_AUTHZ: &str = "SL_GET_GENUINE_AUTHZ";
04454e1e 8237#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8238pub const SL_PROP_GET_GENUINE_SERVER_AUTHZ: &str = "SL_GET_GENUINE_SERVER_AUTHZ";
04454e1e 8239#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8240pub const SL_PROP_LAST_ACT_ATTEMPT_HRESULT: &str = "SL_LAST_ACT_ATTEMPT_HRESULT";
04454e1e 8241#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8242pub const SL_PROP_LAST_ACT_ATTEMPT_SERVER_FLAGS: &str = "SL_LAST_ACT_ATTEMPT_SERVER_FLAGS";
04454e1e 8243#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8244pub const SL_PROP_LAST_ACT_ATTEMPT_TIME: &str = "SL_LAST_ACT_ATTEMPT_TIME";
04454e1e 8245#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8246pub const SL_PROP_NONGENUINE_GRACE_FLAG: &str = "SL_NONGENUINE_GRACE_FLAG";
04454e1e 8247#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8248pub const SL_REARM_REBOOT_REQUIRED: u32 = 1u32;
04454e1e 8249#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8250pub const SL_REMAPPING_MDOLLAR_CIDIID_INVALID_CHECK_DIGITS: ::windows_sys::core::HRESULT = -2143313776i32;
04454e1e 8251#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8252pub const SL_REMAPPING_MDOLLAR_CIDIID_INVALID_DATA: ::windows_sys::core::HRESULT = -2143313778i32;
04454e1e 8253#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8254pub const SL_REMAPPING_MDOLLAR_CIDIID_INVALID_DATA_LENGTH: ::windows_sys::core::HRESULT = -2143313777i32;
04454e1e 8255#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8256pub const SL_REMAPPING_MDOLLAR_CIDIID_INVALID_VERSION: ::windows_sys::core::HRESULT = -2143313779i32;
04454e1e 8257#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8258pub const SL_REMAPPING_MDOLLAR_DIGITALMARKER_BINDING_NOT_CONFIGURED: ::windows_sys::core::HRESULT = -2143313708i32;
04454e1e 8259#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8260pub const SL_REMAPPING_MDOLLAR_DIGITALMARKER_INVALID_BINDING: ::windows_sys::core::HRESULT = -2143313709i32;
04454e1e 8261#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8262pub const SL_REMAPPING_MDOLLAR_DMAK_EXTENSION_LIMIT_EXCEEDED: ::windows_sys::core::HRESULT = -2143313792i32;
04454e1e 8263#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8264pub const SL_REMAPPING_MDOLLAR_DMAK_LIMIT_EXCEEDED: ::windows_sys::core::HRESULT = -2143313793i32;
04454e1e 8265#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8266pub const SL_REMAPPING_MDOLLAR_DMAK_OVERRIDE_LIMIT_REACHED: ::windows_sys::core::HRESULT = -2143313706i32;
04454e1e 8267#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8268pub const SL_REMAPPING_MDOLLAR_FREE_OFFER_EXPIRED: ::windows_sys::core::HRESULT = -2143312896i32;
04454e1e 8269#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8270pub const SL_REMAPPING_MDOLLAR_INVALID_ACTCONFIG_ID: ::windows_sys::core::HRESULT = -2143313802i32;
04454e1e 8271#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8272pub const SL_REMAPPING_MDOLLAR_INVALID_ARGUMENT: ::windows_sys::core::HRESULT = -2143313795i32;
04454e1e 8273#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8274pub const SL_REMAPPING_MDOLLAR_INVALID_BINDING: ::windows_sys::core::HRESULT = -2143313818i32;
04454e1e 8275#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8276pub const SL_REMAPPING_MDOLLAR_INVALID_BINDING_URI: ::windows_sys::core::HRESULT = -2143313798i32;
04454e1e 8277#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8278pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_DATA: ::windows_sys::core::HRESULT = -2143313804i32;
04454e1e 8279#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8280pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_DATA_ID: ::windows_sys::core::HRESULT = -2143313805i32;
04454e1e 8281#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8282pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_KEY: ::windows_sys::core::HRESULT = -2143313816i32;
04454e1e 8283#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8284pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_KEY_FORMAT: ::windows_sys::core::HRESULT = -2143313800i32;
04454e1e 8285#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8286pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_KEY_LENGTH: ::windows_sys::core::HRESULT = -2143313801i32;
04454e1e 8287#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8288pub const SL_REMAPPING_MDOLLAR_MAXIMUM_UNLOCK_EXCEEDED: ::windows_sys::core::HRESULT = -2143313807i32;
04454e1e 8289#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8290pub const SL_REMAPPING_MDOLLAR_NO_RULES_TO_ACTIVATE: ::windows_sys::core::HRESULT = -2143313720i32;
04454e1e 8291#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8292pub const SL_REMAPPING_MDOLLAR_OEM_SLP_COA0: ::windows_sys::core::HRESULT = -2143313789i32;
04454e1e 8293#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8294pub const SL_REMAPPING_MDOLLAR_OSR_DEVICE_BLOCKED: ::windows_sys::core::HRESULT = -2143310909i32;
04454e1e 8295#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8296pub const SL_REMAPPING_MDOLLAR_OSR_DEVICE_THROTTLED: ::windows_sys::core::HRESULT = -2143310914i32;
04454e1e 8297#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8298pub const SL_REMAPPING_MDOLLAR_OSR_DONOR_HWID_NO_ENTITLEMENT: ::windows_sys::core::HRESULT = -2143310920i32;
04454e1e 8299#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8300pub const SL_REMAPPING_MDOLLAR_OSR_GENERIC_ERROR: ::windows_sys::core::HRESULT = -2143310919i32;
04454e1e 8301#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8302pub const SL_REMAPPING_MDOLLAR_OSR_GP_DISABLED: ::windows_sys::core::HRESULT = -2143310913i32;
04454e1e 8303#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8304pub const SL_REMAPPING_MDOLLAR_OSR_HARDWARE_BLOCKED: ::windows_sys::core::HRESULT = -2143310912i32;
04454e1e 8305#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8306pub const SL_REMAPPING_MDOLLAR_OSR_LICENSE_BLOCKED: ::windows_sys::core::HRESULT = -2143310910i32;
04454e1e 8307#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8308pub const SL_REMAPPING_MDOLLAR_OSR_LICENSE_THROTTLED: ::windows_sys::core::HRESULT = -2143310915i32;
04454e1e 8309#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8310pub const SL_REMAPPING_MDOLLAR_OSR_NOT_ADMIN: ::windows_sys::core::HRESULT = -2143310917i32;
04454e1e 8311#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8312pub const SL_REMAPPING_MDOLLAR_OSR_NO_ASSOCIATION: ::windows_sys::core::HRESULT = -2143310918i32;
04454e1e 8313#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8314pub const SL_REMAPPING_MDOLLAR_OSR_USER_BLOCKED: ::windows_sys::core::HRESULT = -2143310911i32;
04454e1e 8315#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8316pub const SL_REMAPPING_MDOLLAR_OSR_USER_THROTTLED: ::windows_sys::core::HRESULT = -2143310916i32;
04454e1e 8317#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8318pub const SL_REMAPPING_MDOLLAR_PRODUCT_KEY_BLOCKED: ::windows_sys::core::HRESULT = -2143313817i32;
04454e1e 8319#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8320pub const SL_REMAPPING_MDOLLAR_PRODUCT_KEY_BLOCKED_IPLOCATION: ::windows_sys::core::HRESULT = -2143313717i32;
04454e1e 8321#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8322pub const SL_REMAPPING_MDOLLAR_PRODUCT_KEY_OUT_OF_RANGE: ::windows_sys::core::HRESULT = -2143313819i32;
04454e1e 8323#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8324pub const SL_REMAPPING_MDOLLAR_ROT_OVERRIDE_LIMIT_REACHED: ::windows_sys::core::HRESULT = -2143313707i32;
04454e1e 8325#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8326pub const SL_REMAPPING_MDOLLAR_TIMEBASED_ACTIVATION_AFTER_END_DATE: ::windows_sys::core::HRESULT = -2143313768i32;
04454e1e 8327#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8328pub const SL_REMAPPING_MDOLLAR_TIMEBASED_ACTIVATION_BEFORE_START_DATE: ::windows_sys::core::HRESULT = -2143313769i32;
04454e1e 8329#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8330pub const SL_REMAPPING_MDOLLAR_TIMEBASED_ACTIVATION_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -2143313767i32;
04454e1e 8331#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8332pub const SL_REMAPPING_MDOLLAR_TIMEBASED_PRODUCT_KEY_NOT_CONFIGURED: ::windows_sys::core::HRESULT = -2143313766i32;
04454e1e 8333#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8334pub const SL_REMAPPING_MDOLLAR_UNSUPPORTED_PRODUCT_KEY: ::windows_sys::core::HRESULT = -2143313812i32;
04454e1e 8335#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8336pub const SL_REMAPPING_SP_PUB_API_BAD_GET_INFO_QUERY: ::windows_sys::core::HRESULT = -1073426414i32;
04454e1e 8337#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8338pub const SL_REMAPPING_SP_PUB_API_HANDLE_NOT_COMMITED: ::windows_sys::core::HRESULT = -1073426303i32;
04454e1e 8339#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8340pub const SL_REMAPPING_SP_PUB_API_INVALID_ALGORITHM_TYPE: ::windows_sys::core::HRESULT = -1073426423i32;
04454e1e 8341#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8342pub const SL_REMAPPING_SP_PUB_API_INVALID_HANDLE: ::windows_sys::core::HRESULT = -1073426388i32;
04454e1e 8343#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8344pub const SL_REMAPPING_SP_PUB_API_INVALID_KEY_LENGTH: ::windows_sys::core::HRESULT = -1073426347i32;
04454e1e 8345#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8346pub const SL_REMAPPING_SP_PUB_API_INVALID_LICENSE: ::windows_sys::core::HRESULT = -1073426432i32;
04454e1e 8347#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8348pub const SL_REMAPPING_SP_PUB_API_NO_AES_PROVIDER: ::windows_sys::core::HRESULT = -1073426317i32;
04454e1e 8349#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8350pub const SL_REMAPPING_SP_PUB_API_TOO_MANY_LOADED_ENVIRONMENTS: ::windows_sys::core::HRESULT = -1073426420i32;
04454e1e 8351#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8352pub const SL_REMAPPING_SP_PUB_CRYPTO_HASH_FINALIZED: ::windows_sys::core::HRESULT = -1073425911i32;
04454e1e 8353#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8354pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_BLOCK: ::windows_sys::core::HRESULT = -1073425905i32;
04454e1e 8355#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8356pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_BLOCKLENGTH: ::windows_sys::core::HRESULT = -1073425918i32;
04454e1e 8357#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8358pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_CIPHER: ::windows_sys::core::HRESULT = -1073425917i32;
04454e1e 8359#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8360pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_CIPHERMODE: ::windows_sys::core::HRESULT = -1073425916i32;
04454e1e 8361#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8362pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_FORMAT: ::windows_sys::core::HRESULT = -1073425904i32;
04454e1e 8363#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8364pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_KEYLENGTH: ::windows_sys::core::HRESULT = -1073425919i32;
04454e1e 8365#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8366pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_PADDING: ::windows_sys::core::HRESULT = -1073425903i32;
04454e1e 8367#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8368pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_SIGNATURE: ::windows_sys::core::HRESULT = -1073425906i32;
04454e1e 8369#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8370pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_SIGNATURELENGTH: ::windows_sys::core::HRESULT = -1073425907i32;
04454e1e 8371#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8372pub const SL_REMAPPING_SP_PUB_CRYPTO_KEY_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073425910i32;
04454e1e 8373#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8374pub const SL_REMAPPING_SP_PUB_CRYPTO_KEY_NOT_FOUND: ::windows_sys::core::HRESULT = -1073425909i32;
04454e1e 8375#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8376pub const SL_REMAPPING_SP_PUB_CRYPTO_NOT_BLOCK_ALIGNED: ::windows_sys::core::HRESULT = -1073425908i32;
04454e1e 8377#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8378pub const SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_ATTRIBUTEID: ::windows_sys::core::HRESULT = -1073425912i32;
04454e1e 8379#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8380pub const SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_HASHID: ::windows_sys::core::HRESULT = -1073425913i32;
04454e1e 8381#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8382pub const SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_KEYID: ::windows_sys::core::HRESULT = -1073425914i32;
04454e1e 8383#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8384pub const SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_PROVIDERID: ::windows_sys::core::HRESULT = -1073425915i32;
04454e1e 8385#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8386pub const SL_REMAPPING_SP_PUB_GENERAL_NOT_INITIALIZED: ::windows_sys::core::HRESULT = -1073426175i32;
04454e1e 8387#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8388pub const SL_REMAPPING_SP_PUB_KM_CACHE_IDENTICAL: ::windows_sys::core::HRESULT = 1074058753i32;
04454e1e 8389#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8390pub const SL_REMAPPING_SP_PUB_KM_CACHE_POLICY_CHANGED: ::windows_sys::core::HRESULT = 1074058754i32;
04454e1e 8391#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8392pub const SL_REMAPPING_SP_PUB_KM_CACHE_TAMPER: ::windows_sys::core::HRESULT = -1073425151i32;
04454e1e 8393#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8394pub const SL_REMAPPING_SP_PUB_KM_CACHE_TAMPER_RESTORE_FAILED: ::windows_sys::core::HRESULT = -1073425150i32;
04454e1e 8395#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8396pub const SL_REMAPPING_SP_PUB_PROXY_SOFT_TAMPER: ::windows_sys::core::HRESULT = -1073424638i32;
04454e1e 8397#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8398pub const SL_REMAPPING_SP_PUB_TAMPER_MODULE_AUTHENTICATION: ::windows_sys::core::HRESULT = -1073425407i32;
04454e1e 8399#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8400pub const SL_REMAPPING_SP_PUB_TAMPER_SECURITY_PROCESSOR_PATCHED: ::windows_sys::core::HRESULT = -1073425406i32;
04454e1e 8401#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8402pub const SL_REMAPPING_SP_PUB_TIMER_ALREADY_EXISTS: ::windows_sys::core::HRESULT = -1073425654i32;
04454e1e 8403#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8404pub const SL_REMAPPING_SP_PUB_TIMER_EXPIRED: ::windows_sys::core::HRESULT = -1073425652i32;
04454e1e 8405#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8406pub const SL_REMAPPING_SP_PUB_TIMER_NAME_SIZE_TOO_BIG: ::windows_sys::core::HRESULT = -1073425651i32;
04454e1e 8407#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8408pub const SL_REMAPPING_SP_PUB_TIMER_NOT_FOUND: ::windows_sys::core::HRESULT = -1073425653i32;
04454e1e 8409#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8410pub const SL_REMAPPING_SP_PUB_TIMER_READ_ONLY: ::windows_sys::core::HRESULT = -1073425647i32;
04454e1e 8411#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8412pub const SL_REMAPPING_SP_PUB_TRUSTED_TIME_OK: ::windows_sys::core::HRESULT = 1074057999i32;
04454e1e 8413#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8414pub const SL_REMAPPING_SP_PUB_TS_ACCESS_DENIED: ::windows_sys::core::HRESULT = -1073425644i32;
04454e1e 8415#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8416pub const SL_REMAPPING_SP_PUB_TS_ATTRIBUTE_NOT_FOUND: ::windows_sys::core::HRESULT = -1073425645i32;
04454e1e 8417#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8418pub const SL_REMAPPING_SP_PUB_TS_ATTRIBUTE_READ_ONLY: ::windows_sys::core::HRESULT = -1073425646i32;
04454e1e 8419#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8420pub const SL_REMAPPING_SP_PUB_TS_DATA_SIZE_TOO_BIG: ::windows_sys::core::HRESULT = -1073425656i32;
04454e1e 8421#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8422pub const SL_REMAPPING_SP_PUB_TS_ENTRY_KEY_ALREADY_EXISTS: ::windows_sys::core::HRESULT = -1073425659i32;
04454e1e 8423#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8424pub const SL_REMAPPING_SP_PUB_TS_ENTRY_KEY_NOT_FOUND: ::windows_sys::core::HRESULT = -1073425660i32;
04454e1e 8425#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8426pub const SL_REMAPPING_SP_PUB_TS_ENTRY_KEY_SIZE_TOO_BIG: ::windows_sys::core::HRESULT = -1073425658i32;
04454e1e 8427#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8428pub const SL_REMAPPING_SP_PUB_TS_ENTRY_READ_ONLY: ::windows_sys::core::HRESULT = -1073425648i32;
04454e1e 8429#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8430pub const SL_REMAPPING_SP_PUB_TS_FULL: ::windows_sys::core::HRESULT = -1073425650i32;
04454e1e 8431#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8432pub const SL_REMAPPING_SP_PUB_TS_INVALID_HW_BINDING: ::windows_sys::core::HRESULT = -1073425655i32;
04454e1e 8433#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8434pub const SL_REMAPPING_SP_PUB_TS_MAX_REARM_REACHED: ::windows_sys::core::HRESULT = -1073425657i32;
04454e1e 8435#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8436pub const SL_REMAPPING_SP_PUB_TS_NAMESPACE_IN_USE: ::windows_sys::core::HRESULT = -1073425642i32;
04454e1e 8437#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8438pub const SL_REMAPPING_SP_PUB_TS_NAMESPACE_NOT_FOUND: ::windows_sys::core::HRESULT = -1073425643i32;
04454e1e 8439#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8440pub const SL_REMAPPING_SP_PUB_TS_REARMED: ::windows_sys::core::HRESULT = -1073425662i32;
04454e1e 8441#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8442pub const SL_REMAPPING_SP_PUB_TS_RECREATED: ::windows_sys::core::HRESULT = -1073425661i32;
04454e1e 8443#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8444pub const SL_REMAPPING_SP_PUB_TS_TAMPERED: ::windows_sys::core::HRESULT = -1073425663i32;
04454e1e 8445#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8446pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_BREADCRUMB_GENERATION: ::windows_sys::core::HRESULT = -1073425640i32;
04454e1e 8447#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8448pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_BREADCRUMB_LOAD_INVALID: ::windows_sys::core::HRESULT = -1073425641i32;
04454e1e 8449#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8450pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_DATA_BREADCRUMB_MISMATCH: ::windows_sys::core::HRESULT = -1073425637i32;
04454e1e 8451#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8452pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_DATA_VERSION_MISMATCH: ::windows_sys::core::HRESULT = -1073425636i32;
04454e1e 8453#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8454pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_INVALID_DATA: ::windows_sys::core::HRESULT = -1073425639i32;
04454e1e 8455#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8456pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_NO_DATA: ::windows_sys::core::HRESULT = -1073425638i32;
04454e1e 8457#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8458pub const SL_REMAPPING_SP_STATUS_ALREADY_EXISTS: ::windows_sys::core::HRESULT = -1073426171i32;
04454e1e 8459#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8460pub const SL_REMAPPING_SP_STATUS_DEBUGGER_DETECTED: ::windows_sys::core::HRESULT = -2147167989i32;
04454e1e 8461#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8462pub const SL_REMAPPING_SP_STATUS_GENERIC_FAILURE: ::windows_sys::core::HRESULT = -1073426173i32;
04454e1e 8463#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8464pub const SL_REMAPPING_SP_STATUS_INSUFFICIENT_BUFFER: ::windows_sys::core::HRESULT = -1073426169i32;
04454e1e 8465#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8466pub const SL_REMAPPING_SP_STATUS_INVALIDARG: ::windows_sys::core::HRESULT = -1073426172i32;
04454e1e 8467#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8468pub const SL_REMAPPING_SP_STATUS_INVALIDDATA: ::windows_sys::core::HRESULT = -1073426168i32;
04454e1e 8469#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8470pub const SL_REMAPPING_SP_STATUS_INVALID_SPAPI_CALL: ::windows_sys::core::HRESULT = -1073426167i32;
04454e1e 8471#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8472pub const SL_REMAPPING_SP_STATUS_INVALID_SPAPI_VERSION: ::windows_sys::core::HRESULT = -1073426166i32;
04454e1e 8473#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8474pub const SL_REMAPPING_SP_STATUS_NO_MORE_DATA: ::windows_sys::core::HRESULT = -1073426164i32;
04454e1e 8475#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8476pub const SL_REMAPPING_SP_STATUS_PUSHKEY_CONFLICT: ::windows_sys::core::HRESULT = -1073424639i32;
04454e1e 8477#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8478pub const SL_REMAPPING_SP_STATUS_SYSTEM_TIME_SKEWED: ::windows_sys::core::HRESULT = -2147167998i32;
04454e1e 8479#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8480pub const SL_SERVER_ZONE: u32 = 45056u32;
8481#[repr(C)]
04454e1e 8482#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8483pub struct SL_SYSTEM_POLICY_INFORMATION {
8484 pub Reserved1: [*mut ::core::ffi::c_void; 2],
8485 pub Reserved2: [u32; 3],
8486}
8487impl ::core::marker::Copy for SL_SYSTEM_POLICY_INFORMATION {}
8488impl ::core::clone::Clone for SL_SYSTEM_POLICY_INFORMATION {
8489 fn clone(&self) -> Self {
8490 *self
8491 }
8492}
04454e1e 8493#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8494pub const SL_SYSTEM_STATE_REBOOT_POLICY_FOUND: u32 = 1u32;
04454e1e 8495#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8496pub const SL_SYSTEM_STATE_TAMPERED: u32 = 2u32;
04454e1e 8497#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8498pub const SPP_MIGRATION_GATHER_ACTIVATED_WINDOWS_STATE: u32 = 2u32;
04454e1e 8499#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8500pub const SPP_MIGRATION_GATHER_ALL: u32 = 4294967295u32;
04454e1e 8501#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8502pub const SPP_MIGRATION_GATHER_MIGRATABLE_APPS: u32 = 1u32;
04454e1e 8503#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8504pub const SP_ACCEPT_CREDENTIALS_NAME: &str = "SpAcceptCredentials\u{0}";
04454e1e 8505#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8506pub const SP_PROT_ALL: u32 = 4294967295u32;
04454e1e 8507#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8508pub const SP_PROT_DTLS1_0_CLIENT: u32 = 131072u32;
04454e1e 8509#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8510pub const SP_PROT_DTLS1_0_SERVER: u32 = 65536u32;
04454e1e 8511#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8512pub const SP_PROT_DTLS1_2_CLIENT: u32 = 524288u32;
04454e1e 8513#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8514pub const SP_PROT_DTLS1_2_SERVER: u32 = 262144u32;
04454e1e 8515#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8516pub const SP_PROT_DTLS_CLIENT: u32 = 131072u32;
04454e1e 8517#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8518pub const SP_PROT_DTLS_SERVER: u32 = 65536u32;
04454e1e 8519#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8520pub const SP_PROT_NONE: u32 = 0u32;
04454e1e 8521#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8522pub const SP_PROT_PCT1_CLIENT: u32 = 2u32;
04454e1e 8523#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8524pub const SP_PROT_PCT1_SERVER: u32 = 1u32;
04454e1e 8525#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8526pub const SP_PROT_SSL2_CLIENT: u32 = 8u32;
04454e1e 8527#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8528pub const SP_PROT_SSL2_SERVER: u32 = 4u32;
04454e1e 8529#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8530pub const SP_PROT_SSL3_CLIENT: u32 = 32u32;
04454e1e 8531#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8532pub const SP_PROT_SSL3_SERVER: u32 = 16u32;
04454e1e 8533#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8534pub const SP_PROT_TLS1_0_CLIENT: u32 = 128u32;
04454e1e 8535#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8536pub const SP_PROT_TLS1_0_SERVER: u32 = 64u32;
04454e1e 8537#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8538pub const SP_PROT_TLS1_1_CLIENT: u32 = 512u32;
04454e1e 8539#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8540pub const SP_PROT_TLS1_1_SERVER: u32 = 256u32;
04454e1e 8541#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8542pub const SP_PROT_TLS1_2_CLIENT: u32 = 2048u32;
04454e1e 8543#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8544pub const SP_PROT_TLS1_2_SERVER: u32 = 1024u32;
04454e1e 8545#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8546pub const SP_PROT_TLS1_3PLUS_CLIENT: u32 = 8192u32;
04454e1e 8547#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8548pub const SP_PROT_TLS1_3PLUS_SERVER: u32 = 4096u32;
04454e1e 8549#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8550pub const SP_PROT_TLS1_3_CLIENT: u32 = 8192u32;
04454e1e 8551#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8552pub const SP_PROT_TLS1_3_SERVER: u32 = 4096u32;
04454e1e 8553#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8554pub const SP_PROT_TLS1_CLIENT: u32 = 128u32;
04454e1e 8555#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8556pub const SP_PROT_TLS1_SERVER: u32 = 64u32;
04454e1e 8557#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8558pub const SP_PROT_UNI_CLIENT: u32 = 2147483648u32;
04454e1e 8559#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8560pub const SP_PROT_UNI_SERVER: u32 = 1073741824u32;
8561#[repr(C)]
04454e1e 8562#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8563pub struct SR_SECURITY_DESCRIPTOR {
8564 pub Length: u32,
8565 pub SecurityDescriptor: *mut u8,
8566}
8567impl ::core::marker::Copy for SR_SECURITY_DESCRIPTOR {}
8568impl ::core::clone::Clone for SR_SECURITY_DESCRIPTOR {
8569 fn clone(&self) -> Self {
8570 *self
8571 }
8572}
04454e1e 8573#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8574pub const SSL2SP_NAME: &str = "Microsoft SSL 2.0";
04454e1e 8575#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8576pub const SSL2SP_NAME_A: &str = "Microsoft SSL 2.0";
04454e1e 8577#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8578pub const SSL2SP_NAME_W: &str = "Microsoft SSL 2.0";
04454e1e 8579#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8580pub const SSL3SP_NAME: &str = "Microsoft SSL 3.0";
04454e1e 8581#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8582pub const SSL3SP_NAME_A: &str = "Microsoft SSL 3.0";
04454e1e 8583#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8584pub const SSL3SP_NAME_W: &str = "Microsoft SSL 3.0";
04454e1e 8585#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
8586#[cfg(feature = "Win32_Foundation")]
8587pub type SSL_CRACK_CERTIFICATE_FN = ::core::option::Option<unsafe extern "system" fn(pbcertificate: *mut u8, cbcertificate: u32, verifysignature: super::super::super::Foundation::BOOL, ppcertificate: *mut *mut X509Certificate) -> super::super::super::Foundation::BOOL>;
04454e1e 8588#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8589pub const SSL_CRACK_CERTIFICATE_NAME: &str = "SslCrackCertificate";
5e7ed085 8590#[repr(C)]
04454e1e 8591#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8592pub struct SSL_CREDENTIAL_CERTIFICATE {
8593 pub cbPrivateKey: u32,
8594 pub pPrivateKey: *mut u8,
8595 pub cbCertificate: u32,
8596 pub pCertificate: *mut u8,
04454e1e 8597 pub pszPassword: ::windows_sys::core::PSTR,
5e7ed085 8598}
5e7ed085 8599impl ::core::marker::Copy for SSL_CREDENTIAL_CERTIFICATE {}
5e7ed085
FG
8600impl ::core::clone::Clone for SSL_CREDENTIAL_CERTIFICATE {
8601 fn clone(&self) -> Self {
8602 *self
8603 }
8604}
04454e1e 8605#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085 8606#[cfg(feature = "Win32_Foundation")]
04454e1e
FG
8607pub type SSL_EMPTY_CACHE_FN_A = ::core::option::Option<unsafe extern "system" fn(psztargetname: ::windows_sys::core::PCSTR, dwflags: u32) -> super::super::super::Foundation::BOOL>;
8608#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085 8609#[cfg(feature = "Win32_Foundation")]
04454e1e
FG
8610pub type SSL_EMPTY_CACHE_FN_W = ::core::option::Option<unsafe extern "system" fn(psztargetname: ::windows_sys::core::PCWSTR, dwflags: u32) -> super::super::super::Foundation::BOOL>;
8611#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
8612#[cfg(feature = "Win32_Foundation")]
8613pub type SSL_FREE_CERTIFICATE_FN = ::core::option::Option<unsafe extern "system" fn(pcertificate: *mut X509Certificate)>;
04454e1e 8614#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 8615pub const SSL_FREE_CERTIFICATE_NAME: &str = "SslFreeCertificate";
04454e1e 8616#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8617pub const SSL_SESSION_RECONNECT: u32 = 1u32;
04454e1e 8618#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8619pub const SSPIPFC_CREDPROV_DO_NOT_LOAD: u32 = 4u32;
04454e1e 8620#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8621pub const SSPIPFC_CREDPROV_DO_NOT_SAVE: u32 = 1u32;
04454e1e 8622#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8623pub const SSPIPFC_NO_CHECKBOX: u32 = 2u32;
04454e1e 8624#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8625pub const SSPIPFC_SAVE_CRED_BY_CALLER: u32 = 1u32;
04454e1e 8626#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8627pub const SSPIPFC_USE_CREDUIBROKER: u32 = 8u32;
8628#[repr(C)]
04454e1e 8629#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8630pub struct SUBSCRIBE_GENERIC_TLS_EXTENSION {
8631 pub Flags: u32,
8632 pub SubscriptionsCount: u32,
8633 pub Subscriptions: [TLS_EXTENSION_SUBSCRIPTION; 1],
8634}
8635impl ::core::marker::Copy for SUBSCRIBE_GENERIC_TLS_EXTENSION {}
8636impl ::core::clone::Clone for SUBSCRIBE_GENERIC_TLS_EXTENSION {
8637 fn clone(&self) -> Self {
8638 *self
8639 }
8640}
04454e1e 8641#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8642pub const SZ_ALG_MAX_SIZE: u32 = 64u32;
04454e1e 8643#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8644pub type SchGetExtensionsOptions = u32;
04454e1e 8645#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8646pub const SCH_EXTENSIONS_OPTIONS_NONE: SchGetExtensionsOptions = 0u32;
04454e1e 8647#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8648pub const SCH_NO_RECORD_HEADER: SchGetExtensionsOptions = 1u32;
8649#[repr(C)]
04454e1e 8650#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8651pub struct SecBuffer {
8652 pub cbBuffer: u32,
8653 pub BufferType: u32,
8654 pub pvBuffer: *mut ::core::ffi::c_void,
8655}
8656impl ::core::marker::Copy for SecBuffer {}
8657impl ::core::clone::Clone for SecBuffer {
8658 fn clone(&self) -> Self {
8659 *self
8660 }
8661}
8662#[repr(C)]
04454e1e 8663#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8664pub struct SecBufferDesc {
8665 pub ulVersion: u32,
8666 pub cBuffers: u32,
8667 pub pBuffers: *mut SecBuffer,
8668}
8669impl ::core::marker::Copy for SecBufferDesc {}
8670impl ::core::clone::Clone for SecBufferDesc {
8671 fn clone(&self) -> Self {
8672 *self
8673 }
8674}
04454e1e 8675#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8676pub type SecDelegationType = i32;
04454e1e 8677#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8678pub const SecFull: SecDelegationType = 0i32;
04454e1e 8679#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8680pub const SecService: SecDelegationType = 1i32;
04454e1e 8681#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8682pub const SecTree: SecDelegationType = 2i32;
04454e1e 8683#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 8684pub const SecDirectory: SecDelegationType = 3i32;
04454e1e 8685#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8686pub const SecObject: SecDelegationType = 4i32;
8687#[repr(C)]
04454e1e 8688#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8689pub struct SecPkgContext_AccessToken {
8690 pub AccessToken: *mut ::core::ffi::c_void,
8691}
8692impl ::core::marker::Copy for SecPkgContext_AccessToken {}
8693impl ::core::clone::Clone for SecPkgContext_AccessToken {
8694 fn clone(&self) -> Self {
8695 *self
8696 }
8697}
8698#[repr(C)]
04454e1e 8699#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8700pub struct SecPkgContext_ApplicationProtocol {
8701 pub ProtoNegoStatus: SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS,
8702 pub ProtoNegoExt: SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT,
8703 pub ProtocolIdSize: u8,
8704 pub ProtocolId: [u8; 255],
8705}
8706impl ::core::marker::Copy for SecPkgContext_ApplicationProtocol {}
8707impl ::core::clone::Clone for SecPkgContext_ApplicationProtocol {
8708 fn clone(&self) -> Self {
8709 *self
8710 }
8711}
8712#[repr(C)]
04454e1e 8713#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8714pub struct SecPkgContext_AuthorityA {
8715 pub sAuthorityName: *mut i8,
8716}
8717impl ::core::marker::Copy for SecPkgContext_AuthorityA {}
8718impl ::core::clone::Clone for SecPkgContext_AuthorityA {
8719 fn clone(&self) -> Self {
8720 *self
8721 }
8722}
8723#[repr(C)]
04454e1e 8724#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8725pub struct SecPkgContext_AuthorityW {
8726 pub sAuthorityName: *mut u16,
8727}
8728impl ::core::marker::Copy for SecPkgContext_AuthorityW {}
8729impl ::core::clone::Clone for SecPkgContext_AuthorityW {
8730 fn clone(&self) -> Self {
8731 *self
8732 }
8733}
8734#[repr(C)]
04454e1e 8735#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8736pub struct SecPkgContext_AuthzID {
8737 pub AuthzIDLength: u32,
04454e1e 8738 pub AuthzID: ::windows_sys::core::PSTR,
5e7ed085 8739}
5e7ed085 8740impl ::core::marker::Copy for SecPkgContext_AuthzID {}
5e7ed085
FG
8741impl ::core::clone::Clone for SecPkgContext_AuthzID {
8742 fn clone(&self) -> Self {
8743 *self
8744 }
8745}
8746#[repr(C)]
04454e1e 8747#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8748pub struct SecPkgContext_Bindings {
8749 pub BindingsLength: u32,
8750 pub Bindings: *mut SEC_CHANNEL_BINDINGS,
8751}
8752impl ::core::marker::Copy for SecPkgContext_Bindings {}
8753impl ::core::clone::Clone for SecPkgContext_Bindings {
8754 fn clone(&self) -> Self {
8755 *self
8756 }
8757}
8758#[repr(C)]
04454e1e 8759#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8760pub struct SecPkgContext_CertInfo {
8761 pub dwVersion: u32,
8762 pub cbSubjectName: u32,
04454e1e 8763 pub pwszSubjectName: ::windows_sys::core::PWSTR,
5e7ed085 8764 pub cbIssuerName: u32,
04454e1e 8765 pub pwszIssuerName: ::windows_sys::core::PWSTR,
5e7ed085
FG
8766 pub dwKeySize: u32,
8767}
5e7ed085 8768impl ::core::marker::Copy for SecPkgContext_CertInfo {}
5e7ed085
FG
8769impl ::core::clone::Clone for SecPkgContext_CertInfo {
8770 fn clone(&self) -> Self {
8771 *self
8772 }
8773}
8774#[repr(C)]
04454e1e 8775#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8776pub struct SecPkgContext_CertificateValidationResult {
8777 pub dwChainErrorStatus: u32,
8778 pub hrVerifyChainStatus: ::windows_sys::core::HRESULT,
8779}
8780impl ::core::marker::Copy for SecPkgContext_CertificateValidationResult {}
8781impl ::core::clone::Clone for SecPkgContext_CertificateValidationResult {
8782 fn clone(&self) -> Self {
8783 *self
8784 }
8785}
8786#[repr(C)]
04454e1e 8787#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8788pub struct SecPkgContext_Certificates {
8789 pub cCertificates: u32,
8790 pub cbCertificateChain: u32,
8791 pub pbCertificateChain: *mut u8,
8792}
8793impl ::core::marker::Copy for SecPkgContext_Certificates {}
8794impl ::core::clone::Clone for SecPkgContext_Certificates {
8795 fn clone(&self) -> Self {
8796 *self
8797 }
8798}
8799#[repr(C)]
04454e1e 8800#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8801pub struct SecPkgContext_CipherInfo {
8802 pub dwVersion: u32,
8803 pub dwProtocol: u32,
8804 pub dwCipherSuite: u32,
8805 pub dwBaseCipherSuite: u32,
8806 pub szCipherSuite: [u16; 64],
8807 pub szCipher: [u16; 64],
8808 pub dwCipherLen: u32,
8809 pub dwCipherBlockLen: u32,
8810 pub szHash: [u16; 64],
8811 pub dwHashLen: u32,
8812 pub szExchange: [u16; 64],
8813 pub dwMinExchangeLen: u32,
8814 pub dwMaxExchangeLen: u32,
8815 pub szCertificate: [u16; 64],
8816 pub dwKeyType: u32,
8817}
8818impl ::core::marker::Copy for SecPkgContext_CipherInfo {}
8819impl ::core::clone::Clone for SecPkgContext_CipherInfo {
8820 fn clone(&self) -> Self {
8821 *self
8822 }
8823}
8824#[repr(C)]
04454e1e 8825#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8826pub struct SecPkgContext_ClientCertPolicyResult {
8827 pub dwPolicyResult: ::windows_sys::core::HRESULT,
8828 pub guidPolicyId: ::windows_sys::core::GUID,
8829}
8830impl ::core::marker::Copy for SecPkgContext_ClientCertPolicyResult {}
8831impl ::core::clone::Clone for SecPkgContext_ClientCertPolicyResult {
8832 fn clone(&self) -> Self {
8833 *self
8834 }
8835}
8836#[repr(C)]
04454e1e 8837#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8838pub struct SecPkgContext_ClientSpecifiedTarget {
8839 pub sTargetName: *mut u16,
8840}
8841impl ::core::marker::Copy for SecPkgContext_ClientSpecifiedTarget {}
8842impl ::core::clone::Clone for SecPkgContext_ClientSpecifiedTarget {
8843 fn clone(&self) -> Self {
8844 *self
8845 }
8846}
8847#[repr(C)]
04454e1e 8848#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8849pub struct SecPkgContext_ConnectionInfo {
8850 pub dwProtocol: u32,
8851 pub aiCipher: u32,
8852 pub dwCipherStrength: u32,
8853 pub aiHash: u32,
8854 pub dwHashStrength: u32,
8855 pub aiExch: u32,
8856 pub dwExchStrength: u32,
8857}
8858impl ::core::marker::Copy for SecPkgContext_ConnectionInfo {}
8859impl ::core::clone::Clone for SecPkgContext_ConnectionInfo {
8860 fn clone(&self) -> Self {
8861 *self
8862 }
8863}
8864#[repr(C)]
04454e1e 8865#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8866pub struct SecPkgContext_ConnectionInfoEx {
8867 pub dwVersion: u32,
8868 pub dwProtocol: u32,
8869 pub szCipher: [u16; 64],
8870 pub dwCipherStrength: u32,
8871 pub szHash: [u16; 64],
8872 pub dwHashStrength: u32,
8873 pub szExchange: [u16; 64],
8874 pub dwExchStrength: u32,
8875}
8876impl ::core::marker::Copy for SecPkgContext_ConnectionInfoEx {}
8877impl ::core::clone::Clone for SecPkgContext_ConnectionInfoEx {
8878 fn clone(&self) -> Self {
8879 *self
8880 }
8881}
8882#[repr(C)]
04454e1e 8883#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8884pub struct SecPkgContext_CredInfo {
8885 pub CredClass: SECPKG_CRED_CLASS,
8886 pub IsPromptingNeeded: u32,
8887}
8888impl ::core::marker::Copy for SecPkgContext_CredInfo {}
8889impl ::core::clone::Clone for SecPkgContext_CredInfo {
8890 fn clone(&self) -> Self {
8891 *self
8892 }
8893}
8894#[repr(C)]
04454e1e 8895#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8896pub struct SecPkgContext_CredentialNameA {
8897 pub CredentialType: u32,
8898 pub sCredentialName: *mut i8,
8899}
8900impl ::core::marker::Copy for SecPkgContext_CredentialNameA {}
8901impl ::core::clone::Clone for SecPkgContext_CredentialNameA {
8902 fn clone(&self) -> Self {
8903 *self
8904 }
8905}
8906#[repr(C)]
04454e1e 8907#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8908pub struct SecPkgContext_CredentialNameW {
8909 pub CredentialType: u32,
8910 pub sCredentialName: *mut u16,
8911}
8912impl ::core::marker::Copy for SecPkgContext_CredentialNameW {}
8913impl ::core::clone::Clone for SecPkgContext_CredentialNameW {
8914 fn clone(&self) -> Self {
8915 *self
8916 }
8917}
8918#[repr(C)]
04454e1e 8919#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8920pub struct SecPkgContext_DceInfo {
8921 pub AuthzSvc: u32,
8922 pub pPac: *mut ::core::ffi::c_void,
8923}
8924impl ::core::marker::Copy for SecPkgContext_DceInfo {}
8925impl ::core::clone::Clone for SecPkgContext_DceInfo {
8926 fn clone(&self) -> Self {
8927 *self
8928 }
8929}
8930#[repr(C)]
04454e1e 8931#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8932pub struct SecPkgContext_EapKeyBlock {
8933 pub rgbKeys: [u8; 128],
8934 pub rgbIVs: [u8; 64],
8935}
8936impl ::core::marker::Copy for SecPkgContext_EapKeyBlock {}
8937impl ::core::clone::Clone for SecPkgContext_EapKeyBlock {
8938 fn clone(&self) -> Self {
8939 *self
8940 }
8941}
8942#[repr(C)]
04454e1e 8943#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8944pub struct SecPkgContext_EapPrfInfo {
8945 pub dwVersion: u32,
8946 pub cbPrfData: u32,
8947 pub pbPrfData: *mut u8,
8948}
8949impl ::core::marker::Copy for SecPkgContext_EapPrfInfo {}
8950impl ::core::clone::Clone for SecPkgContext_EapPrfInfo {
8951 fn clone(&self) -> Self {
8952 *self
8953 }
8954}
8955#[repr(C)]
04454e1e 8956#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8957pub struct SecPkgContext_EarlyStart {
8958 pub dwEarlyStartFlags: u32,
8959}
8960impl ::core::marker::Copy for SecPkgContext_EarlyStart {}
8961impl ::core::clone::Clone for SecPkgContext_EarlyStart {
8962 fn clone(&self) -> Self {
8963 *self
8964 }
8965}
8966#[repr(C)]
04454e1e 8967#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8968pub struct SecPkgContext_Flags {
8969 pub Flags: u32,
8970}
8971impl ::core::marker::Copy for SecPkgContext_Flags {}
8972impl ::core::clone::Clone for SecPkgContext_Flags {
8973 fn clone(&self) -> Self {
8974 *self
8975 }
8976}
8977#[repr(C)]
04454e1e 8978#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Cryptography\"`*"]
5e7ed085
FG
8979#[cfg(feature = "Win32_Security_Cryptography")]
8980pub struct SecPkgContext_IssuerListInfoEx {
8981 pub aIssuers: *mut super::super::Cryptography::CRYPTOAPI_BLOB,
8982 pub cIssuers: u32,
8983}
8984#[cfg(feature = "Win32_Security_Cryptography")]
8985impl ::core::marker::Copy for SecPkgContext_IssuerListInfoEx {}
8986#[cfg(feature = "Win32_Security_Cryptography")]
8987impl ::core::clone::Clone for SecPkgContext_IssuerListInfoEx {
8988 fn clone(&self) -> Self {
8989 *self
8990 }
8991}
8992#[repr(C)]
04454e1e 8993#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
8994pub struct SecPkgContext_KeyInfoA {
8995 pub sSignatureAlgorithmName: *mut i8,
8996 pub sEncryptAlgorithmName: *mut i8,
8997 pub KeySize: u32,
8998 pub SignatureAlgorithm: u32,
8999 pub EncryptAlgorithm: u32,
9000}
9001impl ::core::marker::Copy for SecPkgContext_KeyInfoA {}
9002impl ::core::clone::Clone for SecPkgContext_KeyInfoA {
9003 fn clone(&self) -> Self {
9004 *self
9005 }
9006}
9007#[repr(C)]
04454e1e 9008#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9009pub struct SecPkgContext_KeyInfoW {
9010 pub sSignatureAlgorithmName: *mut u16,
9011 pub sEncryptAlgorithmName: *mut u16,
9012 pub KeySize: u32,
9013 pub SignatureAlgorithm: u32,
9014 pub EncryptAlgorithm: u32,
9015}
9016impl ::core::marker::Copy for SecPkgContext_KeyInfoW {}
9017impl ::core::clone::Clone for SecPkgContext_KeyInfoW {
9018 fn clone(&self) -> Self {
9019 *self
9020 }
9021}
9022#[repr(C)]
04454e1e 9023#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9024pub struct SecPkgContext_KeyingMaterial {
9025 pub cbKeyingMaterial: u32,
9026 pub pbKeyingMaterial: *mut u8,
9027}
9028impl ::core::marker::Copy for SecPkgContext_KeyingMaterial {}
9029impl ::core::clone::Clone for SecPkgContext_KeyingMaterial {
9030 fn clone(&self) -> Self {
9031 *self
9032 }
9033}
9034#[repr(C)]
04454e1e 9035#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9036pub struct SecPkgContext_KeyingMaterialInfo {
9037 pub cbLabel: u16,
04454e1e 9038 pub pszLabel: ::windows_sys::core::PSTR,
5e7ed085
FG
9039 pub cbContextValue: u16,
9040 pub pbContextValue: *mut u8,
9041 pub cbKeyingMaterial: u32,
9042}
5e7ed085 9043impl ::core::marker::Copy for SecPkgContext_KeyingMaterialInfo {}
5e7ed085
FG
9044impl ::core::clone::Clone for SecPkgContext_KeyingMaterialInfo {
9045 fn clone(&self) -> Self {
9046 *self
9047 }
9048}
9049#[repr(C)]
04454e1e 9050#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9051pub struct SecPkgContext_KeyingMaterial_Inproc {
9052 pub cbLabel: u16,
04454e1e 9053 pub pszLabel: ::windows_sys::core::PSTR,
5e7ed085
FG
9054 pub cbContextValue: u16,
9055 pub pbContextValue: *mut u8,
9056 pub cbKeyingMaterial: u32,
9057 pub pbKeyingMaterial: *mut u8,
9058}
5e7ed085 9059impl ::core::marker::Copy for SecPkgContext_KeyingMaterial_Inproc {}
5e7ed085
FG
9060impl ::core::clone::Clone for SecPkgContext_KeyingMaterial_Inproc {
9061 fn clone(&self) -> Self {
9062 *self
9063 }
9064}
9065#[repr(C)]
04454e1e 9066#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9067pub struct SecPkgContext_LastClientTokenStatus {
9068 pub LastClientTokenStatus: SECPKG_ATTR_LCT_STATUS,
9069}
9070impl ::core::marker::Copy for SecPkgContext_LastClientTokenStatus {}
9071impl ::core::clone::Clone for SecPkgContext_LastClientTokenStatus {
9072 fn clone(&self) -> Self {
9073 *self
9074 }
9075}
9076#[repr(C)]
04454e1e 9077#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9078pub struct SecPkgContext_Lifespan {
9079 pub tsStart: i64,
9080 pub tsExpiry: i64,
9081}
9082impl ::core::marker::Copy for SecPkgContext_Lifespan {}
9083impl ::core::clone::Clone for SecPkgContext_Lifespan {
9084 fn clone(&self) -> Self {
9085 *self
9086 }
9087}
9088#[repr(C)]
04454e1e 9089#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9090pub struct SecPkgContext_LocalCredentialInfo {
9091 pub cbCertificateChain: u32,
9092 pub pbCertificateChain: *mut u8,
9093 pub cCertificates: u32,
9094 pub fFlags: u32,
9095 pub dwBits: u32,
9096}
9097impl ::core::marker::Copy for SecPkgContext_LocalCredentialInfo {}
9098impl ::core::clone::Clone for SecPkgContext_LocalCredentialInfo {
9099 fn clone(&self) -> Self {
9100 *self
9101 }
9102}
9103#[repr(C)]
04454e1e 9104#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9105pub struct SecPkgContext_LogoffTime {
9106 pub tsLogoffTime: i64,
9107}
9108impl ::core::marker::Copy for SecPkgContext_LogoffTime {}
9109impl ::core::clone::Clone for SecPkgContext_LogoffTime {
9110 fn clone(&self) -> Self {
9111 *self
9112 }
9113}
9114#[repr(C)]
04454e1e 9115#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9116pub struct SecPkgContext_MappedCredAttr {
9117 pub dwAttribute: u32,
9118 pub pvBuffer: *mut ::core::ffi::c_void,
9119}
9120impl ::core::marker::Copy for SecPkgContext_MappedCredAttr {}
9121impl ::core::clone::Clone for SecPkgContext_MappedCredAttr {
9122 fn clone(&self) -> Self {
9123 *self
9124 }
9125}
9126#[repr(C)]
04454e1e 9127#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9128pub struct SecPkgContext_NamesA {
9129 pub sUserName: *mut i8,
9130}
9131impl ::core::marker::Copy for SecPkgContext_NamesA {}
9132impl ::core::clone::Clone for SecPkgContext_NamesA {
9133 fn clone(&self) -> Self {
9134 *self
9135 }
9136}
9137#[repr(C)]
04454e1e 9138#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9139pub struct SecPkgContext_NamesW {
9140 pub sUserName: *mut u16,
9141}
9142impl ::core::marker::Copy for SecPkgContext_NamesW {}
9143impl ::core::clone::Clone for SecPkgContext_NamesW {
9144 fn clone(&self) -> Self {
9145 *self
9146 }
9147}
9148#[repr(C)]
04454e1e 9149#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9150pub struct SecPkgContext_NativeNamesA {
9151 pub sClientName: *mut i8,
9152 pub sServerName: *mut i8,
9153}
9154impl ::core::marker::Copy for SecPkgContext_NativeNamesA {}
9155impl ::core::clone::Clone for SecPkgContext_NativeNamesA {
9156 fn clone(&self) -> Self {
9157 *self
9158 }
9159}
9160#[repr(C)]
04454e1e 9161#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9162pub struct SecPkgContext_NativeNamesW {
9163 pub sClientName: *mut u16,
9164 pub sServerName: *mut u16,
9165}
9166impl ::core::marker::Copy for SecPkgContext_NativeNamesW {}
9167impl ::core::clone::Clone for SecPkgContext_NativeNamesW {
9168 fn clone(&self) -> Self {
9169 *self
9170 }
9171}
9172#[repr(C)]
04454e1e 9173#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9174pub struct SecPkgContext_NegoKeys {
9175 pub KeyType: u32,
9176 pub KeyLength: u16,
9177 pub KeyValue: *mut u8,
9178 pub VerifyKeyType: u32,
9179 pub VerifyKeyLength: u16,
9180 pub VerifyKeyValue: *mut u8,
9181}
9182impl ::core::marker::Copy for SecPkgContext_NegoKeys {}
9183impl ::core::clone::Clone for SecPkgContext_NegoKeys {
9184 fn clone(&self) -> Self {
9185 *self
9186 }
9187}
9188#[repr(C)]
04454e1e 9189#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9190pub struct SecPkgContext_NegoPackageInfo {
9191 pub PackageMask: u32,
9192}
9193impl ::core::marker::Copy for SecPkgContext_NegoPackageInfo {}
9194impl ::core::clone::Clone for SecPkgContext_NegoPackageInfo {
9195 fn clone(&self) -> Self {
9196 *self
9197 }
9198}
9199#[repr(C)]
04454e1e 9200#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9201pub struct SecPkgContext_NegoStatus {
9202 pub LastStatus: u32,
9203}
9204impl ::core::marker::Copy for SecPkgContext_NegoStatus {}
9205impl ::core::clone::Clone for SecPkgContext_NegoStatus {
9206 fn clone(&self) -> Self {
9207 *self
9208 }
9209}
9210#[repr(C)]
04454e1e 9211#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9212pub struct SecPkgContext_NegotiatedTlsExtensions {
9213 pub ExtensionsCount: u32,
9214 pub Extensions: *mut u16,
9215}
9216impl ::core::marker::Copy for SecPkgContext_NegotiatedTlsExtensions {}
9217impl ::core::clone::Clone for SecPkgContext_NegotiatedTlsExtensions {
9218 fn clone(&self) -> Self {
9219 *self
9220 }
9221}
9222#[repr(C)]
04454e1e 9223#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9224pub struct SecPkgContext_NegotiationInfoA {
9225 pub PackageInfo: *mut SecPkgInfoA,
9226 pub NegotiationState: u32,
9227}
9228impl ::core::marker::Copy for SecPkgContext_NegotiationInfoA {}
9229impl ::core::clone::Clone for SecPkgContext_NegotiationInfoA {
9230 fn clone(&self) -> Self {
9231 *self
9232 }
9233}
9234#[repr(C)]
04454e1e 9235#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9236pub struct SecPkgContext_NegotiationInfoW {
9237 pub PackageInfo: *mut SecPkgInfoW,
9238 pub NegotiationState: u32,
9239}
9240impl ::core::marker::Copy for SecPkgContext_NegotiationInfoW {}
9241impl ::core::clone::Clone for SecPkgContext_NegotiationInfoW {
9242 fn clone(&self) -> Self {
9243 *self
9244 }
9245}
9246#[repr(C)]
04454e1e 9247#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9248pub struct SecPkgContext_PackageInfoA {
9249 pub PackageInfo: *mut SecPkgInfoA,
9250}
9251impl ::core::marker::Copy for SecPkgContext_PackageInfoA {}
9252impl ::core::clone::Clone for SecPkgContext_PackageInfoA {
9253 fn clone(&self) -> Self {
9254 *self
9255 }
9256}
9257#[repr(C)]
04454e1e 9258#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9259pub struct SecPkgContext_PackageInfoW {
9260 pub PackageInfo: *mut SecPkgInfoW,
9261}
9262impl ::core::marker::Copy for SecPkgContext_PackageInfoW {}
9263impl ::core::clone::Clone for SecPkgContext_PackageInfoW {
9264 fn clone(&self) -> Self {
9265 *self
9266 }
9267}
9268#[repr(C)]
04454e1e 9269#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9270pub struct SecPkgContext_PasswordExpiry {
9271 pub tsPasswordExpires: i64,
9272}
9273impl ::core::marker::Copy for SecPkgContext_PasswordExpiry {}
9274impl ::core::clone::Clone for SecPkgContext_PasswordExpiry {
9275 fn clone(&self) -> Self {
9276 *self
9277 }
9278}
9279#[repr(C)]
04454e1e 9280#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9281pub struct SecPkgContext_ProtoInfoA {
9282 pub sProtocolName: *mut i8,
9283 pub majorVersion: u32,
9284 pub minorVersion: u32,
9285}
9286impl ::core::marker::Copy for SecPkgContext_ProtoInfoA {}
9287impl ::core::clone::Clone for SecPkgContext_ProtoInfoA {
9288 fn clone(&self) -> Self {
9289 *self
9290 }
9291}
9292#[repr(C)]
04454e1e 9293#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9294pub struct SecPkgContext_ProtoInfoW {
9295 pub sProtocolName: *mut u16,
9296 pub majorVersion: u32,
9297 pub minorVersion: u32,
9298}
9299impl ::core::marker::Copy for SecPkgContext_ProtoInfoW {}
9300impl ::core::clone::Clone for SecPkgContext_ProtoInfoW {
9301 fn clone(&self) -> Self {
9302 *self
9303 }
9304}
9305#[repr(C)]
04454e1e 9306#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9307pub struct SecPkgContext_RemoteCredentialInfo {
9308 pub cbCertificateChain: u32,
9309 pub pbCertificateChain: *mut u8,
9310 pub cCertificates: u32,
9311 pub fFlags: u32,
9312 pub dwBits: u32,
9313}
9314impl ::core::marker::Copy for SecPkgContext_RemoteCredentialInfo {}
9315impl ::core::clone::Clone for SecPkgContext_RemoteCredentialInfo {
9316 fn clone(&self) -> Self {
9317 *self
9318 }
9319}
9320#[repr(C)]
04454e1e 9321#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9322pub struct SecPkgContext_SaslContext {
9323 pub SaslContext: *mut ::core::ffi::c_void,
9324}
9325impl ::core::marker::Copy for SecPkgContext_SaslContext {}
9326impl ::core::clone::Clone for SecPkgContext_SaslContext {
9327 fn clone(&self) -> Self {
9328 *self
9329 }
9330}
9331#[repr(C)]
04454e1e 9332#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9333pub struct SecPkgContext_SessionAppData {
9334 pub dwFlags: u32,
9335 pub cbAppData: u32,
9336 pub pbAppData: *mut u8,
9337}
9338impl ::core::marker::Copy for SecPkgContext_SessionAppData {}
9339impl ::core::clone::Clone for SecPkgContext_SessionAppData {
9340 fn clone(&self) -> Self {
9341 *self
9342 }
9343}
9344#[repr(C)]
04454e1e 9345#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9346pub struct SecPkgContext_SessionInfo {
9347 pub dwFlags: u32,
9348 pub cbSessionId: u32,
9349 pub rgbSessionId: [u8; 32],
9350}
9351impl ::core::marker::Copy for SecPkgContext_SessionInfo {}
9352impl ::core::clone::Clone for SecPkgContext_SessionInfo {
9353 fn clone(&self) -> Self {
9354 *self
9355 }
9356}
9357#[repr(C)]
04454e1e 9358#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9359pub struct SecPkgContext_SessionKey {
9360 pub SessionKeyLength: u32,
9361 pub SessionKey: *mut u8,
9362}
9363impl ::core::marker::Copy for SecPkgContext_SessionKey {}
9364impl ::core::clone::Clone for SecPkgContext_SessionKey {
9365 fn clone(&self) -> Self {
9366 *self
9367 }
9368}
9369#[repr(C)]
04454e1e 9370#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9371pub struct SecPkgContext_Sizes {
9372 pub cbMaxToken: u32,
9373 pub cbMaxSignature: u32,
9374 pub cbBlockSize: u32,
9375 pub cbSecurityTrailer: u32,
9376}
9377impl ::core::marker::Copy for SecPkgContext_Sizes {}
9378impl ::core::clone::Clone for SecPkgContext_Sizes {
9379 fn clone(&self) -> Self {
9380 *self
9381 }
9382}
9383#[repr(C)]
04454e1e 9384#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9385pub struct SecPkgContext_SrtpParameters {
9386 pub ProtectionProfile: u16,
9387 pub MasterKeyIdentifierSize: u8,
9388 pub MasterKeyIdentifier: *mut u8,
9389}
9390impl ::core::marker::Copy for SecPkgContext_SrtpParameters {}
9391impl ::core::clone::Clone for SecPkgContext_SrtpParameters {
9392 fn clone(&self) -> Self {
9393 *self
9394 }
9395}
9396#[repr(C)]
04454e1e 9397#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9398pub struct SecPkgContext_StreamSizes {
9399 pub cbHeader: u32,
9400 pub cbTrailer: u32,
9401 pub cbMaximumMessage: u32,
9402 pub cBuffers: u32,
9403 pub cbBlockSize: u32,
9404}
9405impl ::core::marker::Copy for SecPkgContext_StreamSizes {}
9406impl ::core::clone::Clone for SecPkgContext_StreamSizes {
9407 fn clone(&self) -> Self {
9408 *self
9409 }
9410}
9411#[repr(C)]
04454e1e 9412#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9413pub struct SecPkgContext_SubjectAttributes {
9414 pub AttributeInfo: *mut ::core::ffi::c_void,
9415}
9416impl ::core::marker::Copy for SecPkgContext_SubjectAttributes {}
9417impl ::core::clone::Clone for SecPkgContext_SubjectAttributes {
9418 fn clone(&self) -> Self {
9419 *self
9420 }
9421}
9422#[repr(C)]
04454e1e 9423#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9424pub struct SecPkgContext_SupportedSignatures {
9425 pub cSignatureAndHashAlgorithms: u16,
9426 pub pSignatureAndHashAlgorithms: *mut u16,
9427}
9428impl ::core::marker::Copy for SecPkgContext_SupportedSignatures {}
9429impl ::core::clone::Clone for SecPkgContext_SupportedSignatures {
9430 fn clone(&self) -> Self {
9431 *self
9432 }
9433}
9434#[repr(C)]
04454e1e 9435#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9436pub struct SecPkgContext_Target {
9437 pub TargetLength: u32,
04454e1e 9438 pub Target: ::windows_sys::core::PSTR,
5e7ed085 9439}
5e7ed085 9440impl ::core::marker::Copy for SecPkgContext_Target {}
5e7ed085
FG
9441impl ::core::clone::Clone for SecPkgContext_Target {
9442 fn clone(&self) -> Self {
9443 *self
9444 }
9445}
9446#[repr(C)]
04454e1e 9447#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9448pub struct SecPkgContext_TargetInformation {
9449 pub MarshalledTargetInfoLength: u32,
9450 pub MarshalledTargetInfo: *mut u8,
9451}
9452impl ::core::marker::Copy for SecPkgContext_TargetInformation {}
9453impl ::core::clone::Clone for SecPkgContext_TargetInformation {
9454 fn clone(&self) -> Self {
9455 *self
9456 }
9457}
9458#[repr(C)]
04454e1e 9459#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9460pub struct SecPkgContext_TokenBinding {
9461 pub MajorVersion: u8,
9462 pub MinorVersion: u8,
9463 pub KeyParametersSize: u16,
9464 pub KeyParameters: *mut u8,
9465}
9466impl ::core::marker::Copy for SecPkgContext_TokenBinding {}
9467impl ::core::clone::Clone for SecPkgContext_TokenBinding {
9468 fn clone(&self) -> Self {
9469 *self
9470 }
9471}
9472#[repr(C)]
04454e1e 9473#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9474#[cfg(feature = "Win32_Foundation")]
9475pub struct SecPkgContext_UiInfo {
9476 pub hParentWindow: super::super::super::Foundation::HWND,
9477}
9478#[cfg(feature = "Win32_Foundation")]
9479impl ::core::marker::Copy for SecPkgContext_UiInfo {}
9480#[cfg(feature = "Win32_Foundation")]
9481impl ::core::clone::Clone for SecPkgContext_UiInfo {
9482 fn clone(&self) -> Self {
9483 *self
9484 }
9485}
9486#[repr(C)]
04454e1e 9487#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9488pub struct SecPkgContext_UserFlags {
9489 pub UserFlags: u32,
9490}
9491impl ::core::marker::Copy for SecPkgContext_UserFlags {}
9492impl ::core::clone::Clone for SecPkgContext_UserFlags {
9493 fn clone(&self) -> Self {
9494 *self
9495 }
9496}
9497#[repr(C)]
04454e1e 9498#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9499pub struct SecPkgCred_CipherStrengths {
9500 pub dwMinimumCipherStrength: u32,
9501 pub dwMaximumCipherStrength: u32,
9502}
9503impl ::core::marker::Copy for SecPkgCred_CipherStrengths {}
9504impl ::core::clone::Clone for SecPkgCred_CipherStrengths {
9505 fn clone(&self) -> Self {
9506 *self
9507 }
9508}
9509#[repr(C)]
04454e1e 9510#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9511#[cfg(feature = "Win32_Foundation")]
9512pub struct SecPkgCred_ClientCertPolicy {
9513 pub dwFlags: u32,
9514 pub guidPolicyId: ::windows_sys::core::GUID,
9515 pub dwCertFlags: u32,
9516 pub dwUrlRetrievalTimeout: u32,
9517 pub fCheckRevocationFreshnessTime: super::super::super::Foundation::BOOL,
9518 pub dwRevocationFreshnessTime: u32,
9519 pub fOmitUsageCheck: super::super::super::Foundation::BOOL,
04454e1e
FG
9520 pub pwszSslCtlStoreName: ::windows_sys::core::PWSTR,
9521 pub pwszSslCtlIdentifier: ::windows_sys::core::PWSTR,
5e7ed085
FG
9522}
9523#[cfg(feature = "Win32_Foundation")]
9524impl ::core::marker::Copy for SecPkgCred_ClientCertPolicy {}
9525#[cfg(feature = "Win32_Foundation")]
9526impl ::core::clone::Clone for SecPkgCred_ClientCertPolicy {
9527 fn clone(&self) -> Self {
9528 *self
9529 }
9530}
9531#[repr(C)]
04454e1e 9532#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9533pub struct SecPkgCred_SessionTicketKey {
9534 pub TicketInfoVersion: u32,
9535 pub KeyId: [u8; 16],
9536 pub KeyingMaterial: [u8; 64],
9537 pub KeyingMaterialSize: u8,
9538}
9539impl ::core::marker::Copy for SecPkgCred_SessionTicketKey {}
9540impl ::core::clone::Clone for SecPkgCred_SessionTicketKey {
9541 fn clone(&self) -> Self {
9542 *self
9543 }
9544}
9545#[repr(C)]
04454e1e 9546#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9547pub struct SecPkgCred_SessionTicketKeys {
9548 pub cSessionTicketKeys: u32,
9549 pub pSessionTicketKeys: *mut SecPkgCred_SessionTicketKey,
9550}
9551impl ::core::marker::Copy for SecPkgCred_SessionTicketKeys {}
9552impl ::core::clone::Clone for SecPkgCred_SessionTicketKeys {
9553 fn clone(&self) -> Self {
9554 *self
9555 }
9556}
9557#[repr(C)]
04454e1e 9558#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9559pub struct SecPkgCred_SupportedAlgs {
9560 pub cSupportedAlgs: u32,
9561 pub palgSupportedAlgs: *mut u32,
9562}
9563impl ::core::marker::Copy for SecPkgCred_SupportedAlgs {}
9564impl ::core::clone::Clone for SecPkgCred_SupportedAlgs {
9565 fn clone(&self) -> Self {
9566 *self
9567 }
9568}
9569#[repr(C)]
04454e1e 9570#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9571pub struct SecPkgCred_SupportedProtocols {
9572 pub grbitProtocol: u32,
9573}
9574impl ::core::marker::Copy for SecPkgCred_SupportedProtocols {}
9575impl ::core::clone::Clone for SecPkgCred_SupportedProtocols {
9576 fn clone(&self) -> Self {
9577 *self
9578 }
9579}
9580#[repr(C)]
04454e1e 9581#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9582pub struct SecPkgCredentials_Cert {
9583 pub EncodedCertSize: u32,
9584 pub EncodedCert: *mut u8,
9585}
9586impl ::core::marker::Copy for SecPkgCredentials_Cert {}
9587impl ::core::clone::Clone for SecPkgCredentials_Cert {
9588 fn clone(&self) -> Self {
9589 *self
9590 }
9591}
9592#[repr(C)]
04454e1e 9593#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9594pub struct SecPkgCredentials_KdcProxySettingsW {
9595 pub Version: u32,
9596 pub Flags: u32,
9597 pub ProxyServerOffset: u16,
9598 pub ProxyServerLength: u16,
9599 pub ClientTlsCredOffset: u16,
9600 pub ClientTlsCredLength: u16,
9601}
9602impl ::core::marker::Copy for SecPkgCredentials_KdcProxySettingsW {}
9603impl ::core::clone::Clone for SecPkgCredentials_KdcProxySettingsW {
9604 fn clone(&self) -> Self {
9605 *self
9606 }
9607}
9608#[repr(C)]
04454e1e 9609#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9610pub struct SecPkgCredentials_NamesA {
9611 pub sUserName: *mut i8,
9612}
9613impl ::core::marker::Copy for SecPkgCredentials_NamesA {}
9614impl ::core::clone::Clone for SecPkgCredentials_NamesA {
9615 fn clone(&self) -> Self {
9616 *self
9617 }
9618}
9619#[repr(C)]
04454e1e 9620#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9621pub struct SecPkgCredentials_NamesW {
9622 pub sUserName: *mut u16,
9623}
9624impl ::core::marker::Copy for SecPkgCredentials_NamesW {}
9625impl ::core::clone::Clone for SecPkgCredentials_NamesW {
9626 fn clone(&self) -> Self {
9627 *self
9628 }
9629}
9630#[repr(C)]
04454e1e 9631#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9632pub struct SecPkgCredentials_SSIProviderA {
9633 pub sProviderName: *mut i8,
9634 pub ProviderInfoLength: u32,
04454e1e 9635 pub ProviderInfo: ::windows_sys::core::PSTR,
5e7ed085 9636}
5e7ed085 9637impl ::core::marker::Copy for SecPkgCredentials_SSIProviderA {}
5e7ed085
FG
9638impl ::core::clone::Clone for SecPkgCredentials_SSIProviderA {
9639 fn clone(&self) -> Self {
9640 *self
9641 }
9642}
9643#[repr(C)]
04454e1e 9644#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9645pub struct SecPkgCredentials_SSIProviderW {
9646 pub sProviderName: *mut u16,
9647 pub ProviderInfoLength: u32,
04454e1e 9648 pub ProviderInfo: ::windows_sys::core::PSTR,
5e7ed085 9649}
5e7ed085 9650impl ::core::marker::Copy for SecPkgCredentials_SSIProviderW {}
5e7ed085
FG
9651impl ::core::clone::Clone for SecPkgCredentials_SSIProviderW {
9652 fn clone(&self) -> Self {
9653 *self
9654 }
9655}
9656#[repr(C)]
04454e1e 9657#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9658pub struct SecPkgInfoA {
9659 pub fCapabilities: u32,
9660 pub wVersion: u16,
9661 pub wRPCID: u16,
9662 pub cbMaxToken: u32,
9663 pub Name: *mut i8,
9664 pub Comment: *mut i8,
9665}
9666impl ::core::marker::Copy for SecPkgInfoA {}
9667impl ::core::clone::Clone for SecPkgInfoA {
9668 fn clone(&self) -> Self {
9669 *self
9670 }
9671}
9672#[repr(C)]
04454e1e 9673#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9674pub struct SecPkgInfoW {
9675 pub fCapabilities: u32,
9676 pub wVersion: u16,
9677 pub wRPCID: u16,
9678 pub cbMaxToken: u32,
9679 pub Name: *mut u16,
9680 pub Comment: *mut u16,
9681}
9682impl ::core::marker::Copy for SecPkgInfoW {}
9683impl ::core::clone::Clone for SecPkgInfoW {
9684 fn clone(&self) -> Self {
9685 *self
9686 }
9687}
9688#[repr(C)]
04454e1e 9689#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085
FG
9690#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
9691pub struct SecurityFunctionTableA {
9692 pub dwVersion: u32,
9693 pub EnumerateSecurityPackagesA: ENUMERATE_SECURITY_PACKAGES_FN_A,
9694 pub QueryCredentialsAttributesA: QUERY_CREDENTIALS_ATTRIBUTES_FN_A,
9695 pub AcquireCredentialsHandleA: ACQUIRE_CREDENTIALS_HANDLE_FN_A,
9696 pub FreeCredentialsHandle: FREE_CREDENTIALS_HANDLE_FN,
9697 pub Reserved2: *mut ::core::ffi::c_void,
9698 pub InitializeSecurityContextA: INITIALIZE_SECURITY_CONTEXT_FN_A,
9699 pub AcceptSecurityContext: ACCEPT_SECURITY_CONTEXT_FN,
9700 pub CompleteAuthToken: COMPLETE_AUTH_TOKEN_FN,
9701 pub DeleteSecurityContext: DELETE_SECURITY_CONTEXT_FN,
9702 pub ApplyControlToken: APPLY_CONTROL_TOKEN_FN,
9703 pub QueryContextAttributesA: QUERY_CONTEXT_ATTRIBUTES_FN_A,
9704 pub ImpersonateSecurityContext: IMPERSONATE_SECURITY_CONTEXT_FN,
9705 pub RevertSecurityContext: REVERT_SECURITY_CONTEXT_FN,
9706 pub MakeSignature: MAKE_SIGNATURE_FN,
9707 pub VerifySignature: VERIFY_SIGNATURE_FN,
9708 pub FreeContextBuffer: FREE_CONTEXT_BUFFER_FN,
9709 pub QuerySecurityPackageInfoA: QUERY_SECURITY_PACKAGE_INFO_FN_A,
9710 pub Reserved3: *mut ::core::ffi::c_void,
9711 pub Reserved4: *mut ::core::ffi::c_void,
9712 pub ExportSecurityContext: EXPORT_SECURITY_CONTEXT_FN,
9713 pub ImportSecurityContextA: IMPORT_SECURITY_CONTEXT_FN_A,
9714 pub AddCredentialsA: ADD_CREDENTIALS_FN_A,
9715 pub Reserved8: *mut ::core::ffi::c_void,
9716 pub QuerySecurityContextToken: QUERY_SECURITY_CONTEXT_TOKEN_FN,
9717 pub EncryptMessage: ENCRYPT_MESSAGE_FN,
9718 pub DecryptMessage: DECRYPT_MESSAGE_FN,
9719 pub SetContextAttributesA: SET_CONTEXT_ATTRIBUTES_FN_A,
9720 pub SetCredentialsAttributesA: SET_CREDENTIALS_ATTRIBUTES_FN_A,
9721 pub ChangeAccountPasswordA: CHANGE_PASSWORD_FN_A,
9722 pub QueryContextAttributesExA: QUERY_CONTEXT_ATTRIBUTES_EX_FN_A,
9723 pub QueryCredentialsAttributesExA: QUERY_CREDENTIALS_ATTRIBUTES_EX_FN_A,
9724}
9725#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
9726impl ::core::marker::Copy for SecurityFunctionTableA {}
9727#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
9728impl ::core::clone::Clone for SecurityFunctionTableA {
9729 fn clone(&self) -> Self {
9730 *self
9731 }
9732}
9733#[repr(C)]
04454e1e 9734#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085
FG
9735#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
9736pub struct SecurityFunctionTableW {
9737 pub dwVersion: u32,
9738 pub EnumerateSecurityPackagesW: ENUMERATE_SECURITY_PACKAGES_FN_W,
9739 pub QueryCredentialsAttributesW: QUERY_CREDENTIALS_ATTRIBUTES_FN_W,
9740 pub AcquireCredentialsHandleW: ACQUIRE_CREDENTIALS_HANDLE_FN_W,
9741 pub FreeCredentialsHandle: FREE_CREDENTIALS_HANDLE_FN,
9742 pub Reserved2: *mut ::core::ffi::c_void,
9743 pub InitializeSecurityContextW: INITIALIZE_SECURITY_CONTEXT_FN_W,
9744 pub AcceptSecurityContext: ACCEPT_SECURITY_CONTEXT_FN,
9745 pub CompleteAuthToken: COMPLETE_AUTH_TOKEN_FN,
9746 pub DeleteSecurityContext: DELETE_SECURITY_CONTEXT_FN,
9747 pub ApplyControlToken: APPLY_CONTROL_TOKEN_FN,
9748 pub QueryContextAttributesW: QUERY_CONTEXT_ATTRIBUTES_FN_W,
9749 pub ImpersonateSecurityContext: IMPERSONATE_SECURITY_CONTEXT_FN,
9750 pub RevertSecurityContext: REVERT_SECURITY_CONTEXT_FN,
9751 pub MakeSignature: MAKE_SIGNATURE_FN,
9752 pub VerifySignature: VERIFY_SIGNATURE_FN,
9753 pub FreeContextBuffer: FREE_CONTEXT_BUFFER_FN,
9754 pub QuerySecurityPackageInfoW: QUERY_SECURITY_PACKAGE_INFO_FN_W,
9755 pub Reserved3: *mut ::core::ffi::c_void,
9756 pub Reserved4: *mut ::core::ffi::c_void,
9757 pub ExportSecurityContext: EXPORT_SECURITY_CONTEXT_FN,
9758 pub ImportSecurityContextW: IMPORT_SECURITY_CONTEXT_FN_W,
9759 pub AddCredentialsW: ADD_CREDENTIALS_FN_W,
9760 pub Reserved8: *mut ::core::ffi::c_void,
9761 pub QuerySecurityContextToken: QUERY_SECURITY_CONTEXT_TOKEN_FN,
9762 pub EncryptMessage: ENCRYPT_MESSAGE_FN,
9763 pub DecryptMessage: DECRYPT_MESSAGE_FN,
9764 pub SetContextAttributesW: SET_CONTEXT_ATTRIBUTES_FN_W,
9765 pub SetCredentialsAttributesW: SET_CREDENTIALS_ATTRIBUTES_FN_W,
9766 pub ChangeAccountPasswordW: CHANGE_PASSWORD_FN_W,
9767 pub QueryContextAttributesExW: QUERY_CONTEXT_ATTRIBUTES_EX_FN_W,
9768 pub QueryCredentialsAttributesExW: QUERY_CREDENTIALS_ATTRIBUTES_EX_FN_W,
9769}
9770#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
9771impl ::core::marker::Copy for SecurityFunctionTableW {}
9772#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
9773impl ::core::clone::Clone for SecurityFunctionTableW {
9774 fn clone(&self) -> Self {
9775 *self
9776 }
9777}
04454e1e 9778#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9779#[cfg(feature = "Win32_Foundation")]
9780pub type SpAcceptCredentialsFn = ::core::option::Option<unsafe extern "system" fn(logontype: SECURITY_LOGON_TYPE, accountname: *const super::super::super::Foundation::UNICODE_STRING, primarycredentials: *const SECPKG_PRIMARY_CRED, supplementalcredentials: *const SECPKG_SUPPLEMENTAL_CRED) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9781#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9782#[cfg(feature = "Win32_Foundation")]
9783pub type SpAcceptLsaModeContextFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, contexthandle: usize, inputbuffer: *const SecBufferDesc, contextrequirements: u32, targetdatarep: u32, newcontexthandle: *mut usize, outputbuffer: *mut SecBufferDesc, contextattributes: *mut u32, expirationtime: *mut i64, mappedcontext: *mut super::super::super::Foundation::BOOLEAN, contextdata: *mut SecBuffer) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9784#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9785#[cfg(feature = "Win32_Foundation")]
9786pub type SpAcquireCredentialsHandleFn = ::core::option::Option<unsafe extern "system" fn(principalname: *const super::super::super::Foundation::UNICODE_STRING, credentialuseflags: u32, logonid: *const super::super::super::Foundation::LUID, authorizationdata: *const ::core::ffi::c_void, getkeyfunciton: *const ::core::ffi::c_void, getkeyargument: *const ::core::ffi::c_void, credentialhandle: *mut usize, expirationtime: *mut i64) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9787#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9788#[cfg(feature = "Win32_Foundation")]
9789pub type SpAddCredentialsFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, principalname: *const super::super::super::Foundation::UNICODE_STRING, package: *const super::super::super::Foundation::UNICODE_STRING, credentialuseflags: u32, authorizationdata: *const ::core::ffi::c_void, getkeyfunciton: *const ::core::ffi::c_void, getkeyargument: *const ::core::ffi::c_void, expirationtime: *mut i64) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9790#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9791#[cfg(feature = "Win32_Foundation")]
9792pub type SpApplyControlTokenFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, controltoken: *const SecBufferDesc) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9793#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9794#[cfg(feature = "Win32_Foundation")]
9795pub type SpChangeAccountPasswordFn = ::core::option::Option<unsafe extern "system" fn(pdomainname: *const super::super::super::Foundation::UNICODE_STRING, paccountname: *const super::super::super::Foundation::UNICODE_STRING, poldpassword: *const super::super::super::Foundation::UNICODE_STRING, pnewpassword: *const super::super::super::Foundation::UNICODE_STRING, impersonating: super::super::super::Foundation::BOOLEAN, poutput: *mut SecBufferDesc) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9796#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9797#[cfg(feature = "Win32_Foundation")]
9798pub type SpCompleteAuthTokenFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, inputbuffer: *const SecBufferDesc) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9799#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9800#[cfg(feature = "Win32_Foundation")]
9801pub type SpDeleteContextFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9802#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9803#[cfg(feature = "Win32_Foundation")]
9804pub type SpDeleteCredentialsFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, key: *const SecBuffer) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9805#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9806#[cfg(feature = "Win32_Foundation")]
9807pub type SpExchangeMetaDataFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, targetname: *const super::super::super::Foundation::UNICODE_STRING, contextrequirements: u32, metadatalength: u32, metadata: *const u8, contexthandle: *mut usize) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9808#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9809#[cfg(feature = "Win32_Foundation")]
9810pub type SpExportSecurityContextFn = ::core::option::Option<unsafe extern "system" fn(phcontext: usize, fflags: u32, ppackedcontext: *mut SecBuffer, ptoken: *mut super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9811#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9812#[cfg(feature = "Win32_Foundation")]
9813pub type SpFormatCredentialsFn = ::core::option::Option<unsafe extern "system" fn(credentials: *const SecBuffer, formattedcredentials: *mut SecBuffer) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9814#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9815#[cfg(feature = "Win32_Foundation")]
9816pub type SpFreeCredentialsHandleFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9817#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9818#[cfg(feature = "Win32_Foundation")]
9819pub type SpGetContextTokenFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, impersonationtoken: *mut super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9820#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9821#[cfg(feature = "Win32_Foundation")]
9822pub type SpGetCredUIContextFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, credtype: *const ::windows_sys::core::GUID, flatcreduicontextlength: *mut u32, flatcreduicontext: *mut *mut u8) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9823#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9824#[cfg(feature = "Win32_Foundation")]
9825pub type SpGetCredentialsFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, credentials: *mut SecBuffer) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9826#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9827#[cfg(feature = "Win32_Foundation")]
9828pub type SpGetExtendedInformationFn = ::core::option::Option<unsafe extern "system" fn(class: SECPKG_EXTENDED_INFORMATION_CLASS, ppinformation: *mut *mut SECPKG_EXTENDED_INFORMATION) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9829#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9830#[cfg(feature = "Win32_Foundation")]
9831pub type SpGetInfoFn = ::core::option::Option<unsafe extern "system" fn(packageinfo: *mut SecPkgInfoA) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9832#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9833#[cfg(feature = "Win32_Foundation")]
9834pub type SpGetRemoteCredGuardLogonBufferFn = ::core::option::Option<unsafe extern "system" fn(credhandle: usize, contexthandle: usize, targetname: *const super::super::super::Foundation::UNICODE_STRING, redirectedlogonhandle: *mut super::super::super::Foundation::HANDLE, callback: *mut PLSA_REDIRECTED_LOGON_CALLBACK, cleanupcallback: *mut PLSA_REDIRECTED_LOGON_CLEANUP_CALLBACK, logonbuffersize: *mut u32, logonbuffer: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9835#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9836#[cfg(feature = "Win32_Foundation")]
9837pub type SpGetRemoteCredGuardSupplementalCredsFn = ::core::option::Option<unsafe extern "system" fn(credhandle: usize, targetname: *const super::super::super::Foundation::UNICODE_STRING, redirectedlogonhandle: *mut super::super::super::Foundation::HANDLE, callback: *mut PLSA_REDIRECTED_LOGON_CALLBACK, cleanupcallback: *mut PLSA_REDIRECTED_LOGON_CLEANUP_CALLBACK, supplementalcredssize: *mut u32, supplementalcreds: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9838#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9839#[cfg(feature = "Win32_Foundation")]
9840pub type SpGetTbalSupplementalCredsFn = ::core::option::Option<unsafe extern "system" fn(logonid: super::super::super::Foundation::LUID, supplementalcredssize: *mut u32, supplementalcreds: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9841#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9842#[cfg(feature = "Win32_Foundation")]
9843pub type SpGetUserInfoFn = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, flags: u32, userdata: *mut *mut SECURITY_USER_DATA) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9844#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9845#[cfg(feature = "Win32_Foundation")]
9846pub type SpImportSecurityContextFn = ::core::option::Option<unsafe extern "system" fn(ppackedcontext: *const SecBuffer, token: super::super::super::Foundation::HANDLE, phcontext: *mut usize) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9847#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9848#[cfg(feature = "Win32_Foundation")]
9849pub type SpInitLsaModeContextFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, contexthandle: usize, targetname: *const super::super::super::Foundation::UNICODE_STRING, contextrequirements: u32, targetdatarep: u32, inputbuffers: *const SecBufferDesc, newcontexthandle: *mut usize, outputbuffers: *mut SecBufferDesc, contextattributes: *mut u32, expirationtime: *mut i64, mappedcontext: *mut super::super::super::Foundation::BOOLEAN, contextdata: *mut SecBuffer) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9850#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9851#[cfg(feature = "Win32_Foundation")]
9852pub type SpInitUserModeContextFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, packedcontext: *const SecBuffer) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9853#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Threading\"`*"]
5e7ed085
FG
9854#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
9855pub type SpInitializeFn = ::core::option::Option<unsafe extern "system" fn(packageid: usize, parameters: *const SECPKG_PARAMETERS, functiontable: *const LSA_SECPKG_FUNCTION_TABLE) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9856#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9857#[cfg(feature = "Win32_Foundation")]
9858pub type SpInstanceInitFn = ::core::option::Option<unsafe extern "system" fn(version: u32, functiontable: *const SECPKG_DLL_FUNCTIONS, userfunctions: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9859#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Threading\"`*"]
5e7ed085
FG
9860#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
9861pub type SpLsaModeInitializeFn = ::core::option::Option<unsafe extern "system" fn(lsaversion: u32, packageversion: *mut u32, pptables: *mut *mut SECPKG_FUNCTION_TABLE, pctables: *mut u32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9862#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9863#[cfg(feature = "Win32_Foundation")]
9864pub type SpMakeSignatureFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, qualityofprotection: u32, messagebuffers: *const SecBufferDesc, messagesequencenumber: u32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9865#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9866#[cfg(feature = "Win32_Foundation")]
9867pub type SpMarshalAttributeDataFn = ::core::option::Option<unsafe extern "system" fn(attributeinfo: u32, attribute: u32, attributedatasize: u32, attributedata: *const u8, marshaledattributedatasize: *mut u32, marshaledattributedata: *mut *mut u8) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9868#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9869#[cfg(feature = "Win32_Foundation")]
9870pub type SpMarshallSupplementalCredsFn = ::core::option::Option<unsafe extern "system" fn(credentialsize: u32, credentials: *const u8, marshalledcredsize: *mut u32, marshalledcreds: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9871#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9872#[cfg(feature = "Win32_Foundation")]
9873pub type SpQueryContextAttributesFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, contextattribute: u32, buffer: *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9874#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9875#[cfg(feature = "Win32_Foundation")]
9876pub type SpQueryCredentialsAttributesFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, credentialattribute: u32, buffer: *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9877#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9878#[cfg(feature = "Win32_Foundation")]
9879pub type SpQueryMetaDataFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, targetname: *const super::super::super::Foundation::UNICODE_STRING, contextrequirements: u32, metadatalength: *mut u32, metadata: *mut *mut u8, contexthandle: *mut usize) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9880#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9881#[cfg(feature = "Win32_Foundation")]
9882pub type SpSaveCredentialsFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, credentials: *const SecBuffer) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9883#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9884#[cfg(feature = "Win32_Foundation")]
9885pub type SpSealMessageFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, qualityofprotection: u32, messagebuffers: *const SecBufferDesc, messagesequencenumber: u32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9886#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9887#[cfg(feature = "Win32_Foundation")]
9888pub type SpSetContextAttributesFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, contextattribute: u32, buffer: *const ::core::ffi::c_void, buffersize: u32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9889#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9890#[cfg(feature = "Win32_Foundation")]
9891pub type SpSetCredentialsAttributesFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, credentialattribute: u32, buffer: *const ::core::ffi::c_void, buffersize: u32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9892#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9893#[cfg(feature = "Win32_Foundation")]
9894pub type SpSetExtendedInformationFn = ::core::option::Option<unsafe extern "system" fn(class: SECPKG_EXTENDED_INFORMATION_CLASS, info: *const SECPKG_EXTENDED_INFORMATION) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9895#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9896#[cfg(feature = "Win32_Foundation")]
9897pub type SpShutdownFn = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9898#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9899#[cfg(feature = "Win32_Foundation")]
9900pub type SpUnsealMessageFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, messagebuffers: *const SecBufferDesc, messagesequencenumber: u32, qualityofprotection: *mut u32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9901#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9902#[cfg(feature = "Win32_Foundation")]
9903pub type SpUpdateCredentialsFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, credtype: *const ::windows_sys::core::GUID, flatcreduicontextlength: u32, flatcreduicontext: *const u8) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9904#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9905#[cfg(feature = "Win32_Foundation")]
9906pub type SpUserModeInitializeFn = ::core::option::Option<unsafe extern "system" fn(lsaversion: u32, packageversion: *mut u32, pptables: *mut *mut SECPKG_USER_FUNCTION_TABLE, pctables: *mut u32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9907#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9908#[cfg(feature = "Win32_Foundation")]
9909pub type SpValidateTargetInfoFn = ::core::option::Option<unsafe extern "system" fn(clientrequest: *const *const ::core::ffi::c_void, protocolsubmitbuffer: *const ::core::ffi::c_void, clientbufferbase: *const ::core::ffi::c_void, submitbufferlength: u32, targetinfo: *const SECPKG_TARGETINFO) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9910#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
9911#[cfg(feature = "Win32_Foundation")]
9912pub type SpVerifySignatureFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, messagebuffers: *const SecBufferDesc, messagesequencenumber: u32, qualityofprotection: *mut u32) -> super::super::super::Foundation::NTSTATUS>;
04454e1e 9913#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 9914pub type SslGetExtensionsFn = ::core::option::Option<unsafe extern "system" fn(clienthello: *const u8, clienthellobytesize: u32, genericextensions: *mut SCH_EXTENSION_DATA, genericextensionscount: u8, bytestoread: *mut u32, flags: SchGetExtensionsOptions) -> ::windows_sys::core::HRESULT>;
04454e1e 9915#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 9916pub type SslGetServerIdentityFn = ::core::option::Option<unsafe extern "system" fn(clienthello: *const u8, clienthellosize: u32, serveridentity: *mut *mut u8, serveridentitysize: *mut u32, flags: u32) -> ::windows_sys::core::HRESULT>;
04454e1e 9917#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 9918pub const TLS1SP_NAME: &str = "Microsoft TLS 1.0";
04454e1e 9919#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 9920pub const TLS1SP_NAME_A: &str = "Microsoft TLS 1.0";
04454e1e 9921#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 9922pub const TLS1SP_NAME_W: &str = "Microsoft TLS 1.0";
04454e1e 9923#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 9924pub const TLS1_ALERT_ACCESS_DENIED: u32 = 49u32;
04454e1e 9925#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 9926pub const TLS1_ALERT_BAD_CERTIFICATE: u32 = 42u32;
04454e1e 9927#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 9928pub const TLS1_ALERT_BAD_RECORD_MAC: u32 = 20u32;
04454e1e 9929#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 9930pub const TLS1_ALERT_CERTIFICATE_EXPIRED: u32 = 45u32;
04454e1e 9931#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 9932pub const TLS1_ALERT_CERTIFICATE_REVOKED: u32 = 44u32;
04454e1e 9933#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 9934pub const TLS1_ALERT_CERTIFICATE_UNKNOWN: u32 = 46u32;
04454e1e 9935#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 9936pub const TLS1_ALERT_CLOSE_NOTIFY: u32 = 0u32;
04454e1e 9937#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 9938pub const TLS1_ALERT_DECODE_ERROR: u32 = 50u32;
04454e1e 9939#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 9940pub const TLS1_ALERT_DECOMPRESSION_FAIL: u32 = 30u32;
04454e1e 9941#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 9942pub const TLS1_ALERT_DECRYPTION_FAILED: u32 = 21u32;
04454e1e 9943#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 9944pub const TLS1_ALERT_DECRYPT_ERROR: u32 = 51u32;
04454e1e 9945#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 9946pub const TLS1_ALERT_EXPORT_RESTRICTION: u32 = 60u32;
04454e1e 9947#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 9948pub const TLS1_ALERT_HANDSHAKE_FAILURE: u32 = 40u32;
04454e1e 9949#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 9950pub const TLS1_ALERT_ILLEGAL_PARAMETER: u32 = 47u32;
04454e1e 9951#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 9952pub const TLS1_ALERT_INSUFFIENT_SECURITY: u32 = 71u32;
04454e1e 9953#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 9954pub const TLS1_ALERT_INTERNAL_ERROR: u32 = 80u32;
04454e1e 9955#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 9956pub const TLS1_ALERT_NO_APP_PROTOCOL: u32 = 120u32;
04454e1e 9957#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 9958pub const TLS1_ALERT_NO_RENEGOTIATION: u32 = 100u32;
04454e1e 9959#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 9960pub const TLS1_ALERT_PROTOCOL_VERSION: u32 = 70u32;
04454e1e 9961#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 9962pub const TLS1_ALERT_RECORD_OVERFLOW: u32 = 22u32;
04454e1e 9963#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 9964pub const TLS1_ALERT_UNEXPECTED_MESSAGE: u32 = 10u32;
04454e1e 9965#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 9966pub const TLS1_ALERT_UNKNOWN_CA: u32 = 48u32;
04454e1e 9967#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 9968pub const TLS1_ALERT_UNKNOWN_PSK_IDENTITY: u32 = 115u32;
04454e1e 9969#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 9970pub const TLS1_ALERT_UNSUPPORTED_CERT: u32 = 43u32;
04454e1e 9971#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 9972pub const TLS1_ALERT_UNSUPPORTED_EXT: u32 = 110u32;
04454e1e 9973#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9974pub const TLS1_ALERT_USER_CANCELED: u32 = 90u32;
9975#[repr(C)]
04454e1e 9976#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9977pub struct TLS_EXTENSION_SUBSCRIPTION {
9978 pub ExtensionType: u16,
9979 pub HandshakeType: u16,
9980}
9981impl ::core::marker::Copy for TLS_EXTENSION_SUBSCRIPTION {}
9982impl ::core::clone::Clone for TLS_EXTENSION_SUBSCRIPTION {
9983 fn clone(&self) -> Self {
9984 *self
9985 }
9986}
04454e1e 9987#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 9988pub const TLS_PARAMS_OPTIONAL: u32 = 1u32;
04454e1e 9989#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 9990pub type TOKENBINDING_EXTENSION_FORMAT = i32;
04454e1e 9991#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9992pub const TOKENBINDING_EXTENSION_FORMAT_UNDEFINED: TOKENBINDING_EXTENSION_FORMAT = 0i32;
9993#[repr(C)]
04454e1e 9994#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
9995pub struct TOKENBINDING_IDENTIFIER {
9996 pub keyType: u8,
9997}
9998impl ::core::marker::Copy for TOKENBINDING_IDENTIFIER {}
9999impl ::core::clone::Clone for TOKENBINDING_IDENTIFIER {
10000 fn clone(&self) -> Self {
10001 *self
10002 }
10003}
04454e1e 10004#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10005pub type TOKENBINDING_KEY_PARAMETERS_TYPE = i32;
04454e1e 10006#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10007pub const TOKENBINDING_KEY_PARAMETERS_TYPE_RSA2048_PKCS: TOKENBINDING_KEY_PARAMETERS_TYPE = 0i32;
04454e1e 10008#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10009pub const TOKENBINDING_KEY_PARAMETERS_TYPE_RSA2048_PSS: TOKENBINDING_KEY_PARAMETERS_TYPE = 1i32;
04454e1e 10010#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10011pub const TOKENBINDING_KEY_PARAMETERS_TYPE_ECDSAP256: TOKENBINDING_KEY_PARAMETERS_TYPE = 2i32;
04454e1e 10012#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
10013pub const TOKENBINDING_KEY_PARAMETERS_TYPE_ANYEXISTING: TOKENBINDING_KEY_PARAMETERS_TYPE = 255i32;
10014#[repr(C)]
04454e1e 10015#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
10016pub struct TOKENBINDING_KEY_TYPES {
10017 pub keyCount: u32,
10018 pub keyType: *mut TOKENBINDING_KEY_PARAMETERS_TYPE,
10019}
10020impl ::core::marker::Copy for TOKENBINDING_KEY_TYPES {}
10021impl ::core::clone::Clone for TOKENBINDING_KEY_TYPES {
10022 fn clone(&self) -> Self {
10023 *self
10024 }
10025}
10026#[repr(C)]
04454e1e 10027#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
10028pub struct TOKENBINDING_RESULT_DATA {
10029 pub bindingType: TOKENBINDING_TYPE,
10030 pub identifierSize: u32,
10031 pub identifierData: *mut TOKENBINDING_IDENTIFIER,
10032 pub extensionFormat: TOKENBINDING_EXTENSION_FORMAT,
10033 pub extensionSize: u32,
10034 pub extensionData: *mut ::core::ffi::c_void,
10035}
10036impl ::core::marker::Copy for TOKENBINDING_RESULT_DATA {}
10037impl ::core::clone::Clone for TOKENBINDING_RESULT_DATA {
10038 fn clone(&self) -> Self {
10039 *self
10040 }
10041}
10042#[repr(C)]
04454e1e 10043#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
10044pub struct TOKENBINDING_RESULT_LIST {
10045 pub resultCount: u32,
10046 pub resultData: *mut TOKENBINDING_RESULT_DATA,
10047}
10048impl ::core::marker::Copy for TOKENBINDING_RESULT_LIST {}
10049impl ::core::clone::Clone for TOKENBINDING_RESULT_LIST {
10050 fn clone(&self) -> Self {
10051 *self
10052 }
10053}
04454e1e 10054#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10055pub type TOKENBINDING_TYPE = i32;
04454e1e 10056#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10057pub const TOKENBINDING_TYPE_PROVIDED: TOKENBINDING_TYPE = 0i32;
04454e1e 10058#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
10059pub const TOKENBINDING_TYPE_REFERRED: TOKENBINDING_TYPE = 1i32;
10060#[repr(C)]
04454e1e 10061#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
10062#[cfg(feature = "Win32_Foundation")]
10063pub struct TRUSTED_CONTROLLERS_INFO {
10064 pub Entries: u32,
10065 pub Names: *mut super::super::super::Foundation::UNICODE_STRING,
10066}
10067#[cfg(feature = "Win32_Foundation")]
10068impl ::core::marker::Copy for TRUSTED_CONTROLLERS_INFO {}
10069#[cfg(feature = "Win32_Foundation")]
10070impl ::core::clone::Clone for TRUSTED_CONTROLLERS_INFO {
10071 fn clone(&self) -> Self {
10072 *self
10073 }
10074}
10075#[repr(C)]
04454e1e 10076#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
10077pub struct TRUSTED_DOMAIN_AUTH_INFORMATION {
10078 pub IncomingAuthInfos: u32,
10079 pub IncomingAuthenticationInformation: *mut LSA_AUTH_INFORMATION,
10080 pub IncomingPreviousAuthenticationInformation: *mut LSA_AUTH_INFORMATION,
10081 pub OutgoingAuthInfos: u32,
10082 pub OutgoingAuthenticationInformation: *mut LSA_AUTH_INFORMATION,
10083 pub OutgoingPreviousAuthenticationInformation: *mut LSA_AUTH_INFORMATION,
10084}
10085impl ::core::marker::Copy for TRUSTED_DOMAIN_AUTH_INFORMATION {}
10086impl ::core::clone::Clone for TRUSTED_DOMAIN_AUTH_INFORMATION {
10087 fn clone(&self) -> Self {
10088 *self
10089 }
10090}
10091#[repr(C)]
04454e1e 10092#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
10093#[cfg(feature = "Win32_Foundation")]
10094pub struct TRUSTED_DOMAIN_FULL_INFORMATION {
10095 pub Information: TRUSTED_DOMAIN_INFORMATION_EX,
10096 pub PosixOffset: TRUSTED_POSIX_OFFSET_INFO,
10097 pub AuthInformation: TRUSTED_DOMAIN_AUTH_INFORMATION,
10098}
10099#[cfg(feature = "Win32_Foundation")]
10100impl ::core::marker::Copy for TRUSTED_DOMAIN_FULL_INFORMATION {}
10101#[cfg(feature = "Win32_Foundation")]
10102impl ::core::clone::Clone for TRUSTED_DOMAIN_FULL_INFORMATION {
10103 fn clone(&self) -> Self {
10104 *self
10105 }
10106}
10107#[repr(C)]
04454e1e 10108#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
10109#[cfg(feature = "Win32_Foundation")]
10110pub struct TRUSTED_DOMAIN_FULL_INFORMATION2 {
10111 pub Information: TRUSTED_DOMAIN_INFORMATION_EX2,
10112 pub PosixOffset: TRUSTED_POSIX_OFFSET_INFO,
10113 pub AuthInformation: TRUSTED_DOMAIN_AUTH_INFORMATION,
10114}
10115#[cfg(feature = "Win32_Foundation")]
10116impl ::core::marker::Copy for TRUSTED_DOMAIN_FULL_INFORMATION2 {}
10117#[cfg(feature = "Win32_Foundation")]
10118impl ::core::clone::Clone for TRUSTED_DOMAIN_FULL_INFORMATION2 {
10119 fn clone(&self) -> Self {
10120 *self
10121 }
10122}
10123#[repr(C)]
04454e1e 10124#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
10125#[cfg(feature = "Win32_Foundation")]
10126pub struct TRUSTED_DOMAIN_INFORMATION_EX {
10127 pub Name: super::super::super::Foundation::UNICODE_STRING,
10128 pub FlatName: super::super::super::Foundation::UNICODE_STRING,
10129 pub Sid: super::super::super::Foundation::PSID,
10130 pub TrustDirection: TRUSTED_DOMAIN_TRUST_DIRECTION,
10131 pub TrustType: TRUSTED_DOMAIN_TRUST_TYPE,
10132 pub TrustAttributes: TRUSTED_DOMAIN_TRUST_ATTRIBUTES,
10133}
10134#[cfg(feature = "Win32_Foundation")]
10135impl ::core::marker::Copy for TRUSTED_DOMAIN_INFORMATION_EX {}
10136#[cfg(feature = "Win32_Foundation")]
10137impl ::core::clone::Clone for TRUSTED_DOMAIN_INFORMATION_EX {
10138 fn clone(&self) -> Self {
10139 *self
10140 }
10141}
10142#[repr(C)]
04454e1e 10143#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
10144#[cfg(feature = "Win32_Foundation")]
10145pub struct TRUSTED_DOMAIN_INFORMATION_EX2 {
10146 pub Name: super::super::super::Foundation::UNICODE_STRING,
10147 pub FlatName: super::super::super::Foundation::UNICODE_STRING,
10148 pub Sid: super::super::super::Foundation::PSID,
10149 pub TrustDirection: u32,
10150 pub TrustType: u32,
10151 pub TrustAttributes: u32,
10152 pub ForestTrustLength: u32,
10153 pub ForestTrustInfo: *mut u8,
10154}
10155#[cfg(feature = "Win32_Foundation")]
10156impl ::core::marker::Copy for TRUSTED_DOMAIN_INFORMATION_EX2 {}
10157#[cfg(feature = "Win32_Foundation")]
10158impl ::core::clone::Clone for TRUSTED_DOMAIN_INFORMATION_EX2 {
10159 fn clone(&self) -> Self {
10160 *self
10161 }
10162}
10163#[repr(C)]
04454e1e 10164#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
10165#[cfg(feature = "Win32_Foundation")]
10166pub struct TRUSTED_DOMAIN_NAME_INFO {
10167 pub Name: super::super::super::Foundation::UNICODE_STRING,
10168}
10169#[cfg(feature = "Win32_Foundation")]
10170impl ::core::marker::Copy for TRUSTED_DOMAIN_NAME_INFO {}
10171#[cfg(feature = "Win32_Foundation")]
10172impl ::core::clone::Clone for TRUSTED_DOMAIN_NAME_INFO {
10173 fn clone(&self) -> Self {
10174 *self
10175 }
10176}
10177#[repr(C)]
04454e1e 10178#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
10179pub struct TRUSTED_DOMAIN_SUPPORTED_ENCRYPTION_TYPES {
10180 pub SupportedEncryptionTypes: u32,
10181}
10182impl ::core::marker::Copy for TRUSTED_DOMAIN_SUPPORTED_ENCRYPTION_TYPES {}
10183impl ::core::clone::Clone for TRUSTED_DOMAIN_SUPPORTED_ENCRYPTION_TYPES {
10184 fn clone(&self) -> Self {
10185 *self
10186 }
10187}
04454e1e 10188#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10189pub type TRUSTED_DOMAIN_TRUST_ATTRIBUTES = u32;
04454e1e 10190#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10191pub const TRUST_ATTRIBUTE_NON_TRANSITIVE: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 1u32;
04454e1e 10192#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10193pub const TRUST_ATTRIBUTE_UPLEVEL_ONLY: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 2u32;
04454e1e 10194#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10195pub const TRUST_ATTRIBUTE_FILTER_SIDS: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 4u32;
04454e1e 10196#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10197pub const TRUST_ATTRIBUTE_FOREST_TRANSITIVE: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 8u32;
04454e1e 10198#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10199pub const TRUST_ATTRIBUTE_CROSS_ORGANIZATION: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 16u32;
04454e1e 10200#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10201pub const TRUST_ATTRIBUTE_TREAT_AS_EXTERNAL: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 64u32;
04454e1e 10202#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10203pub const TRUST_ATTRIBUTE_WITHIN_FOREST: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 32u32;
04454e1e 10204#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10205pub type TRUSTED_DOMAIN_TRUST_DIRECTION = u32;
04454e1e 10206#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10207pub const TRUST_DIRECTION_DISABLED: TRUSTED_DOMAIN_TRUST_DIRECTION = 0u32;
04454e1e 10208#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10209pub const TRUST_DIRECTION_INBOUND: TRUSTED_DOMAIN_TRUST_DIRECTION = 1u32;
04454e1e 10210#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10211pub const TRUST_DIRECTION_OUTBOUND: TRUSTED_DOMAIN_TRUST_DIRECTION = 2u32;
04454e1e 10212#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10213pub const TRUST_DIRECTION_BIDIRECTIONAL: TRUSTED_DOMAIN_TRUST_DIRECTION = 3u32;
04454e1e 10214#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10215pub type TRUSTED_DOMAIN_TRUST_TYPE = u32;
04454e1e 10216#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10217pub const TRUST_TYPE_DOWNLEVEL: TRUSTED_DOMAIN_TRUST_TYPE = 1u32;
04454e1e 10218#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10219pub const TRUST_TYPE_UPLEVEL: TRUSTED_DOMAIN_TRUST_TYPE = 2u32;
04454e1e 10220#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10221pub const TRUST_TYPE_MIT: TRUSTED_DOMAIN_TRUST_TYPE = 3u32;
04454e1e 10222#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10223pub const TRUST_TYPE_DCE: TRUSTED_DOMAIN_TRUST_TYPE = 4u32;
04454e1e 10224#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10225pub type TRUSTED_INFORMATION_CLASS = i32;
04454e1e 10226#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10227pub const TrustedDomainNameInformation: TRUSTED_INFORMATION_CLASS = 1i32;
04454e1e 10228#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10229pub const TrustedControllersInformation: TRUSTED_INFORMATION_CLASS = 2i32;
04454e1e 10230#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10231pub const TrustedPosixOffsetInformation: TRUSTED_INFORMATION_CLASS = 3i32;
04454e1e 10232#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10233pub const TrustedPasswordInformation: TRUSTED_INFORMATION_CLASS = 4i32;
04454e1e 10234#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10235pub const TrustedDomainInformationBasic: TRUSTED_INFORMATION_CLASS = 5i32;
04454e1e 10236#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10237pub const TrustedDomainInformationEx: TRUSTED_INFORMATION_CLASS = 6i32;
04454e1e 10238#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10239pub const TrustedDomainAuthInformation: TRUSTED_INFORMATION_CLASS = 7i32;
04454e1e 10240#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10241pub const TrustedDomainFullInformation: TRUSTED_INFORMATION_CLASS = 8i32;
04454e1e 10242#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10243pub const TrustedDomainAuthInformationInternal: TRUSTED_INFORMATION_CLASS = 9i32;
04454e1e 10244#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10245pub const TrustedDomainFullInformationInternal: TRUSTED_INFORMATION_CLASS = 10i32;
04454e1e 10246#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10247pub const TrustedDomainInformationEx2Internal: TRUSTED_INFORMATION_CLASS = 11i32;
04454e1e 10248#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10249pub const TrustedDomainFullInformation2Internal: TRUSTED_INFORMATION_CLASS = 12i32;
04454e1e 10250#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
10251pub const TrustedDomainSupportedEncryptionTypes: TRUSTED_INFORMATION_CLASS = 13i32;
10252#[repr(C)]
04454e1e 10253#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
10254#[cfg(feature = "Win32_Foundation")]
10255pub struct TRUSTED_PASSWORD_INFO {
10256 pub Password: super::super::super::Foundation::UNICODE_STRING,
10257 pub OldPassword: super::super::super::Foundation::UNICODE_STRING,
10258}
10259#[cfg(feature = "Win32_Foundation")]
10260impl ::core::marker::Copy for TRUSTED_PASSWORD_INFO {}
10261#[cfg(feature = "Win32_Foundation")]
10262impl ::core::clone::Clone for TRUSTED_PASSWORD_INFO {
10263 fn clone(&self) -> Self {
10264 *self
10265 }
10266}
10267#[repr(C)]
04454e1e 10268#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
10269pub struct TRUSTED_POSIX_OFFSET_INFO {
10270 pub Offset: u32,
10271}
10272impl ::core::marker::Copy for TRUSTED_POSIX_OFFSET_INFO {}
10273impl ::core::clone::Clone for TRUSTED_POSIX_OFFSET_INFO {
10274 fn clone(&self) -> Self {
10275 *self
10276 }
10277}
04454e1e 10278#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10279pub const TRUSTED_QUERY_AUTH: i32 = 64i32;
04454e1e 10280#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10281pub const TRUSTED_QUERY_CONTROLLERS: i32 = 2i32;
04454e1e 10282#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10283pub const TRUSTED_QUERY_DOMAIN_NAME: i32 = 1i32;
04454e1e 10284#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10285pub const TRUSTED_QUERY_POSIX: i32 = 8i32;
04454e1e 10286#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10287pub const TRUSTED_SET_AUTH: i32 = 32i32;
04454e1e 10288#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10289pub const TRUSTED_SET_CONTROLLERS: i32 = 4i32;
04454e1e 10290#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10291pub const TRUSTED_SET_POSIX: i32 = 16i32;
04454e1e 10292#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10293pub const TRUST_ATTRIBUTES_USER: u32 = 4278190080u32;
04454e1e 10294#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10295pub const TRUST_ATTRIBUTES_VALID: u32 = 4278386687u32;
04454e1e 10296#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10297pub const TRUST_ATTRIBUTE_CROSS_ORGANIZATION_ENABLE_TGT_DELEGATION: u32 = 2048u32;
04454e1e 10298#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10299pub const TRUST_ATTRIBUTE_CROSS_ORGANIZATION_NO_TGT_DELEGATION: u32 = 512u32;
04454e1e 10300#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10301pub const TRUST_ATTRIBUTE_PIM_TRUST: u32 = 1024u32;
04454e1e 10302#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10303pub const TRUST_ATTRIBUTE_QUARANTINED_DOMAIN: u32 = 4u32;
04454e1e 10304#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10305pub const TRUST_ATTRIBUTE_TREE_PARENT: u32 = 4194304u32;
04454e1e 10306#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10307pub const TRUST_ATTRIBUTE_TREE_ROOT: u32 = 8388608u32;
04454e1e 10308#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10309pub const TRUST_ATTRIBUTE_TRUST_USES_AES_KEYS: u32 = 256u32;
04454e1e 10310#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10311pub const TRUST_ATTRIBUTE_TRUST_USES_RC4_ENCRYPTION: u32 = 128u32;
04454e1e 10312#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10313pub const UNDERSTANDS_LONG_NAMES: u32 = 1u32;
04454e1e 10314#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 10315pub const UNISP_NAME: &str = "Microsoft Unified Security Protocol Provider";
04454e1e 10316#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 10317pub const UNISP_NAME_A: &str = "Microsoft Unified Security Protocol Provider";
04454e1e 10318#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 10319pub const UNISP_NAME_W: &str = "Microsoft Unified Security Protocol Provider";
04454e1e 10320#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10321pub const UNISP_RPC_ID: u32 = 14u32;
04454e1e 10322#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10323pub const USER_ACCOUNT_AUTO_LOCKED: u32 = 1024u32;
04454e1e 10324#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
10325pub const USER_ACCOUNT_DISABLED: u32 = 1u32;
10326#[repr(C, packed(4))]
04454e1e 10327#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
10328#[cfg(feature = "Win32_Foundation")]
10329pub struct USER_ALL_INFORMATION {
10330 pub LastLogon: i64,
10331 pub LastLogoff: i64,
10332 pub PasswordLastSet: i64,
10333 pub AccountExpires: i64,
10334 pub PasswordCanChange: i64,
10335 pub PasswordMustChange: i64,
10336 pub UserName: super::super::super::Foundation::UNICODE_STRING,
10337 pub FullName: super::super::super::Foundation::UNICODE_STRING,
10338 pub HomeDirectory: super::super::super::Foundation::UNICODE_STRING,
10339 pub HomeDirectoryDrive: super::super::super::Foundation::UNICODE_STRING,
10340 pub ScriptPath: super::super::super::Foundation::UNICODE_STRING,
10341 pub ProfilePath: super::super::super::Foundation::UNICODE_STRING,
10342 pub AdminComment: super::super::super::Foundation::UNICODE_STRING,
10343 pub WorkStations: super::super::super::Foundation::UNICODE_STRING,
10344 pub UserComment: super::super::super::Foundation::UNICODE_STRING,
10345 pub Parameters: super::super::super::Foundation::UNICODE_STRING,
10346 pub LmPassword: super::super::super::Foundation::UNICODE_STRING,
10347 pub NtPassword: super::super::super::Foundation::UNICODE_STRING,
10348 pub PrivateData: super::super::super::Foundation::UNICODE_STRING,
10349 pub SecurityDescriptor: SR_SECURITY_DESCRIPTOR,
10350 pub UserId: u32,
10351 pub PrimaryGroupId: u32,
10352 pub UserAccountControl: u32,
10353 pub WhichFields: u32,
10354 pub LogonHours: LOGON_HOURS,
10355 pub BadPasswordCount: u16,
10356 pub LogonCount: u16,
10357 pub CountryCode: u16,
10358 pub CodePage: u16,
10359 pub LmPasswordPresent: super::super::super::Foundation::BOOLEAN,
10360 pub NtPasswordPresent: super::super::super::Foundation::BOOLEAN,
10361 pub PasswordExpired: super::super::super::Foundation::BOOLEAN,
10362 pub PrivateDataSensitive: super::super::super::Foundation::BOOLEAN,
10363}
10364#[cfg(feature = "Win32_Foundation")]
10365impl ::core::marker::Copy for USER_ALL_INFORMATION {}
10366#[cfg(feature = "Win32_Foundation")]
10367impl ::core::clone::Clone for USER_ALL_INFORMATION {
10368 fn clone(&self) -> Self {
10369 *self
10370 }
10371}
04454e1e 10372#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10373pub const USER_ALL_PARAMETERS: u32 = 2097152u32;
04454e1e 10374#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10375pub const USER_DONT_EXPIRE_PASSWORD: u32 = 512u32;
04454e1e 10376#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10377pub const USER_DONT_REQUIRE_PREAUTH: u32 = 65536u32;
04454e1e 10378#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10379pub const USER_ENCRYPTED_TEXT_PASSWORD_ALLOWED: u32 = 2048u32;
04454e1e 10380#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10381pub const USER_HOME_DIRECTORY_REQUIRED: u32 = 2u32;
04454e1e 10382#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10383pub const USER_INTERDOMAIN_TRUST_ACCOUNT: u32 = 64u32;
04454e1e 10384#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10385pub const USER_MNS_LOGON_ACCOUNT: u32 = 32u32;
04454e1e 10386#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10387pub const USER_NORMAL_ACCOUNT: u32 = 16u32;
04454e1e 10388#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10389pub const USER_NOT_DELEGATED: u32 = 16384u32;
04454e1e 10390#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10391pub const USER_NO_AUTH_DATA_REQUIRED: u32 = 524288u32;
04454e1e 10392#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10393pub const USER_PARTIAL_SECRETS_ACCOUNT: u32 = 1048576u32;
04454e1e 10394#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10395pub const USER_PASSWORD_EXPIRED: u32 = 131072u32;
04454e1e 10396#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10397pub const USER_PASSWORD_NOT_REQUIRED: u32 = 4u32;
04454e1e 10398#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
10399pub const USER_SERVER_TRUST_ACCOUNT: u32 = 256u32;
10400#[repr(C)]
04454e1e 10401#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_PasswordManagement\"`*"]
5e7ed085
FG
10402#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
10403pub struct USER_SESSION_KEY {
10404 pub data: [super::super::super::System::PasswordManagement::CYPHER_BLOCK; 2],
10405}
10406#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
10407impl ::core::marker::Copy for USER_SESSION_KEY {}
10408#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
10409impl ::core::clone::Clone for USER_SESSION_KEY {
10410 fn clone(&self) -> Self {
10411 *self
10412 }
10413}
04454e1e 10414#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10415pub const USER_SMARTCARD_REQUIRED: u32 = 4096u32;
04454e1e 10416#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10417pub const USER_TEMP_DUPLICATE_ACCOUNT: u32 = 8u32;
04454e1e 10418#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10419pub const USER_TRUSTED_FOR_DELEGATION: u32 = 8192u32;
04454e1e 10420#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10421pub const USER_TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION: u32 = 262144u32;
04454e1e 10422#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10423pub const USER_USE_AES_KEYS: u32 = 2097152u32;
04454e1e 10424#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10425pub const USER_USE_DES_KEY_ONLY: u32 = 32768u32;
04454e1e 10426#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10427pub const USER_WORKSTATION_TRUST_ACCOUNT: u32 = 128u32;
04454e1e 10428#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5e7ed085 10429#[cfg(feature = "Win32_Security_Credentials")]
923072b8 10430pub type VERIFY_SIGNATURE_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle, param1: *mut SecBufferDesc, param2: u32, param3: *mut u32) -> ::windows_sys::core::HRESULT>;
04454e1e 10431#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 10432pub const WDIGEST_SP_NAME: &str = "WDigest";
04454e1e 10433#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 10434pub const WDIGEST_SP_NAME_A: &str = "WDigest";
04454e1e 10435#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
923072b8 10436pub const WDIGEST_SP_NAME_W: &str = "WDigest";
5e7ed085
FG
10437pub const WINDOWS_SLID: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1439246132, data2: 54914, data3: 19825, data4: [152, 62, 214, 236, 63, 22, 5, 159] };
10438#[repr(C)]
04454e1e 10439#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5e7ed085
FG
10440#[cfg(feature = "Win32_Foundation")]
10441pub struct X509Certificate {
10442 pub Version: u32,
10443 pub SerialNumber: [u32; 4],
10444 pub SignatureAlgorithm: u32,
10445 pub ValidFrom: super::super::super::Foundation::FILETIME,
10446 pub ValidUntil: super::super::super::Foundation::FILETIME,
04454e1e
FG
10447 pub pszIssuer: ::windows_sys::core::PSTR,
10448 pub pszSubject: ::windows_sys::core::PSTR,
5e7ed085
FG
10449 pub pPublicKey: *mut PctPublicKey,
10450}
10451#[cfg(feature = "Win32_Foundation")]
10452impl ::core::marker::Copy for X509Certificate {}
10453#[cfg(feature = "Win32_Foundation")]
10454impl ::core::clone::Clone for X509Certificate {
10455 fn clone(&self) -> Self {
10456 *self
10457 }
10458}
04454e1e 10459#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085
FG
10460pub const _FACILITY_WINDOWS_STORE: u32 = 63u32;
10461#[repr(C)]
10462pub struct _HMAPPER(pub u8);
04454e1e 10463#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10464pub type eTlsHashAlgorithm = i32;
04454e1e 10465#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10466pub const TlsHashAlgorithm_None: eTlsHashAlgorithm = 0i32;
04454e1e 10467#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10468pub const TlsHashAlgorithm_Md5: eTlsHashAlgorithm = 1i32;
04454e1e 10469#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10470pub const TlsHashAlgorithm_Sha1: eTlsHashAlgorithm = 2i32;
04454e1e 10471#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10472pub const TlsHashAlgorithm_Sha224: eTlsHashAlgorithm = 3i32;
04454e1e 10473#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10474pub const TlsHashAlgorithm_Sha256: eTlsHashAlgorithm = 4i32;
04454e1e 10475#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10476pub const TlsHashAlgorithm_Sha384: eTlsHashAlgorithm = 5i32;
04454e1e 10477#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10478pub const TlsHashAlgorithm_Sha512: eTlsHashAlgorithm = 6i32;
04454e1e 10479#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10480pub type eTlsSignatureAlgorithm = i32;
04454e1e 10481#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10482pub const TlsSignatureAlgorithm_Anonymous: eTlsSignatureAlgorithm = 0i32;
04454e1e 10483#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10484pub const TlsSignatureAlgorithm_Rsa: eTlsSignatureAlgorithm = 1i32;
04454e1e 10485#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10486pub const TlsSignatureAlgorithm_Dsa: eTlsSignatureAlgorithm = 2i32;
04454e1e 10487#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5e7ed085 10488pub const TlsSignatureAlgorithm_Ecdsa: eTlsSignatureAlgorithm = 3i32;