1 #[cfg(feature = "Win32_Security_Authentication_Identity_Provider")]
3 #[link(name = "windows")]
5 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
6 #[cfg(feature = "Win32_Security_Credentials")]
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
;
8 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
9 #[cfg(feature = "Win32_Security_Credentials")]
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
;
11 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
12 #[cfg(feature = "Win32_Security_Credentials")]
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
;
14 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
15 #[cfg(feature = "Win32_Security_Credentials")]
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
;
17 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
18 #[cfg(feature = "Win32_Security_Credentials")]
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
;
20 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
21 pub fn AddSecurityPackageA(pszpackagename
: ::windows_sys
::core
::PCSTR
, poptions
: *const SECURITY_PACKAGE_OPTIONS
) -> ::windows_sys
::core
::HRESULT
;
22 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
23 pub fn AddSecurityPackageW(pszpackagename
: ::windows_sys
::core
::PCWSTR
, poptions
: *const SECURITY_PACKAGE_OPTIONS
) -> ::windows_sys
::core
::HRESULT
;
24 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
25 #[cfg(feature = "Win32_Security_Credentials")]
26 pub fn ApplyControlToken(phcontext
: *const super::super::Credentials
::SecHandle
, pinput
: *const SecBufferDesc
) -> ::windows_sys
::core
::HRESULT
;
27 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
30 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
33 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
34 #[cfg(feature = "Win32_Foundation")]
35 pub fn AuditEnumerateCategories(ppauditcategoriesarray
: *mut *mut ::windows_sys
::core
::GUID
, pdwcountreturned
: *mut u32) -> super::super::super::Foundation
::BOOLEAN
;
36 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
37 #[cfg(feature = "Win32_Foundation")]
38 pub fn AuditEnumeratePerUserPolicy(ppauditsidarray
: *mut *mut POLICY_AUDIT_SID_ARRAY
) -> super::super::super::Foundation
::BOOLEAN
;
39 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
42 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
43 pub fn AuditFree(buffer
: *const ::core
::ffi
::c_void
);
44 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
47 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
50 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
51 #[cfg(feature = "Win32_Foundation")]
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\"`*"]
54 #[cfg(feature = "Win32_Foundation")]
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\"`*"]
57 #[cfg(feature = "Win32_Foundation")]
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\"`*"]
60 #[cfg(feature = "Win32_Foundation")]
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\"`*"]
63 #[cfg(feature = "Win32_Foundation")]
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\"`*"]
66 #[cfg(feature = "Win32_Foundation")]
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\"`*"]
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
;
71 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
72 #[cfg(feature = "Win32_Foundation")]
73 pub fn AuditQuerySecurity(securityinformation
: u32, ppsecuritydescriptor
: *mut super::super::PSECURITY_DESCRIPTOR
) -> super::super::super::Foundation
::BOOLEAN
;
74 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
77 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
78 #[cfg(feature = "Win32_Foundation")]
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\"`*"]
81 #[cfg(feature = "Win32_Foundation")]
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\"`*"]
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
;
86 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
87 #[cfg(feature = "Win32_Foundation")]
88 pub fn AuditSetSecurity(securityinformation
: u32, psecuritydescriptor
: super::super::PSECURITY_DESCRIPTOR
) -> super::super::super::Foundation
::BOOLEAN
;
89 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
90 #[cfg(feature = "Win32_Foundation")]
91 pub fn AuditSetSystemPolicy(pauditpolicy
: *const AUDIT_POLICY_INFORMATION
, dwpolicycount
: u32) -> super::super::super::Foundation
::BOOLEAN
;
92 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
93 #[cfg(feature = "Win32_Foundation")]
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
;
95 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
96 #[cfg(feature = "Win32_Foundation")]
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
;
98 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
99 #[cfg(feature = "Win32_Security_Credentials")]
100 pub fn CompleteAuthToken(phcontext
: *const super::super::Credentials
::SecHandle
, ptoken
: *const SecBufferDesc
) -> ::windows_sys
::core
::HRESULT
;
101 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
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
;
104 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
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
;
107 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
108 #[cfg(feature = "Win32_Security_Credentials")]
109 pub fn DecryptMessage(phcontext
: *const super::super::Credentials
::SecHandle
, pmessage
: *const SecBufferDesc
, messageseqno
: u32, pfqop
: *mut u32) -> ::windows_sys
::core
::HRESULT
;
110 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
111 #[cfg(feature = "Win32_Security_Credentials")]
112 pub fn DeleteSecurityContext(phcontext
: *const super::super::Credentials
::SecHandle
) -> ::windows_sys
::core
::HRESULT
;
113 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
114 pub fn DeleteSecurityPackageA(pszpackagename
: ::windows_sys
::core
::PCSTR
) -> ::windows_sys
::core
::HRESULT
;
115 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
116 pub fn DeleteSecurityPackageW(pszpackagename
: ::windows_sys
::core
::PCWSTR
) -> ::windows_sys
::core
::HRESULT
;
117 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
118 #[cfg(feature = "Win32_Security_Credentials")]
119 pub fn EncryptMessage(phcontext
: *const super::super::Credentials
::SecHandle
, fqop
: u32, pmessage
: *const SecBufferDesc
, messageseqno
: u32) -> ::windows_sys
::core
::HRESULT
;
120 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
121 pub fn EnumerateSecurityPackagesA(pcpackages
: *mut u32, pppackageinfo
: *mut *mut SecPkgInfoA
) -> ::windows_sys
::core
::HRESULT
;
122 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
123 pub fn EnumerateSecurityPackagesW(pcpackages
: *mut u32, pppackageinfo
: *mut *mut SecPkgInfoW
) -> ::windows_sys
::core
::HRESULT
;
124 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
125 #[cfg(feature = "Win32_Security_Credentials")]
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
;
127 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
128 pub fn FreeContextBuffer(pvcontextbuffer
: *mut ::core
::ffi
::c_void
) -> ::windows_sys
::core
::HRESULT
;
129 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
130 #[cfg(feature = "Win32_Security_Credentials")]
131 pub fn FreeCredentialsHandle(phcredential
: *const super::super::Credentials
::SecHandle
) -> ::windows_sys
::core
::HRESULT
;
132 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
133 #[cfg(feature = "Win32_Foundation")]
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\"`*"]
136 #[cfg(feature = "Win32_Foundation")]
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\"`*"]
139 #[cfg(feature = "Win32_Foundation")]
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\"`*"]
142 #[cfg(feature = "Win32_Foundation")]
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\"`*"]
145 #[cfg(feature = "Win32_Security_Credentials")]
146 pub fn ImpersonateSecurityContext(phcontext
: *const super::super::Credentials
::SecHandle
) -> ::windows_sys
::core
::HRESULT
;
147 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
148 #[cfg(feature = "Win32_Security_Credentials")]
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
;
150 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
151 #[cfg(feature = "Win32_Security_Credentials")]
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
;
153 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
154 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
155 pub fn InitSecurityInterfaceA() -> *mut SecurityFunctionTableA
;
156 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
157 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
158 pub fn InitSecurityInterfaceW() -> *mut SecurityFunctionTableW
;
159 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
160 #[cfg(feature = "Win32_Security_Credentials")]
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
;
162 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
163 #[cfg(feature = "Win32_Security_Credentials")]
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
;
165 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
168 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
171 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
172 #[cfg(feature = "Win32_Foundation")]
173 pub fn LsaClose(objecthandle
: *const ::core
::ffi
::c_void
) -> super::super::super::Foundation
::NTSTATUS
;
174 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
175 #[cfg(feature = "Win32_Foundation")]
176 pub fn LsaConnectUntrusted(lsahandle
: *mut super::super::super::Foundation
::HANDLE
) -> super::super::super::Foundation
::NTSTATUS
;
177 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
180 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
183 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
184 #[cfg(feature = "Win32_Foundation")]
185 pub fn LsaDeregisterLogonProcess(lsahandle
: LsaHandle
) -> super::super::super::Foundation
::NTSTATUS
;
186 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
189 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
192 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
195 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
198 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
201 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
202 #[cfg(feature = "Win32_Foundation")]
203 pub fn LsaFreeMemory(buffer
: *const ::core
::ffi
::c_void
) -> super::super::super::Foundation
::NTSTATUS
;
204 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
205 #[cfg(feature = "Win32_Foundation")]
206 pub fn LsaFreeReturnBuffer(buffer
: *const ::core
::ffi
::c_void
) -> super::super::super::Foundation
::NTSTATUS
;
207 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
210 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
213 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
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
;
216 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
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
;
219 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
222 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
225 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
228 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
231 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
232 #[cfg(feature = "Win32_Foundation")]
233 pub fn LsaNtStatusToWinError(status
: super::super::super::Foundation
::NTSTATUS
) -> u32;
234 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"]
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
;
237 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
240 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
243 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
246 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
249 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
252 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
255 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
258 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
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
;
261 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
264 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
267 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
270 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
273 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
276 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
279 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
282 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
285 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
288 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
291 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
294 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
295 #[cfg(feature = "Win32_Security_Credentials")]
296 pub fn MakeSignature(phcontext
: *const super::super::Credentials
::SecHandle
, fqop
: u32, pmessage
: *const SecBufferDesc
, messageseqno
: u32) -> ::windows_sys
::core
::HRESULT
;
297 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
298 #[cfg(feature = "Win32_Security_Credentials")]
299 pub fn QueryContextAttributesA(phcontext
: *const super::super::Credentials
::SecHandle
, ulattribute
: SECPKG_ATTR
, pbuffer
: *mut ::core
::ffi
::c_void
) -> ::windows_sys
::core
::HRESULT
;
300 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
301 #[cfg(feature = "Win32_Security_Credentials")]
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
;
303 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
304 #[cfg(feature = "Win32_Security_Credentials")]
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
;
306 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
307 #[cfg(feature = "Win32_Security_Credentials")]
308 pub fn QueryContextAttributesW(phcontext
: *const super::super::Credentials
::SecHandle
, ulattribute
: SECPKG_ATTR
, pbuffer
: *mut ::core
::ffi
::c_void
) -> ::windows_sys
::core
::HRESULT
;
309 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
310 #[cfg(feature = "Win32_Security_Credentials")]
311 pub fn QueryCredentialsAttributesA(phcredential
: *const super::super::Credentials
::SecHandle
, ulattribute
: u32, pbuffer
: *mut ::core
::ffi
::c_void
) -> ::windows_sys
::core
::HRESULT
;
312 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
313 #[cfg(feature = "Win32_Security_Credentials")]
314 pub fn QueryCredentialsAttributesExA(phcredential
: *const super::super::Credentials
::SecHandle
, ulattribute
: u32, pbuffer
: *mut ::core
::ffi
::c_void
, cbbuffer
: u32) -> ::windows_sys
::core
::HRESULT
;
315 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
316 #[cfg(feature = "Win32_Security_Credentials")]
317 pub fn QueryCredentialsAttributesExW(phcredential
: *const super::super::Credentials
::SecHandle
, ulattribute
: u32, pbuffer
: *mut ::core
::ffi
::c_void
, cbbuffer
: u32) -> ::windows_sys
::core
::HRESULT
;
318 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
319 #[cfg(feature = "Win32_Security_Credentials")]
320 pub fn QueryCredentialsAttributesW(phcredential
: *const super::super::Credentials
::SecHandle
, ulattribute
: u32, pbuffer
: *mut ::core
::ffi
::c_void
) -> ::windows_sys
::core
::HRESULT
;
321 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
322 #[cfg(feature = "Win32_Security_Credentials")]
323 pub fn QuerySecurityContextToken(phcontext
: *const super::super::Credentials
::SecHandle
, token
: *mut *mut ::core
::ffi
::c_void
) -> ::windows_sys
::core
::HRESULT
;
324 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
325 pub fn QuerySecurityPackageInfoA(pszpackagename
: ::windows_sys
::core
::PCSTR
, pppackageinfo
: *mut *mut SecPkgInfoA
) -> ::windows_sys
::core
::HRESULT
;
326 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
327 pub fn QuerySecurityPackageInfoW(pszpackagename
: ::windows_sys
::core
::PCWSTR
, pppackageinfo
: *mut *mut SecPkgInfoW
) -> ::windows_sys
::core
::HRESULT
;
328 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
329 #[cfg(feature = "Win32_Security_Credentials")]
330 pub fn RevertSecurityContext(phcontext
: *const super::super::Credentials
::SecHandle
) -> ::windows_sys
::core
::HRESULT
;
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\"`*"]
336 pub fn SLClose(hslc
: *const ::core
::ffi
::c_void
) -> ::windows_sys
::core
::HRESULT
;
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\"`*"]
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
;
355 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
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
;
357 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
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
;
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\"`*"]
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
;
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\"`*"]
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
;
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\"`*"]
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
;
391 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
392 pub fn SLOpen(phslc
: *mut *mut ::core
::ffi
::c_void
) -> ::windows_sys
::core
::HRESULT
;
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\"`*"]
396 #[cfg(feature = "Win32_Foundation")]
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\"`*"]
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
;
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\"`*"]
403 pub fn SLUninstallLicense(hslc
: *const ::core
::ffi
::c_void
, plicensefileid
: *const ::windows_sys
::core
::GUID
) -> ::windows_sys
::core
::HRESULT
;
404 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
405 pub fn SLUninstallProofOfPurchase(hslc
: *const ::core
::ffi
::c_void
, ppkeyid
: *const ::windows_sys
::core
::GUID
) -> ::windows_sys
::core
::HRESULT
;
406 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
407 #[cfg(feature = "Win32_Foundation")]
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\"`*"]
410 #[cfg(feature = "Win32_Security_Credentials")]
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
;
412 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
413 pub fn SaslEnumerateProfilesA(profilelist
: *mut ::windows_sys
::core
::PSTR
, profilecount
: *mut u32) -> ::windows_sys
::core
::HRESULT
;
414 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
415 pub fn SaslEnumerateProfilesW(profilelist
: *mut ::windows_sys
::core
::PWSTR
, profilecount
: *mut u32) -> ::windows_sys
::core
::HRESULT
;
416 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
417 #[cfg(feature = "Win32_Security_Credentials")]
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
;
419 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
420 pub fn SaslGetProfilePackageA(profilename
: ::windows_sys
::core
::PCSTR
, packageinfo
: *mut *mut SecPkgInfoA
) -> ::windows_sys
::core
::HRESULT
;
421 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
422 pub fn SaslGetProfilePackageW(profilename
: ::windows_sys
::core
::PCWSTR
, packageinfo
: *mut *mut SecPkgInfoW
) -> ::windows_sys
::core
::HRESULT
;
423 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
424 pub fn SaslIdentifyPackageA(pinput
: *const SecBufferDesc
, packageinfo
: *mut *mut SecPkgInfoA
) -> ::windows_sys
::core
::HRESULT
;
425 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
426 pub fn SaslIdentifyPackageW(pinput
: *const SecBufferDesc
, packageinfo
: *mut *mut SecPkgInfoW
) -> ::windows_sys
::core
::HRESULT
;
427 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
428 #[cfg(feature = "Win32_Security_Credentials")]
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
;
430 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
431 #[cfg(feature = "Win32_Security_Credentials")]
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
;
433 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
434 #[cfg(feature = "Win32_Security_Credentials")]
435 pub fn SaslSetContextOption(contexthandle
: *const super::super::Credentials
::SecHandle
, option
: u32, value
: *const ::core
::ffi
::c_void
, size
: u32) -> ::windows_sys
::core
::HRESULT
;
436 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
437 #[cfg(feature = "Win32_Security_Credentials")]
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
;
439 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
440 #[cfg(feature = "Win32_Security_Credentials")]
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
;
442 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
443 #[cfg(feature = "Win32_Security_Credentials")]
444 pub fn SetCredentialsAttributesA(phcredential
: *const super::super::Credentials
::SecHandle
, ulattribute
: u32, pbuffer
: *const ::core
::ffi
::c_void
, cbbuffer
: u32) -> ::windows_sys
::core
::HRESULT
;
445 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
446 #[cfg(feature = "Win32_Security_Credentials")]
447 pub fn SetCredentialsAttributesW(phcredential
: *const super::super::Credentials
::SecHandle
, ulattribute
: u32, pbuffer
: *const ::core
::ffi
::c_void
, cbbuffer
: u32) -> ::windows_sys
::core
::HRESULT
;
448 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
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
;
451 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
452 #[cfg(feature = "Win32_Foundation")]
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\"`*"]
455 #[cfg(feature = "Win32_Foundation")]
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\"`*"]
458 #[cfg(feature = "Win32_Foundation")]
459 pub fn SslFreeCertificate(pcertificate
: *mut X509Certificate
);
460 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
461 pub fn SslGenerateRandomBits(prandomdata
: *mut u8, crandomdata
: i32);
462 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
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
;
464 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
465 pub fn SslGetMaximumKeySize(reserved
: u32) -> u32;
466 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
467 pub fn SslGetServerIdentity(clienthello
: *const u8, clienthellosize
: u32, serveridentity
: *mut *mut u8, serveridentitysize
: *mut u32, flags
: u32) -> ::windows_sys
::core
::HRESULT
;
468 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
469 #[cfg(feature = "Win32_Foundation")]
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
;
471 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
472 pub fn SspiCopyAuthIdentity(authdata
: *const ::core
::ffi
::c_void
, authdatacopy
: *mut *mut ::core
::ffi
::c_void
) -> ::windows_sys
::core
::HRESULT
;
473 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
474 pub fn SspiDecryptAuthIdentity(encryptedauthdata
: *mut ::core
::ffi
::c_void
) -> ::windows_sys
::core
::HRESULT
;
475 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
476 pub fn SspiDecryptAuthIdentityEx(options
: u32, encryptedauthdata
: *mut ::core
::ffi
::c_void
) -> ::windows_sys
::core
::HRESULT
;
477 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
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
;
479 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
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
;
481 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
482 pub fn SspiEncryptAuthIdentity(authdata
: *mut ::core
::ffi
::c_void
) -> ::windows_sys
::core
::HRESULT
;
483 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
484 pub fn SspiEncryptAuthIdentityEx(options
: u32, authdata
: *mut ::core
::ffi
::c_void
) -> ::windows_sys
::core
::HRESULT
;
485 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
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
;
487 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
488 pub fn SspiFreeAuthIdentity(authdata
: *const ::core
::ffi
::c_void
);
489 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
490 pub fn SspiGetTargetHostName(psztargetname
: ::windows_sys
::core
::PCWSTR
, pszhostname
: *mut ::windows_sys
::core
::PWSTR
) -> ::windows_sys
::core
::HRESULT
;
491 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
492 #[cfg(feature = "Win32_Foundation")]
493 pub fn SspiIsAuthIdentityEncrypted(encryptedauthdata
: *const ::core
::ffi
::c_void
) -> super::super::super::Foundation
::BOOLEAN
;
494 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
495 #[cfg(feature = "Win32_Foundation")]
496 pub fn SspiIsPromptingNeeded(errororntstatus
: u32) -> super::super::super::Foundation
::BOOLEAN
;
497 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
498 pub fn SspiLocalFree(databuffer
: *const ::core
::ffi
::c_void
);
499 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
500 pub fn SspiMarshalAuthIdentity(authidentity
: *const ::core
::ffi
::c_void
, authidentitylength
: *mut u32, authidentitybytearray
: *mut *mut i8) -> ::windows_sys
::core
::HRESULT
;
501 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
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
;
503 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
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
;
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\"`*"]
510 pub fn SspiUnmarshalAuthIdentity(authidentitylength
: u32, authidentitybytearray
: ::windows_sys
::core
::PCSTR
, ppauthidentity
: *mut *mut ::core
::ffi
::c_void
) -> ::windows_sys
::core
::HRESULT
;
511 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
512 pub fn SspiValidateAuthIdentity(authdata
: *const ::core
::ffi
::c_void
) -> ::windows_sys
::core
::HRESULT
;
513 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
514 pub fn SspiZeroAuthIdentity(authdata
: *const ::core
::ffi
::c_void
);
515 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
516 #[cfg(feature = "Win32_Foundation")]
517 pub fn SystemFunction036(randombuffer
: *mut ::core
::ffi
::c_void
, randombufferlength
: u32) -> super::super::super::Foundation
::BOOLEAN
;
518 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
519 #[cfg(feature = "Win32_Foundation")]
520 pub fn SystemFunction040(memory
: *mut ::core
::ffi
::c_void
, memorysize
: u32, optionflags
: u32) -> super::super::super::Foundation
::NTSTATUS
;
521 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
522 #[cfg(feature = "Win32_Foundation")]
523 pub fn SystemFunction041(memory
: *mut ::core
::ffi
::c_void
, memorysize
: u32, optionflags
: u32) -> super::super::super::Foundation
::NTSTATUS
;
524 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
525 pub fn TokenBindingDeleteAllBindings() -> ::windows_sys
::core
::HRESULT
;
526 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
527 pub fn TokenBindingDeleteBinding(targeturl
: ::windows_sys
::core
::PCWSTR
) -> ::windows_sys
::core
::HRESULT
;
528 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
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
;
530 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
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
;
532 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
533 pub fn TokenBindingGenerateIDForUri(keytype
: TOKENBINDING_KEY_PARAMETERS_TYPE
, targeturi
: ::windows_sys
::core
::PCWSTR
, resultdata
: *mut *mut TOKENBINDING_RESULT_DATA
) -> ::windows_sys
::core
::HRESULT
;
534 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
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
;
536 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
537 pub fn TokenBindingGetHighestSupportedVersion(majorversion
: *mut u8, minorversion
: *mut u8) -> ::windows_sys
::core
::HRESULT
;
538 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
539 pub fn TokenBindingGetKeyTypesClient(keytypes
: *mut *mut TOKENBINDING_KEY_TYPES
) -> ::windows_sys
::core
::HRESULT
;
540 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
541 pub fn TokenBindingGetKeyTypesServer(keytypes
: *mut *mut TOKENBINDING_KEY_TYPES
) -> ::windows_sys
::core
::HRESULT
;
542 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
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
;
544 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
545 #[cfg(feature = "Win32_Foundation")]
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\"`*"]
548 #[cfg(feature = "Win32_Foundation")]
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\"`*"]
551 #[cfg(feature = "Win32_Security_Credentials")]
552 pub fn VerifySignature(phcontext
: *const super::super::Credentials
::SecHandle
, pmessage
: *const SecBufferDesc
, messageseqno
: u32, pfqop
: *mut u32) -> ::windows_sys
::core
::HRESULT
;
554 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
555 pub type ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ
= u32;
556 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
557 pub const ASC_REQ_ALLOCATE_MEMORY
: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ
= 256u32;
558 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
559 pub const ASC_REQ_CONNECTION
: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ
= 2048u32;
560 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
561 pub const ASC_REQ_DELEGATE
: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ
= 1u32;
562 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
563 pub const ASC_REQ_EXTENDED_ERROR
: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ
= 32768u32;
564 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
565 pub const ASC_REQ_REPLAY_DETECT
: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ
= 4u32;
566 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
567 pub const ASC_REQ_SEQUENCE_DETECT
: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ
= 8u32;
568 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
569 pub const ASC_REQ_STREAM
: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ
= 65536u32;
570 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
571 #[cfg(feature = "Win32_Security_Credentials")]
572 pub type ACCEPT_SECURITY_CONTEXT_FN
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut super::super::Credentials
::SecHandle
, param1
: *mut super::super::Credentials
::SecHandle
, param2
: *mut SecBufferDesc
, param3
: u32, param4
: u32, param5
: *mut super::super::Credentials
::SecHandle
, param6
: *mut SecBufferDesc
, param7
: *mut u32, param8
: *mut i64) -> ::windows_sys
::core
::HRESULT
>;
573 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
574 pub const ACCOUNT_ADJUST_PRIVILEGES
: i32 = 2i32;
575 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
576 pub const ACCOUNT_ADJUST_QUOTAS
: i32 = 4i32;
577 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
578 pub const ACCOUNT_ADJUST_SYSTEM_ACCESS
: i32 = 8i32;
579 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
580 pub const ACCOUNT_VIEW
: i32 = 1i32;
581 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
582 #[cfg(feature = "Win32_Security_Credentials")]
583 pub type ACQUIRE_CREDENTIALS_HANDLE_FN_A
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut i8, param1
: *mut i8, param2
: u32, param3
: *mut ::core
::ffi
::c_void
, param4
: *mut ::core
::ffi
::c_void
, param5
: SEC_GET_KEY_FN
, param6
: *mut ::core
::ffi
::c_void
, param7
: *mut super::super::Credentials
::SecHandle
, param8
: *mut i64) -> ::windows_sys
::core
::HRESULT
>;
584 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
585 #[cfg(feature = "Win32_Security_Credentials")]
586 pub type ACQUIRE_CREDENTIALS_HANDLE_FN_W
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut u16, param1
: *mut u16, param2
: u32, param3
: *mut ::core
::ffi
::c_void
, param4
: *mut ::core
::ffi
::c_void
, param5
: SEC_GET_KEY_FN
, param6
: *mut ::core
::ffi
::c_void
, param7
: *mut super::super::Credentials
::SecHandle
, param8
: *mut i64) -> ::windows_sys
::core
::HRESULT
>;
587 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
588 #[cfg(feature = "Win32_Security_Credentials")]
589 pub type ADD_CREDENTIALS_FN_A
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut super::super::Credentials
::SecHandle
, param1
: *mut i8, param2
: *mut i8, param3
: u32, param4
: *mut ::core
::ffi
::c_void
, param5
: SEC_GET_KEY_FN
, param6
: *mut ::core
::ffi
::c_void
, param7
: *mut i64) -> ::windows_sys
::core
::HRESULT
>;
590 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
591 #[cfg(feature = "Win32_Security_Credentials")]
592 pub type ADD_CREDENTIALS_FN_W
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut super::super::Credentials
::SecHandle
, param1
: *mut u16, param2
: *mut u16, param3
: u32, param4
: *mut ::core
::ffi
::c_void
, param5
: SEC_GET_KEY_FN
, param6
: *mut ::core
::ffi
::c_void
, param7
: *mut i64) -> ::windows_sys
::core
::HRESULT
>;
593 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
594 #[cfg(feature = "Win32_Security_Credentials")]
595 pub type APPLY_CONTROL_TOKEN_FN
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut super::super::Credentials
::SecHandle
, param1
: *mut SecBufferDesc
) -> ::windows_sys
::core
::HRESULT
>;
596 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
597 pub const ASC_REQ_ALLOW_CONTEXT_REPLAY
: u32 = 4194304u32;
598 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
599 pub const ASC_REQ_ALLOW_MISSING_BINDINGS
: u32 = 268435456u32;
600 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
601 pub const ASC_REQ_ALLOW_NON_USER_LOGONS
: u32 = 2097152u32;
602 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
603 pub const ASC_REQ_ALLOW_NULL_SESSION
: u32 = 1048576u32;
604 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
605 pub const ASC_REQ_CALL_LEVEL
: u32 = 4096u32;
606 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
607 pub const ASC_REQ_CONFIDENTIALITY
: u32 = 16u32;
608 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
609 pub const ASC_REQ_DATAGRAM
: u32 = 1024u32;
610 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
611 pub const ASC_REQ_FRAGMENT_SUPPLIED
: u32 = 8192u32;
612 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
613 pub const ASC_REQ_FRAGMENT_TO_FIT
: u32 = 8388608u32;
614 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
615 pub const ASC_REQ_IDENTIFY
: u32 = 524288u32;
616 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
617 pub const ASC_REQ_INTEGRITY
: u32 = 131072u32;
618 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
619 pub const ASC_REQ_LICENSING
: u32 = 262144u32;
620 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
621 pub const ASC_REQ_MESSAGES
: u64 = 4294967296u64;
622 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
623 pub const ASC_REQ_MUTUAL_AUTH
: u32 = 2u32;
624 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
625 pub const ASC_REQ_NO_TOKEN
: u32 = 16777216u32;
626 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
627 pub const ASC_REQ_PROXY_BINDINGS
: u32 = 67108864u32;
628 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
629 pub const ASC_REQ_SESSION_TICKET
: u32 = 64u32;
630 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
631 pub const ASC_REQ_USE_DCE_STYLE
: u32 = 512u32;
632 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
633 pub const ASC_REQ_USE_SESSION_KEY
: u32 = 32u32;
634 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
635 pub const ASC_RET_ALLOCATED_MEMORY
: u32 = 256u32;
636 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
637 pub const ASC_RET_ALLOW_CONTEXT_REPLAY
: u32 = 4194304u32;
638 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
639 pub const ASC_RET_ALLOW_NON_USER_LOGONS
: u32 = 2097152u32;
640 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
641 pub const ASC_RET_CALL_LEVEL
: u32 = 8192u32;
642 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
643 pub const ASC_RET_CONFIDENTIALITY
: u32 = 16u32;
644 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
645 pub const ASC_RET_CONNECTION
: u32 = 2048u32;
646 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
647 pub const ASC_RET_DATAGRAM
: u32 = 1024u32;
648 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
649 pub const ASC_RET_DELEGATE
: u32 = 1u32;
650 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
651 pub const ASC_RET_EXTENDED_ERROR
: u32 = 32768u32;
652 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
653 pub const ASC_RET_FRAGMENT_ONLY
: u32 = 8388608u32;
654 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
655 pub const ASC_RET_IDENTIFY
: u32 = 524288u32;
656 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
657 pub const ASC_RET_INTEGRITY
: u32 = 131072u32;
658 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
659 pub const ASC_RET_LICENSING
: u32 = 262144u32;
660 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
661 pub const ASC_RET_MESSAGES
: u64 = 4294967296u64;
662 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
663 pub const ASC_RET_MUTUAL_AUTH
: u32 = 2u32;
664 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
665 pub const ASC_RET_NO_ADDITIONAL_TOKEN
: u32 = 33554432u32;
666 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
667 pub const ASC_RET_NO_TOKEN
: u32 = 16777216u32;
668 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
669 pub const ASC_RET_NULL_SESSION
: u32 = 1048576u32;
670 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
671 pub const ASC_RET_REPLAY_DETECT
: u32 = 4u32;
672 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
673 pub const ASC_RET_SEQUENCE_DETECT
: u32 = 8u32;
674 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
675 pub const ASC_RET_SESSION_TICKET
: u32 = 64u32;
676 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
677 pub const ASC_RET_STREAM
: u32 = 65536u32;
678 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
679 pub const ASC_RET_THIRD_LEG_FAILED
: u32 = 16384u32;
680 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
681 pub const ASC_RET_USED_DCE_STYLE
: u32 = 512u32;
682 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
683 pub const ASC_RET_USE_SESSION_KEY
: u32 = 32u32;
684 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
685 pub const AUDIT_ENUMERATE_USERS
: u32 = 16u32;
687 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
688 pub struct AUDIT_POLICY_INFORMATION
{
689 pub AuditSubCategoryGuid
: ::windows_sys
::core
::GUID
,
690 pub AuditingInformation
: u32,
691 pub AuditCategoryGuid
: ::windows_sys
::core
::GUID
,
693 impl ::core
::marker
::Copy
for AUDIT_POLICY_INFORMATION {}
694 impl ::core
::clone
::Clone
for AUDIT_POLICY_INFORMATION
{
695 fn clone(&self) -> Self {
699 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
700 pub const AUDIT_QUERY_MISC_POLICY
: u32 = 64u32;
701 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
702 pub const AUDIT_QUERY_SYSTEM_POLICY
: u32 = 2u32;
703 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
704 pub const AUDIT_QUERY_USER_POLICY
: u32 = 8u32;
705 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
706 pub const AUDIT_SET_MISC_POLICY
: u32 = 32u32;
707 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
708 pub const AUDIT_SET_SYSTEM_POLICY
: u32 = 1u32;
709 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
710 pub const AUDIT_SET_USER_POLICY
: u32 = 4u32;
711 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
712 pub const AUTH_REQ_ALLOW_ENC_TKT_IN_SKEY
: u32 = 32u32;
713 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
714 pub const AUTH_REQ_ALLOW_FORWARDABLE
: u32 = 1u32;
715 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
716 pub const AUTH_REQ_ALLOW_NOADDRESS
: u32 = 16u32;
717 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
718 pub const AUTH_REQ_ALLOW_POSTDATE
: u32 = 4u32;
719 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
720 pub const AUTH_REQ_ALLOW_PROXIABLE
: u32 = 2u32;
721 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
722 pub const AUTH_REQ_ALLOW_RENEWABLE
: u32 = 8u32;
723 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
724 pub const AUTH_REQ_ALLOW_S4U_DELEGATE
: u32 = 2048u32;
725 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
726 pub const AUTH_REQ_ALLOW_VALIDATE
: u32 = 64u32;
727 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
728 pub const AUTH_REQ_OK_AS_DELEGATE
: u32 = 256u32;
729 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
730 pub const AUTH_REQ_PREAUTH_REQUIRED
: u32 = 512u32;
731 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
732 pub const AUTH_REQ_TRANSITIVE_TRUST
: u32 = 1024u32;
733 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
734 pub const AUTH_REQ_VALIDATE_CLIENT
: u32 = 128u32;
735 pub const Audit_AccountLogon
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 1771542608, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
736 pub const Audit_AccountLogon_CredentialValidation
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864447, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
737 pub const Audit_AccountLogon_KerbCredentialValidation
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864450, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
738 pub const Audit_AccountLogon_Kerberos
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864448, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
739 pub const Audit_AccountLogon_Others
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864449, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
740 pub const Audit_AccountManagement
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 1771542606, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
741 pub const Audit_AccountManagement_ApplicationGroup
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864441, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
742 pub const Audit_AccountManagement_ComputerAccount
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864438, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
743 pub const Audit_AccountManagement_DistributionGroup
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864440, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
744 pub const Audit_AccountManagement_Others
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864442, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
745 pub const Audit_AccountManagement_SecurityGroup
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864439, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
746 pub const Audit_AccountManagement_UserAccount
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864437, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
747 pub const Audit_DSAccess_DSAccess
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864443, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
748 pub const Audit_DetailedTracking
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 1771542604, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
749 pub const Audit_DetailedTracking_DpapiActivity
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864429, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
750 pub const Audit_DetailedTracking_PnpActivity
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864456, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
751 pub const Audit_DetailedTracking_ProcessCreation
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864427, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
752 pub const Audit_DetailedTracking_ProcessTermination
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864428, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
753 pub const Audit_DetailedTracking_RpcCall
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864430, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
754 pub const Audit_DetailedTracking_TokenRightAdjusted
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864458, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
755 pub const Audit_DirectoryServiceAccess
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 1771542607, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
756 pub const Audit_DsAccess_AdAuditChanges
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864444, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
757 pub const Audit_Ds_DetailedReplication
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864446, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
758 pub const Audit_Ds_Replication
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864445, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
759 pub const Audit_Logon
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 1771542601, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
760 pub const Audit_Logon_AccountLockout
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864407, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
761 pub const Audit_Logon_Claims
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864455, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
762 pub const Audit_Logon_Groups
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864457, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
763 pub const Audit_Logon_IPSecMainMode
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864408, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
764 pub const Audit_Logon_IPSecQuickMode
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864409, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
765 pub const Audit_Logon_IPSecUserMode
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864410, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
766 pub const Audit_Logon_Logoff
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864406, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
767 pub const Audit_Logon_Logon
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864405, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
768 pub const Audit_Logon_NPS
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864451, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
769 pub const Audit_Logon_Others
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864412, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
770 pub const Audit_Logon_SpecialLogon
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864411, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
771 pub const Audit_ObjectAccess
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 1771542602, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
772 pub const Audit_ObjectAccess_ApplicationGenerated
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864418, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
773 pub const Audit_ObjectAccess_CbacStaging
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864454, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
774 pub const Audit_ObjectAccess_CertificationServices
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864417, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
775 pub const Audit_ObjectAccess_DetailedFileShare
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864452, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
776 pub const Audit_ObjectAccess_FileSystem
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864413, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
777 pub const Audit_ObjectAccess_FirewallConnection
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864422, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
778 pub const Audit_ObjectAccess_FirewallPacketDrops
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864421, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
779 pub const Audit_ObjectAccess_Handle
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864419, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
780 pub const Audit_ObjectAccess_Kernel
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864415, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
781 pub const Audit_ObjectAccess_Other
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864423, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
782 pub const Audit_ObjectAccess_Registry
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864414, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
783 pub const Audit_ObjectAccess_RemovableStorage
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864453, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
784 pub const Audit_ObjectAccess_Sam
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864416, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
785 pub const Audit_ObjectAccess_Share
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864420, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
786 pub const Audit_PolicyChange
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 1771542605, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
787 pub const Audit_PolicyChange_AuditPolicy
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864431, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
788 pub const Audit_PolicyChange_AuthenticationPolicy
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864432, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
789 pub const Audit_PolicyChange_AuthorizationPolicy
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864433, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
790 pub const Audit_PolicyChange_MpsscvRulePolicy
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864434, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
791 pub const Audit_PolicyChange_Others
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864436, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
792 pub const Audit_PolicyChange_WfpIPSecPolicy
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864435, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
793 pub const Audit_PrivilegeUse
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 1771542603, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
794 pub const Audit_PrivilegeUse_NonSensitive
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864425, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
795 pub const Audit_PrivilegeUse_Others
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864426, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
796 pub const Audit_PrivilegeUse_Sensitive
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864424, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
797 pub const Audit_System
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 1771542600, data2: 31098, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
798 pub const Audit_System_IPSecDriverEvents
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864403, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
799 pub const Audit_System_Integrity
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864402, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
800 pub const Audit_System_Others
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864404, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
801 pub const Audit_System_SecurityStateChange
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864400, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
802 pub const Audit_System_SecuritySubsystemExtension
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 214864401, data2: 27054, data3: 4569, data4: [190, 211, 80, 80, 84, 80, 48, 48] }
;
804 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
805 #[cfg(feature = "Win32_Foundation")]
806 pub struct CENTRAL_ACCESS_POLICY
{
807 pub CAPID
: super::super::super::Foundation
::PSID
,
808 pub Name
: super::super::super::Foundation
::UNICODE_STRING
,
809 pub Description
: super::super::super::Foundation
::UNICODE_STRING
,
810 pub ChangeId
: super::super::super::Foundation
::UNICODE_STRING
,
813 pub CAPEs
: *mut *mut CENTRAL_ACCESS_POLICY_ENTRY
,
815 #[cfg(feature = "Win32_Foundation")]
816 impl ::core
::marker
::Copy
for CENTRAL_ACCESS_POLICY {}
817 #[cfg(feature = "Win32_Foundation")]
818 impl ::core
::clone
::Clone
for CENTRAL_ACCESS_POLICY
{
819 fn clone(&self) -> Self {
824 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
825 #[cfg(feature = "Win32_Foundation")]
826 pub struct CENTRAL_ACCESS_POLICY_ENTRY
{
827 pub Name
: super::super::super::Foundation
::UNICODE_STRING
,
828 pub Description
: super::super::super::Foundation
::UNICODE_STRING
,
829 pub ChangeId
: super::super::super::Foundation
::UNICODE_STRING
,
830 pub LengthAppliesTo
: u32,
831 pub AppliesTo
: *mut u8,
833 pub SD
: super::super::PSECURITY_DESCRIPTOR
,
834 pub LengthStagedSD
: u32,
835 pub StagedSD
: super::super::PSECURITY_DESCRIPTOR
,
838 #[cfg(feature = "Win32_Foundation")]
839 impl ::core
::marker
::Copy
for CENTRAL_ACCESS_POLICY_ENTRY {}
840 #[cfg(feature = "Win32_Foundation")]
841 impl ::core
::clone
::Clone
for CENTRAL_ACCESS_POLICY_ENTRY
{
842 fn clone(&self) -> Self {
846 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
847 pub const CENTRAL_ACCESS_POLICY_OWNER_RIGHTS_PRESENT_FLAG
: u32 = 1u32;
848 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
849 pub const CENTRAL_ACCESS_POLICY_STAGED_FLAG
: u32 = 65536u32;
850 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
851 pub const CENTRAL_ACCESS_POLICY_STAGED_OWNER_RIGHTS_PRESENT_FLAG
: u32 = 256u32;
852 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
853 #[cfg(feature = "Win32_Foundation")]
854 pub type CHANGE_PASSWORD_FN_A
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut i8, param1
: *mut i8, param2
: *mut i8, param3
: *mut i8, param4
: *mut i8, param5
: super::super::super::Foundation
::BOOLEAN
, param6
: u32, param7
: *mut SecBufferDesc
) -> ::windows_sys
::core
::HRESULT
>;
855 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
856 #[cfg(feature = "Win32_Foundation")]
857 pub type CHANGE_PASSWORD_FN_W
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut u16, param1
: *mut u16, param2
: *mut u16, param3
: *mut u16, param4
: *mut u16, param5
: super::super::super::Foundation
::BOOLEAN
, param6
: u32, param7
: *mut SecBufferDesc
) -> ::windows_sys
::core
::HRESULT
>;
859 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
860 #[cfg(feature = "Win32_Foundation")]
861 pub struct CLEAR_BLOCK
{
862 pub data
: [super::super::super::Foundation
::CHAR
; 8],
864 #[cfg(feature = "Win32_Foundation")]
865 impl ::core
::marker
::Copy
for CLEAR_BLOCK {}
866 #[cfg(feature = "Win32_Foundation")]
867 impl ::core
::clone
::Clone
for CLEAR_BLOCK
{
868 fn clone(&self) -> Self {
872 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
873 pub const CLEAR_BLOCK_LENGTH
: u32 = 8u32;
874 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
875 pub const CLOUDAP_NAME
: &str = "CloudAP";
876 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
877 pub const CLOUDAP_NAME_W
: &str = "CloudAP";
878 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
879 #[cfg(feature = "Win32_Security_Credentials")]
880 pub type COMPLETE_AUTH_TOKEN_FN
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut super::super::Credentials
::SecHandle
, param1
: *mut SecBufferDesc
) -> ::windows_sys
::core
::HRESULT
>;
881 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
882 pub const CREDP_FLAGS_CLEAR_PASSWORD
: u32 = 8u32;
883 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
884 pub const CREDP_FLAGS_DONT_CACHE_TI
: u32 = 4u32;
885 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
886 pub const CREDP_FLAGS_IN_PROCESS
: u32 = 1u32;
887 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
888 pub const CREDP_FLAGS_TRUSTED_CALLER
: u32 = 32u32;
889 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
890 pub const CREDP_FLAGS_USER_ENCRYPTED_PASSWORD
: u32 = 16u32;
891 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
892 pub const CREDP_FLAGS_USE_MIDL_HEAP
: u32 = 2u32;
893 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
894 pub const CREDP_FLAGS_VALIDATE_PROXY_TARGET
: u32 = 64u32;
895 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
896 pub type CRED_FETCH
= i32;
897 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
898 pub const CredFetchDefault
: CRED_FETCH
= 0i32;
899 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
900 pub const CredFetchDPAPI
: CRED_FETCH
= 1i32;
901 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
902 pub const CredFetchForced
: CRED_FETCH
= 2i32;
903 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
904 pub const CRED_MARSHALED_TI_SIZE_SIZE
: u32 = 12u32;
905 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
906 pub const CYPHER_BLOCK_LENGTH
: u32 = 8u32;
907 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
908 pub const ClOUDAP_NAME_A
: &str = "CloudAP";
909 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
910 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
911 pub type CredFreeCredentialsFn
= ::core
::option
::Option
<unsafe extern "system" fn(count
: u32, credentials
: *mut *mut ENCRYPTED_CREDENTIALW
)>;
912 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
913 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
914 pub type CredReadDomainCredentialsFn
= ::core
::option
::Option
<unsafe extern "system" fn(logonid
: *const super::super::super::Foundation
::LUID
, credflags
: u32, targetinfo
: *const super::super::Credentials
::CREDENTIAL_TARGET_INFORMATIONW
, flags
: u32, count
: *mut u32, credential
: *mut *mut *mut ENCRYPTED_CREDENTIALW
) -> super::super::super::Foundation
::NTSTATUS
>;
915 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
916 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
917 pub type CredReadFn
= ::core
::option
::Option
<unsafe extern "system" fn(logonid
: *const super::super::super::Foundation
::LUID
, credflags
: u32, targetname
: ::windows_sys
::core
::PCWSTR
, r
#type: u32, flags: u32, credential: *mut *mut ENCRYPTED_CREDENTIALW) -> super::super::super::Foundation::NTSTATUS>;
918 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
919 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
920 pub type CredWriteFn
= ::core
::option
::Option
<unsafe extern "system" fn(logonid
: *const super::super::super::Foundation
::LUID
, credflags
: u32, credential
: *const ENCRYPTED_CREDENTIALW
, flags
: u32) -> super::super::super::Foundation
::NTSTATUS
>;
921 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
922 #[cfg(feature = "Win32_Foundation")]
923 pub type CrediUnmarshalandDecodeStringFn
= ::core
::option
::Option
<unsafe extern "system" fn(marshaledstring
: ::windows_sys
::core
::PCWSTR
, blob
: *mut *mut u8, blobsize
: *mut u32, isfailurefatal
: *mut u8) -> super::super::super::Foundation
::NTSTATUS
>;
924 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
925 #[cfg(feature = "Win32_Security_Credentials")]
926 pub type DECRYPT_MESSAGE_FN
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut super::super::Credentials
::SecHandle
, param1
: *mut SecBufferDesc
, param2
: u32, param3
: *mut u32) -> ::windows_sys
::core
::HRESULT
>;
927 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
928 pub const DEFAULT_TLS_SSP_NAME
: &str = "Default TLS SSP";
929 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
930 pub const DEFAULT_TLS_SSP_NAME_A
: &str = "Default TLS SSP";
931 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
932 pub const DEFAULT_TLS_SSP_NAME_W
: &str = "Default TLS SSP";
933 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
934 #[cfg(feature = "Win32_Security_Credentials")]
935 pub type DELETE_SECURITY_CONTEXT_FN
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut super::super::Credentials
::SecHandle
) -> ::windows_sys
::core
::HRESULT
>;
936 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
937 pub const DOMAIN_NO_LM_OWF_CHANGE
: i32 = 64i32;
939 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
940 pub struct DOMAIN_PASSWORD_INFORMATION
{
941 pub MinPasswordLength
: u16,
942 pub PasswordHistoryLength
: u16,
943 pub PasswordProperties
: DOMAIN_PASSWORD_PROPERTIES
,
944 pub MaxPasswordAge
: i64,
945 pub MinPasswordAge
: i64,
947 impl ::core
::marker
::Copy
for DOMAIN_PASSWORD_INFORMATION {}
948 impl ::core
::clone
::Clone
for DOMAIN_PASSWORD_INFORMATION
{
949 fn clone(&self) -> Self {
953 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
954 pub type DOMAIN_PASSWORD_PROPERTIES
= u32;
955 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
956 pub const DOMAIN_PASSWORD_COMPLEX
: DOMAIN_PASSWORD_PROPERTIES
= 1u32;
957 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
958 pub const DOMAIN_PASSWORD_NO_ANON_CHANGE
: DOMAIN_PASSWORD_PROPERTIES
= 2u32;
959 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
960 pub const DOMAIN_PASSWORD_NO_CLEAR_CHANGE
: DOMAIN_PASSWORD_PROPERTIES
= 4u32;
961 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
962 pub const DOMAIN_LOCKOUT_ADMINS
: DOMAIN_PASSWORD_PROPERTIES
= 8u32;
963 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
964 pub const DOMAIN_PASSWORD_STORE_CLEARTEXT
: DOMAIN_PASSWORD_PROPERTIES
= 16u32;
965 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
966 pub const DOMAIN_REFUSE_PASSWORD_CHANGE
: DOMAIN_PASSWORD_PROPERTIES
= 32u32;
967 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
968 pub const DS_UNKNOWN_ADDRESS_TYPE
: u32 = 0u32;
969 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
970 pub const ENABLE_TLS_CLIENT_EARLY_START
: u32 = 1u32;
972 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
973 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
974 pub struct ENCRYPTED_CREDENTIALW
{
975 pub Cred
: super::super::Credentials
::CREDENTIALW
,
976 pub ClearCredentialBlobSize
: u32,
978 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
979 impl ::core
::marker
::Copy
for ENCRYPTED_CREDENTIALW {}
980 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
981 impl ::core
::clone
::Clone
for ENCRYPTED_CREDENTIALW
{
982 fn clone(&self) -> Self {
986 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
987 #[cfg(feature = "Win32_Security_Credentials")]
988 pub type ENCRYPT_MESSAGE_FN
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut super::super::Credentials
::SecHandle
, param1
: u32, param2
: *mut SecBufferDesc
, param3
: u32) -> ::windows_sys
::core
::HRESULT
>;
989 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
990 pub type ENUMERATE_SECURITY_PACKAGES_FN_A
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut u32, param1
: *mut *mut SecPkgInfoA
) -> ::windows_sys
::core
::HRESULT
>;
991 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
992 pub type ENUMERATE_SECURITY_PACKAGES_FN_W
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut u32, param1
: *mut *mut SecPkgInfoW
) -> ::windows_sys
::core
::HRESULT
>;
993 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
994 pub type EXPORT_SECURITY_CONTEXT_FLAGS
= u32;
995 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
996 pub const SECPKG_CONTEXT_EXPORT_RESET_NEW
: EXPORT_SECURITY_CONTEXT_FLAGS
= 1u32;
997 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
998 pub const SECPKG_CONTEXT_EXPORT_DELETE_OLD
: EXPORT_SECURITY_CONTEXT_FLAGS
= 2u32;
999 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1000 pub const SECPKG_CONTEXT_EXPORT_TO_KERNEL
: EXPORT_SECURITY_CONTEXT_FLAGS
= 4u32;
1001 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
1002 #[cfg(feature = "Win32_Security_Credentials")]
1003 pub type EXPORT_SECURITY_CONTEXT_FN
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut super::super::Credentials
::SecHandle
, param1
: u32, param2
: *mut SecBuffer
, param3
: *mut *mut ::core
::ffi
::c_void
) -> ::windows_sys
::core
::HRESULT
>;
1004 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1005 pub type EXTENDED_NAME_FORMAT
= i32;
1006 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1007 pub const NameUnknown
: EXTENDED_NAME_FORMAT
= 0i32;
1008 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1009 pub const NameFullyQualifiedDN
: EXTENDED_NAME_FORMAT
= 1i32;
1010 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1011 pub const NameSamCompatible
: EXTENDED_NAME_FORMAT
= 2i32;
1012 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1013 pub const NameDisplay
: EXTENDED_NAME_FORMAT
= 3i32;
1014 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1015 pub const NameUniqueId
: EXTENDED_NAME_FORMAT
= 6i32;
1016 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1017 pub const NameCanonical
: EXTENDED_NAME_FORMAT
= 7i32;
1018 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1019 pub const NameUserPrincipal
: EXTENDED_NAME_FORMAT
= 8i32;
1020 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1021 pub const NameCanonicalEx
: EXTENDED_NAME_FORMAT
= 9i32;
1022 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1023 pub const NameServicePrincipal
: EXTENDED_NAME_FORMAT
= 10i32;
1024 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1025 pub const NameDnsDomain
: EXTENDED_NAME_FORMAT
= 12i32;
1026 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1027 pub const NameGivenName
: EXTENDED_NAME_FORMAT
= 13i32;
1028 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1029 pub const NameSurname
: EXTENDED_NAME_FORMAT
= 14i32;
1030 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1031 pub const E_RM_UNKNOWN_ERROR
: ::windows_sys
::core
::HRESULT
= -1073415165i32;
1032 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1033 pub const FACILITY_SL_ITF
: u32 = 4u32;
1034 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1035 pub type FREE_CONTEXT_BUFFER_FN
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut ::core
::ffi
::c_void
) -> ::windows_sys
::core
::HRESULT
>;
1036 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
1037 #[cfg(feature = "Win32_Security_Credentials")]
1038 pub type FREE_CREDENTIALS_HANDLE_FN
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut super::super::Credentials
::SecHandle
) -> ::windows_sys
::core
::HRESULT
>;
1039 pub type ICcgDomainAuthCredentials
= *mut ::core
::ffi
::c_void
;
1040 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1041 pub const ID_CAP_SLAPI
: &str = "slapiQueryLicenseValue";
1042 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
1043 #[cfg(feature = "Win32_Security_Credentials")]
1044 pub type IMPERSONATE_SECURITY_CONTEXT_FN
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut super::super::Credentials
::SecHandle
) -> ::windows_sys
::core
::HRESULT
>;
1045 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
1046 #[cfg(feature = "Win32_Security_Credentials")]
1047 pub type IMPORT_SECURITY_CONTEXT_FN_A
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut i8, param1
: *mut SecBuffer
, param2
: *mut ::core
::ffi
::c_void
, param3
: *mut super::super::Credentials
::SecHandle
) -> ::windows_sys
::core
::HRESULT
>;
1048 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
1049 #[cfg(feature = "Win32_Security_Credentials")]
1050 pub type IMPORT_SECURITY_CONTEXT_FN_W
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut u16, param1
: *mut SecBuffer
, param2
: *mut ::core
::ffi
::c_void
, param3
: *mut super::super::Credentials
::SecHandle
) -> ::windows_sys
::core
::HRESULT
>;
1051 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
1052 #[cfg(feature = "Win32_Security_Credentials")]
1053 pub type INITIALIZE_SECURITY_CONTEXT_FN_A
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut super::super::Credentials
::SecHandle
, param1
: *mut super::super::Credentials
::SecHandle
, param2
: *mut i8, param3
: u32, param4
: u32, param5
: u32, param6
: *mut SecBufferDesc
, param7
: u32, param8
: *mut super::super::Credentials
::SecHandle
, param9
: *mut SecBufferDesc
, param10
: *mut u32, param11
: *mut i64) -> ::windows_sys
::core
::HRESULT
>;
1054 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
1055 #[cfg(feature = "Win32_Security_Credentials")]
1056 pub type INITIALIZE_SECURITY_CONTEXT_FN_W
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut super::super::Credentials
::SecHandle
, param1
: *mut super::super::Credentials
::SecHandle
, param2
: *mut u16, param3
: u32, param4
: u32, param5
: u32, param6
: *mut SecBufferDesc
, param7
: u32, param8
: *mut super::super::Credentials
::SecHandle
, param9
: *mut SecBufferDesc
, param10
: *mut u32, param11
: *mut i64) -> ::windows_sys
::core
::HRESULT
>;
1057 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
1058 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
1059 pub type INIT_SECURITY_INTERFACE_A
= ::core
::option
::Option
<unsafe extern "system" fn() -> *mut SecurityFunctionTableA
>;
1060 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
1061 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
1062 pub type INIT_SECURITY_INTERFACE_W
= ::core
::option
::Option
<unsafe extern "system" fn() -> *mut SecurityFunctionTableW
>;
1063 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1064 pub const ISC_REQ_ALLOCATE_MEMORY
: u32 = 256u32;
1065 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1066 pub const ISC_REQ_CALL_LEVEL
: u32 = 4096u32;
1067 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1068 pub const ISC_REQ_CONFIDENTIALITY
: u32 = 16u32;
1069 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1070 pub const ISC_REQ_CONFIDENTIALITY_ONLY
: u32 = 1073741824u32;
1071 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1072 pub const ISC_REQ_CONNECTION
: u32 = 2048u32;
1073 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1074 pub const ISC_REQ_DATAGRAM
: u32 = 1024u32;
1075 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1076 pub const ISC_REQ_DEFERRED_CRED_VALIDATION
: u64 = 8589934592u64;
1077 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1078 pub const ISC_REQ_DELEGATE
: u32 = 1u32;
1079 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1080 pub const ISC_REQ_EXTENDED_ERROR
: u32 = 16384u32;
1081 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1082 pub const ISC_REQ_FORWARD_CREDENTIALS
: u32 = 4194304u32;
1083 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1084 pub const ISC_REQ_FRAGMENT_SUPPLIED
: u32 = 8192u32;
1085 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1086 pub const ISC_REQ_FRAGMENT_TO_FIT
: u32 = 2097152u32;
1087 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1088 pub const ISC_REQ_IDENTIFY
: u32 = 131072u32;
1089 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1090 pub const ISC_REQ_INTEGRITY
: u32 = 65536u32;
1091 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1092 pub const ISC_REQ_MANUAL_CRED_VALIDATION
: u32 = 524288u32;
1093 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1094 pub const ISC_REQ_MESSAGES
: u64 = 4294967296u64;
1095 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1096 pub const ISC_REQ_MUTUAL_AUTH
: u32 = 2u32;
1097 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1098 pub const ISC_REQ_NO_INTEGRITY
: u32 = 8388608u32;
1099 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1100 pub const ISC_REQ_NULL_SESSION
: u32 = 262144u32;
1101 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1102 pub const ISC_REQ_PROMPT_FOR_CREDS
: u32 = 64u32;
1103 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1104 pub const ISC_REQ_REPLAY_DETECT
: u32 = 4u32;
1105 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1106 pub const ISC_REQ_RESERVED1
: u32 = 1048576u32;
1107 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1108 pub const ISC_REQ_SEQUENCE_DETECT
: u32 = 8u32;
1109 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1110 pub const ISC_REQ_STREAM
: u32 = 32768u32;
1111 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1112 pub const ISC_REQ_UNVERIFIED_TARGET_NAME
: u32 = 536870912u32;
1113 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1114 pub const ISC_REQ_USE_DCE_STYLE
: u32 = 512u32;
1115 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1116 pub const ISC_REQ_USE_HTTP_STYLE
: u32 = 16777216u32;
1117 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1118 pub const ISC_REQ_USE_SESSION_KEY
: u32 = 32u32;
1119 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1120 pub const ISC_REQ_USE_SUPPLIED_CREDS
: u32 = 128u32;
1121 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1122 pub const ISC_RET_ALLOCATED_MEMORY
: u32 = 256u32;
1123 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1124 pub const ISC_RET_CALL_LEVEL
: u32 = 8192u32;
1125 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1126 pub const ISC_RET_CONFIDENTIALITY
: u32 = 16u32;
1127 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1128 pub const ISC_RET_CONFIDENTIALITY_ONLY
: u32 = 1073741824u32;
1129 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1130 pub const ISC_RET_CONNECTION
: u32 = 2048u32;
1131 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1132 pub const ISC_RET_DATAGRAM
: u32 = 1024u32;
1133 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1134 pub const ISC_RET_DEFERRED_CRED_VALIDATION
: u64 = 8589934592u64;
1135 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1136 pub const ISC_RET_DELEGATE
: u32 = 1u32;
1137 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1138 pub const ISC_RET_EXTENDED_ERROR
: u32 = 16384u32;
1139 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1140 pub const ISC_RET_FORWARD_CREDENTIALS
: u32 = 4194304u32;
1141 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1142 pub const ISC_RET_FRAGMENT_ONLY
: u32 = 2097152u32;
1143 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1144 pub const ISC_RET_IDENTIFY
: u32 = 131072u32;
1145 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1146 pub const ISC_RET_INTEGRITY
: u32 = 65536u32;
1147 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1148 pub const ISC_RET_INTERMEDIATE_RETURN
: u32 = 4096u32;
1149 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1150 pub const ISC_RET_MANUAL_CRED_VALIDATION
: u32 = 524288u32;
1151 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1152 pub const ISC_RET_MESSAGES
: u64 = 4294967296u64;
1153 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1154 pub const ISC_RET_MUTUAL_AUTH
: u32 = 2u32;
1155 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1156 pub const ISC_RET_NO_ADDITIONAL_TOKEN
: u32 = 33554432u32;
1157 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1158 pub const ISC_RET_NULL_SESSION
: u32 = 262144u32;
1159 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1160 pub const ISC_RET_REAUTHENTICATION
: u32 = 134217728u32;
1161 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1162 pub const ISC_RET_REPLAY_DETECT
: u32 = 4u32;
1163 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1164 pub const ISC_RET_RESERVED1
: u32 = 1048576u32;
1165 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1166 pub const ISC_RET_SEQUENCE_DETECT
: u32 = 8u32;
1167 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1168 pub const ISC_RET_STREAM
: u32 = 32768u32;
1169 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1170 pub const ISC_RET_USED_COLLECTED_CREDS
: u32 = 64u32;
1171 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1172 pub const ISC_RET_USED_DCE_STYLE
: u32 = 512u32;
1173 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1174 pub const ISC_RET_USED_HTTP_STYLE
: u32 = 16777216u32;
1175 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1176 pub const ISC_RET_USED_SUPPLIED_CREDS
: u32 = 128u32;
1177 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1178 pub const ISC_RET_USE_SESSION_KEY
: u32 = 32u32;
1179 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1180 pub const ISSP_LEVEL
: u32 = 32u32;
1181 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1182 pub const ISSP_MODE
: u32 = 1u32;
1184 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
1185 #[cfg(feature = "Win32_Foundation")]
1186 pub struct KDC_PROXY_CACHE_ENTRY_DATA
{
1187 pub SinceLastUsed
: u64,
1188 pub DomainName
: super::super::super::Foundation
::UNICODE_STRING
,
1189 pub ProxyServerName
: super::super::super::Foundation
::UNICODE_STRING
,
1190 pub ProxyServerVdir
: super::super::super::Foundation
::UNICODE_STRING
,
1191 pub ProxyServerPort
: u16,
1192 pub LogonId
: super::super::super::Foundation
::LUID
,
1193 pub CredUserName
: super::super::super::Foundation
::UNICODE_STRING
,
1194 pub CredDomainName
: super::super::super::Foundation
::UNICODE_STRING
,
1195 pub GlobalCache
: super::super::super::Foundation
::BOOLEAN
,
1197 #[cfg(feature = "Win32_Foundation")]
1198 impl ::core
::marker
::Copy
for KDC_PROXY_CACHE_ENTRY_DATA {}
1199 #[cfg(feature = "Win32_Foundation")]
1200 impl ::core
::clone
::Clone
for KDC_PROXY_CACHE_ENTRY_DATA
{
1201 fn clone(&self) -> Self {
1205 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1206 pub const KDC_PROXY_SETTINGS_FLAGS_FORCEPROXY
: u32 = 1u32;
1207 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1208 pub const KDC_PROXY_SETTINGS_V1
: u32 = 1u32;
1209 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1210 pub const KERBEROS_REVISION
: u32 = 6u32;
1211 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1212 pub const KERBEROS_VERSION
: u32 = 5u32;
1213 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1214 pub type KERB_ADDRESS_TYPE
= u32;
1215 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1216 pub const DS_INET_ADDRESS
: KERB_ADDRESS_TYPE
= 1u32;
1217 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1218 pub const DS_NETBIOS_ADDRESS
: KERB_ADDRESS_TYPE
= 2u32;
1220 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
1221 #[cfg(feature = "Win32_Foundation")]
1222 pub struct KERB_ADD_BINDING_CACHE_ENTRY_EX_REQUEST
{
1223 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
1224 pub RealmName
: super::super::super::Foundation
::UNICODE_STRING
,
1225 pub KdcAddress
: super::super::super::Foundation
::UNICODE_STRING
,
1226 pub AddressType
: KERB_ADDRESS_TYPE
,
1229 #[cfg(feature = "Win32_Foundation")]
1230 impl ::core
::marker
::Copy
for KERB_ADD_BINDING_CACHE_ENTRY_EX_REQUEST {}
1231 #[cfg(feature = "Win32_Foundation")]
1232 impl ::core
::clone
::Clone
for KERB_ADD_BINDING_CACHE_ENTRY_EX_REQUEST
{
1233 fn clone(&self) -> Self {
1238 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
1239 #[cfg(feature = "Win32_Foundation")]
1240 pub struct KERB_ADD_BINDING_CACHE_ENTRY_REQUEST
{
1241 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
1242 pub RealmName
: super::super::super::Foundation
::UNICODE_STRING
,
1243 pub KdcAddress
: super::super::super::Foundation
::UNICODE_STRING
,
1244 pub AddressType
: KERB_ADDRESS_TYPE
,
1246 #[cfg(feature = "Win32_Foundation")]
1247 impl ::core
::marker
::Copy
for KERB_ADD_BINDING_CACHE_ENTRY_REQUEST {}
1248 #[cfg(feature = "Win32_Foundation")]
1249 impl ::core
::clone
::Clone
for KERB_ADD_BINDING_CACHE_ENTRY_REQUEST
{
1250 fn clone(&self) -> Self {
1255 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
1256 #[cfg(feature = "Win32_Foundation")]
1257 pub struct KERB_ADD_CREDENTIALS_REQUEST
{
1258 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
1259 pub UserName
: super::super::super::Foundation
::UNICODE_STRING
,
1260 pub DomainName
: super::super::super::Foundation
::UNICODE_STRING
,
1261 pub Password
: super::super::super::Foundation
::UNICODE_STRING
,
1262 pub LogonId
: super::super::super::Foundation
::LUID
,
1263 pub Flags
: KERB_REQUEST_FLAGS
,
1265 #[cfg(feature = "Win32_Foundation")]
1266 impl ::core
::marker
::Copy
for KERB_ADD_CREDENTIALS_REQUEST {}
1267 #[cfg(feature = "Win32_Foundation")]
1268 impl ::core
::clone
::Clone
for KERB_ADD_CREDENTIALS_REQUEST
{
1269 fn clone(&self) -> Self {
1274 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
1275 #[cfg(feature = "Win32_Foundation")]
1276 pub struct KERB_ADD_CREDENTIALS_REQUEST_EX
{
1277 pub Credentials
: KERB_ADD_CREDENTIALS_REQUEST
,
1278 pub PrincipalNameCount
: u32,
1279 pub PrincipalNames
: [super::super::super::Foundation
::UNICODE_STRING
; 1],
1281 #[cfg(feature = "Win32_Foundation")]
1282 impl ::core
::marker
::Copy
for KERB_ADD_CREDENTIALS_REQUEST_EX {}
1283 #[cfg(feature = "Win32_Foundation")]
1284 impl ::core
::clone
::Clone
for KERB_ADD_CREDENTIALS_REQUEST_EX
{
1285 fn clone(&self) -> Self {
1290 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1291 pub struct KERB_AUTH_DATA
{
1296 impl ::core
::marker
::Copy
for KERB_AUTH_DATA {}
1297 impl ::core
::clone
::Clone
for KERB_AUTH_DATA
{
1298 fn clone(&self) -> Self {
1303 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
1304 #[cfg(feature = "Win32_Foundation")]
1305 pub struct KERB_BINDING_CACHE_ENTRY_DATA
{
1306 pub DiscoveryTime
: u64,
1307 pub RealmName
: super::super::super::Foundation
::UNICODE_STRING
,
1308 pub KdcAddress
: super::super::super::Foundation
::UNICODE_STRING
,
1309 pub AddressType
: KERB_ADDRESS_TYPE
,
1312 pub CacheFlags
: u32,
1313 pub KdcName
: super::super::super::Foundation
::UNICODE_STRING
,
1315 #[cfg(feature = "Win32_Foundation")]
1316 impl ::core
::marker
::Copy
for KERB_BINDING_CACHE_ENTRY_DATA {}
1317 #[cfg(feature = "Win32_Foundation")]
1318 impl ::core
::clone
::Clone
for KERB_BINDING_CACHE_ENTRY_DATA
{
1319 fn clone(&self) -> Self {
1324 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1325 pub struct KERB_CERTIFICATE_HASHINFO
{
1326 pub StoreNameLength
: u16,
1327 pub HashLength
: u16,
1329 impl ::core
::marker
::Copy
for KERB_CERTIFICATE_HASHINFO {}
1330 impl ::core
::clone
::Clone
for KERB_CERTIFICATE_HASHINFO
{
1331 fn clone(&self) -> Self {
1336 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1337 pub struct KERB_CERTIFICATE_INFO
{
1338 pub CertInfoSize
: u32,
1341 impl ::core
::marker
::Copy
for KERB_CERTIFICATE_INFO {}
1342 impl ::core
::clone
::Clone
for KERB_CERTIFICATE_INFO
{
1343 fn clone(&self) -> Self {
1347 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1348 pub type KERB_CERTIFICATE_INFO_TYPE
= i32;
1349 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1350 pub const CertHashInfo
: KERB_CERTIFICATE_INFO_TYPE
= 1i32;
1352 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
1353 #[cfg(feature = "Win32_Foundation")]
1354 pub struct KERB_CERTIFICATE_LOGON
{
1355 pub MessageType
: KERB_LOGON_SUBMIT_TYPE
,
1356 pub DomainName
: super::super::super::Foundation
::UNICODE_STRING
,
1357 pub UserName
: super::super::super::Foundation
::UNICODE_STRING
,
1358 pub Pin
: super::super::super::Foundation
::UNICODE_STRING
,
1360 pub CspDataLength
: u32,
1361 pub CspData
: *mut u8,
1363 #[cfg(feature = "Win32_Foundation")]
1364 impl ::core
::marker
::Copy
for KERB_CERTIFICATE_LOGON {}
1365 #[cfg(feature = "Win32_Foundation")]
1366 impl ::core
::clone
::Clone
for KERB_CERTIFICATE_LOGON
{
1367 fn clone(&self) -> Self {
1371 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1372 pub const KERB_CERTIFICATE_LOGON_FLAG_CHECK_DUPLICATES
: u32 = 1u32;
1373 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1374 pub const KERB_CERTIFICATE_LOGON_FLAG_USE_CERTIFICATE_INFO
: u32 = 2u32;
1376 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
1377 #[cfg(feature = "Win32_Foundation")]
1378 pub struct KERB_CERTIFICATE_S4U_LOGON
{
1379 pub MessageType
: KERB_LOGON_SUBMIT_TYPE
,
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,
1386 #[cfg(feature = "Win32_Foundation")]
1387 impl ::core
::marker
::Copy
for KERB_CERTIFICATE_S4U_LOGON {}
1388 #[cfg(feature = "Win32_Foundation")]
1389 impl ::core
::clone
::Clone
for KERB_CERTIFICATE_S4U_LOGON
{
1390 fn clone(&self) -> Self {
1394 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1395 pub const KERB_CERTIFICATE_S4U_LOGON_FLAG_CHECK_DUPLICATES
: u32 = 1u32;
1396 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1397 pub const KERB_CERTIFICATE_S4U_LOGON_FLAG_CHECK_LOGONHOURS
: u32 = 2u32;
1398 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1399 pub const KERB_CERTIFICATE_S4U_LOGON_FLAG_FAIL_IF_NT_AUTH_POLICY_REQUIRED
: u32 = 4u32;
1400 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1401 pub const KERB_CERTIFICATE_S4U_LOGON_FLAG_IDENTIFY
: u32 = 8u32;
1403 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
1404 #[cfg(feature = "Win32_Foundation")]
1405 pub struct KERB_CERTIFICATE_UNLOCK_LOGON
{
1406 pub Logon
: KERB_CERTIFICATE_LOGON
,
1407 pub LogonId
: super::super::super::Foundation
::LUID
,
1409 #[cfg(feature = "Win32_Foundation")]
1410 impl ::core
::marker
::Copy
for KERB_CERTIFICATE_UNLOCK_LOGON {}
1411 #[cfg(feature = "Win32_Foundation")]
1412 impl ::core
::clone
::Clone
for KERB_CERTIFICATE_UNLOCK_LOGON
{
1413 fn clone(&self) -> Self {
1418 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
1419 #[cfg(feature = "Win32_Foundation")]
1420 pub struct KERB_CHANGEPASSWORD_REQUEST
{
1421 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
1422 pub DomainName
: super::super::super::Foundation
::UNICODE_STRING
,
1423 pub AccountName
: super::super::super::Foundation
::UNICODE_STRING
,
1424 pub OldPassword
: super::super::super::Foundation
::UNICODE_STRING
,
1425 pub NewPassword
: super::super::super::Foundation
::UNICODE_STRING
,
1426 pub Impersonating
: super::super::super::Foundation
::BOOLEAN
,
1428 #[cfg(feature = "Win32_Foundation")]
1429 impl ::core
::marker
::Copy
for KERB_CHANGEPASSWORD_REQUEST {}
1430 #[cfg(feature = "Win32_Foundation")]
1431 impl ::core
::clone
::Clone
for KERB_CHANGEPASSWORD_REQUEST
{
1432 fn clone(&self) -> Self {
1436 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1437 pub const KERB_CHECKSUM_CRC32
: u32 = 1u32;
1438 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1439 pub const KERB_CHECKSUM_DES_MAC
: i32 = -133i32;
1440 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1441 pub const KERB_CHECKSUM_DES_MAC_MD5
: i32 = -134i32;
1442 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1443 pub const KERB_CHECKSUM_HMAC_MD5
: i32 = -138i32;
1444 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1445 pub const KERB_CHECKSUM_HMAC_SHA1_96_AES128
: u32 = 15u32;
1446 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1447 pub const KERB_CHECKSUM_HMAC_SHA1_96_AES128_Ki
: i32 = -150i32;
1448 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1449 pub const KERB_CHECKSUM_HMAC_SHA1_96_AES256
: u32 = 16u32;
1450 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1451 pub const KERB_CHECKSUM_HMAC_SHA1_96_AES256_Ki
: i32 = -151i32;
1452 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1453 pub const KERB_CHECKSUM_KRB_DES_MAC
: u32 = 4u32;
1454 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1455 pub const KERB_CHECKSUM_KRB_DES_MAC_K
: u32 = 5u32;
1456 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1457 pub const KERB_CHECKSUM_LM
: i32 = -130i32;
1458 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1459 pub const KERB_CHECKSUM_MD25
: i32 = -135i32;
1460 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1461 pub const KERB_CHECKSUM_MD4
: u32 = 2u32;
1462 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1463 pub const KERB_CHECKSUM_MD5
: u32 = 7u32;
1464 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1465 pub const KERB_CHECKSUM_MD5_DES
: u32 = 8u32;
1466 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1467 pub const KERB_CHECKSUM_MD5_HMAC
: i32 = -137i32;
1468 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1469 pub const KERB_CHECKSUM_NONE
: u32 = 0u32;
1470 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1471 pub const KERB_CHECKSUM_RC4_MD5
: i32 = -136i32;
1472 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1473 pub const KERB_CHECKSUM_REAL_CRC32
: i32 = -132i32;
1474 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1475 pub const KERB_CHECKSUM_SHA1
: i32 = -131i32;
1476 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1477 pub const KERB_CHECKSUM_SHA1_NEW
: u32 = 14u32;
1479 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
1480 #[cfg(feature = "Win32_Foundation")]
1481 pub struct KERB_CLEANUP_MACHINE_PKINIT_CREDS_REQUEST
{
1482 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
1483 pub LogonId
: super::super::super::Foundation
::LUID
,
1485 #[cfg(feature = "Win32_Foundation")]
1486 impl ::core
::marker
::Copy
for KERB_CLEANUP_MACHINE_PKINIT_CREDS_REQUEST {}
1487 #[cfg(feature = "Win32_Foundation")]
1488 impl ::core
::clone
::Clone
for KERB_CLEANUP_MACHINE_PKINIT_CREDS_REQUEST
{
1489 fn clone(&self) -> Self {
1494 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1495 pub struct KERB_CLOUD_KERBEROS_DEBUG_DATA_V0
{
1498 impl ::core
::marker
::Copy
for KERB_CLOUD_KERBEROS_DEBUG_DATA_V0 {}
1499 impl ::core
::clone
::Clone
for KERB_CLOUD_KERBEROS_DEBUG_DATA_V0
{
1500 fn clone(&self) -> Self {
1504 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1505 pub const KERB_CLOUD_KERBEROS_DEBUG_DATA_VERSION
: u32 = 0u32;
1507 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
1508 #[cfg(feature = "Win32_Foundation")]
1509 pub struct KERB_CLOUD_KERBEROS_DEBUG_REQUEST
{
1510 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
1511 pub LogonId
: super::super::super::Foundation
::LUID
,
1513 #[cfg(feature = "Win32_Foundation")]
1514 impl ::core
::marker
::Copy
for KERB_CLOUD_KERBEROS_DEBUG_REQUEST {}
1515 #[cfg(feature = "Win32_Foundation")]
1516 impl ::core
::clone
::Clone
for KERB_CLOUD_KERBEROS_DEBUG_REQUEST
{
1517 fn clone(&self) -> Self {
1522 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1523 pub struct KERB_CLOUD_KERBEROS_DEBUG_RESPONSE
{
1524 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
1529 impl ::core
::marker
::Copy
for KERB_CLOUD_KERBEROS_DEBUG_RESPONSE {}
1530 impl ::core
::clone
::Clone
for KERB_CLOUD_KERBEROS_DEBUG_RESPONSE
{
1531 fn clone(&self) -> Self {
1536 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1537 pub struct KERB_CRYPTO_KEY
{
1538 pub KeyType
: KERB_CRYPTO_KEY_TYPE
,
1542 impl ::core
::marker
::Copy
for KERB_CRYPTO_KEY {}
1543 impl ::core
::clone
::Clone
for KERB_CRYPTO_KEY
{
1544 fn clone(&self) -> Self {
1549 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1550 pub struct KERB_CRYPTO_KEY32
{
1555 impl ::core
::marker
::Copy
for KERB_CRYPTO_KEY32 {}
1556 impl ::core
::clone
::Clone
for KERB_CRYPTO_KEY32
{
1557 fn clone(&self) -> Self {
1561 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1562 pub type KERB_CRYPTO_KEY_TYPE
= i32;
1563 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1564 pub const KERB_ETYPE_DES_CBC_CRC
: KERB_CRYPTO_KEY_TYPE
= 1i32;
1565 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1566 pub const KERB_ETYPE_DES_CBC_MD4
: KERB_CRYPTO_KEY_TYPE
= 2i32;
1567 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1568 pub const KERB_ETYPE_DES_CBC_MD5
: KERB_CRYPTO_KEY_TYPE
= 3i32;
1569 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1570 pub const KERB_ETYPE_NULL
: KERB_CRYPTO_KEY_TYPE
= 0i32;
1571 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1572 pub const KERB_ETYPE_RC4_HMAC_NT
: KERB_CRYPTO_KEY_TYPE
= 23i32;
1573 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1574 pub const KERB_ETYPE_RC4_MD4
: KERB_CRYPTO_KEY_TYPE
= -128i32;
1575 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1576 pub const KERB_DECRYPT_FLAG_DEFAULT_KEY
: u32 = 1u32;
1578 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
1579 #[cfg(feature = "Win32_Foundation")]
1580 pub struct KERB_DECRYPT_REQUEST
{
1581 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
1582 pub LogonId
: super::super::super::Foundation
::LUID
,
1584 pub CryptoType
: 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,
1592 #[cfg(feature = "Win32_Foundation")]
1593 impl ::core
::marker
::Copy
for KERB_DECRYPT_REQUEST {}
1594 #[cfg(feature = "Win32_Foundation")]
1595 impl ::core
::clone
::Clone
for KERB_DECRYPT_REQUEST
{
1596 fn clone(&self) -> Self {
1601 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1602 pub struct KERB_DECRYPT_RESPONSE
{
1603 pub DecryptedData
: [u8; 1],
1605 impl ::core
::marker
::Copy
for KERB_DECRYPT_RESPONSE {}
1606 impl ::core
::clone
::Clone
for KERB_DECRYPT_RESPONSE
{
1607 fn clone(&self) -> Self {
1611 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1612 pub const KERB_ETYPE_AES128_CTS_HMAC_SHA1_96
: u32 = 17u32;
1613 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1614 pub const KERB_ETYPE_AES128_CTS_HMAC_SHA1_96_PLAIN
: i32 = -148i32;
1615 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1616 pub const KERB_ETYPE_AES256_CTS_HMAC_SHA1_96
: u32 = 18u32;
1617 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1618 pub const KERB_ETYPE_AES256_CTS_HMAC_SHA1_96_PLAIN
: i32 = -149i32;
1619 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1620 pub const KERB_ETYPE_DEFAULT
: u32 = 0u32;
1621 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1622 pub const KERB_ETYPE_DES3_CBC_MD5
: u32 = 5u32;
1623 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1624 pub const KERB_ETYPE_DES3_CBC_SHA1
: u32 = 7u32;
1625 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1626 pub const KERB_ETYPE_DES3_CBC_SHA1_KD
: u32 = 16u32;
1627 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1628 pub const KERB_ETYPE_DES_CBC_MD5_NT
: u32 = 20u32;
1629 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1630 pub const KERB_ETYPE_DES_EDE3_CBC_ENV
: u32 = 15u32;
1631 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1632 pub const KERB_ETYPE_DES_PLAIN
: i32 = -132i32;
1633 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1634 pub const KERB_ETYPE_DSA_SHA1_CMS
: u32 = 9u32;
1635 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1636 pub const KERB_ETYPE_DSA_SIGN
: u32 = 8u32;
1637 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1638 pub const KERB_ETYPE_PKCS7_PUB
: u32 = 13u32;
1639 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1640 pub const KERB_ETYPE_RC2_CBC_ENV
: u32 = 12u32;
1641 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1642 pub const KERB_ETYPE_RC4_HMAC_NT_EXP
: u32 = 24u32;
1643 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1644 pub const KERB_ETYPE_RC4_HMAC_OLD
: i32 = -133i32;
1645 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1646 pub const KERB_ETYPE_RC4_HMAC_OLD_EXP
: i32 = -135i32;
1647 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1648 pub const KERB_ETYPE_RC4_LM
: i32 = -130i32;
1649 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1650 pub const KERB_ETYPE_RC4_PLAIN
: i32 = -140i32;
1651 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1652 pub const KERB_ETYPE_RC4_PLAIN2
: i32 = -129i32;
1653 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1654 pub const KERB_ETYPE_RC4_PLAIN_EXP
: i32 = -141i32;
1655 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1656 pub const KERB_ETYPE_RC4_PLAIN_OLD
: i32 = -134i32;
1657 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1658 pub const KERB_ETYPE_RC4_PLAIN_OLD_EXP
: i32 = -136i32;
1659 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1660 pub const KERB_ETYPE_RC4_SHA
: i32 = -131i32;
1661 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1662 pub const KERB_ETYPE_RSA_ENV
: u32 = 13u32;
1663 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1664 pub const KERB_ETYPE_RSA_ES_OEAP_ENV
: u32 = 14u32;
1665 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1666 pub const KERB_ETYPE_RSA_MD5_CMS
: u32 = 10u32;
1667 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1668 pub const KERB_ETYPE_RSA_PRIV
: u32 = 9u32;
1669 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1670 pub const KERB_ETYPE_RSA_PUB
: u32 = 10u32;
1671 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1672 pub const KERB_ETYPE_RSA_PUB_MD5
: u32 = 11u32;
1673 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1674 pub const KERB_ETYPE_RSA_PUB_SHA1
: u32 = 12u32;
1675 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1676 pub const KERB_ETYPE_RSA_SHA1_CMS
: u32 = 11u32;
1678 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
1679 #[cfg(feature = "Win32_Foundation")]
1680 pub struct KERB_EXTERNAL_NAME
{
1683 pub Names
: [super::super::super::Foundation
::UNICODE_STRING
; 1],
1685 #[cfg(feature = "Win32_Foundation")]
1686 impl ::core
::marker
::Copy
for KERB_EXTERNAL_NAME {}
1687 #[cfg(feature = "Win32_Foundation")]
1688 impl ::core
::clone
::Clone
for KERB_EXTERNAL_NAME
{
1689 fn clone(&self) -> Self {
1694 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
1695 #[cfg(feature = "Win32_Foundation")]
1696 pub struct KERB_EXTERNAL_TICKET
{
1697 pub ServiceName
: *mut KERB_EXTERNAL_NAME
,
1698 pub TargetName
: *mut KERB_EXTERNAL_NAME
,
1699 pub ClientName
: *mut KERB_EXTERNAL_NAME
,
1700 pub DomainName
: super::super::super::Foundation
::UNICODE_STRING
,
1701 pub TargetDomainName
: super::super::super::Foundation
::UNICODE_STRING
,
1702 pub AltTargetDomainName
: super::super::super::Foundation
::UNICODE_STRING
,
1703 pub SessionKey
: KERB_CRYPTO_KEY
,
1704 pub TicketFlags
: KERB_TICKET_FLAGS
,
1706 pub KeyExpirationTime
: i64,
1709 pub RenewUntil
: i64,
1711 pub EncodedTicketSize
: u32,
1712 pub EncodedTicket
: *mut u8,
1714 #[cfg(feature = "Win32_Foundation")]
1715 impl ::core
::marker
::Copy
for KERB_EXTERNAL_TICKET {}
1716 #[cfg(feature = "Win32_Foundation")]
1717 impl ::core
::clone
::Clone
for KERB_EXTERNAL_TICKET
{
1718 fn clone(&self) -> Self {
1723 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
1724 #[cfg(feature = "Win32_Foundation")]
1725 pub struct KERB_INTERACTIVE_LOGON
{
1726 pub MessageType
: KERB_LOGON_SUBMIT_TYPE
,
1727 pub LogonDomainName
: super::super::super::Foundation
::UNICODE_STRING
,
1728 pub UserName
: super::super::super::Foundation
::UNICODE_STRING
,
1729 pub Password
: super::super::super::Foundation
::UNICODE_STRING
,
1731 #[cfg(feature = "Win32_Foundation")]
1732 impl ::core
::marker
::Copy
for KERB_INTERACTIVE_LOGON {}
1733 #[cfg(feature = "Win32_Foundation")]
1734 impl ::core
::clone
::Clone
for KERB_INTERACTIVE_LOGON
{
1735 fn clone(&self) -> Self {
1740 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
1741 #[cfg(feature = "Win32_Foundation")]
1742 pub struct KERB_INTERACTIVE_PROFILE
{
1743 pub MessageType
: KERB_PROFILE_BUFFER_TYPE
,
1744 pub LogonCount
: u16,
1745 pub BadPasswordCount
: u16,
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
,
1760 #[cfg(feature = "Win32_Foundation")]
1761 impl ::core
::marker
::Copy
for KERB_INTERACTIVE_PROFILE {}
1762 #[cfg(feature = "Win32_Foundation")]
1763 impl ::core
::clone
::Clone
for KERB_INTERACTIVE_PROFILE
{
1764 fn clone(&self) -> Self {
1769 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
1770 #[cfg(feature = "Win32_Foundation")]
1771 pub struct KERB_INTERACTIVE_UNLOCK_LOGON
{
1772 pub Logon
: KERB_INTERACTIVE_LOGON
,
1773 pub LogonId
: super::super::super::Foundation
::LUID
,
1775 #[cfg(feature = "Win32_Foundation")]
1776 impl ::core
::marker
::Copy
for KERB_INTERACTIVE_UNLOCK_LOGON {}
1777 #[cfg(feature = "Win32_Foundation")]
1778 impl ::core
::clone
::Clone
for KERB_INTERACTIVE_UNLOCK_LOGON
{
1779 fn clone(&self) -> Self {
1783 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1784 pub const KERB_LOGON_FLAG_ALLOW_EXPIRED_TICKET
: u32 = 1u32;
1785 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1786 pub const KERB_LOGON_FLAG_REDIRECTED
: u32 = 2u32;
1787 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1788 pub type KERB_LOGON_SUBMIT_TYPE
= i32;
1789 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1790 pub const KerbInteractiveLogon
: KERB_LOGON_SUBMIT_TYPE
= 2i32;
1791 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1792 pub const KerbSmartCardLogon
: KERB_LOGON_SUBMIT_TYPE
= 6i32;
1793 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1794 pub const KerbWorkstationUnlockLogon
: KERB_LOGON_SUBMIT_TYPE
= 7i32;
1795 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1796 pub const KerbSmartCardUnlockLogon
: KERB_LOGON_SUBMIT_TYPE
= 8i32;
1797 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1798 pub const KerbProxyLogon
: KERB_LOGON_SUBMIT_TYPE
= 9i32;
1799 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1800 pub const KerbTicketLogon
: KERB_LOGON_SUBMIT_TYPE
= 10i32;
1801 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1802 pub const KerbTicketUnlockLogon
: KERB_LOGON_SUBMIT_TYPE
= 11i32;
1803 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1804 pub const KerbS4ULogon
: KERB_LOGON_SUBMIT_TYPE
= 12i32;
1805 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1806 pub const KerbCertificateLogon
: KERB_LOGON_SUBMIT_TYPE
= 13i32;
1807 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1808 pub const KerbCertificateS4ULogon
: KERB_LOGON_SUBMIT_TYPE
= 14i32;
1809 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1810 pub const KerbCertificateUnlockLogon
: KERB_LOGON_SUBMIT_TYPE
= 15i32;
1811 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1812 pub const KerbNoElevationLogon
: KERB_LOGON_SUBMIT_TYPE
= 83i32;
1813 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1814 pub const KerbLuidLogon
: KERB_LOGON_SUBMIT_TYPE
= 84i32;
1816 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1817 pub struct KERB_NET_ADDRESS
{
1820 pub Address
: ::windows_sys
::core
::PSTR
,
1822 impl ::core
::marker
::Copy
for KERB_NET_ADDRESS {}
1823 impl ::core
::clone
::Clone
for KERB_NET_ADDRESS
{
1824 fn clone(&self) -> Self {
1829 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1830 pub struct KERB_NET_ADDRESSES
{
1832 pub Addresses
: [KERB_NET_ADDRESS
; 1],
1834 impl ::core
::marker
::Copy
for KERB_NET_ADDRESSES {}
1835 impl ::core
::clone
::Clone
for KERB_NET_ADDRESSES
{
1836 fn clone(&self) -> Self {
1840 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1841 pub type KERB_PROFILE_BUFFER_TYPE
= i32;
1842 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1843 pub const KerbInteractiveProfile
: KERB_PROFILE_BUFFER_TYPE
= 2i32;
1844 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1845 pub const KerbSmartCardProfile
: KERB_PROFILE_BUFFER_TYPE
= 4i32;
1846 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1847 pub const KerbTicketProfile
: KERB_PROFILE_BUFFER_TYPE
= 6i32;
1848 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1849 pub type KERB_PROTOCOL_MESSAGE_TYPE
= i32;
1850 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1851 pub const KerbDebugRequestMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 0i32;
1852 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1853 pub const KerbQueryTicketCacheMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 1i32;
1854 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1855 pub const KerbChangeMachinePasswordMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 2i32;
1856 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1857 pub const KerbVerifyPacMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 3i32;
1858 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1859 pub const KerbRetrieveTicketMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 4i32;
1860 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1861 pub const KerbUpdateAddressesMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 5i32;
1862 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1863 pub const KerbPurgeTicketCacheMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 6i32;
1864 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1865 pub const KerbChangePasswordMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 7i32;
1866 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1867 pub const KerbRetrieveEncodedTicketMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 8i32;
1868 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1869 pub const KerbDecryptDataMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 9i32;
1870 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1871 pub const KerbAddBindingCacheEntryMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 10i32;
1872 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1873 pub const KerbSetPasswordMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 11i32;
1874 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1875 pub const KerbSetPasswordExMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 12i32;
1876 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1877 pub const KerbVerifyCredentialsMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 13i32;
1878 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1879 pub const KerbQueryTicketCacheExMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 14i32;
1880 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1881 pub const KerbPurgeTicketCacheExMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 15i32;
1882 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1883 pub const KerbRefreshSmartcardCredentialsMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 16i32;
1884 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1885 pub const KerbAddExtraCredentialsMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 17i32;
1886 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1887 pub const KerbQuerySupplementalCredentialsMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 18i32;
1888 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1889 pub const KerbTransferCredentialsMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 19i32;
1890 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1891 pub const KerbQueryTicketCacheEx2Message
: KERB_PROTOCOL_MESSAGE_TYPE
= 20i32;
1892 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1893 pub const KerbSubmitTicketMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 21i32;
1894 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1895 pub const KerbAddExtraCredentialsExMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 22i32;
1896 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1897 pub const KerbQueryKdcProxyCacheMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 23i32;
1898 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1899 pub const KerbPurgeKdcProxyCacheMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 24i32;
1900 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1901 pub const KerbQueryTicketCacheEx3Message
: KERB_PROTOCOL_MESSAGE_TYPE
= 25i32;
1902 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1903 pub const KerbCleanupMachinePkinitCredsMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 26i32;
1904 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1905 pub const KerbAddBindingCacheEntryExMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 27i32;
1906 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1907 pub const KerbQueryBindingCacheMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 28i32;
1908 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1909 pub const KerbPurgeBindingCacheMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 29i32;
1910 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1911 pub const KerbPinKdcMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 30i32;
1912 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1913 pub const KerbUnpinAllKdcsMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 31i32;
1914 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1915 pub const KerbQueryDomainExtendedPoliciesMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 32i32;
1916 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1917 pub const KerbQueryS4U2ProxyCacheMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 33i32;
1918 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1919 pub const KerbRetrieveKeyTabMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 34i32;
1920 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1921 pub const KerbRefreshPolicyMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 35i32;
1922 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1923 pub const KerbPrintCloudKerberosDebugMessage
: KERB_PROTOCOL_MESSAGE_TYPE
= 36i32;
1924 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1925 pub const KERB_PURGE_ALL_TICKETS
: u32 = 1u32;
1927 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1928 pub struct KERB_PURGE_BINDING_CACHE_REQUEST
{
1929 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
1931 impl ::core
::marker
::Copy
for KERB_PURGE_BINDING_CACHE_REQUEST {}
1932 impl ::core
::clone
::Clone
for KERB_PURGE_BINDING_CACHE_REQUEST
{
1933 fn clone(&self) -> Self {
1938 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
1939 #[cfg(feature = "Win32_Foundation")]
1940 pub struct KERB_PURGE_KDC_PROXY_CACHE_REQUEST
{
1941 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
1943 pub LogonId
: super::super::super::Foundation
::LUID
,
1945 #[cfg(feature = "Win32_Foundation")]
1946 impl ::core
::marker
::Copy
for KERB_PURGE_KDC_PROXY_CACHE_REQUEST {}
1947 #[cfg(feature = "Win32_Foundation")]
1948 impl ::core
::clone
::Clone
for KERB_PURGE_KDC_PROXY_CACHE_REQUEST
{
1949 fn clone(&self) -> Self {
1954 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
1955 pub struct KERB_PURGE_KDC_PROXY_CACHE_RESPONSE
{
1956 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
1957 pub CountOfPurged
: u32,
1959 impl ::core
::marker
::Copy
for KERB_PURGE_KDC_PROXY_CACHE_RESPONSE {}
1960 impl ::core
::clone
::Clone
for KERB_PURGE_KDC_PROXY_CACHE_RESPONSE
{
1961 fn clone(&self) -> Self {
1966 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
1967 #[cfg(feature = "Win32_Foundation")]
1968 pub struct KERB_PURGE_TKT_CACHE_EX_REQUEST
{
1969 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
1970 pub LogonId
: super::super::super::Foundation
::LUID
,
1972 pub TicketTemplate
: KERB_TICKET_CACHE_INFO_EX
,
1974 #[cfg(feature = "Win32_Foundation")]
1975 impl ::core
::marker
::Copy
for KERB_PURGE_TKT_CACHE_EX_REQUEST {}
1976 #[cfg(feature = "Win32_Foundation")]
1977 impl ::core
::clone
::Clone
for KERB_PURGE_TKT_CACHE_EX_REQUEST
{
1978 fn clone(&self) -> Self {
1983 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
1984 #[cfg(feature = "Win32_Foundation")]
1985 pub struct KERB_PURGE_TKT_CACHE_REQUEST
{
1986 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
1987 pub LogonId
: super::super::super::Foundation
::LUID
,
1988 pub ServerName
: super::super::super::Foundation
::UNICODE_STRING
,
1989 pub RealmName
: super::super::super::Foundation
::UNICODE_STRING
,
1991 #[cfg(feature = "Win32_Foundation")]
1992 impl ::core
::marker
::Copy
for KERB_PURGE_TKT_CACHE_REQUEST {}
1993 #[cfg(feature = "Win32_Foundation")]
1994 impl ::core
::clone
::Clone
for KERB_PURGE_TKT_CACHE_REQUEST
{
1995 fn clone(&self) -> Self {
2000 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2001 pub struct KERB_QUERY_BINDING_CACHE_REQUEST
{
2002 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
2004 impl ::core
::marker
::Copy
for KERB_QUERY_BINDING_CACHE_REQUEST {}
2005 impl ::core
::clone
::Clone
for KERB_QUERY_BINDING_CACHE_REQUEST
{
2006 fn clone(&self) -> Self {
2011 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2012 #[cfg(feature = "Win32_Foundation")]
2013 pub struct KERB_QUERY_BINDING_CACHE_RESPONSE
{
2014 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
2015 pub CountOfEntries
: u32,
2016 pub Entries
: *mut KERB_BINDING_CACHE_ENTRY_DATA
,
2018 #[cfg(feature = "Win32_Foundation")]
2019 impl ::core
::marker
::Copy
for KERB_QUERY_BINDING_CACHE_RESPONSE {}
2020 #[cfg(feature = "Win32_Foundation")]
2021 impl ::core
::clone
::Clone
for KERB_QUERY_BINDING_CACHE_RESPONSE
{
2022 fn clone(&self) -> Self {
2027 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2028 #[cfg(feature = "Win32_Foundation")]
2029 pub struct KERB_QUERY_DOMAIN_EXTENDED_POLICIES_REQUEST
{
2030 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
2032 pub DomainName
: super::super::super::Foundation
::UNICODE_STRING
,
2034 #[cfg(feature = "Win32_Foundation")]
2035 impl ::core
::marker
::Copy
for KERB_QUERY_DOMAIN_EXTENDED_POLICIES_REQUEST {}
2036 #[cfg(feature = "Win32_Foundation")]
2037 impl ::core
::clone
::Clone
for KERB_QUERY_DOMAIN_EXTENDED_POLICIES_REQUEST
{
2038 fn clone(&self) -> Self {
2043 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2044 pub struct KERB_QUERY_DOMAIN_EXTENDED_POLICIES_RESPONSE
{
2045 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
2047 pub ExtendedPolicies
: u32,
2050 impl ::core
::marker
::Copy
for KERB_QUERY_DOMAIN_EXTENDED_POLICIES_RESPONSE {}
2051 impl ::core
::clone
::Clone
for KERB_QUERY_DOMAIN_EXTENDED_POLICIES_RESPONSE
{
2052 fn clone(&self) -> Self {
2056 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2057 pub const KERB_QUERY_DOMAIN_EXTENDED_POLICIES_RESPONSE_FLAG_DAC_DISABLED
: u32 = 1u32;
2059 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2060 #[cfg(feature = "Win32_Foundation")]
2061 pub struct KERB_QUERY_KDC_PROXY_CACHE_REQUEST
{
2062 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
2064 pub LogonId
: super::super::super::Foundation
::LUID
,
2066 #[cfg(feature = "Win32_Foundation")]
2067 impl ::core
::marker
::Copy
for KERB_QUERY_KDC_PROXY_CACHE_REQUEST {}
2068 #[cfg(feature = "Win32_Foundation")]
2069 impl ::core
::clone
::Clone
for KERB_QUERY_KDC_PROXY_CACHE_REQUEST
{
2070 fn clone(&self) -> Self {
2075 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2076 #[cfg(feature = "Win32_Foundation")]
2077 pub struct KERB_QUERY_KDC_PROXY_CACHE_RESPONSE
{
2078 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
2079 pub CountOfEntries
: u32,
2080 pub Entries
: *mut KDC_PROXY_CACHE_ENTRY_DATA
,
2082 #[cfg(feature = "Win32_Foundation")]
2083 impl ::core
::marker
::Copy
for KERB_QUERY_KDC_PROXY_CACHE_RESPONSE {}
2084 #[cfg(feature = "Win32_Foundation")]
2085 impl ::core
::clone
::Clone
for KERB_QUERY_KDC_PROXY_CACHE_RESPONSE
{
2086 fn clone(&self) -> Self {
2091 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2092 #[cfg(feature = "Win32_Foundation")]
2093 pub struct KERB_QUERY_S4U2PROXY_CACHE_REQUEST
{
2094 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
2096 pub LogonId
: super::super::super::Foundation
::LUID
,
2098 #[cfg(feature = "Win32_Foundation")]
2099 impl ::core
::marker
::Copy
for KERB_QUERY_S4U2PROXY_CACHE_REQUEST {}
2100 #[cfg(feature = "Win32_Foundation")]
2101 impl ::core
::clone
::Clone
for KERB_QUERY_S4U2PROXY_CACHE_REQUEST
{
2102 fn clone(&self) -> Self {
2107 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2108 #[cfg(feature = "Win32_Foundation")]
2109 pub struct KERB_QUERY_S4U2PROXY_CACHE_RESPONSE
{
2110 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
2111 pub CountOfCreds
: u32,
2112 pub Creds
: *mut KERB_S4U2PROXY_CRED
,
2114 #[cfg(feature = "Win32_Foundation")]
2115 impl ::core
::marker
::Copy
for KERB_QUERY_S4U2PROXY_CACHE_RESPONSE {}
2116 #[cfg(feature = "Win32_Foundation")]
2117 impl ::core
::clone
::Clone
for KERB_QUERY_S4U2PROXY_CACHE_RESPONSE
{
2118 fn clone(&self) -> Self {
2123 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2124 #[cfg(feature = "Win32_Foundation")]
2125 pub struct KERB_QUERY_TKT_CACHE_EX2_RESPONSE
{
2126 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
2127 pub CountOfTickets
: u32,
2128 pub Tickets
: [KERB_TICKET_CACHE_INFO_EX2
; 1],
2130 #[cfg(feature = "Win32_Foundation")]
2131 impl ::core
::marker
::Copy
for KERB_QUERY_TKT_CACHE_EX2_RESPONSE {}
2132 #[cfg(feature = "Win32_Foundation")]
2133 impl ::core
::clone
::Clone
for KERB_QUERY_TKT_CACHE_EX2_RESPONSE
{
2134 fn clone(&self) -> Self {
2139 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2140 #[cfg(feature = "Win32_Foundation")]
2141 pub struct KERB_QUERY_TKT_CACHE_EX3_RESPONSE
{
2142 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
2143 pub CountOfTickets
: u32,
2144 pub Tickets
: [KERB_TICKET_CACHE_INFO_EX3
; 1],
2146 #[cfg(feature = "Win32_Foundation")]
2147 impl ::core
::marker
::Copy
for KERB_QUERY_TKT_CACHE_EX3_RESPONSE {}
2148 #[cfg(feature = "Win32_Foundation")]
2149 impl ::core
::clone
::Clone
for KERB_QUERY_TKT_CACHE_EX3_RESPONSE
{
2150 fn clone(&self) -> Self {
2155 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2156 #[cfg(feature = "Win32_Foundation")]
2157 pub struct KERB_QUERY_TKT_CACHE_EX_RESPONSE
{
2158 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
2159 pub CountOfTickets
: u32,
2160 pub Tickets
: [KERB_TICKET_CACHE_INFO_EX
; 1],
2162 #[cfg(feature = "Win32_Foundation")]
2163 impl ::core
::marker
::Copy
for KERB_QUERY_TKT_CACHE_EX_RESPONSE {}
2164 #[cfg(feature = "Win32_Foundation")]
2165 impl ::core
::clone
::Clone
for KERB_QUERY_TKT_CACHE_EX_RESPONSE
{
2166 fn clone(&self) -> Self {
2171 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2172 #[cfg(feature = "Win32_Foundation")]
2173 pub struct KERB_QUERY_TKT_CACHE_REQUEST
{
2174 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
2175 pub LogonId
: super::super::super::Foundation
::LUID
,
2177 #[cfg(feature = "Win32_Foundation")]
2178 impl ::core
::marker
::Copy
for KERB_QUERY_TKT_CACHE_REQUEST {}
2179 #[cfg(feature = "Win32_Foundation")]
2180 impl ::core
::clone
::Clone
for KERB_QUERY_TKT_CACHE_REQUEST
{
2181 fn clone(&self) -> Self {
2186 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2187 #[cfg(feature = "Win32_Foundation")]
2188 pub struct KERB_QUERY_TKT_CACHE_RESPONSE
{
2189 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
2190 pub CountOfTickets
: u32,
2191 pub Tickets
: [KERB_TICKET_CACHE_INFO
; 1],
2193 #[cfg(feature = "Win32_Foundation")]
2194 impl ::core
::marker
::Copy
for KERB_QUERY_TKT_CACHE_RESPONSE {}
2195 #[cfg(feature = "Win32_Foundation")]
2196 impl ::core
::clone
::Clone
for KERB_QUERY_TKT_CACHE_RESPONSE
{
2197 fn clone(&self) -> Self {
2201 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2202 pub const KERB_REFRESH_POLICY_KDC
: u32 = 2u32;
2203 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2204 pub const KERB_REFRESH_POLICY_KERBEROS
: u32 = 1u32;
2206 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2207 pub struct KERB_REFRESH_POLICY_REQUEST
{
2208 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
2211 impl ::core
::marker
::Copy
for KERB_REFRESH_POLICY_REQUEST {}
2212 impl ::core
::clone
::Clone
for KERB_REFRESH_POLICY_REQUEST
{
2213 fn clone(&self) -> Self {
2218 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2219 pub struct KERB_REFRESH_POLICY_RESPONSE
{
2220 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
2223 impl ::core
::marker
::Copy
for KERB_REFRESH_POLICY_RESPONSE {}
2224 impl ::core
::clone
::Clone
for KERB_REFRESH_POLICY_RESPONSE
{
2225 fn clone(&self) -> Self {
2229 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2230 pub const KERB_REFRESH_SCCRED_GETTGT
: u32 = 1u32;
2231 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2232 pub const KERB_REFRESH_SCCRED_RELEASE
: u32 = 0u32;
2234 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2235 #[cfg(feature = "Win32_Foundation")]
2236 pub struct KERB_REFRESH_SCCRED_REQUEST
{
2237 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
2238 pub CredentialBlob
: super::super::super::Foundation
::UNICODE_STRING
,
2239 pub LogonId
: super::super::super::Foundation
::LUID
,
2242 #[cfg(feature = "Win32_Foundation")]
2243 impl ::core
::marker
::Copy
for KERB_REFRESH_SCCRED_REQUEST {}
2244 #[cfg(feature = "Win32_Foundation")]
2245 impl ::core
::clone
::Clone
for KERB_REFRESH_SCCRED_REQUEST
{
2246 fn clone(&self) -> Self {
2250 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2251 pub type KERB_REQUEST_FLAGS
= u32;
2252 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2253 pub const KERB_REQUEST_ADD_CREDENTIAL
: KERB_REQUEST_FLAGS
= 1u32;
2254 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2255 pub const KERB_REQUEST_REPLACE_CREDENTIAL
: KERB_REQUEST_FLAGS
= 2u32;
2256 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2257 pub const KERB_REQUEST_REMOVE_CREDENTIAL
: KERB_REQUEST_FLAGS
= 4u32;
2259 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2260 #[cfg(feature = "Win32_Foundation")]
2261 pub struct KERB_RETRIEVE_KEY_TAB_REQUEST
{
2262 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
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
,
2268 #[cfg(feature = "Win32_Foundation")]
2269 impl ::core
::marker
::Copy
for KERB_RETRIEVE_KEY_TAB_REQUEST {}
2270 #[cfg(feature = "Win32_Foundation")]
2271 impl ::core
::clone
::Clone
for KERB_RETRIEVE_KEY_TAB_REQUEST
{
2272 fn clone(&self) -> Self {
2277 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2278 pub struct KERB_RETRIEVE_KEY_TAB_RESPONSE
{
2279 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
2280 pub KeyTabLength
: u32,
2281 pub KeyTab
: *mut u8,
2283 impl ::core
::marker
::Copy
for KERB_RETRIEVE_KEY_TAB_RESPONSE {}
2284 impl ::core
::clone
::Clone
for KERB_RETRIEVE_KEY_TAB_RESPONSE
{
2285 fn clone(&self) -> Self {
2289 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2290 pub const KERB_RETRIEVE_TICKET_AS_KERB_CRED
: u32 = 8u32;
2291 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2292 pub const KERB_RETRIEVE_TICKET_CACHE_TICKET
: u32 = 32u32;
2293 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2294 pub const KERB_RETRIEVE_TICKET_DEFAULT
: u32 = 0u32;
2295 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2296 pub const KERB_RETRIEVE_TICKET_DONT_USE_CACHE
: u32 = 1u32;
2297 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2298 pub const KERB_RETRIEVE_TICKET_MAX_LIFETIME
: u32 = 64u32;
2299 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2300 pub const KERB_RETRIEVE_TICKET_USE_CACHE_ONLY
: u32 = 2u32;
2301 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2302 pub const KERB_RETRIEVE_TICKET_USE_CREDHANDLE
: u32 = 4u32;
2303 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2304 pub const KERB_RETRIEVE_TICKET_WITH_SEC_CRED
: u32 = 16u32;
2306 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
2307 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
2308 pub struct KERB_RETRIEVE_TKT_REQUEST
{
2309 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
2310 pub LogonId
: super::super::super::Foundation
::LUID
,
2311 pub TargetName
: super::super::super::Foundation
::UNICODE_STRING
,
2312 pub TicketFlags
: u32,
2313 pub CacheOptions
: u32,
2314 pub EncryptionType
: KERB_CRYPTO_KEY_TYPE
,
2315 pub CredentialsHandle
: super::super::Credentials
::SecHandle
,
2317 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
2318 impl ::core
::marker
::Copy
for KERB_RETRIEVE_TKT_REQUEST {}
2319 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
2320 impl ::core
::clone
::Clone
for KERB_RETRIEVE_TKT_REQUEST
{
2321 fn clone(&self) -> Self {
2326 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2327 #[cfg(feature = "Win32_Foundation")]
2328 pub struct KERB_RETRIEVE_TKT_RESPONSE
{
2329 pub Ticket
: KERB_EXTERNAL_TICKET
,
2331 #[cfg(feature = "Win32_Foundation")]
2332 impl ::core
::marker
::Copy
for KERB_RETRIEVE_TKT_RESPONSE {}
2333 #[cfg(feature = "Win32_Foundation")]
2334 impl ::core
::clone
::Clone
for KERB_RETRIEVE_TKT_RESPONSE
{
2335 fn clone(&self) -> Self {
2340 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2341 #[cfg(feature = "Win32_Foundation")]
2342 pub struct KERB_S4U2PROXY_CACHE_ENTRY_INFO
{
2343 pub ServerName
: super::super::super::Foundation
::UNICODE_STRING
,
2345 pub LastStatus
: super::super::super::Foundation
::NTSTATUS
,
2348 #[cfg(feature = "Win32_Foundation")]
2349 impl ::core
::marker
::Copy
for KERB_S4U2PROXY_CACHE_ENTRY_INFO {}
2350 #[cfg(feature = "Win32_Foundation")]
2351 impl ::core
::clone
::Clone
for KERB_S4U2PROXY_CACHE_ENTRY_INFO
{
2352 fn clone(&self) -> Self {
2356 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2357 pub const KERB_S4U2PROXY_CACHE_ENTRY_INFO_FLAG_NEGATIVE
: u32 = 1u32;
2359 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2360 #[cfg(feature = "Win32_Foundation")]
2361 pub struct KERB_S4U2PROXY_CRED
{
2362 pub UserName
: super::super::super::Foundation
::UNICODE_STRING
,
2363 pub DomainName
: super::super::super::Foundation
::UNICODE_STRING
,
2365 pub LastStatus
: super::super::super::Foundation
::NTSTATUS
,
2367 pub CountOfEntries
: u32,
2368 pub Entries
: *mut KERB_S4U2PROXY_CACHE_ENTRY_INFO
,
2370 #[cfg(feature = "Win32_Foundation")]
2371 impl ::core
::marker
::Copy
for KERB_S4U2PROXY_CRED {}
2372 #[cfg(feature = "Win32_Foundation")]
2373 impl ::core
::clone
::Clone
for KERB_S4U2PROXY_CRED
{
2374 fn clone(&self) -> Self {
2378 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2379 pub const KERB_S4U2PROXY_CRED_FLAG_NEGATIVE
: u32 = 1u32;
2381 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2382 #[cfg(feature = "Win32_Foundation")]
2383 pub struct KERB_S4U_LOGON
{
2384 pub MessageType
: KERB_LOGON_SUBMIT_TYPE
,
2386 pub ClientUpn
: super::super::super::Foundation
::UNICODE_STRING
,
2387 pub ClientRealm
: super::super::super::Foundation
::UNICODE_STRING
,
2389 #[cfg(feature = "Win32_Foundation")]
2390 impl ::core
::marker
::Copy
for KERB_S4U_LOGON {}
2391 #[cfg(feature = "Win32_Foundation")]
2392 impl ::core
::clone
::Clone
for KERB_S4U_LOGON
{
2393 fn clone(&self) -> Self {
2397 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2398 pub const KERB_S4U_LOGON_FLAG_CHECK_LOGONHOURS
: u32 = 2u32;
2399 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2400 pub const KERB_S4U_LOGON_FLAG_IDENTIFY
: u32 = 8u32;
2402 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
2403 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
2404 pub struct KERB_SETPASSWORD_EX_REQUEST
{
2405 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
2406 pub LogonId
: super::super::super::Foundation
::LUID
,
2407 pub CredentialsHandle
: super::super::Credentials
::SecHandle
,
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,
2418 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
2419 impl ::core
::marker
::Copy
for KERB_SETPASSWORD_EX_REQUEST {}
2420 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
2421 impl ::core
::clone
::Clone
for KERB_SETPASSWORD_EX_REQUEST
{
2422 fn clone(&self) -> Self {
2427 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
2428 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
2429 pub struct KERB_SETPASSWORD_REQUEST
{
2430 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
2431 pub LogonId
: super::super::super::Foundation
::LUID
,
2432 pub CredentialsHandle
: super::super::Credentials
::SecHandle
,
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
,
2438 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
2439 impl ::core
::marker
::Copy
for KERB_SETPASSWORD_REQUEST {}
2440 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
2441 impl ::core
::clone
::Clone
for KERB_SETPASSWORD_REQUEST
{
2442 fn clone(&self) -> Self {
2446 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2447 pub const KERB_SETPASS_USE_CREDHANDLE
: u32 = 2u32;
2448 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2449 pub const KERB_SETPASS_USE_LOGONID
: u32 = 1u32;
2451 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2452 #[cfg(feature = "Win32_Foundation")]
2453 pub struct KERB_SMART_CARD_LOGON
{
2454 pub MessageType
: KERB_LOGON_SUBMIT_TYPE
,
2455 pub Pin
: super::super::super::Foundation
::UNICODE_STRING
,
2456 pub CspDataLength
: u32,
2457 pub CspData
: *mut u8,
2459 #[cfg(feature = "Win32_Foundation")]
2460 impl ::core
::marker
::Copy
for KERB_SMART_CARD_LOGON {}
2461 #[cfg(feature = "Win32_Foundation")]
2462 impl ::core
::clone
::Clone
for KERB_SMART_CARD_LOGON
{
2463 fn clone(&self) -> Self {
2468 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2469 #[cfg(feature = "Win32_Foundation")]
2470 pub struct KERB_SMART_CARD_PROFILE
{
2471 pub Profile
: KERB_INTERACTIVE_PROFILE
,
2472 pub CertificateSize
: u32,
2473 pub CertificateData
: *mut u8,
2475 #[cfg(feature = "Win32_Foundation")]
2476 impl ::core
::marker
::Copy
for KERB_SMART_CARD_PROFILE {}
2477 #[cfg(feature = "Win32_Foundation")]
2478 impl ::core
::clone
::Clone
for KERB_SMART_CARD_PROFILE
{
2479 fn clone(&self) -> Self {
2484 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2485 #[cfg(feature = "Win32_Foundation")]
2486 pub struct KERB_SMART_CARD_UNLOCK_LOGON
{
2487 pub Logon
: KERB_SMART_CARD_LOGON
,
2488 pub LogonId
: super::super::super::Foundation
::LUID
,
2490 #[cfg(feature = "Win32_Foundation")]
2491 impl ::core
::marker
::Copy
for KERB_SMART_CARD_UNLOCK_LOGON {}
2492 #[cfg(feature = "Win32_Foundation")]
2493 impl ::core
::clone
::Clone
for KERB_SMART_CARD_UNLOCK_LOGON
{
2494 fn clone(&self) -> Self {
2499 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2500 #[cfg(feature = "Win32_Foundation")]
2501 pub struct KERB_SUBMIT_TKT_REQUEST
{
2502 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
2503 pub LogonId
: super::super::super::Foundation
::LUID
,
2505 pub Key
: KERB_CRYPTO_KEY32
,
2506 pub KerbCredSize
: u32,
2507 pub KerbCredOffset
: u32,
2509 #[cfg(feature = "Win32_Foundation")]
2510 impl ::core
::marker
::Copy
for KERB_SUBMIT_TKT_REQUEST {}
2511 #[cfg(feature = "Win32_Foundation")]
2512 impl ::core
::clone
::Clone
for KERB_SUBMIT_TKT_REQUEST
{
2513 fn clone(&self) -> Self {
2518 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2519 #[cfg(feature = "Win32_Foundation")]
2520 pub struct KERB_TICKET_CACHE_INFO
{
2521 pub ServerName
: super::super::super::Foundation
::UNICODE_STRING
,
2522 pub RealmName
: super::super::super::Foundation
::UNICODE_STRING
,
2526 pub EncryptionType
: i32,
2527 pub TicketFlags
: KERB_TICKET_FLAGS
,
2529 #[cfg(feature = "Win32_Foundation")]
2530 impl ::core
::marker
::Copy
for KERB_TICKET_CACHE_INFO {}
2531 #[cfg(feature = "Win32_Foundation")]
2532 impl ::core
::clone
::Clone
for KERB_TICKET_CACHE_INFO
{
2533 fn clone(&self) -> Self {
2538 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2539 #[cfg(feature = "Win32_Foundation")]
2540 pub struct KERB_TICKET_CACHE_INFO_EX
{
2541 pub ClientName
: super::super::super::Foundation
::UNICODE_STRING
,
2542 pub ClientRealm
: super::super::super::Foundation
::UNICODE_STRING
,
2543 pub ServerName
: super::super::super::Foundation
::UNICODE_STRING
,
2544 pub ServerRealm
: super::super::super::Foundation
::UNICODE_STRING
,
2548 pub EncryptionType
: i32,
2549 pub TicketFlags
: u32,
2551 #[cfg(feature = "Win32_Foundation")]
2552 impl ::core
::marker
::Copy
for KERB_TICKET_CACHE_INFO_EX {}
2553 #[cfg(feature = "Win32_Foundation")]
2554 impl ::core
::clone
::Clone
for KERB_TICKET_CACHE_INFO_EX
{
2555 fn clone(&self) -> Self {
2560 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2561 #[cfg(feature = "Win32_Foundation")]
2562 pub struct KERB_TICKET_CACHE_INFO_EX2
{
2563 pub ClientName
: super::super::super::Foundation
::UNICODE_STRING
,
2564 pub ClientRealm
: super::super::super::Foundation
::UNICODE_STRING
,
2565 pub ServerName
: super::super::super::Foundation
::UNICODE_STRING
,
2566 pub ServerRealm
: super::super::super::Foundation
::UNICODE_STRING
,
2570 pub EncryptionType
: i32,
2571 pub TicketFlags
: u32,
2572 pub SessionKeyType
: u32,
2575 #[cfg(feature = "Win32_Foundation")]
2576 impl ::core
::marker
::Copy
for KERB_TICKET_CACHE_INFO_EX2 {}
2577 #[cfg(feature = "Win32_Foundation")]
2578 impl ::core
::clone
::Clone
for KERB_TICKET_CACHE_INFO_EX2
{
2579 fn clone(&self) -> Self {
2584 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2585 #[cfg(feature = "Win32_Foundation")]
2586 pub struct KERB_TICKET_CACHE_INFO_EX3
{
2587 pub ClientName
: super::super::super::Foundation
::UNICODE_STRING
,
2588 pub ClientRealm
: super::super::super::Foundation
::UNICODE_STRING
,
2589 pub ServerName
: super::super::super::Foundation
::UNICODE_STRING
,
2590 pub ServerRealm
: super::super::super::Foundation
::UNICODE_STRING
,
2594 pub EncryptionType
: i32,
2595 pub TicketFlags
: u32,
2596 pub SessionKeyType
: u32,
2598 pub CacheFlags
: u32,
2599 pub KdcCalled
: super::super::super::Foundation
::UNICODE_STRING
,
2601 #[cfg(feature = "Win32_Foundation")]
2602 impl ::core
::marker
::Copy
for KERB_TICKET_CACHE_INFO_EX3 {}
2603 #[cfg(feature = "Win32_Foundation")]
2604 impl ::core
::clone
::Clone
for KERB_TICKET_CACHE_INFO_EX3
{
2605 fn clone(&self) -> Self {
2609 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2610 pub type KERB_TICKET_FLAGS
= u32;
2611 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2612 pub const KERB_TICKET_FLAGS_forwardable
: KERB_TICKET_FLAGS
= 1073741824u32;
2613 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2614 pub const KERB_TICKET_FLAGS_forwarded
: KERB_TICKET_FLAGS
= 536870912u32;
2615 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2616 pub const KERB_TICKET_FLAGS_hw_authent
: KERB_TICKET_FLAGS
= 1048576u32;
2617 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2618 pub const KERB_TICKET_FLAGS_initial
: KERB_TICKET_FLAGS
= 4194304u32;
2619 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2620 pub const KERB_TICKET_FLAGS_invalid
: KERB_TICKET_FLAGS
= 16777216u32;
2621 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2622 pub const KERB_TICKET_FLAGS_may_postdate
: KERB_TICKET_FLAGS
= 67108864u32;
2623 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2624 pub const KERB_TICKET_FLAGS_ok_as_delegate
: KERB_TICKET_FLAGS
= 262144u32;
2625 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2626 pub const KERB_TICKET_FLAGS_postdated
: KERB_TICKET_FLAGS
= 33554432u32;
2627 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2628 pub const KERB_TICKET_FLAGS_pre_authent
: KERB_TICKET_FLAGS
= 2097152u32;
2629 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2630 pub const KERB_TICKET_FLAGS_proxiable
: KERB_TICKET_FLAGS
= 268435456u32;
2631 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2632 pub const KERB_TICKET_FLAGS_proxy
: KERB_TICKET_FLAGS
= 134217728u32;
2633 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2634 pub const KERB_TICKET_FLAGS_renewable
: KERB_TICKET_FLAGS
= 8388608u32;
2635 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2636 pub const KERB_TICKET_FLAGS_reserved
: KERB_TICKET_FLAGS
= 2147483648u32;
2637 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2638 pub const KERB_TICKET_FLAGS_reserved1
: KERB_TICKET_FLAGS
= 1u32;
2639 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2640 pub const KERB_TICKET_FLAGS_cname_in_pa_data
: u32 = 262144u32;
2641 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2642 pub const KERB_TICKET_FLAGS_enc_pa_rep
: u32 = 65536u32;
2643 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2644 pub const KERB_TICKET_FLAGS_name_canonicalize
: u32 = 65536u32;
2646 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2647 pub struct KERB_TICKET_LOGON
{
2648 pub MessageType
: KERB_LOGON_SUBMIT_TYPE
,
2650 pub ServiceTicketLength
: u32,
2651 pub TicketGrantingTicketLength
: u32,
2652 pub ServiceTicket
: *mut u8,
2653 pub TicketGrantingTicket
: *mut u8,
2655 impl ::core
::marker
::Copy
for KERB_TICKET_LOGON {}
2656 impl ::core
::clone
::Clone
for KERB_TICKET_LOGON
{
2657 fn clone(&self) -> Self {
2662 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2663 #[cfg(feature = "Win32_Foundation")]
2664 pub struct KERB_TICKET_PROFILE
{
2665 pub Profile
: KERB_INTERACTIVE_PROFILE
,
2666 pub SessionKey
: KERB_CRYPTO_KEY
,
2668 #[cfg(feature = "Win32_Foundation")]
2669 impl ::core
::marker
::Copy
for KERB_TICKET_PROFILE {}
2670 #[cfg(feature = "Win32_Foundation")]
2671 impl ::core
::clone
::Clone
for KERB_TICKET_PROFILE
{
2672 fn clone(&self) -> Self {
2677 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2678 #[cfg(feature = "Win32_Foundation")]
2679 pub struct KERB_TICKET_UNLOCK_LOGON
{
2680 pub Logon
: KERB_TICKET_LOGON
,
2681 pub LogonId
: super::super::super::Foundation
::LUID
,
2683 #[cfg(feature = "Win32_Foundation")]
2684 impl ::core
::marker
::Copy
for KERB_TICKET_UNLOCK_LOGON {}
2685 #[cfg(feature = "Win32_Foundation")]
2686 impl ::core
::clone
::Clone
for KERB_TICKET_UNLOCK_LOGON
{
2687 fn clone(&self) -> Self {
2691 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2692 pub const KERB_TRANSFER_CRED_CLEANUP_CREDENTIALS
: u32 = 2u32;
2694 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2695 #[cfg(feature = "Win32_Foundation")]
2696 pub struct KERB_TRANSFER_CRED_REQUEST
{
2697 pub MessageType
: KERB_PROTOCOL_MESSAGE_TYPE
,
2698 pub OriginLogonId
: super::super::super::Foundation
::LUID
,
2699 pub DestinationLogonId
: super::super::super::Foundation
::LUID
,
2702 #[cfg(feature = "Win32_Foundation")]
2703 impl ::core
::marker
::Copy
for KERB_TRANSFER_CRED_REQUEST {}
2704 #[cfg(feature = "Win32_Foundation")]
2705 impl ::core
::clone
::Clone
for KERB_TRANSFER_CRED_REQUEST
{
2706 fn clone(&self) -> Self {
2710 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2711 pub const KERB_TRANSFER_CRED_WITH_TICKETS
: u32 = 1u32;
2712 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2713 pub const KERB_USE_DEFAULT_TICKET_FLAGS
: u32 = 0u32;
2714 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2715 pub const KERB_WRAP_NO_ENCRYPT
: u32 = 2147483649u32;
2716 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2717 pub const KERN_CONTEXT_CERT_INFO_V1
: u32 = 0u32;
2718 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2719 pub const KRB_ANONYMOUS_STRING
: &str = "ANONYMOUS";
2720 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2721 pub const KRB_NT_ENTERPRISE_PRINCIPAL
: u32 = 10u32;
2722 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2723 pub const KRB_NT_ENT_PRINCIPAL_AND_ID
: i32 = -130i32;
2724 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2725 pub const KRB_NT_MS_BRANCH_ID
: i32 = -133i32;
2726 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2727 pub const KRB_NT_MS_PRINCIPAL
: i32 = -128i32;
2728 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2729 pub const KRB_NT_MS_PRINCIPAL_AND_ID
: i32 = -129i32;
2730 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2731 pub const KRB_NT_PRINCIPAL
: u32 = 1u32;
2732 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2733 pub const KRB_NT_PRINCIPAL_AND_ID
: i32 = -131i32;
2734 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2735 pub const KRB_NT_SRV_HST
: u32 = 3u32;
2736 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2737 pub const KRB_NT_SRV_INST
: u32 = 2u32;
2738 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2739 pub const KRB_NT_SRV_INST_AND_ID
: i32 = -132i32;
2740 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2741 pub const KRB_NT_SRV_XHST
: u32 = 4u32;
2742 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2743 pub const KRB_NT_UID
: u32 = 5u32;
2744 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2745 pub const KRB_NT_UNKNOWN
: u32 = 0u32;
2746 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2747 pub const KRB_NT_WELLKNOWN
: u32 = 11u32;
2748 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2749 pub const KRB_NT_X500_PRINCIPAL
: u32 = 6u32;
2750 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2751 pub const KRB_WELLKNOWN_STRING
: &str = "WELLKNOWN";
2752 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2753 pub type KSEC_CONTEXT_TYPE
= i32;
2754 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2755 pub const KSecPaged
: KSEC_CONTEXT_TYPE
= 0i32;
2756 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2757 pub const KSecNonPaged
: KSEC_CONTEXT_TYPE
= 1i32;
2759 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_System_Kernel\"`*"]
2760 #[cfg(feature = "Win32_System_Kernel")]
2761 pub struct KSEC_LIST_ENTRY
{
2762 pub List
: super::super::super::System
::Kernel
::LIST_ENTRY
,
2765 pub OwningList
: *mut ::core
::ffi
::c_void
,
2766 pub Reserved
: *mut ::core
::ffi
::c_void
,
2768 #[cfg(feature = "Win32_System_Kernel")]
2769 impl ::core
::marker
::Copy
for KSEC_LIST_ENTRY {}
2770 #[cfg(feature = "Win32_System_Kernel")]
2771 impl ::core
::clone
::Clone
for KSEC_LIST_ENTRY
{
2772 fn clone(&self) -> Self {
2776 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2777 #[cfg(feature = "Win32_Foundation")]
2778 pub type KspCompleteTokenFn
= ::core
::option
::Option
<unsafe extern "system" fn(contextid
: usize, token
: *const SecBufferDesc
) -> super::super::super::Foundation
::NTSTATUS
>;
2779 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2780 #[cfg(feature = "Win32_Foundation")]
2781 pub type KspDeleteContextFn
= ::core
::option
::Option
<unsafe extern "system" fn(contextid
: usize, lsacontextid
: *mut usize) -> super::super::super::Foundation
::NTSTATUS
>;
2782 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2783 #[cfg(feature = "Win32_Foundation")]
2784 pub type KspGetTokenFn
= ::core
::option
::Option
<unsafe extern "system" fn(contextid
: usize, impersonationtoken
: *mut super::super::super::Foundation
::HANDLE
, rawtoken
: *mut *mut ::core
::ffi
::c_void
) -> super::super::super::Foundation
::NTSTATUS
>;
2785 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2786 #[cfg(feature = "Win32_Foundation")]
2787 pub type KspInitContextFn
= ::core
::option
::Option
<unsafe extern "system" fn(contextid
: usize, contextdata
: *const SecBuffer
, newcontextid
: *mut usize) -> super::super::super::Foundation
::NTSTATUS
>;
2788 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
2789 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
2790 pub type KspInitPackageFn
= ::core
::option
::Option
<unsafe extern "system" fn(functiontable
: *const SECPKG_KERNEL_FUNCTIONS
) -> super::super::super::Foundation
::NTSTATUS
>;
2791 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2792 #[cfg(feature = "Win32_Foundation")]
2793 pub type KspMakeSignatureFn
= ::core
::option
::Option
<unsafe extern "system" fn(contextid
: usize, fqop
: u32, message
: *const SecBufferDesc
, messageseqno
: u32) -> super::super::super::Foundation
::NTSTATUS
>;
2794 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2795 #[cfg(feature = "Win32_Foundation")]
2796 pub type KspMapHandleFn
= ::core
::option
::Option
<unsafe extern "system" fn(contextid
: usize, lsacontextid
: *mut usize) -> super::super::super::Foundation
::NTSTATUS
>;
2797 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2798 #[cfg(feature = "Win32_Foundation")]
2799 pub type KspQueryAttributesFn
= ::core
::option
::Option
<unsafe extern "system" fn(contextid
: usize, attribute
: u32, buffer
: *mut ::core
::ffi
::c_void
) -> super::super::super::Foundation
::NTSTATUS
>;
2800 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2801 #[cfg(feature = "Win32_Foundation")]
2802 pub type KspSealMessageFn
= ::core
::option
::Option
<unsafe extern "system" fn(contextid
: usize, fqop
: u32, message
: *const SecBufferDesc
, messageseqno
: u32) -> super::super::super::Foundation
::NTSTATUS
>;
2803 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2804 #[cfg(feature = "Win32_Foundation")]
2805 pub type KspSerializeAuthDataFn
= ::core
::option
::Option
<unsafe extern "system" fn(pvauthdata
: *const ::core
::ffi
::c_void
, size
: *mut u32, serializeddata
: *mut *mut ::core
::ffi
::c_void
) -> super::super::super::Foundation
::NTSTATUS
>;
2806 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2807 #[cfg(feature = "Win32_Foundation")]
2808 pub type KspSetPagingModeFn
= ::core
::option
::Option
<unsafe extern "system" fn(pagingmode
: super::super::super::Foundation
::BOOLEAN
) -> super::super::super::Foundation
::NTSTATUS
>;
2809 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2810 #[cfg(feature = "Win32_Foundation")]
2811 pub type KspUnsealMessageFn
= ::core
::option
::Option
<unsafe extern "system" fn(contextid
: usize, message
: *const SecBufferDesc
, messageseqno
: u32, pfqop
: *mut u32) -> super::super::super::Foundation
::NTSTATUS
>;
2812 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2813 #[cfg(feature = "Win32_Foundation")]
2814 pub type KspVerifySignatureFn
= ::core
::option
::Option
<unsafe extern "system" fn(contextid
: usize, message
: *const SecBufferDesc
, messageseqno
: u32, pfqop
: *mut u32) -> super::super::super::Foundation
::NTSTATUS
>;
2815 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2816 pub const LCRED_CRED_EXISTS
: u32 = 1u32;
2817 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2818 pub const LCRED_STATUS_NOCRED
: u32 = 0u32;
2819 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2820 pub const LCRED_STATUS_UNKNOWN_ISSUER
: u32 = 2u32;
2821 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2822 pub const LOGON_GRACE_LOGON
: u32 = 16777216u32;
2824 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2825 pub struct LOGON_HOURS
{
2826 pub UnitsPerWeek
: u16,
2827 pub LogonHours
: *mut u8,
2829 impl ::core
::marker
::Copy
for LOGON_HOURS {}
2830 impl ::core
::clone
::Clone
for LOGON_HOURS
{
2831 fn clone(&self) -> Self {
2835 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2836 pub const LOGON_LM_V2
: u32 = 4096u32;
2837 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2838 pub const LOGON_MANAGED_SERVICE
: u32 = 524288u32;
2839 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2840 pub const LOGON_NO_ELEVATION
: u32 = 262144u32;
2841 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2842 pub const LOGON_NO_OPTIMIZED
: u32 = 131072u32;
2843 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2844 pub const LOGON_NTLMV2_ENABLED
: u32 = 256u32;
2845 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2846 pub const LOGON_NTLM_V2
: u32 = 8192u32;
2847 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2848 pub const LOGON_NT_V2
: u32 = 2048u32;
2849 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2850 pub const LOGON_OPTIMIZED
: u32 = 16384u32;
2851 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2852 pub const LOGON_PKINIT
: u32 = 65536u32;
2853 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2854 pub const LOGON_WINLOGON
: u32 = 32768u32;
2855 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2856 pub const LOOKUP_TRANSLATE_NAMES
: u32 = 2048u32;
2857 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2858 pub const LOOKUP_VIEW_LOCAL_INFORMATION
: u32 = 1u32;
2859 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2860 pub const LSASETCAPS_RELOAD_FLAG
: u32 = 1u32;
2861 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2862 pub const LSASETCAPS_VALID_FLAG_MASK
: u32 = 1u32;
2863 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2864 pub const LSA_ADT_LEGACY_SECURITY_SOURCE_NAME
: &str = "Security";
2865 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2866 pub const LSA_ADT_SECURITY_SOURCE_NAME
: &str = "Microsoft-Windows-Security-Auditing";
2867 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2868 pub const LSA_AP_NAME_CALL_PACKAGE
: &str = "LsaApCallPackage\u{0}";
2869 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2870 pub const LSA_AP_NAME_CALL_PACKAGE_PASSTHROUGH
: &str = "LsaApCallPackagePassthrough\u{0}";
2871 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2872 pub const LSA_AP_NAME_CALL_PACKAGE_UNTRUSTED
: &str = "LsaApCallPackageUntrusted\u{0}";
2873 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2874 pub const LSA_AP_NAME_INITIALIZE_PACKAGE
: &str = "LsaApInitializePackage\u{0}";
2875 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2876 pub const LSA_AP_NAME_LOGON_TERMINATED
: &str = "LsaApLogonTerminated\u{0}";
2877 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2878 pub const LSA_AP_NAME_LOGON_USER
: &str = "LsaApLogonUser\u{0}";
2879 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2880 pub const LSA_AP_NAME_LOGON_USER_EX
: &str = "LsaApLogonUserEx\u{0}";
2881 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2882 pub const LSA_AP_NAME_LOGON_USER_EX2
: &str = "LsaApLogonUserEx2\u{0}";
2883 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2884 #[cfg(feature = "Win32_Foundation")]
2885 pub type LSA_AP_POST_LOGON_USER
= ::core
::option
::Option
<unsafe extern "system" fn(postlogonuserinfo
: *const SECPKG_POST_LOGON_USER_INFO
) -> super::super::super::Foundation
::NTSTATUS
>;
2887 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2888 pub struct LSA_AUTH_INFORMATION
{
2889 pub LastUpdateTime
: i64,
2890 pub AuthType
: LSA_AUTH_INFORMATION_AUTH_TYPE
,
2891 pub AuthInfoLength
: u32,
2892 pub AuthInfo
: *mut u8,
2894 impl ::core
::marker
::Copy
for LSA_AUTH_INFORMATION {}
2895 impl ::core
::clone
::Clone
for LSA_AUTH_INFORMATION
{
2896 fn clone(&self) -> Self {
2900 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2901 pub type LSA_AUTH_INFORMATION_AUTH_TYPE
= u32;
2902 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2903 pub const TRUST_AUTH_TYPE_NONE
: LSA_AUTH_INFORMATION_AUTH_TYPE
= 0u32;
2904 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2905 pub const TRUST_AUTH_TYPE_NT4OWF
: LSA_AUTH_INFORMATION_AUTH_TYPE
= 1u32;
2906 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2907 pub const TRUST_AUTH_TYPE_CLEAR
: LSA_AUTH_INFORMATION_AUTH_TYPE
= 2u32;
2908 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2909 pub const TRUST_AUTH_TYPE_VERSION
: LSA_AUTH_INFORMATION_AUTH_TYPE
= 3u32;
2910 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2911 pub const LSA_CALL_LICENSE_SERVER
: u32 = 2147483648u32;
2913 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
2914 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
2915 pub struct LSA_DISPATCH_TABLE
{
2916 pub CreateLogonSession
: PLSA_CREATE_LOGON_SESSION
,
2917 pub DeleteLogonSession
: PLSA_DELETE_LOGON_SESSION
,
2918 pub AddCredential
: PLSA_ADD_CREDENTIAL
,
2919 pub GetCredentials
: PLSA_GET_CREDENTIALS
,
2920 pub DeleteCredential
: PLSA_DELETE_CREDENTIAL
,
2921 pub AllocateLsaHeap
: PLSA_ALLOCATE_LSA_HEAP
,
2922 pub FreeLsaHeap
: PLSA_FREE_LSA_HEAP
,
2923 pub AllocateClientBuffer
: PLSA_ALLOCATE_CLIENT_BUFFER
,
2924 pub FreeClientBuffer
: PLSA_FREE_CLIENT_BUFFER
,
2925 pub CopyToClientBuffer
: PLSA_COPY_TO_CLIENT_BUFFER
,
2926 pub CopyFromClientBuffer
: PLSA_COPY_FROM_CLIENT_BUFFER
,
2928 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
2929 impl ::core
::marker
::Copy
for LSA_DISPATCH_TABLE {}
2930 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
2931 impl ::core
::clone
::Clone
for LSA_DISPATCH_TABLE
{
2932 fn clone(&self) -> Self {
2937 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2938 #[cfg(feature = "Win32_Foundation")]
2939 pub struct LSA_ENUMERATION_INFORMATION
{
2940 pub Sid
: super::super::super::Foundation
::PSID
,
2942 #[cfg(feature = "Win32_Foundation")]
2943 impl ::core
::marker
::Copy
for LSA_ENUMERATION_INFORMATION {}
2944 #[cfg(feature = "Win32_Foundation")]
2945 impl ::core
::clone
::Clone
for LSA_ENUMERATION_INFORMATION
{
2946 fn clone(&self) -> Self {
2951 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2952 pub struct LSA_FOREST_TRUST_BINARY_DATA
{
2954 pub Buffer
: *mut u8,
2956 impl ::core
::marker
::Copy
for LSA_FOREST_TRUST_BINARY_DATA {}
2957 impl ::core
::clone
::Clone
for LSA_FOREST_TRUST_BINARY_DATA
{
2958 fn clone(&self) -> Self {
2963 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2964 #[cfg(feature = "Win32_Foundation")]
2965 pub struct LSA_FOREST_TRUST_COLLISION_INFORMATION
{
2966 pub RecordCount
: u32,
2967 pub Entries
: *mut *mut LSA_FOREST_TRUST_COLLISION_RECORD
,
2969 #[cfg(feature = "Win32_Foundation")]
2970 impl ::core
::marker
::Copy
for LSA_FOREST_TRUST_COLLISION_INFORMATION {}
2971 #[cfg(feature = "Win32_Foundation")]
2972 impl ::core
::clone
::Clone
for LSA_FOREST_TRUST_COLLISION_INFORMATION
{
2973 fn clone(&self) -> Self {
2978 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
2979 #[cfg(feature = "Win32_Foundation")]
2980 pub struct LSA_FOREST_TRUST_COLLISION_RECORD
{
2982 pub Type
: LSA_FOREST_TRUST_COLLISION_RECORD_TYPE
,
2984 pub Name
: super::super::super::Foundation
::UNICODE_STRING
,
2986 #[cfg(feature = "Win32_Foundation")]
2987 impl ::core
::marker
::Copy
for LSA_FOREST_TRUST_COLLISION_RECORD {}
2988 #[cfg(feature = "Win32_Foundation")]
2989 impl ::core
::clone
::Clone
for LSA_FOREST_TRUST_COLLISION_RECORD
{
2990 fn clone(&self) -> Self {
2994 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2995 pub type LSA_FOREST_TRUST_COLLISION_RECORD_TYPE
= i32;
2996 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2997 pub const CollisionTdo
: LSA_FOREST_TRUST_COLLISION_RECORD_TYPE
= 0i32;
2998 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
2999 pub const CollisionXref
: LSA_FOREST_TRUST_COLLISION_RECORD_TYPE
= 1i32;
3000 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3001 pub const CollisionOther
: LSA_FOREST_TRUST_COLLISION_RECORD_TYPE
= 2i32;
3003 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
3004 #[cfg(feature = "Win32_Foundation")]
3005 pub struct LSA_FOREST_TRUST_DOMAIN_INFO
{
3006 pub Sid
: super::super::super::Foundation
::PSID
,
3007 pub DnsName
: super::super::super::Foundation
::UNICODE_STRING
,
3008 pub NetbiosName
: super::super::super::Foundation
::UNICODE_STRING
,
3010 #[cfg(feature = "Win32_Foundation")]
3011 impl ::core
::marker
::Copy
for LSA_FOREST_TRUST_DOMAIN_INFO {}
3012 #[cfg(feature = "Win32_Foundation")]
3013 impl ::core
::clone
::Clone
for LSA_FOREST_TRUST_DOMAIN_INFO
{
3014 fn clone(&self) -> Self {
3019 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
3020 #[cfg(feature = "Win32_Foundation")]
3021 pub struct LSA_FOREST_TRUST_INFORMATION
{
3022 pub RecordCount
: u32,
3023 pub Entries
: *mut *mut LSA_FOREST_TRUST_RECORD
,
3025 #[cfg(feature = "Win32_Foundation")]
3026 impl ::core
::marker
::Copy
for LSA_FOREST_TRUST_INFORMATION {}
3027 #[cfg(feature = "Win32_Foundation")]
3028 impl ::core
::clone
::Clone
for LSA_FOREST_TRUST_INFORMATION
{
3029 fn clone(&self) -> Self {
3034 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
3035 #[cfg(feature = "Win32_Foundation")]
3036 pub struct LSA_FOREST_TRUST_RECORD
{
3038 pub ForestTrustType
: LSA_FOREST_TRUST_RECORD_TYPE
,
3040 pub ForestTrustData
: LSA_FOREST_TRUST_RECORD_0
,
3042 #[cfg(feature = "Win32_Foundation")]
3043 impl ::core
::marker
::Copy
for LSA_FOREST_TRUST_RECORD {}
3044 #[cfg(feature = "Win32_Foundation")]
3045 impl ::core
::clone
::Clone
for LSA_FOREST_TRUST_RECORD
{
3046 fn clone(&self) -> Self {
3051 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
3052 #[cfg(feature = "Win32_Foundation")]
3053 pub union LSA_FOREST_TRUST_RECORD_0
{
3054 pub TopLevelName
: super::super::super::Foundation
::UNICODE_STRING
,
3055 pub DomainInfo
: LSA_FOREST_TRUST_DOMAIN_INFO
,
3056 pub Data
: LSA_FOREST_TRUST_BINARY_DATA
,
3058 #[cfg(feature = "Win32_Foundation")]
3059 impl ::core
::marker
::Copy
for LSA_FOREST_TRUST_RECORD_0 {}
3060 #[cfg(feature = "Win32_Foundation")]
3061 impl ::core
::clone
::Clone
for LSA_FOREST_TRUST_RECORD_0
{
3062 fn clone(&self) -> Self {
3066 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3067 pub type LSA_FOREST_TRUST_RECORD_TYPE
= i32;
3068 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3069 pub const ForestTrustTopLevelName
: LSA_FOREST_TRUST_RECORD_TYPE
= 0i32;
3070 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3071 pub const ForestTrustTopLevelNameEx
: LSA_FOREST_TRUST_RECORD_TYPE
= 1i32;
3072 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3073 pub const ForestTrustDomainInfo
: LSA_FOREST_TRUST_RECORD_TYPE
= 2i32;
3074 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3075 pub const ForestTrustRecordTypeLast
: LSA_FOREST_TRUST_RECORD_TYPE
= 2i32;
3076 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3077 pub const LSA_FOREST_TRUST_RECORD_TYPE_UNRECOGNIZED
: u32 = 2147483648u32;
3078 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3079 pub const LSA_FTRECORD_DISABLED_REASONS
: i32 = 65535i32;
3080 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3081 pub const LSA_GLOBAL_SECRET_PREFIX
: &str = "G$";
3082 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3083 pub const LSA_GLOBAL_SECRET_PREFIX_LENGTH
: u32 = 2u32;
3085 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3086 pub struct LSA_LAST_INTER_LOGON_INFO
{
3087 pub LastSuccessfulLogon
: i64,
3088 pub LastFailedLogon
: i64,
3089 pub FailedAttemptCountSinceLastSuccessfulLogon
: u32,
3091 impl ::core
::marker
::Copy
for LSA_LAST_INTER_LOGON_INFO {}
3092 impl ::core
::clone
::Clone
for LSA_LAST_INTER_LOGON_INFO
{
3093 fn clone(&self) -> Self {
3097 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3098 pub const LSA_LOCAL_SECRET_PREFIX
: &str = "L$";
3099 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3100 pub const LSA_LOCAL_SECRET_PREFIX_LENGTH
: u32 = 2u32;
3101 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3102 pub const LSA_LOOKUP_DISALLOW_CONNECTED_ACCOUNT_INTERNET_SID
: u32 = 2147483648u32;
3103 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3104 pub type LSA_LOOKUP_DOMAIN_INFO_CLASS
= i32;
3105 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3106 pub const AccountDomainInformation
: LSA_LOOKUP_DOMAIN_INFO_CLASS
= 5i32;
3107 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3108 pub const DnsDomainInformation
: LSA_LOOKUP_DOMAIN_INFO_CLASS
= 12i32;
3109 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3110 pub const LSA_LOOKUP_ISOLATED_AS_LOCAL
: u32 = 2147483648u32;
3111 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3112 pub const LSA_LOOKUP_PREFER_INTERNET_NAMES
: u32 = 1073741824u32;
3113 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3114 pub const LSA_MACHINE_SECRET_PREFIX
: &str = "M$";
3115 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3116 pub const LSA_MAXIMUM_ENUMERATION_LENGTH
: u32 = 32000u32;
3117 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3118 pub const LSA_MAXIMUM_SID_COUNT
: i32 = 256i32;
3119 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3120 pub const LSA_MODE_INDIVIDUAL_ACCOUNTS
: i32 = 2i32;
3121 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3122 pub const LSA_MODE_LOG_FULL
: i32 = 8i32;
3123 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3124 pub const LSA_MODE_MANDATORY_ACCESS
: i32 = 4i32;
3125 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3126 pub const LSA_MODE_PASSWORD_PROTECTED
: i32 = 1i32;
3127 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3128 pub const LSA_NB_DISABLED_ADMIN
: i32 = 4i32;
3129 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3130 pub const LSA_NB_DISABLED_CONFLICT
: i32 = 8i32;
3131 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3132 pub const LSA_QUERY_CLIENT_PRELOGON_SESSION_ID
: u32 = 1u32;
3134 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
3135 #[cfg(feature = "Win32_Foundation")]
3136 pub struct LSA_REFERENCED_DOMAIN_LIST
{
3138 pub Domains
: *mut LSA_TRUST_INFORMATION
,
3140 #[cfg(feature = "Win32_Foundation")]
3141 impl ::core
::marker
::Copy
for LSA_REFERENCED_DOMAIN_LIST {}
3142 #[cfg(feature = "Win32_Foundation")]
3143 impl ::core
::clone
::Clone
for LSA_REFERENCED_DOMAIN_LIST
{
3144 fn clone(&self) -> Self {
3149 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Threading\"`*"]
3150 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
3151 pub struct LSA_SECPKG_FUNCTION_TABLE
{
3152 pub CreateLogonSession
: PLSA_CREATE_LOGON_SESSION
,
3153 pub DeleteLogonSession
: PLSA_DELETE_LOGON_SESSION
,
3154 pub AddCredential
: PLSA_ADD_CREDENTIAL
,
3155 pub GetCredentials
: PLSA_GET_CREDENTIALS
,
3156 pub DeleteCredential
: PLSA_DELETE_CREDENTIAL
,
3157 pub AllocateLsaHeap
: PLSA_ALLOCATE_LSA_HEAP
,
3158 pub FreeLsaHeap
: PLSA_FREE_LSA_HEAP
,
3159 pub AllocateClientBuffer
: PLSA_ALLOCATE_CLIENT_BUFFER
,
3160 pub FreeClientBuffer
: PLSA_FREE_CLIENT_BUFFER
,
3161 pub CopyToClientBuffer
: PLSA_COPY_TO_CLIENT_BUFFER
,
3162 pub CopyFromClientBuffer
: PLSA_COPY_FROM_CLIENT_BUFFER
,
3163 pub ImpersonateClient
: PLSA_IMPERSONATE_CLIENT
,
3164 pub UnloadPackage
: PLSA_UNLOAD_PACKAGE
,
3165 pub DuplicateHandle
: PLSA_DUPLICATE_HANDLE
,
3166 pub SaveSupplementalCredentials
: PLSA_SAVE_SUPPLEMENTAL_CREDENTIALS
,
3167 pub CreateThread
: PLSA_CREATE_THREAD
,
3168 pub GetClientInfo
: PLSA_GET_CLIENT_INFO
,
3169 pub RegisterNotification
: PLSA_REGISTER_NOTIFICATION
,
3170 pub CancelNotification
: PLSA_CANCEL_NOTIFICATION
,
3171 pub MapBuffer
: PLSA_MAP_BUFFER
,
3172 pub CreateToken
: PLSA_CREATE_TOKEN
,
3173 pub AuditLogon
: PLSA_AUDIT_LOGON
,
3174 pub CallPackage
: PLSA_CALL_PACKAGE
,
3175 pub FreeReturnBuffer
: PLSA_FREE_LSA_HEAP
,
3176 pub GetCallInfo
: PLSA_GET_CALL_INFO
,
3177 pub CallPackageEx
: PLSA_CALL_PACKAGEEX
,
3178 pub CreateSharedMemory
: PLSA_CREATE_SHARED_MEMORY
,
3179 pub AllocateSharedMemory
: PLSA_ALLOCATE_SHARED_MEMORY
,
3180 pub FreeSharedMemory
: PLSA_FREE_SHARED_MEMORY
,
3181 pub DeleteSharedMemory
: PLSA_DELETE_SHARED_MEMORY
,
3182 pub OpenSamUser
: PLSA_OPEN_SAM_USER
,
3183 pub GetUserCredentials
: PLSA_GET_USER_CREDENTIALS
,
3184 pub GetUserAuthData
: PLSA_GET_USER_AUTH_DATA
,
3185 pub CloseSamUser
: PLSA_CLOSE_SAM_USER
,
3186 pub ConvertAuthDataToToken
: PLSA_CONVERT_AUTH_DATA_TO_TOKEN
,
3187 pub ClientCallback
: PLSA_CLIENT_CALLBACK
,
3188 pub UpdateCredentials
: PLSA_UPDATE_PRIMARY_CREDENTIALS
,
3189 pub GetAuthDataForUser
: PLSA_GET_AUTH_DATA_FOR_USER
,
3190 pub CrackSingleName
: PLSA_CRACK_SINGLE_NAME
,
3191 pub AuditAccountLogon
: PLSA_AUDIT_ACCOUNT_LOGON
,
3192 pub CallPackagePassthrough
: PLSA_CALL_PACKAGE_PASSTHROUGH
,
3193 pub CrediRead
: CredReadFn
,
3194 pub CrediReadDomainCredentials
: CredReadDomainCredentialsFn
,
3195 pub CrediFreeCredentials
: CredFreeCredentialsFn
,
3196 pub LsaProtectMemory
: PLSA_PROTECT_MEMORY
,
3197 pub LsaUnprotectMemory
: PLSA_PROTECT_MEMORY
,
3198 pub OpenTokenByLogonId
: PLSA_OPEN_TOKEN_BY_LOGON_ID
,
3199 pub ExpandAuthDataForDomain
: PLSA_EXPAND_AUTH_DATA_FOR_DOMAIN
,
3200 pub AllocatePrivateHeap
: PLSA_ALLOCATE_PRIVATE_HEAP
,
3201 pub FreePrivateHeap
: PLSA_FREE_PRIVATE_HEAP
,
3202 pub CreateTokenEx
: PLSA_CREATE_TOKEN_EX
,
3203 pub CrediWrite
: CredWriteFn
,
3204 pub CrediUnmarshalandDecodeString
: CrediUnmarshalandDecodeStringFn
,
3205 pub DummyFunction6
: PLSA_PROTECT_MEMORY
,
3206 pub GetExtendedCallFlags
: PLSA_GET_EXTENDED_CALL_FLAGS
,
3207 pub DuplicateTokenHandle
: PLSA_DUPLICATE_HANDLE
,
3208 pub GetServiceAccountPassword
: PLSA_GET_SERVICE_ACCOUNT_PASSWORD
,
3209 pub DummyFunction7
: PLSA_PROTECT_MEMORY
,
3210 pub AuditLogonEx
: PLSA_AUDIT_LOGON_EX
,
3211 pub CheckProtectedUserByToken
: PLSA_CHECK_PROTECTED_USER_BY_TOKEN
,
3212 pub QueryClientRequest
: PLSA_QUERY_CLIENT_REQUEST
,
3213 pub GetAppModeInfo
: PLSA_GET_APP_MODE_INFO
,
3214 pub SetAppModeInfo
: PLSA_SET_APP_MODE_INFO
,
3216 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
3217 impl ::core
::marker
::Copy
for LSA_SECPKG_FUNCTION_TABLE {}
3218 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
3219 impl ::core
::clone
::Clone
for LSA_SECPKG_FUNCTION_TABLE
{
3220 fn clone(&self) -> Self {
3224 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3225 pub const LSA_SECRET_MAXIMUM_COUNT
: i32 = 4096i32;
3226 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3227 pub const LSA_SECRET_MAXIMUM_LENGTH
: i32 = 512i32;
3228 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3229 pub const LSA_SID_DISABLED_ADMIN
: i32 = 1i32;
3230 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3231 pub const LSA_SID_DISABLED_CONFLICT
: i32 = 2i32;
3232 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3233 pub const LSA_TLN_DISABLED_ADMIN
: i32 = 2i32;
3234 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3235 pub const LSA_TLN_DISABLED_CONFLICT
: i32 = 4i32;
3236 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3237 pub const LSA_TLN_DISABLED_NEW
: i32 = 1i32;
3239 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
3240 #[cfg(feature = "Win32_Foundation")]
3241 pub struct LSA_TOKEN_INFORMATION_NULL
{
3242 pub ExpirationTime
: i64,
3243 pub Groups
: *mut super::super::TOKEN_GROUPS
,
3245 #[cfg(feature = "Win32_Foundation")]
3246 impl ::core
::marker
::Copy
for LSA_TOKEN_INFORMATION_NULL {}
3247 #[cfg(feature = "Win32_Foundation")]
3248 impl ::core
::clone
::Clone
for LSA_TOKEN_INFORMATION_NULL
{
3249 fn clone(&self) -> Self {
3253 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3254 pub type LSA_TOKEN_INFORMATION_TYPE
= i32;
3255 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3256 pub const LsaTokenInformationNull
: LSA_TOKEN_INFORMATION_TYPE
= 0i32;
3257 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3258 pub const LsaTokenInformationV1
: LSA_TOKEN_INFORMATION_TYPE
= 1i32;
3259 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3260 pub const LsaTokenInformationV2
: LSA_TOKEN_INFORMATION_TYPE
= 2i32;
3261 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3262 pub const LsaTokenInformationV3
: LSA_TOKEN_INFORMATION_TYPE
= 3i32;
3264 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
3265 #[cfg(feature = "Win32_Foundation")]
3266 pub struct LSA_TOKEN_INFORMATION_V1
{
3267 pub ExpirationTime
: i64,
3268 pub User
: super::super::TOKEN_USER
,
3269 pub Groups
: *mut super::super::TOKEN_GROUPS
,
3270 pub PrimaryGroup
: super::super::TOKEN_PRIMARY_GROUP
,
3271 pub Privileges
: *mut super::super::TOKEN_PRIVILEGES
,
3272 pub Owner
: super::super::TOKEN_OWNER
,
3273 pub DefaultDacl
: super::super::TOKEN_DEFAULT_DACL
,
3275 #[cfg(feature = "Win32_Foundation")]
3276 impl ::core
::marker
::Copy
for LSA_TOKEN_INFORMATION_V1 {}
3277 #[cfg(feature = "Win32_Foundation")]
3278 impl ::core
::clone
::Clone
for LSA_TOKEN_INFORMATION_V1
{
3279 fn clone(&self) -> Self {
3284 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
3285 #[cfg(feature = "Win32_Foundation")]
3286 pub struct LSA_TOKEN_INFORMATION_V3
{
3287 pub ExpirationTime
: i64,
3288 pub User
: super::super::TOKEN_USER
,
3289 pub Groups
: *mut super::super::TOKEN_GROUPS
,
3290 pub PrimaryGroup
: super::super::TOKEN_PRIMARY_GROUP
,
3291 pub Privileges
: *mut super::super::TOKEN_PRIVILEGES
,
3292 pub Owner
: super::super::TOKEN_OWNER
,
3293 pub DefaultDacl
: super::super::TOKEN_DEFAULT_DACL
,
3294 pub UserClaims
: super::super::TOKEN_USER_CLAIMS
,
3295 pub DeviceClaims
: super::super::TOKEN_DEVICE_CLAIMS
,
3296 pub DeviceGroups
: *mut super::super::TOKEN_GROUPS
,
3298 #[cfg(feature = "Win32_Foundation")]
3299 impl ::core
::marker
::Copy
for LSA_TOKEN_INFORMATION_V3 {}
3300 #[cfg(feature = "Win32_Foundation")]
3301 impl ::core
::clone
::Clone
for LSA_TOKEN_INFORMATION_V3
{
3302 fn clone(&self) -> Self {
3307 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
3308 #[cfg(feature = "Win32_Foundation")]
3309 pub struct LSA_TRANSLATED_NAME
{
3310 pub Use
: super::super::SID_NAME_USE
,
3311 pub Name
: super::super::super::Foundation
::UNICODE_STRING
,
3312 pub DomainIndex
: i32,
3314 #[cfg(feature = "Win32_Foundation")]
3315 impl ::core
::marker
::Copy
for LSA_TRANSLATED_NAME {}
3316 #[cfg(feature = "Win32_Foundation")]
3317 impl ::core
::clone
::Clone
for LSA_TRANSLATED_NAME
{
3318 fn clone(&self) -> Self {
3323 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3324 pub struct LSA_TRANSLATED_SID
{
3325 pub Use
: super::super::SID_NAME_USE
,
3326 pub RelativeId
: u32,
3327 pub DomainIndex
: i32,
3329 impl ::core
::marker
::Copy
for LSA_TRANSLATED_SID {}
3330 impl ::core
::clone
::Clone
for LSA_TRANSLATED_SID
{
3331 fn clone(&self) -> Self {
3336 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
3337 #[cfg(feature = "Win32_Foundation")]
3338 pub struct LSA_TRANSLATED_SID2
{
3339 pub Use
: super::super::SID_NAME_USE
,
3340 pub Sid
: super::super::super::Foundation
::PSID
,
3341 pub DomainIndex
: i32,
3344 #[cfg(feature = "Win32_Foundation")]
3345 impl ::core
::marker
::Copy
for LSA_TRANSLATED_SID2 {}
3346 #[cfg(feature = "Win32_Foundation")]
3347 impl ::core
::clone
::Clone
for LSA_TRANSLATED_SID2
{
3348 fn clone(&self) -> Self {
3353 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
3354 #[cfg(feature = "Win32_Foundation")]
3355 pub struct LSA_TRUST_INFORMATION
{
3356 pub Name
: super::super::super::Foundation
::UNICODE_STRING
,
3357 pub Sid
: super::super::super::Foundation
::PSID
,
3359 #[cfg(feature = "Win32_Foundation")]
3360 impl ::core
::marker
::Copy
for LSA_TRUST_INFORMATION {}
3361 #[cfg(feature = "Win32_Foundation")]
3362 impl ::core
::clone
::Clone
for LSA_TRUST_INFORMATION
{
3363 fn clone(&self) -> Self {
3367 pub type LsaHandle
= isize;
3368 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
3369 #[cfg(feature = "Win32_Security_Credentials")]
3370 pub type MAKE_SIGNATURE_FN
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut super::super::Credentials
::SecHandle
, param1
: u32, param2
: *mut SecBufferDesc
, param3
: u32) -> ::windows_sys
::core
::HRESULT
>;
3371 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3372 pub const MAXIMUM_CAPES_PER_CAP
: u32 = 127u32;
3373 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3374 pub const MAX_CRED_SIZE
: u32 = 1024u32;
3375 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3376 pub const MAX_PROTOCOL_ID_SIZE
: u32 = 255u32;
3377 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3378 pub const MAX_RECORDS_IN_FOREST_TRUST_INFO
: u32 = 4000u32;
3379 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3380 pub const MAX_USER_RECORDS
: u32 = 1000u32;
3381 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3382 pub const MICROSOFT_KERBEROS_NAME
: &str = "Kerberos";
3383 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3384 pub const MICROSOFT_KERBEROS_NAME_A
: &str = "Kerberos";
3385 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3386 pub const MICROSOFT_KERBEROS_NAME_W
: &str = "Kerberos";
3387 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3388 pub type MSV1_0
= u32;
3389 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3390 pub const MSV1_0_PASSTHRU
: MSV1_0
= 1u32;
3391 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3392 pub const MSV1_0_GUEST_LOGON
: MSV1_0
= 2u32;
3393 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3394 pub const MSV1_0_ALLOW_FORCE_GUEST
: u32 = 8192u32;
3395 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3396 pub const MSV1_0_ALLOW_MSVCHAPV2
: u32 = 65536u32;
3397 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3398 pub type MSV1_0_AVID
= i32;
3399 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3400 pub const MsvAvEOL
: MSV1_0_AVID
= 0i32;
3401 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3402 pub const MsvAvNbComputerName
: MSV1_0_AVID
= 1i32;
3403 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3404 pub const MsvAvNbDomainName
: MSV1_0_AVID
= 2i32;
3405 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3406 pub const MsvAvDnsComputerName
: MSV1_0_AVID
= 3i32;
3407 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3408 pub const MsvAvDnsDomainName
: MSV1_0_AVID
= 4i32;
3409 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3410 pub const MsvAvDnsTreeName
: MSV1_0_AVID
= 5i32;
3411 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3412 pub const MsvAvFlags
: MSV1_0_AVID
= 6i32;
3413 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3414 pub const MsvAvTimestamp
: MSV1_0_AVID
= 7i32;
3415 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3416 pub const MsvAvRestrictions
: MSV1_0_AVID
= 8i32;
3417 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3418 pub const MsvAvTargetName
: MSV1_0_AVID
= 9i32;
3419 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3420 pub const MsvAvChannelBindings
: MSV1_0_AVID
= 10i32;
3421 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3422 pub const MSV1_0_AV_FLAG_FORCE_GUEST
: u32 = 1u32;
3423 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3424 pub const MSV1_0_AV_FLAG_MIC_HANDSHAKE_MESSAGES
: u32 = 2u32;
3425 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3426 pub const MSV1_0_AV_FLAG_UNVERIFIED_TARGET
: u32 = 4u32;
3428 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3429 pub struct MSV1_0_AV_PAIR
{
3433 impl ::core
::marker
::Copy
for MSV1_0_AV_PAIR {}
3434 impl ::core
::clone
::Clone
for MSV1_0_AV_PAIR
{
3435 fn clone(&self) -> Self {
3439 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3440 pub const MSV1_0_CHALLENGE_LENGTH
: u32 = 8u32;
3442 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
3443 #[cfg(feature = "Win32_Foundation")]
3444 pub struct MSV1_0_CHANGEPASSWORD_REQUEST
{
3445 pub MessageType
: MSV1_0_PROTOCOL_MESSAGE_TYPE
,
3446 pub DomainName
: super::super::super::Foundation
::UNICODE_STRING
,
3447 pub AccountName
: super::super::super::Foundation
::UNICODE_STRING
,
3448 pub OldPassword
: super::super::super::Foundation
::UNICODE_STRING
,
3449 pub NewPassword
: super::super::super::Foundation
::UNICODE_STRING
,
3450 pub Impersonating
: super::super::super::Foundation
::BOOLEAN
,
3452 #[cfg(feature = "Win32_Foundation")]
3453 impl ::core
::marker
::Copy
for MSV1_0_CHANGEPASSWORD_REQUEST {}
3454 #[cfg(feature = "Win32_Foundation")]
3455 impl ::core
::clone
::Clone
for MSV1_0_CHANGEPASSWORD_REQUEST
{
3456 fn clone(&self) -> Self {
3461 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
3462 #[cfg(feature = "Win32_Foundation")]
3463 pub struct MSV1_0_CHANGEPASSWORD_RESPONSE
{
3464 pub MessageType
: MSV1_0_PROTOCOL_MESSAGE_TYPE
,
3465 pub PasswordInfoValid
: super::super::super::Foundation
::BOOLEAN
,
3466 pub DomainPasswordInfo
: DOMAIN_PASSWORD_INFORMATION
,
3468 #[cfg(feature = "Win32_Foundation")]
3469 impl ::core
::marker
::Copy
for MSV1_0_CHANGEPASSWORD_RESPONSE {}
3470 #[cfg(feature = "Win32_Foundation")]
3471 impl ::core
::clone
::Clone
for MSV1_0_CHANGEPASSWORD_RESPONSE
{
3472 fn clone(&self) -> Self {
3476 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3477 pub const MSV1_0_CHECK_LOGONHOURS_FOR_S4U
: u32 = 262144u32;
3478 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3479 pub const MSV1_0_CLEARTEXT_PASSWORD_SUPPLIED
: u32 = 16384u32;
3481 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3482 pub struct MSV1_0_CREDENTIAL_KEY
{
3485 impl ::core
::marker
::Copy
for MSV1_0_CREDENTIAL_KEY {}
3486 impl ::core
::clone
::Clone
for MSV1_0_CREDENTIAL_KEY
{
3487 fn clone(&self) -> Self {
3491 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3492 pub const MSV1_0_CREDENTIAL_KEY_LENGTH
: u32 = 20u32;
3493 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3494 pub type MSV1_0_CREDENTIAL_KEY_TYPE
= i32;
3495 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3496 pub const InvalidCredKey
: MSV1_0_CREDENTIAL_KEY_TYPE
= 0i32;
3497 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3498 pub const DeprecatedIUMCredKey
: MSV1_0_CREDENTIAL_KEY_TYPE
= 1i32;
3499 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3500 pub const DomainUserCredKey
: MSV1_0_CREDENTIAL_KEY_TYPE
= 2i32;
3501 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3502 pub const LocalUserCredKey
: MSV1_0_CREDENTIAL_KEY_TYPE
= 3i32;
3503 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3504 pub const ExternallySuppliedCredKey
: MSV1_0_CREDENTIAL_KEY_TYPE
= 4i32;
3505 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3506 pub const MSV1_0_CRED_CREDKEY_PRESENT
: u32 = 8u32;
3507 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3508 pub const MSV1_0_CRED_REMOVED
: u32 = 4u32;
3509 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3510 pub const MSV1_0_CRED_SHA_PRESENT
: u32 = 16u32;
3511 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3512 pub const MSV1_0_CRED_VERSION_ARSO
: u32 = 4294901763u32;
3513 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3514 pub const MSV1_0_CRED_VERSION_INVALID
: u32 = 4294967295u32;
3515 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3516 pub const MSV1_0_CRED_VERSION_IUM
: u32 = 4294901761u32;
3517 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3518 pub const MSV1_0_CRED_VERSION_REMOTE
: u32 = 4294901762u32;
3519 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3520 pub const MSV1_0_CRED_VERSION_RESERVED_1
: u32 = 4294967294u32;
3521 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3522 pub const MSV1_0_CRED_VERSION_V2
: u32 = 2u32;
3523 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3524 pub const MSV1_0_CRED_VERSION_V3
: u32 = 4u32;
3525 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3526 pub const MSV1_0_DISABLE_PERSONAL_FALLBACK
: u32 = 4096u32;
3528 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
3529 #[cfg(feature = "Win32_Foundation")]
3530 pub struct MSV1_0_INTERACTIVE_LOGON
{
3531 pub MessageType
: MSV1_0_LOGON_SUBMIT_TYPE
,
3532 pub LogonDomainName
: super::super::super::Foundation
::UNICODE_STRING
,
3533 pub UserName
: super::super::super::Foundation
::UNICODE_STRING
,
3534 pub Password
: super::super::super::Foundation
::UNICODE_STRING
,
3536 #[cfg(feature = "Win32_Foundation")]
3537 impl ::core
::marker
::Copy
for MSV1_0_INTERACTIVE_LOGON {}
3538 #[cfg(feature = "Win32_Foundation")]
3539 impl ::core
::clone
::Clone
for MSV1_0_INTERACTIVE_LOGON
{
3540 fn clone(&self) -> Self {
3545 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
3546 #[cfg(feature = "Win32_Foundation")]
3547 pub struct MSV1_0_INTERACTIVE_PROFILE
{
3548 pub MessageType
: MSV1_0_PROFILE_BUFFER_TYPE
,
3549 pub LogonCount
: u16,
3550 pub BadPasswordCount
: u16,
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
,
3565 #[cfg(feature = "Win32_Foundation")]
3566 impl ::core
::marker
::Copy
for MSV1_0_INTERACTIVE_PROFILE {}
3567 #[cfg(feature = "Win32_Foundation")]
3568 impl ::core
::clone
::Clone
for MSV1_0_INTERACTIVE_PROFILE
{
3569 fn clone(&self) -> Self {
3573 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3574 pub const MSV1_0_INTERNET_DOMAIN
: u32 = 524288u32;
3576 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3577 pub struct MSV1_0_IUM_SUPPLEMENTAL_CREDENTIAL
{
3579 pub EncryptedCredsSize
: u32,
3580 pub EncryptedCreds
: [u8; 1],
3582 impl ::core
::marker
::Copy
for MSV1_0_IUM_SUPPLEMENTAL_CREDENTIAL {}
3583 impl ::core
::clone
::Clone
for MSV1_0_IUM_SUPPLEMENTAL_CREDENTIAL
{
3584 fn clone(&self) -> Self {
3588 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3589 pub const MSV1_0_LANMAN_SESSION_KEY_LENGTH
: u32 = 8u32;
3591 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
3592 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
3593 pub struct MSV1_0_LM20_LOGON
{
3594 pub MessageType
: MSV1_0_LOGON_SUBMIT_TYPE
,
3595 pub LogonDomainName
: super::super::super::Foundation
::UNICODE_STRING
,
3596 pub UserName
: super::super::super::Foundation
::UNICODE_STRING
,
3597 pub Workstation
: super::super::super::Foundation
::UNICODE_STRING
,
3598 pub ChallengeToClient
: [u8; 8],
3599 pub CaseSensitiveChallengeResponse
: super::super::super::System
::Kernel
::STRING
,
3600 pub CaseInsensitiveChallengeResponse
: super::super::super::System
::Kernel
::STRING
,
3601 pub ParameterControl
: u32,
3603 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
3604 impl ::core
::marker
::Copy
for MSV1_0_LM20_LOGON {}
3605 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
3606 impl ::core
::clone
::Clone
for MSV1_0_LM20_LOGON
{
3607 fn clone(&self) -> Self {
3612 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
3613 #[cfg(feature = "Win32_Foundation")]
3614 pub struct MSV1_0_LM20_LOGON_PROFILE
{
3615 pub MessageType
: MSV1_0_PROFILE_BUFFER_TYPE
,
3616 pub KickOffTime
: i64,
3617 pub LogoffTime
: i64,
3618 pub UserFlags
: MSV_SUB_AUTHENTICATION_FILTER
,
3619 pub UserSessionKey
: [u8; 16],
3620 pub LogonDomainName
: super::super::super::Foundation
::UNICODE_STRING
,
3621 pub LanmanSessionKey
: [u8; 8],
3622 pub LogonServer
: super::super::super::Foundation
::UNICODE_STRING
,
3623 pub UserParameters
: super::super::super::Foundation
::UNICODE_STRING
,
3625 #[cfg(feature = "Win32_Foundation")]
3626 impl ::core
::marker
::Copy
for MSV1_0_LM20_LOGON_PROFILE {}
3627 #[cfg(feature = "Win32_Foundation")]
3628 impl ::core
::clone
::Clone
for MSV1_0_LM20_LOGON_PROFILE
{
3629 fn clone(&self) -> Self {
3633 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3634 pub type MSV1_0_LOGON_SUBMIT_TYPE
= i32;
3635 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3636 pub const MsV1_0InteractiveLogon
: MSV1_0_LOGON_SUBMIT_TYPE
= 2i32;
3637 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3638 pub const MsV1_0Lm20Logon
: MSV1_0_LOGON_SUBMIT_TYPE
= 3i32;
3639 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3640 pub const MsV1_0NetworkLogon
: MSV1_0_LOGON_SUBMIT_TYPE
= 4i32;
3641 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3642 pub const MsV1_0SubAuthLogon
: MSV1_0_LOGON_SUBMIT_TYPE
= 5i32;
3643 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3644 pub const MsV1_0WorkstationUnlockLogon
: MSV1_0_LOGON_SUBMIT_TYPE
= 7i32;
3645 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3646 pub const MsV1_0S4ULogon
: MSV1_0_LOGON_SUBMIT_TYPE
= 12i32;
3647 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3648 pub const MsV1_0VirtualLogon
: MSV1_0_LOGON_SUBMIT_TYPE
= 82i32;
3649 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3650 pub const MsV1_0NoElevationLogon
: MSV1_0_LOGON_SUBMIT_TYPE
= 83i32;
3651 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3652 pub const MsV1_0LuidLogon
: MSV1_0_LOGON_SUBMIT_TYPE
= 84i32;
3653 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3654 pub const MSV1_0_MAX_AVL_SIZE
: u32 = 64000u32;
3655 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3656 pub const MSV1_0_MAX_NTLM3_LIFE
: u32 = 1800u32;
3657 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3658 pub const MSV1_0_MNS_LOGON
: u32 = 16777216u32;
3659 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3660 pub const MSV1_0_NTLM3_OWF_LENGTH
: u32 = 16u32;
3662 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3663 pub struct MSV1_0_NTLM3_RESPONSE
{
3664 pub Response
: [u8; 16],
3670 pub ChallengeFromClient
: [u8; 8],
3671 pub AvPairsOff
: u32,
3672 pub Buffer
: [u8; 1],
3674 impl ::core
::marker
::Copy
for MSV1_0_NTLM3_RESPONSE {}
3675 impl ::core
::clone
::Clone
for MSV1_0_NTLM3_RESPONSE
{
3676 fn clone(&self) -> Self {
3680 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3681 pub const MSV1_0_NTLM3_RESPONSE_LENGTH
: u32 = 16u32;
3682 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3683 pub const MSV1_0_OWF_PASSWORD_LENGTH
: u32 = 16u32;
3684 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3685 pub const MSV1_0_PACKAGE_NAME
: &str = "MICROSOFT_AUTHENTICATION_PACKAGE_V1_0";
3686 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3687 pub const MSV1_0_PACKAGE_NAMEW
: &str = "MICROSOFT_AUTHENTICATION_PACKAGE_V1_0";
3689 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
3690 #[cfg(feature = "Win32_Foundation")]
3691 pub struct MSV1_0_PASSTHROUGH_REQUEST
{
3692 pub MessageType
: MSV1_0_PROTOCOL_MESSAGE_TYPE
,
3693 pub DomainName
: super::super::super::Foundation
::UNICODE_STRING
,
3694 pub PackageName
: super::super::super::Foundation
::UNICODE_STRING
,
3695 pub DataLength
: u32,
3696 pub LogonData
: *mut u8,
3699 #[cfg(feature = "Win32_Foundation")]
3700 impl ::core
::marker
::Copy
for MSV1_0_PASSTHROUGH_REQUEST {}
3701 #[cfg(feature = "Win32_Foundation")]
3702 impl ::core
::clone
::Clone
for MSV1_0_PASSTHROUGH_REQUEST
{
3703 fn clone(&self) -> Self {
3708 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3709 pub struct MSV1_0_PASSTHROUGH_RESPONSE
{
3710 pub MessageType
: MSV1_0_PROTOCOL_MESSAGE_TYPE
,
3712 pub DataLength
: u32,
3713 pub ValidationData
: *mut u8,
3715 impl ::core
::marker
::Copy
for MSV1_0_PASSTHROUGH_RESPONSE {}
3716 impl ::core
::clone
::Clone
for MSV1_0_PASSTHROUGH_RESPONSE
{
3717 fn clone(&self) -> Self {
3721 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3722 pub type MSV1_0_PROFILE_BUFFER_TYPE
= i32;
3723 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3724 pub const MsV1_0InteractiveProfile
: MSV1_0_PROFILE_BUFFER_TYPE
= 2i32;
3725 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3726 pub const MsV1_0Lm20LogonProfile
: MSV1_0_PROFILE_BUFFER_TYPE
= 3i32;
3727 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3728 pub const MsV1_0SmartCardProfile
: MSV1_0_PROFILE_BUFFER_TYPE
= 4i32;
3729 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3730 pub type MSV1_0_PROTOCOL_MESSAGE_TYPE
= i32;
3731 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3732 pub const MsV1_0Lm20ChallengeRequest
: MSV1_0_PROTOCOL_MESSAGE_TYPE
= 0i32;
3733 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3734 pub const MsV1_0Lm20GetChallengeResponse
: MSV1_0_PROTOCOL_MESSAGE_TYPE
= 1i32;
3735 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3736 pub const MsV1_0EnumerateUsers
: MSV1_0_PROTOCOL_MESSAGE_TYPE
= 2i32;
3737 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3738 pub const MsV1_0GetUserInfo
: MSV1_0_PROTOCOL_MESSAGE_TYPE
= 3i32;
3739 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3740 pub const MsV1_0ReLogonUsers
: MSV1_0_PROTOCOL_MESSAGE_TYPE
= 4i32;
3741 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3742 pub const MsV1_0ChangePassword
: MSV1_0_PROTOCOL_MESSAGE_TYPE
= 5i32;
3743 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3744 pub const MsV1_0ChangeCachedPassword
: MSV1_0_PROTOCOL_MESSAGE_TYPE
= 6i32;
3745 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3746 pub const MsV1_0GenericPassthrough
: MSV1_0_PROTOCOL_MESSAGE_TYPE
= 7i32;
3747 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3748 pub const MsV1_0CacheLogon
: MSV1_0_PROTOCOL_MESSAGE_TYPE
= 8i32;
3749 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3750 pub const MsV1_0SubAuth
: MSV1_0_PROTOCOL_MESSAGE_TYPE
= 9i32;
3751 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3752 pub const MsV1_0DeriveCredential
: MSV1_0_PROTOCOL_MESSAGE_TYPE
= 10i32;
3753 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3754 pub const MsV1_0CacheLookup
: MSV1_0_PROTOCOL_MESSAGE_TYPE
= 11i32;
3755 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3756 pub const MsV1_0SetProcessOption
: MSV1_0_PROTOCOL_MESSAGE_TYPE
= 12i32;
3757 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3758 pub const MsV1_0ConfigLocalAliases
: MSV1_0_PROTOCOL_MESSAGE_TYPE
= 13i32;
3759 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3760 pub const MsV1_0ClearCachedCredentials
: MSV1_0_PROTOCOL_MESSAGE_TYPE
= 14i32;
3761 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3762 pub const MsV1_0LookupToken
: MSV1_0_PROTOCOL_MESSAGE_TYPE
= 15i32;
3763 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3764 pub const MsV1_0ValidateAuth
: MSV1_0_PROTOCOL_MESSAGE_TYPE
= 16i32;
3765 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3766 pub const MsV1_0CacheLookupEx
: MSV1_0_PROTOCOL_MESSAGE_TYPE
= 17i32;
3767 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3768 pub const MsV1_0GetCredentialKey
: MSV1_0_PROTOCOL_MESSAGE_TYPE
= 18i32;
3769 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3770 pub const MsV1_0SetThreadOption
: MSV1_0_PROTOCOL_MESSAGE_TYPE
= 19i32;
3771 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3772 pub const MsV1_0DecryptDpapiMasterKey
: MSV1_0_PROTOCOL_MESSAGE_TYPE
= 20i32;
3773 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3774 pub const MsV1_0GetStrongCredentialKey
: MSV1_0_PROTOCOL_MESSAGE_TYPE
= 21i32;
3775 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3776 pub const MsV1_0TransferCred
: MSV1_0_PROTOCOL_MESSAGE_TYPE
= 22i32;
3777 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3778 pub const MsV1_0ProvisionTbal
: MSV1_0_PROTOCOL_MESSAGE_TYPE
= 23i32;
3779 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3780 pub const MsV1_0DeleteTbalSecrets
: MSV1_0_PROTOCOL_MESSAGE_TYPE
= 24i32;
3781 #[repr(C, packed(1))]
3782 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3783 pub struct MSV1_0_REMOTE_SUPPLEMENTAL_CREDENTIAL
{
3786 pub CredentialKey
: MSV1_0_CREDENTIAL_KEY
,
3787 pub CredentialKeyType
: MSV1_0_CREDENTIAL_KEY_TYPE
,
3788 pub EncryptedCredsSize
: u32,
3789 pub EncryptedCreds
: [u8; 1],
3791 impl ::core
::marker
::Copy
for MSV1_0_REMOTE_SUPPLEMENTAL_CREDENTIAL {}
3792 impl ::core
::clone
::Clone
for MSV1_0_REMOTE_SUPPLEMENTAL_CREDENTIAL
{
3793 fn clone(&self) -> Self {
3797 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3798 pub const MSV1_0_S4U2SELF
: u32 = 131072u32;
3800 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
3801 #[cfg(feature = "Win32_Foundation")]
3802 pub struct MSV1_0_S4U_LOGON
{
3803 pub MessageType
: MSV1_0_LOGON_SUBMIT_TYPE
,
3805 pub UserPrincipalName
: super::super::super::Foundation
::UNICODE_STRING
,
3806 pub DomainName
: super::super::super::Foundation
::UNICODE_STRING
,
3808 #[cfg(feature = "Win32_Foundation")]
3809 impl ::core
::marker
::Copy
for MSV1_0_S4U_LOGON {}
3810 #[cfg(feature = "Win32_Foundation")]
3811 impl ::core
::clone
::Clone
for MSV1_0_S4U_LOGON
{
3812 fn clone(&self) -> Self {
3816 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3817 pub const MSV1_0_S4U_LOGON_FLAG_CHECK_LOGONHOURS
: u32 = 2u32;
3818 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3819 pub const MSV1_0_SHA_PASSWORD_LENGTH
: u32 = 20u32;
3820 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3821 pub const MSV1_0_SUBAUTHENTICATION_DLL
: u32 = 4278190080u32;
3822 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3823 pub const MSV1_0_SUBAUTHENTICATION_DLL_EX
: u32 = 1048576u32;
3824 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3825 pub const MSV1_0_SUBAUTHENTICATION_DLL_IIS
: u32 = 132u32;
3826 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3827 pub const MSV1_0_SUBAUTHENTICATION_DLL_RAS
: u32 = 2u32;
3828 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3829 pub const MSV1_0_SUBAUTHENTICATION_DLL_SHIFT
: u32 = 24u32;
3830 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3831 pub const MSV1_0_SUBAUTHENTICATION_FLAGS
: u32 = 4278190080u32;
3832 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3833 pub const MSV1_0_SUBAUTHENTICATION_KEY
: &str = "SYSTEM\\CurrentControlSet\\Control\\Lsa\\MSV1_0";
3834 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3835 pub const MSV1_0_SUBAUTHENTICATION_VALUE
: &str = "Auth";
3836 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3837 pub const MSV1_0_SUBAUTH_ACCOUNT_DISABLED
: u32 = 1u32;
3838 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3839 pub const MSV1_0_SUBAUTH_ACCOUNT_EXPIRY
: u32 = 16u32;
3840 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3841 pub const MSV1_0_SUBAUTH_ACCOUNT_TYPE
: u32 = 64u32;
3842 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3843 pub const MSV1_0_SUBAUTH_LOCKOUT
: u32 = 128u32;
3845 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
3846 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
3847 pub struct MSV1_0_SUBAUTH_LOGON
{
3848 pub MessageType
: MSV1_0_LOGON_SUBMIT_TYPE
,
3849 pub LogonDomainName
: super::super::super::Foundation
::UNICODE_STRING
,
3850 pub UserName
: super::super::super::Foundation
::UNICODE_STRING
,
3851 pub Workstation
: super::super::super::Foundation
::UNICODE_STRING
,
3852 pub ChallengeToClient
: [u8; 8],
3853 pub AuthenticationInfo1
: super::super::super::System
::Kernel
::STRING
,
3854 pub AuthenticationInfo2
: super::super::super::System
::Kernel
::STRING
,
3855 pub ParameterControl
: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL
,
3856 pub SubAuthPackageId
: u32,
3858 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
3859 impl ::core
::marker
::Copy
for MSV1_0_SUBAUTH_LOGON {}
3860 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
3861 impl ::core
::clone
::Clone
for MSV1_0_SUBAUTH_LOGON
{
3862 fn clone(&self) -> Self {
3866 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3867 pub const MSV1_0_SUBAUTH_LOGON_HOURS
: u32 = 8u32;
3868 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3869 pub const MSV1_0_SUBAUTH_PASSWORD
: u32 = 2u32;
3870 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3871 pub const MSV1_0_SUBAUTH_PASSWORD_EXPIRY
: u32 = 32u32;
3873 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3874 pub struct MSV1_0_SUBAUTH_REQUEST
{
3875 pub MessageType
: MSV1_0_PROTOCOL_MESSAGE_TYPE
,
3876 pub SubAuthPackageId
: u32,
3877 pub SubAuthInfoLength
: u32,
3878 pub SubAuthSubmitBuffer
: *mut u8,
3880 impl ::core
::marker
::Copy
for MSV1_0_SUBAUTH_REQUEST {}
3881 impl ::core
::clone
::Clone
for MSV1_0_SUBAUTH_REQUEST
{
3882 fn clone(&self) -> Self {
3887 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3888 pub struct MSV1_0_SUBAUTH_RESPONSE
{
3889 pub MessageType
: MSV1_0_PROTOCOL_MESSAGE_TYPE
,
3890 pub SubAuthInfoLength
: u32,
3891 pub SubAuthReturnBuffer
: *mut u8,
3893 impl ::core
::marker
::Copy
for MSV1_0_SUBAUTH_RESPONSE {}
3894 impl ::core
::clone
::Clone
for MSV1_0_SUBAUTH_RESPONSE
{
3895 fn clone(&self) -> Self {
3899 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3900 pub const MSV1_0_SUBAUTH_WORKSTATIONS
: u32 = 4u32;
3902 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3903 pub struct MSV1_0_SUPPLEMENTAL_CREDENTIAL
{
3905 pub Flags
: MSV_SUPPLEMENTAL_CREDENTIAL_FLAGS
,
3906 pub LmPassword
: [u8; 16],
3907 pub NtPassword
: [u8; 16],
3909 impl ::core
::marker
::Copy
for MSV1_0_SUPPLEMENTAL_CREDENTIAL {}
3910 impl ::core
::clone
::Clone
for MSV1_0_SUPPLEMENTAL_CREDENTIAL
{
3911 fn clone(&self) -> Self {
3916 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3917 pub struct MSV1_0_SUPPLEMENTAL_CREDENTIAL_V2
{
3920 pub NtPassword
: [u8; 16],
3921 pub CredentialKey
: MSV1_0_CREDENTIAL_KEY
,
3923 impl ::core
::marker
::Copy
for MSV1_0_SUPPLEMENTAL_CREDENTIAL_V2 {}
3924 impl ::core
::clone
::Clone
for MSV1_0_SUPPLEMENTAL_CREDENTIAL_V2
{
3925 fn clone(&self) -> Self {
3930 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3931 pub struct MSV1_0_SUPPLEMENTAL_CREDENTIAL_V3
{
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],
3939 impl ::core
::marker
::Copy
for MSV1_0_SUPPLEMENTAL_CREDENTIAL_V3 {}
3940 impl ::core
::clone
::Clone
for MSV1_0_SUPPLEMENTAL_CREDENTIAL_V3
{
3941 fn clone(&self) -> Self {
3945 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3946 pub const MSV1_0_USER_SESSION_KEY_LENGTH
: u32 = 16u32;
3947 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3948 pub const MSV1_0_USE_CLIENT_CHALLENGE
: u32 = 128u32;
3949 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3950 pub const MSV1_0_USE_DOMAIN_FOR_ROUTING_ONLY
: u32 = 32768u32;
3952 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_PasswordManagement\"`*"]
3953 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
3954 pub struct MSV1_0_VALIDATION_INFO
{
3955 pub LogoffTime
: i64,
3956 pub KickoffTime
: i64,
3957 pub LogonServer
: super::super::super::Foundation
::UNICODE_STRING
,
3958 pub LogonDomainName
: super::super::super::Foundation
::UNICODE_STRING
,
3959 pub SessionKey
: USER_SESSION_KEY
,
3960 pub Authoritative
: super::super::super::Foundation
::BOOLEAN
,
3962 pub WhichFields
: u32,
3965 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
3966 impl ::core
::marker
::Copy
for MSV1_0_VALIDATION_INFO {}
3967 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
3968 impl ::core
::clone
::Clone
for MSV1_0_VALIDATION_INFO
{
3969 fn clone(&self) -> Self {
3973 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3974 pub const MSV1_0_VALIDATION_KICKOFF_TIME
: u32 = 2u32;
3975 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3976 pub const MSV1_0_VALIDATION_LOGOFF_TIME
: u32 = 1u32;
3977 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3978 pub const MSV1_0_VALIDATION_LOGON_DOMAIN
: u32 = 8u32;
3979 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3980 pub const MSV1_0_VALIDATION_LOGON_SERVER
: u32 = 4u32;
3981 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3982 pub const MSV1_0_VALIDATION_SESSION_KEY
: u32 = 16u32;
3983 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3984 pub const MSV1_0_VALIDATION_USER_FLAGS
: u32 = 32u32;
3985 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3986 pub const MSV1_0_VALIDATION_USER_ID
: u32 = 64u32;
3987 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3988 pub type MSV_SUBAUTH_LOGON_PARAMETER_CONTROL
= u32;
3989 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3990 pub const MSV1_0_CLEARTEXT_PASSWORD_ALLOWED
: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL
= 2u32;
3991 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3992 pub const MSV1_0_UPDATE_LOGON_STATISTICS
: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL
= 4u32;
3993 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3994 pub const MSV1_0_RETURN_USER_PARAMETERS
: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL
= 8u32;
3995 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3996 pub const MSV1_0_DONT_TRY_GUEST_ACCOUNT
: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL
= 16u32;
3997 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
3998 pub const MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT
: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL
= 32u32;
3999 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4000 pub const MSV1_0_RETURN_PASSWORD_EXPIRY
: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL
= 64u32;
4001 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4002 pub const MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT
: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL
= 2048u32;
4003 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4004 pub const MSV1_0_TRY_GUEST_ACCOUNT_ONLY
: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL
= 256u32;
4005 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4006 pub const MSV1_0_RETURN_PROFILE_PATH
: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL
= 512u32;
4007 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4008 pub const MSV1_0_TRY_SPECIFIED_DOMAIN_ONLY
: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL
= 1024u32;
4009 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4010 pub type MSV_SUB_AUTHENTICATION_FILTER
= u32;
4011 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4012 pub const LOGON_GUEST
: MSV_SUB_AUTHENTICATION_FILTER
= 1u32;
4013 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4014 pub const LOGON_NOENCRYPTION
: MSV_SUB_AUTHENTICATION_FILTER
= 2u32;
4015 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4016 pub const LOGON_CACHED_ACCOUNT
: MSV_SUB_AUTHENTICATION_FILTER
= 4u32;
4017 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4018 pub const LOGON_USED_LM_PASSWORD
: MSV_SUB_AUTHENTICATION_FILTER
= 8u32;
4019 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4020 pub const LOGON_EXTRA_SIDS
: MSV_SUB_AUTHENTICATION_FILTER
= 32u32;
4021 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4022 pub const LOGON_SUBAUTH_SESSION_KEY
: MSV_SUB_AUTHENTICATION_FILTER
= 64u32;
4023 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4024 pub const LOGON_SERVER_TRUST_ACCOUNT
: MSV_SUB_AUTHENTICATION_FILTER
= 128u32;
4025 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4026 pub const LOGON_PROFILE_PATH_RETURNED
: MSV_SUB_AUTHENTICATION_FILTER
= 1024u32;
4027 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4028 pub const LOGON_RESOURCE_GROUPS
: MSV_SUB_AUTHENTICATION_FILTER
= 512u32;
4029 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4030 pub type MSV_SUPPLEMENTAL_CREDENTIAL_FLAGS
= u32;
4031 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4032 pub const MSV1_0_CRED_LM_PRESENT
: MSV_SUPPLEMENTAL_CREDENTIAL_FLAGS
= 1u32;
4033 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4034 pub const MSV1_0_CRED_NT_PRESENT
: MSV_SUPPLEMENTAL_CREDENTIAL_FLAGS
= 2u32;
4035 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4036 pub const MSV1_0_CRED_VERSION
: MSV_SUPPLEMENTAL_CREDENTIAL_FLAGS
= 0u32;
4037 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4038 pub const NEGOSSP_NAME
: &str = "Negotiate";
4039 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4040 pub const NEGOSSP_NAME_A
: &str = "Negotiate";
4041 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4042 pub const NEGOSSP_NAME_W
: &str = "Negotiate";
4043 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4044 pub const NEGOTIATE_ALLOW_NTLM
: u32 = 268435456u32;
4046 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4047 #[cfg(feature = "Win32_Foundation")]
4048 pub struct NEGOTIATE_CALLER_NAME_REQUEST
{
4049 pub MessageType
: u32,
4050 pub LogonId
: super::super::super::Foundation
::LUID
,
4052 #[cfg(feature = "Win32_Foundation")]
4053 impl ::core
::marker
::Copy
for NEGOTIATE_CALLER_NAME_REQUEST {}
4054 #[cfg(feature = "Win32_Foundation")]
4055 impl ::core
::clone
::Clone
for NEGOTIATE_CALLER_NAME_REQUEST
{
4056 fn clone(&self) -> Self {
4061 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4062 pub struct NEGOTIATE_CALLER_NAME_RESPONSE
{
4063 pub MessageType
: u32,
4064 pub CallerName
: ::windows_sys
::core
::PWSTR
,
4066 impl ::core
::marker
::Copy
for NEGOTIATE_CALLER_NAME_RESPONSE {}
4067 impl ::core
::clone
::Clone
for NEGOTIATE_CALLER_NAME_RESPONSE
{
4068 fn clone(&self) -> Self {
4072 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4073 pub const NEGOTIATE_MAX_PREFIX
: u32 = 32u32;
4074 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4075 pub type NEGOTIATE_MESSAGES
= i32;
4076 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4077 pub const NegEnumPackagePrefixes
: NEGOTIATE_MESSAGES
= 0i32;
4078 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4079 pub const NegGetCallerName
: NEGOTIATE_MESSAGES
= 1i32;
4080 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4081 pub const NegTransferCredentials
: NEGOTIATE_MESSAGES
= 2i32;
4082 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4083 pub const NegMsgReserved1
: NEGOTIATE_MESSAGES
= 3i32;
4084 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4085 pub const NegCallPackageMax
: NEGOTIATE_MESSAGES
= 4i32;
4086 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4087 pub const NEGOTIATE_NEG_NTLM
: u32 = 536870912u32;
4089 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4090 pub struct NEGOTIATE_PACKAGE_PREFIX
{
4091 pub PackageId
: usize,
4092 pub PackageDataA
: *mut ::core
::ffi
::c_void
,
4093 pub PackageDataW
: *mut ::core
::ffi
::c_void
,
4094 pub PrefixLen
: usize,
4095 pub Prefix
: [u8; 32],
4097 impl ::core
::marker
::Copy
for NEGOTIATE_PACKAGE_PREFIX {}
4098 impl ::core
::clone
::Clone
for NEGOTIATE_PACKAGE_PREFIX
{
4099 fn clone(&self) -> Self {
4104 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4105 pub struct NEGOTIATE_PACKAGE_PREFIXES
{
4106 pub MessageType
: u32,
4107 pub PrefixCount
: u32,
4111 impl ::core
::marker
::Copy
for NEGOTIATE_PACKAGE_PREFIXES {}
4112 impl ::core
::clone
::Clone
for NEGOTIATE_PACKAGE_PREFIXES
{
4113 fn clone(&self) -> Self {
4118 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4119 #[cfg(feature = "Win32_Foundation")]
4120 pub struct NETLOGON_GENERIC_INFO
{
4121 pub Identity
: NETLOGON_LOGON_IDENTITY_INFO
,
4122 pub PackageName
: super::super::super::Foundation
::UNICODE_STRING
,
4123 pub DataLength
: u32,
4124 pub LogonData
: *mut u8,
4126 #[cfg(feature = "Win32_Foundation")]
4127 impl ::core
::marker
::Copy
for NETLOGON_GENERIC_INFO {}
4128 #[cfg(feature = "Win32_Foundation")]
4129 impl ::core
::clone
::Clone
for NETLOGON_GENERIC_INFO
{
4130 fn clone(&self) -> Self {
4135 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_PasswordManagement\"`*"]
4136 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
4137 pub struct NETLOGON_INTERACTIVE_INFO
{
4138 pub Identity
: NETLOGON_LOGON_IDENTITY_INFO
,
4139 pub LmOwfPassword
: super::super::super::System
::PasswordManagement
::LM_OWF_PASSWORD
,
4140 pub NtOwfPassword
: super::super::super::System
::PasswordManagement
::LM_OWF_PASSWORD
,
4142 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
4143 impl ::core
::marker
::Copy
for NETLOGON_INTERACTIVE_INFO {}
4144 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
4145 impl ::core
::clone
::Clone
for NETLOGON_INTERACTIVE_INFO
{
4146 fn clone(&self) -> Self {
4151 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4152 #[cfg(feature = "Win32_Foundation")]
4153 pub struct NETLOGON_LOGON_IDENTITY_INFO
{
4154 pub LogonDomainName
: super::super::super::Foundation
::UNICODE_STRING
,
4155 pub ParameterControl
: u32,
4157 pub UserName
: super::super::super::Foundation
::UNICODE_STRING
,
4158 pub Workstation
: super::super::super::Foundation
::UNICODE_STRING
,
4160 #[cfg(feature = "Win32_Foundation")]
4161 impl ::core
::marker
::Copy
for NETLOGON_LOGON_IDENTITY_INFO {}
4162 #[cfg(feature = "Win32_Foundation")]
4163 impl ::core
::clone
::Clone
for NETLOGON_LOGON_IDENTITY_INFO
{
4164 fn clone(&self) -> Self {
4168 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4169 pub type NETLOGON_LOGON_INFO_CLASS
= i32;
4170 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4171 pub const NetlogonInteractiveInformation
: NETLOGON_LOGON_INFO_CLASS
= 1i32;
4172 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4173 pub const NetlogonNetworkInformation
: NETLOGON_LOGON_INFO_CLASS
= 2i32;
4174 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4175 pub const NetlogonServiceInformation
: NETLOGON_LOGON_INFO_CLASS
= 3i32;
4176 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4177 pub const NetlogonGenericInformation
: NETLOGON_LOGON_INFO_CLASS
= 4i32;
4178 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4179 pub const NetlogonInteractiveTransitiveInformation
: NETLOGON_LOGON_INFO_CLASS
= 5i32;
4180 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4181 pub const NetlogonNetworkTransitiveInformation
: NETLOGON_LOGON_INFO_CLASS
= 6i32;
4182 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4183 pub const NetlogonServiceTransitiveInformation
: NETLOGON_LOGON_INFO_CLASS
= 7i32;
4185 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
4186 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
4187 pub struct NETLOGON_NETWORK_INFO
{
4188 pub Identity
: NETLOGON_LOGON_IDENTITY_INFO
,
4189 pub LmChallenge
: CLEAR_BLOCK
,
4190 pub NtChallengeResponse
: super::super::super::System
::Kernel
::STRING
,
4191 pub LmChallengeResponse
: super::super::super::System
::Kernel
::STRING
,
4193 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
4194 impl ::core
::marker
::Copy
for NETLOGON_NETWORK_INFO {}
4195 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
4196 impl ::core
::clone
::Clone
for NETLOGON_NETWORK_INFO
{
4197 fn clone(&self) -> Self {
4202 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_PasswordManagement\"`*"]
4203 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
4204 pub struct NETLOGON_SERVICE_INFO
{
4205 pub Identity
: NETLOGON_LOGON_IDENTITY_INFO
,
4206 pub LmOwfPassword
: super::super::super::System
::PasswordManagement
::LM_OWF_PASSWORD
,
4207 pub NtOwfPassword
: super::super::super::System
::PasswordManagement
::LM_OWF_PASSWORD
,
4209 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
4210 impl ::core
::marker
::Copy
for NETLOGON_SERVICE_INFO {}
4211 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
4212 impl ::core
::clone
::Clone
for NETLOGON_SERVICE_INFO
{
4213 fn clone(&self) -> Self {
4217 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4218 pub const NGC_DATA_FLAG_IS_CLOUD_TRUST_CRED
: u32 = 8u32;
4219 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4220 pub const NGC_DATA_FLAG_IS_SMARTCARD_DATA
: u32 = 4u32;
4221 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4222 pub const NGC_DATA_FLAG_KERB_CERTIFICATE_LOGON_FLAG_CHECK_DUPLICATES
: u32 = 1u32;
4223 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4224 pub const NGC_DATA_FLAG_KERB_CERTIFICATE_LOGON_FLAG_USE_CERTIFICATE_INFO
: u32 = 2u32;
4225 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4226 pub const NOTIFIER_FLAG_NEW_THREAD
: u32 = 1u32;
4227 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4228 pub const NOTIFIER_FLAG_ONE_SHOT
: u32 = 2u32;
4229 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4230 pub const NOTIFIER_FLAG_SECONDS
: u32 = 2147483648u32;
4231 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4232 pub const NOTIFIER_TYPE_HANDLE_WAIT
: u32 = 2u32;
4233 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4234 pub const NOTIFIER_TYPE_IMMEDIATE
: u32 = 16u32;
4235 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4236 pub const NOTIFIER_TYPE_INTERVAL
: u32 = 1u32;
4237 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4238 pub const NOTIFIER_TYPE_NOTIFY_EVENT
: u32 = 4u32;
4239 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4240 pub const NOTIFIER_TYPE_STATE_CHANGE
: u32 = 3u32;
4241 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4242 pub const NOTIFY_CLASS_DOMAIN_CHANGE
: u32 = 3u32;
4243 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4244 pub const NOTIFY_CLASS_PACKAGE_CHANGE
: u32 = 1u32;
4245 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4246 pub const NOTIFY_CLASS_REGISTRY_CHANGE
: u32 = 4u32;
4247 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4248 pub const NOTIFY_CLASS_ROLE_CHANGE
: u32 = 2u32;
4249 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4250 pub const NO_LONG_NAMES
: u32 = 2u32;
4251 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4252 pub const NTLMSP_NAME
: &str = "NTLM";
4253 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4254 pub const NTLMSP_NAME_A
: &str = "NTLM";
4255 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4256 pub const PCT1SP_NAME
: &str = "Microsoft PCT 1.0";
4257 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4258 pub const PCT1SP_NAME_A
: &str = "Microsoft PCT 1.0";
4259 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4260 pub const PCT1SP_NAME_W
: &str = "Microsoft PCT 1.0";
4261 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4262 pub const PER_USER_AUDIT_FAILURE_EXCLUDE
: u32 = 8u32;
4263 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4264 pub const PER_USER_AUDIT_FAILURE_INCLUDE
: u32 = 4u32;
4265 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4266 pub const PER_USER_AUDIT_NONE
: u32 = 16u32;
4267 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4268 pub const PER_USER_AUDIT_SUCCESS_EXCLUDE
: u32 = 2u32;
4269 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4270 pub const PER_USER_AUDIT_SUCCESS_INCLUDE
: u32 = 1u32;
4271 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4272 pub const PER_USER_POLICY_UNCHANGED
: u32 = 0u32;
4273 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4274 pub type PKSEC_CREATE_CONTEXT_LIST
= ::core
::option
::Option
<unsafe extern "system" fn(r
#type: KSEC_CONTEXT_TYPE) -> *mut ::core::ffi::c_void>;
4275 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_System_Kernel\"`*"]
4276 #[cfg(feature = "Win32_System_Kernel")]
4277 pub type PKSEC_DEREFERENCE_LIST_ENTRY
= ::core
::option
::Option
<unsafe extern "system" fn(entry
: *const KSEC_LIST_ENTRY
, delete
: *mut u8)>;
4278 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_System_Kernel\"`*"]
4279 #[cfg(feature = "Win32_System_Kernel")]
4280 pub type PKSEC_INSERT_LIST_ENTRY
= ::core
::option
::Option
<unsafe extern "system" fn(list
: *const ::core
::ffi
::c_void
, entry
: *const KSEC_LIST_ENTRY
)>;
4281 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4282 pub type PKSEC_LOCATE_PKG_BY_ID
= ::core
::option
::Option
<unsafe extern "system" fn(packageid
: u32) -> *mut ::core
::ffi
::c_void
>;
4283 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
4284 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
4285 pub type PKSEC_REFERENCE_LIST_ENTRY
= ::core
::option
::Option
<unsafe extern "system" fn(entry
: *const KSEC_LIST_ENTRY
, signature
: u32, removenoref
: super::super::super::Foundation
::BOOLEAN
) -> super::super::super::Foundation
::NTSTATUS
>;
4286 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4287 #[cfg(feature = "Win32_Foundation")]
4288 pub type PKSEC_SERIALIZE_SCHANNEL_AUTH_DATA
= ::core
::option
::Option
<unsafe extern "system" fn(pvauthdata
: *const ::core
::ffi
::c_void
, size
: *mut u32, serializeddata
: *mut *mut ::core
::ffi
::c_void
) -> super::super::super::Foundation
::NTSTATUS
>;
4289 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4290 #[cfg(feature = "Win32_Foundation")]
4291 pub type PKSEC_SERIALIZE_WINNT_AUTH_DATA
= ::core
::option
::Option
<unsafe extern "system" fn(pvauthdata
: *const ::core
::ffi
::c_void
, size
: *mut u32, serializeddata
: *mut *mut ::core
::ffi
::c_void
) -> super::super::super::Foundation
::NTSTATUS
>;
4293 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4294 #[cfg(feature = "Win32_Foundation")]
4295 pub struct PKU2U_CERTIFICATE_S4U_LOGON
{
4296 pub MessageType
: PKU2U_LOGON_SUBMIT_TYPE
,
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,
4303 #[cfg(feature = "Win32_Foundation")]
4304 impl ::core
::marker
::Copy
for PKU2U_CERTIFICATE_S4U_LOGON {}
4305 #[cfg(feature = "Win32_Foundation")]
4306 impl ::core
::clone
::Clone
for PKU2U_CERTIFICATE_S4U_LOGON
{
4307 fn clone(&self) -> Self {
4312 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4313 pub struct PKU2U_CERT_BLOB
{
4314 pub CertOffset
: u32,
4315 pub CertLength
: u16,
4317 impl ::core
::marker
::Copy
for PKU2U_CERT_BLOB {}
4318 impl ::core
::clone
::Clone
for PKU2U_CERT_BLOB
{
4319 fn clone(&self) -> Self {
4324 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4325 pub struct PKU2U_CREDUI_CONTEXT
{
4327 pub cbHeaderLength
: u16,
4328 pub cbStructureLength
: u32,
4329 pub CertArrayCount
: u16,
4330 pub CertArrayOffset
: u32,
4332 impl ::core
::marker
::Copy
for PKU2U_CREDUI_CONTEXT {}
4333 impl ::core
::clone
::Clone
for PKU2U_CREDUI_CONTEXT
{
4334 fn clone(&self) -> Self {
4338 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4339 pub type PKU2U_LOGON_SUBMIT_TYPE
= i32;
4340 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4341 pub const Pku2uCertificateS4ULogon
: PKU2U_LOGON_SUBMIT_TYPE
= 14i32;
4342 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4343 pub const PKU2U_PACKAGE_NAME
: &str = "pku2u";
4344 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4345 pub const PKU2U_PACKAGE_NAME_A
: &str = "pku2u";
4346 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4347 pub const PKU2U_PACKAGE_NAME_W
: &str = "pku2u";
4348 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
4349 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
4350 pub type PLSA_ADD_CREDENTIAL
= ::core
::option
::Option
<unsafe extern "system" fn(logonid
: *const super::super::super::Foundation
::LUID
, authenticationpackage
: u32, primarykeyvalue
: *const super::super::super::System
::Kernel
::STRING
, credentials
: *const super::super::super::System
::Kernel
::STRING
) -> super::super::super::Foundation
::NTSTATUS
>;
4351 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4352 #[cfg(feature = "Win32_Foundation")]
4353 pub type PLSA_ALLOCATE_CLIENT_BUFFER
= ::core
::option
::Option
<unsafe extern "system" fn(clientrequest
: *const *const ::core
::ffi
::c_void
, lengthrequired
: u32, clientbaseaddress
: *mut *mut ::core
::ffi
::c_void
) -> super::super::super::Foundation
::NTSTATUS
>;
4354 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4355 pub type PLSA_ALLOCATE_LSA_HEAP
= ::core
::option
::Option
<unsafe extern "system" fn(length
: u32) -> *mut ::core
::ffi
::c_void
>;
4356 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4357 pub type PLSA_ALLOCATE_PRIVATE_HEAP
= ::core
::option
::Option
<unsafe extern "system" fn(length
: usize) -> *mut ::core
::ffi
::c_void
>;
4358 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4359 pub type PLSA_ALLOCATE_SHARED_MEMORY
= ::core
::option
::Option
<unsafe extern "system" fn(sharedmem
: *const ::core
::ffi
::c_void
, size
: u32) -> *mut ::core
::ffi
::c_void
>;
4360 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4361 #[cfg(feature = "Win32_Foundation")]
4362 pub type PLSA_AP_CALL_PACKAGE
= ::core
::option
::Option
<unsafe extern "system" fn(clientrequest
: *const *const ::core
::ffi
::c_void
, protocolsubmitbuffer
: *const ::core
::ffi
::c_void
, clientbufferbase
: *const ::core
::ffi
::c_void
, submitbufferlength
: u32, protocolreturnbuffer
: *mut *mut ::core
::ffi
::c_void
, returnbufferlength
: *mut u32, protocolstatus
: *mut i32) -> super::super::super::Foundation
::NTSTATUS
>;
4363 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4364 #[cfg(feature = "Win32_Foundation")]
4365 pub type PLSA_AP_CALL_PACKAGE_PASSTHROUGH
= ::core
::option
::Option
<unsafe extern "system" fn(clientrequest
: *const *const ::core
::ffi
::c_void
, protocolsubmitbuffer
: *const ::core
::ffi
::c_void
, clientbufferbase
: *const ::core
::ffi
::c_void
, submitbufferlength
: u32, protocolreturnbuffer
: *mut *mut ::core
::ffi
::c_void
, returnbufferlength
: *mut u32, protocolstatus
: *mut i32) -> super::super::super::Foundation
::NTSTATUS
>;
4366 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
4367 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
4368 pub type PLSA_AP_INITIALIZE_PACKAGE
= ::core
::option
::Option
<unsafe extern "system" fn(authenticationpackageid
: u32, lsadispatchtable
: *const LSA_DISPATCH_TABLE
, database
: *const super::super::super::System
::Kernel
::STRING
, confidentiality
: *const super::super::super::System
::Kernel
::STRING
, authenticationpackagename
: *mut *mut super::super::super::System
::Kernel
::STRING
) -> super::super::super::Foundation
::NTSTATUS
>;
4369 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4370 #[cfg(feature = "Win32_Foundation")]
4371 pub type PLSA_AP_LOGON_TERMINATED
= ::core
::option
::Option
<unsafe extern "system" fn(logonid
: *const super::super::super::Foundation
::LUID
)>;
4372 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4373 #[cfg(feature = "Win32_Foundation")]
4374 pub type PLSA_AP_LOGON_USER
= ::core
::option
::Option
<unsafe extern "system" fn(clientrequest
: *const *const ::core
::ffi
::c_void
, logontype
: SECURITY_LOGON_TYPE
, authenticationinformation
: *const ::core
::ffi
::c_void
, clientauthenticationbase
: *const ::core
::ffi
::c_void
, authenticationinformationlength
: u32, profilebuffer
: *mut *mut ::core
::ffi
::c_void
, profilebufferlength
: *mut u32, logonid
: *mut super::super::super::Foundation
::LUID
, substatus
: *mut i32, tokeninformationtype
: *mut LSA_TOKEN_INFORMATION_TYPE
, tokeninformation
: *mut *mut ::core
::ffi
::c_void
, accountname
: *mut *mut super::super::super::Foundation
::UNICODE_STRING
, authenticatingauthority
: *mut *mut super::super::super::Foundation
::UNICODE_STRING
) -> super::super::super::Foundation
::NTSTATUS
>;
4375 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4376 #[cfg(feature = "Win32_Foundation")]
4377 pub type PLSA_AP_LOGON_USER_EX
= ::core
::option
::Option
<
4378 unsafe extern "system" fn(clientrequest
: *const *const ::core
::ffi
::c_void
, logontype
: SECURITY_LOGON_TYPE
, authenticationinformation
: *const ::core
::ffi
::c_void
, clientauthenticationbase
: *const ::core
::ffi
::c_void
, authenticationinformationlength
: u32, profilebuffer
: *mut *mut ::core
::ffi
::c_void
, profilebufferlength
: *mut u32, logonid
: *mut super::super::super::Foundation
::LUID
, substatus
: *mut i32, tokeninformationtype
: *mut LSA_TOKEN_INFORMATION_TYPE
, tokeninformation
: *mut *mut ::core
::ffi
::c_void
, accountname
: *mut *mut super::super::super::Foundation
::UNICODE_STRING
, authenticatingauthority
: *mut *mut super::super::super::Foundation
::UNICODE_STRING
, machinename
: *mut *mut super::super::super::Foundation
::UNICODE_STRING
) -> super::super::super::Foundation
::NTSTATUS
,
4380 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4381 #[cfg(feature = "Win32_Foundation")]
4382 pub type PLSA_AP_LOGON_USER_EX2
= ::core
::option
::Option
<
4383 unsafe extern "system" fn(
4384 clientrequest
: *const *const ::core
::ffi
::c_void
,
4385 logontype
: SECURITY_LOGON_TYPE
,
4386 protocolsubmitbuffer
: *const ::core
::ffi
::c_void
,
4387 clientbufferbase
: *const ::core
::ffi
::c_void
,
4388 submitbuffersize
: u32,
4389 profilebuffer
: *mut *mut ::core
::ffi
::c_void
,
4390 profilebuffersize
: *mut u32,
4391 logonid
: *mut super::super::super::Foundation
::LUID
,
4392 substatus
: *mut i32,
4393 tokeninformationtype
: *mut LSA_TOKEN_INFORMATION_TYPE
,
4394 tokeninformation
: *mut *mut ::core
::ffi
::c_void
,
4395 accountname
: *mut *mut super::super::super::Foundation
::UNICODE_STRING
,
4396 authenticatingauthority
: *mut *mut super::super::super::Foundation
::UNICODE_STRING
,
4397 machinename
: *mut *mut super::super::super::Foundation
::UNICODE_STRING
,
4398 primarycredentials
: *mut SECPKG_PRIMARY_CRED
,
4399 supplementalcredentials
: *mut *mut SECPKG_SUPPLEMENTAL_CRED_ARRAY
,
4400 ) -> super::super::super::Foundation
::NTSTATUS
,
4402 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4403 #[cfg(feature = "Win32_Foundation")]
4404 pub type PLSA_AP_LOGON_USER_EX3
= ::core
::option
::Option
<
4405 unsafe extern "system" fn(
4406 clientrequest
: *const *const ::core
::ffi
::c_void
,
4407 logontype
: SECURITY_LOGON_TYPE
,
4408 protocolsubmitbuffer
: *const ::core
::ffi
::c_void
,
4409 clientbufferbase
: *const ::core
::ffi
::c_void
,
4410 submitbuffersize
: u32,
4411 surrogatelogon
: *mut SECPKG_SURROGATE_LOGON
,
4412 profilebuffer
: *mut *mut ::core
::ffi
::c_void
,
4413 profilebuffersize
: *mut u32,
4414 logonid
: *mut super::super::super::Foundation
::LUID
,
4415 substatus
: *mut i32,
4416 tokeninformationtype
: *mut LSA_TOKEN_INFORMATION_TYPE
,
4417 tokeninformation
: *mut *mut ::core
::ffi
::c_void
,
4418 accountname
: *mut *mut super::super::super::Foundation
::UNICODE_STRING
,
4419 authenticatingauthority
: *mut *mut super::super::super::Foundation
::UNICODE_STRING
,
4420 machinename
: *mut *mut super::super::super::Foundation
::UNICODE_STRING
,
4421 primarycredentials
: *mut SECPKG_PRIMARY_CRED
,
4422 supplementalcredentials
: *mut *mut SECPKG_SUPPLEMENTAL_CRED_ARRAY
,
4423 ) -> super::super::super::Foundation
::NTSTATUS
,
4425 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4426 #[cfg(feature = "Win32_Foundation")]
4427 pub type PLSA_AP_POST_LOGON_USER_SURROGATE
= ::core
::option
::Option
<
4428 unsafe extern "system" fn(
4429 clientrequest
: *const *const ::core
::ffi
::c_void
,
4430 logontype
: SECURITY_LOGON_TYPE
,
4431 protocolsubmitbuffer
: *const ::core
::ffi
::c_void
,
4432 clientbufferbase
: *const ::core
::ffi
::c_void
,
4433 submitbuffersize
: u32,
4434 surrogatelogon
: *const SECPKG_SURROGATE_LOGON
,
4435 profilebuffer
: *const ::core
::ffi
::c_void
,
4436 profilebuffersize
: u32,
4437 logonid
: *const super::super::super::Foundation
::LUID
,
4438 status
: super::super::super::Foundation
::NTSTATUS
,
4439 substatus
: super::super::super::Foundation
::NTSTATUS
,
4440 tokeninformationtype
: LSA_TOKEN_INFORMATION_TYPE
,
4441 tokeninformation
: *const ::core
::ffi
::c_void
,
4442 accountname
: *const super::super::super::Foundation
::UNICODE_STRING
,
4443 authenticatingauthority
: *const super::super::super::Foundation
::UNICODE_STRING
,
4444 machinename
: *const super::super::super::Foundation
::UNICODE_STRING
,
4445 primarycredentials
: *const SECPKG_PRIMARY_CRED
,
4446 supplementalcredentials
: *const SECPKG_SUPPLEMENTAL_CRED_ARRAY
,
4447 ) -> super::super::super::Foundation
::NTSTATUS
,
4449 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4450 #[cfg(feature = "Win32_Foundation")]
4451 pub type PLSA_AP_PRE_LOGON_USER_SURROGATE
= ::core
::option
::Option
<unsafe extern "system" fn(clientrequest
: *const *const ::core
::ffi
::c_void
, logontype
: SECURITY_LOGON_TYPE
, protocolsubmitbuffer
: *const ::core
::ffi
::c_void
, clientbufferbase
: *const ::core
::ffi
::c_void
, submitbuffersize
: u32, surrogatelogon
: *mut SECPKG_SURROGATE_LOGON
, substatus
: *mut i32) -> super::super::super::Foundation
::NTSTATUS
>;
4452 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4453 #[cfg(feature = "Win32_Foundation")]
4454 pub type PLSA_AUDIT_ACCOUNT_LOGON
= ::core
::option
::Option
<unsafe extern "system" fn(auditid
: u32, success
: super::super::super::Foundation
::BOOLEAN
, source
: *const super::super::super::Foundation
::UNICODE_STRING
, clientname
: *const super::super::super::Foundation
::UNICODE_STRING
, mappedname
: *const super::super::super::Foundation
::UNICODE_STRING
, status
: super::super::super::Foundation
::NTSTATUS
) -> super::super::super::Foundation
::NTSTATUS
>;
4455 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4456 #[cfg(feature = "Win32_Foundation")]
4457 pub type PLSA_AUDIT_LOGON
= ::core
::option
::Option
<unsafe extern "system" fn(status
: super::super::super::Foundation
::NTSTATUS
, substatus
: super::super::super::Foundation
::NTSTATUS
, accountname
: *const super::super::super::Foundation
::UNICODE_STRING
, authenticatingauthority
: *const super::super::super::Foundation
::UNICODE_STRING
, workstationname
: *const super::super::super::Foundation
::UNICODE_STRING
, usersid
: super::super::super::Foundation
::PSID
, logontype
: SECURITY_LOGON_TYPE
, tokensource
: *const super::super::TOKEN_SOURCE
, logonid
: *const super::super::super::Foundation
::LUID
)>;
4458 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4459 #[cfg(feature = "Win32_Foundation")]
4460 pub type PLSA_AUDIT_LOGON_EX
= ::core
::option
::Option
<unsafe extern "system" fn(status
: super::super::super::Foundation
::NTSTATUS
, substatus
: super::super::super::Foundation
::NTSTATUS
, accountname
: *const super::super::super::Foundation
::UNICODE_STRING
, authenticatingauthority
: *const super::super::super::Foundation
::UNICODE_STRING
, workstationname
: *const super::super::super::Foundation
::UNICODE_STRING
, usersid
: super::super::super::Foundation
::PSID
, logontype
: SECURITY_LOGON_TYPE
, impersonationlevel
: super::super::SECURITY_IMPERSONATION_LEVEL
, tokensource
: *const super::super::TOKEN_SOURCE
, logonid
: *const super::super::super::Foundation
::LUID
)>;
4461 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4462 #[cfg(feature = "Win32_Foundation")]
4463 pub type PLSA_CALLBACK_FUNCTION
= ::core
::option
::Option
<unsafe extern "system" fn(argument1
: usize, argument2
: usize, inputbuffer
: *mut SecBuffer
, outputbuffer
: *mut SecBuffer
) -> super::super::super::Foundation
::NTSTATUS
>;
4464 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4465 #[cfg(feature = "Win32_Foundation")]
4466 pub type PLSA_CALL_PACKAGE
= ::core
::option
::Option
<unsafe extern "system" fn(authenticationpackage
: *const super::super::super::Foundation
::UNICODE_STRING
, protocolsubmitbuffer
: *const ::core
::ffi
::c_void
, submitbufferlength
: u32, protocolreturnbuffer
: *mut *mut ::core
::ffi
::c_void
, returnbufferlength
: *mut u32, protocolstatus
: *mut i32) -> super::super::super::Foundation
::NTSTATUS
>;
4467 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4468 #[cfg(feature = "Win32_Foundation")]
4469 pub type PLSA_CALL_PACKAGEEX
= ::core
::option
::Option
<unsafe extern "system" fn(authenticationpackage
: *const super::super::super::Foundation
::UNICODE_STRING
, clientbufferbase
: *const ::core
::ffi
::c_void
, protocolsubmitbuffer
: *const ::core
::ffi
::c_void
, submitbufferlength
: u32, protocolreturnbuffer
: *mut *mut ::core
::ffi
::c_void
, returnbufferlength
: *mut u32, protocolstatus
: *mut i32) -> super::super::super::Foundation
::NTSTATUS
>;
4470 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4471 #[cfg(feature = "Win32_Foundation")]
4472 pub type PLSA_CALL_PACKAGE_PASSTHROUGH
= ::core
::option
::Option
<unsafe extern "system" fn(authenticationpackage
: *const super::super::super::Foundation
::UNICODE_STRING
, clientbufferbase
: *const ::core
::ffi
::c_void
, protocolsubmitbuffer
: *const ::core
::ffi
::c_void
, submitbufferlength
: u32, protocolreturnbuffer
: *mut *mut ::core
::ffi
::c_void
, returnbufferlength
: *mut u32, protocolstatus
: *mut i32) -> super::super::super::Foundation
::NTSTATUS
>;
4473 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4474 #[cfg(feature = "Win32_Foundation")]
4475 pub type PLSA_CANCEL_NOTIFICATION
= ::core
::option
::Option
<unsafe extern "system" fn(notifyhandle
: super::super::super::Foundation
::HANDLE
) -> super::super::super::Foundation
::NTSTATUS
>;
4476 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4477 #[cfg(feature = "Win32_Foundation")]
4478 pub type PLSA_CHECK_PROTECTED_USER_BY_TOKEN
= ::core
::option
::Option
<unsafe extern "system" fn(usertoken
: super::super::super::Foundation
::HANDLE
, protecteduser
: *mut super::super::super::Foundation
::BOOLEAN
) -> super::super::super::Foundation
::NTSTATUS
>;
4479 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4480 #[cfg(feature = "Win32_Foundation")]
4481 pub type PLSA_CLIENT_CALLBACK
= ::core
::option
::Option
<unsafe extern "system" fn(callback
: ::windows_sys
::core
::PCSTR
, argument1
: usize, argument2
: usize, input
: *const SecBuffer
, output
: *mut SecBuffer
) -> super::super::super::Foundation
::NTSTATUS
>;
4482 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4483 #[cfg(feature = "Win32_Foundation")]
4484 pub type PLSA_CLOSE_SAM_USER
= ::core
::option
::Option
<unsafe extern "system" fn(userhandle
: *const ::core
::ffi
::c_void
) -> super::super::super::Foundation
::NTSTATUS
>;
4485 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4486 #[cfg(feature = "Win32_Foundation")]
4487 pub type PLSA_CONVERT_AUTH_DATA_TO_TOKEN
= ::core
::option
::Option
<unsafe extern "system" fn(userauthdata
: *const ::core
::ffi
::c_void
, userauthdatasize
: u32, impersonationlevel
: super::super::SECURITY_IMPERSONATION_LEVEL
, tokensource
: *const super::super::TOKEN_SOURCE
, logontype
: SECURITY_LOGON_TYPE
, authorityname
: *const super::super::super::Foundation
::UNICODE_STRING
, token
: *mut super::super::super::Foundation
::HANDLE
, logonid
: *mut super::super::super::Foundation
::LUID
, accountname
: *mut super::super::super::Foundation
::UNICODE_STRING
, substatus
: *mut i32) -> super::super::super::Foundation
::NTSTATUS
>;
4488 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4489 #[cfg(feature = "Win32_Foundation")]
4490 pub type PLSA_COPY_FROM_CLIENT_BUFFER
= ::core
::option
::Option
<unsafe extern "system" fn(clientrequest
: *const *const ::core
::ffi
::c_void
, length
: u32, buffertocopy
: *mut ::core
::ffi
::c_void
, clientbaseaddress
: *const ::core
::ffi
::c_void
) -> super::super::super::Foundation
::NTSTATUS
>;
4491 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4492 #[cfg(feature = "Win32_Foundation")]
4493 pub type PLSA_COPY_TO_CLIENT_BUFFER
= ::core
::option
::Option
<unsafe extern "system" fn(clientrequest
: *const *const ::core
::ffi
::c_void
, length
: u32, clientbaseaddress
: *mut ::core
::ffi
::c_void
, buffertocopy
: *const ::core
::ffi
::c_void
) -> super::super::super::Foundation
::NTSTATUS
>;
4494 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4495 #[cfg(feature = "Win32_Foundation")]
4496 pub type PLSA_CRACK_SINGLE_NAME
= ::core
::option
::Option
<unsafe extern "system" fn(formatoffered
: u32, performatgc
: super::super::super::Foundation
::BOOLEAN
, nameinput
: *const super::super::super::Foundation
::UNICODE_STRING
, prefix
: *const super::super::super::Foundation
::UNICODE_STRING
, requestedformat
: u32, crackedname
: *mut super::super::super::Foundation
::UNICODE_STRING
, dnsdomainname
: *mut super::super::super::Foundation
::UNICODE_STRING
, substatus
: *mut u32) -> super::super::super::Foundation
::NTSTATUS
>;
4497 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4498 #[cfg(feature = "Win32_Foundation")]
4499 pub type PLSA_CREATE_LOGON_SESSION
= ::core
::option
::Option
<unsafe extern "system" fn(logonid
: *mut super::super::super::Foundation
::LUID
) -> super::super::super::Foundation
::NTSTATUS
>;
4500 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4501 pub type PLSA_CREATE_SHARED_MEMORY
= ::core
::option
::Option
<unsafe extern "system" fn(maxsize
: u32, initialsize
: u32) -> *mut ::core
::ffi
::c_void
>;
4502 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"]
4503 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))]
4504 pub type PLSA_CREATE_THREAD
= ::core
::option
::Option
<unsafe extern "system" fn(securityattributes
: *const super::super::SECURITY_ATTRIBUTES
, stacksize
: u32, startfunction
: super::super::super::System
::Threading
::LPTHREAD_START_ROUTINE
, threadparameter
: *const ::core
::ffi
::c_void
, creationflags
: u32, threadid
: *mut u32) -> super::super::super::Foundation
::HANDLE
>;
4505 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4506 #[cfg(feature = "Win32_Foundation")]
4507 pub type PLSA_CREATE_TOKEN
=
4508 ::core
::option
::Option
<unsafe extern "system" fn(logonid
: *const super::super::super::Foundation
::LUID
, tokensource
: *const super::super::TOKEN_SOURCE
, logontype
: SECURITY_LOGON_TYPE
, impersonationlevel
: super::super::SECURITY_IMPERSONATION_LEVEL
, tokeninformationtype
: LSA_TOKEN_INFORMATION_TYPE
, tokeninformation
: *const ::core
::ffi
::c_void
, tokengroups
: *const super::super::TOKEN_GROUPS
, accountname
: *const super::super::super::Foundation
::UNICODE_STRING
, authorityname
: *const super::super::super::Foundation
::UNICODE_STRING
, workstation
: *const super::super::super::Foundation
::UNICODE_STRING
, profilepath
: *const super::super::super::Foundation
::UNICODE_STRING
, token
: *mut super::super::super::Foundation
::HANDLE
, substatus
: *mut i32) -> super::super::super::Foundation
::NTSTATUS
>;
4509 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4510 #[cfg(feature = "Win32_Foundation")]
4511 pub type PLSA_CREATE_TOKEN_EX
= ::core
::option
::Option
<unsafe extern "system" fn(logonid
: *const super::super::super::Foundation
::LUID
, tokensource
: *const super::super::TOKEN_SOURCE
, logontype
: SECURITY_LOGON_TYPE
, impersonationlevel
: super::super::SECURITY_IMPERSONATION_LEVEL
, tokeninformationtype
: LSA_TOKEN_INFORMATION_TYPE
, tokeninformation
: *const ::core
::ffi
::c_void
, tokengroups
: *const super::super::TOKEN_GROUPS
, workstation
: *const super::super::super::Foundation
::UNICODE_STRING
, profilepath
: *const super::super::super::Foundation
::UNICODE_STRING
, sessioninformation
: *const ::core
::ffi
::c_void
, sessioninformationtype
: SECPKG_SESSIONINFO_TYPE
, token
: *mut super::super::super::Foundation
::HANDLE
, substatus
: *mut i32) -> super::super::super::Foundation
::NTSTATUS
>;
4512 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
4513 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
4514 pub type PLSA_DELETE_CREDENTIAL
= ::core
::option
::Option
<unsafe extern "system" fn(logonid
: *const super::super::super::Foundation
::LUID
, authenticationpackage
: u32, primarykeyvalue
: *const super::super::super::System
::Kernel
::STRING
) -> super::super::super::Foundation
::NTSTATUS
>;
4515 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4516 #[cfg(feature = "Win32_Foundation")]
4517 pub type PLSA_DELETE_LOGON_SESSION
= ::core
::option
::Option
<unsafe extern "system" fn(logonid
: *const super::super::super::Foundation
::LUID
) -> super::super::super::Foundation
::NTSTATUS
>;
4518 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4519 #[cfg(feature = "Win32_Foundation")]
4520 pub type PLSA_DELETE_SHARED_MEMORY
= ::core
::option
::Option
<unsafe extern "system" fn(sharedmem
: *const ::core
::ffi
::c_void
) -> super::super::super::Foundation
::BOOLEAN
>;
4521 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4522 #[cfg(feature = "Win32_Foundation")]
4523 pub type PLSA_DUPLICATE_HANDLE
= ::core
::option
::Option
<unsafe extern "system" fn(sourcehandle
: super::super::super::Foundation
::HANDLE
, destionationhandle
: *mut super::super::super::Foundation
::HANDLE
) -> super::super::super::Foundation
::NTSTATUS
>;
4524 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4525 #[cfg(feature = "Win32_Foundation")]
4526 pub type PLSA_EXPAND_AUTH_DATA_FOR_DOMAIN
= ::core
::option
::Option
<unsafe extern "system" fn(userauthdata
: *const u8, userauthdatasize
: u32, reserved
: *const ::core
::ffi
::c_void
, expandedauthdata
: *mut *mut u8, expandedauthdatasize
: *mut u32) -> super::super::super::Foundation
::NTSTATUS
>;
4527 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4528 #[cfg(feature = "Win32_Foundation")]
4529 pub type PLSA_FREE_CLIENT_BUFFER
= ::core
::option
::Option
<unsafe extern "system" fn(clientrequest
: *const *const ::core
::ffi
::c_void
, clientbaseaddress
: *const ::core
::ffi
::c_void
) -> super::super::super::Foundation
::NTSTATUS
>;
4530 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4531 pub type PLSA_FREE_LSA_HEAP
= ::core
::option
::Option
<unsafe extern "system" fn(base
: *const ::core
::ffi
::c_void
)>;
4532 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4533 pub type PLSA_FREE_PRIVATE_HEAP
= ::core
::option
::Option
<unsafe extern "system" fn(base
: *const ::core
::ffi
::c_void
)>;
4534 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4535 pub type PLSA_FREE_SHARED_MEMORY
= ::core
::option
::Option
<unsafe extern "system" fn(sharedmem
: *const ::core
::ffi
::c_void
, memory
: *mut ::core
::ffi
::c_void
)>;
4536 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4537 #[cfg(feature = "Win32_Foundation")]
4538 pub type PLSA_GET_APP_MODE_INFO
= ::core
::option
::Option
<unsafe extern "system" fn(userfunction
: *mut u32, argument1
: *mut usize, argument2
: *mut usize, userdata
: *mut SecBuffer
, returntolsa
: *mut super::super::super::Foundation
::BOOLEAN
) -> super::super::super::Foundation
::NTSTATUS
>;
4539 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4540 #[cfg(feature = "Win32_Foundation")]
4541 pub type PLSA_GET_AUTH_DATA_FOR_USER
= ::core
::option
::Option
<unsafe extern "system" fn(name
: *const super::super::super::Foundation
::UNICODE_STRING
, nametype
: SECPKG_NAME_TYPE
, prefix
: *const super::super::super::Foundation
::UNICODE_STRING
, userauthdata
: *mut *mut u8, userauthdatasize
: *mut u32, userflatname
: *mut super::super::super::Foundation
::UNICODE_STRING
) -> super::super::super::Foundation
::NTSTATUS
>;
4542 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4543 #[cfg(feature = "Win32_Foundation")]
4544 pub type PLSA_GET_CALL_INFO
= ::core
::option
::Option
<unsafe extern "system" fn(info
: *mut SECPKG_CALL_INFO
) -> super::super::super::Foundation
::BOOLEAN
>;
4545 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4546 #[cfg(feature = "Win32_Foundation")]
4547 pub type PLSA_GET_CLIENT_INFO
= ::core
::option
::Option
<unsafe extern "system" fn(clientinfo
: *mut SECPKG_CLIENT_INFO
) -> super::super::super::Foundation
::NTSTATUS
>;
4548 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
4549 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
4550 pub type PLSA_GET_CREDENTIALS
= ::core
::option
::Option
<unsafe extern "system" fn(logonid
: *const super::super::super::Foundation
::LUID
, authenticationpackage
: u32, querycontext
: *mut u32, retrieveallcredentials
: super::super::super::Foundation
::BOOLEAN
, primarykeyvalue
: *const super::super::super::System
::Kernel
::STRING
, primarykeylength
: *mut u32, credentials
: *const super::super::super::System
::Kernel
::STRING
) -> super::super::super::Foundation
::NTSTATUS
>;
4551 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4552 #[cfg(feature = "Win32_Foundation")]
4553 pub type PLSA_GET_EXTENDED_CALL_FLAGS
= ::core
::option
::Option
<unsafe extern "system" fn(flags
: *mut u32) -> super::super::super::Foundation
::NTSTATUS
>;
4554 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4555 #[cfg(feature = "Win32_Foundation")]
4556 pub type PLSA_GET_SERVICE_ACCOUNT_PASSWORD
= ::core
::option
::Option
<unsafe extern "system" fn(accountname
: *const super::super::super::Foundation
::UNICODE_STRING
, domainname
: *const super::super::super::Foundation
::UNICODE_STRING
, credfetch
: CRED_FETCH
, filetimeexpiry
: *mut super::super::super::Foundation
::FILETIME
, currentpassword
: *mut super::super::super::Foundation
::UNICODE_STRING
, previouspassword
: *mut super::super::super::Foundation
::UNICODE_STRING
, filetimecurrpwdvalidforoutbound
: *mut super::super::super::Foundation
::FILETIME
) -> super::super::super::Foundation
::NTSTATUS
>;
4557 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4558 #[cfg(feature = "Win32_Foundation")]
4559 pub type PLSA_GET_USER_AUTH_DATA
= ::core
::option
::Option
<unsafe extern "system" fn(userhandle
: *const ::core
::ffi
::c_void
, userauthdata
: *mut *mut u8, userauthdatasize
: *mut u32) -> super::super::super::Foundation
::NTSTATUS
>;
4560 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4561 #[cfg(feature = "Win32_Foundation")]
4562 pub type PLSA_GET_USER_CREDENTIALS
= ::core
::option
::Option
<unsafe extern "system" fn(userhandle
: *const ::core
::ffi
::c_void
, primarycreds
: *mut *mut ::core
::ffi
::c_void
, primarycredssize
: *mut u32, supplementalcreds
: *mut *mut ::core
::ffi
::c_void
, supplementalcredssize
: *mut u32) -> super::super::super::Foundation
::NTSTATUS
>;
4563 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4564 #[cfg(feature = "Win32_Foundation")]
4565 pub type PLSA_IMPERSONATE_CLIENT
= ::core
::option
::Option
<unsafe extern "system" fn() -> super::super::super::Foundation
::NTSTATUS
>;
4566 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4567 pub type PLSA_LOCATE_PKG_BY_ID
= ::core
::option
::Option
<unsafe extern "system" fn(packgeid
: u32) -> *mut ::core
::ffi
::c_void
>;
4568 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4569 #[cfg(feature = "Win32_Foundation")]
4570 pub type PLSA_MAP_BUFFER
= ::core
::option
::Option
<unsafe extern "system" fn(inputbuffer
: *const SecBuffer
, outputbuffer
: *mut SecBuffer
) -> super::super::super::Foundation
::NTSTATUS
>;
4571 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4572 #[cfg(feature = "Win32_Foundation")]
4573 pub type PLSA_OPEN_SAM_USER
= ::core
::option
::Option
<unsafe extern "system" fn(name
: *const super::super::super::Foundation
::UNICODE_STRING
, nametype
: SECPKG_NAME_TYPE
, prefix
: *const super::super::super::Foundation
::UNICODE_STRING
, allowguest
: super::super::super::Foundation
::BOOLEAN
, reserved
: u32, userhandle
: *mut *mut ::core
::ffi
::c_void
) -> super::super::super::Foundation
::NTSTATUS
>;
4574 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4575 #[cfg(feature = "Win32_Foundation")]
4576 pub type PLSA_OPEN_TOKEN_BY_LOGON_ID
= ::core
::option
::Option
<unsafe extern "system" fn(logonid
: *const super::super::super::Foundation
::LUID
, rettokenhandle
: *mut super::super::super::Foundation
::HANDLE
) -> super::super::super::Foundation
::NTSTATUS
>;
4577 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4578 pub type PLSA_PROTECT_MEMORY
= ::core
::option
::Option
<unsafe extern "system" fn(buffer
: *mut ::core
::ffi
::c_void
, buffersize
: u32)>;
4579 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4580 #[cfg(feature = "Win32_Foundation")]
4581 pub type PLSA_QUERY_CLIENT_REQUEST
= ::core
::option
::Option
<unsafe extern "system" fn(clientrequest
: *const *const ::core
::ffi
::c_void
, querytype
: u32, replybuffer
: *mut *mut ::core
::ffi
::c_void
) -> super::super::super::Foundation
::NTSTATUS
>;
4582 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4583 #[cfg(feature = "Win32_Foundation")]
4584 pub type PLSA_REDIRECTED_LOGON_CALLBACK
= ::core
::option
::Option
<unsafe extern "system" fn(redirectedlogonhandle
: super::super::super::Foundation
::HANDLE
, buffer
: *mut ::core
::ffi
::c_void
, bufferlength
: u32, returnbuffer
: *mut *mut ::core
::ffi
::c_void
, returnbufferlength
: *mut u32) -> super::super::super::Foundation
::NTSTATUS
>;
4585 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4586 #[cfg(feature = "Win32_Foundation")]
4587 pub type PLSA_REDIRECTED_LOGON_CLEANUP_CALLBACK
= ::core
::option
::Option
<unsafe extern "system" fn(redirectedlogonhandle
: super::super::super::Foundation
::HANDLE
)>;
4588 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4589 #[cfg(feature = "Win32_Foundation")]
4590 pub type PLSA_REDIRECTED_LOGON_GET_LOGON_CREDS
= ::core
::option
::Option
<unsafe extern "system" fn(redirectedlogonhandle
: super::super::super::Foundation
::HANDLE
, logonbuffer
: *mut *mut u8, logonbufferlength
: *mut u32) -> super::super::super::Foundation
::NTSTATUS
>;
4591 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4592 #[cfg(feature = "Win32_Foundation")]
4593 pub type PLSA_REDIRECTED_LOGON_GET_SUPP_CREDS
= ::core
::option
::Option
<unsafe extern "system" fn(redirectedlogonhandle
: super::super::super::Foundation
::HANDLE
, supplementalcredentials
: *mut *mut SECPKG_SUPPLEMENTAL_CRED_ARRAY
) -> super::super::super::Foundation
::NTSTATUS
>;
4594 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4595 #[cfg(feature = "Win32_Foundation")]
4596 pub type PLSA_REDIRECTED_LOGON_INIT
= ::core
::option
::Option
<unsafe extern "system" fn(redirectedlogonhandle
: super::super::super::Foundation
::HANDLE
, packagename
: *const super::super::super::Foundation
::UNICODE_STRING
, sessionid
: u32, logonid
: *const super::super::super::Foundation
::LUID
) -> super::super::super::Foundation
::NTSTATUS
>;
4597 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4598 #[cfg(feature = "Win32_Foundation")]
4599 pub type PLSA_REGISTER_CALLBACK
= ::core
::option
::Option
<unsafe extern "system" fn(callbackid
: u32, callback
: PLSA_CALLBACK_FUNCTION
) -> super::super::super::Foundation
::NTSTATUS
>;
4600 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"]
4601 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))]
4602 pub type PLSA_REGISTER_NOTIFICATION
= ::core
::option
::Option
<unsafe extern "system" fn(startfunction
: super::super::super::System
::Threading
::LPTHREAD_START_ROUTINE
, parameter
: *const ::core
::ffi
::c_void
, notificationtype
: u32, notificationclass
: u32, notificationflags
: u32, intervalminutes
: u32, waitevent
: super::super::super::Foundation
::HANDLE
) -> super::super::super::Foundation
::HANDLE
>;
4603 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4604 #[cfg(feature = "Win32_Foundation")]
4605 pub type PLSA_SAVE_SUPPLEMENTAL_CREDENTIALS
= ::core
::option
::Option
<unsafe extern "system" fn(logonid
: *const super::super::super::Foundation
::LUID
, supplementalcredsize
: u32, supplementalcreds
: *const ::core
::ffi
::c_void
, synchronous
: super::super::super::Foundation
::BOOLEAN
) -> super::super::super::Foundation
::NTSTATUS
>;
4606 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4607 #[cfg(feature = "Win32_Foundation")]
4608 pub type PLSA_SET_APP_MODE_INFO
= ::core
::option
::Option
<unsafe extern "system" fn(userfunction
: u32, argument1
: usize, argument2
: usize, userdata
: *const SecBuffer
, returntolsa
: super::super::super::Foundation
::BOOLEAN
) -> super::super::super::Foundation
::NTSTATUS
>;
4609 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4610 #[cfg(feature = "Win32_Foundation")]
4611 pub type PLSA_UNLOAD_PACKAGE
= ::core
::option
::Option
<unsafe extern "system" fn() -> super::super::super::Foundation
::NTSTATUS
>;
4612 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4613 #[cfg(feature = "Win32_Foundation")]
4614 pub type PLSA_UPDATE_PRIMARY_CREDENTIALS
= ::core
::option
::Option
<unsafe extern "system" fn(primarycredentials
: *const SECPKG_PRIMARY_CRED
, credentials
: *const SECPKG_SUPPLEMENTAL_CRED_ARRAY
) -> super::super::super::Foundation
::NTSTATUS
>;
4616 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4617 #[cfg(feature = "Win32_Foundation")]
4618 pub struct POLICY_ACCOUNT_DOMAIN_INFO
{
4619 pub DomainName
: super::super::super::Foundation
::UNICODE_STRING
,
4620 pub DomainSid
: super::super::super::Foundation
::PSID
,
4622 #[cfg(feature = "Win32_Foundation")]
4623 impl ::core
::marker
::Copy
for POLICY_ACCOUNT_DOMAIN_INFO {}
4624 #[cfg(feature = "Win32_Foundation")]
4625 impl ::core
::clone
::Clone
for POLICY_ACCOUNT_DOMAIN_INFO
{
4626 fn clone(&self) -> Self {
4631 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4632 pub struct POLICY_AUDIT_CATEGORIES_INFO
{
4633 pub MaximumCategoryCount
: u32,
4634 pub SubCategoriesInfo
: *mut POLICY_AUDIT_SUBCATEGORIES_INFO
,
4636 impl ::core
::marker
::Copy
for POLICY_AUDIT_CATEGORIES_INFO {}
4637 impl ::core
::clone
::Clone
for POLICY_AUDIT_CATEGORIES_INFO
{
4638 fn clone(&self) -> Self {
4643 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4644 #[cfg(feature = "Win32_Foundation")]
4645 pub struct POLICY_AUDIT_EVENTS_INFO
{
4646 pub AuditingMode
: super::super::super::Foundation
::BOOLEAN
,
4647 pub EventAuditingOptions
: *mut u32,
4648 pub MaximumAuditEventCount
: u32,
4650 #[cfg(feature = "Win32_Foundation")]
4651 impl ::core
::marker
::Copy
for POLICY_AUDIT_EVENTS_INFO {}
4652 #[cfg(feature = "Win32_Foundation")]
4653 impl ::core
::clone
::Clone
for POLICY_AUDIT_EVENTS_INFO
{
4654 fn clone(&self) -> Self {
4658 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4659 pub const POLICY_AUDIT_EVENT_FAILURE
: i32 = 2i32;
4660 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4661 pub const POLICY_AUDIT_EVENT_NONE
: i32 = 4i32;
4662 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4663 pub const POLICY_AUDIT_EVENT_SUCCESS
: i32 = 1i32;
4664 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4665 pub type POLICY_AUDIT_EVENT_TYPE
= i32;
4666 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4667 pub const AuditCategorySystem
: POLICY_AUDIT_EVENT_TYPE
= 0i32;
4668 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4669 pub const AuditCategoryLogon
: POLICY_AUDIT_EVENT_TYPE
= 1i32;
4670 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4671 pub const AuditCategoryObjectAccess
: POLICY_AUDIT_EVENT_TYPE
= 2i32;
4672 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4673 pub const AuditCategoryPrivilegeUse
: POLICY_AUDIT_EVENT_TYPE
= 3i32;
4674 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4675 pub const AuditCategoryDetailedTracking
: POLICY_AUDIT_EVENT_TYPE
= 4i32;
4676 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4677 pub const AuditCategoryPolicyChange
: POLICY_AUDIT_EVENT_TYPE
= 5i32;
4678 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4679 pub const AuditCategoryAccountManagement
: POLICY_AUDIT_EVENT_TYPE
= 6i32;
4680 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4681 pub const AuditCategoryDirectoryServiceAccess
: POLICY_AUDIT_EVENT_TYPE
= 7i32;
4682 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4683 pub const AuditCategoryAccountLogon
: POLICY_AUDIT_EVENT_TYPE
= 8i32;
4684 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4685 pub const POLICY_AUDIT_EVENT_UNCHANGED
: i32 = 0i32;
4687 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4688 #[cfg(feature = "Win32_Foundation")]
4689 pub struct POLICY_AUDIT_FULL_QUERY_INFO
{
4690 pub ShutDownOnFull
: super::super::super::Foundation
::BOOLEAN
,
4691 pub LogIsFull
: super::super::super::Foundation
::BOOLEAN
,
4693 #[cfg(feature = "Win32_Foundation")]
4694 impl ::core
::marker
::Copy
for POLICY_AUDIT_FULL_QUERY_INFO {}
4695 #[cfg(feature = "Win32_Foundation")]
4696 impl ::core
::clone
::Clone
for POLICY_AUDIT_FULL_QUERY_INFO
{
4697 fn clone(&self) -> Self {
4702 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4703 #[cfg(feature = "Win32_Foundation")]
4704 pub struct POLICY_AUDIT_FULL_SET_INFO
{
4705 pub ShutDownOnFull
: super::super::super::Foundation
::BOOLEAN
,
4707 #[cfg(feature = "Win32_Foundation")]
4708 impl ::core
::marker
::Copy
for POLICY_AUDIT_FULL_SET_INFO {}
4709 #[cfg(feature = "Win32_Foundation")]
4710 impl ::core
::clone
::Clone
for POLICY_AUDIT_FULL_SET_INFO
{
4711 fn clone(&self) -> Self {
4715 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4716 pub const POLICY_AUDIT_LOG_ADMIN
: i32 = 512i32;
4718 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4719 #[cfg(feature = "Win32_Foundation")]
4720 pub struct POLICY_AUDIT_LOG_INFO
{
4721 pub AuditLogPercentFull
: u32,
4722 pub MaximumLogSize
: u32,
4723 pub AuditRetentionPeriod
: i64,
4724 pub AuditLogFullShutdownInProgress
: super::super::super::Foundation
::BOOLEAN
,
4725 pub TimeToShutdown
: i64,
4726 pub NextAuditRecordId
: u32,
4728 #[cfg(feature = "Win32_Foundation")]
4729 impl ::core
::marker
::Copy
for POLICY_AUDIT_LOG_INFO {}
4730 #[cfg(feature = "Win32_Foundation")]
4731 impl ::core
::clone
::Clone
for POLICY_AUDIT_LOG_INFO
{
4732 fn clone(&self) -> Self {
4737 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4738 #[cfg(feature = "Win32_Foundation")]
4739 pub struct POLICY_AUDIT_SID_ARRAY
{
4740 pub UsersCount
: u32,
4741 pub UserSidArray
: *mut super::super::super::Foundation
::PSID
,
4743 #[cfg(feature = "Win32_Foundation")]
4744 impl ::core
::marker
::Copy
for POLICY_AUDIT_SID_ARRAY {}
4745 #[cfg(feature = "Win32_Foundation")]
4746 impl ::core
::clone
::Clone
for POLICY_AUDIT_SID_ARRAY
{
4747 fn clone(&self) -> Self {
4752 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4753 pub struct POLICY_AUDIT_SUBCATEGORIES_INFO
{
4754 pub MaximumSubCategoryCount
: u32,
4755 pub EventAuditingOptions
: *mut u32,
4757 impl ::core
::marker
::Copy
for POLICY_AUDIT_SUBCATEGORIES_INFO {}
4758 impl ::core
::clone
::Clone
for POLICY_AUDIT_SUBCATEGORIES_INFO
{
4759 fn clone(&self) -> Self {
4763 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4764 pub const POLICY_CREATE_ACCOUNT
: i32 = 16i32;
4765 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4766 pub const POLICY_CREATE_PRIVILEGE
: i32 = 64i32;
4767 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4768 pub const POLICY_CREATE_SECRET
: i32 = 32i32;
4770 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4771 pub struct POLICY_DEFAULT_QUOTA_INFO
{
4772 pub QuotaLimits
: super::super::QUOTA_LIMITS
,
4774 impl ::core
::marker
::Copy
for POLICY_DEFAULT_QUOTA_INFO {}
4775 impl ::core
::clone
::Clone
for POLICY_DEFAULT_QUOTA_INFO
{
4776 fn clone(&self) -> Self {
4781 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4782 #[cfg(feature = "Win32_Foundation")]
4783 pub struct POLICY_DNS_DOMAIN_INFO
{
4784 pub Name
: super::super::super::Foundation
::UNICODE_STRING
,
4785 pub DnsDomainName
: super::super::super::Foundation
::UNICODE_STRING
,
4786 pub DnsForestName
: super::super::super::Foundation
::UNICODE_STRING
,
4787 pub DomainGuid
: ::windows_sys
::core
::GUID
,
4788 pub Sid
: super::super::super::Foundation
::PSID
,
4790 #[cfg(feature = "Win32_Foundation")]
4791 impl ::core
::marker
::Copy
for POLICY_DNS_DOMAIN_INFO {}
4792 #[cfg(feature = "Win32_Foundation")]
4793 impl ::core
::clone
::Clone
for POLICY_DNS_DOMAIN_INFO
{
4794 fn clone(&self) -> Self {
4799 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4800 pub struct POLICY_DOMAIN_EFS_INFO
{
4801 pub InfoLength
: u32,
4802 pub EfsBlob
: *mut u8,
4804 impl ::core
::marker
::Copy
for POLICY_DOMAIN_EFS_INFO {}
4805 impl ::core
::clone
::Clone
for POLICY_DOMAIN_EFS_INFO
{
4806 fn clone(&self) -> Self {
4810 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4811 pub type POLICY_DOMAIN_INFORMATION_CLASS
= i32;
4812 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4813 pub const PolicyDomainEfsInformation
: POLICY_DOMAIN_INFORMATION_CLASS
= 2i32;
4814 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4815 pub const PolicyDomainKerberosTicketInformation
: POLICY_DOMAIN_INFORMATION_CLASS
= 3i32;
4817 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4818 pub struct POLICY_DOMAIN_KERBEROS_TICKET_INFO
{
4819 pub AuthenticationOptions
: u32,
4820 pub MaxServiceTicketAge
: i64,
4821 pub MaxTicketAge
: i64,
4822 pub MaxRenewAge
: i64,
4823 pub MaxClockSkew
: i64,
4826 impl ::core
::marker
::Copy
for POLICY_DOMAIN_KERBEROS_TICKET_INFO {}
4827 impl ::core
::clone
::Clone
for POLICY_DOMAIN_KERBEROS_TICKET_INFO
{
4828 fn clone(&self) -> Self {
4832 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4833 pub const POLICY_GET_PRIVATE_INFORMATION
: i32 = 4i32;
4834 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4835 pub type POLICY_INFORMATION_CLASS
= i32;
4836 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4837 pub const PolicyAuditLogInformation
: POLICY_INFORMATION_CLASS
= 1i32;
4838 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4839 pub const PolicyAuditEventsInformation
: POLICY_INFORMATION_CLASS
= 2i32;
4840 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4841 pub const PolicyPrimaryDomainInformation
: POLICY_INFORMATION_CLASS
= 3i32;
4842 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4843 pub const PolicyPdAccountInformation
: POLICY_INFORMATION_CLASS
= 4i32;
4844 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4845 pub const PolicyAccountDomainInformation
: POLICY_INFORMATION_CLASS
= 5i32;
4846 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4847 pub const PolicyLsaServerRoleInformation
: POLICY_INFORMATION_CLASS
= 6i32;
4848 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4849 pub const PolicyReplicaSourceInformation
: POLICY_INFORMATION_CLASS
= 7i32;
4850 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4851 pub const PolicyDefaultQuotaInformation
: POLICY_INFORMATION_CLASS
= 8i32;
4852 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4853 pub const PolicyModificationInformation
: POLICY_INFORMATION_CLASS
= 9i32;
4854 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4855 pub const PolicyAuditFullSetInformation
: POLICY_INFORMATION_CLASS
= 10i32;
4856 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4857 pub const PolicyAuditFullQueryInformation
: POLICY_INFORMATION_CLASS
= 11i32;
4858 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4859 pub const PolicyDnsDomainInformation
: POLICY_INFORMATION_CLASS
= 12i32;
4860 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4861 pub const PolicyDnsDomainInformationInt
: POLICY_INFORMATION_CLASS
= 13i32;
4862 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4863 pub const PolicyLocalAccountDomainInformation
: POLICY_INFORMATION_CLASS
= 14i32;
4864 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4865 pub const PolicyMachineAccountInformation
: POLICY_INFORMATION_CLASS
= 15i32;
4866 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4867 pub const PolicyLastEntry
: POLICY_INFORMATION_CLASS
= 16i32;
4868 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4869 pub const POLICY_KERBEROS_VALIDATE_CLIENT
: u32 = 128u32;
4870 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4871 pub const POLICY_LOOKUP_NAMES
: i32 = 2048i32;
4872 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4873 pub type POLICY_LSA_SERVER_ROLE
= i32;
4874 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4875 pub const PolicyServerRoleBackup
: POLICY_LSA_SERVER_ROLE
= 2i32;
4876 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4877 pub const PolicyServerRolePrimary
: POLICY_LSA_SERVER_ROLE
= 3i32;
4879 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4880 pub struct POLICY_LSA_SERVER_ROLE_INFO
{
4881 pub LsaServerRole
: POLICY_LSA_SERVER_ROLE
,
4883 impl ::core
::marker
::Copy
for POLICY_LSA_SERVER_ROLE_INFO {}
4884 impl ::core
::clone
::Clone
for POLICY_LSA_SERVER_ROLE_INFO
{
4885 fn clone(&self) -> Self {
4890 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4891 #[cfg(feature = "Win32_Foundation")]
4892 pub struct POLICY_MACHINE_ACCT_INFO
{
4894 pub Sid
: super::super::super::Foundation
::PSID
,
4896 #[cfg(feature = "Win32_Foundation")]
4897 impl ::core
::marker
::Copy
for POLICY_MACHINE_ACCT_INFO {}
4898 #[cfg(feature = "Win32_Foundation")]
4899 impl ::core
::clone
::Clone
for POLICY_MACHINE_ACCT_INFO
{
4900 fn clone(&self) -> Self {
4905 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4906 pub struct POLICY_MODIFICATION_INFO
{
4907 pub ModifiedId
: i64,
4908 pub DatabaseCreationTime
: i64,
4910 impl ::core
::marker
::Copy
for POLICY_MODIFICATION_INFO {}
4911 impl ::core
::clone
::Clone
for POLICY_MODIFICATION_INFO
{
4912 fn clone(&self) -> Self {
4916 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4917 pub const POLICY_NOTIFICATION
: i32 = 4096i32;
4918 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4919 pub type POLICY_NOTIFICATION_INFORMATION_CLASS
= i32;
4920 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4921 pub const PolicyNotifyAuditEventsInformation
: POLICY_NOTIFICATION_INFORMATION_CLASS
= 1i32;
4922 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4923 pub const PolicyNotifyAccountDomainInformation
: POLICY_NOTIFICATION_INFORMATION_CLASS
= 2i32;
4924 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4925 pub const PolicyNotifyServerRoleInformation
: POLICY_NOTIFICATION_INFORMATION_CLASS
= 3i32;
4926 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4927 pub const PolicyNotifyDnsDomainInformation
: POLICY_NOTIFICATION_INFORMATION_CLASS
= 4i32;
4928 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4929 pub const PolicyNotifyDomainEfsInformation
: POLICY_NOTIFICATION_INFORMATION_CLASS
= 5i32;
4930 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4931 pub const PolicyNotifyDomainKerberosTicketInformation
: POLICY_NOTIFICATION_INFORMATION_CLASS
= 6i32;
4932 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4933 pub const PolicyNotifyMachineAccountPasswordInformation
: POLICY_NOTIFICATION_INFORMATION_CLASS
= 7i32;
4934 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4935 pub const PolicyNotifyGlobalSaclInformation
: POLICY_NOTIFICATION_INFORMATION_CLASS
= 8i32;
4936 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4937 pub const PolicyNotifyMax
: POLICY_NOTIFICATION_INFORMATION_CLASS
= 9i32;
4939 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4940 #[cfg(feature = "Win32_Foundation")]
4941 pub struct POLICY_PD_ACCOUNT_INFO
{
4942 pub Name
: super::super::super::Foundation
::UNICODE_STRING
,
4944 #[cfg(feature = "Win32_Foundation")]
4945 impl ::core
::marker
::Copy
for POLICY_PD_ACCOUNT_INFO {}
4946 #[cfg(feature = "Win32_Foundation")]
4947 impl ::core
::clone
::Clone
for POLICY_PD_ACCOUNT_INFO
{
4948 fn clone(&self) -> Self {
4953 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4954 #[cfg(feature = "Win32_Foundation")]
4955 pub struct POLICY_PRIMARY_DOMAIN_INFO
{
4956 pub Name
: super::super::super::Foundation
::UNICODE_STRING
,
4957 pub Sid
: super::super::super::Foundation
::PSID
,
4959 #[cfg(feature = "Win32_Foundation")]
4960 impl ::core
::marker
::Copy
for POLICY_PRIMARY_DOMAIN_INFO {}
4961 #[cfg(feature = "Win32_Foundation")]
4962 impl ::core
::clone
::Clone
for POLICY_PRIMARY_DOMAIN_INFO
{
4963 fn clone(&self) -> Self {
4967 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4968 pub const POLICY_QOS_ALLOW_LOCAL_ROOT_CERT_STORE
: u32 = 32u32;
4969 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4970 pub const POLICY_QOS_DHCP_SERVER_ALLOWED
: u32 = 128u32;
4971 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4972 pub const POLICY_QOS_INBOUND_CONFIDENTIALITY
: u32 = 16u32;
4973 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4974 pub const POLICY_QOS_INBOUND_INTEGRITY
: u32 = 8u32;
4975 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4976 pub const POLICY_QOS_OUTBOUND_CONFIDENTIALITY
: u32 = 4u32;
4977 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4978 pub const POLICY_QOS_OUTBOUND_INTEGRITY
: u32 = 2u32;
4979 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4980 pub const POLICY_QOS_RAS_SERVER_ALLOWED
: u32 = 64u32;
4981 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4982 pub const POLICY_QOS_SCHANNEL_REQUIRED
: u32 = 1u32;
4984 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
4985 #[cfg(feature = "Win32_Foundation")]
4986 pub struct POLICY_REPLICA_SOURCE_INFO
{
4987 pub ReplicaSource
: super::super::super::Foundation
::UNICODE_STRING
,
4988 pub ReplicaAccountName
: super::super::super::Foundation
::UNICODE_STRING
,
4990 #[cfg(feature = "Win32_Foundation")]
4991 impl ::core
::marker
::Copy
for POLICY_REPLICA_SOURCE_INFO {}
4992 #[cfg(feature = "Win32_Foundation")]
4993 impl ::core
::clone
::Clone
for POLICY_REPLICA_SOURCE_INFO
{
4994 fn clone(&self) -> Self {
4998 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
4999 pub const POLICY_SERVER_ADMIN
: i32 = 1024i32;
5000 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5001 pub const POLICY_SET_AUDIT_REQUIREMENTS
: i32 = 256i32;
5002 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5003 pub const POLICY_SET_DEFAULT_QUOTA_LIMITS
: i32 = 128i32;
5004 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5005 pub const POLICY_TRUST_ADMIN
: i32 = 8i32;
5006 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5007 pub const POLICY_VIEW_AUDIT_INFORMATION
: i32 = 2i32;
5008 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5009 pub const POLICY_VIEW_LOCAL_INFORMATION
: i32 = 1i32;
5010 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5011 pub const PRIMARY_CRED_ARSO_LOGON
: u32 = 2097152u32;
5012 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5013 pub const PRIMARY_CRED_AUTH_ID
: u32 = 512u32;
5014 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5015 pub const PRIMARY_CRED_CACHED_INTERACTIVE_LOGON
: u32 = 262144u32;
5016 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5017 pub const PRIMARY_CRED_CACHED_LOGON
: u32 = 8u32;
5018 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5019 pub const PRIMARY_CRED_CLEAR_PASSWORD
: u32 = 1u32;
5020 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5021 pub const PRIMARY_CRED_DO_NOT_SPLIT
: u32 = 1024u32;
5022 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5023 pub const PRIMARY_CRED_ENCRYPTED_CREDGUARD_PASSWORD
: u32 = 131072u32;
5024 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5025 pub const PRIMARY_CRED_ENTERPRISE_INTERNET_USER
: u32 = 65536u32;
5026 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5027 pub const PRIMARY_CRED_EX
: u32 = 4096u32;
5028 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5029 pub const PRIMARY_CRED_INTERACTIVE_FIDO_LOGON
: u32 = 1048576u32;
5030 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5031 pub const PRIMARY_CRED_INTERACTIVE_NGC_LOGON
: u32 = 524288u32;
5032 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5033 pub const PRIMARY_CRED_INTERACTIVE_SMARTCARD_LOGON
: u32 = 64u32;
5034 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5035 pub const PRIMARY_CRED_INTERNET_USER
: u32 = 256u32;
5036 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5037 pub const PRIMARY_CRED_LOGON_LUA
: u32 = 32u32;
5038 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5039 pub const PRIMARY_CRED_LOGON_NO_TCB
: u32 = 16u32;
5040 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5041 pub const PRIMARY_CRED_LOGON_PACKAGE_SHIFT
: u32 = 24u32;
5042 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5043 pub const PRIMARY_CRED_OWF_PASSWORD
: u32 = 2u32;
5044 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5045 pub const PRIMARY_CRED_PACKAGE_MASK
: u32 = 4278190080u32;
5046 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5047 pub const PRIMARY_CRED_PACKED_CREDS
: u32 = 32768u32;
5048 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5049 pub const PRIMARY_CRED_PROTECTED_USER
: u32 = 2048u32;
5050 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5051 pub const PRIMARY_CRED_REFRESH_NEEDED
: u32 = 128u32;
5052 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5053 pub const PRIMARY_CRED_RESTRICTED_TS
: u32 = 16384u32;
5054 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5055 pub const PRIMARY_CRED_SUPPLEMENTAL
: u32 = 4194304u32;
5056 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5057 pub const PRIMARY_CRED_TRANSFER
: u32 = 8192u32;
5058 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5059 pub const PRIMARY_CRED_UPDATE
: u32 = 4u32;
5060 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5061 pub type PSAM_CREDENTIAL_UPDATE_FREE_ROUTINE
= ::core
::option
::Option
<unsafe extern "system" fn(p
: *const ::core
::ffi
::c_void
)>;
5062 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5063 #[cfg(feature = "Win32_Foundation")]
5064 pub type PSAM_CREDENTIAL_UPDATE_NOTIFY_ROUTINE
= ::core
::option
::Option
<unsafe extern "system" fn(clearpassword
: *const super::super::super::Foundation
::UNICODE_STRING
, oldcredentials
: *const ::core
::ffi
::c_void
, oldcredentialsize
: u32, useraccountcontrol
: u32, upn
: *const super::super::super::Foundation
::UNICODE_STRING
, username
: *const super::super::super::Foundation
::UNICODE_STRING
, netbiosdomainname
: *const super::super::super::Foundation
::UNICODE_STRING
, dnsdomainname
: *const super::super::super::Foundation
::UNICODE_STRING
, newcredentials
: *mut *mut ::core
::ffi
::c_void
, newcredentialsize
: *mut u32) -> super::super::super::Foundation
::NTSTATUS
>;
5065 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5066 #[cfg(feature = "Win32_Foundation")]
5067 pub type PSAM_CREDENTIAL_UPDATE_REGISTER_MAPPED_ENTRYPOINTS_ROUTINE
= ::core
::option
::Option
<unsafe extern "system" fn(table
: *mut SAM_REGISTER_MAPPING_TABLE
) -> super::super::super::Foundation
::NTSTATUS
>;
5068 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5069 #[cfg(feature = "Win32_Foundation")]
5070 pub type PSAM_CREDENTIAL_UPDATE_REGISTER_ROUTINE
= ::core
::option
::Option
<unsafe extern "system" fn(credentialname
: *mut super::super::super::Foundation
::UNICODE_STRING
) -> super::super::super::Foundation
::BOOLEAN
>;
5071 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5072 #[cfg(feature = "Win32_Foundation")]
5073 pub type PSAM_INIT_NOTIFICATION_ROUTINE
= ::core
::option
::Option
<unsafe extern "system" fn() -> super::super::super::Foundation
::BOOLEAN
>;
5074 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5075 #[cfg(feature = "Win32_Foundation")]
5076 pub type PSAM_PASSWORD_FILTER_ROUTINE
= ::core
::option
::Option
<unsafe extern "system" fn(accountname
: *const super::super::super::Foundation
::UNICODE_STRING
, fullname
: *const super::super::super::Foundation
::UNICODE_STRING
, password
: *const super::super::super::Foundation
::UNICODE_STRING
, setoperation
: super::super::super::Foundation
::BOOLEAN
) -> super::super::super::Foundation
::BOOLEAN
>;
5077 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5078 #[cfg(feature = "Win32_Foundation")]
5079 pub type PSAM_PASSWORD_NOTIFICATION_ROUTINE
= ::core
::option
::Option
<unsafe extern "system" fn(username
: *mut super::super::super::Foundation
::UNICODE_STRING
, relativeid
: u32, newpassword
: *mut super::super::super::Foundation
::UNICODE_STRING
) -> super::super::super::Foundation
::NTSTATUS
>;
5081 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5082 pub struct PctPublicKey
{
5087 impl ::core
::marker
::Copy
for PctPublicKey {}
5088 impl ::core
::clone
::Clone
for PctPublicKey
{
5089 fn clone(&self) -> Self {
5093 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5094 #[cfg(feature = "Win32_Security_Credentials")]
5095 pub type QUERY_CONTEXT_ATTRIBUTES_EX_FN_A
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut super::super::Credentials
::SecHandle
, param1
: u32, param2
: *mut ::core
::ffi
::c_void
, param3
: u32) -> ::windows_sys
::core
::HRESULT
>;
5096 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5097 #[cfg(feature = "Win32_Security_Credentials")]
5098 pub type QUERY_CONTEXT_ATTRIBUTES_EX_FN_W
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut super::super::Credentials
::SecHandle
, param1
: u32, param2
: *mut ::core
::ffi
::c_void
, param3
: u32) -> ::windows_sys
::core
::HRESULT
>;
5099 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5100 #[cfg(feature = "Win32_Security_Credentials")]
5101 pub type QUERY_CONTEXT_ATTRIBUTES_FN_A
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut super::super::Credentials
::SecHandle
, param1
: u32, param2
: *mut ::core
::ffi
::c_void
) -> ::windows_sys
::core
::HRESULT
>;
5102 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5103 #[cfg(feature = "Win32_Security_Credentials")]
5104 pub type QUERY_CONTEXT_ATTRIBUTES_FN_W
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut super::super::Credentials
::SecHandle
, param1
: u32, param2
: *mut ::core
::ffi
::c_void
) -> ::windows_sys
::core
::HRESULT
>;
5105 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5106 #[cfg(feature = "Win32_Security_Credentials")]
5107 pub type QUERY_CREDENTIALS_ATTRIBUTES_EX_FN_A
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut super::super::Credentials
::SecHandle
, param1
: u32, param2
: *mut ::core
::ffi
::c_void
, param3
: u32) -> ::windows_sys
::core
::HRESULT
>;
5108 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5109 #[cfg(feature = "Win32_Security_Credentials")]
5110 pub type QUERY_CREDENTIALS_ATTRIBUTES_EX_FN_W
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut super::super::Credentials
::SecHandle
, param1
: u32, param2
: *mut ::core
::ffi
::c_void
, param3
: u32) -> ::windows_sys
::core
::HRESULT
>;
5111 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5112 #[cfg(feature = "Win32_Security_Credentials")]
5113 pub type QUERY_CREDENTIALS_ATTRIBUTES_FN_A
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut super::super::Credentials
::SecHandle
, param1
: u32, param2
: *mut ::core
::ffi
::c_void
) -> ::windows_sys
::core
::HRESULT
>;
5114 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5115 #[cfg(feature = "Win32_Security_Credentials")]
5116 pub type QUERY_CREDENTIALS_ATTRIBUTES_FN_W
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut super::super::Credentials
::SecHandle
, param1
: u32, param2
: *mut ::core
::ffi
::c_void
) -> ::windows_sys
::core
::HRESULT
>;
5117 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5118 #[cfg(feature = "Win32_Security_Credentials")]
5119 pub type QUERY_SECURITY_CONTEXT_TOKEN_FN
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut super::super::Credentials
::SecHandle
, param1
: *mut *mut ::core
::ffi
::c_void
) -> ::windows_sys
::core
::HRESULT
>;
5120 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5121 pub type QUERY_SECURITY_PACKAGE_INFO_FN_A
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut i8, param1
: *mut *mut SecPkgInfoA
) -> ::windows_sys
::core
::HRESULT
>;
5122 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5123 pub type QUERY_SECURITY_PACKAGE_INFO_FN_W
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut u16, param1
: *mut *mut SecPkgInfoW
) -> ::windows_sys
::core
::HRESULT
>;
5124 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5125 pub const RCRED_CRED_EXISTS
: u32 = 1u32;
5126 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5127 pub const RCRED_STATUS_NOCRED
: u32 = 0u32;
5128 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5129 pub const RCRED_STATUS_UNKNOWN_ISSUER
: u32 = 2u32;
5130 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
5131 #[cfg(feature = "Win32_Security_Credentials")]
5132 pub type REVERT_SECURITY_CONTEXT_FN
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut super::super::Credentials
::SecHandle
) -> ::windows_sys
::core
::HRESULT
>;
5133 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5134 pub const RTL_ENCRYPT_MEMORY_SIZE
: u32 = 8u32;
5135 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5136 pub const RTL_ENCRYPT_OPTION_CROSS_PROCESS
: u32 = 1u32;
5137 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5138 pub const RTL_ENCRYPT_OPTION_FOR_SYSTEM
: u32 = 4u32;
5139 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5140 pub const RTL_ENCRYPT_OPTION_SAME_LOGON
: u32 = 2u32;
5141 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5142 pub const SAM_CREDENTIAL_UPDATE_FREE_ROUTINE
: &str = "CredentialUpdateFree";
5143 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5144 pub const SAM_CREDENTIAL_UPDATE_NOTIFY_ROUTINE
: &str = "CredentialUpdateNotify";
5145 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5146 pub const SAM_CREDENTIAL_UPDATE_REGISTER_MAPPED_ENTRYPOINTS_ROUTINE
: &str = "RegisterMappedEntrypoints";
5147 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5148 pub const SAM_CREDENTIAL_UPDATE_REGISTER_ROUTINE
: &str = "CredentialUpdateRegister";
5149 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5150 pub const SAM_DAYS_PER_WEEK
: u32 = 7u32;
5151 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5152 pub const SAM_INIT_NOTIFICATION_ROUTINE
: &str = "InitializeChangeNotify";
5153 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5154 pub const SAM_PASSWORD_CHANGE_NOTIFY_ROUTINE
: &str = "PasswordChangeNotify";
5155 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5156 pub const SAM_PASSWORD_FILTER_ROUTINE
: &str = "PasswordFilter";
5158 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5159 #[cfg(feature = "Win32_Foundation")]
5160 pub struct SAM_REGISTER_MAPPING_ELEMENT
{
5161 pub Original
: ::windows_sys
::core
::PSTR
,
5162 pub Mapped
: ::windows_sys
::core
::PSTR
,
5163 pub Continuable
: super::super::super::Foundation
::BOOLEAN
,
5165 #[cfg(feature = "Win32_Foundation")]
5166 impl ::core
::marker
::Copy
for SAM_REGISTER_MAPPING_ELEMENT {}
5167 #[cfg(feature = "Win32_Foundation")]
5168 impl ::core
::clone
::Clone
for SAM_REGISTER_MAPPING_ELEMENT
{
5169 fn clone(&self) -> Self {
5174 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5175 #[cfg(feature = "Win32_Foundation")]
5176 pub struct SAM_REGISTER_MAPPING_LIST
{
5178 pub Elements
: *mut SAM_REGISTER_MAPPING_ELEMENT
,
5180 #[cfg(feature = "Win32_Foundation")]
5181 impl ::core
::marker
::Copy
for SAM_REGISTER_MAPPING_LIST {}
5182 #[cfg(feature = "Win32_Foundation")]
5183 impl ::core
::clone
::Clone
for SAM_REGISTER_MAPPING_LIST
{
5184 fn clone(&self) -> Self {
5189 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5190 #[cfg(feature = "Win32_Foundation")]
5191 pub struct SAM_REGISTER_MAPPING_TABLE
{
5193 pub Lists
: *mut SAM_REGISTER_MAPPING_LIST
,
5195 #[cfg(feature = "Win32_Foundation")]
5196 impl ::core
::marker
::Copy
for SAM_REGISTER_MAPPING_TABLE {}
5197 #[cfg(feature = "Win32_Foundation")]
5198 impl ::core
::clone
::Clone
for SAM_REGISTER_MAPPING_TABLE
{
5199 fn clone(&self) -> Self {
5203 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5204 pub type SASL_AUTHZID_STATE
= i32;
5205 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5206 pub const Sasl_AuthZIDForbidden
: SASL_AUTHZID_STATE
= 0i32;
5207 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5208 pub const Sasl_AuthZIDProcessed
: SASL_AUTHZID_STATE
= 1i32;
5209 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5210 pub const SASL_OPTION_AUTHZ_PROCESSING
: u32 = 4u32;
5211 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5212 pub const SASL_OPTION_AUTHZ_STRING
: u32 = 3u32;
5213 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5214 pub const SASL_OPTION_RECV_SIZE
: u32 = 2u32;
5215 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5216 pub const SASL_OPTION_SEND_SIZE
: u32 = 1u32;
5217 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5218 pub const SCHANNEL_ALERT
: u32 = 2u32;
5220 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5221 pub struct SCHANNEL_ALERT_TOKEN
{
5222 pub dwTokenType
: u32,
5223 pub dwAlertType
: SCHANNEL_ALERT_TOKEN_ALERT_TYPE
,
5224 pub dwAlertNumber
: u32,
5226 impl ::core
::marker
::Copy
for SCHANNEL_ALERT_TOKEN {}
5227 impl ::core
::clone
::Clone
for SCHANNEL_ALERT_TOKEN
{
5228 fn clone(&self) -> Self {
5232 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5233 pub type SCHANNEL_ALERT_TOKEN_ALERT_TYPE
= u32;
5234 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5235 pub const TLS1_ALERT_WARNING
: SCHANNEL_ALERT_TOKEN_ALERT_TYPE
= 1u32;
5236 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5237 pub const TLS1_ALERT_FATAL
: SCHANNEL_ALERT_TOKEN_ALERT_TYPE
= 2u32;
5239 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5240 pub struct SCHANNEL_CERT_HASH
{
5244 pub ShaHash
: [u8; 20],
5246 impl ::core
::marker
::Copy
for SCHANNEL_CERT_HASH {}
5247 impl ::core
::clone
::Clone
for SCHANNEL_CERT_HASH
{
5248 fn clone(&self) -> Self {
5253 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5254 pub struct SCHANNEL_CERT_HASH_STORE
{
5258 pub ShaHash
: [u8; 20],
5259 pub pwszStoreName
: [u16; 128],
5261 impl ::core
::marker
::Copy
for SCHANNEL_CERT_HASH_STORE {}
5262 impl ::core
::clone
::Clone
for SCHANNEL_CERT_HASH_STORE
{
5263 fn clone(&self) -> Self {
5268 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5269 pub struct SCHANNEL_CLIENT_SIGNATURE
{
5273 pub HashValue
: [u8; 36],
5274 pub CertThumbprint
: [u8; 20],
5276 impl ::core
::marker
::Copy
for SCHANNEL_CLIENT_SIGNATURE {}
5277 impl ::core
::clone
::Clone
for SCHANNEL_CLIENT_SIGNATURE
{
5278 fn clone(&self) -> Self {
5283 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
5284 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
5285 pub struct SCHANNEL_CRED
{
5288 pub paCred
: *mut *mut super::super::Cryptography
::CERT_CONTEXT
,
5289 pub hRootStore
: super::super::Cryptography
::HCERTSTORE
,
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,
5301 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
5302 impl ::core
::marker
::Copy
for SCHANNEL_CRED {}
5303 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
5304 impl ::core
::clone
::Clone
for SCHANNEL_CRED
{
5305 fn clone(&self) -> Self {
5309 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5310 pub type SCHANNEL_CRED_FLAGS
= u32;
5311 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5312 pub const SCH_CRED_AUTO_CRED_VALIDATION
: SCHANNEL_CRED_FLAGS
= 32u32;
5313 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5314 pub const SCH_CRED_CACHE_ONLY_URL_RETRIEVAL_ON_CREATE
: SCHANNEL_CRED_FLAGS
= 131072u32;
5315 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5316 pub const SCH_DISABLE_RECONNECTS
: SCHANNEL_CRED_FLAGS
= 128u32;
5317 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5318 pub const SCH_CRED_IGNORE_NO_REVOCATION_CHECK
: SCHANNEL_CRED_FLAGS
= 2048u32;
5319 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5320 pub const SCH_CRED_IGNORE_REVOCATION_OFFLINE
: SCHANNEL_CRED_FLAGS
= 4096u32;
5321 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5322 pub const SCH_CRED_MANUAL_CRED_VALIDATION
: SCHANNEL_CRED_FLAGS
= 8u32;
5323 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5324 pub const SCH_CRED_NO_DEFAULT_CREDS
: SCHANNEL_CRED_FLAGS
= 16u32;
5325 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5326 pub const SCH_CRED_NO_SERVERNAME_CHECK
: SCHANNEL_CRED_FLAGS
= 4u32;
5327 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5328 pub const SCH_CRED_NO_SYSTEM_MAPPER
: SCHANNEL_CRED_FLAGS
= 2u32;
5329 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5330 pub const SCH_CRED_REVOCATION_CHECK_CHAIN
: SCHANNEL_CRED_FLAGS
= 512u32;
5331 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5332 pub const SCH_CRED_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT
: SCHANNEL_CRED_FLAGS
= 1024u32;
5333 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5334 pub const SCH_CRED_REVOCATION_CHECK_END_CERT
: SCHANNEL_CRED_FLAGS
= 256u32;
5335 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5336 pub const SCH_CRED_USE_DEFAULT_CREDS
: SCHANNEL_CRED_FLAGS
= 64u32;
5337 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5338 pub const SCH_SEND_AUX_RECORD
: SCHANNEL_CRED_FLAGS
= 2097152u32;
5339 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5340 pub const SCH_SEND_ROOT_CERT
: SCHANNEL_CRED_FLAGS
= 262144u32;
5341 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5342 pub const SCH_USE_STRONG_CRYPTO
: SCHANNEL_CRED_FLAGS
= 4194304u32;
5343 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5344 pub const SCH_USE_PRESHAREDKEY_ONLY
: SCHANNEL_CRED_FLAGS
= 8388608u32;
5345 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5346 pub const SCHANNEL_CRED_VERSION
: u32 = 4u32;
5347 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5348 pub const SCHANNEL_NAME
: &str = "Schannel";
5349 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5350 pub const SCHANNEL_NAME_A
: &str = "Schannel";
5351 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5352 pub const SCHANNEL_NAME_W
: &str = "Schannel";
5353 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5354 pub const SCHANNEL_RENEGOTIATE
: u32 = 0u32;
5355 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5356 pub const SCHANNEL_SECRET_PRIVKEY
: u32 = 2u32;
5357 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5358 pub const SCHANNEL_SECRET_TYPE_CAPI
: u32 = 1u32;
5359 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5360 pub const SCHANNEL_SESSION
: u32 = 3u32;
5362 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5363 pub struct SCHANNEL_SESSION_TOKEN
{
5364 pub dwTokenType
: u32,
5365 pub dwFlags
: SCHANNEL_SESSION_TOKEN_FLAGS
,
5367 impl ::core
::marker
::Copy
for SCHANNEL_SESSION_TOKEN {}
5368 impl ::core
::clone
::Clone
for SCHANNEL_SESSION_TOKEN
{
5369 fn clone(&self) -> Self {
5373 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5374 pub type SCHANNEL_SESSION_TOKEN_FLAGS
= u32;
5375 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5376 pub const SSL_SESSION_ENABLE_RECONNECTS
: SCHANNEL_SESSION_TOKEN_FLAGS
= 1u32;
5377 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5378 pub const SSL_SESSION_DISABLE_RECONNECTS
: SCHANNEL_SESSION_TOKEN_FLAGS
= 2u32;
5379 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5380 pub const SCHANNEL_SHUTDOWN
: u32 = 1u32;
5381 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5382 pub const SCH_ALLOW_NULL_ENCRYPTION
: u32 = 33554432u32;
5384 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5385 pub struct SCH_CRED
{
5388 pub paSecret
: *mut *mut ::core
::ffi
::c_void
,
5389 pub paPublic
: *mut *mut ::core
::ffi
::c_void
,
5391 pub aphMappers
: *mut *mut _HMAPPER
,
5393 impl ::core
::marker
::Copy
for SCH_CRED {}
5394 impl ::core
::clone
::Clone
for SCH_CRED
{
5395 fn clone(&self) -> Self {
5399 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5400 pub const SCH_CREDENTIALS_VERSION
: u32 = 5u32;
5401 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5402 pub const SCH_CRED_CACHE_ONLY_URL_RETRIEVAL
: u32 = 32768u32;
5403 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5404 pub const SCH_CRED_CERT_CONTEXT
: u32 = 3u32;
5405 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5406 pub const SCH_CRED_DEFERRED_CRED_VALIDATION
: u32 = 67108864u32;
5407 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5408 pub const SCH_CRED_DISABLE_RECONNECTS
: u32 = 128u32;
5409 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5410 pub const SCH_CRED_FORMAT_CERT_CONTEXT
: u32 = 0u32;
5411 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5412 pub const SCH_CRED_FORMAT_CERT_HASH
: u32 = 1u32;
5413 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5414 pub const SCH_CRED_FORMAT_CERT_HASH_STORE
: u32 = 2u32;
5415 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5416 pub const SCH_CRED_MAX_STORE_NAME_SIZE
: u32 = 128u32;
5417 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5418 pub const SCH_CRED_MAX_SUPPORTED_ALGS
: u32 = 256u32;
5419 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5420 pub const SCH_CRED_MAX_SUPPORTED_ALPN_IDS
: u32 = 16u32;
5421 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5422 pub const SCH_CRED_MAX_SUPPORTED_CERTS
: u32 = 100u32;
5423 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5424 pub const SCH_CRED_MAX_SUPPORTED_CHAINING_MODES
: u32 = 16u32;
5425 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5426 pub const SCH_CRED_MAX_SUPPORTED_CRYPTO_SETTINGS
: u32 = 16u32;
5427 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5428 pub const SCH_CRED_MAX_SUPPORTED_PARAMETERS
: u32 = 16u32;
5429 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5430 pub const SCH_CRED_MEMORY_STORE_CERT
: u32 = 65536u32;
5432 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5433 pub struct SCH_CRED_PUBLIC_CERTCHAIN
{
5435 pub cbCertChain
: u32,
5436 pub pCertChain
: *mut u8,
5438 impl ::core
::marker
::Copy
for SCH_CRED_PUBLIC_CERTCHAIN {}
5439 impl ::core
::clone
::Clone
for SCH_CRED_PUBLIC_CERTCHAIN
{
5440 fn clone(&self) -> Self {
5444 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5445 pub const SCH_CRED_RESTRICTED_ROOTS
: u32 = 8192u32;
5446 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5447 pub const SCH_CRED_REVOCATION_CHECK_CACHE_ONLY
: u32 = 16384u32;
5449 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5450 pub struct SCH_CRED_SECRET_CAPI
{
5454 impl ::core
::marker
::Copy
for SCH_CRED_SECRET_CAPI {}
5455 impl ::core
::clone
::Clone
for SCH_CRED_SECRET_CAPI
{
5456 fn clone(&self) -> Self {
5461 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5462 pub struct SCH_CRED_SECRET_PRIVKEY
{
5464 pub pPrivateKey
: *mut u8,
5465 pub cbPrivateKey
: u32,
5466 pub pszPassword
: ::windows_sys
::core
::PSTR
,
5468 impl ::core
::marker
::Copy
for SCH_CRED_SECRET_PRIVKEY {}
5469 impl ::core
::clone
::Clone
for SCH_CRED_SECRET_PRIVKEY
{
5470 fn clone(&self) -> Self {
5474 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5475 pub const SCH_CRED_SNI_CREDENTIAL
: u32 = 524288u32;
5476 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5477 pub const SCH_CRED_SNI_ENABLE_OCSP
: u32 = 1048576u32;
5478 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5479 pub const SCH_CRED_V1
: u32 = 1u32;
5480 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5481 pub const SCH_CRED_V2
: u32 = 2u32;
5482 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5483 pub const SCH_CRED_V3
: u32 = 3u32;
5484 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5485 pub const SCH_CRED_VERSION
: u32 = 2u32;
5486 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5487 pub const SCH_CRED_X509_CAPI
: u32 = 2u32;
5488 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5489 pub const SCH_CRED_X509_CERTCHAIN
: u32 = 1u32;
5491 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5492 pub struct SCH_EXTENSION_DATA
{
5493 pub ExtensionType
: u16,
5494 pub pExtData
: *const u8,
5497 impl ::core
::marker
::Copy
for SCH_EXTENSION_DATA {}
5498 impl ::core
::clone
::Clone
for SCH_EXTENSION_DATA
{
5499 fn clone(&self) -> Self {
5503 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5504 pub const SCH_MACHINE_CERT_HASH
: u32 = 1u32;
5505 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5506 pub const SCH_MAX_EXT_SUBSCRIPTIONS
: u32 = 2u32;
5507 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5508 pub const SCH_USE_DTLS_ONLY
: u32 = 16777216u32;
5509 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5510 pub const SECBUFFER_ALERT
: u32 = 17u32;
5511 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5512 pub const SECBUFFER_APPLICATION_PROTOCOLS
: u32 = 18u32;
5513 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5514 pub const SECBUFFER_ATTRMASK
: u32 = 4026531840u32;
5515 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5516 pub const SECBUFFER_CHANGE_PASS_RESPONSE
: u32 = 15u32;
5517 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5518 pub const SECBUFFER_CHANNEL_BINDINGS
: u32 = 14u32;
5519 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5520 pub const SECBUFFER_DATA
: u32 = 1u32;
5521 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5522 pub const SECBUFFER_DTLS_MTU
: u32 = 24u32;
5523 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5524 pub const SECBUFFER_EMPTY
: u32 = 0u32;
5525 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5526 pub const SECBUFFER_EXTRA
: u32 = 5u32;
5527 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5528 pub const SECBUFFER_FLAGS
: u32 = 27u32;
5529 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5530 pub const SECBUFFER_KERNEL_MAP
: u32 = 536870912u32;
5531 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5532 pub const SECBUFFER_MECHLIST
: u32 = 11u32;
5533 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5534 pub const SECBUFFER_MECHLIST_SIGNATURE
: u32 = 12u32;
5535 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5536 pub const SECBUFFER_MISSING
: u32 = 4u32;
5537 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5538 pub const SECBUFFER_NEGOTIATION_INFO
: u32 = 8u32;
5539 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5540 pub const SECBUFFER_PADDING
: u32 = 9u32;
5541 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5542 pub const SECBUFFER_PKG_PARAMS
: u32 = 3u32;
5543 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5544 pub const SECBUFFER_PRESHARED_KEY
: u32 = 22u32;
5545 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5546 pub const SECBUFFER_PRESHARED_KEY_IDENTITY
: u32 = 23u32;
5547 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5548 pub const SECBUFFER_READONLY
: u32 = 2147483648u32;
5549 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5550 pub const SECBUFFER_READONLY_WITH_CHECKSUM
: u32 = 268435456u32;
5551 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5552 pub const SECBUFFER_RESERVED
: u32 = 1610612736u32;
5553 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5554 pub const SECBUFFER_SEND_GENERIC_TLS_EXTENSION
: u32 = 25u32;
5555 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5556 pub const SECBUFFER_SRTP_MASTER_KEY_IDENTIFIER
: u32 = 20u32;
5557 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5558 pub const SECBUFFER_SRTP_PROTECTION_PROFILES
: u32 = 19u32;
5559 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5560 pub const SECBUFFER_STREAM
: u32 = 10u32;
5561 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5562 pub const SECBUFFER_STREAM_HEADER
: u32 = 7u32;
5563 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5564 pub const SECBUFFER_STREAM_TRAILER
: u32 = 6u32;
5565 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5566 pub const SECBUFFER_SUBSCRIBE_GENERIC_TLS_EXTENSION
: u32 = 26u32;
5567 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5568 pub const SECBUFFER_TARGET
: u32 = 13u32;
5569 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5570 pub const SECBUFFER_TARGET_HOST
: u32 = 16u32;
5571 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5572 pub const SECBUFFER_TOKEN
: u32 = 2u32;
5573 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5574 pub const SECBUFFER_TOKEN_BINDING
: u32 = 21u32;
5575 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5576 pub const SECBUFFER_TRAFFIC_SECRETS
: u32 = 28u32;
5577 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5578 pub const SECBUFFER_UNMAPPED
: u32 = 1073741824u32;
5579 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5580 pub const SECBUFFER_VERSION
: u32 = 0u32;
5581 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5582 pub const SECPKGCONTEXT_CIPHERINFO_V1
: u32 = 1u32;
5583 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5584 pub const SECPKGCONTEXT_CONNECTION_INFO_EX_V1
: u32 = 1u32;
5585 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5586 pub const SECPKG_ANSI_ATTRIBUTE
: u32 = 0u32;
5588 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5589 #[cfg(feature = "Win32_Foundation")]
5590 pub struct SECPKG_APP_MODE_INFO
{
5591 pub UserFunction
: u32,
5592 pub Argument1
: usize,
5593 pub Argument2
: usize,
5594 pub UserData
: SecBuffer
,
5595 pub ReturnToLsa
: super::super::super::Foundation
::BOOLEAN
,
5597 #[cfg(feature = "Win32_Foundation")]
5598 impl ::core
::marker
::Copy
for SECPKG_APP_MODE_INFO {}
5599 #[cfg(feature = "Win32_Foundation")]
5600 impl ::core
::clone
::Clone
for SECPKG_APP_MODE_INFO
{
5601 fn clone(&self) -> Self {
5605 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5606 pub type SECPKG_ATTR
= u32;
5607 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5608 pub const SECPKG_ATTR_C_ACCESS_TOKEN
: SECPKG_ATTR
= 2147483666u32;
5609 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5610 pub const SECPKG_ATTR_C_FULL_ACCESS_TOKEN
: SECPKG_ATTR
= 2147483778u32;
5611 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5612 pub const SECPKG_ATTR_CERT_TRUST_STATUS
: SECPKG_ATTR
= 2147483780u32;
5613 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5614 pub const SECPKG_ATTR_CREDS
: SECPKG_ATTR
= 2147483776u32;
5615 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5616 pub const SECPKG_ATTR_CREDS_2
: SECPKG_ATTR
= 2147483782u32;
5617 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5618 pub const SECPKG_ATTR_NEGOTIATION_PACKAGE
: SECPKG_ATTR
= 2147483777u32;
5619 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5620 pub const SECPKG_ATTR_PACKAGE_INFO
: SECPKG_ATTR
= 10u32;
5621 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5622 pub const SECPKG_ATTR_SERVER_AUTH_FLAGS
: SECPKG_ATTR
= 2147483779u32;
5623 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5624 pub const SECPKG_ATTR_SIZES
: SECPKG_ATTR
= 0u32;
5625 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5626 pub const SECPKG_ATTR_SUBJECT_SECURITY_ATTRIBUTES
: SECPKG_ATTR
= 124u32;
5627 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5628 pub const SECPKG_ATTR_APP_DATA
: SECPKG_ATTR
= 94u32;
5629 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5630 pub const SECPKG_ATTR_EAP_PRF_INFO
: SECPKG_ATTR
= 101u32;
5631 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5632 pub const SECPKG_ATTR_EARLY_START
: SECPKG_ATTR
= 105u32;
5633 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5634 pub const SECPKG_ATTR_DTLS_MTU
: SECPKG_ATTR
= 34u32;
5635 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5636 pub const SECPKG_ATTR_KEYING_MATERIAL_INFO
: SECPKG_ATTR
= 106u32;
5637 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5638 pub const SECPKG_ATTR_ACCESS_TOKEN
: SECPKG_ATTR
= 18u32;
5639 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5640 pub const SECPKG_ATTR_AUTHORITY
: SECPKG_ATTR
= 6u32;
5641 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5642 pub const SECPKG_ATTR_CLIENT_SPECIFIED_TARGET
: SECPKG_ATTR
= 27u32;
5643 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5644 pub const SECPKG_ATTR_CONNECTION_INFO
: SECPKG_ATTR
= 90u32;
5645 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5646 pub const SECPKG_ATTR_DCE_INFO
: SECPKG_ATTR
= 3u32;
5647 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5648 pub const SECPKG_ATTR_ENDPOINT_BINDINGS
: SECPKG_ATTR
= 26u32;
5649 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5650 pub const SECPKG_ATTR_EAP_KEY_BLOCK
: SECPKG_ATTR
= 91u32;
5651 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5652 pub const SECPKG_ATTR_FLAGS
: SECPKG_ATTR
= 14u32;
5653 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5654 pub const SECPKG_ATTR_ISSUER_LIST_EX
: SECPKG_ATTR
= 89u32;
5655 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5656 pub const SECPKG_ATTR_KEY_INFO
: SECPKG_ATTR
= 5u32;
5657 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5658 pub const SECPKG_ATTR_LAST_CLIENT_TOKEN_STATUS
: SECPKG_ATTR
= 30u32;
5659 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5660 pub const SECPKG_ATTR_LIFESPAN
: SECPKG_ATTR
= 2u32;
5661 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5662 pub const SECPKG_ATTR_LOCAL_CERT_CONTEXT
: SECPKG_ATTR
= 84u32;
5663 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5664 pub const SECPKG_ATTR_LOCAL_CRED
: SECPKG_ATTR
= 82u32;
5665 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5666 pub const SECPKG_ATTR_NAMES
: SECPKG_ATTR
= 1u32;
5667 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5668 pub const SECPKG_ATTR_NATIVE_NAMES
: SECPKG_ATTR
= 13u32;
5669 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5670 pub const SECPKG_ATTR_NEGOTIATION_INFO
: SECPKG_ATTR
= 12u32;
5671 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5672 pub const SECPKG_ATTR_PASSWORD_EXPIRY
: SECPKG_ATTR
= 8u32;
5673 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5674 pub const SECPKG_ATTR_REMOTE_CERT_CONTEXT
: SECPKG_ATTR
= 83u32;
5675 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5676 pub const SECPKG_ATTR_ROOT_STORE
: SECPKG_ATTR
= 85u32;
5677 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5678 pub const SECPKG_ATTR_SESSION_KEY
: SECPKG_ATTR
= 9u32;
5679 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5680 pub const SECPKG_ATTR_SESSION_INFO
: SECPKG_ATTR
= 93u32;
5681 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5682 pub const SECPKG_ATTR_STREAM_SIZES
: SECPKG_ATTR
= 4u32;
5683 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5684 pub const SECPKG_ATTR_SUPPORTED_SIGNATURES
: SECPKG_ATTR
= 102u32;
5685 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5686 pub const SECPKG_ATTR_TARGET_INFORMATION
: SECPKG_ATTR
= 17u32;
5687 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5688 pub const SECPKG_ATTR_UNIQUE_BINDINGS
: SECPKG_ATTR
= 25u32;
5689 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5690 pub const SECPKG_ATTR_APPLICATION_PROTOCOL
: u32 = 35u32;
5691 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5692 pub const SECPKG_ATTR_AUTHENTICATION_ID
: u32 = 20u32;
5693 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5694 pub const SECPKG_ATTR_CC_POLICY_RESULT
: u32 = 97u32;
5695 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5696 pub const SECPKG_ATTR_CERT_CHECK_RESULT
: u32 = 113u32;
5697 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5698 pub const SECPKG_ATTR_CERT_CHECK_RESULT_INPROC
: u32 = 114u32;
5699 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5700 pub const SECPKG_ATTR_CIPHER_INFO
: u32 = 100u32;
5701 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5702 pub const SECPKG_ATTR_CIPHER_STRENGTHS
: u32 = 87u32;
5703 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5704 pub const SECPKG_ATTR_CLIENT_CERT_POLICY
: u32 = 96u32;
5705 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5706 pub const SECPKG_ATTR_CONNECTION_INFO_EX
: u32 = 110u32;
5707 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5708 pub const SECPKG_ATTR_CONTEXT_DELETED
: u32 = 33u32;
5709 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5710 pub const SECPKG_ATTR_CREDENTIAL_NAME
: u32 = 16u32;
5711 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5712 pub const SECPKG_ATTR_ISSUER_LIST
: u32 = 80u32;
5713 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5714 pub const SECPKG_ATTR_IS_LOOPBACK
: u32 = 37u32;
5715 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5716 pub const SECPKG_ATTR_KEYING_MATERIAL
: u32 = 107u32;
5717 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5718 pub const SECPKG_ATTR_KEYING_MATERIAL_INPROC
: u32 = 112u32;
5719 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5720 pub const SECPKG_ATTR_KEYING_MATERIAL_TOKEN_BINDING
: u32 = 111u32;
5721 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5722 pub type SECPKG_ATTR_LCT_STATUS
= i32;
5723 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5724 pub const SecPkgAttrLastClientTokenYes
: SECPKG_ATTR_LCT_STATUS
= 0i32;
5725 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5726 pub const SecPkgAttrLastClientTokenNo
: SECPKG_ATTR_LCT_STATUS
= 1i32;
5727 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5728 pub const SecPkgAttrLastClientTokenMaybe
: SECPKG_ATTR_LCT_STATUS
= 2i32;
5729 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5730 pub const SECPKG_ATTR_LOCAL_CERT_INFO
: u32 = 99u32;
5731 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5732 pub const SECPKG_ATTR_LOGOFF_TIME
: u32 = 21u32;
5733 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5734 pub const SECPKG_ATTR_MAPPED_CRED_ATTR
: u32 = 92u32;
5735 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5736 pub const SECPKG_ATTR_NEGOTIATED_TLS_EXTENSIONS
: u32 = 36u32;
5737 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5738 pub const SECPKG_ATTR_NEGO_INFO_FLAG_NO_KERBEROS
: u32 = 1u32;
5739 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5740 pub const SECPKG_ATTR_NEGO_INFO_FLAG_NO_NTLM
: u32 = 2u32;
5741 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5742 pub const SECPKG_ATTR_NEGO_KEYS
: u32 = 22u32;
5743 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5744 pub const SECPKG_ATTR_NEGO_PKG_INFO
: u32 = 31u32;
5745 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5746 pub const SECPKG_ATTR_NEGO_STATUS
: u32 = 32u32;
5747 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5748 pub const SECPKG_ATTR_PROMPTING_NEEDED
: u32 = 24u32;
5749 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5750 pub const SECPKG_ATTR_PROTO_INFO
: u32 = 7u32;
5751 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5752 pub const SECPKG_ATTR_REMOTE_CERTIFICATES
: u32 = 95u32;
5753 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5754 pub const SECPKG_ATTR_REMOTE_CERT_CHAIN
: u32 = 103u32;
5755 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5756 pub const SECPKG_ATTR_REMOTE_CRED
: u32 = 81u32;
5757 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5758 pub const SECPKG_ATTR_SASL_CONTEXT
: u32 = 65536u32;
5759 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5760 pub const SECPKG_ATTR_SESSION_TICKET_KEYS
: u32 = 115u32;
5761 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5762 pub const SECPKG_ATTR_SRTP_PARAMETERS
: u32 = 108u32;
5763 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5764 pub const SECPKG_ATTR_SUPPORTED_ALGS
: u32 = 86u32;
5765 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5766 pub const SECPKG_ATTR_SUPPORTED_PROTOCOLS
: u32 = 88u32;
5767 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5768 pub const SECPKG_ATTR_TARGET
: u32 = 19u32;
5769 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5770 pub const SECPKG_ATTR_THUNK_ALL
: u32 = 65536u32;
5771 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5772 pub const SECPKG_ATTR_TOKEN_BINDING
: u32 = 109u32;
5773 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5774 pub const SECPKG_ATTR_UI_INFO
: u32 = 104u32;
5775 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5776 pub const SECPKG_ATTR_USER_FLAGS
: u32 = 11u32;
5777 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5778 pub const SECPKG_ATTR_USE_NCRYPT
: u32 = 98u32;
5779 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5780 pub const SECPKG_ATTR_USE_VALIDATED
: u32 = 15u32;
5782 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5783 pub struct SECPKG_BYTE_VECTOR
{
5784 pub ByteArrayOffset
: u32,
5785 pub ByteArrayLength
: u16,
5787 impl ::core
::marker
::Copy
for SECPKG_BYTE_VECTOR {}
5788 impl ::core
::clone
::Clone
for SECPKG_BYTE_VECTOR
{
5789 fn clone(&self) -> Self {
5793 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5794 pub const SECPKG_CALLFLAGS_APPCONTAINER
: u32 = 1u32;
5795 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5796 pub const SECPKG_CALLFLAGS_APPCONTAINER_AUTHCAPABLE
: u32 = 2u32;
5797 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5798 pub const SECPKG_CALLFLAGS_APPCONTAINER_UPNCAPABLE
: u32 = 8u32;
5799 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5800 pub const SECPKG_CALLFLAGS_FORCE_SUPPLIED
: u32 = 4u32;
5801 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5802 pub const SECPKG_CALL_ANSI
: u32 = 2u32;
5803 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5804 pub const SECPKG_CALL_ASYNC_UPDATE
: u32 = 4096u32;
5805 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5806 pub const SECPKG_CALL_BUFFER_MARSHAL
: u32 = 65536u32;
5807 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5808 pub const SECPKG_CALL_CLEANUP
: u32 = 32u32;
5809 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5810 pub const SECPKG_CALL_CLOUDAP_CONNECT
: u32 = 262144u32;
5812 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5813 pub struct SECPKG_CALL_INFO
{
5816 pub Attributes
: u32,
5818 pub MechOid
: *mut ::core
::ffi
::c_void
,
5820 impl ::core
::marker
::Copy
for SECPKG_CALL_INFO {}
5821 impl ::core
::clone
::Clone
for SECPKG_CALL_INFO
{
5822 fn clone(&self) -> Self {
5826 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5827 pub const SECPKG_CALL_IN_PROC
: u32 = 16u32;
5828 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5829 pub const SECPKG_CALL_IS_TCB
: u32 = 512u32;
5830 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5831 pub const SECPKG_CALL_KERNEL_MODE
: u32 = 1u32;
5832 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5833 pub const SECPKG_CALL_NEGO
: u32 = 16384u32;
5834 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5835 pub const SECPKG_CALL_NEGO_EXTENDER
: u32 = 32768u32;
5836 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5837 pub const SECPKG_CALL_NETWORK_ONLY
: u32 = 1024u32;
5838 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5839 pub type SECPKG_CALL_PACKAGE_MESSAGE_TYPE
= i32;
5840 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5841 pub const SecPkgCallPackageMinMessage
: SECPKG_CALL_PACKAGE_MESSAGE_TYPE
= 1024i32;
5842 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5843 pub const SecPkgCallPackagePinDcMessage
: SECPKG_CALL_PACKAGE_MESSAGE_TYPE
= 1024i32;
5844 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5845 pub const SecPkgCallPackageUnpinAllDcsMessage
: SECPKG_CALL_PACKAGE_MESSAGE_TYPE
= 1025i32;
5846 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5847 pub const SecPkgCallPackageTransferCredMessage
: SECPKG_CALL_PACKAGE_MESSAGE_TYPE
= 1026i32;
5848 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5849 pub const SecPkgCallPackageMaxMessage
: SECPKG_CALL_PACKAGE_MESSAGE_TYPE
= 1026i32;
5851 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5852 #[cfg(feature = "Win32_Foundation")]
5853 pub struct SECPKG_CALL_PACKAGE_PIN_DC_REQUEST
{
5854 pub MessageType
: u32,
5856 pub DomainName
: super::super::super::Foundation
::UNICODE_STRING
,
5857 pub DcName
: super::super::super::Foundation
::UNICODE_STRING
,
5860 #[cfg(feature = "Win32_Foundation")]
5861 impl ::core
::marker
::Copy
for SECPKG_CALL_PACKAGE_PIN_DC_REQUEST {}
5862 #[cfg(feature = "Win32_Foundation")]
5863 impl ::core
::clone
::Clone
for SECPKG_CALL_PACKAGE_PIN_DC_REQUEST
{
5864 fn clone(&self) -> Self {
5869 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5870 #[cfg(feature = "Win32_Foundation")]
5871 pub struct SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST
{
5872 pub MessageType
: u32,
5873 pub OriginLogonId
: super::super::super::Foundation
::LUID
,
5874 pub DestinationLogonId
: super::super::super::Foundation
::LUID
,
5877 #[cfg(feature = "Win32_Foundation")]
5878 impl ::core
::marker
::Copy
for SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST {}
5879 #[cfg(feature = "Win32_Foundation")]
5880 impl ::core
::clone
::Clone
for SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST
{
5881 fn clone(&self) -> Self {
5885 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5886 pub const SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST_FLAG_CLEANUP_CREDENTIALS
: u32 = 2u32;
5887 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5888 pub const SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST_FLAG_OPTIMISTIC_LOGON
: u32 = 1u32;
5889 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5890 pub const SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST_FLAG_TO_SSO_SESSION
: u32 = 4u32;
5892 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5893 pub struct SECPKG_CALL_PACKAGE_UNPIN_ALL_DCS_REQUEST
{
5894 pub MessageType
: u32,
5897 impl ::core
::marker
::Copy
for SECPKG_CALL_PACKAGE_UNPIN_ALL_DCS_REQUEST {}
5898 impl ::core
::clone
::Clone
for SECPKG_CALL_PACKAGE_UNPIN_ALL_DCS_REQUEST
{
5899 fn clone(&self) -> Self {
5903 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5904 pub const SECPKG_CALL_PROCESS_TERM
: u32 = 256u32;
5905 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5906 pub const SECPKG_CALL_RECURSIVE
: u32 = 8u32;
5907 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5908 pub const SECPKG_CALL_SYSTEM_PROC
: u32 = 8192u32;
5909 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5910 pub const SECPKG_CALL_THREAD_TERM
: u32 = 128u32;
5911 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5912 pub const SECPKG_CALL_UNLOCK
: u32 = 131072u32;
5913 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5914 pub const SECPKG_CALL_URGENT
: u32 = 4u32;
5915 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5916 pub const SECPKG_CALL_WINLOGON
: u32 = 2048u32;
5917 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5918 pub const SECPKG_CALL_WOWA32
: u32 = 262144u32;
5919 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5920 pub const SECPKG_CALL_WOWCLIENT
: u32 = 64u32;
5921 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5922 pub const SECPKG_CALL_WOWX86
: u32 = 64u32;
5924 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5925 #[cfg(feature = "Win32_Foundation")]
5926 pub struct SECPKG_CLIENT_INFO
{
5927 pub LogonId
: super::super::super::Foundation
::LUID
,
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
,
5937 #[cfg(feature = "Win32_Foundation")]
5938 impl ::core
::marker
::Copy
for SECPKG_CLIENT_INFO {}
5939 #[cfg(feature = "Win32_Foundation")]
5940 impl ::core
::clone
::Clone
for SECPKG_CLIENT_INFO
{
5941 fn clone(&self) -> Self {
5945 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5946 pub const SECPKG_CLIENT_PROCESS_TERMINATED
: u32 = 1u32;
5947 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5948 pub const SECPKG_CLIENT_THREAD_TERMINATED
: u32 = 2u32;
5950 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5951 pub struct SECPKG_CONTEXT_THUNKS
{
5952 pub InfoLevelCount
: u32,
5953 pub Levels
: [u32; 1],
5955 impl ::core
::marker
::Copy
for SECPKG_CONTEXT_THUNKS {}
5956 impl ::core
::clone
::Clone
for SECPKG_CONTEXT_THUNKS
{
5957 fn clone(&self) -> Self {
5961 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5962 pub type SECPKG_CRED
= u32;
5963 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5964 pub const SECPKG_CRED_INBOUND
: SECPKG_CRED
= 1u32;
5965 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5966 pub const SECPKG_CRED_OUTBOUND
: SECPKG_CRED
= 2u32;
5968 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
5969 #[cfg(feature = "Win32_Foundation")]
5970 pub struct SECPKG_CREDENTIAL
{
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
,
5979 pub ModifiedId
: super::super::super::Foundation
::LUID
,
5980 pub fCredentials
: u32,
5982 pub PrincipalName
: SECPKG_BYTE_VECTOR
,
5983 pub PackageList
: SECPKG_BYTE_VECTOR
,
5984 pub MarshaledSuppliedCreds
: SECPKG_BYTE_VECTOR
,
5986 #[cfg(feature = "Win32_Foundation")]
5987 impl ::core
::marker
::Copy
for SECPKG_CREDENTIAL {}
5988 #[cfg(feature = "Win32_Foundation")]
5989 impl ::core
::clone
::Clone
for SECPKG_CREDENTIAL
{
5990 fn clone(&self) -> Self {
5994 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5995 pub const SECPKG_CREDENTIAL_ATTRIBUTE
: u32 = 0u32;
5996 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5997 pub const SECPKG_CREDENTIAL_FLAGS_CALLER_HAS_TCB
: u32 = 1u32;
5998 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
5999 pub const SECPKG_CREDENTIAL_FLAGS_CREDMAN_CRED
: u32 = 2u32;
6000 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6001 pub const SECPKG_CREDENTIAL_VERSION
: u32 = 201u32;
6002 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6003 pub const SECPKG_CRED_ATTR_CERT
: u32 = 4u32;
6004 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6005 pub const SECPKG_CRED_ATTR_KDC_PROXY_SETTINGS
: u32 = 3u32;
6006 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6007 pub const SECPKG_CRED_ATTR_NAMES
: u32 = 1u32;
6008 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6009 pub const SECPKG_CRED_ATTR_PAC_BYPASS
: u32 = 5u32;
6010 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6011 pub const SECPKG_CRED_ATTR_SSI_PROVIDER
: u32 = 2u32;
6012 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6013 pub const SECPKG_CRED_AUTOLOGON_RESTRICTED
: u32 = 16u32;
6014 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6015 pub const SECPKG_CRED_BOTH
: u32 = 3u32;
6016 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6017 pub type SECPKG_CRED_CLASS
= i32;
6018 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6019 pub const SecPkgCredClass_None
: SECPKG_CRED_CLASS
= 0i32;
6020 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6021 pub const SecPkgCredClass_Ephemeral
: SECPKG_CRED_CLASS
= 10i32;
6022 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6023 pub const SecPkgCredClass_PersistedGeneric
: SECPKG_CRED_CLASS
= 20i32;
6024 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6025 pub const SecPkgCredClass_PersistedSpecific
: SECPKG_CRED_CLASS
= 30i32;
6026 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6027 pub const SecPkgCredClass_Explicit
: SECPKG_CRED_CLASS
= 40i32;
6028 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6029 pub const SECPKG_CRED_DEFAULT
: u32 = 4u32;
6030 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6031 pub const SECPKG_CRED_PROCESS_POLICY_ONLY
: u32 = 32u32;
6032 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6033 pub const SECPKG_CRED_RESERVED
: u32 = 4026531840u32;
6035 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
6036 #[cfg(feature = "Win32_Foundation")]
6037 pub struct SECPKG_DLL_FUNCTIONS
{
6038 pub AllocateHeap
: PLSA_ALLOCATE_LSA_HEAP
,
6039 pub FreeHeap
: PLSA_FREE_LSA_HEAP
,
6040 pub RegisterCallback
: PLSA_REGISTER_CALLBACK
,
6041 pub LocatePackageById
: PLSA_LOCATE_PKG_BY_ID
,
6043 #[cfg(feature = "Win32_Foundation")]
6044 impl ::core
::marker
::Copy
for SECPKG_DLL_FUNCTIONS {}
6045 #[cfg(feature = "Win32_Foundation")]
6046 impl ::core
::clone
::Clone
for SECPKG_DLL_FUNCTIONS
{
6047 fn clone(&self) -> Self {
6052 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6053 pub struct SECPKG_EVENT_NOTIFY
{
6054 pub EventClass
: u32,
6056 pub EventDataSize
: u32,
6057 pub EventData
: *mut ::core
::ffi
::c_void
,
6058 pub PackageParameter
: *mut ::core
::ffi
::c_void
,
6060 impl ::core
::marker
::Copy
for SECPKG_EVENT_NOTIFY {}
6061 impl ::core
::clone
::Clone
for SECPKG_EVENT_NOTIFY
{
6062 fn clone(&self) -> Self {
6067 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
6068 #[cfg(feature = "Win32_Foundation")]
6069 pub struct SECPKG_EVENT_PACKAGE_CHANGE
{
6070 pub ChangeType
: SECPKG_PACKAGE_CHANGE_TYPE
,
6071 pub PackageId
: usize,
6072 pub PackageName
: super::super::super::Foundation
::UNICODE_STRING
,
6074 #[cfg(feature = "Win32_Foundation")]
6075 impl ::core
::marker
::Copy
for SECPKG_EVENT_PACKAGE_CHANGE {}
6076 #[cfg(feature = "Win32_Foundation")]
6077 impl ::core
::clone
::Clone
for SECPKG_EVENT_PACKAGE_CHANGE
{
6078 fn clone(&self) -> Self {
6083 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6084 pub struct SECPKG_EVENT_ROLE_CHANGE
{
6085 pub PreviousRole
: u32,
6088 impl ::core
::marker
::Copy
for SECPKG_EVENT_ROLE_CHANGE {}
6089 impl ::core
::clone
::Clone
for SECPKG_EVENT_ROLE_CHANGE
{
6090 fn clone(&self) -> Self {
6095 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
6096 #[cfg(feature = "Win32_Foundation")]
6097 pub struct SECPKG_EXTENDED_INFORMATION
{
6098 pub Class
: SECPKG_EXTENDED_INFORMATION_CLASS
,
6099 pub Info
: SECPKG_EXTENDED_INFORMATION_0
,
6101 #[cfg(feature = "Win32_Foundation")]
6102 impl ::core
::marker
::Copy
for SECPKG_EXTENDED_INFORMATION {}
6103 #[cfg(feature = "Win32_Foundation")]
6104 impl ::core
::clone
::Clone
for SECPKG_EXTENDED_INFORMATION
{
6105 fn clone(&self) -> Self {
6110 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
6111 #[cfg(feature = "Win32_Foundation")]
6112 pub union SECPKG_EXTENDED_INFORMATION_0
{
6113 pub GssInfo
: SECPKG_GSS_INFO
,
6114 pub ContextThunks
: SECPKG_CONTEXT_THUNKS
,
6115 pub MutualAuthLevel
: SECPKG_MUTUAL_AUTH_LEVEL
,
6116 pub WowClientDll
: SECPKG_WOW_CLIENT_DLL
,
6117 pub ExtraOids
: SECPKG_EXTRA_OIDS
,
6118 pub Nego2Info
: SECPKG_NEGO2_INFO
,
6120 #[cfg(feature = "Win32_Foundation")]
6121 impl ::core
::marker
::Copy
for SECPKG_EXTENDED_INFORMATION_0 {}
6122 #[cfg(feature = "Win32_Foundation")]
6123 impl ::core
::clone
::Clone
for SECPKG_EXTENDED_INFORMATION_0
{
6124 fn clone(&self) -> Self {
6128 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6129 pub type SECPKG_EXTENDED_INFORMATION_CLASS
= i32;
6130 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6131 pub const SecpkgGssInfo
: SECPKG_EXTENDED_INFORMATION_CLASS
= 1i32;
6132 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6133 pub const SecpkgContextThunks
: SECPKG_EXTENDED_INFORMATION_CLASS
= 2i32;
6134 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6135 pub const SecpkgMutualAuthLevel
: SECPKG_EXTENDED_INFORMATION_CLASS
= 3i32;
6136 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6137 pub const SecpkgWowClientDll
: SECPKG_EXTENDED_INFORMATION_CLASS
= 4i32;
6138 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6139 pub const SecpkgExtraOids
: SECPKG_EXTENDED_INFORMATION_CLASS
= 5i32;
6140 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6141 pub const SecpkgMaxInfo
: SECPKG_EXTENDED_INFORMATION_CLASS
= 6i32;
6142 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6143 pub const SecpkgNego2Info
: SECPKG_EXTENDED_INFORMATION_CLASS
= 7i32;
6145 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6146 pub struct SECPKG_EXTRA_OIDS
{
6148 pub Oids
: [SECPKG_SERIALIZED_OID
; 1],
6150 impl ::core
::marker
::Copy
for SECPKG_EXTRA_OIDS {}
6151 impl ::core
::clone
::Clone
for SECPKG_EXTRA_OIDS
{
6152 fn clone(&self) -> Self {
6156 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6157 pub const SECPKG_FLAG_ACCEPT_WIN32_NAME
: u32 = 512u32;
6158 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6159 pub const SECPKG_FLAG_APPCONTAINER_CHECKS
: u32 = 8388608u32;
6160 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6161 pub const SECPKG_FLAG_APPCONTAINER_PASSTHROUGH
: u32 = 4194304u32;
6162 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6163 pub const SECPKG_FLAG_APPLY_LOOPBACK
: u32 = 33554432u32;
6164 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6165 pub const SECPKG_FLAG_ASCII_BUFFERS
: u32 = 16384u32;
6166 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6167 pub const SECPKG_FLAG_CLIENT_ONLY
: u32 = 64u32;
6168 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6169 pub const SECPKG_FLAG_CONNECTION
: u32 = 16u32;
6170 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6171 pub const SECPKG_FLAG_CREDENTIAL_ISOLATION_ENABLED
: u32 = 16777216u32;
6172 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6173 pub const SECPKG_FLAG_DATAGRAM
: u32 = 8u32;
6174 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6175 pub const SECPKG_FLAG_DELEGATION
: u32 = 131072u32;
6176 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6177 pub const SECPKG_FLAG_EXTENDED_ERROR
: u32 = 128u32;
6178 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6179 pub const SECPKG_FLAG_FRAGMENT
: u32 = 32768u32;
6180 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6181 pub const SECPKG_FLAG_GSS_COMPATIBLE
: u32 = 4096u32;
6182 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6183 pub const SECPKG_FLAG_IMPERSONATION
: u32 = 256u32;
6184 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6185 pub const SECPKG_FLAG_INTEGRITY
: u32 = 1u32;
6186 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6187 pub const SECPKG_FLAG_LOGON
: u32 = 8192u32;
6188 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6189 pub const SECPKG_FLAG_MULTI_REQUIRED
: u32 = 32u32;
6190 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6191 pub const SECPKG_FLAG_MUTUAL_AUTH
: u32 = 65536u32;
6192 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6193 pub const SECPKG_FLAG_NEGOTIABLE
: u32 = 2048u32;
6194 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6195 pub const SECPKG_FLAG_NEGOTIABLE2
: u32 = 2097152u32;
6196 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6197 pub const SECPKG_FLAG_NEGO_EXTENDER
: u32 = 1048576u32;
6198 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6199 pub const SECPKG_FLAG_PRIVACY
: u32 = 2u32;
6200 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6201 pub const SECPKG_FLAG_READONLY_WITH_CHECKSUM
: u32 = 262144u32;
6202 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6203 pub const SECPKG_FLAG_RESTRICTED_TOKENS
: u32 = 524288u32;
6204 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6205 pub const SECPKG_FLAG_STREAM
: u32 = 1024u32;
6206 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6207 pub const SECPKG_FLAG_TOKEN_ONLY
: u32 = 4u32;
6209 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Threading\"`*"]
6210 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
6211 pub struct SECPKG_FUNCTION_TABLE
{
6212 pub InitializePackage
: PLSA_AP_INITIALIZE_PACKAGE
,
6213 pub LogonUserA
: PLSA_AP_LOGON_USER
,
6214 pub CallPackage
: PLSA_AP_CALL_PACKAGE
,
6215 pub LogonTerminated
: PLSA_AP_LOGON_TERMINATED
,
6216 pub CallPackageUntrusted
: PLSA_AP_CALL_PACKAGE
,
6217 pub CallPackagePassthrough
: PLSA_AP_CALL_PACKAGE_PASSTHROUGH
,
6218 pub LogonUserExA
: PLSA_AP_LOGON_USER_EX
,
6219 pub LogonUserEx2
: PLSA_AP_LOGON_USER_EX2
,
6220 pub Initialize
: SpInitializeFn
,
6221 pub Shutdown
: SpShutdownFn
,
6222 pub GetInfo
: SpGetInfoFn
,
6223 pub AcceptCredentials
: SpAcceptCredentialsFn
,
6224 pub AcquireCredentialsHandleA
: SpAcquireCredentialsHandleFn
,
6225 pub QueryCredentialsAttributesA
: SpQueryCredentialsAttributesFn
,
6226 pub FreeCredentialsHandle
: SpFreeCredentialsHandleFn
,
6227 pub SaveCredentials
: SpSaveCredentialsFn
,
6228 pub GetCredentials
: SpGetCredentialsFn
,
6229 pub DeleteCredentials
: SpDeleteCredentialsFn
,
6230 pub InitLsaModeContext
: SpInitLsaModeContextFn
,
6231 pub AcceptLsaModeContext
: SpAcceptLsaModeContextFn
,
6232 pub DeleteContext
: SpDeleteContextFn
,
6233 pub ApplyControlToken
: SpApplyControlTokenFn
,
6234 pub GetUserInfo
: SpGetUserInfoFn
,
6235 pub GetExtendedInformation
: SpGetExtendedInformationFn
,
6236 pub QueryContextAttributesA
: SpQueryContextAttributesFn
,
6237 pub AddCredentialsA
: SpAddCredentialsFn
,
6238 pub SetExtendedInformation
: SpSetExtendedInformationFn
,
6239 pub SetContextAttributesA
: SpSetContextAttributesFn
,
6240 pub SetCredentialsAttributesA
: SpSetCredentialsAttributesFn
,
6241 pub ChangeAccountPasswordA
: SpChangeAccountPasswordFn
,
6242 pub QueryMetaData
: SpQueryMetaDataFn
,
6243 pub ExchangeMetaData
: SpExchangeMetaDataFn
,
6244 pub GetCredUIContext
: SpGetCredUIContextFn
,
6245 pub UpdateCredentials
: SpUpdateCredentialsFn
,
6246 pub ValidateTargetInfo
: SpValidateTargetInfoFn
,
6247 pub PostLogonUser
: LSA_AP_POST_LOGON_USER
,
6248 pub GetRemoteCredGuardLogonBuffer
: SpGetRemoteCredGuardLogonBufferFn
,
6249 pub GetRemoteCredGuardSupplementalCreds
: SpGetRemoteCredGuardSupplementalCredsFn
,
6250 pub GetTbalSupplementalCreds
: SpGetTbalSupplementalCredsFn
,
6251 pub LogonUserEx3
: PLSA_AP_LOGON_USER_EX3
,
6252 pub PreLogonUserSurrogate
: PLSA_AP_PRE_LOGON_USER_SURROGATE
,
6253 pub PostLogonUserSurrogate
: PLSA_AP_POST_LOGON_USER_SURROGATE
,
6255 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
6256 impl ::core
::marker
::Copy
for SECPKG_FUNCTION_TABLE {}
6257 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
6258 impl ::core
::clone
::Clone
for SECPKG_FUNCTION_TABLE
{
6259 fn clone(&self) -> Self {
6264 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6265 pub struct SECPKG_GSS_INFO
{
6266 pub EncodedIdLength
: u32,
6267 pub EncodedId
: [u8; 4],
6269 impl ::core
::marker
::Copy
for SECPKG_GSS_INFO {}
6270 impl ::core
::clone
::Clone
for SECPKG_GSS_INFO
{
6271 fn clone(&self) -> Self {
6275 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6276 pub const SECPKG_ID_NONE
: u32 = 65535u32;
6277 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6278 pub const SECPKG_INTERFACE_VERSION
: u32 = 65536u32;
6279 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6280 pub const SECPKG_INTERFACE_VERSION_10
: u32 = 33554432u32;
6281 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6282 pub const SECPKG_INTERFACE_VERSION_2
: u32 = 131072u32;
6283 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6284 pub const SECPKG_INTERFACE_VERSION_3
: u32 = 262144u32;
6285 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6286 pub const SECPKG_INTERFACE_VERSION_4
: u32 = 524288u32;
6287 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6288 pub const SECPKG_INTERFACE_VERSION_5
: u32 = 1048576u32;
6289 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6290 pub const SECPKG_INTERFACE_VERSION_6
: u32 = 2097152u32;
6291 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6292 pub const SECPKG_INTERFACE_VERSION_7
: u32 = 4194304u32;
6293 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6294 pub const SECPKG_INTERFACE_VERSION_8
: u32 = 8388608u32;
6295 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6296 pub const SECPKG_INTERFACE_VERSION_9
: u32 = 16777216u32;
6298 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
6299 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
6300 pub struct SECPKG_KERNEL_FUNCTIONS
{
6301 pub AllocateHeap
: PLSA_ALLOCATE_LSA_HEAP
,
6302 pub FreeHeap
: PLSA_FREE_LSA_HEAP
,
6303 pub CreateContextList
: PKSEC_CREATE_CONTEXT_LIST
,
6304 pub InsertListEntry
: PKSEC_INSERT_LIST_ENTRY
,
6305 pub ReferenceListEntry
: PKSEC_REFERENCE_LIST_ENTRY
,
6306 pub DereferenceListEntry
: PKSEC_DEREFERENCE_LIST_ENTRY
,
6307 pub SerializeWinntAuthData
: PKSEC_SERIALIZE_WINNT_AUTH_DATA
,
6308 pub SerializeSchannelAuthData
: PKSEC_SERIALIZE_SCHANNEL_AUTH_DATA
,
6309 pub LocatePackageById
: PKSEC_LOCATE_PKG_BY_ID
,
6311 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
6312 impl ::core
::marker
::Copy
for SECPKG_KERNEL_FUNCTIONS {}
6313 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
6314 impl ::core
::clone
::Clone
for SECPKG_KERNEL_FUNCTIONS
{
6315 fn clone(&self) -> Self {
6320 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
6321 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
6322 pub struct SECPKG_KERNEL_FUNCTION_TABLE
{
6323 pub Initialize
: KspInitPackageFn
,
6324 pub DeleteContext
: KspDeleteContextFn
,
6325 pub InitContext
: KspInitContextFn
,
6326 pub MapHandle
: KspMapHandleFn
,
6327 pub Sign
: KspMakeSignatureFn
,
6328 pub Verify
: KspVerifySignatureFn
,
6329 pub Seal
: KspSealMessageFn
,
6330 pub Unseal
: KspUnsealMessageFn
,
6331 pub GetToken
: KspGetTokenFn
,
6332 pub QueryAttributes
: KspQueryAttributesFn
,
6333 pub CompleteToken
: KspCompleteTokenFn
,
6334 pub ExportContext
: SpExportSecurityContextFn
,
6335 pub ImportContext
: SpImportSecurityContextFn
,
6336 pub SetPackagePagingMode
: KspSetPagingModeFn
,
6337 pub SerializeAuthData
: KspSerializeAuthDataFn
,
6339 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
6340 impl ::core
::marker
::Copy
for SECPKG_KERNEL_FUNCTION_TABLE {}
6341 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
6342 impl ::core
::clone
::Clone
for SECPKG_KERNEL_FUNCTION_TABLE
{
6343 fn clone(&self) -> Self {
6347 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6348 pub const SECPKG_LSAMODEINIT_NAME
: &str = "SpLsaModeInitialize";
6349 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6350 pub const SECPKG_MAX_OID_LENGTH
: u32 = 32u32;
6352 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6353 pub struct SECPKG_MUTUAL_AUTH_LEVEL
{
6354 pub MutualAuthLevel
: u32,
6356 impl ::core
::marker
::Copy
for SECPKG_MUTUAL_AUTH_LEVEL {}
6357 impl ::core
::clone
::Clone
for SECPKG_MUTUAL_AUTH_LEVEL
{
6358 fn clone(&self) -> Self {
6362 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6363 pub type SECPKG_NAME_TYPE
= i32;
6364 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6365 pub const SecNameSamCompatible
: SECPKG_NAME_TYPE
= 0i32;
6366 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6367 pub const SecNameAlternateId
: SECPKG_NAME_TYPE
= 1i32;
6368 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6369 pub const SecNameFlat
: SECPKG_NAME_TYPE
= 2i32;
6370 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6371 pub const SecNameDN
: SECPKG_NAME_TYPE
= 3i32;
6372 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6373 pub const SecNameSPN
: SECPKG_NAME_TYPE
= 4i32;
6375 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6376 pub struct SECPKG_NEGO2_INFO
{
6377 pub AuthScheme
: [u8; 16],
6378 pub PackageFlags
: u32,
6380 impl ::core
::marker
::Copy
for SECPKG_NEGO2_INFO {}
6381 impl ::core
::clone
::Clone
for SECPKG_NEGO2_INFO
{
6382 fn clone(&self) -> Self {
6386 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6387 pub const SECPKG_NEGOTIATION_COMPLETE
: u32 = 0u32;
6388 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6389 pub const SECPKG_NEGOTIATION_DIRECT
: u32 = 3u32;
6390 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6391 pub const SECPKG_NEGOTIATION_IN_PROGRESS
: u32 = 2u32;
6392 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6393 pub const SECPKG_NEGOTIATION_OPTIMISTIC
: u32 = 1u32;
6394 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6395 pub const SECPKG_NEGOTIATION_TRY_MULTICRED
: u32 = 4u32;
6396 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6397 pub const SECPKG_OPTIONS_PERMANENT
: u32 = 1u32;
6398 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6399 pub type SECPKG_PACKAGE_CHANGE_TYPE
= u32;
6400 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6401 pub const SECPKG_PACKAGE_CHANGE_LOAD
: SECPKG_PACKAGE_CHANGE_TYPE
= 0u32;
6402 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6403 pub const SECPKG_PACKAGE_CHANGE_UNLOAD
: SECPKG_PACKAGE_CHANGE_TYPE
= 1u32;
6404 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6405 pub const SECPKG_PACKAGE_CHANGE_SELECT
: SECPKG_PACKAGE_CHANGE_TYPE
= 2u32;
6407 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
6408 #[cfg(feature = "Win32_Foundation")]
6409 pub struct SECPKG_PARAMETERS
{
6411 pub MachineState
: 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
,
6418 #[cfg(feature = "Win32_Foundation")]
6419 impl ::core
::marker
::Copy
for SECPKG_PARAMETERS {}
6420 #[cfg(feature = "Win32_Foundation")]
6421 impl ::core
::clone
::Clone
for SECPKG_PARAMETERS
{
6422 fn clone(&self) -> Self {
6427 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
6428 #[cfg(feature = "Win32_Foundation")]
6429 pub struct SECPKG_POST_LOGON_USER_INFO
{
6431 pub LogonId
: super::super::super::Foundation
::LUID
,
6432 pub LinkedLogonId
: super::super::super::Foundation
::LUID
,
6434 #[cfg(feature = "Win32_Foundation")]
6435 impl ::core
::marker
::Copy
for SECPKG_POST_LOGON_USER_INFO {}
6436 #[cfg(feature = "Win32_Foundation")]
6437 impl ::core
::clone
::Clone
for SECPKG_POST_LOGON_USER_INFO
{
6438 fn clone(&self) -> Self {
6443 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
6444 #[cfg(feature = "Win32_Foundation")]
6445 pub struct SECPKG_PRIMARY_CRED
{
6446 pub LogonId
: super::super::super::Foundation
::LUID
,
6447 pub DownlevelName
: super::super::super::Foundation
::UNICODE_STRING
,
6448 pub DomainName
: super::super::super::Foundation
::UNICODE_STRING
,
6449 pub Password
: super::super::super::Foundation
::UNICODE_STRING
,
6450 pub OldPassword
: super::super::super::Foundation
::UNICODE_STRING
,
6451 pub UserSid
: super::super::super::Foundation
::PSID
,
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
,
6461 #[cfg(feature = "Win32_Foundation")]
6462 impl ::core
::marker
::Copy
for SECPKG_PRIMARY_CRED {}
6463 #[cfg(feature = "Win32_Foundation")]
6464 impl ::core
::clone
::Clone
for SECPKG_PRIMARY_CRED
{
6465 fn clone(&self) -> Self {
6470 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
6471 #[cfg(feature = "Win32_Foundation")]
6472 pub struct SECPKG_PRIMARY_CRED_EX
{
6473 pub LogonId
: super::super::super::Foundation
::LUID
,
6474 pub DownlevelName
: super::super::super::Foundation
::UNICODE_STRING
,
6475 pub DomainName
: super::super::super::Foundation
::UNICODE_STRING
,
6476 pub Password
: super::super::super::Foundation
::UNICODE_STRING
,
6477 pub OldPassword
: super::super::super::Foundation
::UNICODE_STRING
,
6478 pub UserSid
: super::super::super::Foundation
::PSID
,
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
,
6491 #[cfg(feature = "Win32_Foundation")]
6492 impl ::core
::marker
::Copy
for SECPKG_PRIMARY_CRED_EX {}
6493 #[cfg(feature = "Win32_Foundation")]
6494 impl ::core
::clone
::Clone
for SECPKG_PRIMARY_CRED_EX
{
6495 fn clone(&self) -> Self {
6499 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6500 pub const SECPKG_PRIMARY_CRED_EX_FLAGS_EX_DELEGATION_TOKEN
: u32 = 1u32;
6502 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
6503 #[cfg(feature = "Win32_Foundation")]
6504 pub struct SECPKG_REDIRECTED_LOGON_BUFFER
{
6505 pub RedirectedLogonGuid
: ::windows_sys
::core
::GUID
,
6506 pub RedirectedLogonHandle
: super::super::super::Foundation
::HANDLE
,
6507 pub Init
: PLSA_REDIRECTED_LOGON_INIT
,
6508 pub Callback
: PLSA_REDIRECTED_LOGON_CALLBACK
,
6509 pub CleanupCallback
: PLSA_REDIRECTED_LOGON_CLEANUP_CALLBACK
,
6510 pub GetLogonCreds
: PLSA_REDIRECTED_LOGON_GET_LOGON_CREDS
,
6511 pub GetSupplementalCreds
: PLSA_REDIRECTED_LOGON_GET_SUPP_CREDS
,
6513 #[cfg(feature = "Win32_Foundation")]
6514 impl ::core
::marker
::Copy
for SECPKG_REDIRECTED_LOGON_BUFFER {}
6515 #[cfg(feature = "Win32_Foundation")]
6516 impl ::core
::clone
::Clone
for SECPKG_REDIRECTED_LOGON_BUFFER
{
6517 fn clone(&self) -> Self {
6522 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6523 pub struct SECPKG_SERIALIZED_OID
{
6525 pub OidAttributes
: u32,
6526 pub OidValue
: [u8; 32],
6528 impl ::core
::marker
::Copy
for SECPKG_SERIALIZED_OID {}
6529 impl ::core
::clone
::Clone
for SECPKG_SERIALIZED_OID
{
6530 fn clone(&self) -> Self {
6534 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6535 pub type SECPKG_SESSIONINFO_TYPE
= i32;
6536 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6537 pub const SecSessionPrimaryCred
: SECPKG_SESSIONINFO_TYPE
= 0i32;
6539 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6540 pub struct SECPKG_SHORT_VECTOR
{
6541 pub ShortArrayOffset
: u32,
6542 pub ShortArrayCount
: u16,
6544 impl ::core
::marker
::Copy
for SECPKG_SHORT_VECTOR {}
6545 impl ::core
::clone
::Clone
for SECPKG_SHORT_VECTOR
{
6546 fn clone(&self) -> Self {
6550 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6551 pub const SECPKG_STATE_CRED_ISOLATION_ENABLED
: u32 = 32u32;
6552 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6553 pub const SECPKG_STATE_DOMAIN_CONTROLLER
: u32 = 4u32;
6554 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6555 pub const SECPKG_STATE_ENCRYPTION_PERMITTED
: u32 = 1u32;
6556 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6557 pub const SECPKG_STATE_RESERVED_1
: u32 = 2147483648u32;
6558 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6559 pub const SECPKG_STATE_STANDALONE
: u32 = 16u32;
6560 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6561 pub const SECPKG_STATE_STRONG_ENCRYPTION_PERMITTED
: u32 = 2u32;
6562 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6563 pub const SECPKG_STATE_WORKSTATION
: u32 = 8u32;
6565 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
6566 #[cfg(feature = "Win32_Foundation")]
6567 pub struct SECPKG_SUPPLEMENTAL_CRED
{
6568 pub PackageName
: super::super::super::Foundation
::UNICODE_STRING
,
6569 pub CredentialSize
: u32,
6570 pub Credentials
: *mut u8,
6572 #[cfg(feature = "Win32_Foundation")]
6573 impl ::core
::marker
::Copy
for SECPKG_SUPPLEMENTAL_CRED {}
6574 #[cfg(feature = "Win32_Foundation")]
6575 impl ::core
::clone
::Clone
for SECPKG_SUPPLEMENTAL_CRED
{
6576 fn clone(&self) -> Self {
6581 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
6582 #[cfg(feature = "Win32_Foundation")]
6583 pub struct SECPKG_SUPPLEMENTAL_CRED_ARRAY
{
6584 pub CredentialCount
: u32,
6585 pub Credentials
: [SECPKG_SUPPLEMENTAL_CRED
; 1],
6587 #[cfg(feature = "Win32_Foundation")]
6588 impl ::core
::marker
::Copy
for SECPKG_SUPPLEMENTAL_CRED_ARRAY {}
6589 #[cfg(feature = "Win32_Foundation")]
6590 impl ::core
::clone
::Clone
for SECPKG_SUPPLEMENTAL_CRED_ARRAY
{
6591 fn clone(&self) -> Self {
6596 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6597 pub struct SECPKG_SUPPLIED_CREDENTIAL
{
6598 pub cbHeaderLength
: u16,
6599 pub cbStructureLength
: u16,
6600 pub UserName
: SECPKG_SHORT_VECTOR
,
6601 pub DomainName
: SECPKG_SHORT_VECTOR
,
6602 pub PackedCredentials
: SECPKG_BYTE_VECTOR
,
6605 impl ::core
::marker
::Copy
for SECPKG_SUPPLIED_CREDENTIAL {}
6606 impl ::core
::clone
::Clone
for SECPKG_SUPPLIED_CREDENTIAL
{
6607 fn clone(&self) -> Self {
6612 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
6613 #[cfg(feature = "Win32_Foundation")]
6614 pub struct SECPKG_SURROGATE_LOGON
{
6616 pub SurrogateLogonID
: super::super::super::Foundation
::LUID
,
6617 pub EntryCount
: u32,
6618 pub Entries
: *mut SECPKG_SURROGATE_LOGON_ENTRY
,
6620 #[cfg(feature = "Win32_Foundation")]
6621 impl ::core
::marker
::Copy
for SECPKG_SURROGATE_LOGON {}
6622 #[cfg(feature = "Win32_Foundation")]
6623 impl ::core
::clone
::Clone
for SECPKG_SURROGATE_LOGON
{
6624 fn clone(&self) -> Self {
6629 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6630 pub struct SECPKG_SURROGATE_LOGON_ENTRY
{
6631 pub Type
: ::windows_sys
::core
::GUID
,
6632 pub Data
: *mut ::core
::ffi
::c_void
,
6634 impl ::core
::marker
::Copy
for SECPKG_SURROGATE_LOGON_ENTRY {}
6635 impl ::core
::clone
::Clone
for SECPKG_SURROGATE_LOGON_ENTRY
{
6636 fn clone(&self) -> Self {
6640 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6641 pub const SECPKG_SURROGATE_LOGON_VERSION_1
: u32 = 1u32;
6643 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
6644 #[cfg(feature = "Win32_Foundation")]
6645 pub struct SECPKG_TARGETINFO
{
6646 pub DomainSid
: super::super::super::Foundation
::PSID
,
6647 pub ComputerName
: ::windows_sys
::core
::PCWSTR
,
6649 #[cfg(feature = "Win32_Foundation")]
6650 impl ::core
::marker
::Copy
for SECPKG_TARGETINFO {}
6651 #[cfg(feature = "Win32_Foundation")]
6652 impl ::core
::clone
::Clone
for SECPKG_TARGETINFO
{
6653 fn clone(&self) -> Self {
6657 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6658 pub const SECPKG_UNICODE_ATTRIBUTE
: u32 = 2147483648u32;
6659 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6660 pub const SECPKG_USERMODEINIT_NAME
: &str = "SpUserModeInitialize";
6662 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
6663 #[cfg(feature = "Win32_Foundation")]
6664 pub struct SECPKG_USER_FUNCTION_TABLE
{
6665 pub InstanceInit
: SpInstanceInitFn
,
6666 pub InitUserModeContext
: SpInitUserModeContextFn
,
6667 pub MakeSignature
: SpMakeSignatureFn
,
6668 pub VerifySignature
: SpVerifySignatureFn
,
6669 pub SealMessage
: SpSealMessageFn
,
6670 pub UnsealMessage
: SpUnsealMessageFn
,
6671 pub GetContextToken
: SpGetContextTokenFn
,
6672 pub QueryContextAttributesA
: SpQueryContextAttributesFn
,
6673 pub CompleteAuthToken
: SpCompleteAuthTokenFn
,
6674 pub DeleteUserModeContext
: SpDeleteContextFn
,
6675 pub FormatCredentials
: SpFormatCredentialsFn
,
6676 pub MarshallSupplementalCreds
: SpMarshallSupplementalCredsFn
,
6677 pub ExportContext
: SpExportSecurityContextFn
,
6678 pub ImportContext
: SpImportSecurityContextFn
,
6679 pub MarshalAttributeData
: SpMarshalAttributeDataFn
,
6681 #[cfg(feature = "Win32_Foundation")]
6682 impl ::core
::marker
::Copy
for SECPKG_USER_FUNCTION_TABLE {}
6683 #[cfg(feature = "Win32_Foundation")]
6684 impl ::core
::clone
::Clone
for SECPKG_USER_FUNCTION_TABLE
{
6685 fn clone(&self) -> Self {
6690 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
6691 #[cfg(feature = "Win32_Foundation")]
6692 pub struct SECPKG_WOW_CLIENT_DLL
{
6693 pub WowClientDllPath
: super::super::super::Foundation
::UNICODE_STRING
,
6695 #[cfg(feature = "Win32_Foundation")]
6696 impl ::core
::marker
::Copy
for SECPKG_WOW_CLIENT_DLL {}
6697 #[cfg(feature = "Win32_Foundation")]
6698 impl ::core
::clone
::Clone
for SECPKG_WOW_CLIENT_DLL
{
6699 fn clone(&self) -> Self {
6703 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6704 pub const SECQOP_WRAP_NO_ENCRYPT
: u32 = 2147483649u32;
6705 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6706 pub const SECQOP_WRAP_OOB_DATA
: u32 = 1073741824u32;
6707 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6708 pub const SECRET_QUERY_VALUE
: i32 = 2i32;
6709 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6710 pub const SECRET_SET_VALUE
: i32 = 1i32;
6711 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6712 pub const SECURITY_ENTRYPOINT
: &str = "INITSECURITYINTERFACEA";
6713 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6714 pub const SECURITY_ENTRYPOINT16
: &str = "INITSECURITYINTERFACEA";
6715 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6716 pub const SECURITY_ENTRYPOINT_ANSI
: &str = "InitSecurityInterfaceW";
6717 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6718 pub const SECURITY_ENTRYPOINT_ANSIA
: &str = "InitSecurityInterfaceA";
6719 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6720 pub const SECURITY_ENTRYPOINT_ANSIW
: &str = "InitSecurityInterfaceW";
6722 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
6723 #[cfg(feature = "Win32_Foundation")]
6724 pub struct SECURITY_LOGON_SESSION_DATA
{
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
,
6732 pub Sid
: super::super::super::Foundation
::PSID
,
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
,
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,
6749 #[cfg(feature = "Win32_Foundation")]
6750 impl ::core
::marker
::Copy
for SECURITY_LOGON_SESSION_DATA {}
6751 #[cfg(feature = "Win32_Foundation")]
6752 impl ::core
::clone
::Clone
for SECURITY_LOGON_SESSION_DATA
{
6753 fn clone(&self) -> Self {
6757 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6758 #[repr(transparent)]
6759 pub struct SECURITY_LOGON_TYPE(pub i32);
6760 impl SECURITY_LOGON_TYPE
{
6761 pub const UndefinedLogonType
: Self = Self(0i32);
6762 pub const Interactive
: Self = Self(2i32);
6763 pub const Network
: Self = Self(3i32);
6764 pub const Batch
: Self = Self(4i32);
6765 pub const Service
: Self = Self(5i32);
6766 pub const Proxy
: Self = Self(6i32);
6767 pub const Unlock
: Self = Self(7i32);
6768 pub const NetworkCleartext
: Self = Self(8i32);
6769 pub const NewCredentials
: Self = Self(9i32);
6770 pub const RemoteInteractive
: Self = Self(10i32);
6771 pub const CachedInteractive
: Self = Self(11i32);
6772 pub const CachedRemoteInteractive
: Self = Self(12i32);
6773 pub const CachedUnlock
: Self = Self(13i32);
6775 impl ::core
::marker
::Copy
for SECURITY_LOGON_TYPE {}
6776 impl ::core
::clone
::Clone
for SECURITY_LOGON_TYPE
{
6777 fn clone(&self) -> Self {
6781 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6782 pub const SECURITY_NATIVE_DREP
: u32 = 16u32;
6783 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6784 pub const SECURITY_NETWORK_DREP
: u32 = 0u32;
6786 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6787 pub struct SECURITY_PACKAGE_OPTIONS
{
6789 pub Type
: SECURITY_PACKAGE_OPTIONS_TYPE
,
6791 pub SignatureSize
: u32,
6792 pub Signature
: *mut ::core
::ffi
::c_void
,
6794 impl ::core
::marker
::Copy
for SECURITY_PACKAGE_OPTIONS {}
6795 impl ::core
::clone
::Clone
for SECURITY_PACKAGE_OPTIONS
{
6796 fn clone(&self) -> Self {
6800 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6801 pub type SECURITY_PACKAGE_OPTIONS_TYPE
= u32;
6802 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6803 pub const SECPKG_OPTIONS_TYPE_UNKNOWN
: SECURITY_PACKAGE_OPTIONS_TYPE
= 0u32;
6804 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6805 pub const SECPKG_OPTIONS_TYPE_LSA
: SECURITY_PACKAGE_OPTIONS_TYPE
= 1u32;
6806 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6807 pub const SECPKG_OPTIONS_TYPE_SSPI
: SECURITY_PACKAGE_OPTIONS_TYPE
= 2u32;
6808 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6809 pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION
: u32 = 1u32;
6810 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6811 pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION_2
: u32 = 2u32;
6812 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6813 pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION_3
: u32 = 3u32;
6814 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6815 pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION_4
: u32 = 4u32;
6816 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6817 pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION_5
: u32 = 5u32;
6819 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
6820 #[cfg(feature = "Win32_Foundation")]
6821 pub struct SECURITY_USER_DATA
{
6822 pub UserName
: super::super::super::Foundation
::UNICODE_STRING
,
6823 pub LogonDomainName
: super::super::super::Foundation
::UNICODE_STRING
,
6824 pub LogonServer
: super::super::super::Foundation
::UNICODE_STRING
,
6825 pub pSid
: super::super::super::Foundation
::PSID
,
6827 #[cfg(feature = "Win32_Foundation")]
6828 impl ::core
::marker
::Copy
for SECURITY_USER_DATA {}
6829 #[cfg(feature = "Win32_Foundation")]
6830 impl ::core
::clone
::Clone
for SECURITY_USER_DATA
{
6831 fn clone(&self) -> Self {
6836 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6837 pub struct SEC_APPLICATION_PROTOCOLS
{
6838 pub ProtocolListsSize
: u32,
6839 pub ProtocolLists
: [SEC_APPLICATION_PROTOCOL_LIST
; 1],
6841 impl ::core
::marker
::Copy
for SEC_APPLICATION_PROTOCOLS {}
6842 impl ::core
::clone
::Clone
for SEC_APPLICATION_PROTOCOLS
{
6843 fn clone(&self) -> Self {
6848 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6849 pub struct SEC_APPLICATION_PROTOCOL_LIST
{
6850 pub ProtoNegoExt
: SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT
,
6851 pub ProtocolListSize
: u16,
6852 pub ProtocolList
: [u8; 1],
6854 impl ::core
::marker
::Copy
for SEC_APPLICATION_PROTOCOL_LIST {}
6855 impl ::core
::clone
::Clone
for SEC_APPLICATION_PROTOCOL_LIST
{
6856 fn clone(&self) -> Self {
6860 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6861 pub type SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT
= i32;
6862 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6863 pub const SecApplicationProtocolNegotiationExt_None
: SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT
= 0i32;
6864 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6865 pub const SecApplicationProtocolNegotiationExt_NPN
: SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT
= 1i32;
6866 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6867 pub const SecApplicationProtocolNegotiationExt_ALPN
: SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT
= 2i32;
6868 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6869 pub type SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS
= i32;
6870 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6871 pub const SecApplicationProtocolNegotiationStatus_None
: SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS
= 0i32;
6872 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6873 pub const SecApplicationProtocolNegotiationStatus_Success
: SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS
= 1i32;
6874 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6875 pub const SecApplicationProtocolNegotiationStatus_SelectedClientOnly
: SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS
= 2i32;
6877 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6878 pub struct SEC_CHANNEL_BINDINGS
{
6879 pub dwInitiatorAddrType
: u32,
6880 pub cbInitiatorLength
: u32,
6881 pub dwInitiatorOffset
: u32,
6882 pub dwAcceptorAddrType
: u32,
6883 pub cbAcceptorLength
: u32,
6884 pub dwAcceptorOffset
: u32,
6885 pub cbApplicationDataLength
: u32,
6886 pub dwApplicationDataOffset
: u32,
6888 impl ::core
::marker
::Copy
for SEC_CHANNEL_BINDINGS {}
6889 impl ::core
::clone
::Clone
for SEC_CHANNEL_BINDINGS
{
6890 fn clone(&self) -> Self {
6895 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6896 pub struct SEC_DTLS_MTU
{
6899 impl ::core
::marker
::Copy
for SEC_DTLS_MTU {}
6900 impl ::core
::clone
::Clone
for SEC_DTLS_MTU
{
6901 fn clone(&self) -> Self {
6906 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6907 pub struct SEC_FLAGS
{
6910 impl ::core
::marker
::Copy
for SEC_FLAGS {}
6911 impl ::core
::clone
::Clone
for SEC_FLAGS
{
6912 fn clone(&self) -> Self {
6916 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6917 pub type SEC_GET_KEY_FN
= ::core
::option
::Option
<unsafe extern "system" fn(arg
: *mut ::core
::ffi
::c_void
, principal
: *mut ::core
::ffi
::c_void
, keyver
: u32, key
: *mut *mut ::core
::ffi
::c_void
, status
: *mut ::windows_sys
::core
::HRESULT
)>;
6919 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6920 pub struct SEC_NEGOTIATION_INFO
{
6922 pub NameLength
: u32,
6924 pub Reserved
: *mut ::core
::ffi
::c_void
,
6926 impl ::core
::marker
::Copy
for SEC_NEGOTIATION_INFO {}
6927 impl ::core
::clone
::Clone
for SEC_NEGOTIATION_INFO
{
6928 fn clone(&self) -> Self {
6933 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6934 pub struct SEC_PRESHAREDKEY
{
6938 impl ::core
::marker
::Copy
for SEC_PRESHAREDKEY {}
6939 impl ::core
::clone
::Clone
for SEC_PRESHAREDKEY
{
6940 fn clone(&self) -> Self {
6945 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6946 pub struct SEC_PRESHAREDKEY_IDENTITY
{
6947 pub KeyIdentitySize
: u16,
6948 pub KeyIdentity
: [u8; 1],
6950 impl ::core
::marker
::Copy
for SEC_PRESHAREDKEY_IDENTITY {}
6951 impl ::core
::clone
::Clone
for SEC_PRESHAREDKEY_IDENTITY
{
6952 fn clone(&self) -> Self {
6957 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6958 pub struct SEC_SRTP_MASTER_KEY_IDENTIFIER
{
6959 pub MasterKeyIdentifierSize
: u8,
6960 pub MasterKeyIdentifier
: [u8; 1],
6962 impl ::core
::marker
::Copy
for SEC_SRTP_MASTER_KEY_IDENTIFIER {}
6963 impl ::core
::clone
::Clone
for SEC_SRTP_MASTER_KEY_IDENTIFIER
{
6964 fn clone(&self) -> Self {
6969 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6970 pub struct SEC_SRTP_PROTECTION_PROFILES
{
6971 pub ProfilesSize
: u16,
6972 pub ProfilesList
: [u16; 1],
6974 impl ::core
::marker
::Copy
for SEC_SRTP_PROTECTION_PROFILES {}
6975 impl ::core
::clone
::Clone
for SEC_SRTP_PROTECTION_PROFILES
{
6976 fn clone(&self) -> Self {
6981 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6982 pub struct SEC_TOKEN_BINDING
{
6983 pub MajorVersion
: u8,
6984 pub MinorVersion
: u8,
6985 pub KeyParametersSize
: u16,
6986 pub KeyParameters
: [u8; 1],
6988 impl ::core
::marker
::Copy
for SEC_TOKEN_BINDING {}
6989 impl ::core
::clone
::Clone
for SEC_TOKEN_BINDING
{
6990 fn clone(&self) -> Self {
6995 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
6996 pub struct SEC_TRAFFIC_SECRETS
{
6997 pub SymmetricAlgId
: [u16; 64],
6998 pub ChainingMode
: [u16; 64],
6999 pub HashAlgId
: [u16; 64],
7002 pub MsgSequenceStart
: u16,
7003 pub MsgSequenceEnd
: u16,
7004 pub TrafficSecretType
: SEC_TRAFFIC_SECRET_TYPE
,
7005 pub TrafficSecretSize
: u16,
7006 pub TrafficSecret
: [u8; 1],
7008 impl ::core
::marker
::Copy
for SEC_TRAFFIC_SECRETS {}
7009 impl ::core
::clone
::Clone
for SEC_TRAFFIC_SECRETS
{
7010 fn clone(&self) -> Self {
7014 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7015 pub type SEC_TRAFFIC_SECRET_TYPE
= i32;
7016 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7017 pub const SecTrafficSecret_None
: SEC_TRAFFIC_SECRET_TYPE
= 0i32;
7018 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7019 pub const SecTrafficSecret_Client
: SEC_TRAFFIC_SECRET_TYPE
= 1i32;
7020 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7021 pub const SecTrafficSecret_Server
: SEC_TRAFFIC_SECRET_TYPE
= 2i32;
7023 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7024 pub struct SEC_WINNT_AUTH_IDENTITY32
{
7026 pub UserLength
: u32,
7028 pub DomainLength
: u32,
7030 pub PasswordLength
: u32,
7033 impl ::core
::marker
::Copy
for SEC_WINNT_AUTH_IDENTITY32 {}
7034 impl ::core
::clone
::Clone
for SEC_WINNT_AUTH_IDENTITY32
{
7035 fn clone(&self) -> Self {
7039 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7040 pub const SEC_WINNT_AUTH_IDENTITY_ENCRYPT_FOR_SYSTEM
: u32 = 4u32;
7041 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7042 pub const SEC_WINNT_AUTH_IDENTITY_ENCRYPT_SAME_LOGON
: u32 = 1u32;
7043 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7044 pub const SEC_WINNT_AUTH_IDENTITY_ENCRYPT_SAME_PROCESS
: u32 = 2u32;
7046 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7047 pub struct SEC_WINNT_AUTH_IDENTITY_EX2
{
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,
7058 pub PackageListOffset
: u32,
7059 pub PackageListLength
: u16,
7061 impl ::core
::marker
::Copy
for SEC_WINNT_AUTH_IDENTITY_EX2 {}
7062 impl ::core
::clone
::Clone
for SEC_WINNT_AUTH_IDENTITY_EX2
{
7063 fn clone(&self) -> Self {
7068 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7069 pub struct SEC_WINNT_AUTH_IDENTITY_EX32
{
7073 pub UserLength
: u32,
7075 pub DomainLength
: u32,
7077 pub PasswordLength
: u32,
7079 pub PackageList
: u32,
7080 pub PackageListLength
: u32,
7082 impl ::core
::marker
::Copy
for SEC_WINNT_AUTH_IDENTITY_EX32 {}
7083 impl ::core
::clone
::Clone
for SEC_WINNT_AUTH_IDENTITY_EX32
{
7084 fn clone(&self) -> Self {
7089 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7090 pub struct SEC_WINNT_AUTH_IDENTITY_EXA
{
7094 pub UserLength
: u32,
7095 pub Domain
: *mut u8,
7096 pub DomainLength
: u32,
7097 pub Password
: *mut u8,
7098 pub PasswordLength
: u32,
7100 pub PackageList
: *mut u8,
7101 pub PackageListLength
: u32,
7103 impl ::core
::marker
::Copy
for SEC_WINNT_AUTH_IDENTITY_EXA {}
7104 impl ::core
::clone
::Clone
for SEC_WINNT_AUTH_IDENTITY_EXA
{
7105 fn clone(&self) -> Self {
7110 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7111 pub struct SEC_WINNT_AUTH_IDENTITY_EXW
{
7115 pub UserLength
: u32,
7116 pub Domain
: *mut u16,
7117 pub DomainLength
: u32,
7118 pub Password
: *mut u16,
7119 pub PasswordLength
: u32,
7121 pub PackageList
: *mut u16,
7122 pub PackageListLength
: u32,
7124 impl ::core
::marker
::Copy
for SEC_WINNT_AUTH_IDENTITY_EXW {}
7125 impl ::core
::clone
::Clone
for SEC_WINNT_AUTH_IDENTITY_EXW
{
7126 fn clone(&self) -> Self {
7130 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7131 pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_ID_PROVIDER
: u32 = 524288u32;
7132 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7133 pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_NULL_DOMAIN
: u32 = 262144u32;
7134 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7135 pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_NULL_USER
: u32 = 131072u32;
7136 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7137 pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_PROCESS_ENCRYPTED
: u32 = 16u32;
7138 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7139 pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_RESERVED
: u32 = 65536u32;
7140 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7141 pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_CREDPROV_DO_NOT_LOAD
: u32 = 268435456u32;
7142 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7143 pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_CREDPROV_DO_NOT_SAVE
: u32 = 2147483648u32;
7144 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7145 pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_NO_CHECKBOX
: u32 = 536870912u32;
7146 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7147 pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_SAVE_CRED_BY_CALLER
: u32 = 2147483648u32;
7148 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7149 pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_SAVE_CRED_CHECKED
: u32 = 1073741824u32;
7150 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7151 pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_USE_MASK
: u32 = 4278190080u32;
7152 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7153 pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SYSTEM_ENCRYPTED
: u32 = 128u32;
7154 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7155 pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SYSTEM_PROTECTED
: u32 = 32u32;
7156 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7157 pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_USER_PROTECTED
: u32 = 64u32;
7159 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_System_Rpc\"`*"]
7160 #[cfg(feature = "Win32_System_Rpc")]
7161 pub union SEC_WINNT_AUTH_IDENTITY_INFO
{
7162 pub AuthIdExw
: SEC_WINNT_AUTH_IDENTITY_EXW
,
7163 pub AuthIdExa
: SEC_WINNT_AUTH_IDENTITY_EXA
,
7164 pub AuthId_a
: super::super::super::System
::Rpc
::SEC_WINNT_AUTH_IDENTITY_A
,
7165 pub AuthId_w
: super::super::super::System
::Rpc
::SEC_WINNT_AUTH_IDENTITY_W
,
7166 pub AuthIdEx2
: SEC_WINNT_AUTH_IDENTITY_EX2
,
7168 #[cfg(feature = "Win32_System_Rpc")]
7169 impl ::core
::marker
::Copy
for SEC_WINNT_AUTH_IDENTITY_INFO {}
7170 #[cfg(feature = "Win32_System_Rpc")]
7171 impl ::core
::clone
::Clone
for SEC_WINNT_AUTH_IDENTITY_INFO
{
7172 fn clone(&self) -> Self {
7176 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7177 pub const SEC_WINNT_AUTH_IDENTITY_MARSHALLED
: u32 = 4u32;
7178 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7179 pub const SEC_WINNT_AUTH_IDENTITY_ONLY
: u32 = 8u32;
7180 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7181 pub const SEC_WINNT_AUTH_IDENTITY_VERSION
: u32 = 512u32;
7182 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7183 pub const SEC_WINNT_AUTH_IDENTITY_VERSION_2
: u32 = 513u32;
7185 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7186 pub struct SEND_GENERIC_TLS_EXTENSION
{
7187 pub ExtensionType
: u16,
7188 pub HandshakeType
: u16,
7190 pub BufferSize
: u16,
7191 pub Buffer
: [u8; 1],
7193 impl ::core
::marker
::Copy
for SEND_GENERIC_TLS_EXTENSION {}
7194 impl ::core
::clone
::Clone
for SEND_GENERIC_TLS_EXTENSION
{
7195 fn clone(&self) -> Self {
7199 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7200 pub const SESSION_TICKET_INFO_V0
: u32 = 0u32;
7201 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7202 pub const SESSION_TICKET_INFO_VERSION
: u32 = 0u32;
7203 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
7204 #[cfg(feature = "Win32_Security_Credentials")]
7205 pub type SET_CONTEXT_ATTRIBUTES_FN_A
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut super::super::Credentials
::SecHandle
, param1
: u32, param2
: *mut ::core
::ffi
::c_void
, param3
: u32) -> ::windows_sys
::core
::HRESULT
>;
7206 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
7207 #[cfg(feature = "Win32_Security_Credentials")]
7208 pub type SET_CONTEXT_ATTRIBUTES_FN_W
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut super::super::Credentials
::SecHandle
, param1
: u32, param2
: *mut ::core
::ffi
::c_void
, param3
: u32) -> ::windows_sys
::core
::HRESULT
>;
7209 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
7210 #[cfg(feature = "Win32_Security_Credentials")]
7211 pub type SET_CREDENTIALS_ATTRIBUTES_FN_A
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut super::super::Credentials
::SecHandle
, param1
: u32, param2
: *mut ::core
::ffi
::c_void
, param3
: u32) -> ::windows_sys
::core
::HRESULT
>;
7212 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
7213 #[cfg(feature = "Win32_Security_Credentials")]
7214 pub type SET_CREDENTIALS_ATTRIBUTES_FN_W
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut super::super::Credentials
::SecHandle
, param1
: u32, param2
: *mut ::core
::ffi
::c_void
, param3
: u32) -> ::windows_sys
::core
::HRESULT
>;
7216 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7217 pub struct SE_ADT_ACCESS_REASON
{
7218 pub AccessMask
: u32,
7219 pub AccessReasons
: [u32; 32],
7220 pub ObjectTypeIndex
: u32,
7221 pub AccessGranted
: u32,
7222 pub SecurityDescriptor
: super::super::PSECURITY_DESCRIPTOR
,
7224 impl ::core
::marker
::Copy
for SE_ADT_ACCESS_REASON {}
7225 impl ::core
::clone
::Clone
for SE_ADT_ACCESS_REASON
{
7226 fn clone(&self) -> Self {
7231 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7232 pub struct SE_ADT_CLAIMS
{
7234 pub Claims
: *mut ::core
::ffi
::c_void
,
7236 impl ::core
::marker
::Copy
for SE_ADT_CLAIMS {}
7237 impl ::core
::clone
::Clone
for SE_ADT_CLAIMS
{
7238 fn clone(&self) -> Self {
7242 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7243 pub const SE_ADT_OBJECT_ONLY
: u32 = 1u32;
7245 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7246 pub struct SE_ADT_OBJECT_TYPE
{
7247 pub ObjectType
: ::windows_sys
::core
::GUID
,
7250 pub AccessMask
: u32,
7252 impl ::core
::marker
::Copy
for SE_ADT_OBJECT_TYPE {}
7253 impl ::core
::clone
::Clone
for SE_ADT_OBJECT_TYPE
{
7254 fn clone(&self) -> Self {
7258 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7259 pub const SE_ADT_PARAMETERS_SELF_RELATIVE
: u32 = 1u32;
7260 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7261 pub const SE_ADT_PARAMETERS_SEND_TO_LSA
: u32 = 2u32;
7263 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7264 pub struct SE_ADT_PARAMETER_ARRAY
{
7265 pub CategoryId
: u32,
7267 pub ParameterCount
: u32,
7269 pub FlatSubCategoryId
: u16,
7272 pub Parameters
: [SE_ADT_PARAMETER_ARRAY_ENTRY
; 32],
7274 impl ::core
::marker
::Copy
for SE_ADT_PARAMETER_ARRAY {}
7275 impl ::core
::clone
::Clone
for SE_ADT_PARAMETER_ARRAY
{
7276 fn clone(&self) -> Self {
7281 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7282 pub struct SE_ADT_PARAMETER_ARRAY_ENTRY
{
7283 pub Type
: SE_ADT_PARAMETER_TYPE
,
7285 pub Data
: [usize; 2],
7286 pub Address
: *mut ::core
::ffi
::c_void
,
7288 impl ::core
::marker
::Copy
for SE_ADT_PARAMETER_ARRAY_ENTRY {}
7289 impl ::core
::clone
::Clone
for SE_ADT_PARAMETER_ARRAY_ENTRY
{
7290 fn clone(&self) -> Self {
7295 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7296 pub struct SE_ADT_PARAMETER_ARRAY_EX
{
7297 pub CategoryId
: u32,
7300 pub ParameterCount
: u32,
7302 pub FlatSubCategoryId
: u16,
7305 pub Parameters
: [SE_ADT_PARAMETER_ARRAY_ENTRY
; 32],
7307 impl ::core
::marker
::Copy
for SE_ADT_PARAMETER_ARRAY_EX {}
7308 impl ::core
::clone
::Clone
for SE_ADT_PARAMETER_ARRAY_EX
{
7309 fn clone(&self) -> Self {
7313 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7314 pub const SE_ADT_PARAMETER_EXTENSIBLE_AUDIT
: u32 = 4u32;
7315 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7316 pub const SE_ADT_PARAMETER_GENERIC_AUDIT
: u32 = 8u32;
7317 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7318 pub type SE_ADT_PARAMETER_TYPE
= i32;
7319 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7320 pub const SeAdtParmTypeNone
: SE_ADT_PARAMETER_TYPE
= 0i32;
7321 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7322 pub const SeAdtParmTypeString
: SE_ADT_PARAMETER_TYPE
= 1i32;
7323 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7324 pub const SeAdtParmTypeFileSpec
: SE_ADT_PARAMETER_TYPE
= 2i32;
7325 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7326 pub const SeAdtParmTypeUlong
: SE_ADT_PARAMETER_TYPE
= 3i32;
7327 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7328 pub const SeAdtParmTypeSid
: SE_ADT_PARAMETER_TYPE
= 4i32;
7329 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7330 pub const SeAdtParmTypeLogonId
: SE_ADT_PARAMETER_TYPE
= 5i32;
7331 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7332 pub const SeAdtParmTypeNoLogonId
: SE_ADT_PARAMETER_TYPE
= 6i32;
7333 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7334 pub const SeAdtParmTypeAccessMask
: SE_ADT_PARAMETER_TYPE
= 7i32;
7335 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7336 pub const SeAdtParmTypePrivs
: SE_ADT_PARAMETER_TYPE
= 8i32;
7337 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7338 pub const SeAdtParmTypeObjectTypes
: SE_ADT_PARAMETER_TYPE
= 9i32;
7339 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7340 pub const SeAdtParmTypeHexUlong
: SE_ADT_PARAMETER_TYPE
= 10i32;
7341 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7342 pub const SeAdtParmTypePtr
: SE_ADT_PARAMETER_TYPE
= 11i32;
7343 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7344 pub const SeAdtParmTypeTime
: SE_ADT_PARAMETER_TYPE
= 12i32;
7345 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7346 pub const SeAdtParmTypeGuid
: SE_ADT_PARAMETER_TYPE
= 13i32;
7347 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7348 pub const SeAdtParmTypeLuid
: SE_ADT_PARAMETER_TYPE
= 14i32;
7349 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7350 pub const SeAdtParmTypeHexInt64
: SE_ADT_PARAMETER_TYPE
= 15i32;
7351 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7352 pub const SeAdtParmTypeStringList
: SE_ADT_PARAMETER_TYPE
= 16i32;
7353 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7354 pub const SeAdtParmTypeSidList
: SE_ADT_PARAMETER_TYPE
= 17i32;
7355 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7356 pub const SeAdtParmTypeDuration
: SE_ADT_PARAMETER_TYPE
= 18i32;
7357 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7358 pub const SeAdtParmTypeUserAccountControl
: SE_ADT_PARAMETER_TYPE
= 19i32;
7359 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7360 pub const SeAdtParmTypeNoUac
: SE_ADT_PARAMETER_TYPE
= 20i32;
7361 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7362 pub const SeAdtParmTypeMessage
: SE_ADT_PARAMETER_TYPE
= 21i32;
7363 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7364 pub const SeAdtParmTypeDateTime
: SE_ADT_PARAMETER_TYPE
= 22i32;
7365 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7366 pub const SeAdtParmTypeSockAddr
: SE_ADT_PARAMETER_TYPE
= 23i32;
7367 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7368 pub const SeAdtParmTypeSD
: SE_ADT_PARAMETER_TYPE
= 24i32;
7369 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7370 pub const SeAdtParmTypeLogonHours
: SE_ADT_PARAMETER_TYPE
= 25i32;
7371 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7372 pub const SeAdtParmTypeLogonIdNoSid
: SE_ADT_PARAMETER_TYPE
= 26i32;
7373 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7374 pub const SeAdtParmTypeUlongNoConv
: SE_ADT_PARAMETER_TYPE
= 27i32;
7375 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7376 pub const SeAdtParmTypeSockAddrNoPort
: SE_ADT_PARAMETER_TYPE
= 28i32;
7377 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7378 pub const SeAdtParmTypeAccessReason
: SE_ADT_PARAMETER_TYPE
= 29i32;
7379 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7380 pub const SeAdtParmTypeStagingReason
: SE_ADT_PARAMETER_TYPE
= 30i32;
7381 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7382 pub const SeAdtParmTypeResourceAttribute
: SE_ADT_PARAMETER_TYPE
= 31i32;
7383 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7384 pub const SeAdtParmTypeClaims
: SE_ADT_PARAMETER_TYPE
= 32i32;
7385 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7386 pub const SeAdtParmTypeLogonIdAsSid
: SE_ADT_PARAMETER_TYPE
= 33i32;
7387 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7388 pub const SeAdtParmTypeMultiSzString
: SE_ADT_PARAMETER_TYPE
= 34i32;
7389 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7390 pub const SeAdtParmTypeLogonIdEx
: SE_ADT_PARAMETER_TYPE
= 35i32;
7391 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7392 pub const SE_ADT_PARAMETER_WRITE_SYNCHRONOUS
: u32 = 16u32;
7393 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7394 pub const SE_ADT_POLICY_AUDIT_EVENT_TYPE_EX_BEGIN
: u32 = 100u32;
7395 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7396 pub const SE_BATCH_LOGON_NAME
: &str = "SeBatchLogonRight";
7397 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7398 pub const SE_DENY_BATCH_LOGON_NAME
: &str = "SeDenyBatchLogonRight";
7399 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7400 pub const SE_DENY_INTERACTIVE_LOGON_NAME
: &str = "SeDenyInteractiveLogonRight";
7401 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7402 pub const SE_DENY_NETWORK_LOGON_NAME
: &str = "SeDenyNetworkLogonRight";
7403 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7404 pub const SE_DENY_REMOTE_INTERACTIVE_LOGON_NAME
: &str = "SeDenyRemoteInteractiveLogonRight";
7405 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7406 pub const SE_DENY_SERVICE_LOGON_NAME
: &str = "SeDenyServiceLogonRight";
7407 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7408 pub const SE_INTERACTIVE_LOGON_NAME
: &str = "SeInteractiveLogonRight";
7409 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7410 pub const SE_MAX_AUDIT_PARAMETERS
: u32 = 32u32;
7411 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7412 pub const SE_MAX_GENERIC_AUDIT_PARAMETERS
: u32 = 28u32;
7413 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7414 pub const SE_NETWORK_LOGON_NAME
: &str = "SeNetworkLogonRight";
7415 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7416 pub const SE_REMOTE_INTERACTIVE_LOGON_NAME
: &str = "SeRemoteInteractiveLogonRight";
7417 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7418 pub const SE_SERVICE_LOGON_NAME
: &str = "SeServiceLogonRight";
7419 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7420 pub type SLDATATYPE
= u32;
7421 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7422 pub const SL_DATA_NONE
: SLDATATYPE
= 0u32;
7423 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7424 pub const SL_DATA_SZ
: SLDATATYPE
= 1u32;
7425 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7426 pub const SL_DATA_DWORD
: SLDATATYPE
= 4u32;
7427 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7428 pub const SL_DATA_BINARY
: SLDATATYPE
= 3u32;
7429 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7430 pub const SL_DATA_MULTI_SZ
: SLDATATYPE
= 7u32;
7431 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7432 pub const SL_DATA_SUM
: SLDATATYPE
= 100u32;
7433 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7434 pub type SLIDTYPE
= i32;
7435 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7436 pub const SL_ID_APPLICATION
: SLIDTYPE
= 0i32;
7437 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7438 pub const SL_ID_PRODUCT_SKU
: SLIDTYPE
= 1i32;
7439 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7440 pub const SL_ID_LICENSE_FILE
: SLIDTYPE
= 2i32;
7441 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7442 pub const SL_ID_LICENSE
: SLIDTYPE
= 3i32;
7443 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7444 pub const SL_ID_PKEY
: SLIDTYPE
= 4i32;
7445 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7446 pub const SL_ID_ALL_LICENSES
: SLIDTYPE
= 5i32;
7447 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7448 pub const SL_ID_ALL_LICENSE_FILES
: SLIDTYPE
= 6i32;
7449 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7450 pub const SL_ID_STORE_TOKEN
: SLIDTYPE
= 7i32;
7451 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7452 pub const SL_ID_LAST
: SLIDTYPE
= 8i32;
7453 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7454 pub type SLLICENSINGSTATUS
= i32;
7455 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7456 pub const SL_LICENSING_STATUS_UNLICENSED
: SLLICENSINGSTATUS
= 0i32;
7457 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7458 pub const SL_LICENSING_STATUS_LICENSED
: SLLICENSINGSTATUS
= 1i32;
7459 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7460 pub const SL_LICENSING_STATUS_IN_GRACE_PERIOD
: SLLICENSINGSTATUS
= 2i32;
7461 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7462 pub const SL_LICENSING_STATUS_NOTIFICATION
: SLLICENSINGSTATUS
= 3i32;
7463 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7464 pub const SL_LICENSING_STATUS_LAST
: SLLICENSINGSTATUS
= 4i32;
7465 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7466 pub type SLREFERRALTYPE
= i32;
7467 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7468 pub const SL_REFERRALTYPE_SKUID
: SLREFERRALTYPE
= 0i32;
7469 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7470 pub const SL_REFERRALTYPE_APPID
: SLREFERRALTYPE
= 1i32;
7471 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7472 pub const SL_REFERRALTYPE_OVERRIDE_SKUID
: SLREFERRALTYPE
= 2i32;
7473 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7474 pub const SL_REFERRALTYPE_OVERRIDE_APPID
: SLREFERRALTYPE
= 3i32;
7475 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7476 pub const SL_REFERRALTYPE_BEST_MATCH
: SLREFERRALTYPE
= 4i32;
7478 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7479 pub struct SL_ACTIVATION_INFO_HEADER
{
7481 pub r
#type: SL_ACTIVATION_TYPE,
7483 impl ::core
::marker
::Copy
for SL_ACTIVATION_INFO_HEADER {}
7484 impl ::core
::clone
::Clone
for SL_ACTIVATION_INFO_HEADER
{
7485 fn clone(&self) -> Self {
7489 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7490 pub type SL_ACTIVATION_TYPE
= i32;
7491 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7492 pub const SL_ACTIVATION_TYPE_DEFAULT
: SL_ACTIVATION_TYPE
= 0i32;
7493 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7494 pub const SL_ACTIVATION_TYPE_ACTIVE_DIRECTORY
: SL_ACTIVATION_TYPE
= 1i32;
7496 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7497 pub struct SL_AD_ACTIVATION_INFO
{
7498 pub header
: SL_ACTIVATION_INFO_HEADER
,
7499 pub pwszProductKey
: ::windows_sys
::core
::PCWSTR
,
7500 pub pwszActivationObjectName
: ::windows_sys
::core
::PCWSTR
,
7502 impl ::core
::marker
::Copy
for SL_AD_ACTIVATION_INFO {}
7503 impl ::core
::clone
::Clone
for SL_AD_ACTIVATION_INFO
{
7504 fn clone(&self) -> Self {
7508 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7509 pub const SL_CLIENTAPI_ZONE
: u32 = 61440u32;
7510 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7511 pub const SL_DEFAULT_MIGRATION_ENCRYPTOR_URI
: &str = "msft:spp/migrationencryptor/tokenact/1.0";
7512 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7513 pub const SL_EVENT_LICENSING_STATE_CHANGED
: &str = "msft:rm/event/licensingstatechanged";
7514 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7515 pub const SL_EVENT_POLICY_CHANGED
: &str = "msft:rm/event/policychanged";
7516 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7517 pub const SL_EVENT_USER_NOTIFICATION
: &str = "msft:rm/event/usernotification";
7518 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7519 pub const SL_E_ACTIVATION_IN_PROGRESS
: ::windows_sys
::core
::HRESULT
= -1073422296i32;
7520 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7521 pub const SL_E_APPLICATION_POLICIES_MISSING
: ::windows_sys
::core
::HRESULT
= -1073418126i32;
7522 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7523 pub const SL_E_APPLICATION_POLICIES_NOT_LOADED
: ::windows_sys
::core
::HRESULT
= -1073418125i32;
7524 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7525 pub const SL_E_AUTHN_CANT_VERIFY
: ::windows_sys
::core
::HRESULT
= -1073418118i32;
7526 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7527 pub const SL_E_AUTHN_CHALLENGE_NOT_SET
: ::windows_sys
::core
::HRESULT
= -1073418119i32;
7528 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7529 pub const SL_E_AUTHN_MISMATCHED_KEY
: ::windows_sys
::core
::HRESULT
= -1073418120i32;
7530 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7531 pub const SL_E_AUTHN_WRONG_VERSION
: ::windows_sys
::core
::HRESULT
= -1073418121i32;
7532 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7533 pub const SL_E_BASE_SKU_NOT_AVAILABLE
: ::windows_sys
::core
::HRESULT
= -1073418155i32;
7534 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7535 pub const SL_E_BIOS_KEY
: ::windows_sys
::core
::HRESULT
= -1073417707i32;
7536 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7537 pub const SL_E_BLOCKED_PRODUCT_KEY
: ::windows_sys
::core
::HRESULT
= -1073418159i32;
7538 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7539 pub const SL_E_CHPA_ACTCONFIG_ID_NOT_FOUND
: ::windows_sys
::core
::HRESULT
= -1073430519i32;
7540 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7541 pub const SL_E_CHPA_BINDING_MAPPING_NOT_FOUND
: ::windows_sys
::core
::HRESULT
= -1073430522i32;
7542 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7543 pub const SL_E_CHPA_BINDING_NOT_FOUND
: ::windows_sys
::core
::HRESULT
= -1073430523i32;
7544 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7545 pub const SL_E_CHPA_BUSINESS_RULE_INPUT_NOT_FOUND
: ::windows_sys
::core
::HRESULT
= -1073428736i32;
7546 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7547 pub const SL_E_CHPA_DATABASE_ERROR
: ::windows_sys
::core
::HRESULT
= -1073430509i32;
7548 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7549 pub const SL_E_CHPA_DIGITALMARKER_BINDING_NOT_CONFIGURED
: ::windows_sys
::core
::HRESULT
= -1073430446i32;
7550 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7551 pub const SL_E_CHPA_DIGITALMARKER_INVALID_BINDING
: ::windows_sys
::core
::HRESULT
= -1073430447i32;
7552 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7553 pub const SL_E_CHPA_DMAK_EXTENSION_LIMIT_EXCEEDED
: ::windows_sys
::core
::HRESULT
= -1073430495i32;
7554 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7555 pub const SL_E_CHPA_DMAK_LIMIT_EXCEEDED
: ::windows_sys
::core
::HRESULT
= -1073430496i32;
7556 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7557 pub const SL_E_CHPA_DYNAMICALLY_BLOCKED_PRODUCT_KEY
: ::windows_sys
::core
::HRESULT
= -1073430432i32;
7558 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7559 pub const SL_E_CHPA_FAILED_TO_DELETE_PRODUCTKEY_BINDING
: ::windows_sys
::core
::HRESULT
= -1073428649i32;
7560 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7561 pub const SL_E_CHPA_FAILED_TO_DELETE_PRODUCT_KEY_PROPERTY
: ::windows_sys
::core
::HRESULT
= -1073428644i32;
7562 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7563 pub const SL_E_CHPA_FAILED_TO_INSERT_PRODUCTKEY_BINDING
: ::windows_sys
::core
::HRESULT
= -1073428650i32;
7564 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7565 pub const SL_E_CHPA_FAILED_TO_INSERT_PRODUCT_KEY_PROPERTY
: ::windows_sys
::core
::HRESULT
= -1073428646i32;
7566 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7567 pub const SL_E_CHPA_FAILED_TO_INSERT_PRODUCT_KEY_RECORD
: ::windows_sys
::core
::HRESULT
= -1073428608i32;
7568 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7569 pub const SL_E_CHPA_FAILED_TO_PROCESS_PRODUCT_KEY_BINDINGS_XML
: ::windows_sys
::core
::HRESULT
= -1073428648i32;
7570 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7571 pub const SL_E_CHPA_FAILED_TO_UPDATE_PRODUCTKEY_BINDING
: ::windows_sys
::core
::HRESULT
= -1073428651i32;
7572 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7573 pub const SL_E_CHPA_FAILED_TO_UPDATE_PRODUCT_KEY_PROPERTY
: ::windows_sys
::core
::HRESULT
= -1073428645i32;
7574 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7575 pub const SL_E_CHPA_FAILED_TO_UPDATE_PRODUCT_KEY_RECORD
: ::windows_sys
::core
::HRESULT
= -1073428607i32;
7576 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7577 pub const SL_E_CHPA_GENERAL_ERROR
: ::windows_sys
::core
::HRESULT
= -1073430448i32;
7578 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7579 pub const SL_E_CHPA_INVALID_ACTCONFIG_ID
: ::windows_sys
::core
::HRESULT
= -1073430515i32;
7580 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7581 pub const SL_E_CHPA_INVALID_ARGUMENT
: ::windows_sys
::core
::HRESULT
= -1073430508i32;
7582 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7583 pub const SL_E_CHPA_INVALID_BINDING
: ::windows_sys
::core
::HRESULT
= -1073430526i32;
7584 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7585 pub const SL_E_CHPA_INVALID_BINDING_URI
: ::windows_sys
::core
::HRESULT
= -1073430511i32;
7586 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7587 pub const SL_E_CHPA_INVALID_PRODUCT_DATA
: ::windows_sys
::core
::HRESULT
= -1073430517i32;
7588 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7589 pub const SL_E_CHPA_INVALID_PRODUCT_DATA_ID
: ::windows_sys
::core
::HRESULT
= -1073430518i32;
7590 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7591 pub const SL_E_CHPA_INVALID_PRODUCT_KEY
: ::windows_sys
::core
::HRESULT
= -1073430524i32;
7592 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7593 pub const SL_E_CHPA_INVALID_PRODUCT_KEY_CHAR
: ::windows_sys
::core
::HRESULT
= -1073430512i32;
7594 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7595 pub const SL_E_CHPA_INVALID_PRODUCT_KEY_FORMAT
: ::windows_sys
::core
::HRESULT
= -1073430513i32;
7596 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7597 pub const SL_E_CHPA_INVALID_PRODUCT_KEY_LENGTH
: ::windows_sys
::core
::HRESULT
= -1073430514i32;
7598 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7599 pub const SL_E_CHPA_MAXIMUM_UNLOCK_EXCEEDED
: ::windows_sys
::core
::HRESULT
= -1073430520i32;
7600 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7601 pub const SL_E_CHPA_MSCH_RESPONSE_NOT_AVAILABLE_VGA
: ::windows_sys
::core
::HRESULT
= -1073429505i32;
7602 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7603 pub const SL_E_CHPA_NETWORK_ERROR
: ::windows_sys
::core
::HRESULT
= -1073430510i32;
7604 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7605 pub const SL_E_CHPA_NO_RULES_TO_ACTIVATE
: ::windows_sys
::core
::HRESULT
= -1073430449i32;
7606 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7607 pub const SL_E_CHPA_NULL_VALUE_FOR_PROPERTY_NAME_OR_ID
: ::windows_sys
::core
::HRESULT
= -1073428656i32;
7608 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7609 pub const SL_E_CHPA_OEM_SLP_COA0
: ::windows_sys
::core
::HRESULT
= -1073430506i32;
7610 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7611 pub const SL_E_CHPA_OVERRIDE_REQUEST_NOT_FOUND
: ::windows_sys
::core
::HRESULT
= -1073430493i32;
7612 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7613 pub const SL_E_CHPA_PRODUCT_KEY_BEING_USED
: ::windows_sys
::core
::HRESULT
= -1073428624i32;
7614 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7615 pub const SL_E_CHPA_PRODUCT_KEY_BLOCKED
: ::windows_sys
::core
::HRESULT
= -1073430525i32;
7616 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7617 pub const SL_E_CHPA_PRODUCT_KEY_BLOCKED_IPLOCATION
: ::windows_sys
::core
::HRESULT
= -1073430505i32;
7618 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7619 pub const SL_E_CHPA_PRODUCT_KEY_OUT_OF_RANGE
: ::windows_sys
::core
::HRESULT
= -1073430527i32;
7620 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7621 pub const SL_E_CHPA_REISSUANCE_LIMIT_NOT_FOUND
: ::windows_sys
::core
::HRESULT
= -1073430494i32;
7622 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7623 pub const SL_E_CHPA_RESPONSE_NOT_AVAILABLE
: ::windows_sys
::core
::HRESULT
= -1073430507i32;
7624 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7625 pub const SL_E_CHPA_SYSTEM_ERROR
: ::windows_sys
::core
::HRESULT
= -1073430516i32;
7626 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7627 pub const SL_E_CHPA_TIMEBASED_ACTIVATION_AFTER_END_DATE
: ::windows_sys
::core
::HRESULT
= -1073430479i32;
7628 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7629 pub const SL_E_CHPA_TIMEBASED_ACTIVATION_BEFORE_START_DATE
: ::windows_sys
::core
::HRESULT
= -1073430480i32;
7630 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7631 pub const SL_E_CHPA_TIMEBASED_ACTIVATION_NOT_AVAILABLE
: ::windows_sys
::core
::HRESULT
= -1073430478i32;
7632 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7633 pub const SL_E_CHPA_TIMEBASED_PRODUCT_KEY_NOT_CONFIGURED
: ::windows_sys
::core
::HRESULT
= -1073430477i32;
7634 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7635 pub const SL_E_CHPA_UNKNOWN_PRODUCT_KEY_TYPE
: ::windows_sys
::core
::HRESULT
= -1073428636i32;
7636 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7637 pub const SL_E_CHPA_UNKNOWN_PROPERTY_ID
: ::windows_sys
::core
::HRESULT
= -1073428654i32;
7638 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7639 pub const SL_E_CHPA_UNKNOWN_PROPERTY_NAME
: ::windows_sys
::core
::HRESULT
= -1073428655i32;
7640 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7641 pub const SL_E_CHPA_UNSUPPORTED_PRODUCT_KEY
: ::windows_sys
::core
::HRESULT
= -1073430521i32;
7642 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7643 pub const SL_E_CIDIID_INVALID_CHECK_DIGITS
: ::windows_sys
::core
::HRESULT
= -1073418163i32;
7644 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7645 pub const SL_E_CIDIID_INVALID_DATA
: ::windows_sys
::core
::HRESULT
= -1073418196i32;
7646 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7647 pub const SL_E_CIDIID_INVALID_DATA_LENGTH
: ::windows_sys
::core
::HRESULT
= -1073418193i32;
7648 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7649 pub const SL_E_CIDIID_INVALID_VERSION
: ::windows_sys
::core
::HRESULT
= -1073418195i32;
7650 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7651 pub const SL_E_CIDIID_MISMATCHED
: ::windows_sys
::core
::HRESULT
= -1073418191i32;
7652 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7653 pub const SL_E_CIDIID_MISMATCHED_PKEY
: ::windows_sys
::core
::HRESULT
= -1073418114i32;
7654 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7655 pub const SL_E_CIDIID_NOT_BOUND
: ::windows_sys
::core
::HRESULT
= -1073418113i32;
7656 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7657 pub const SL_E_CIDIID_NOT_DEPOSITED
: ::windows_sys
::core
::HRESULT
= -1073418192i32;
7658 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7659 pub const SL_E_CIDIID_VERSION_NOT_SUPPORTED
: ::windows_sys
::core
::HRESULT
= -1073418194i32;
7660 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7661 pub const SL_E_DATATYPE_MISMATCHED
: ::windows_sys
::core
::HRESULT
= -1073418210i32;
7662 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7663 pub const SL_E_DECRYPTION_LICENSES_NOT_AVAILABLE
: ::windows_sys
::core
::HRESULT
= -1073418212i32;
7664 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7665 pub const SL_E_DEPENDENT_PROPERTY_NOT_SET
: ::windows_sys
::core
::HRESULT
= -1073418138i32;
7666 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7667 pub const SL_E_DOWNLEVEL_SETUP_KEY
: ::windows_sys
::core
::HRESULT
= -1073417708i32;
7668 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7669 pub const SL_E_DUPLICATE_POLICY
: ::windows_sys
::core
::HRESULT
= -1073418158i32;
7670 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7671 pub const SL_E_EDITION_MISMATCHED
: ::windows_sys
::core
::HRESULT
= -1073417712i32;
7672 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7673 pub const SL_E_ENGINE_DETECTED_EXPLOIT
: ::windows_sys
::core
::HRESULT
= -1073429327i32;
7674 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7675 pub const SL_E_EUL_CONSUMPTION_FAILED
: ::windows_sys
::core
::HRESULT
= -1073422315i32;
7676 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7677 pub const SL_E_EUL_NOT_AVAILABLE
: ::windows_sys
::core
::HRESULT
= -1073418188i32;
7678 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7679 pub const SL_E_EVALUATION_FAILED
: ::windows_sys
::core
::HRESULT
= -1073422333i32;
7680 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7681 pub const SL_E_EVENT_ALREADY_REGISTERED
: ::windows_sys
::core
::HRESULT
= -1073418213i32;
7682 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7683 pub const SL_E_EVENT_NOT_REGISTERED
: ::windows_sys
::core
::HRESULT
= -1073418214i32;
7684 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7685 pub const SL_E_EXTERNAL_SIGNATURE_NOT_FOUND
: ::windows_sys
::core
::HRESULT
= -1073418234i32;
7686 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7687 pub const SL_E_GRACE_TIME_EXPIRED
: ::windows_sys
::core
::HRESULT
= -1073418231i32;
7688 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7689 pub const SL_E_HEALTH_CHECK_FAILED_MUI_FILES
: ::windows_sys
::core
::HRESULT
= -1073429330i32;
7690 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7691 pub const SL_E_HEALTH_CHECK_FAILED_NEUTRAL_FILES
: ::windows_sys
::core
::HRESULT
= -1073429331i32;
7692 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7693 pub const SL_E_HWID_CHANGED
: ::windows_sys
::core
::HRESULT
= -1073417711i32;
7694 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7695 pub const SL_E_HWID_ERROR
: ::windows_sys
::core
::HRESULT
= -1073422309i32;
7696 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7697 pub const SL_E_IA_ID_MISMATCH
: ::windows_sys
::core
::HRESULT
= -1073414909i32;
7698 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7699 pub const SL_E_IA_INVALID_VIRTUALIZATION_PLATFORM
: ::windows_sys
::core
::HRESULT
= -1073414911i32;
7700 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7701 pub const SL_E_IA_MACHINE_NOT_BOUND
: ::windows_sys
::core
::HRESULT
= -1073414908i32;
7702 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7703 pub const SL_E_IA_PARENT_PARTITION_NOT_ACTIVATED
: ::windows_sys
::core
::HRESULT
= -1073414910i32;
7704 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7705 pub const SL_E_IA_THROTTLE_LIMIT_EXCEEDED
: ::windows_sys
::core
::HRESULT
= -1073414912i32;
7706 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7707 pub const SL_E_INTERNAL_ERROR
: ::windows_sys
::core
::HRESULT
= -1073418239i32;
7708 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7709 pub const SL_E_INVALID_AD_DATA
: ::windows_sys
::core
::HRESULT
= -1073429329i32;
7710 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7711 pub const SL_E_INVALID_BINDING_BLOB
: ::windows_sys
::core
::HRESULT
= -1073418190i32;
7712 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7713 pub const SL_E_INVALID_CLIENT_TOKEN
: ::windows_sys
::core
::HRESULT
= -1073429720i32;
7714 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7715 pub const SL_E_INVALID_CONTEXT
: ::windows_sys
::core
::HRESULT
= -1073422335i32;
7716 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7717 pub const SL_E_INVALID_CONTEXT_DATA
: ::windows_sys
::core
::HRESULT
= -1073422300i32;
7718 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7719 pub const SL_E_INVALID_EVENT_ID
: ::windows_sys
::core
::HRESULT
= -1073418215i32;
7720 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7721 pub const SL_E_INVALID_FILE_HASH
: ::windows_sys
::core
::HRESULT
= -1073429343i32;
7722 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7723 pub const SL_E_INVALID_GUID
: ::windows_sys
::core
::HRESULT
= -1073422330i32;
7724 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7725 pub const SL_E_INVALID_HASH
: ::windows_sys
::core
::HRESULT
= -1073422299i32;
7726 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7727 pub const SL_E_INVALID_LICENSE
: ::windows_sys
::core
::HRESULT
= -1073418209i32;
7728 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7729 pub const SL_E_INVALID_LICENSE_STATE
: ::windows_sys
::core
::HRESULT
= -1073429336i32;
7730 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7731 pub const SL_E_INVALID_LICENSE_STATE_BREACH_GRACE
: ::windows_sys
::core
::HRESULT
= -1073429871i32;
7732 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7733 pub const SL_E_INVALID_LICENSE_STATE_BREACH_GRACE_EXPIRED
: ::windows_sys
::core
::HRESULT
= -1073429870i32;
7734 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7735 pub const SL_E_INVALID_OEM_OR_VOLUME_BINDING_DATA
: ::windows_sys
::core
::HRESULT
= -1073429337i32;
7736 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7737 pub const SL_E_INVALID_OFFLINE_BLOB
: ::windows_sys
::core
::HRESULT
= -1073429719i32;
7738 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7739 pub const SL_E_INVALID_OSVERSION_TEMPLATEID
: ::windows_sys
::core
::HRESULT
= -1073429717i32;
7740 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7741 pub const SL_E_INVALID_OS_FOR_PRODUCT_KEY
: ::windows_sys
::core
::HRESULT
= -1073429503i32;
7742 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7743 pub const SL_E_INVALID_PACKAGE
: ::windows_sys
::core
::HRESULT
= -1073418208i32;
7744 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7745 pub const SL_E_INVALID_PACKAGE_VERSION
: ::windows_sys
::core
::HRESULT
= -1073418144i32;
7746 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7747 pub const SL_E_INVALID_PKEY
: ::windows_sys
::core
::HRESULT
= -1073418224i32;
7748 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7749 pub const SL_E_INVALID_PRODUCT_KEY
: ::windows_sys
::core
::HRESULT
= -1073418160i32;
7750 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7751 pub const SL_E_INVALID_PRODUCT_KEY_TYPE
: ::windows_sys
::core
::HRESULT
= -1073418115i32;
7752 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7753 pub const SL_E_INVALID_RSDP_COUNT
: ::windows_sys
::core
::HRESULT
= -1073429328i32;
7754 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7755 pub const SL_E_INVALID_RULESET_RULE
: ::windows_sys
::core
::HRESULT
= -1073422301i32;
7756 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7757 pub const SL_E_INVALID_RUNNING_MODE
: ::windows_sys
::core
::HRESULT
= -1073418199i32;
7758 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7759 pub const SL_E_INVALID_TEMPLATE_ID
: ::windows_sys
::core
::HRESULT
= -1073429770i32;
7760 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7761 pub const SL_E_INVALID_TOKEN_DATA
: ::windows_sys
::core
::HRESULT
= -1073429332i32;
7762 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7763 pub const SL_E_INVALID_USE_OF_ADD_ON_PKEY
: ::windows_sys
::core
::HRESULT
= -2147164122i32;
7764 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7765 pub const SL_E_INVALID_XML_BLOB
: ::windows_sys
::core
::HRESULT
= -1073429766i32;
7766 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7767 pub const SL_E_IP_LOCATION_FALIED
: ::windows_sys
::core
::HRESULT
= -1073429335i32;
7768 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7769 pub const SL_E_ISSUANCE_LICENSE_NOT_INSTALLED
: ::windows_sys
::core
::HRESULT
= -1073418142i32;
7770 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7771 pub const SL_E_LICENSE_AUTHORIZATION_FAILED
: ::windows_sys
::core
::HRESULT
= -1073418206i32;
7772 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7773 pub const SL_E_LICENSE_DECRYPTION_FAILED
: ::windows_sys
::core
::HRESULT
= -1073418205i32;
7774 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7775 pub const SL_E_LICENSE_FILE_NOT_INSTALLED
: ::windows_sys
::core
::HRESULT
= -1073418223i32;
7776 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7777 pub const SL_E_LICENSE_INVALID_ADDON_INFO
: ::windows_sys
::core
::HRESULT
= -1073422310i32;
7778 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7779 pub const SL_E_LICENSE_MANAGEMENT_DATA_DUPLICATED
: ::windows_sys
::core
::HRESULT
= -1073418156i32;
7780 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7781 pub const SL_E_LICENSE_MANAGEMENT_DATA_NOT_FOUND
: ::windows_sys
::core
::HRESULT
= -1073418161i32;
7782 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7783 pub const SL_E_LICENSE_NOT_BOUND
: ::windows_sys
::core
::HRESULT
= -1073418112i32;
7784 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7785 pub const SL_E_LICENSE_SERVER_URL_NOT_FOUND
: ::windows_sys
::core
::HRESULT
= -1073418216i32;
7786 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7787 pub const SL_E_LICENSE_SIGNATURE_VERIFICATION_FAILED
: ::windows_sys
::core
::HRESULT
= -1073418211i32;
7788 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7789 pub const SL_E_LUA_ACCESSDENIED
: ::windows_sys
::core
::HRESULT
= -1073418203i32;
7790 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7791 pub const SL_E_MISMATCHED_APPID
: ::windows_sys
::core
::HRESULT
= -1073418230i32;
7792 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7793 pub const SL_E_MISMATCHED_KEY_TYPES
: ::windows_sys
::core
::HRESULT
= -1073429340i32;
7794 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7795 pub const SL_E_MISMATCHED_PID
: ::windows_sys
::core
::HRESULT
= -1073418235i32;
7796 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7797 pub const SL_E_MISMATCHED_PKEY_RANGE
: ::windows_sys
::core
::HRESULT
= -1073418236i32;
7798 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7799 pub const SL_E_MISMATCHED_PRODUCT_SKU
: ::windows_sys
::core
::HRESULT
= -1073418135i32;
7800 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7801 pub const SL_E_MISMATCHED_SECURITY_PROCESSOR
: ::windows_sys
::core
::HRESULT
= -1073418226i32;
7802 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7803 pub const SL_E_MISSING_OVERRIDE_ONLY_ATTRIBUTE
: ::windows_sys
::core
::HRESULT
= -1073418157i32;
7804 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7805 pub const SL_E_NONGENUINE_GRACE_TIME_EXPIRED
: ::windows_sys
::core
::HRESULT
= -1073418140i32;
7806 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7807 pub const SL_E_NONGENUINE_GRACE_TIME_EXPIRED_2
: ::windows_sys
::core
::HRESULT
= -1073418137i32;
7808 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7809 pub const SL_E_NON_GENUINE_STATUS_LAST
: ::windows_sys
::core
::HRESULT
= -1073428992i32;
7810 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7811 pub const SL_E_NOTIFICATION_BREACH_DETECTED
: ::windows_sys
::core
::HRESULT
= -1073429199i32;
7812 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7813 pub const SL_E_NOTIFICATION_GRACE_EXPIRED
: ::windows_sys
::core
::HRESULT
= -1073429198i32;
7814 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7815 pub const SL_E_NOTIFICATION_OTHER_REASONS
: ::windows_sys
::core
::HRESULT
= -1073429197i32;
7816 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7817 pub const SL_E_NOT_ACTIVATED
: ::windows_sys
::core
::HRESULT
= -1073422331i32;
7818 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7819 pub const SL_E_NOT_EVALUATED
: ::windows_sys
::core
::HRESULT
= -1073422332i32;
7820 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7821 pub const SL_E_NOT_GENUINE
: ::windows_sys
::core
::HRESULT
= -1073417728i32;
7822 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7823 pub const SL_E_NOT_SUPPORTED
: ::windows_sys
::core
::HRESULT
= -1073418218i32;
7824 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7825 pub const SL_E_NO_PID_CONFIG_DATA
: ::windows_sys
::core
::HRESULT
= -1073418229i32;
7826 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7827 pub const SL_E_NO_PRODUCT_KEY_FOUND
: ::windows_sys
::core
::HRESULT
= -1073417709i32;
7828 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7829 pub const SL_E_OEM_KEY_EDITION_MISMATCH
: ::windows_sys
::core
::HRESULT
= -1073417710i32;
7830 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7831 pub const SL_E_OFFLINE_GENUINE_BLOB_NOT_FOUND
: ::windows_sys
::core
::HRESULT
= -1073429715i32;
7832 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7833 pub const SL_E_OFFLINE_GENUINE_BLOB_REVOKED
: ::windows_sys
::core
::HRESULT
= -1073429716i32;
7834 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7835 pub const SL_E_OFFLINE_VALIDATION_BLOB_PARAM_NOT_FOUND
: ::windows_sys
::core
::HRESULT
= -1073429718i32;
7836 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7837 pub const SL_E_OPERATION_NOT_ALLOWED
: ::windows_sys
::core
::HRESULT
= -1073418134i32;
7838 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7839 pub const SL_E_OUT_OF_TOLERANCE
: ::windows_sys
::core
::HRESULT
= -1073418225i32;
7840 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7841 pub const SL_E_PKEY_INTERNAL_ERROR
: ::windows_sys
::core
::HRESULT
= -1073422311i32;
7842 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7843 pub const SL_E_PKEY_INVALID_ALGORITHM
: ::windows_sys
::core
::HRESULT
= -1073422312i32;
7844 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7845 pub const SL_E_PKEY_INVALID_CONFIG
: ::windows_sys
::core
::HRESULT
= -1073422314i32;
7846 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7847 pub const SL_E_PKEY_INVALID_KEYCHANGE1
: ::windows_sys
::core
::HRESULT
= -1073422308i32;
7848 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7849 pub const SL_E_PKEY_INVALID_KEYCHANGE2
: ::windows_sys
::core
::HRESULT
= -1073422307i32;
7850 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7851 pub const SL_E_PKEY_INVALID_KEYCHANGE3
: ::windows_sys
::core
::HRESULT
= -1073422306i32;
7852 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7853 pub const SL_E_PKEY_INVALID_UNIQUEID
: ::windows_sys
::core
::HRESULT
= -1073422313i32;
7854 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7855 pub const SL_E_PKEY_INVALID_UPGRADE
: ::windows_sys
::core
::HRESULT
= -1073418143i32;
7856 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7857 pub const SL_E_PKEY_NOT_INSTALLED
: ::windows_sys
::core
::HRESULT
= -1073418220i32;
7858 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7859 pub const SL_E_PLUGIN_INVALID_MANIFEST
: ::windows_sys
::core
::HRESULT
= -1073418127i32;
7860 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7861 pub const SL_E_PLUGIN_NOT_REGISTERED
: ::windows_sys
::core
::HRESULT
= -1073418122i32;
7862 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7863 pub const SL_E_POLICY_CACHE_INVALID
: ::windows_sys
::core
::HRESULT
= -1073418200i32;
7864 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7865 pub const SL_E_POLICY_OTHERINFO_MISMATCH
: ::windows_sys
::core
::HRESULT
= -1073422304i32;
7866 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7867 pub const SL_E_PRODUCT_KEY_INSTALLATION_NOT_ALLOWED
: ::windows_sys
::core
::HRESULT
= -1073418189i32;
7868 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7869 pub const SL_E_PRODUCT_SKU_NOT_INSTALLED
: ::windows_sys
::core
::HRESULT
= -1073418219i32;
7870 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7871 pub const SL_E_PRODUCT_UNIQUENESS_GROUP_ID_INVALID
: ::windows_sys
::core
::HRESULT
= -1073422303i32;
7872 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7873 pub const SL_E_PROXY_KEY_NOT_FOUND
: ::windows_sys
::core
::HRESULT
= -1073418202i32;
7874 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7875 pub const SL_E_PROXY_POLICY_NOT_UPDATED
: ::windows_sys
::core
::HRESULT
= -1073418169i32;
7876 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7877 pub const SL_E_PUBLISHING_LICENSE_NOT_INSTALLED
: ::windows_sys
::core
::HRESULT
= -1073418217i32;
7878 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7879 pub const SL_E_RAC_NOT_AVAILABLE
: ::windows_sys
::core
::HRESULT
= -1073418233i32;
7880 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7881 pub const SL_E_RIGHT_NOT_CONSUMED
: ::windows_sys
::core
::HRESULT
= -1073418238i32;
7882 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7883 pub const SL_E_RIGHT_NOT_GRANTED
: ::windows_sys
::core
::HRESULT
= -1073418221i32;
7884 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7885 pub const SL_E_SECURE_STORE_ID_MISMATCH
: ::windows_sys
::core
::HRESULT
= -1073422302i32;
7886 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7887 pub const SL_E_SERVICE_RUNNING
: ::windows_sys
::core
::HRESULT
= -1073418117i32;
7888 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7889 pub const SL_E_SERVICE_STOPPING
: ::windows_sys
::core
::HRESULT
= -1073418123i32;
7890 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7891 pub const SL_E_SFS_BAD_TOKEN_EXT
: ::windows_sys
::core
::HRESULT
= -2147163899i32;
7892 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7893 pub const SL_E_SFS_BAD_TOKEN_NAME
: ::windows_sys
::core
::HRESULT
= -2147163900i32;
7894 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7895 pub const SL_E_SFS_DUPLICATE_TOKEN_NAME
: ::windows_sys
::core
::HRESULT
= -2147163898i32;
7896 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7897 pub const SL_E_SFS_FILE_READ_ERROR
: ::windows_sys
::core
::HRESULT
= -2147163895i32;
7898 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7899 pub const SL_E_SFS_FILE_WRITE_ERROR
: ::windows_sys
::core
::HRESULT
= -2147163894i32;
7900 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7901 pub const SL_E_SFS_INVALID_FD_TABLE
: ::windows_sys
::core
::HRESULT
= -2147163902i32;
7902 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7903 pub const SL_E_SFS_INVALID_FILE_POSITION
: ::windows_sys
::core
::HRESULT
= -2147163893i32;
7904 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7905 pub const SL_E_SFS_INVALID_FS_HEADER
: ::windows_sys
::core
::HRESULT
= -2147163891i32;
7906 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7907 pub const SL_E_SFS_INVALID_FS_VERSION
: ::windows_sys
::core
::HRESULT
= -2147163903i32;
7908 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7909 pub const SL_E_SFS_INVALID_SYNC
: ::windows_sys
::core
::HRESULT
= -2147163901i32;
7910 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7911 pub const SL_E_SFS_INVALID_TOKEN_DATA_HASH
: ::windows_sys
::core
::HRESULT
= -2147163896i32;
7912 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7913 pub const SL_E_SFS_INVALID_TOKEN_DESCRIPTOR
: ::windows_sys
::core
::HRESULT
= -2147163890i32;
7914 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7915 pub const SL_E_SFS_NO_ACTIVE_TRANSACTION
: ::windows_sys
::core
::HRESULT
= -2147163892i32;
7916 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7917 pub const SL_E_SFS_TOKEN_SIZE_MISMATCH
: ::windows_sys
::core
::HRESULT
= -2147163897i32;
7918 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7919 pub const SL_E_SLP_BAD_FORMAT
: ::windows_sys
::core
::HRESULT
= -1073418151i32;
7920 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7921 pub const SL_E_SLP_INVALID_MARKER_VERSION
: ::windows_sys
::core
::HRESULT
= -1073418116i32;
7922 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7923 pub const SL_E_SLP_MISSING_ACPI_SLIC
: ::windows_sys
::core
::HRESULT
= -1073418153i32;
7924 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7925 pub const SL_E_SLP_MISSING_SLP_MARKER
: ::windows_sys
::core
::HRESULT
= -1073418152i32;
7926 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7927 pub const SL_E_SLP_NOT_SIGNED
: ::windows_sys
::core
::HRESULT
= -1073418198i32;
7928 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7929 pub const SL_E_SLP_OEM_CERT_MISSING
: ::windows_sys
::core
::HRESULT
= -1073418141i32;
7930 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7931 pub const SL_E_SOFTMOD_EXPLOIT_DETECTED
: ::windows_sys
::core
::HRESULT
= -1073429333i32;
7932 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7933 pub const SL_E_SPC_NOT_AVAILABLE
: ::windows_sys
::core
::HRESULT
= -1073418232i32;
7934 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7935 pub const SL_E_SRV_AUTHORIZATION_FAILED
: ::windows_sys
::core
::HRESULT
= -1073434619i32;
7936 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7937 pub const SL_E_SRV_BUSINESS_TOKEN_ENTRY_NOT_FOUND
: ::windows_sys
::core
::HRESULT
= -1073434608i32;
7938 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7939 pub const SL_E_SRV_CLIENT_CLOCK_OUT_OF_SYNC
: ::windows_sys
::core
::HRESULT
= -1073434607i32;
7940 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7941 pub const SL_E_SRV_GENERAL_ERROR
: ::windows_sys
::core
::HRESULT
= -1073434368i32;
7942 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7943 pub const SL_E_SRV_INVALID_BINDING
: ::windows_sys
::core
::HRESULT
= -1073434618i32;
7944 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7945 pub const SL_E_SRV_INVALID_LICENSE_STRUCTURE
: ::windows_sys
::core
::HRESULT
= -1073434620i32;
7946 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7947 pub const SL_E_SRV_INVALID_PAYLOAD
: ::windows_sys
::core
::HRESULT
= -1073434616i32;
7948 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7949 pub const SL_E_SRV_INVALID_PRODUCT_KEY_LICENSE
: ::windows_sys
::core
::HRESULT
= -1073434622i32;
7950 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7951 pub const SL_E_SRV_INVALID_PUBLISH_LICENSE
: ::windows_sys
::core
::HRESULT
= -1073434623i32;
7952 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7953 pub const SL_E_SRV_INVALID_RIGHTS_ACCOUNT_LICENSE
: ::windows_sys
::core
::HRESULT
= -1073434621i32;
7954 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7955 pub const SL_E_SRV_INVALID_SECURITY_PROCESSOR_LICENSE
: ::windows_sys
::core
::HRESULT
= -1073434615i32;
7956 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7957 pub const SL_E_SRV_SERVER_PONG
: ::windows_sys
::core
::HRESULT
= -1073434617i32;
7958 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7959 pub const SL_E_STORE_UPGRADE_TOKEN_NOT_AUTHORIZED
: ::windows_sys
::core
::HRESULT
= -1073422290i32;
7960 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7961 pub const SL_E_STORE_UPGRADE_TOKEN_NOT_PRS_SIGNED
: ::windows_sys
::core
::HRESULT
= -1073422292i32;
7962 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7963 pub const SL_E_STORE_UPGRADE_TOKEN_REQUIRED
: ::windows_sys
::core
::HRESULT
= -1073422295i32;
7964 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7965 pub const SL_E_STORE_UPGRADE_TOKEN_WRONG_EDITION
: ::windows_sys
::core
::HRESULT
= -1073422294i32;
7966 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7967 pub const SL_E_STORE_UPGRADE_TOKEN_WRONG_PID
: ::windows_sys
::core
::HRESULT
= -1073422293i32;
7968 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7969 pub const SL_E_STORE_UPGRADE_TOKEN_WRONG_VERSION
: ::windows_sys
::core
::HRESULT
= -1073422291i32;
7970 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7971 pub const SL_E_TAMPER_DETECTED
: ::windows_sys
::core
::HRESULT
= -1073418201i32;
7972 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7973 pub const SL_E_TAMPER_RECOVERY_REQUIRES_ACTIVATION
: ::windows_sys
::core
::HRESULT
= -1073414656i32;
7974 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7975 pub const SL_E_TKA_CERT_CNG_NOT_AVAILABLE
: ::windows_sys
::core
::HRESULT
= -1073417453i32;
7976 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7977 pub const SL_E_TKA_CERT_NOT_FOUND
: ::windows_sys
::core
::HRESULT
= -1073417467i32;
7978 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7979 pub const SL_E_TKA_CHALLENGE_EXPIRED
: ::windows_sys
::core
::HRESULT
= -1073417471i32;
7980 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7981 pub const SL_E_TKA_CHALLENGE_MISMATCH
: ::windows_sys
::core
::HRESULT
= -1073417463i32;
7982 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7983 pub const SL_E_TKA_CRITERIA_MISMATCH
: ::windows_sys
::core
::HRESULT
= -1073417457i32;
7984 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7985 pub const SL_E_TKA_FAILED_GRANT_PARSING
: ::windows_sys
::core
::HRESULT
= -1073417460i32;
7986 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7987 pub const SL_E_TKA_GRANT_NOT_FOUND
: ::windows_sys
::core
::HRESULT
= -1073417468i32;
7988 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7989 pub const SL_E_TKA_INVALID_BLOB
: ::windows_sys
::core
::HRESULT
= -1073417465i32;
7990 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7991 pub const SL_E_TKA_INVALID_CERTIFICATE
: ::windows_sys
::core
::HRESULT
= -1073417462i32;
7992 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7993 pub const SL_E_TKA_INVALID_CERT_CHAIN
: ::windows_sys
::core
::HRESULT
= -1073417469i32;
7994 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7995 pub const SL_E_TKA_INVALID_SKU_ID
: ::windows_sys
::core
::HRESULT
= -1073417466i32;
7996 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7997 pub const SL_E_TKA_INVALID_SMARTCARD
: ::windows_sys
::core
::HRESULT
= -1073417461i32;
7998 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
7999 pub const SL_E_TKA_INVALID_THUMBPRINT
: ::windows_sys
::core
::HRESULT
= -1073417459i32;
8000 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8001 pub const SL_E_TKA_SILENT_ACTIVATION_FAILURE
: ::windows_sys
::core
::HRESULT
= -1073417470i32;
8002 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8003 pub const SL_E_TKA_SOFT_CERT_DISALLOWED
: ::windows_sys
::core
::HRESULT
= -1073417455i32;
8004 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8005 pub const SL_E_TKA_SOFT_CERT_INVALID
: ::windows_sys
::core
::HRESULT
= -1073417454i32;
8006 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8007 pub const SL_E_TKA_TAMPERED_CERT_CHAIN
: ::windows_sys
::core
::HRESULT
= -1073417464i32;
8008 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8009 pub const SL_E_TKA_THUMBPRINT_CERT_NOT_FOUND
: ::windows_sys
::core
::HRESULT
= -1073417458i32;
8010 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8011 pub const SL_E_TKA_TPID_MISMATCH
: ::windows_sys
::core
::HRESULT
= -1073417456i32;
8012 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8013 pub const SL_E_TOKEN_STORE_INVALID_STATE
: ::windows_sys
::core
::HRESULT
= -1073422334i32;
8014 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8015 pub const SL_E_TOKSTO_ALREADY_INITIALIZED
: ::windows_sys
::core
::HRESULT
= -1073422326i32;
8016 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8017 pub const SL_E_TOKSTO_CANT_ACQUIRE_MUTEX
: ::windows_sys
::core
::HRESULT
= -1073422317i32;
8018 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8019 pub const SL_E_TOKSTO_CANT_CREATE_FILE
: ::windows_sys
::core
::HRESULT
= -1073422324i32;
8020 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8021 pub const SL_E_TOKSTO_CANT_CREATE_MUTEX
: ::windows_sys
::core
::HRESULT
= -1073422318i32;
8022 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8023 pub const SL_E_TOKSTO_CANT_PARSE_PROPERTIES
: ::windows_sys
::core
::HRESULT
= -1073422321i32;
8024 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8025 pub const SL_E_TOKSTO_CANT_READ_FILE
: ::windows_sys
::core
::HRESULT
= -1073422322i32;
8026 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8027 pub const SL_E_TOKSTO_CANT_WRITE_TO_FILE
: ::windows_sys
::core
::HRESULT
= -1073422323i32;
8028 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8029 pub const SL_E_TOKSTO_INVALID_FILE
: ::windows_sys
::core
::HRESULT
= -1073422319i32;
8030 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8031 pub const SL_E_TOKSTO_NOT_INITIALIZED
: ::windows_sys
::core
::HRESULT
= -1073422327i32;
8032 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8033 pub const SL_E_TOKSTO_NO_ID_SET
: ::windows_sys
::core
::HRESULT
= -1073422325i32;
8034 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8035 pub const SL_E_TOKSTO_NO_PROPERTIES
: ::windows_sys
::core
::HRESULT
= -1073422328i32;
8036 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8037 pub const SL_E_TOKSTO_NO_TOKEN_DATA
: ::windows_sys
::core
::HRESULT
= -1073422316i32;
8038 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8039 pub const SL_E_TOKSTO_PROPERTY_NOT_FOUND
: ::windows_sys
::core
::HRESULT
= -1073422320i32;
8040 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8041 pub const SL_E_TOKSTO_TOKEN_NOT_FOUND
: ::windows_sys
::core
::HRESULT
= -1073422329i32;
8042 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8043 pub const SL_E_USE_LICENSE_NOT_INSTALLED
: ::windows_sys
::core
::HRESULT
= -1073418237i32;
8044 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8045 pub const SL_E_VALIDATION_BLOB_PARAM_NOT_FOUND
: ::windows_sys
::core
::HRESULT
= -1073429721i32;
8046 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8047 pub const SL_E_VALIDATION_BLOCKED_PRODUCT_KEY
: ::windows_sys
::core
::HRESULT
= -1073429342i32;
8048 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8049 pub const SL_E_VALIDATION_INVALID_PRODUCT_KEY
: ::windows_sys
::core
::HRESULT
= -1073429339i32;
8050 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8051 pub const SL_E_VALIDITY_PERIOD_EXPIRED
: ::windows_sys
::core
::HRESULT
= -1073415161i32;
8052 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8053 pub const SL_E_VALIDITY_TIME_EXPIRED
: ::windows_sys
::core
::HRESULT
= -1073418207i32;
8054 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8055 pub const SL_E_VALUE_NOT_FOUND
: ::windows_sys
::core
::HRESULT
= -1073418222i32;
8056 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8057 pub const SL_E_VL_AD_AO_NAME_TOO_LONG
: ::windows_sys
::core
::HRESULT
= -1073418110i32;
8058 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8059 pub const SL_E_VL_AD_AO_NOT_FOUND
: ::windows_sys
::core
::HRESULT
= -1073418111i32;
8060 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8061 pub const SL_E_VL_AD_SCHEMA_VERSION_NOT_SUPPORTED
: ::windows_sys
::core
::HRESULT
= -1073418109i32;
8062 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8063 pub const SL_E_VL_BINDING_SERVICE_NOT_ENABLED
: ::windows_sys
::core
::HRESULT
= -1073418183i32;
8064 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8065 pub const SL_E_VL_BINDING_SERVICE_UNAVAILABLE
: ::windows_sys
::core
::HRESULT
= -1073418124i32;
8066 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8067 pub const SL_E_VL_INFO_PRODUCT_USER_RIGHT
: ::windows_sys
::core
::HRESULT
= 1074065472i32;
8068 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8069 pub const SL_E_VL_INVALID_TIMESTAMP
: ::windows_sys
::core
::HRESULT
= -1073418132i32;
8070 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8071 pub const SL_E_VL_KEY_MANAGEMENT_SERVICE_ID_MISMATCH
: ::windows_sys
::core
::HRESULT
= -1073418174i32;
8072 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8073 pub const SL_E_VL_KEY_MANAGEMENT_SERVICE_NOT_ACTIVATED
: ::windows_sys
::core
::HRESULT
= -1073418175i32;
8074 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8075 pub const SL_E_VL_KEY_MANAGEMENT_SERVICE_VM_NOT_SUPPORTED
: ::windows_sys
::core
::HRESULT
= -1073418133i32;
8076 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8077 pub const SL_E_VL_MACHINE_NOT_BOUND
: ::windows_sys
::core
::HRESULT
= -1073418154i32;
8078 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8079 pub const SL_E_VL_NOT_ENOUGH_COUNT
: ::windows_sys
::core
::HRESULT
= -1073418184i32;
8080 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8081 pub const SL_E_VL_NOT_WINDOWS_SLP
: ::windows_sys
::core
::HRESULT
= -1073418187i32;
8082 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8083 pub const SL_E_WINDOWS_INVALID_LICENSE_STATE
: ::windows_sys
::core
::HRESULT
= -1073418204i32;
8084 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8085 pub const SL_E_WINDOWS_VERSION_MISMATCH
: ::windows_sys
::core
::HRESULT
= -1073422297i32;
8086 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8087 pub type SL_GENUINE_STATE
= i32;
8088 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8089 pub const SL_GEN_STATE_IS_GENUINE
: SL_GENUINE_STATE
= 0i32;
8090 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8091 pub const SL_GEN_STATE_INVALID_LICENSE
: SL_GENUINE_STATE
= 1i32;
8092 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8093 pub const SL_GEN_STATE_TAMPERED
: SL_GENUINE_STATE
= 2i32;
8094 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8095 pub const SL_GEN_STATE_OFFLINE
: SL_GENUINE_STATE
= 3i32;
8096 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8097 pub const SL_GEN_STATE_LAST
: SL_GENUINE_STATE
= 4i32;
8098 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8099 pub const SL_INFO_KEY_ACTIVE_PLUGINS
: &str = "ActivePlugins";
8100 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8101 pub const SL_INFO_KEY_AUTHOR
: &str = "Author";
8102 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8103 pub const SL_INFO_KEY_BIOS_OA2_MINOR_VERSION
: &str = "BiosOA2MinorVersion";
8104 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8105 pub const SL_INFO_KEY_BIOS_PKEY
: &str = "BiosProductKey";
8106 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8107 pub const SL_INFO_KEY_BIOS_PKEY_DESCRIPTION
: &str = "BiosProductKeyDescription";
8108 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8109 pub const SL_INFO_KEY_BIOS_PKEY_PKPN
: &str = "BiosProductKeyPkPn";
8110 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8111 pub const SL_INFO_KEY_BIOS_SLIC_STATE
: &str = "BiosSlicState";
8112 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8113 pub const SL_INFO_KEY_CHANNEL
: &str = "Channel";
8114 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8115 pub const SL_INFO_KEY_DESCRIPTION
: &str = "Description";
8116 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8117 pub const SL_INFO_KEY_DIGITAL_PID
: &str = "DigitalPID";
8118 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8119 pub const SL_INFO_KEY_DIGITAL_PID2
: &str = "DigitalPID2";
8120 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8121 pub const SL_INFO_KEY_IS_KMS
: &str = "IsKeyManagementService";
8122 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8123 pub const SL_INFO_KEY_IS_PRS
: &str = "IsPRS";
8124 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8125 pub const SL_INFO_KEY_KMS_CURRENT_COUNT
: &str = "KeyManagementServiceCurrentCount";
8126 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8127 pub const SL_INFO_KEY_KMS_FAILED_REQUESTS
: &str = "KeyManagementServiceFailedRequests";
8128 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8129 pub const SL_INFO_KEY_KMS_LICENSED_REQUESTS
: &str = "KeyManagementServiceLicensedRequests";
8130 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8131 pub const SL_INFO_KEY_KMS_NON_GENUINE_GRACE_REQUESTS
: &str = "KeyManagementServiceNonGenuineGraceRequests";
8132 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8133 pub const SL_INFO_KEY_KMS_NOTIFICATION_REQUESTS
: &str = "KeyManagementServiceNotificationRequests";
8134 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8135 pub const SL_INFO_KEY_KMS_OOB_GRACE_REQUESTS
: &str = "KeyManagementServiceOOBGraceRequests";
8136 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8137 pub const SL_INFO_KEY_KMS_OOT_GRACE_REQUESTS
: &str = "KeyManagementServiceOOTGraceRequests";
8138 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8139 pub const SL_INFO_KEY_KMS_REQUIRED_CLIENT_COUNT
: &str = "KeyManagementServiceRequiredClientCount";
8140 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8141 pub const SL_INFO_KEY_KMS_TOTAL_REQUESTS
: &str = "KeyManagementServiceTotalRequests";
8142 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8143 pub const SL_INFO_KEY_KMS_UNLICENSED_REQUESTS
: &str = "KeyManagementServiceUnlicensedRequests";
8144 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8145 pub const SL_INFO_KEY_LICENSE_TYPE
: &str = "LicenseType";
8146 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8147 pub const SL_INFO_KEY_LICENSOR_URL
: &str = "LicensorUrl";
8148 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8149 pub const SL_INFO_KEY_NAME
: &str = "Name";
8150 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8151 pub const SL_INFO_KEY_PARTIAL_PRODUCT_KEY
: &str = "PartialProductKey";
8152 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8153 pub const SL_INFO_KEY_PRODUCT_KEY_ACTIVATION_URL
: &str = "PKCURL";
8154 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8155 pub const SL_INFO_KEY_PRODUCT_SKU_ID
: &str = "ProductSkuId";
8156 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8157 pub const SL_INFO_KEY_RIGHT_ACCOUNT_ACTIVATION_URL
: &str = "RACURL";
8158 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8159 pub const SL_INFO_KEY_SECURE_PROCESSOR_ACTIVATION_URL
: &str = "SPCURL";
8160 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8161 pub const SL_INFO_KEY_SECURE_STORE_ID
: &str = "SecureStoreId";
8162 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8163 pub const SL_INFO_KEY_SYSTEM_STATE
: &str = "SystemState";
8164 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8165 pub const SL_INFO_KEY_USE_LICENSE_ACTIVATION_URL
: &str = "EULURL";
8166 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8167 pub const SL_INFO_KEY_VERSION
: &str = "Version";
8168 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8169 pub const SL_INTERNAL_ZONE
: u32 = 57344u32;
8170 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8171 pub const SL_I_NONGENUINE_GRACE_PERIOD
: ::windows_sys
::core
::HRESULT
= 1074065509i32;
8172 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8173 pub const SL_I_NONGENUINE_GRACE_PERIOD_2
: ::windows_sys
::core
::HRESULT
= 1074065512i32;
8174 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8175 pub const SL_I_OOB_GRACE_PERIOD
: ::windows_sys
::core
::HRESULT
= 1074065420i32;
8176 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8177 pub const SL_I_OOT_GRACE_PERIOD
: ::windows_sys
::core
::HRESULT
= 1074065421i32;
8178 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8179 pub const SL_I_PERPETUAL_OOB_GRACE_PERIOD
: ::windows_sys
::core
::HRESULT
= 1074068485i32;
8180 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8181 pub const SL_I_STORE_BASED_ACTIVATION
: ::windows_sys
::core
::HRESULT
= 1074066433i32;
8182 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8183 pub const SL_I_TIMEBASED_EXTENDED_GRACE_PERIOD
: ::windows_sys
::core
::HRESULT
= 1074068486i32;
8184 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8185 pub const SL_I_TIMEBASED_VALIDITY_PERIOD
: ::windows_sys
::core
::HRESULT
= 1074068484i32;
8187 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8188 pub struct SL_LICENSING_STATUS
{
8189 pub SkuId
: ::windows_sys
::core
::GUID
,
8190 pub eStatus
: SLLICENSINGSTATUS
,
8191 pub dwGraceTime
: u32,
8192 pub dwTotalGraceDays
: u32,
8193 pub hrReason
: ::windows_sys
::core
::HRESULT
,
8194 pub qwValidityExpiration
: u64,
8196 impl ::core
::marker
::Copy
for SL_LICENSING_STATUS {}
8197 impl ::core
::clone
::Clone
for SL_LICENSING_STATUS
{
8198 fn clone(&self) -> Self {
8202 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8203 pub const SL_MDOLLAR_ZONE
: u32 = 40960u32;
8204 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8205 pub const SL_MSCH_ZONE
: u32 = 49152u32;
8207 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8208 pub struct SL_NONGENUINE_UI_OPTIONS
{
8210 pub pComponentId
: *const ::windows_sys
::core
::GUID
,
8211 pub hResultUI
: ::windows_sys
::core
::HRESULT
,
8213 impl ::core
::marker
::Copy
for SL_NONGENUINE_UI_OPTIONS {}
8214 impl ::core
::clone
::Clone
for SL_NONGENUINE_UI_OPTIONS
{
8215 fn clone(&self) -> Self {
8219 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8220 pub const SL_PKEY_DETECT
: &str = "msft:rm/algorithm/pkey/detect";
8221 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8222 pub const SL_PKEY_MS2005
: &str = "msft:rm/algorithm/pkey/2005";
8223 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8224 pub const SL_PKEY_MS2009
: &str = "msft:rm/algorithm/pkey/2009";
8225 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8226 pub const SL_POLICY_EVALUATION_MODE_ENABLED
: &str = "Security-SPP-EvaluationModeEnabled";
8227 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8228 pub const SL_PROP_ACTIVATION_VALIDATION_IN_PROGRESS
: &str = "SL_ACTIVATION_VALIDATION_IN_PROGRESS";
8229 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8230 pub const SL_PROP_BRT_COMMIT
: &str = "SL_BRT_COMMIT";
8231 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8232 pub const SL_PROP_BRT_DATA
: &str = "SL_BRT_DATA";
8233 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8234 pub const SL_PROP_GENUINE_RESULT
: &str = "SL_GENUINE_RESULT";
8235 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8236 pub const SL_PROP_GET_GENUINE_AUTHZ
: &str = "SL_GET_GENUINE_AUTHZ";
8237 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8238 pub const SL_PROP_GET_GENUINE_SERVER_AUTHZ
: &str = "SL_GET_GENUINE_SERVER_AUTHZ";
8239 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8240 pub const SL_PROP_LAST_ACT_ATTEMPT_HRESULT
: &str = "SL_LAST_ACT_ATTEMPT_HRESULT";
8241 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8242 pub const SL_PROP_LAST_ACT_ATTEMPT_SERVER_FLAGS
: &str = "SL_LAST_ACT_ATTEMPT_SERVER_FLAGS";
8243 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8244 pub const SL_PROP_LAST_ACT_ATTEMPT_TIME
: &str = "SL_LAST_ACT_ATTEMPT_TIME";
8245 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8246 pub const SL_PROP_NONGENUINE_GRACE_FLAG
: &str = "SL_NONGENUINE_GRACE_FLAG";
8247 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8248 pub const SL_REARM_REBOOT_REQUIRED
: u32 = 1u32;
8249 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8250 pub const SL_REMAPPING_MDOLLAR_CIDIID_INVALID_CHECK_DIGITS
: ::windows_sys
::core
::HRESULT
= -2143313776i32;
8251 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8252 pub const SL_REMAPPING_MDOLLAR_CIDIID_INVALID_DATA
: ::windows_sys
::core
::HRESULT
= -2143313778i32;
8253 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8254 pub const SL_REMAPPING_MDOLLAR_CIDIID_INVALID_DATA_LENGTH
: ::windows_sys
::core
::HRESULT
= -2143313777i32;
8255 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8256 pub const SL_REMAPPING_MDOLLAR_CIDIID_INVALID_VERSION
: ::windows_sys
::core
::HRESULT
= -2143313779i32;
8257 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8258 pub const SL_REMAPPING_MDOLLAR_DIGITALMARKER_BINDING_NOT_CONFIGURED
: ::windows_sys
::core
::HRESULT
= -2143313708i32;
8259 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8260 pub const SL_REMAPPING_MDOLLAR_DIGITALMARKER_INVALID_BINDING
: ::windows_sys
::core
::HRESULT
= -2143313709i32;
8261 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8262 pub const SL_REMAPPING_MDOLLAR_DMAK_EXTENSION_LIMIT_EXCEEDED
: ::windows_sys
::core
::HRESULT
= -2143313792i32;
8263 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8264 pub const SL_REMAPPING_MDOLLAR_DMAK_LIMIT_EXCEEDED
: ::windows_sys
::core
::HRESULT
= -2143313793i32;
8265 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8266 pub const SL_REMAPPING_MDOLLAR_DMAK_OVERRIDE_LIMIT_REACHED
: ::windows_sys
::core
::HRESULT
= -2143313706i32;
8267 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8268 pub const SL_REMAPPING_MDOLLAR_FREE_OFFER_EXPIRED
: ::windows_sys
::core
::HRESULT
= -2143312896i32;
8269 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8270 pub const SL_REMAPPING_MDOLLAR_INVALID_ACTCONFIG_ID
: ::windows_sys
::core
::HRESULT
= -2143313802i32;
8271 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8272 pub const SL_REMAPPING_MDOLLAR_INVALID_ARGUMENT
: ::windows_sys
::core
::HRESULT
= -2143313795i32;
8273 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8274 pub const SL_REMAPPING_MDOLLAR_INVALID_BINDING
: ::windows_sys
::core
::HRESULT
= -2143313818i32;
8275 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8276 pub const SL_REMAPPING_MDOLLAR_INVALID_BINDING_URI
: ::windows_sys
::core
::HRESULT
= -2143313798i32;
8277 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8278 pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_DATA
: ::windows_sys
::core
::HRESULT
= -2143313804i32;
8279 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8280 pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_DATA_ID
: ::windows_sys
::core
::HRESULT
= -2143313805i32;
8281 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8282 pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_KEY
: ::windows_sys
::core
::HRESULT
= -2143313816i32;
8283 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8284 pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_KEY_FORMAT
: ::windows_sys
::core
::HRESULT
= -2143313800i32;
8285 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8286 pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_KEY_LENGTH
: ::windows_sys
::core
::HRESULT
= -2143313801i32;
8287 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8288 pub const SL_REMAPPING_MDOLLAR_MAXIMUM_UNLOCK_EXCEEDED
: ::windows_sys
::core
::HRESULT
= -2143313807i32;
8289 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8290 pub const SL_REMAPPING_MDOLLAR_NO_RULES_TO_ACTIVATE
: ::windows_sys
::core
::HRESULT
= -2143313720i32;
8291 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8292 pub const SL_REMAPPING_MDOLLAR_OEM_SLP_COA0
: ::windows_sys
::core
::HRESULT
= -2143313789i32;
8293 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8294 pub const SL_REMAPPING_MDOLLAR_OSR_DEVICE_BLOCKED
: ::windows_sys
::core
::HRESULT
= -2143310909i32;
8295 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8296 pub const SL_REMAPPING_MDOLLAR_OSR_DEVICE_THROTTLED
: ::windows_sys
::core
::HRESULT
= -2143310914i32;
8297 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8298 pub const SL_REMAPPING_MDOLLAR_OSR_DONOR_HWID_NO_ENTITLEMENT
: ::windows_sys
::core
::HRESULT
= -2143310920i32;
8299 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8300 pub const SL_REMAPPING_MDOLLAR_OSR_GENERIC_ERROR
: ::windows_sys
::core
::HRESULT
= -2143310919i32;
8301 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8302 pub const SL_REMAPPING_MDOLLAR_OSR_GP_DISABLED
: ::windows_sys
::core
::HRESULT
= -2143310913i32;
8303 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8304 pub const SL_REMAPPING_MDOLLAR_OSR_HARDWARE_BLOCKED
: ::windows_sys
::core
::HRESULT
= -2143310912i32;
8305 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8306 pub const SL_REMAPPING_MDOLLAR_OSR_LICENSE_BLOCKED
: ::windows_sys
::core
::HRESULT
= -2143310910i32;
8307 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8308 pub const SL_REMAPPING_MDOLLAR_OSR_LICENSE_THROTTLED
: ::windows_sys
::core
::HRESULT
= -2143310915i32;
8309 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8310 pub const SL_REMAPPING_MDOLLAR_OSR_NOT_ADMIN
: ::windows_sys
::core
::HRESULT
= -2143310917i32;
8311 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8312 pub const SL_REMAPPING_MDOLLAR_OSR_NO_ASSOCIATION
: ::windows_sys
::core
::HRESULT
= -2143310918i32;
8313 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8314 pub const SL_REMAPPING_MDOLLAR_OSR_USER_BLOCKED
: ::windows_sys
::core
::HRESULT
= -2143310911i32;
8315 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8316 pub const SL_REMAPPING_MDOLLAR_OSR_USER_THROTTLED
: ::windows_sys
::core
::HRESULT
= -2143310916i32;
8317 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8318 pub const SL_REMAPPING_MDOLLAR_PRODUCT_KEY_BLOCKED
: ::windows_sys
::core
::HRESULT
= -2143313817i32;
8319 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8320 pub const SL_REMAPPING_MDOLLAR_PRODUCT_KEY_BLOCKED_IPLOCATION
: ::windows_sys
::core
::HRESULT
= -2143313717i32;
8321 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8322 pub const SL_REMAPPING_MDOLLAR_PRODUCT_KEY_OUT_OF_RANGE
: ::windows_sys
::core
::HRESULT
= -2143313819i32;
8323 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8324 pub const SL_REMAPPING_MDOLLAR_ROT_OVERRIDE_LIMIT_REACHED
: ::windows_sys
::core
::HRESULT
= -2143313707i32;
8325 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8326 pub const SL_REMAPPING_MDOLLAR_TIMEBASED_ACTIVATION_AFTER_END_DATE
: ::windows_sys
::core
::HRESULT
= -2143313768i32;
8327 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8328 pub const SL_REMAPPING_MDOLLAR_TIMEBASED_ACTIVATION_BEFORE_START_DATE
: ::windows_sys
::core
::HRESULT
= -2143313769i32;
8329 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8330 pub const SL_REMAPPING_MDOLLAR_TIMEBASED_ACTIVATION_NOT_AVAILABLE
: ::windows_sys
::core
::HRESULT
= -2143313767i32;
8331 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8332 pub const SL_REMAPPING_MDOLLAR_TIMEBASED_PRODUCT_KEY_NOT_CONFIGURED
: ::windows_sys
::core
::HRESULT
= -2143313766i32;
8333 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8334 pub const SL_REMAPPING_MDOLLAR_UNSUPPORTED_PRODUCT_KEY
: ::windows_sys
::core
::HRESULT
= -2143313812i32;
8335 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8336 pub const SL_REMAPPING_SP_PUB_API_BAD_GET_INFO_QUERY
: ::windows_sys
::core
::HRESULT
= -1073426414i32;
8337 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8338 pub const SL_REMAPPING_SP_PUB_API_HANDLE_NOT_COMMITED
: ::windows_sys
::core
::HRESULT
= -1073426303i32;
8339 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8340 pub const SL_REMAPPING_SP_PUB_API_INVALID_ALGORITHM_TYPE
: ::windows_sys
::core
::HRESULT
= -1073426423i32;
8341 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8342 pub const SL_REMAPPING_SP_PUB_API_INVALID_HANDLE
: ::windows_sys
::core
::HRESULT
= -1073426388i32;
8343 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8344 pub const SL_REMAPPING_SP_PUB_API_INVALID_KEY_LENGTH
: ::windows_sys
::core
::HRESULT
= -1073426347i32;
8345 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8346 pub const SL_REMAPPING_SP_PUB_API_INVALID_LICENSE
: ::windows_sys
::core
::HRESULT
= -1073426432i32;
8347 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8348 pub const SL_REMAPPING_SP_PUB_API_NO_AES_PROVIDER
: ::windows_sys
::core
::HRESULT
= -1073426317i32;
8349 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8350 pub const SL_REMAPPING_SP_PUB_API_TOO_MANY_LOADED_ENVIRONMENTS
: ::windows_sys
::core
::HRESULT
= -1073426420i32;
8351 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8352 pub const SL_REMAPPING_SP_PUB_CRYPTO_HASH_FINALIZED
: ::windows_sys
::core
::HRESULT
= -1073425911i32;
8353 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8354 pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_BLOCK
: ::windows_sys
::core
::HRESULT
= -1073425905i32;
8355 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8356 pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_BLOCKLENGTH
: ::windows_sys
::core
::HRESULT
= -1073425918i32;
8357 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8358 pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_CIPHER
: ::windows_sys
::core
::HRESULT
= -1073425917i32;
8359 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8360 pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_CIPHERMODE
: ::windows_sys
::core
::HRESULT
= -1073425916i32;
8361 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8362 pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_FORMAT
: ::windows_sys
::core
::HRESULT
= -1073425904i32;
8363 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8364 pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_KEYLENGTH
: ::windows_sys
::core
::HRESULT
= -1073425919i32;
8365 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8366 pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_PADDING
: ::windows_sys
::core
::HRESULT
= -1073425903i32;
8367 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8368 pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_SIGNATURE
: ::windows_sys
::core
::HRESULT
= -1073425906i32;
8369 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8370 pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_SIGNATURELENGTH
: ::windows_sys
::core
::HRESULT
= -1073425907i32;
8371 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8372 pub const SL_REMAPPING_SP_PUB_CRYPTO_KEY_NOT_AVAILABLE
: ::windows_sys
::core
::HRESULT
= -1073425910i32;
8373 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8374 pub const SL_REMAPPING_SP_PUB_CRYPTO_KEY_NOT_FOUND
: ::windows_sys
::core
::HRESULT
= -1073425909i32;
8375 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8376 pub const SL_REMAPPING_SP_PUB_CRYPTO_NOT_BLOCK_ALIGNED
: ::windows_sys
::core
::HRESULT
= -1073425908i32;
8377 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8378 pub const SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_ATTRIBUTEID
: ::windows_sys
::core
::HRESULT
= -1073425912i32;
8379 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8380 pub const SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_HASHID
: ::windows_sys
::core
::HRESULT
= -1073425913i32;
8381 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8382 pub const SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_KEYID
: ::windows_sys
::core
::HRESULT
= -1073425914i32;
8383 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8384 pub const SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_PROVIDERID
: ::windows_sys
::core
::HRESULT
= -1073425915i32;
8385 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8386 pub const SL_REMAPPING_SP_PUB_GENERAL_NOT_INITIALIZED
: ::windows_sys
::core
::HRESULT
= -1073426175i32;
8387 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8388 pub const SL_REMAPPING_SP_PUB_KM_CACHE_IDENTICAL
: ::windows_sys
::core
::HRESULT
= 1074058753i32;
8389 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8390 pub const SL_REMAPPING_SP_PUB_KM_CACHE_POLICY_CHANGED
: ::windows_sys
::core
::HRESULT
= 1074058754i32;
8391 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8392 pub const SL_REMAPPING_SP_PUB_KM_CACHE_TAMPER
: ::windows_sys
::core
::HRESULT
= -1073425151i32;
8393 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8394 pub const SL_REMAPPING_SP_PUB_KM_CACHE_TAMPER_RESTORE_FAILED
: ::windows_sys
::core
::HRESULT
= -1073425150i32;
8395 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8396 pub const SL_REMAPPING_SP_PUB_PROXY_SOFT_TAMPER
: ::windows_sys
::core
::HRESULT
= -1073424638i32;
8397 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8398 pub const SL_REMAPPING_SP_PUB_TAMPER_MODULE_AUTHENTICATION
: ::windows_sys
::core
::HRESULT
= -1073425407i32;
8399 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8400 pub const SL_REMAPPING_SP_PUB_TAMPER_SECURITY_PROCESSOR_PATCHED
: ::windows_sys
::core
::HRESULT
= -1073425406i32;
8401 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8402 pub const SL_REMAPPING_SP_PUB_TIMER_ALREADY_EXISTS
: ::windows_sys
::core
::HRESULT
= -1073425654i32;
8403 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8404 pub const SL_REMAPPING_SP_PUB_TIMER_EXPIRED
: ::windows_sys
::core
::HRESULT
= -1073425652i32;
8405 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8406 pub const SL_REMAPPING_SP_PUB_TIMER_NAME_SIZE_TOO_BIG
: ::windows_sys
::core
::HRESULT
= -1073425651i32;
8407 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8408 pub const SL_REMAPPING_SP_PUB_TIMER_NOT_FOUND
: ::windows_sys
::core
::HRESULT
= -1073425653i32;
8409 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8410 pub const SL_REMAPPING_SP_PUB_TIMER_READ_ONLY
: ::windows_sys
::core
::HRESULT
= -1073425647i32;
8411 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8412 pub const SL_REMAPPING_SP_PUB_TRUSTED_TIME_OK
: ::windows_sys
::core
::HRESULT
= 1074057999i32;
8413 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8414 pub const SL_REMAPPING_SP_PUB_TS_ACCESS_DENIED
: ::windows_sys
::core
::HRESULT
= -1073425644i32;
8415 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8416 pub const SL_REMAPPING_SP_PUB_TS_ATTRIBUTE_NOT_FOUND
: ::windows_sys
::core
::HRESULT
= -1073425645i32;
8417 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8418 pub const SL_REMAPPING_SP_PUB_TS_ATTRIBUTE_READ_ONLY
: ::windows_sys
::core
::HRESULT
= -1073425646i32;
8419 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8420 pub const SL_REMAPPING_SP_PUB_TS_DATA_SIZE_TOO_BIG
: ::windows_sys
::core
::HRESULT
= -1073425656i32;
8421 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8422 pub const SL_REMAPPING_SP_PUB_TS_ENTRY_KEY_ALREADY_EXISTS
: ::windows_sys
::core
::HRESULT
= -1073425659i32;
8423 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8424 pub const SL_REMAPPING_SP_PUB_TS_ENTRY_KEY_NOT_FOUND
: ::windows_sys
::core
::HRESULT
= -1073425660i32;
8425 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8426 pub const SL_REMAPPING_SP_PUB_TS_ENTRY_KEY_SIZE_TOO_BIG
: ::windows_sys
::core
::HRESULT
= -1073425658i32;
8427 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8428 pub const SL_REMAPPING_SP_PUB_TS_ENTRY_READ_ONLY
: ::windows_sys
::core
::HRESULT
= -1073425648i32;
8429 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8430 pub const SL_REMAPPING_SP_PUB_TS_FULL
: ::windows_sys
::core
::HRESULT
= -1073425650i32;
8431 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8432 pub const SL_REMAPPING_SP_PUB_TS_INVALID_HW_BINDING
: ::windows_sys
::core
::HRESULT
= -1073425655i32;
8433 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8434 pub const SL_REMAPPING_SP_PUB_TS_MAX_REARM_REACHED
: ::windows_sys
::core
::HRESULT
= -1073425657i32;
8435 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8436 pub const SL_REMAPPING_SP_PUB_TS_NAMESPACE_IN_USE
: ::windows_sys
::core
::HRESULT
= -1073425642i32;
8437 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8438 pub const SL_REMAPPING_SP_PUB_TS_NAMESPACE_NOT_FOUND
: ::windows_sys
::core
::HRESULT
= -1073425643i32;
8439 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8440 pub const SL_REMAPPING_SP_PUB_TS_REARMED
: ::windows_sys
::core
::HRESULT
= -1073425662i32;
8441 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8442 pub const SL_REMAPPING_SP_PUB_TS_RECREATED
: ::windows_sys
::core
::HRESULT
= -1073425661i32;
8443 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8444 pub const SL_REMAPPING_SP_PUB_TS_TAMPERED
: ::windows_sys
::core
::HRESULT
= -1073425663i32;
8445 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8446 pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_BREADCRUMB_GENERATION
: ::windows_sys
::core
::HRESULT
= -1073425640i32;
8447 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8448 pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_BREADCRUMB_LOAD_INVALID
: ::windows_sys
::core
::HRESULT
= -1073425641i32;
8449 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8450 pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_DATA_BREADCRUMB_MISMATCH
: ::windows_sys
::core
::HRESULT
= -1073425637i32;
8451 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8452 pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_DATA_VERSION_MISMATCH
: ::windows_sys
::core
::HRESULT
= -1073425636i32;
8453 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8454 pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_INVALID_DATA
: ::windows_sys
::core
::HRESULT
= -1073425639i32;
8455 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8456 pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_NO_DATA
: ::windows_sys
::core
::HRESULT
= -1073425638i32;
8457 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8458 pub const SL_REMAPPING_SP_STATUS_ALREADY_EXISTS
: ::windows_sys
::core
::HRESULT
= -1073426171i32;
8459 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8460 pub const SL_REMAPPING_SP_STATUS_DEBUGGER_DETECTED
: ::windows_sys
::core
::HRESULT
= -2147167989i32;
8461 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8462 pub const SL_REMAPPING_SP_STATUS_GENERIC_FAILURE
: ::windows_sys
::core
::HRESULT
= -1073426173i32;
8463 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8464 pub const SL_REMAPPING_SP_STATUS_INSUFFICIENT_BUFFER
: ::windows_sys
::core
::HRESULT
= -1073426169i32;
8465 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8466 pub const SL_REMAPPING_SP_STATUS_INVALIDARG
: ::windows_sys
::core
::HRESULT
= -1073426172i32;
8467 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8468 pub const SL_REMAPPING_SP_STATUS_INVALIDDATA
: ::windows_sys
::core
::HRESULT
= -1073426168i32;
8469 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8470 pub const SL_REMAPPING_SP_STATUS_INVALID_SPAPI_CALL
: ::windows_sys
::core
::HRESULT
= -1073426167i32;
8471 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8472 pub const SL_REMAPPING_SP_STATUS_INVALID_SPAPI_VERSION
: ::windows_sys
::core
::HRESULT
= -1073426166i32;
8473 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8474 pub const SL_REMAPPING_SP_STATUS_NO_MORE_DATA
: ::windows_sys
::core
::HRESULT
= -1073426164i32;
8475 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8476 pub const SL_REMAPPING_SP_STATUS_PUSHKEY_CONFLICT
: ::windows_sys
::core
::HRESULT
= -1073424639i32;
8477 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8478 pub const SL_REMAPPING_SP_STATUS_SYSTEM_TIME_SKEWED
: ::windows_sys
::core
::HRESULT
= -2147167998i32;
8479 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8480 pub const SL_SERVER_ZONE
: u32 = 45056u32;
8482 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8483 pub struct SL_SYSTEM_POLICY_INFORMATION
{
8484 pub Reserved1
: [*mut ::core
::ffi
::c_void
; 2],
8485 pub Reserved2
: [u32; 3],
8487 impl ::core
::marker
::Copy
for SL_SYSTEM_POLICY_INFORMATION {}
8488 impl ::core
::clone
::Clone
for SL_SYSTEM_POLICY_INFORMATION
{
8489 fn clone(&self) -> Self {
8493 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8494 pub const SL_SYSTEM_STATE_REBOOT_POLICY_FOUND
: u32 = 1u32;
8495 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8496 pub const SL_SYSTEM_STATE_TAMPERED
: u32 = 2u32;
8497 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8498 pub const SPP_MIGRATION_GATHER_ACTIVATED_WINDOWS_STATE
: u32 = 2u32;
8499 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8500 pub const SPP_MIGRATION_GATHER_ALL
: u32 = 4294967295u32;
8501 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8502 pub const SPP_MIGRATION_GATHER_MIGRATABLE_APPS
: u32 = 1u32;
8503 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8504 pub const SP_ACCEPT_CREDENTIALS_NAME
: &str = "SpAcceptCredentials\u{0}";
8505 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8506 pub const SP_PROT_ALL
: u32 = 4294967295u32;
8507 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8508 pub const SP_PROT_DTLS1_0_CLIENT
: u32 = 131072u32;
8509 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8510 pub const SP_PROT_DTLS1_0_SERVER
: u32 = 65536u32;
8511 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8512 pub const SP_PROT_DTLS1_2_CLIENT
: u32 = 524288u32;
8513 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8514 pub const SP_PROT_DTLS1_2_SERVER
: u32 = 262144u32;
8515 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8516 pub const SP_PROT_DTLS_CLIENT
: u32 = 131072u32;
8517 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8518 pub const SP_PROT_DTLS_SERVER
: u32 = 65536u32;
8519 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8520 pub const SP_PROT_NONE
: u32 = 0u32;
8521 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8522 pub const SP_PROT_PCT1_CLIENT
: u32 = 2u32;
8523 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8524 pub const SP_PROT_PCT1_SERVER
: u32 = 1u32;
8525 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8526 pub const SP_PROT_SSL2_CLIENT
: u32 = 8u32;
8527 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8528 pub const SP_PROT_SSL2_SERVER
: u32 = 4u32;
8529 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8530 pub const SP_PROT_SSL3_CLIENT
: u32 = 32u32;
8531 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8532 pub const SP_PROT_SSL3_SERVER
: u32 = 16u32;
8533 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8534 pub const SP_PROT_TLS1_0_CLIENT
: u32 = 128u32;
8535 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8536 pub const SP_PROT_TLS1_0_SERVER
: u32 = 64u32;
8537 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8538 pub const SP_PROT_TLS1_1_CLIENT
: u32 = 512u32;
8539 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8540 pub const SP_PROT_TLS1_1_SERVER
: u32 = 256u32;
8541 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8542 pub const SP_PROT_TLS1_2_CLIENT
: u32 = 2048u32;
8543 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8544 pub const SP_PROT_TLS1_2_SERVER
: u32 = 1024u32;
8545 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8546 pub const SP_PROT_TLS1_3PLUS_CLIENT
: u32 = 8192u32;
8547 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8548 pub const SP_PROT_TLS1_3PLUS_SERVER
: u32 = 4096u32;
8549 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8550 pub const SP_PROT_TLS1_3_CLIENT
: u32 = 8192u32;
8551 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8552 pub const SP_PROT_TLS1_3_SERVER
: u32 = 4096u32;
8553 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8554 pub const SP_PROT_TLS1_CLIENT
: u32 = 128u32;
8555 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8556 pub const SP_PROT_TLS1_SERVER
: u32 = 64u32;
8557 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8558 pub const SP_PROT_UNI_CLIENT
: u32 = 2147483648u32;
8559 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8560 pub const SP_PROT_UNI_SERVER
: u32 = 1073741824u32;
8562 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8563 pub struct SR_SECURITY_DESCRIPTOR
{
8565 pub SecurityDescriptor
: *mut u8,
8567 impl ::core
::marker
::Copy
for SR_SECURITY_DESCRIPTOR {}
8568 impl ::core
::clone
::Clone
for SR_SECURITY_DESCRIPTOR
{
8569 fn clone(&self) -> Self {
8573 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8574 pub const SSL2SP_NAME
: &str = "Microsoft SSL 2.0";
8575 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8576 pub const SSL2SP_NAME_A
: &str = "Microsoft SSL 2.0";
8577 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8578 pub const SSL2SP_NAME_W
: &str = "Microsoft SSL 2.0";
8579 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8580 pub const SSL3SP_NAME
: &str = "Microsoft SSL 3.0";
8581 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8582 pub const SSL3SP_NAME_A
: &str = "Microsoft SSL 3.0";
8583 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8584 pub const SSL3SP_NAME_W
: &str = "Microsoft SSL 3.0";
8585 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
8586 #[cfg(feature = "Win32_Foundation")]
8587 pub type SSL_CRACK_CERTIFICATE_FN
= ::core
::option
::Option
<unsafe extern "system" fn(pbcertificate
: *mut u8, cbcertificate
: u32, verifysignature
: super::super::super::Foundation
::BOOL
, ppcertificate
: *mut *mut X509Certificate
) -> super::super::super::Foundation
::BOOL
>;
8588 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8589 pub const SSL_CRACK_CERTIFICATE_NAME
: &str = "SslCrackCertificate";
8591 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8592 pub struct SSL_CREDENTIAL_CERTIFICATE
{
8593 pub cbPrivateKey
: u32,
8594 pub pPrivateKey
: *mut u8,
8595 pub cbCertificate
: u32,
8596 pub pCertificate
: *mut u8,
8597 pub pszPassword
: ::windows_sys
::core
::PSTR
,
8599 impl ::core
::marker
::Copy
for SSL_CREDENTIAL_CERTIFICATE {}
8600 impl ::core
::clone
::Clone
for SSL_CREDENTIAL_CERTIFICATE
{
8601 fn clone(&self) -> Self {
8605 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
8606 #[cfg(feature = "Win32_Foundation")]
8607 pub type SSL_EMPTY_CACHE_FN_A
= ::core
::option
::Option
<unsafe extern "system" fn(psztargetname
: ::windows_sys
::core
::PCSTR
, dwflags
: u32) -> super::super::super::Foundation
::BOOL
>;
8608 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
8609 #[cfg(feature = "Win32_Foundation")]
8610 pub type SSL_EMPTY_CACHE_FN_W
= ::core
::option
::Option
<unsafe extern "system" fn(psztargetname
: ::windows_sys
::core
::PCWSTR
, dwflags
: u32) -> super::super::super::Foundation
::BOOL
>;
8611 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
8612 #[cfg(feature = "Win32_Foundation")]
8613 pub type SSL_FREE_CERTIFICATE_FN
= ::core
::option
::Option
<unsafe extern "system" fn(pcertificate
: *mut X509Certificate
)>;
8614 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8615 pub const SSL_FREE_CERTIFICATE_NAME
: &str = "SslFreeCertificate";
8616 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8617 pub const SSL_SESSION_RECONNECT
: u32 = 1u32;
8618 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8619 pub const SSPIPFC_CREDPROV_DO_NOT_LOAD
: u32 = 4u32;
8620 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8621 pub const SSPIPFC_CREDPROV_DO_NOT_SAVE
: u32 = 1u32;
8622 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8623 pub const SSPIPFC_NO_CHECKBOX
: u32 = 2u32;
8624 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8625 pub const SSPIPFC_SAVE_CRED_BY_CALLER
: u32 = 1u32;
8626 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8627 pub const SSPIPFC_USE_CREDUIBROKER
: u32 = 8u32;
8629 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8630 pub struct SUBSCRIBE_GENERIC_TLS_EXTENSION
{
8632 pub SubscriptionsCount
: u32,
8633 pub Subscriptions
: [TLS_EXTENSION_SUBSCRIPTION
; 1],
8635 impl ::core
::marker
::Copy
for SUBSCRIBE_GENERIC_TLS_EXTENSION {}
8636 impl ::core
::clone
::Clone
for SUBSCRIBE_GENERIC_TLS_EXTENSION
{
8637 fn clone(&self) -> Self {
8641 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8642 pub const SZ_ALG_MAX_SIZE
: u32 = 64u32;
8643 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8644 pub type SchGetExtensionsOptions
= u32;
8645 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8646 pub const SCH_EXTENSIONS_OPTIONS_NONE
: SchGetExtensionsOptions
= 0u32;
8647 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8648 pub const SCH_NO_RECORD_HEADER
: SchGetExtensionsOptions
= 1u32;
8650 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8651 pub struct SecBuffer
{
8653 pub BufferType
: u32,
8654 pub pvBuffer
: *mut ::core
::ffi
::c_void
,
8656 impl ::core
::marker
::Copy
for SecBuffer {}
8657 impl ::core
::clone
::Clone
for SecBuffer
{
8658 fn clone(&self) -> Self {
8663 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8664 pub struct SecBufferDesc
{
8667 pub pBuffers
: *mut SecBuffer
,
8669 impl ::core
::marker
::Copy
for SecBufferDesc {}
8670 impl ::core
::clone
::Clone
for SecBufferDesc
{
8671 fn clone(&self) -> Self {
8675 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8676 pub type SecDelegationType
= i32;
8677 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8678 pub const SecFull
: SecDelegationType
= 0i32;
8679 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8680 pub const SecService
: SecDelegationType
= 1i32;
8681 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8682 pub const SecTree
: SecDelegationType
= 2i32;
8683 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8684 pub const SecDirectory
: SecDelegationType
= 3i32;
8685 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8686 pub const SecObject
: SecDelegationType
= 4i32;
8688 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8689 pub struct SecPkgContext_AccessToken
{
8690 pub AccessToken
: *mut ::core
::ffi
::c_void
,
8692 impl ::core
::marker
::Copy
for SecPkgContext_AccessToken {}
8693 impl ::core
::clone
::Clone
for SecPkgContext_AccessToken
{
8694 fn clone(&self) -> Self {
8699 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8700 pub struct SecPkgContext_ApplicationProtocol
{
8701 pub ProtoNegoStatus
: SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS
,
8702 pub ProtoNegoExt
: SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT
,
8703 pub ProtocolIdSize
: u8,
8704 pub ProtocolId
: [u8; 255],
8706 impl ::core
::marker
::Copy
for SecPkgContext_ApplicationProtocol {}
8707 impl ::core
::clone
::Clone
for SecPkgContext_ApplicationProtocol
{
8708 fn clone(&self) -> Self {
8713 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8714 pub struct SecPkgContext_AuthorityA
{
8715 pub sAuthorityName
: *mut i8,
8717 impl ::core
::marker
::Copy
for SecPkgContext_AuthorityA {}
8718 impl ::core
::clone
::Clone
for SecPkgContext_AuthorityA
{
8719 fn clone(&self) -> Self {
8724 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8725 pub struct SecPkgContext_AuthorityW
{
8726 pub sAuthorityName
: *mut u16,
8728 impl ::core
::marker
::Copy
for SecPkgContext_AuthorityW {}
8729 impl ::core
::clone
::Clone
for SecPkgContext_AuthorityW
{
8730 fn clone(&self) -> Self {
8735 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8736 pub struct SecPkgContext_AuthzID
{
8737 pub AuthzIDLength
: u32,
8738 pub AuthzID
: ::windows_sys
::core
::PSTR
,
8740 impl ::core
::marker
::Copy
for SecPkgContext_AuthzID {}
8741 impl ::core
::clone
::Clone
for SecPkgContext_AuthzID
{
8742 fn clone(&self) -> Self {
8747 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8748 pub struct SecPkgContext_Bindings
{
8749 pub BindingsLength
: u32,
8750 pub Bindings
: *mut SEC_CHANNEL_BINDINGS
,
8752 impl ::core
::marker
::Copy
for SecPkgContext_Bindings {}
8753 impl ::core
::clone
::Clone
for SecPkgContext_Bindings
{
8754 fn clone(&self) -> Self {
8759 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8760 pub struct SecPkgContext_CertInfo
{
8762 pub cbSubjectName
: u32,
8763 pub pwszSubjectName
: ::windows_sys
::core
::PWSTR
,
8764 pub cbIssuerName
: u32,
8765 pub pwszIssuerName
: ::windows_sys
::core
::PWSTR
,
8768 impl ::core
::marker
::Copy
for SecPkgContext_CertInfo {}
8769 impl ::core
::clone
::Clone
for SecPkgContext_CertInfo
{
8770 fn clone(&self) -> Self {
8775 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8776 pub struct SecPkgContext_CertificateValidationResult
{
8777 pub dwChainErrorStatus
: u32,
8778 pub hrVerifyChainStatus
: ::windows_sys
::core
::HRESULT
,
8780 impl ::core
::marker
::Copy
for SecPkgContext_CertificateValidationResult {}
8781 impl ::core
::clone
::Clone
for SecPkgContext_CertificateValidationResult
{
8782 fn clone(&self) -> Self {
8787 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8788 pub struct SecPkgContext_Certificates
{
8789 pub cCertificates
: u32,
8790 pub cbCertificateChain
: u32,
8791 pub pbCertificateChain
: *mut u8,
8793 impl ::core
::marker
::Copy
for SecPkgContext_Certificates {}
8794 impl ::core
::clone
::Clone
for SecPkgContext_Certificates
{
8795 fn clone(&self) -> Self {
8800 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8801 pub struct SecPkgContext_CipherInfo
{
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],
8812 pub szExchange
: [u16; 64],
8813 pub dwMinExchangeLen
: u32,
8814 pub dwMaxExchangeLen
: u32,
8815 pub szCertificate
: [u16; 64],
8818 impl ::core
::marker
::Copy
for SecPkgContext_CipherInfo {}
8819 impl ::core
::clone
::Clone
for SecPkgContext_CipherInfo
{
8820 fn clone(&self) -> Self {
8825 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8826 pub struct SecPkgContext_ClientCertPolicyResult
{
8827 pub dwPolicyResult
: ::windows_sys
::core
::HRESULT
,
8828 pub guidPolicyId
: ::windows_sys
::core
::GUID
,
8830 impl ::core
::marker
::Copy
for SecPkgContext_ClientCertPolicyResult {}
8831 impl ::core
::clone
::Clone
for SecPkgContext_ClientCertPolicyResult
{
8832 fn clone(&self) -> Self {
8837 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8838 pub struct SecPkgContext_ClientSpecifiedTarget
{
8839 pub sTargetName
: *mut u16,
8841 impl ::core
::marker
::Copy
for SecPkgContext_ClientSpecifiedTarget {}
8842 impl ::core
::clone
::Clone
for SecPkgContext_ClientSpecifiedTarget
{
8843 fn clone(&self) -> Self {
8848 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8849 pub struct SecPkgContext_ConnectionInfo
{
8850 pub dwProtocol
: u32,
8852 pub dwCipherStrength
: u32,
8854 pub dwHashStrength
: u32,
8856 pub dwExchStrength
: u32,
8858 impl ::core
::marker
::Copy
for SecPkgContext_ConnectionInfo {}
8859 impl ::core
::clone
::Clone
for SecPkgContext_ConnectionInfo
{
8860 fn clone(&self) -> Self {
8865 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8866 pub struct SecPkgContext_ConnectionInfoEx
{
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,
8876 impl ::core
::marker
::Copy
for SecPkgContext_ConnectionInfoEx {}
8877 impl ::core
::clone
::Clone
for SecPkgContext_ConnectionInfoEx
{
8878 fn clone(&self) -> Self {
8883 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8884 pub struct SecPkgContext_CredInfo
{
8885 pub CredClass
: SECPKG_CRED_CLASS
,
8886 pub IsPromptingNeeded
: u32,
8888 impl ::core
::marker
::Copy
for SecPkgContext_CredInfo {}
8889 impl ::core
::clone
::Clone
for SecPkgContext_CredInfo
{
8890 fn clone(&self) -> Self {
8895 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8896 pub struct SecPkgContext_CredentialNameA
{
8897 pub CredentialType
: u32,
8898 pub sCredentialName
: *mut i8,
8900 impl ::core
::marker
::Copy
for SecPkgContext_CredentialNameA {}
8901 impl ::core
::clone
::Clone
for SecPkgContext_CredentialNameA
{
8902 fn clone(&self) -> Self {
8907 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8908 pub struct SecPkgContext_CredentialNameW
{
8909 pub CredentialType
: u32,
8910 pub sCredentialName
: *mut u16,
8912 impl ::core
::marker
::Copy
for SecPkgContext_CredentialNameW {}
8913 impl ::core
::clone
::Clone
for SecPkgContext_CredentialNameW
{
8914 fn clone(&self) -> Self {
8919 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8920 pub struct SecPkgContext_DceInfo
{
8922 pub pPac
: *mut ::core
::ffi
::c_void
,
8924 impl ::core
::marker
::Copy
for SecPkgContext_DceInfo {}
8925 impl ::core
::clone
::Clone
for SecPkgContext_DceInfo
{
8926 fn clone(&self) -> Self {
8931 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8932 pub struct SecPkgContext_EapKeyBlock
{
8933 pub rgbKeys
: [u8; 128],
8934 pub rgbIVs
: [u8; 64],
8936 impl ::core
::marker
::Copy
for SecPkgContext_EapKeyBlock {}
8937 impl ::core
::clone
::Clone
for SecPkgContext_EapKeyBlock
{
8938 fn clone(&self) -> Self {
8943 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8944 pub struct SecPkgContext_EapPrfInfo
{
8947 pub pbPrfData
: *mut u8,
8949 impl ::core
::marker
::Copy
for SecPkgContext_EapPrfInfo {}
8950 impl ::core
::clone
::Clone
for SecPkgContext_EapPrfInfo
{
8951 fn clone(&self) -> Self {
8956 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8957 pub struct SecPkgContext_EarlyStart
{
8958 pub dwEarlyStartFlags
: u32,
8960 impl ::core
::marker
::Copy
for SecPkgContext_EarlyStart {}
8961 impl ::core
::clone
::Clone
for SecPkgContext_EarlyStart
{
8962 fn clone(&self) -> Self {
8967 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8968 pub struct SecPkgContext_Flags
{
8971 impl ::core
::marker
::Copy
for SecPkgContext_Flags {}
8972 impl ::core
::clone
::Clone
for SecPkgContext_Flags
{
8973 fn clone(&self) -> Self {
8978 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Cryptography\"`*"]
8979 #[cfg(feature = "Win32_Security_Cryptography")]
8980 pub struct SecPkgContext_IssuerListInfoEx
{
8981 pub aIssuers
: *mut super::super::Cryptography
::CRYPTOAPI_BLOB
,
8984 #[cfg(feature = "Win32_Security_Cryptography")]
8985 impl ::core
::marker
::Copy
for SecPkgContext_IssuerListInfoEx {}
8986 #[cfg(feature = "Win32_Security_Cryptography")]
8987 impl ::core
::clone
::Clone
for SecPkgContext_IssuerListInfoEx
{
8988 fn clone(&self) -> Self {
8993 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
8994 pub struct SecPkgContext_KeyInfoA
{
8995 pub sSignatureAlgorithmName
: *mut i8,
8996 pub sEncryptAlgorithmName
: *mut i8,
8998 pub SignatureAlgorithm
: u32,
8999 pub EncryptAlgorithm
: u32,
9001 impl ::core
::marker
::Copy
for SecPkgContext_KeyInfoA {}
9002 impl ::core
::clone
::Clone
for SecPkgContext_KeyInfoA
{
9003 fn clone(&self) -> Self {
9008 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9009 pub struct SecPkgContext_KeyInfoW
{
9010 pub sSignatureAlgorithmName
: *mut u16,
9011 pub sEncryptAlgorithmName
: *mut u16,
9013 pub SignatureAlgorithm
: u32,
9014 pub EncryptAlgorithm
: u32,
9016 impl ::core
::marker
::Copy
for SecPkgContext_KeyInfoW {}
9017 impl ::core
::clone
::Clone
for SecPkgContext_KeyInfoW
{
9018 fn clone(&self) -> Self {
9023 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9024 pub struct SecPkgContext_KeyingMaterial
{
9025 pub cbKeyingMaterial
: u32,
9026 pub pbKeyingMaterial
: *mut u8,
9028 impl ::core
::marker
::Copy
for SecPkgContext_KeyingMaterial {}
9029 impl ::core
::clone
::Clone
for SecPkgContext_KeyingMaterial
{
9030 fn clone(&self) -> Self {
9035 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9036 pub struct SecPkgContext_KeyingMaterialInfo
{
9038 pub pszLabel
: ::windows_sys
::core
::PSTR
,
9039 pub cbContextValue
: u16,
9040 pub pbContextValue
: *mut u8,
9041 pub cbKeyingMaterial
: u32,
9043 impl ::core
::marker
::Copy
for SecPkgContext_KeyingMaterialInfo {}
9044 impl ::core
::clone
::Clone
for SecPkgContext_KeyingMaterialInfo
{
9045 fn clone(&self) -> Self {
9050 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9051 pub struct SecPkgContext_KeyingMaterial_Inproc
{
9053 pub pszLabel
: ::windows_sys
::core
::PSTR
,
9054 pub cbContextValue
: u16,
9055 pub pbContextValue
: *mut u8,
9056 pub cbKeyingMaterial
: u32,
9057 pub pbKeyingMaterial
: *mut u8,
9059 impl ::core
::marker
::Copy
for SecPkgContext_KeyingMaterial_Inproc {}
9060 impl ::core
::clone
::Clone
for SecPkgContext_KeyingMaterial_Inproc
{
9061 fn clone(&self) -> Self {
9066 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9067 pub struct SecPkgContext_LastClientTokenStatus
{
9068 pub LastClientTokenStatus
: SECPKG_ATTR_LCT_STATUS
,
9070 impl ::core
::marker
::Copy
for SecPkgContext_LastClientTokenStatus {}
9071 impl ::core
::clone
::Clone
for SecPkgContext_LastClientTokenStatus
{
9072 fn clone(&self) -> Self {
9077 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9078 pub struct SecPkgContext_Lifespan
{
9082 impl ::core
::marker
::Copy
for SecPkgContext_Lifespan {}
9083 impl ::core
::clone
::Clone
for SecPkgContext_Lifespan
{
9084 fn clone(&self) -> Self {
9089 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9090 pub struct SecPkgContext_LocalCredentialInfo
{
9091 pub cbCertificateChain
: u32,
9092 pub pbCertificateChain
: *mut u8,
9093 pub cCertificates
: u32,
9097 impl ::core
::marker
::Copy
for SecPkgContext_LocalCredentialInfo {}
9098 impl ::core
::clone
::Clone
for SecPkgContext_LocalCredentialInfo
{
9099 fn clone(&self) -> Self {
9104 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9105 pub struct SecPkgContext_LogoffTime
{
9106 pub tsLogoffTime
: i64,
9108 impl ::core
::marker
::Copy
for SecPkgContext_LogoffTime {}
9109 impl ::core
::clone
::Clone
for SecPkgContext_LogoffTime
{
9110 fn clone(&self) -> Self {
9115 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9116 pub struct SecPkgContext_MappedCredAttr
{
9117 pub dwAttribute
: u32,
9118 pub pvBuffer
: *mut ::core
::ffi
::c_void
,
9120 impl ::core
::marker
::Copy
for SecPkgContext_MappedCredAttr {}
9121 impl ::core
::clone
::Clone
for SecPkgContext_MappedCredAttr
{
9122 fn clone(&self) -> Self {
9127 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9128 pub struct SecPkgContext_NamesA
{
9129 pub sUserName
: *mut i8,
9131 impl ::core
::marker
::Copy
for SecPkgContext_NamesA {}
9132 impl ::core
::clone
::Clone
for SecPkgContext_NamesA
{
9133 fn clone(&self) -> Self {
9138 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9139 pub struct SecPkgContext_NamesW
{
9140 pub sUserName
: *mut u16,
9142 impl ::core
::marker
::Copy
for SecPkgContext_NamesW {}
9143 impl ::core
::clone
::Clone
for SecPkgContext_NamesW
{
9144 fn clone(&self) -> Self {
9149 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9150 pub struct SecPkgContext_NativeNamesA
{
9151 pub sClientName
: *mut i8,
9152 pub sServerName
: *mut i8,
9154 impl ::core
::marker
::Copy
for SecPkgContext_NativeNamesA {}
9155 impl ::core
::clone
::Clone
for SecPkgContext_NativeNamesA
{
9156 fn clone(&self) -> Self {
9161 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9162 pub struct SecPkgContext_NativeNamesW
{
9163 pub sClientName
: *mut u16,
9164 pub sServerName
: *mut u16,
9166 impl ::core
::marker
::Copy
for SecPkgContext_NativeNamesW {}
9167 impl ::core
::clone
::Clone
for SecPkgContext_NativeNamesW
{
9168 fn clone(&self) -> Self {
9173 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9174 pub struct SecPkgContext_NegoKeys
{
9177 pub KeyValue
: *mut u8,
9178 pub VerifyKeyType
: u32,
9179 pub VerifyKeyLength
: u16,
9180 pub VerifyKeyValue
: *mut u8,
9182 impl ::core
::marker
::Copy
for SecPkgContext_NegoKeys {}
9183 impl ::core
::clone
::Clone
for SecPkgContext_NegoKeys
{
9184 fn clone(&self) -> Self {
9189 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9190 pub struct SecPkgContext_NegoPackageInfo
{
9191 pub PackageMask
: u32,
9193 impl ::core
::marker
::Copy
for SecPkgContext_NegoPackageInfo {}
9194 impl ::core
::clone
::Clone
for SecPkgContext_NegoPackageInfo
{
9195 fn clone(&self) -> Self {
9200 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9201 pub struct SecPkgContext_NegoStatus
{
9202 pub LastStatus
: u32,
9204 impl ::core
::marker
::Copy
for SecPkgContext_NegoStatus {}
9205 impl ::core
::clone
::Clone
for SecPkgContext_NegoStatus
{
9206 fn clone(&self) -> Self {
9211 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9212 pub struct SecPkgContext_NegotiatedTlsExtensions
{
9213 pub ExtensionsCount
: u32,
9214 pub Extensions
: *mut u16,
9216 impl ::core
::marker
::Copy
for SecPkgContext_NegotiatedTlsExtensions {}
9217 impl ::core
::clone
::Clone
for SecPkgContext_NegotiatedTlsExtensions
{
9218 fn clone(&self) -> Self {
9223 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9224 pub struct SecPkgContext_NegotiationInfoA
{
9225 pub PackageInfo
: *mut SecPkgInfoA
,
9226 pub NegotiationState
: u32,
9228 impl ::core
::marker
::Copy
for SecPkgContext_NegotiationInfoA {}
9229 impl ::core
::clone
::Clone
for SecPkgContext_NegotiationInfoA
{
9230 fn clone(&self) -> Self {
9235 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9236 pub struct SecPkgContext_NegotiationInfoW
{
9237 pub PackageInfo
: *mut SecPkgInfoW
,
9238 pub NegotiationState
: u32,
9240 impl ::core
::marker
::Copy
for SecPkgContext_NegotiationInfoW {}
9241 impl ::core
::clone
::Clone
for SecPkgContext_NegotiationInfoW
{
9242 fn clone(&self) -> Self {
9247 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9248 pub struct SecPkgContext_PackageInfoA
{
9249 pub PackageInfo
: *mut SecPkgInfoA
,
9251 impl ::core
::marker
::Copy
for SecPkgContext_PackageInfoA {}
9252 impl ::core
::clone
::Clone
for SecPkgContext_PackageInfoA
{
9253 fn clone(&self) -> Self {
9258 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9259 pub struct SecPkgContext_PackageInfoW
{
9260 pub PackageInfo
: *mut SecPkgInfoW
,
9262 impl ::core
::marker
::Copy
for SecPkgContext_PackageInfoW {}
9263 impl ::core
::clone
::Clone
for SecPkgContext_PackageInfoW
{
9264 fn clone(&self) -> Self {
9269 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9270 pub struct SecPkgContext_PasswordExpiry
{
9271 pub tsPasswordExpires
: i64,
9273 impl ::core
::marker
::Copy
for SecPkgContext_PasswordExpiry {}
9274 impl ::core
::clone
::Clone
for SecPkgContext_PasswordExpiry
{
9275 fn clone(&self) -> Self {
9280 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9281 pub struct SecPkgContext_ProtoInfoA
{
9282 pub sProtocolName
: *mut i8,
9283 pub majorVersion
: u32,
9284 pub minorVersion
: u32,
9286 impl ::core
::marker
::Copy
for SecPkgContext_ProtoInfoA {}
9287 impl ::core
::clone
::Clone
for SecPkgContext_ProtoInfoA
{
9288 fn clone(&self) -> Self {
9293 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9294 pub struct SecPkgContext_ProtoInfoW
{
9295 pub sProtocolName
: *mut u16,
9296 pub majorVersion
: u32,
9297 pub minorVersion
: u32,
9299 impl ::core
::marker
::Copy
for SecPkgContext_ProtoInfoW {}
9300 impl ::core
::clone
::Clone
for SecPkgContext_ProtoInfoW
{
9301 fn clone(&self) -> Self {
9306 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9307 pub struct SecPkgContext_RemoteCredentialInfo
{
9308 pub cbCertificateChain
: u32,
9309 pub pbCertificateChain
: *mut u8,
9310 pub cCertificates
: u32,
9314 impl ::core
::marker
::Copy
for SecPkgContext_RemoteCredentialInfo {}
9315 impl ::core
::clone
::Clone
for SecPkgContext_RemoteCredentialInfo
{
9316 fn clone(&self) -> Self {
9321 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9322 pub struct SecPkgContext_SaslContext
{
9323 pub SaslContext
: *mut ::core
::ffi
::c_void
,
9325 impl ::core
::marker
::Copy
for SecPkgContext_SaslContext {}
9326 impl ::core
::clone
::Clone
for SecPkgContext_SaslContext
{
9327 fn clone(&self) -> Self {
9332 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9333 pub struct SecPkgContext_SessionAppData
{
9336 pub pbAppData
: *mut u8,
9338 impl ::core
::marker
::Copy
for SecPkgContext_SessionAppData {}
9339 impl ::core
::clone
::Clone
for SecPkgContext_SessionAppData
{
9340 fn clone(&self) -> Self {
9345 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9346 pub struct SecPkgContext_SessionInfo
{
9348 pub cbSessionId
: u32,
9349 pub rgbSessionId
: [u8; 32],
9351 impl ::core
::marker
::Copy
for SecPkgContext_SessionInfo {}
9352 impl ::core
::clone
::Clone
for SecPkgContext_SessionInfo
{
9353 fn clone(&self) -> Self {
9358 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9359 pub struct SecPkgContext_SessionKey
{
9360 pub SessionKeyLength
: u32,
9361 pub SessionKey
: *mut u8,
9363 impl ::core
::marker
::Copy
for SecPkgContext_SessionKey {}
9364 impl ::core
::clone
::Clone
for SecPkgContext_SessionKey
{
9365 fn clone(&self) -> Self {
9370 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9371 pub struct SecPkgContext_Sizes
{
9372 pub cbMaxToken
: u32,
9373 pub cbMaxSignature
: u32,
9374 pub cbBlockSize
: u32,
9375 pub cbSecurityTrailer
: u32,
9377 impl ::core
::marker
::Copy
for SecPkgContext_Sizes {}
9378 impl ::core
::clone
::Clone
for SecPkgContext_Sizes
{
9379 fn clone(&self) -> Self {
9384 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9385 pub struct SecPkgContext_SrtpParameters
{
9386 pub ProtectionProfile
: u16,
9387 pub MasterKeyIdentifierSize
: u8,
9388 pub MasterKeyIdentifier
: *mut u8,
9390 impl ::core
::marker
::Copy
for SecPkgContext_SrtpParameters {}
9391 impl ::core
::clone
::Clone
for SecPkgContext_SrtpParameters
{
9392 fn clone(&self) -> Self {
9397 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9398 pub struct SecPkgContext_StreamSizes
{
9401 pub cbMaximumMessage
: u32,
9403 pub cbBlockSize
: u32,
9405 impl ::core
::marker
::Copy
for SecPkgContext_StreamSizes {}
9406 impl ::core
::clone
::Clone
for SecPkgContext_StreamSizes
{
9407 fn clone(&self) -> Self {
9412 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9413 pub struct SecPkgContext_SubjectAttributes
{
9414 pub AttributeInfo
: *mut ::core
::ffi
::c_void
,
9416 impl ::core
::marker
::Copy
for SecPkgContext_SubjectAttributes {}
9417 impl ::core
::clone
::Clone
for SecPkgContext_SubjectAttributes
{
9418 fn clone(&self) -> Self {
9423 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9424 pub struct SecPkgContext_SupportedSignatures
{
9425 pub cSignatureAndHashAlgorithms
: u16,
9426 pub pSignatureAndHashAlgorithms
: *mut u16,
9428 impl ::core
::marker
::Copy
for SecPkgContext_SupportedSignatures {}
9429 impl ::core
::clone
::Clone
for SecPkgContext_SupportedSignatures
{
9430 fn clone(&self) -> Self {
9435 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9436 pub struct SecPkgContext_Target
{
9437 pub TargetLength
: u32,
9438 pub Target
: ::windows_sys
::core
::PSTR
,
9440 impl ::core
::marker
::Copy
for SecPkgContext_Target {}
9441 impl ::core
::clone
::Clone
for SecPkgContext_Target
{
9442 fn clone(&self) -> Self {
9447 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9448 pub struct SecPkgContext_TargetInformation
{
9449 pub MarshalledTargetInfoLength
: u32,
9450 pub MarshalledTargetInfo
: *mut u8,
9452 impl ::core
::marker
::Copy
for SecPkgContext_TargetInformation {}
9453 impl ::core
::clone
::Clone
for SecPkgContext_TargetInformation
{
9454 fn clone(&self) -> Self {
9459 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9460 pub struct SecPkgContext_TokenBinding
{
9461 pub MajorVersion
: u8,
9462 pub MinorVersion
: u8,
9463 pub KeyParametersSize
: u16,
9464 pub KeyParameters
: *mut u8,
9466 impl ::core
::marker
::Copy
for SecPkgContext_TokenBinding {}
9467 impl ::core
::clone
::Clone
for SecPkgContext_TokenBinding
{
9468 fn clone(&self) -> Self {
9473 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9474 #[cfg(feature = "Win32_Foundation")]
9475 pub struct SecPkgContext_UiInfo
{
9476 pub hParentWindow
: super::super::super::Foundation
::HWND
,
9478 #[cfg(feature = "Win32_Foundation")]
9479 impl ::core
::marker
::Copy
for SecPkgContext_UiInfo {}
9480 #[cfg(feature = "Win32_Foundation")]
9481 impl ::core
::clone
::Clone
for SecPkgContext_UiInfo
{
9482 fn clone(&self) -> Self {
9487 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9488 pub struct SecPkgContext_UserFlags
{
9491 impl ::core
::marker
::Copy
for SecPkgContext_UserFlags {}
9492 impl ::core
::clone
::Clone
for SecPkgContext_UserFlags
{
9493 fn clone(&self) -> Self {
9498 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9499 pub struct SecPkgCred_CipherStrengths
{
9500 pub dwMinimumCipherStrength
: u32,
9501 pub dwMaximumCipherStrength
: u32,
9503 impl ::core
::marker
::Copy
for SecPkgCred_CipherStrengths {}
9504 impl ::core
::clone
::Clone
for SecPkgCred_CipherStrengths
{
9505 fn clone(&self) -> Self {
9510 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9511 #[cfg(feature = "Win32_Foundation")]
9512 pub struct SecPkgCred_ClientCertPolicy
{
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
,
9520 pub pwszSslCtlStoreName
: ::windows_sys
::core
::PWSTR
,
9521 pub pwszSslCtlIdentifier
: ::windows_sys
::core
::PWSTR
,
9523 #[cfg(feature = "Win32_Foundation")]
9524 impl ::core
::marker
::Copy
for SecPkgCred_ClientCertPolicy {}
9525 #[cfg(feature = "Win32_Foundation")]
9526 impl ::core
::clone
::Clone
for SecPkgCred_ClientCertPolicy
{
9527 fn clone(&self) -> Self {
9532 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9533 pub struct SecPkgCred_SessionTicketKey
{
9534 pub TicketInfoVersion
: u32,
9535 pub KeyId
: [u8; 16],
9536 pub KeyingMaterial
: [u8; 64],
9537 pub KeyingMaterialSize
: u8,
9539 impl ::core
::marker
::Copy
for SecPkgCred_SessionTicketKey {}
9540 impl ::core
::clone
::Clone
for SecPkgCred_SessionTicketKey
{
9541 fn clone(&self) -> Self {
9546 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9547 pub struct SecPkgCred_SessionTicketKeys
{
9548 pub cSessionTicketKeys
: u32,
9549 pub pSessionTicketKeys
: *mut SecPkgCred_SessionTicketKey
,
9551 impl ::core
::marker
::Copy
for SecPkgCred_SessionTicketKeys {}
9552 impl ::core
::clone
::Clone
for SecPkgCred_SessionTicketKeys
{
9553 fn clone(&self) -> Self {
9558 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9559 pub struct SecPkgCred_SupportedAlgs
{
9560 pub cSupportedAlgs
: u32,
9561 pub palgSupportedAlgs
: *mut u32,
9563 impl ::core
::marker
::Copy
for SecPkgCred_SupportedAlgs {}
9564 impl ::core
::clone
::Clone
for SecPkgCred_SupportedAlgs
{
9565 fn clone(&self) -> Self {
9570 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9571 pub struct SecPkgCred_SupportedProtocols
{
9572 pub grbitProtocol
: u32,
9574 impl ::core
::marker
::Copy
for SecPkgCred_SupportedProtocols {}
9575 impl ::core
::clone
::Clone
for SecPkgCred_SupportedProtocols
{
9576 fn clone(&self) -> Self {
9581 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9582 pub struct SecPkgCredentials_Cert
{
9583 pub EncodedCertSize
: u32,
9584 pub EncodedCert
: *mut u8,
9586 impl ::core
::marker
::Copy
for SecPkgCredentials_Cert {}
9587 impl ::core
::clone
::Clone
for SecPkgCredentials_Cert
{
9588 fn clone(&self) -> Self {
9593 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9594 pub struct SecPkgCredentials_KdcProxySettingsW
{
9597 pub ProxyServerOffset
: u16,
9598 pub ProxyServerLength
: u16,
9599 pub ClientTlsCredOffset
: u16,
9600 pub ClientTlsCredLength
: u16,
9602 impl ::core
::marker
::Copy
for SecPkgCredentials_KdcProxySettingsW {}
9603 impl ::core
::clone
::Clone
for SecPkgCredentials_KdcProxySettingsW
{
9604 fn clone(&self) -> Self {
9609 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9610 pub struct SecPkgCredentials_NamesA
{
9611 pub sUserName
: *mut i8,
9613 impl ::core
::marker
::Copy
for SecPkgCredentials_NamesA {}
9614 impl ::core
::clone
::Clone
for SecPkgCredentials_NamesA
{
9615 fn clone(&self) -> Self {
9620 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9621 pub struct SecPkgCredentials_NamesW
{
9622 pub sUserName
: *mut u16,
9624 impl ::core
::marker
::Copy
for SecPkgCredentials_NamesW {}
9625 impl ::core
::clone
::Clone
for SecPkgCredentials_NamesW
{
9626 fn clone(&self) -> Self {
9631 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9632 pub struct SecPkgCredentials_SSIProviderA
{
9633 pub sProviderName
: *mut i8,
9634 pub ProviderInfoLength
: u32,
9635 pub ProviderInfo
: ::windows_sys
::core
::PSTR
,
9637 impl ::core
::marker
::Copy
for SecPkgCredentials_SSIProviderA {}
9638 impl ::core
::clone
::Clone
for SecPkgCredentials_SSIProviderA
{
9639 fn clone(&self) -> Self {
9644 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9645 pub struct SecPkgCredentials_SSIProviderW
{
9646 pub sProviderName
: *mut u16,
9647 pub ProviderInfoLength
: u32,
9648 pub ProviderInfo
: ::windows_sys
::core
::PSTR
,
9650 impl ::core
::marker
::Copy
for SecPkgCredentials_SSIProviderW {}
9651 impl ::core
::clone
::Clone
for SecPkgCredentials_SSIProviderW
{
9652 fn clone(&self) -> Self {
9657 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9658 pub struct SecPkgInfoA
{
9659 pub fCapabilities
: u32,
9662 pub cbMaxToken
: u32,
9664 pub Comment
: *mut i8,
9666 impl ::core
::marker
::Copy
for SecPkgInfoA {}
9667 impl ::core
::clone
::Clone
for SecPkgInfoA
{
9668 fn clone(&self) -> Self {
9673 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9674 pub struct SecPkgInfoW
{
9675 pub fCapabilities
: u32,
9678 pub cbMaxToken
: u32,
9680 pub Comment
: *mut u16,
9682 impl ::core
::marker
::Copy
for SecPkgInfoW {}
9683 impl ::core
::clone
::Clone
for SecPkgInfoW
{
9684 fn clone(&self) -> Self {
9689 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
9690 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
9691 pub struct SecurityFunctionTableA
{
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
,
9725 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
9726 impl ::core
::marker
::Copy
for SecurityFunctionTableA {}
9727 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
9728 impl ::core
::clone
::Clone
for SecurityFunctionTableA
{
9729 fn clone(&self) -> Self {
9734 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
9735 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
9736 pub struct SecurityFunctionTableW
{
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
,
9770 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
9771 impl ::core
::marker
::Copy
for SecurityFunctionTableW {}
9772 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
9773 impl ::core
::clone
::Clone
for SecurityFunctionTableW
{
9774 fn clone(&self) -> Self {
9778 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9779 #[cfg(feature = "Win32_Foundation")]
9780 pub type SpAcceptCredentialsFn
= ::core
::option
::Option
<unsafe extern "system" fn(logontype
: SECURITY_LOGON_TYPE
, accountname
: *const super::super::super::Foundation
::UNICODE_STRING
, primarycredentials
: *const SECPKG_PRIMARY_CRED
, supplementalcredentials
: *const SECPKG_SUPPLEMENTAL_CRED
) -> super::super::super::Foundation
::NTSTATUS
>;
9781 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9782 #[cfg(feature = "Win32_Foundation")]
9783 pub type SpAcceptLsaModeContextFn
= ::core
::option
::Option
<unsafe extern "system" fn(credentialhandle
: usize, contexthandle
: usize, inputbuffer
: *const SecBufferDesc
, contextrequirements
: u32, targetdatarep
: u32, newcontexthandle
: *mut usize, outputbuffer
: *mut SecBufferDesc
, contextattributes
: *mut u32, expirationtime
: *mut i64, mappedcontext
: *mut super::super::super::Foundation
::BOOLEAN
, contextdata
: *mut SecBuffer
) -> super::super::super::Foundation
::NTSTATUS
>;
9784 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9785 #[cfg(feature = "Win32_Foundation")]
9786 pub type SpAcquireCredentialsHandleFn
= ::core
::option
::Option
<unsafe extern "system" fn(principalname
: *const super::super::super::Foundation
::UNICODE_STRING
, credentialuseflags
: u32, logonid
: *const super::super::super::Foundation
::LUID
, authorizationdata
: *const ::core
::ffi
::c_void
, getkeyfunciton
: *const ::core
::ffi
::c_void
, getkeyargument
: *const ::core
::ffi
::c_void
, credentialhandle
: *mut usize, expirationtime
: *mut i64) -> super::super::super::Foundation
::NTSTATUS
>;
9787 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9788 #[cfg(feature = "Win32_Foundation")]
9789 pub type SpAddCredentialsFn
= ::core
::option
::Option
<unsafe extern "system" fn(credentialhandle
: usize, principalname
: *const super::super::super::Foundation
::UNICODE_STRING
, package
: *const super::super::super::Foundation
::UNICODE_STRING
, credentialuseflags
: u32, authorizationdata
: *const ::core
::ffi
::c_void
, getkeyfunciton
: *const ::core
::ffi
::c_void
, getkeyargument
: *const ::core
::ffi
::c_void
, expirationtime
: *mut i64) -> super::super::super::Foundation
::NTSTATUS
>;
9790 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9791 #[cfg(feature = "Win32_Foundation")]
9792 pub type SpApplyControlTokenFn
= ::core
::option
::Option
<unsafe extern "system" fn(contexthandle
: usize, controltoken
: *const SecBufferDesc
) -> super::super::super::Foundation
::NTSTATUS
>;
9793 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9794 #[cfg(feature = "Win32_Foundation")]
9795 pub type SpChangeAccountPasswordFn
= ::core
::option
::Option
<unsafe extern "system" fn(pdomainname
: *const super::super::super::Foundation
::UNICODE_STRING
, paccountname
: *const super::super::super::Foundation
::UNICODE_STRING
, poldpassword
: *const super::super::super::Foundation
::UNICODE_STRING
, pnewpassword
: *const super::super::super::Foundation
::UNICODE_STRING
, impersonating
: super::super::super::Foundation
::BOOLEAN
, poutput
: *mut SecBufferDesc
) -> super::super::super::Foundation
::NTSTATUS
>;
9796 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9797 #[cfg(feature = "Win32_Foundation")]
9798 pub type SpCompleteAuthTokenFn
= ::core
::option
::Option
<unsafe extern "system" fn(contexthandle
: usize, inputbuffer
: *const SecBufferDesc
) -> super::super::super::Foundation
::NTSTATUS
>;
9799 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9800 #[cfg(feature = "Win32_Foundation")]
9801 pub type SpDeleteContextFn
= ::core
::option
::Option
<unsafe extern "system" fn(contexthandle
: usize) -> super::super::super::Foundation
::NTSTATUS
>;
9802 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9803 #[cfg(feature = "Win32_Foundation")]
9804 pub type SpDeleteCredentialsFn
= ::core
::option
::Option
<unsafe extern "system" fn(credentialhandle
: usize, key
: *const SecBuffer
) -> super::super::super::Foundation
::NTSTATUS
>;
9805 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9806 #[cfg(feature = "Win32_Foundation")]
9807 pub type SpExchangeMetaDataFn
= ::core
::option
::Option
<unsafe extern "system" fn(credentialhandle
: usize, targetname
: *const super::super::super::Foundation
::UNICODE_STRING
, contextrequirements
: u32, metadatalength
: u32, metadata
: *const u8, contexthandle
: *mut usize) -> super::super::super::Foundation
::NTSTATUS
>;
9808 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9809 #[cfg(feature = "Win32_Foundation")]
9810 pub type SpExportSecurityContextFn
= ::core
::option
::Option
<unsafe extern "system" fn(phcontext
: usize, fflags
: u32, ppackedcontext
: *mut SecBuffer
, ptoken
: *mut super::super::super::Foundation
::HANDLE
) -> super::super::super::Foundation
::NTSTATUS
>;
9811 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9812 #[cfg(feature = "Win32_Foundation")]
9813 pub type SpFormatCredentialsFn
= ::core
::option
::Option
<unsafe extern "system" fn(credentials
: *const SecBuffer
, formattedcredentials
: *mut SecBuffer
) -> super::super::super::Foundation
::NTSTATUS
>;
9814 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9815 #[cfg(feature = "Win32_Foundation")]
9816 pub type SpFreeCredentialsHandleFn
= ::core
::option
::Option
<unsafe extern "system" fn(credentialhandle
: usize) -> super::super::super::Foundation
::NTSTATUS
>;
9817 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9818 #[cfg(feature = "Win32_Foundation")]
9819 pub type SpGetContextTokenFn
= ::core
::option
::Option
<unsafe extern "system" fn(contexthandle
: usize, impersonationtoken
: *mut super::super::super::Foundation
::HANDLE
) -> super::super::super::Foundation
::NTSTATUS
>;
9820 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9821 #[cfg(feature = "Win32_Foundation")]
9822 pub type SpGetCredUIContextFn
= ::core
::option
::Option
<unsafe extern "system" fn(contexthandle
: usize, credtype
: *const ::windows_sys
::core
::GUID
, flatcreduicontextlength
: *mut u32, flatcreduicontext
: *mut *mut u8) -> super::super::super::Foundation
::NTSTATUS
>;
9823 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9824 #[cfg(feature = "Win32_Foundation")]
9825 pub type SpGetCredentialsFn
= ::core
::option
::Option
<unsafe extern "system" fn(credentialhandle
: usize, credentials
: *mut SecBuffer
) -> super::super::super::Foundation
::NTSTATUS
>;
9826 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9827 #[cfg(feature = "Win32_Foundation")]
9828 pub type SpGetExtendedInformationFn
= ::core
::option
::Option
<unsafe extern "system" fn(class
: SECPKG_EXTENDED_INFORMATION_CLASS
, ppinformation
: *mut *mut SECPKG_EXTENDED_INFORMATION
) -> super::super::super::Foundation
::NTSTATUS
>;
9829 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9830 #[cfg(feature = "Win32_Foundation")]
9831 pub type SpGetInfoFn
= ::core
::option
::Option
<unsafe extern "system" fn(packageinfo
: *mut SecPkgInfoA
) -> super::super::super::Foundation
::NTSTATUS
>;
9832 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9833 #[cfg(feature = "Win32_Foundation")]
9834 pub type SpGetRemoteCredGuardLogonBufferFn
= ::core
::option
::Option
<unsafe extern "system" fn(credhandle
: usize, contexthandle
: usize, targetname
: *const super::super::super::Foundation
::UNICODE_STRING
, redirectedlogonhandle
: *mut super::super::super::Foundation
::HANDLE
, callback
: *mut PLSA_REDIRECTED_LOGON_CALLBACK
, cleanupcallback
: *mut PLSA_REDIRECTED_LOGON_CLEANUP_CALLBACK
, logonbuffersize
: *mut u32, logonbuffer
: *mut *mut ::core
::ffi
::c_void
) -> super::super::super::Foundation
::NTSTATUS
>;
9835 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9836 #[cfg(feature = "Win32_Foundation")]
9837 pub type SpGetRemoteCredGuardSupplementalCredsFn
= ::core
::option
::Option
<unsafe extern "system" fn(credhandle
: usize, targetname
: *const super::super::super::Foundation
::UNICODE_STRING
, redirectedlogonhandle
: *mut super::super::super::Foundation
::HANDLE
, callback
: *mut PLSA_REDIRECTED_LOGON_CALLBACK
, cleanupcallback
: *mut PLSA_REDIRECTED_LOGON_CLEANUP_CALLBACK
, supplementalcredssize
: *mut u32, supplementalcreds
: *mut *mut ::core
::ffi
::c_void
) -> super::super::super::Foundation
::NTSTATUS
>;
9838 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9839 #[cfg(feature = "Win32_Foundation")]
9840 pub type SpGetTbalSupplementalCredsFn
= ::core
::option
::Option
<unsafe extern "system" fn(logonid
: super::super::super::Foundation
::LUID
, supplementalcredssize
: *mut u32, supplementalcreds
: *mut *mut ::core
::ffi
::c_void
) -> super::super::super::Foundation
::NTSTATUS
>;
9841 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9842 #[cfg(feature = "Win32_Foundation")]
9843 pub type SpGetUserInfoFn
= ::core
::option
::Option
<unsafe extern "system" fn(logonid
: *const super::super::super::Foundation
::LUID
, flags
: u32, userdata
: *mut *mut SECURITY_USER_DATA
) -> super::super::super::Foundation
::NTSTATUS
>;
9844 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9845 #[cfg(feature = "Win32_Foundation")]
9846 pub type SpImportSecurityContextFn
= ::core
::option
::Option
<unsafe extern "system" fn(ppackedcontext
: *const SecBuffer
, token
: super::super::super::Foundation
::HANDLE
, phcontext
: *mut usize) -> super::super::super::Foundation
::NTSTATUS
>;
9847 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9848 #[cfg(feature = "Win32_Foundation")]
9849 pub type SpInitLsaModeContextFn
= ::core
::option
::Option
<unsafe extern "system" fn(credentialhandle
: usize, contexthandle
: usize, targetname
: *const super::super::super::Foundation
::UNICODE_STRING
, contextrequirements
: u32, targetdatarep
: u32, inputbuffers
: *const SecBufferDesc
, newcontexthandle
: *mut usize, outputbuffers
: *mut SecBufferDesc
, contextattributes
: *mut u32, expirationtime
: *mut i64, mappedcontext
: *mut super::super::super::Foundation
::BOOLEAN
, contextdata
: *mut SecBuffer
) -> super::super::super::Foundation
::NTSTATUS
>;
9850 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9851 #[cfg(feature = "Win32_Foundation")]
9852 pub type SpInitUserModeContextFn
= ::core
::option
::Option
<unsafe extern "system" fn(contexthandle
: usize, packedcontext
: *const SecBuffer
) -> super::super::super::Foundation
::NTSTATUS
>;
9853 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Threading\"`*"]
9854 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
9855 pub type SpInitializeFn
= ::core
::option
::Option
<unsafe extern "system" fn(packageid
: usize, parameters
: *const SECPKG_PARAMETERS
, functiontable
: *const LSA_SECPKG_FUNCTION_TABLE
) -> super::super::super::Foundation
::NTSTATUS
>;
9856 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9857 #[cfg(feature = "Win32_Foundation")]
9858 pub type SpInstanceInitFn
= ::core
::option
::Option
<unsafe extern "system" fn(version
: u32, functiontable
: *const SECPKG_DLL_FUNCTIONS
, userfunctions
: *mut *mut ::core
::ffi
::c_void
) -> super::super::super::Foundation
::NTSTATUS
>;
9859 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Threading\"`*"]
9860 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
9861 pub type SpLsaModeInitializeFn
= ::core
::option
::Option
<unsafe extern "system" fn(lsaversion
: u32, packageversion
: *mut u32, pptables
: *mut *mut SECPKG_FUNCTION_TABLE
, pctables
: *mut u32) -> super::super::super::Foundation
::NTSTATUS
>;
9862 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9863 #[cfg(feature = "Win32_Foundation")]
9864 pub type SpMakeSignatureFn
= ::core
::option
::Option
<unsafe extern "system" fn(contexthandle
: usize, qualityofprotection
: u32, messagebuffers
: *const SecBufferDesc
, messagesequencenumber
: u32) -> super::super::super::Foundation
::NTSTATUS
>;
9865 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9866 #[cfg(feature = "Win32_Foundation")]
9867 pub type SpMarshalAttributeDataFn
= ::core
::option
::Option
<unsafe extern "system" fn(attributeinfo
: u32, attribute
: u32, attributedatasize
: u32, attributedata
: *const u8, marshaledattributedatasize
: *mut u32, marshaledattributedata
: *mut *mut u8) -> super::super::super::Foundation
::NTSTATUS
>;
9868 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9869 #[cfg(feature = "Win32_Foundation")]
9870 pub type SpMarshallSupplementalCredsFn
= ::core
::option
::Option
<unsafe extern "system" fn(credentialsize
: u32, credentials
: *const u8, marshalledcredsize
: *mut u32, marshalledcreds
: *mut *mut ::core
::ffi
::c_void
) -> super::super::super::Foundation
::NTSTATUS
>;
9871 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9872 #[cfg(feature = "Win32_Foundation")]
9873 pub type SpQueryContextAttributesFn
= ::core
::option
::Option
<unsafe extern "system" fn(contexthandle
: usize, contextattribute
: u32, buffer
: *mut ::core
::ffi
::c_void
) -> super::super::super::Foundation
::NTSTATUS
>;
9874 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9875 #[cfg(feature = "Win32_Foundation")]
9876 pub type SpQueryCredentialsAttributesFn
= ::core
::option
::Option
<unsafe extern "system" fn(credentialhandle
: usize, credentialattribute
: u32, buffer
: *mut ::core
::ffi
::c_void
) -> super::super::super::Foundation
::NTSTATUS
>;
9877 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9878 #[cfg(feature = "Win32_Foundation")]
9879 pub type SpQueryMetaDataFn
= ::core
::option
::Option
<unsafe extern "system" fn(credentialhandle
: usize, targetname
: *const super::super::super::Foundation
::UNICODE_STRING
, contextrequirements
: u32, metadatalength
: *mut u32, metadata
: *mut *mut u8, contexthandle
: *mut usize) -> super::super::super::Foundation
::NTSTATUS
>;
9880 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9881 #[cfg(feature = "Win32_Foundation")]
9882 pub type SpSaveCredentialsFn
= ::core
::option
::Option
<unsafe extern "system" fn(credentialhandle
: usize, credentials
: *const SecBuffer
) -> super::super::super::Foundation
::NTSTATUS
>;
9883 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9884 #[cfg(feature = "Win32_Foundation")]
9885 pub type SpSealMessageFn
= ::core
::option
::Option
<unsafe extern "system" fn(contexthandle
: usize, qualityofprotection
: u32, messagebuffers
: *const SecBufferDesc
, messagesequencenumber
: u32) -> super::super::super::Foundation
::NTSTATUS
>;
9886 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9887 #[cfg(feature = "Win32_Foundation")]
9888 pub type SpSetContextAttributesFn
= ::core
::option
::Option
<unsafe extern "system" fn(contexthandle
: usize, contextattribute
: u32, buffer
: *const ::core
::ffi
::c_void
, buffersize
: u32) -> super::super::super::Foundation
::NTSTATUS
>;
9889 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9890 #[cfg(feature = "Win32_Foundation")]
9891 pub type SpSetCredentialsAttributesFn
= ::core
::option
::Option
<unsafe extern "system" fn(credentialhandle
: usize, credentialattribute
: u32, buffer
: *const ::core
::ffi
::c_void
, buffersize
: u32) -> super::super::super::Foundation
::NTSTATUS
>;
9892 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9893 #[cfg(feature = "Win32_Foundation")]
9894 pub type SpSetExtendedInformationFn
= ::core
::option
::Option
<unsafe extern "system" fn(class
: SECPKG_EXTENDED_INFORMATION_CLASS
, info
: *const SECPKG_EXTENDED_INFORMATION
) -> super::super::super::Foundation
::NTSTATUS
>;
9895 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9896 #[cfg(feature = "Win32_Foundation")]
9897 pub type SpShutdownFn
= ::core
::option
::Option
<unsafe extern "system" fn() -> super::super::super::Foundation
::NTSTATUS
>;
9898 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9899 #[cfg(feature = "Win32_Foundation")]
9900 pub type SpUnsealMessageFn
= ::core
::option
::Option
<unsafe extern "system" fn(contexthandle
: usize, messagebuffers
: *const SecBufferDesc
, messagesequencenumber
: u32, qualityofprotection
: *mut u32) -> super::super::super::Foundation
::NTSTATUS
>;
9901 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9902 #[cfg(feature = "Win32_Foundation")]
9903 pub type SpUpdateCredentialsFn
= ::core
::option
::Option
<unsafe extern "system" fn(contexthandle
: usize, credtype
: *const ::windows_sys
::core
::GUID
, flatcreduicontextlength
: u32, flatcreduicontext
: *const u8) -> super::super::super::Foundation
::NTSTATUS
>;
9904 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9905 #[cfg(feature = "Win32_Foundation")]
9906 pub type SpUserModeInitializeFn
= ::core
::option
::Option
<unsafe extern "system" fn(lsaversion
: u32, packageversion
: *mut u32, pptables
: *mut *mut SECPKG_USER_FUNCTION_TABLE
, pctables
: *mut u32) -> super::super::super::Foundation
::NTSTATUS
>;
9907 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9908 #[cfg(feature = "Win32_Foundation")]
9909 pub type SpValidateTargetInfoFn
= ::core
::option
::Option
<unsafe extern "system" fn(clientrequest
: *const *const ::core
::ffi
::c_void
, protocolsubmitbuffer
: *const ::core
::ffi
::c_void
, clientbufferbase
: *const ::core
::ffi
::c_void
, submitbufferlength
: u32, targetinfo
: *const SECPKG_TARGETINFO
) -> super::super::super::Foundation
::NTSTATUS
>;
9910 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
9911 #[cfg(feature = "Win32_Foundation")]
9912 pub type SpVerifySignatureFn
= ::core
::option
::Option
<unsafe extern "system" fn(contexthandle
: usize, messagebuffers
: *const SecBufferDesc
, messagesequencenumber
: u32, qualityofprotection
: *mut u32) -> super::super::super::Foundation
::NTSTATUS
>;
9913 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9914 pub type SslGetExtensionsFn
= ::core
::option
::Option
<unsafe extern "system" fn(clienthello
: *const u8, clienthellobytesize
: u32, genericextensions
: *mut SCH_EXTENSION_DATA
, genericextensionscount
: u8, bytestoread
: *mut u32, flags
: SchGetExtensionsOptions
) -> ::windows_sys
::core
::HRESULT
>;
9915 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9916 pub type SslGetServerIdentityFn
= ::core
::option
::Option
<unsafe extern "system" fn(clienthello
: *const u8, clienthellosize
: u32, serveridentity
: *mut *mut u8, serveridentitysize
: *mut u32, flags
: u32) -> ::windows_sys
::core
::HRESULT
>;
9917 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9918 pub const TLS1SP_NAME
: &str = "Microsoft TLS 1.0";
9919 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9920 pub const TLS1SP_NAME_A
: &str = "Microsoft TLS 1.0";
9921 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9922 pub const TLS1SP_NAME_W
: &str = "Microsoft TLS 1.0";
9923 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9924 pub const TLS1_ALERT_ACCESS_DENIED
: u32 = 49u32;
9925 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9926 pub const TLS1_ALERT_BAD_CERTIFICATE
: u32 = 42u32;
9927 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9928 pub const TLS1_ALERT_BAD_RECORD_MAC
: u32 = 20u32;
9929 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9930 pub const TLS1_ALERT_CERTIFICATE_EXPIRED
: u32 = 45u32;
9931 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9932 pub const TLS1_ALERT_CERTIFICATE_REVOKED
: u32 = 44u32;
9933 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9934 pub const TLS1_ALERT_CERTIFICATE_UNKNOWN
: u32 = 46u32;
9935 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9936 pub const TLS1_ALERT_CLOSE_NOTIFY
: u32 = 0u32;
9937 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9938 pub const TLS1_ALERT_DECODE_ERROR
: u32 = 50u32;
9939 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9940 pub const TLS1_ALERT_DECOMPRESSION_FAIL
: u32 = 30u32;
9941 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9942 pub const TLS1_ALERT_DECRYPTION_FAILED
: u32 = 21u32;
9943 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9944 pub const TLS1_ALERT_DECRYPT_ERROR
: u32 = 51u32;
9945 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9946 pub const TLS1_ALERT_EXPORT_RESTRICTION
: u32 = 60u32;
9947 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9948 pub const TLS1_ALERT_HANDSHAKE_FAILURE
: u32 = 40u32;
9949 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9950 pub const TLS1_ALERT_ILLEGAL_PARAMETER
: u32 = 47u32;
9951 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9952 pub const TLS1_ALERT_INSUFFIENT_SECURITY
: u32 = 71u32;
9953 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9954 pub const TLS1_ALERT_INTERNAL_ERROR
: u32 = 80u32;
9955 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9956 pub const TLS1_ALERT_NO_APP_PROTOCOL
: u32 = 120u32;
9957 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9958 pub const TLS1_ALERT_NO_RENEGOTIATION
: u32 = 100u32;
9959 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9960 pub const TLS1_ALERT_PROTOCOL_VERSION
: u32 = 70u32;
9961 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9962 pub const TLS1_ALERT_RECORD_OVERFLOW
: u32 = 22u32;
9963 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9964 pub const TLS1_ALERT_UNEXPECTED_MESSAGE
: u32 = 10u32;
9965 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9966 pub const TLS1_ALERT_UNKNOWN_CA
: u32 = 48u32;
9967 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9968 pub const TLS1_ALERT_UNKNOWN_PSK_IDENTITY
: u32 = 115u32;
9969 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9970 pub const TLS1_ALERT_UNSUPPORTED_CERT
: u32 = 43u32;
9971 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9972 pub const TLS1_ALERT_UNSUPPORTED_EXT
: u32 = 110u32;
9973 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9974 pub const TLS1_ALERT_USER_CANCELED
: u32 = 90u32;
9976 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9977 pub struct TLS_EXTENSION_SUBSCRIPTION
{
9978 pub ExtensionType
: u16,
9979 pub HandshakeType
: u16,
9981 impl ::core
::marker
::Copy
for TLS_EXTENSION_SUBSCRIPTION {}
9982 impl ::core
::clone
::Clone
for TLS_EXTENSION_SUBSCRIPTION
{
9983 fn clone(&self) -> Self {
9987 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9988 pub const TLS_PARAMS_OPTIONAL
: u32 = 1u32;
9989 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9990 pub type TOKENBINDING_EXTENSION_FORMAT
= i32;
9991 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9992 pub const TOKENBINDING_EXTENSION_FORMAT_UNDEFINED
: TOKENBINDING_EXTENSION_FORMAT
= 0i32;
9994 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
9995 pub struct TOKENBINDING_IDENTIFIER
{
9998 impl ::core
::marker
::Copy
for TOKENBINDING_IDENTIFIER {}
9999 impl ::core
::clone
::Clone
for TOKENBINDING_IDENTIFIER
{
10000 fn clone(&self) -> Self {
10004 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10005 pub type TOKENBINDING_KEY_PARAMETERS_TYPE
= i32;
10006 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10007 pub const TOKENBINDING_KEY_PARAMETERS_TYPE_RSA2048_PKCS
: TOKENBINDING_KEY_PARAMETERS_TYPE
= 0i32;
10008 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10009 pub const TOKENBINDING_KEY_PARAMETERS_TYPE_RSA2048_PSS
: TOKENBINDING_KEY_PARAMETERS_TYPE
= 1i32;
10010 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10011 pub const TOKENBINDING_KEY_PARAMETERS_TYPE_ECDSAP256
: TOKENBINDING_KEY_PARAMETERS_TYPE
= 2i32;
10012 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10013 pub const TOKENBINDING_KEY_PARAMETERS_TYPE_ANYEXISTING
: TOKENBINDING_KEY_PARAMETERS_TYPE
= 255i32;
10015 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10016 pub struct TOKENBINDING_KEY_TYPES
{
10018 pub keyType
: *mut TOKENBINDING_KEY_PARAMETERS_TYPE
,
10020 impl ::core
::marker
::Copy
for TOKENBINDING_KEY_TYPES {}
10021 impl ::core
::clone
::Clone
for TOKENBINDING_KEY_TYPES
{
10022 fn clone(&self) -> Self {
10027 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10028 pub struct TOKENBINDING_RESULT_DATA
{
10029 pub bindingType
: TOKENBINDING_TYPE
,
10030 pub identifierSize
: u32,
10031 pub identifierData
: *mut TOKENBINDING_IDENTIFIER
,
10032 pub extensionFormat
: TOKENBINDING_EXTENSION_FORMAT
,
10033 pub extensionSize
: u32,
10034 pub extensionData
: *mut ::core
::ffi
::c_void
,
10036 impl ::core
::marker
::Copy
for TOKENBINDING_RESULT_DATA {}
10037 impl ::core
::clone
::Clone
for TOKENBINDING_RESULT_DATA
{
10038 fn clone(&self) -> Self {
10043 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10044 pub struct TOKENBINDING_RESULT_LIST
{
10045 pub resultCount
: u32,
10046 pub resultData
: *mut TOKENBINDING_RESULT_DATA
,
10048 impl ::core
::marker
::Copy
for TOKENBINDING_RESULT_LIST {}
10049 impl ::core
::clone
::Clone
for TOKENBINDING_RESULT_LIST
{
10050 fn clone(&self) -> Self {
10054 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10055 pub type TOKENBINDING_TYPE
= i32;
10056 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10057 pub const TOKENBINDING_TYPE_PROVIDED
: TOKENBINDING_TYPE
= 0i32;
10058 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10059 pub const TOKENBINDING_TYPE_REFERRED
: TOKENBINDING_TYPE
= 1i32;
10061 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
10062 #[cfg(feature = "Win32_Foundation")]
10063 pub struct TRUSTED_CONTROLLERS_INFO
{
10065 pub Names
: *mut super::super::super::Foundation
::UNICODE_STRING
,
10067 #[cfg(feature = "Win32_Foundation")]
10068 impl ::core
::marker
::Copy
for TRUSTED_CONTROLLERS_INFO {}
10069 #[cfg(feature = "Win32_Foundation")]
10070 impl ::core
::clone
::Clone
for TRUSTED_CONTROLLERS_INFO
{
10071 fn clone(&self) -> Self {
10076 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10077 pub struct TRUSTED_DOMAIN_AUTH_INFORMATION
{
10078 pub IncomingAuthInfos
: u32,
10079 pub IncomingAuthenticationInformation
: *mut LSA_AUTH_INFORMATION
,
10080 pub IncomingPreviousAuthenticationInformation
: *mut LSA_AUTH_INFORMATION
,
10081 pub OutgoingAuthInfos
: u32,
10082 pub OutgoingAuthenticationInformation
: *mut LSA_AUTH_INFORMATION
,
10083 pub OutgoingPreviousAuthenticationInformation
: *mut LSA_AUTH_INFORMATION
,
10085 impl ::core
::marker
::Copy
for TRUSTED_DOMAIN_AUTH_INFORMATION {}
10086 impl ::core
::clone
::Clone
for TRUSTED_DOMAIN_AUTH_INFORMATION
{
10087 fn clone(&self) -> Self {
10092 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
10093 #[cfg(feature = "Win32_Foundation")]
10094 pub struct TRUSTED_DOMAIN_FULL_INFORMATION
{
10095 pub Information
: TRUSTED_DOMAIN_INFORMATION_EX
,
10096 pub PosixOffset
: TRUSTED_POSIX_OFFSET_INFO
,
10097 pub AuthInformation
: TRUSTED_DOMAIN_AUTH_INFORMATION
,
10099 #[cfg(feature = "Win32_Foundation")]
10100 impl ::core
::marker
::Copy
for TRUSTED_DOMAIN_FULL_INFORMATION {}
10101 #[cfg(feature = "Win32_Foundation")]
10102 impl ::core
::clone
::Clone
for TRUSTED_DOMAIN_FULL_INFORMATION
{
10103 fn clone(&self) -> Self {
10108 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
10109 #[cfg(feature = "Win32_Foundation")]
10110 pub struct TRUSTED_DOMAIN_FULL_INFORMATION2
{
10111 pub Information
: TRUSTED_DOMAIN_INFORMATION_EX2
,
10112 pub PosixOffset
: TRUSTED_POSIX_OFFSET_INFO
,
10113 pub AuthInformation
: TRUSTED_DOMAIN_AUTH_INFORMATION
,
10115 #[cfg(feature = "Win32_Foundation")]
10116 impl ::core
::marker
::Copy
for TRUSTED_DOMAIN_FULL_INFORMATION2 {}
10117 #[cfg(feature = "Win32_Foundation")]
10118 impl ::core
::clone
::Clone
for TRUSTED_DOMAIN_FULL_INFORMATION2
{
10119 fn clone(&self) -> Self {
10124 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
10125 #[cfg(feature = "Win32_Foundation")]
10126 pub struct TRUSTED_DOMAIN_INFORMATION_EX
{
10127 pub Name
: super::super::super::Foundation
::UNICODE_STRING
,
10128 pub FlatName
: super::super::super::Foundation
::UNICODE_STRING
,
10129 pub Sid
: super::super::super::Foundation
::PSID
,
10130 pub TrustDirection
: TRUSTED_DOMAIN_TRUST_DIRECTION
,
10131 pub TrustType
: TRUSTED_DOMAIN_TRUST_TYPE
,
10132 pub TrustAttributes
: TRUSTED_DOMAIN_TRUST_ATTRIBUTES
,
10134 #[cfg(feature = "Win32_Foundation")]
10135 impl ::core
::marker
::Copy
for TRUSTED_DOMAIN_INFORMATION_EX {}
10136 #[cfg(feature = "Win32_Foundation")]
10137 impl ::core
::clone
::Clone
for TRUSTED_DOMAIN_INFORMATION_EX
{
10138 fn clone(&self) -> Self {
10143 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
10144 #[cfg(feature = "Win32_Foundation")]
10145 pub struct TRUSTED_DOMAIN_INFORMATION_EX2
{
10146 pub Name
: super::super::super::Foundation
::UNICODE_STRING
,
10147 pub FlatName
: super::super::super::Foundation
::UNICODE_STRING
,
10148 pub Sid
: super::super::super::Foundation
::PSID
,
10149 pub TrustDirection
: u32,
10150 pub TrustType
: u32,
10151 pub TrustAttributes
: u32,
10152 pub ForestTrustLength
: u32,
10153 pub ForestTrustInfo
: *mut u8,
10155 #[cfg(feature = "Win32_Foundation")]
10156 impl ::core
::marker
::Copy
for TRUSTED_DOMAIN_INFORMATION_EX2 {}
10157 #[cfg(feature = "Win32_Foundation")]
10158 impl ::core
::clone
::Clone
for TRUSTED_DOMAIN_INFORMATION_EX2
{
10159 fn clone(&self) -> Self {
10164 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
10165 #[cfg(feature = "Win32_Foundation")]
10166 pub struct TRUSTED_DOMAIN_NAME_INFO
{
10167 pub Name
: super::super::super::Foundation
::UNICODE_STRING
,
10169 #[cfg(feature = "Win32_Foundation")]
10170 impl ::core
::marker
::Copy
for TRUSTED_DOMAIN_NAME_INFO {}
10171 #[cfg(feature = "Win32_Foundation")]
10172 impl ::core
::clone
::Clone
for TRUSTED_DOMAIN_NAME_INFO
{
10173 fn clone(&self) -> Self {
10178 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10179 pub struct TRUSTED_DOMAIN_SUPPORTED_ENCRYPTION_TYPES
{
10180 pub SupportedEncryptionTypes
: u32,
10182 impl ::core
::marker
::Copy
for TRUSTED_DOMAIN_SUPPORTED_ENCRYPTION_TYPES {}
10183 impl ::core
::clone
::Clone
for TRUSTED_DOMAIN_SUPPORTED_ENCRYPTION_TYPES
{
10184 fn clone(&self) -> Self {
10188 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10189 pub type TRUSTED_DOMAIN_TRUST_ATTRIBUTES
= u32;
10190 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10191 pub const TRUST_ATTRIBUTE_NON_TRANSITIVE
: TRUSTED_DOMAIN_TRUST_ATTRIBUTES
= 1u32;
10192 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10193 pub const TRUST_ATTRIBUTE_UPLEVEL_ONLY
: TRUSTED_DOMAIN_TRUST_ATTRIBUTES
= 2u32;
10194 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10195 pub const TRUST_ATTRIBUTE_FILTER_SIDS
: TRUSTED_DOMAIN_TRUST_ATTRIBUTES
= 4u32;
10196 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10197 pub const TRUST_ATTRIBUTE_FOREST_TRANSITIVE
: TRUSTED_DOMAIN_TRUST_ATTRIBUTES
= 8u32;
10198 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10199 pub const TRUST_ATTRIBUTE_CROSS_ORGANIZATION
: TRUSTED_DOMAIN_TRUST_ATTRIBUTES
= 16u32;
10200 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10201 pub const TRUST_ATTRIBUTE_TREAT_AS_EXTERNAL
: TRUSTED_DOMAIN_TRUST_ATTRIBUTES
= 64u32;
10202 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10203 pub const TRUST_ATTRIBUTE_WITHIN_FOREST
: TRUSTED_DOMAIN_TRUST_ATTRIBUTES
= 32u32;
10204 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10205 pub type TRUSTED_DOMAIN_TRUST_DIRECTION
= u32;
10206 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10207 pub const TRUST_DIRECTION_DISABLED
: TRUSTED_DOMAIN_TRUST_DIRECTION
= 0u32;
10208 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10209 pub const TRUST_DIRECTION_INBOUND
: TRUSTED_DOMAIN_TRUST_DIRECTION
= 1u32;
10210 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10211 pub const TRUST_DIRECTION_OUTBOUND
: TRUSTED_DOMAIN_TRUST_DIRECTION
= 2u32;
10212 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10213 pub const TRUST_DIRECTION_BIDIRECTIONAL
: TRUSTED_DOMAIN_TRUST_DIRECTION
= 3u32;
10214 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10215 pub type TRUSTED_DOMAIN_TRUST_TYPE
= u32;
10216 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10217 pub const TRUST_TYPE_DOWNLEVEL
: TRUSTED_DOMAIN_TRUST_TYPE
= 1u32;
10218 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10219 pub const TRUST_TYPE_UPLEVEL
: TRUSTED_DOMAIN_TRUST_TYPE
= 2u32;
10220 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10221 pub const TRUST_TYPE_MIT
: TRUSTED_DOMAIN_TRUST_TYPE
= 3u32;
10222 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10223 pub const TRUST_TYPE_DCE
: TRUSTED_DOMAIN_TRUST_TYPE
= 4u32;
10224 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10225 pub type TRUSTED_INFORMATION_CLASS
= i32;
10226 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10227 pub const TrustedDomainNameInformation
: TRUSTED_INFORMATION_CLASS
= 1i32;
10228 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10229 pub const TrustedControllersInformation
: TRUSTED_INFORMATION_CLASS
= 2i32;
10230 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10231 pub const TrustedPosixOffsetInformation
: TRUSTED_INFORMATION_CLASS
= 3i32;
10232 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10233 pub const TrustedPasswordInformation
: TRUSTED_INFORMATION_CLASS
= 4i32;
10234 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10235 pub const TrustedDomainInformationBasic
: TRUSTED_INFORMATION_CLASS
= 5i32;
10236 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10237 pub const TrustedDomainInformationEx
: TRUSTED_INFORMATION_CLASS
= 6i32;
10238 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10239 pub const TrustedDomainAuthInformation
: TRUSTED_INFORMATION_CLASS
= 7i32;
10240 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10241 pub const TrustedDomainFullInformation
: TRUSTED_INFORMATION_CLASS
= 8i32;
10242 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10243 pub const TrustedDomainAuthInformationInternal
: TRUSTED_INFORMATION_CLASS
= 9i32;
10244 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10245 pub const TrustedDomainFullInformationInternal
: TRUSTED_INFORMATION_CLASS
= 10i32;
10246 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10247 pub const TrustedDomainInformationEx2Internal
: TRUSTED_INFORMATION_CLASS
= 11i32;
10248 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10249 pub const TrustedDomainFullInformation2Internal
: TRUSTED_INFORMATION_CLASS
= 12i32;
10250 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10251 pub const TrustedDomainSupportedEncryptionTypes
: TRUSTED_INFORMATION_CLASS
= 13i32;
10253 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
10254 #[cfg(feature = "Win32_Foundation")]
10255 pub struct TRUSTED_PASSWORD_INFO
{
10256 pub Password
: super::super::super::Foundation
::UNICODE_STRING
,
10257 pub OldPassword
: super::super::super::Foundation
::UNICODE_STRING
,
10259 #[cfg(feature = "Win32_Foundation")]
10260 impl ::core
::marker
::Copy
for TRUSTED_PASSWORD_INFO {}
10261 #[cfg(feature = "Win32_Foundation")]
10262 impl ::core
::clone
::Clone
for TRUSTED_PASSWORD_INFO
{
10263 fn clone(&self) -> Self {
10268 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10269 pub struct TRUSTED_POSIX_OFFSET_INFO
{
10272 impl ::core
::marker
::Copy
for TRUSTED_POSIX_OFFSET_INFO {}
10273 impl ::core
::clone
::Clone
for TRUSTED_POSIX_OFFSET_INFO
{
10274 fn clone(&self) -> Self {
10278 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10279 pub const TRUSTED_QUERY_AUTH
: i32 = 64i32;
10280 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10281 pub const TRUSTED_QUERY_CONTROLLERS
: i32 = 2i32;
10282 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10283 pub const TRUSTED_QUERY_DOMAIN_NAME
: i32 = 1i32;
10284 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10285 pub const TRUSTED_QUERY_POSIX
: i32 = 8i32;
10286 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10287 pub const TRUSTED_SET_AUTH
: i32 = 32i32;
10288 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10289 pub const TRUSTED_SET_CONTROLLERS
: i32 = 4i32;
10290 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10291 pub const TRUSTED_SET_POSIX
: i32 = 16i32;
10292 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10293 pub const TRUST_ATTRIBUTES_USER
: u32 = 4278190080u32;
10294 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10295 pub const TRUST_ATTRIBUTES_VALID
: u32 = 4278386687u32;
10296 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10297 pub const TRUST_ATTRIBUTE_CROSS_ORGANIZATION_ENABLE_TGT_DELEGATION
: u32 = 2048u32;
10298 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10299 pub const TRUST_ATTRIBUTE_CROSS_ORGANIZATION_NO_TGT_DELEGATION
: u32 = 512u32;
10300 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10301 pub const TRUST_ATTRIBUTE_PIM_TRUST
: u32 = 1024u32;
10302 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10303 pub const TRUST_ATTRIBUTE_QUARANTINED_DOMAIN
: u32 = 4u32;
10304 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10305 pub const TRUST_ATTRIBUTE_TREE_PARENT
: u32 = 4194304u32;
10306 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10307 pub const TRUST_ATTRIBUTE_TREE_ROOT
: u32 = 8388608u32;
10308 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10309 pub const TRUST_ATTRIBUTE_TRUST_USES_AES_KEYS
: u32 = 256u32;
10310 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10311 pub const TRUST_ATTRIBUTE_TRUST_USES_RC4_ENCRYPTION
: u32 = 128u32;
10312 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10313 pub const UNDERSTANDS_LONG_NAMES
: u32 = 1u32;
10314 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10315 pub const UNISP_NAME
: &str = "Microsoft Unified Security Protocol Provider";
10316 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10317 pub const UNISP_NAME_A
: &str = "Microsoft Unified Security Protocol Provider";
10318 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10319 pub const UNISP_NAME_W
: &str = "Microsoft Unified Security Protocol Provider";
10320 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10321 pub const UNISP_RPC_ID
: u32 = 14u32;
10322 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10323 pub const USER_ACCOUNT_AUTO_LOCKED
: u32 = 1024u32;
10324 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10325 pub const USER_ACCOUNT_DISABLED
: u32 = 1u32;
10326 #[repr(C, packed(4))]
10327 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
10328 #[cfg(feature = "Win32_Foundation")]
10329 pub struct USER_ALL_INFORMATION
{
10330 pub LastLogon
: i64,
10331 pub LastLogoff
: i64,
10332 pub PasswordLastSet
: i64,
10333 pub AccountExpires
: i64,
10334 pub PasswordCanChange
: i64,
10335 pub PasswordMustChange
: i64,
10336 pub UserName
: super::super::super::Foundation
::UNICODE_STRING
,
10337 pub FullName
: super::super::super::Foundation
::UNICODE_STRING
,
10338 pub HomeDirectory
: super::super::super::Foundation
::UNICODE_STRING
,
10339 pub HomeDirectoryDrive
: super::super::super::Foundation
::UNICODE_STRING
,
10340 pub ScriptPath
: super::super::super::Foundation
::UNICODE_STRING
,
10341 pub ProfilePath
: super::super::super::Foundation
::UNICODE_STRING
,
10342 pub AdminComment
: super::super::super::Foundation
::UNICODE_STRING
,
10343 pub WorkStations
: super::super::super::Foundation
::UNICODE_STRING
,
10344 pub UserComment
: super::super::super::Foundation
::UNICODE_STRING
,
10345 pub Parameters
: super::super::super::Foundation
::UNICODE_STRING
,
10346 pub LmPassword
: super::super::super::Foundation
::UNICODE_STRING
,
10347 pub NtPassword
: super::super::super::Foundation
::UNICODE_STRING
,
10348 pub PrivateData
: super::super::super::Foundation
::UNICODE_STRING
,
10349 pub SecurityDescriptor
: SR_SECURITY_DESCRIPTOR
,
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,
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
,
10364 #[cfg(feature = "Win32_Foundation")]
10365 impl ::core
::marker
::Copy
for USER_ALL_INFORMATION {}
10366 #[cfg(feature = "Win32_Foundation")]
10367 impl ::core
::clone
::Clone
for USER_ALL_INFORMATION
{
10368 fn clone(&self) -> Self {
10372 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10373 pub const USER_ALL_PARAMETERS
: u32 = 2097152u32;
10374 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10375 pub const USER_DONT_EXPIRE_PASSWORD
: u32 = 512u32;
10376 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10377 pub const USER_DONT_REQUIRE_PREAUTH
: u32 = 65536u32;
10378 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10379 pub const USER_ENCRYPTED_TEXT_PASSWORD_ALLOWED
: u32 = 2048u32;
10380 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10381 pub const USER_HOME_DIRECTORY_REQUIRED
: u32 = 2u32;
10382 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10383 pub const USER_INTERDOMAIN_TRUST_ACCOUNT
: u32 = 64u32;
10384 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10385 pub const USER_MNS_LOGON_ACCOUNT
: u32 = 32u32;
10386 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10387 pub const USER_NORMAL_ACCOUNT
: u32 = 16u32;
10388 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10389 pub const USER_NOT_DELEGATED
: u32 = 16384u32;
10390 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10391 pub const USER_NO_AUTH_DATA_REQUIRED
: u32 = 524288u32;
10392 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10393 pub const USER_PARTIAL_SECRETS_ACCOUNT
: u32 = 1048576u32;
10394 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10395 pub const USER_PASSWORD_EXPIRED
: u32 = 131072u32;
10396 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10397 pub const USER_PASSWORD_NOT_REQUIRED
: u32 = 4u32;
10398 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10399 pub const USER_SERVER_TRUST_ACCOUNT
: u32 = 256u32;
10401 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_PasswordManagement\"`*"]
10402 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
10403 pub struct USER_SESSION_KEY
{
10404 pub data
: [super::super::super::System
::PasswordManagement
::CYPHER_BLOCK
; 2],
10406 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
10407 impl ::core
::marker
::Copy
for USER_SESSION_KEY {}
10408 #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
10409 impl ::core
::clone
::Clone
for USER_SESSION_KEY
{
10410 fn clone(&self) -> Self {
10414 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10415 pub const USER_SMARTCARD_REQUIRED
: u32 = 4096u32;
10416 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10417 pub const USER_TEMP_DUPLICATE_ACCOUNT
: u32 = 8u32;
10418 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10419 pub const USER_TRUSTED_FOR_DELEGATION
: u32 = 8192u32;
10420 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10421 pub const USER_TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION
: u32 = 262144u32;
10422 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10423 pub const USER_USE_AES_KEYS
: u32 = 2097152u32;
10424 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10425 pub const USER_USE_DES_KEY_ONLY
: u32 = 32768u32;
10426 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10427 pub const USER_WORKSTATION_TRUST_ACCOUNT
: u32 = 128u32;
10428 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
10429 #[cfg(feature = "Win32_Security_Credentials")]
10430 pub type VERIFY_SIGNATURE_FN
= ::core
::option
::Option
<unsafe extern "system" fn(param0
: *mut super::super::Credentials
::SecHandle
, param1
: *mut SecBufferDesc
, param2
: u32, param3
: *mut u32) -> ::windows_sys
::core
::HRESULT
>;
10431 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10432 pub const WDIGEST_SP_NAME
: &str = "WDigest";
10433 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10434 pub const WDIGEST_SP_NAME_A
: &str = "WDigest";
10435 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10436 pub const WDIGEST_SP_NAME_W
: &str = "WDigest";
10437 pub const WINDOWS_SLID
: ::windows_sys
::core
::GUID
= ::windows_sys
::core
::GUID { data1: 1439246132, data2: 54914, data3: 19825, data4: [152, 62, 214, 236, 63, 22, 5, 159] }
;
10439 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
10440 #[cfg(feature = "Win32_Foundation")]
10441 pub struct X509Certificate
{
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
,
10447 pub pszIssuer
: ::windows_sys
::core
::PSTR
,
10448 pub pszSubject
: ::windows_sys
::core
::PSTR
,
10449 pub pPublicKey
: *mut PctPublicKey
,
10451 #[cfg(feature = "Win32_Foundation")]
10452 impl ::core
::marker
::Copy
for X509Certificate {}
10453 #[cfg(feature = "Win32_Foundation")]
10454 impl ::core
::clone
::Clone
for X509Certificate
{
10455 fn clone(&self) -> Self {
10459 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10460 pub const _FACILITY_WINDOWS_STORE
: u32 = 63u32;
10462 pub struct _HMAPPER(pub u8);
10463 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10464 pub type eTlsHashAlgorithm
= i32;
10465 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10466 pub const TlsHashAlgorithm_None
: eTlsHashAlgorithm
= 0i32;
10467 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10468 pub const TlsHashAlgorithm_Md5
: eTlsHashAlgorithm
= 1i32;
10469 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10470 pub const TlsHashAlgorithm_Sha1
: eTlsHashAlgorithm
= 2i32;
10471 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10472 pub const TlsHashAlgorithm_Sha224
: eTlsHashAlgorithm
= 3i32;
10473 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10474 pub const TlsHashAlgorithm_Sha256
: eTlsHashAlgorithm
= 4i32;
10475 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10476 pub const TlsHashAlgorithm_Sha384
: eTlsHashAlgorithm
= 5i32;
10477 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10478 pub const TlsHashAlgorithm_Sha512
: eTlsHashAlgorithm
= 6i32;
10479 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10480 pub type eTlsSignatureAlgorithm
= i32;
10481 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10482 pub const TlsSignatureAlgorithm_Anonymous
: eTlsSignatureAlgorithm
= 0i32;
10483 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10484 pub const TlsSignatureAlgorithm_Rsa
: eTlsSignatureAlgorithm
= 1i32;
10485 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10486 pub const TlsSignatureAlgorithm_Dsa
: eTlsSignatureAlgorithm
= 2i32;
10487 #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
10488 pub const TlsSignatureAlgorithm_Ecdsa
: eTlsSignatureAlgorithm
= 3i32;