summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/Win32/Security
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
commit698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch)
tree173a775858bd501c378080a10dca74132f05bc50 /vendor/windows-sys/src/Windows/Win32/Security
parentInitial commit. (diff)
downloadrustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.tar.xz
rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.zip
Adding upstream version 1.64.0+dfsg1.upstream/1.64.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/Security')
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Security/AppLocker/mod.rs330
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Security/Authentication/Identity/Provider/mod.rs87
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Security/Authentication/Identity/mod.rs10488
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Security/Authentication/mod.rs2
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Security/Authorization/UI/mod.rs260
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Security/Authorization/mod.rs2003
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Security/ConfigurationSnapin/mod.rs169
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Security/Credentials/mod.rs1495
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Catalog/mod.rs282
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs4679
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Sip/mod.rs308
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Security/Cryptography/UI/mod.rs986
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Security/Cryptography/mod.rs14253
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Security/DiagnosticDataQuery/mod.rs278
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Security/DirectoryServices/mod.rs47
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Security/EnterpriseData/mod.rs87
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs1853
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Security/Isolation/mod.rs48
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Security/LicenseProtection/mod.rs20
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Security/NetworkAccessProtection/mod.rs301
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Security/Tpm/mod.rs86
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Security/WinTrust/mod.rs1515
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Security/WinWlx/mod.rs559
-rw-r--r--vendor/windows-sys/src/Windows/Win32/Security/mod.rs2215
24 files changed, 42351 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/Win32/Security/AppLocker/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/AppLocker/mod.rs
new file mode 100644
index 000000000..86967d036
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/Security/AppLocker/mod.rs
@@ -0,0 +1,330 @@
+#[link(name = "windows")]
+extern "system" {
+ #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SaferCloseLevel(hlevelhandle: super::SAFER_LEVEL_HANDLE) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SaferComputeTokenFromLevel(levelhandle: super::SAFER_LEVEL_HANDLE, inaccesstoken: super::super::Foundation::HANDLE, outaccesstoken: *mut super::super::Foundation::HANDLE, dwflags: SAFER_COMPUTE_TOKEN_FROM_LEVEL_FLAGS, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SaferCreateLevel(dwscopeid: u32, dwlevelid: u32, openflags: u32, plevelhandle: *mut super::SAFER_LEVEL_HANDLE, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SaferGetLevelInformation(levelhandle: super::SAFER_LEVEL_HANDLE, dwinfotype: SAFER_OBJECT_INFO_CLASS, lpquerybuffer: *mut ::core::ffi::c_void, dwinbuffersize: u32, lpdwoutbuffersize: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SaferGetPolicyInformation(dwscopeid: u32, saferpolicyinfoclass: SAFER_POLICY_INFO_CLASS, infobuffersize: u32, infobuffer: *mut ::core::ffi::c_void, infobufferretsize: *mut u32, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SaferIdentifyLevel(dwnumproperties: u32, pcodeproperties: *const SAFER_CODE_PROPERTIES_V2, plevelhandle: *mut super::SAFER_LEVEL_HANDLE, lpreserved: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SaferRecordEventLogEntry(hlevel: super::SAFER_LEVEL_HANDLE, sztargetpath: ::windows_sys::core::PCWSTR, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SaferSetLevelInformation(levelhandle: super::SAFER_LEVEL_HANDLE, dwinfotype: SAFER_OBJECT_INFO_CLASS, lpquerybuffer: *const ::core::ffi::c_void, dwinbuffersize: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SaferSetPolicyInformation(dwscopeid: u32, saferpolicyinfoclass: SAFER_POLICY_INFO_CLASS, infobuffersize: u32, infobuffer: *const ::core::ffi::c_void, lpreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SaferiIsExecutableFileType(szfullpathname: ::windows_sys::core::PCWSTR, bfromshellexecute: super::super::Foundation::BOOLEAN) -> super::super::Foundation::BOOL;
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SAFER_CODE_PROPERTIES_V1 {
+ pub cbSize: u32,
+ pub dwCheckFlags: u32,
+ pub ImagePath: ::windows_sys::core::PCWSTR,
+ pub hImageFileHandle: super::super::Foundation::HANDLE,
+ pub UrlZoneId: u32,
+ pub ImageHash: [u8; 64],
+ pub dwImageHashSize: u32,
+ pub ImageSize: i64,
+ pub HashAlgorithm: u32,
+ pub pByteBlock: *mut u8,
+ pub hWndParent: super::super::Foundation::HWND,
+ pub dwWVTUIChoice: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SAFER_CODE_PROPERTIES_V1 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SAFER_CODE_PROPERTIES_V1 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SAFER_CODE_PROPERTIES_V2 {
+ pub cbSize: u32,
+ pub dwCheckFlags: u32,
+ pub ImagePath: ::windows_sys::core::PCWSTR,
+ pub hImageFileHandle: super::super::Foundation::HANDLE,
+ pub UrlZoneId: u32,
+ pub ImageHash: [u8; 64],
+ pub dwImageHashSize: u32,
+ pub ImageSize: i64,
+ pub HashAlgorithm: u32,
+ pub pByteBlock: *mut u8,
+ pub hWndParent: super::super::Foundation::HWND,
+ pub dwWVTUIChoice: u32,
+ pub PackageMoniker: ::windows_sys::core::PCWSTR,
+ pub PackagePublisher: ::windows_sys::core::PCWSTR,
+ pub PackageName: ::windows_sys::core::PCWSTR,
+ pub PackageVersion: u64,
+ pub PackageIsFramework: super::super::Foundation::BOOL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SAFER_CODE_PROPERTIES_V2 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SAFER_CODE_PROPERTIES_V2 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub type SAFER_COMPUTE_TOKEN_FROM_LEVEL_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_TOKEN_NULL_IF_EQUAL: SAFER_COMPUTE_TOKEN_FROM_LEVEL_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_TOKEN_COMPARE_ONLY: SAFER_COMPUTE_TOKEN_FROM_LEVEL_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_TOKEN_MAKE_INERT: SAFER_COMPUTE_TOKEN_FROM_LEVEL_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_TOKEN_WANT_FLAGS: SAFER_COMPUTE_TOKEN_FROM_LEVEL_FLAGS = 8u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_CRITERIA_APPX_PACKAGE: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_CRITERIA_AUTHENTICODE: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_CRITERIA_IMAGEHASH: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_CRITERIA_IMAGEPATH: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_CRITERIA_IMAGEPATH_NT: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_CRITERIA_NOSIGNEDHASH: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_CRITERIA_URLZONE: u32 = 16u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SAFER_HASH_IDENTIFICATION {
+ pub header: SAFER_IDENTIFICATION_HEADER,
+ pub Description: [u16; 256],
+ pub FriendlyName: [u16; 256],
+ pub HashSize: u32,
+ pub ImageHash: [u8; 64],
+ pub HashAlgorithm: u32,
+ pub ImageSize: i64,
+ pub dwSaferFlags: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SAFER_HASH_IDENTIFICATION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SAFER_HASH_IDENTIFICATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SAFER_HASH_IDENTIFICATION2 {
+ pub hashIdentification: SAFER_HASH_IDENTIFICATION,
+ pub HashSize: u32,
+ pub ImageHash: [u8; 64],
+ pub HashAlgorithm: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SAFER_HASH_IDENTIFICATION2 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SAFER_HASH_IDENTIFICATION2 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SAFER_IDENTIFICATION_HEADER {
+ pub dwIdentificationType: SAFER_IDENTIFICATION_TYPES,
+ pub cbStructSize: u32,
+ pub IdentificationGuid: ::windows_sys::core::GUID,
+ pub lastModified: super::super::Foundation::FILETIME,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SAFER_IDENTIFICATION_HEADER {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SAFER_IDENTIFICATION_HEADER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub type SAFER_IDENTIFICATION_TYPES = i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SaferIdentityDefault: SAFER_IDENTIFICATION_TYPES = 0i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SaferIdentityTypeImageName: SAFER_IDENTIFICATION_TYPES = 1i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SaferIdentityTypeImageHash: SAFER_IDENTIFICATION_TYPES = 2i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SaferIdentityTypeUrlZone: SAFER_IDENTIFICATION_TYPES = 3i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SaferIdentityTypeCertificate: SAFER_IDENTIFICATION_TYPES = 4i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_LEVELID_CONSTRAINED: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_LEVELID_DISALLOWED: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_LEVELID_FULLYTRUSTED: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_LEVELID_NORMALUSER: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_LEVELID_UNTRUSTED: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_LEVEL_OPEN: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_MAX_DESCRIPTION_SIZE: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_MAX_FRIENDLYNAME_SIZE: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_MAX_HASH_SIZE: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub type SAFER_OBJECT_INFO_CLASS = i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SaferObjectLevelId: SAFER_OBJECT_INFO_CLASS = 1i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SaferObjectScopeId: SAFER_OBJECT_INFO_CLASS = 2i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SaferObjectFriendlyName: SAFER_OBJECT_INFO_CLASS = 3i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SaferObjectDescription: SAFER_OBJECT_INFO_CLASS = 4i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SaferObjectBuiltin: SAFER_OBJECT_INFO_CLASS = 5i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SaferObjectDisallowed: SAFER_OBJECT_INFO_CLASS = 6i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SaferObjectDisableMaxPrivilege: SAFER_OBJECT_INFO_CLASS = 7i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SaferObjectInvertDeletedPrivileges: SAFER_OBJECT_INFO_CLASS = 8i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SaferObjectDeletedPrivileges: SAFER_OBJECT_INFO_CLASS = 9i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SaferObjectDefaultOwner: SAFER_OBJECT_INFO_CLASS = 10i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SaferObjectSidsToDisable: SAFER_OBJECT_INFO_CLASS = 11i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SaferObjectRestrictedSidsInverted: SAFER_OBJECT_INFO_CLASS = 12i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SaferObjectRestrictedSidsAdded: SAFER_OBJECT_INFO_CLASS = 13i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SaferObjectAllIdentificationGuids: SAFER_OBJECT_INFO_CLASS = 14i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SaferObjectSingleIdentification: SAFER_OBJECT_INFO_CLASS = 15i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SaferObjectExtendedError: SAFER_OBJECT_INFO_CLASS = 16i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SAFER_PATHNAME_IDENTIFICATION {
+ pub header: SAFER_IDENTIFICATION_HEADER,
+ pub Description: [u16; 256],
+ pub ImageName: ::windows_sys::core::PWSTR,
+ pub dwSaferFlags: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SAFER_PATHNAME_IDENTIFICATION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SAFER_PATHNAME_IDENTIFICATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_POLICY_BLOCK_CLIENT_UI: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_POLICY_HASH_DUPLICATE: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub type SAFER_POLICY_INFO_CLASS = i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SaferPolicyLevelList: SAFER_POLICY_INFO_CLASS = 1i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SaferPolicyEnableTransparentEnforcement: SAFER_POLICY_INFO_CLASS = 2i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SaferPolicyDefaultLevel: SAFER_POLICY_INFO_CLASS = 3i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SaferPolicyEvaluateUserScope: SAFER_POLICY_INFO_CLASS = 4i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SaferPolicyScopeFlags: SAFER_POLICY_INFO_CLASS = 5i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SaferPolicyDefaultLevelFlags: SAFER_POLICY_INFO_CLASS = 6i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SaferPolicyAuthenticodeEnabled: SAFER_POLICY_INFO_CLASS = 7i32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_POLICY_JOBID_CONSTRAINED: u32 = 67108864u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_POLICY_JOBID_MASK: u32 = 4278190080u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_POLICY_JOBID_UNTRUSTED: u32 = 50331648u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_POLICY_ONLY_AUDIT: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_POLICY_ONLY_EXES: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_POLICY_SANDBOX_INERT: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_POLICY_UIFLAGS_HIDDEN: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_POLICY_UIFLAGS_INFORMATION_PROMPT: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_POLICY_UIFLAGS_MASK: u32 = 255u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_POLICY_UIFLAGS_OPTION_PROMPT: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_SCOPEID_MACHINE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SAFER_SCOPEID_USER: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SAFER_URLZONE_IDENTIFICATION {
+ pub header: SAFER_IDENTIFICATION_HEADER,
+ pub UrlZoneId: u32,
+ pub dwSaferFlags: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SAFER_URLZONE_IDENTIFICATION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SAFER_URLZONE_IDENTIFICATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SRP_POLICY_APPX: &str = "APPX";
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SRP_POLICY_DLL: &str = "DLL";
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SRP_POLICY_EXE: &str = "EXE";
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SRP_POLICY_MANAGEDINSTALLER: &str = "MANAGEDINSTALLER";
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SRP_POLICY_MSI: &str = "MSI";
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SRP_POLICY_NOV2: &str = "IGNORESRPV2";
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SRP_POLICY_SCRIPT: &str = "SCRIPT";
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SRP_POLICY_SHELL: &str = "SHELL";
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SRP_POLICY_WLDPCONFIGCI: &str = "WLDPCONFIGCI";
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SRP_POLICY_WLDPMSI: &str = "WLDPMSI";
+#[doc = "*Required features: `\"Win32_Security_AppLocker\"`*"]
+pub const SRP_POLICY_WLDPSCRIPT: &str = "WLDPSCRIPT";
diff --git a/vendor/windows-sys/src/Windows/Win32/Security/Authentication/Identity/Provider/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/Authentication/Identity/Provider/mod.rs
new file mode 100644
index 000000000..9c6b8615a
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/Security/Authentication/Identity/Provider/mod.rs
@@ -0,0 +1,87 @@
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub type ACCOUNT_STATE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const NOT_CONNECTED: ACCOUNT_STATE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const CONNECTING: ACCOUNT_STATE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const CONNECT_COMPLETED: ACCOUNT_STATE = 2i32;
+pub type AsyncIAssociatedIdentityProvider = *mut ::core::ffi::c_void;
+pub type AsyncIConnectedIdentityProvider = *mut ::core::ffi::c_void;
+pub type AsyncIIdentityAdvise = *mut ::core::ffi::c_void;
+pub type AsyncIIdentityAuthentication = *mut ::core::ffi::c_void;
+pub type AsyncIIdentityProvider = *mut ::core::ffi::c_void;
+pub type AsyncIIdentityStore = *mut ::core::ffi::c_void;
+pub type AsyncIIdentityStoreEx = *mut ::core::ffi::c_void;
+pub const CIdentityProfileHandler: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3975528262, data2: 58294, data3: 17562, data4: [181, 107, 67, 245, 143, 134, 120, 20] };
+pub const CoClassIdentityStore: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 819237446, data2: 53783, data3: 18015, data4: [176, 11, 172, 157, 221, 101, 46, 183] };
+pub type IAssociatedIdentityProvider = *mut ::core::ffi::c_void;
+pub type IConnectedIdentityProvider = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const IDENTITY_KEYWORD_ASSOCIATED: &str = "associated";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const IDENTITY_KEYWORD_CONNECTED: &str = "connected";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const IDENTITY_KEYWORD_HOMEGROUP: &str = "homegroup";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const IDENTITY_KEYWORD_LOCAL: &str = "local";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub type IDENTITY_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const IDENTITIES_ALL: IDENTITY_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const IDENTITIES_ME_ONLY: IDENTITY_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub type IDENTITY_URL = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const IDENTITY_URL_CREATE_ACCOUNT_WIZARD: IDENTITY_URL = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const IDENTITY_URL_SIGN_IN_WIZARD: IDENTITY_URL = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const IDENTITY_URL_CHANGE_PASSWORD_WIZARD: IDENTITY_URL = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const IDENTITY_URL_IFEXISTS_WIZARD: IDENTITY_URL = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const IDENTITY_URL_ACCOUNT_SETTINGS: IDENTITY_URL = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const IDENTITY_URL_RESTORE_WIZARD: IDENTITY_URL = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const IDENTITY_URL_CONNECT_WIZARD: IDENTITY_URL = 6i32;
+pub type IIdentityAdvise = *mut ::core::ffi::c_void;
+pub type IIdentityAuthentication = *mut ::core::ffi::c_void;
+pub type IIdentityProvider = *mut ::core::ffi::c_void;
+pub type IIdentityStore = *mut ::core::ffi::c_void;
+pub type IIdentityStoreEx = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub type IdentityUpdateEvent = u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const IDENTITY_ASSOCIATED: IdentityUpdateEvent = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const IDENTITY_DISASSOCIATED: IdentityUpdateEvent = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const IDENTITY_CREATED: IdentityUpdateEvent = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const IDENTITY_IMPORTED: IdentityUpdateEvent = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const IDENTITY_DELETED: IdentityUpdateEvent = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const IDENTITY_PROPCHANGED: IdentityUpdateEvent = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const IDENTITY_CONNECTED: IdentityUpdateEvent = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const IDENTITY_DISCONNECTED: IdentityUpdateEvent = 128u32;
+pub const OID_OAssociatedIdentityProviderObject: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2563089373, data2: 56168, data3: 20250, data4: [141, 43, 144, 121, 205, 254, 175, 97] };
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const STR_COMPLETE_ACCOUNT: &str = "CompleteAccount";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const STR_MODERN_SETTINGS_ADD_USER: &str = "ModernSettingsAddUser";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const STR_NTH_USER_FIRST_AUTH: &str = "NthUserFirstAuth";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const STR_OUT_OF_BOX_EXPERIENCE: &str = "OutOfBoxExperience";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const STR_OUT_OF_BOX_UPGRADE_EXPERIENCE: &str = "OutOfBoxUpgradeExperience";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const STR_PROPERTY_STORE: &str = "PropertyStore";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`*"]
+pub const STR_USER_NAME: &str = "Username";
diff --git a/vendor/windows-sys/src/Windows/Win32/Security/Authentication/Identity/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/Authentication/Identity/mod.rs
new file mode 100644
index 000000000..c6feb7aa5
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/Security/Authentication/Identity/mod.rs
@@ -0,0 +1,10488 @@
+#[cfg(feature = "Win32_Security_Authentication_Identity_Provider")]
+pub mod Provider;
+#[link(name = "windows")]
+extern "system" {
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn AddSecurityPackageA(pszpackagename: ::windows_sys::core::PCSTR, poptions: *const SECURITY_PACKAGE_OPTIONS) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn AddSecurityPackageW(pszpackagename: ::windows_sys::core::PCWSTR, poptions: *const SECURITY_PACKAGE_OPTIONS) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ pub fn ApplyControlToken(phcontext: *const super::super::Credentials::SecHandle, pinput: *const SecBufferDesc) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuditEnumerateCategories(ppauditcategoriesarray: *mut *mut ::windows_sys::core::GUID, pdwcountreturned: *mut u32) -> super::super::super::Foundation::BOOLEAN;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuditEnumeratePerUserPolicy(ppauditsidarray: *mut *mut POLICY_AUDIT_SID_ARRAY) -> super::super::super::Foundation::BOOLEAN;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn AuditFree(buffer: *const ::core::ffi::c_void);
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuditLookupCategoryGuidFromCategoryId(auditcategoryid: POLICY_AUDIT_EVENT_TYPE, pauditcategoryguid: *mut ::windows_sys::core::GUID) -> super::super::super::Foundation::BOOLEAN;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuditLookupCategoryIdFromCategoryGuid(pauditcategoryguid: *const ::windows_sys::core::GUID, pauditcategoryid: *mut POLICY_AUDIT_EVENT_TYPE) -> super::super::super::Foundation::BOOLEAN;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuditLookupCategoryNameA(pauditcategoryguid: *const ::windows_sys::core::GUID, ppszcategoryname: *mut ::windows_sys::core::PSTR) -> super::super::super::Foundation::BOOLEAN;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuditLookupCategoryNameW(pauditcategoryguid: *const ::windows_sys::core::GUID, ppszcategoryname: *mut ::windows_sys::core::PWSTR) -> super::super::super::Foundation::BOOLEAN;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuditLookupSubCategoryNameA(pauditsubcategoryguid: *const ::windows_sys::core::GUID, ppszsubcategoryname: *mut ::windows_sys::core::PSTR) -> super::super::super::Foundation::BOOLEAN;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuditLookupSubCategoryNameW(pauditsubcategoryguid: *const ::windows_sys::core::GUID, ppszsubcategoryname: *mut ::windows_sys::core::PWSTR) -> super::super::super::Foundation::BOOLEAN;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuditQueryGlobalSaclA(objecttypename: ::windows_sys::core::PCSTR, acl: *mut *mut super::super::ACL) -> super::super::super::Foundation::BOOLEAN;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuditQueryGlobalSaclW(objecttypename: ::windows_sys::core::PCWSTR, acl: *mut *mut super::super::ACL) -> super::super::super::Foundation::BOOLEAN;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuditQuerySecurity(securityinformation: u32, ppsecuritydescriptor: *mut super::super::PSECURITY_DESCRIPTOR) -> super::super::super::Foundation::BOOLEAN;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuditQuerySystemPolicy(psubcategoryguids: *const ::windows_sys::core::GUID, dwpolicycount: u32, ppauditpolicy: *mut *mut AUDIT_POLICY_INFORMATION) -> super::super::super::Foundation::BOOLEAN;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuditSetGlobalSaclA(objecttypename: ::windows_sys::core::PCSTR, acl: *const super::super::ACL) -> super::super::super::Foundation::BOOLEAN;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuditSetGlobalSaclW(objecttypename: ::windows_sys::core::PCWSTR, acl: *const super::super::ACL) -> super::super::super::Foundation::BOOLEAN;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuditSetPerUserPolicy(psid: super::super::super::Foundation::PSID, pauditpolicy: *const AUDIT_POLICY_INFORMATION, dwpolicycount: u32) -> super::super::super::Foundation::BOOLEAN;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuditSetSecurity(securityinformation: u32, psecuritydescriptor: super::super::PSECURITY_DESCRIPTOR) -> super::super::super::Foundation::BOOLEAN;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuditSetSystemPolicy(pauditpolicy: *const AUDIT_POLICY_INFORMATION, dwpolicycount: u32) -> super::super::super::Foundation::BOOLEAN;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ pub fn CompleteAuthToken(phcontext: *const super::super::Credentials::SecHandle, ptoken: *const SecBufferDesc) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
+ pub fn CredMarshalTargetInfo(intargetinfo: *const super::super::Credentials::CREDENTIAL_TARGET_INFORMATIONW, buffer: *mut *mut u16, buffersize: *mut u32) -> super::super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ pub fn DecryptMessage(phcontext: *const super::super::Credentials::SecHandle, pmessage: *const SecBufferDesc, messageseqno: u32, pfqop: *mut u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ pub fn DeleteSecurityContext(phcontext: *const super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn DeleteSecurityPackageA(pszpackagename: ::windows_sys::core::PCSTR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn DeleteSecurityPackageW(pszpackagename: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ pub fn EncryptMessage(phcontext: *const super::super::Credentials::SecHandle, fqop: u32, pmessage: *const SecBufferDesc, messageseqno: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn EnumerateSecurityPackagesA(pcpackages: *mut u32, pppackageinfo: *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn EnumerateSecurityPackagesW(pcpackages: *mut u32, pppackageinfo: *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn FreeContextBuffer(pvcontextbuffer: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ pub fn FreeCredentialsHandle(phcredential: *const super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetComputerObjectNameA(nameformat: EXTENDED_NAME_FORMAT, lpnamebuffer: ::windows_sys::core::PSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetComputerObjectNameW(nameformat: EXTENDED_NAME_FORMAT, lpnamebuffer: ::windows_sys::core::PWSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetUserNameExA(nameformat: EXTENDED_NAME_FORMAT, lpnamebuffer: ::windows_sys::core::PSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetUserNameExW(nameformat: EXTENDED_NAME_FORMAT, lpnamebuffer: ::windows_sys::core::PWSTR, nsize: *mut u32) -> super::super::super::Foundation::BOOLEAN;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ pub fn ImpersonateSecurityContext(phcontext: *const super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
+ pub fn InitSecurityInterfaceA() -> *mut SecurityFunctionTableA;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
+ pub fn InitSecurityInterfaceW() -> *mut SecurityFunctionTableW;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn LsaClose(objecthandle: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn LsaConnectUntrusted(lsahandle: *mut super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn LsaDeleteTrustedDomain(policyhandle: *const ::core::ffi::c_void, trusteddomainsid: super::super::super::Foundation::PSID) -> super::super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn LsaDeregisterLogonProcess(lsahandle: LsaHandle) -> super::super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn LsaEnumerateLogonSessions(logonsessioncount: *mut u32, logonsessionlist: *mut *mut super::super::super::Foundation::LUID) -> super::super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn LsaFreeMemory(buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn LsaFreeReturnBuffer(buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn LsaGetLogonSessionData(logonid: *const super::super::super::Foundation::LUID, pplogonsessiondata: *mut *mut SECURITY_LOGON_SESSION_DATA) -> super::super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn LsaNtStatusToWinError(status: super::super::super::Foundation::NTSTATUS) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_WindowsProgramming\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_WindowsProgramming"))]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
+ pub fn LsaRegisterLogonProcess(logonprocessname: *const super::super::super::System::Kernel::STRING, lsahandle: *mut LsaHandle, securitymode: *mut u32) -> super::super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn LsaRegisterPolicyChangeNotification(informationclass: POLICY_NOTIFICATION_INFORMATION_CLASS, notificationeventhandle: super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn LsaSetCAPs(capdns: *const super::super::super::Foundation::UNICODE_STRING, capdncount: u32, flags: u32) -> super::super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn LsaSetInformationPolicy(policyhandle: *const ::core::ffi::c_void, informationclass: POLICY_INFORMATION_CLASS, buffer: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn LsaUnregisterPolicyChangeNotification(informationclass: POLICY_NOTIFICATION_INFORMATION_CLASS, notificationeventhandle: super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ pub fn MakeSignature(phcontext: *const super::super::Credentials::SecHandle, fqop: u32, pmessage: *const SecBufferDesc, messageseqno: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ pub fn QueryContextAttributesA(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ pub fn QueryContextAttributesExA(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *mut ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ pub fn QueryContextAttributesExW(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *mut ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ pub fn QueryContextAttributesW(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ pub fn QueryCredentialsAttributesA(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ pub fn QueryCredentialsAttributesExA(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *mut ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ pub fn QueryCredentialsAttributesExW(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *mut ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ pub fn QueryCredentialsAttributesW(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ pub fn QuerySecurityContextToken(phcontext: *const super::super::Credentials::SecHandle, token: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn QuerySecurityPackageInfoA(pszpackagename: ::windows_sys::core::PCSTR, pppackageinfo: *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn QuerySecurityPackageInfoW(pszpackagename: ::windows_sys::core::PCWSTR, pppackageinfo: *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ pub fn RevertSecurityContext(phcontext: *const super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SLClose(hslc: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SLFireEvent(hslc: *const ::core::ffi::c_void, pwszeventid: ::windows_sys::core::PCWSTR, papplicationid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SLGetLicenseFileId(hslc: *const ::core::ffi::c_void, cblicenseblob: u32, pblicenseblob: *const u8, plicensefileid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SLGetPolicyInformationDWORD(hslc: *const ::core::ffi::c_void, pwszvaluename: ::windows_sys::core::PCWSTR, pdwvalue: *mut u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SLGetWindowsInformation(pwszvaluename: ::windows_sys::core::PCWSTR, pedatatype: *mut SLDATATYPE, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SLGetWindowsInformationDWORD(pwszvaluename: ::windows_sys::core::PCWSTR, pdwvalue: *mut u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SLInstallLicense(hslc: *const ::core::ffi::c_void, cblicenseblob: u32, pblicenseblob: *const u8, plicensefileid: *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SLIsGenuineLocal(pappid: *const ::windows_sys::core::GUID, pgenuinestate: *mut SL_GENUINE_STATE, puioptions: *mut SL_NONGENUINE_UI_OPTIONS) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SLOpen(phslc: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SLUninstallLicense(hslc: *const ::core::ffi::c_void, plicensefileid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SLUninstallProofOfPurchase(hslc: *const ::core::ffi::c_void, ppkeyid: *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SaslEnumerateProfilesA(profilelist: *mut ::windows_sys::core::PSTR, profilecount: *mut u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SaslEnumerateProfilesW(profilelist: *mut ::windows_sys::core::PWSTR, profilecount: *mut u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SaslGetProfilePackageA(profilename: ::windows_sys::core::PCSTR, packageinfo: *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SaslGetProfilePackageW(profilename: ::windows_sys::core::PCWSTR, packageinfo: *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SaslIdentifyPackageA(pinput: *const SecBufferDesc, packageinfo: *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SaslIdentifyPackageW(pinput: *const SecBufferDesc, packageinfo: *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ pub fn SaslSetContextOption(contexthandle: *const super::super::Credentials::SecHandle, option: u32, value: *const ::core::ffi::c_void, size: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ pub fn SetContextAttributesA(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *const ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ pub fn SetContextAttributesW(phcontext: *const super::super::Credentials::SecHandle, ulattribute: SECPKG_ATTR, pbuffer: *const ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ pub fn SetCredentialsAttributesA(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *const ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ pub fn SetCredentialsAttributesW(phcredential: *const super::super::Credentials::SecHandle, ulattribute: u32, pbuffer: *const ::core::ffi::c_void, cbbuffer: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SslCrackCertificate(pbcertificate: *mut u8, cbcertificate: u32, dwflags: u32, ppcertificate: *mut *mut X509Certificate) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SslEmptyCacheA(psztargetname: ::windows_sys::core::PCSTR, dwflags: u32) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SslEmptyCacheW(psztargetname: ::windows_sys::core::PCWSTR, dwflags: u32) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SslFreeCertificate(pcertificate: *mut X509Certificate);
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SslGenerateRandomBits(prandomdata: *mut u8, crandomdata: i32);
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SslGetExtensions(clienthello: *const u8, clienthellobytesize: u32, genericextensions: *mut SCH_EXTENSION_DATA, genericextensionscount: u8, bytestoread: *mut u32, flags: SchGetExtensionsOptions) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SslGetMaximumKeySize(reserved: u32) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SslGetServerIdentity(clienthello: *const u8, clienthellosize: u32, serveridentity: *mut *mut u8, serveridentitysize: *mut u32, flags: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SspiCopyAuthIdentity(authdata: *const ::core::ffi::c_void, authdatacopy: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SspiDecryptAuthIdentity(encryptedauthdata: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SspiDecryptAuthIdentityEx(options: u32, encryptedauthdata: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SspiEncryptAuthIdentity(authdata: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SspiEncryptAuthIdentityEx(options: u32, authdata: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SspiFreeAuthIdentity(authdata: *const ::core::ffi::c_void);
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SspiGetTargetHostName(psztargetname: ::windows_sys::core::PCWSTR, pszhostname: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SspiIsAuthIdentityEncrypted(encryptedauthdata: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOLEAN;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SspiIsPromptingNeeded(errororntstatus: u32) -> super::super::super::Foundation::BOOLEAN;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SspiLocalFree(databuffer: *const ::core::ffi::c_void);
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SspiMarshalAuthIdentity(authidentity: *const ::core::ffi::c_void, authidentitylength: *mut u32, authidentitybytearray: *mut *mut i8) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SspiUnmarshalAuthIdentity(authidentitylength: u32, authidentitybytearray: ::windows_sys::core::PCSTR, ppauthidentity: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SspiValidateAuthIdentity(authdata: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn SspiZeroAuthIdentity(authdata: *const ::core::ffi::c_void);
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SystemFunction036(randombuffer: *mut ::core::ffi::c_void, randombufferlength: u32) -> super::super::super::Foundation::BOOLEAN;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SystemFunction040(memory: *mut ::core::ffi::c_void, memorysize: u32, optionflags: u32) -> super::super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SystemFunction041(memory: *mut ::core::ffi::c_void, memorysize: u32, optionflags: u32) -> super::super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn TokenBindingDeleteAllBindings() -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn TokenBindingDeleteBinding(targeturl: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn TokenBindingGenerateIDForUri(keytype: TOKENBINDING_KEY_PARAMETERS_TYPE, targeturi: ::windows_sys::core::PCWSTR, resultdata: *mut *mut TOKENBINDING_RESULT_DATA) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn TokenBindingGetHighestSupportedVersion(majorversion: *mut u8, minorversion: *mut u8) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn TokenBindingGetKeyTypesClient(keytypes: *mut *mut TOKENBINDING_KEY_TYPES) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ pub fn TokenBindingGetKeyTypesServer(keytypes: *mut *mut TOKENBINDING_KEY_TYPES) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ 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;
+ #[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+ #[cfg(feature = "Win32_Security_Credentials")]
+ pub fn VerifySignature(phcontext: *const super::super::Credentials::SecHandle, pmessage: *const SecBufferDesc, messageseqno: u32, pfqop: *mut u32) -> ::windows_sys::core::HRESULT;
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ = u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_REQ_ALLOCATE_MEMORY: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_REQ_CONNECTION: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_REQ_DELEGATE: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_REQ_EXTENDED_ERROR: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_REQ_REPLAY_DETECT: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_REQ_SEQUENCE_DETECT: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_REQ_STREAM: ACCEPT_SECURITY_CONTEXT_CONTEXT_REQ = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ACCOUNT_ADJUST_PRIVILEGES: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ACCOUNT_ADJUST_QUOTAS: i32 = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ACCOUNT_ADJUST_SYSTEM_ACCESS: i32 = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ACCOUNT_VIEW: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_REQ_ALLOW_CONTEXT_REPLAY: u32 = 4194304u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_REQ_ALLOW_MISSING_BINDINGS: u32 = 268435456u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_REQ_ALLOW_NON_USER_LOGONS: u32 = 2097152u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_REQ_ALLOW_NULL_SESSION: u32 = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_REQ_CALL_LEVEL: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_REQ_CONFIDENTIALITY: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_REQ_DATAGRAM: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_REQ_FRAGMENT_SUPPLIED: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_REQ_FRAGMENT_TO_FIT: u32 = 8388608u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_REQ_IDENTIFY: u32 = 524288u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_REQ_INTEGRITY: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_REQ_LICENSING: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_REQ_MESSAGES: u64 = 4294967296u64;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_REQ_MUTUAL_AUTH: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_REQ_NO_TOKEN: u32 = 16777216u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_REQ_PROXY_BINDINGS: u32 = 67108864u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_REQ_SESSION_TICKET: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_REQ_USE_DCE_STYLE: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_REQ_USE_SESSION_KEY: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_RET_ALLOCATED_MEMORY: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_RET_ALLOW_CONTEXT_REPLAY: u32 = 4194304u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_RET_ALLOW_NON_USER_LOGONS: u32 = 2097152u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_RET_CALL_LEVEL: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_RET_CONFIDENTIALITY: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_RET_CONNECTION: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_RET_DATAGRAM: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_RET_DELEGATE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_RET_EXTENDED_ERROR: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_RET_FRAGMENT_ONLY: u32 = 8388608u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_RET_IDENTIFY: u32 = 524288u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_RET_INTEGRITY: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_RET_LICENSING: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_RET_MESSAGES: u64 = 4294967296u64;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_RET_MUTUAL_AUTH: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_RET_NO_ADDITIONAL_TOKEN: u32 = 33554432u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_RET_NO_TOKEN: u32 = 16777216u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_RET_NULL_SESSION: u32 = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_RET_REPLAY_DETECT: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_RET_SEQUENCE_DETECT: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_RET_SESSION_TICKET: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_RET_STREAM: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_RET_THIRD_LEG_FAILED: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_RET_USED_DCE_STYLE: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ASC_RET_USE_SESSION_KEY: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const AUDIT_ENUMERATE_USERS: u32 = 16u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct AUDIT_POLICY_INFORMATION {
+ pub AuditSubCategoryGuid: ::windows_sys::core::GUID,
+ pub AuditingInformation: u32,
+ pub AuditCategoryGuid: ::windows_sys::core::GUID,
+}
+impl ::core::marker::Copy for AUDIT_POLICY_INFORMATION {}
+impl ::core::clone::Clone for AUDIT_POLICY_INFORMATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const AUDIT_QUERY_MISC_POLICY: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const AUDIT_QUERY_SYSTEM_POLICY: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const AUDIT_QUERY_USER_POLICY: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const AUDIT_SET_MISC_POLICY: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const AUDIT_SET_SYSTEM_POLICY: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const AUDIT_SET_USER_POLICY: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const AUTH_REQ_ALLOW_ENC_TKT_IN_SKEY: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const AUTH_REQ_ALLOW_FORWARDABLE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const AUTH_REQ_ALLOW_NOADDRESS: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const AUTH_REQ_ALLOW_POSTDATE: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const AUTH_REQ_ALLOW_PROXIABLE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const AUTH_REQ_ALLOW_RENEWABLE: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const AUTH_REQ_ALLOW_S4U_DELEGATE: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const AUTH_REQ_ALLOW_VALIDATE: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const AUTH_REQ_OK_AS_DELEGATE: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const AUTH_REQ_PREAUTH_REQUIRED: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const AUTH_REQ_TRANSITIVE_TRUST: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const AUTH_REQ_VALIDATE_CLIENT: u32 = 128u32;
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+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] };
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CENTRAL_ACCESS_POLICY {
+ pub CAPID: super::super::super::Foundation::PSID,
+ pub Name: super::super::super::Foundation::UNICODE_STRING,
+ pub Description: super::super::super::Foundation::UNICODE_STRING,
+ pub ChangeId: super::super::super::Foundation::UNICODE_STRING,
+ pub Flags: u32,
+ pub CAPECount: u32,
+ pub CAPEs: *mut *mut CENTRAL_ACCESS_POLICY_ENTRY,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CENTRAL_ACCESS_POLICY {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CENTRAL_ACCESS_POLICY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CENTRAL_ACCESS_POLICY_ENTRY {
+ pub Name: super::super::super::Foundation::UNICODE_STRING,
+ pub Description: super::super::super::Foundation::UNICODE_STRING,
+ pub ChangeId: super::super::super::Foundation::UNICODE_STRING,
+ pub LengthAppliesTo: u32,
+ pub AppliesTo: *mut u8,
+ pub LengthSD: u32,
+ pub SD: super::super::PSECURITY_DESCRIPTOR,
+ pub LengthStagedSD: u32,
+ pub StagedSD: super::super::PSECURITY_DESCRIPTOR,
+ pub Flags: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CENTRAL_ACCESS_POLICY_ENTRY {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CENTRAL_ACCESS_POLICY_ENTRY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const CENTRAL_ACCESS_POLICY_OWNER_RIGHTS_PRESENT_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const CENTRAL_ACCESS_POLICY_STAGED_FLAG: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const CENTRAL_ACCESS_POLICY_STAGED_OWNER_RIGHTS_PRESENT_FLAG: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CLEAR_BLOCK {
+ pub data: [super::super::super::Foundation::CHAR; 8],
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CLEAR_BLOCK {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CLEAR_BLOCK {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const CLEAR_BLOCK_LENGTH: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const CLOUDAP_NAME: &str = "CloudAP";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const CLOUDAP_NAME_W: &str = "CloudAP";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const CREDP_FLAGS_CLEAR_PASSWORD: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const CREDP_FLAGS_DONT_CACHE_TI: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const CREDP_FLAGS_IN_PROCESS: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const CREDP_FLAGS_TRUSTED_CALLER: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const CREDP_FLAGS_USER_ENCRYPTED_PASSWORD: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const CREDP_FLAGS_USE_MIDL_HEAP: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const CREDP_FLAGS_VALIDATE_PROXY_TARGET: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type CRED_FETCH = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const CredFetchDefault: CRED_FETCH = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const CredFetchDPAPI: CRED_FETCH = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const CredFetchForced: CRED_FETCH = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const CRED_MARSHALED_TI_SIZE_SIZE: u32 = 12u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const CYPHER_BLOCK_LENGTH: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ClOUDAP_NAME_A: &str = "CloudAP";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
+pub type CredFreeCredentialsFn = ::core::option::Option<unsafe extern "system" fn(count: u32, credentials: *mut *mut ENCRYPTED_CREDENTIALW)>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const DEFAULT_TLS_SSP_NAME: &str = "Default TLS SSP";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const DEFAULT_TLS_SSP_NAME_A: &str = "Default TLS SSP";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const DEFAULT_TLS_SSP_NAME_W: &str = "Default TLS SSP";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+pub type DELETE_SECURITY_CONTEXT_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const DOMAIN_NO_LM_OWF_CHANGE: i32 = 64i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct DOMAIN_PASSWORD_INFORMATION {
+ pub MinPasswordLength: u16,
+ pub PasswordHistoryLength: u16,
+ pub PasswordProperties: DOMAIN_PASSWORD_PROPERTIES,
+ pub MaxPasswordAge: i64,
+ pub MinPasswordAge: i64,
+}
+impl ::core::marker::Copy for DOMAIN_PASSWORD_INFORMATION {}
+impl ::core::clone::Clone for DOMAIN_PASSWORD_INFORMATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type DOMAIN_PASSWORD_PROPERTIES = u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const DOMAIN_PASSWORD_COMPLEX: DOMAIN_PASSWORD_PROPERTIES = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const DOMAIN_PASSWORD_NO_ANON_CHANGE: DOMAIN_PASSWORD_PROPERTIES = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const DOMAIN_PASSWORD_NO_CLEAR_CHANGE: DOMAIN_PASSWORD_PROPERTIES = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const DOMAIN_LOCKOUT_ADMINS: DOMAIN_PASSWORD_PROPERTIES = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const DOMAIN_PASSWORD_STORE_CLEARTEXT: DOMAIN_PASSWORD_PROPERTIES = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const DOMAIN_REFUSE_PASSWORD_CHANGE: DOMAIN_PASSWORD_PROPERTIES = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const DS_UNKNOWN_ADDRESS_TYPE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ENABLE_TLS_CLIENT_EARLY_START: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
+pub struct ENCRYPTED_CREDENTIALW {
+ pub Cred: super::super::Credentials::CREDENTIALW,
+ pub ClearCredentialBlobSize: u32,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
+impl ::core::marker::Copy for ENCRYPTED_CREDENTIALW {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
+impl ::core::clone::Clone for ENCRYPTED_CREDENTIALW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type EXPORT_SECURITY_CONTEXT_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CONTEXT_EXPORT_RESET_NEW: EXPORT_SECURITY_CONTEXT_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CONTEXT_EXPORT_DELETE_OLD: EXPORT_SECURITY_CONTEXT_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CONTEXT_EXPORT_TO_KERNEL: EXPORT_SECURITY_CONTEXT_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type EXTENDED_NAME_FORMAT = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NameUnknown: EXTENDED_NAME_FORMAT = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NameFullyQualifiedDN: EXTENDED_NAME_FORMAT = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NameSamCompatible: EXTENDED_NAME_FORMAT = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NameDisplay: EXTENDED_NAME_FORMAT = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NameUniqueId: EXTENDED_NAME_FORMAT = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NameCanonical: EXTENDED_NAME_FORMAT = 7i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NameUserPrincipal: EXTENDED_NAME_FORMAT = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NameCanonicalEx: EXTENDED_NAME_FORMAT = 9i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NameServicePrincipal: EXTENDED_NAME_FORMAT = 10i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NameDnsDomain: EXTENDED_NAME_FORMAT = 12i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NameGivenName: EXTENDED_NAME_FORMAT = 13i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NameSurname: EXTENDED_NAME_FORMAT = 14i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const E_RM_UNKNOWN_ERROR: ::windows_sys::core::HRESULT = -1073415165i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const FACILITY_SL_ITF: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type FREE_CONTEXT_BUFFER_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+pub type FREE_CREDENTIALS_HANDLE_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT>;
+pub type ICcgDomainAuthCredentials = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ID_CAP_SLAPI: &str = "slapiQueryLicenseValue";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+pub type IMPERSONATE_SECURITY_CONTEXT_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
+pub type INIT_SECURITY_INTERFACE_A = ::core::option::Option<unsafe extern "system" fn() -> *mut SecurityFunctionTableA>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
+pub type INIT_SECURITY_INTERFACE_W = ::core::option::Option<unsafe extern "system" fn() -> *mut SecurityFunctionTableW>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_REQ_ALLOCATE_MEMORY: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_REQ_CALL_LEVEL: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_REQ_CONFIDENTIALITY: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_REQ_CONFIDENTIALITY_ONLY: u32 = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_REQ_CONNECTION: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_REQ_DATAGRAM: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_REQ_DEFERRED_CRED_VALIDATION: u64 = 8589934592u64;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_REQ_DELEGATE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_REQ_EXTENDED_ERROR: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_REQ_FORWARD_CREDENTIALS: u32 = 4194304u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_REQ_FRAGMENT_SUPPLIED: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_REQ_FRAGMENT_TO_FIT: u32 = 2097152u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_REQ_IDENTIFY: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_REQ_INTEGRITY: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_REQ_MANUAL_CRED_VALIDATION: u32 = 524288u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_REQ_MESSAGES: u64 = 4294967296u64;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_REQ_MUTUAL_AUTH: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_REQ_NO_INTEGRITY: u32 = 8388608u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_REQ_NULL_SESSION: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_REQ_PROMPT_FOR_CREDS: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_REQ_REPLAY_DETECT: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_REQ_RESERVED1: u32 = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_REQ_SEQUENCE_DETECT: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_REQ_STREAM: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_REQ_UNVERIFIED_TARGET_NAME: u32 = 536870912u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_REQ_USE_DCE_STYLE: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_REQ_USE_HTTP_STYLE: u32 = 16777216u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_REQ_USE_SESSION_KEY: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_REQ_USE_SUPPLIED_CREDS: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_RET_ALLOCATED_MEMORY: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_RET_CALL_LEVEL: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_RET_CONFIDENTIALITY: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_RET_CONFIDENTIALITY_ONLY: u32 = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_RET_CONNECTION: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_RET_DATAGRAM: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_RET_DEFERRED_CRED_VALIDATION: u64 = 8589934592u64;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_RET_DELEGATE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_RET_EXTENDED_ERROR: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_RET_FORWARD_CREDENTIALS: u32 = 4194304u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_RET_FRAGMENT_ONLY: u32 = 2097152u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_RET_IDENTIFY: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_RET_INTEGRITY: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_RET_INTERMEDIATE_RETURN: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_RET_MANUAL_CRED_VALIDATION: u32 = 524288u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_RET_MESSAGES: u64 = 4294967296u64;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_RET_MUTUAL_AUTH: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_RET_NO_ADDITIONAL_TOKEN: u32 = 33554432u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_RET_NULL_SESSION: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_RET_REAUTHENTICATION: u32 = 134217728u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_RET_REPLAY_DETECT: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_RET_RESERVED1: u32 = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_RET_SEQUENCE_DETECT: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_RET_STREAM: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_RET_USED_COLLECTED_CREDS: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_RET_USED_DCE_STYLE: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_RET_USED_HTTP_STYLE: u32 = 16777216u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_RET_USED_SUPPLIED_CREDS: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISC_RET_USE_SESSION_KEY: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISSP_LEVEL: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ISSP_MODE: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KDC_PROXY_CACHE_ENTRY_DATA {
+ pub SinceLastUsed: u64,
+ pub DomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub ProxyServerName: super::super::super::Foundation::UNICODE_STRING,
+ pub ProxyServerVdir: super::super::super::Foundation::UNICODE_STRING,
+ pub ProxyServerPort: u16,
+ pub LogonId: super::super::super::Foundation::LUID,
+ pub CredUserName: super::super::super::Foundation::UNICODE_STRING,
+ pub CredDomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub GlobalCache: super::super::super::Foundation::BOOLEAN,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KDC_PROXY_CACHE_ENTRY_DATA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KDC_PROXY_CACHE_ENTRY_DATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KDC_PROXY_SETTINGS_FLAGS_FORCEPROXY: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KDC_PROXY_SETTINGS_V1: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERBEROS_REVISION: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERBEROS_VERSION: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type KERB_ADDRESS_TYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const DS_INET_ADDRESS: KERB_ADDRESS_TYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const DS_NETBIOS_ADDRESS: KERB_ADDRESS_TYPE = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_ADD_BINDING_CACHE_ENTRY_EX_REQUEST {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub RealmName: super::super::super::Foundation::UNICODE_STRING,
+ pub KdcAddress: super::super::super::Foundation::UNICODE_STRING,
+ pub AddressType: KERB_ADDRESS_TYPE,
+ pub DcFlags: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_ADD_BINDING_CACHE_ENTRY_EX_REQUEST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_ADD_BINDING_CACHE_ENTRY_EX_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_ADD_BINDING_CACHE_ENTRY_REQUEST {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub RealmName: super::super::super::Foundation::UNICODE_STRING,
+ pub KdcAddress: super::super::super::Foundation::UNICODE_STRING,
+ pub AddressType: KERB_ADDRESS_TYPE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_ADD_BINDING_CACHE_ENTRY_REQUEST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_ADD_BINDING_CACHE_ENTRY_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_ADD_CREDENTIALS_REQUEST {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub UserName: super::super::super::Foundation::UNICODE_STRING,
+ pub DomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub Password: super::super::super::Foundation::UNICODE_STRING,
+ pub LogonId: super::super::super::Foundation::LUID,
+ pub Flags: KERB_REQUEST_FLAGS,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_ADD_CREDENTIALS_REQUEST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_ADD_CREDENTIALS_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_ADD_CREDENTIALS_REQUEST_EX {
+ pub Credentials: KERB_ADD_CREDENTIALS_REQUEST,
+ pub PrincipalNameCount: u32,
+ pub PrincipalNames: [super::super::super::Foundation::UNICODE_STRING; 1],
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_ADD_CREDENTIALS_REQUEST_EX {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_ADD_CREDENTIALS_REQUEST_EX {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct KERB_AUTH_DATA {
+ pub Type: u32,
+ pub Length: u32,
+ pub Data: *mut u8,
+}
+impl ::core::marker::Copy for KERB_AUTH_DATA {}
+impl ::core::clone::Clone for KERB_AUTH_DATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_BINDING_CACHE_ENTRY_DATA {
+ pub DiscoveryTime: u64,
+ pub RealmName: super::super::super::Foundation::UNICODE_STRING,
+ pub KdcAddress: super::super::super::Foundation::UNICODE_STRING,
+ pub AddressType: KERB_ADDRESS_TYPE,
+ pub Flags: u32,
+ pub DcFlags: u32,
+ pub CacheFlags: u32,
+ pub KdcName: super::super::super::Foundation::UNICODE_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_BINDING_CACHE_ENTRY_DATA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_BINDING_CACHE_ENTRY_DATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct KERB_CERTIFICATE_HASHINFO {
+ pub StoreNameLength: u16,
+ pub HashLength: u16,
+}
+impl ::core::marker::Copy for KERB_CERTIFICATE_HASHINFO {}
+impl ::core::clone::Clone for KERB_CERTIFICATE_HASHINFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct KERB_CERTIFICATE_INFO {
+ pub CertInfoSize: u32,
+ pub InfoType: u32,
+}
+impl ::core::marker::Copy for KERB_CERTIFICATE_INFO {}
+impl ::core::clone::Clone for KERB_CERTIFICATE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type KERB_CERTIFICATE_INFO_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const CertHashInfo: KERB_CERTIFICATE_INFO_TYPE = 1i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_CERTIFICATE_LOGON {
+ pub MessageType: KERB_LOGON_SUBMIT_TYPE,
+ pub DomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub UserName: super::super::super::Foundation::UNICODE_STRING,
+ pub Pin: super::super::super::Foundation::UNICODE_STRING,
+ pub Flags: u32,
+ pub CspDataLength: u32,
+ pub CspData: *mut u8,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_CERTIFICATE_LOGON {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_CERTIFICATE_LOGON {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_CERTIFICATE_LOGON_FLAG_CHECK_DUPLICATES: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_CERTIFICATE_LOGON_FLAG_USE_CERTIFICATE_INFO: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_CERTIFICATE_S4U_LOGON {
+ pub MessageType: KERB_LOGON_SUBMIT_TYPE,
+ pub Flags: u32,
+ pub UserPrincipalName: super::super::super::Foundation::UNICODE_STRING,
+ pub DomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub CertificateLength: u32,
+ pub Certificate: *mut u8,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_CERTIFICATE_S4U_LOGON {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_CERTIFICATE_S4U_LOGON {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_CERTIFICATE_S4U_LOGON_FLAG_CHECK_DUPLICATES: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_CERTIFICATE_S4U_LOGON_FLAG_CHECK_LOGONHOURS: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_CERTIFICATE_S4U_LOGON_FLAG_FAIL_IF_NT_AUTH_POLICY_REQUIRED: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_CERTIFICATE_S4U_LOGON_FLAG_IDENTIFY: u32 = 8u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_CERTIFICATE_UNLOCK_LOGON {
+ pub Logon: KERB_CERTIFICATE_LOGON,
+ pub LogonId: super::super::super::Foundation::LUID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_CERTIFICATE_UNLOCK_LOGON {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_CERTIFICATE_UNLOCK_LOGON {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_CHANGEPASSWORD_REQUEST {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub DomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub AccountName: super::super::super::Foundation::UNICODE_STRING,
+ pub OldPassword: super::super::super::Foundation::UNICODE_STRING,
+ pub NewPassword: super::super::super::Foundation::UNICODE_STRING,
+ pub Impersonating: super::super::super::Foundation::BOOLEAN,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_CHANGEPASSWORD_REQUEST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_CHANGEPASSWORD_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_CHECKSUM_CRC32: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_CHECKSUM_DES_MAC: i32 = -133i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_CHECKSUM_DES_MAC_MD5: i32 = -134i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_CHECKSUM_HMAC_MD5: i32 = -138i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_CHECKSUM_HMAC_SHA1_96_AES128: u32 = 15u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_CHECKSUM_HMAC_SHA1_96_AES128_Ki: i32 = -150i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_CHECKSUM_HMAC_SHA1_96_AES256: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_CHECKSUM_HMAC_SHA1_96_AES256_Ki: i32 = -151i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_CHECKSUM_KRB_DES_MAC: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_CHECKSUM_KRB_DES_MAC_K: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_CHECKSUM_LM: i32 = -130i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_CHECKSUM_MD25: i32 = -135i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_CHECKSUM_MD4: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_CHECKSUM_MD5: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_CHECKSUM_MD5_DES: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_CHECKSUM_MD5_HMAC: i32 = -137i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_CHECKSUM_NONE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_CHECKSUM_RC4_MD5: i32 = -136i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_CHECKSUM_REAL_CRC32: i32 = -132i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_CHECKSUM_SHA1: i32 = -131i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_CHECKSUM_SHA1_NEW: u32 = 14u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_CLEANUP_MACHINE_PKINIT_CREDS_REQUEST {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub LogonId: super::super::super::Foundation::LUID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_CLEANUP_MACHINE_PKINIT_CREDS_REQUEST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_CLEANUP_MACHINE_PKINIT_CREDS_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct KERB_CLOUD_KERBEROS_DEBUG_DATA_V0 {
+ pub _bitfield: i32,
+}
+impl ::core::marker::Copy for KERB_CLOUD_KERBEROS_DEBUG_DATA_V0 {}
+impl ::core::clone::Clone for KERB_CLOUD_KERBEROS_DEBUG_DATA_V0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_CLOUD_KERBEROS_DEBUG_DATA_VERSION: u32 = 0u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_CLOUD_KERBEROS_DEBUG_REQUEST {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub LogonId: super::super::super::Foundation::LUID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_CLOUD_KERBEROS_DEBUG_REQUEST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_CLOUD_KERBEROS_DEBUG_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct KERB_CLOUD_KERBEROS_DEBUG_RESPONSE {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub Version: u32,
+ pub Length: u32,
+ pub Data: [u32; 1],
+}
+impl ::core::marker::Copy for KERB_CLOUD_KERBEROS_DEBUG_RESPONSE {}
+impl ::core::clone::Clone for KERB_CLOUD_KERBEROS_DEBUG_RESPONSE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct KERB_CRYPTO_KEY {
+ pub KeyType: KERB_CRYPTO_KEY_TYPE,
+ pub Length: u32,
+ pub Value: *mut u8,
+}
+impl ::core::marker::Copy for KERB_CRYPTO_KEY {}
+impl ::core::clone::Clone for KERB_CRYPTO_KEY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct KERB_CRYPTO_KEY32 {
+ pub KeyType: i32,
+ pub Length: u32,
+ pub Offset: u32,
+}
+impl ::core::marker::Copy for KERB_CRYPTO_KEY32 {}
+impl ::core::clone::Clone for KERB_CRYPTO_KEY32 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type KERB_CRYPTO_KEY_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_DES_CBC_CRC: KERB_CRYPTO_KEY_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_DES_CBC_MD4: KERB_CRYPTO_KEY_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_DES_CBC_MD5: KERB_CRYPTO_KEY_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_NULL: KERB_CRYPTO_KEY_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_RC4_HMAC_NT: KERB_CRYPTO_KEY_TYPE = 23i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_RC4_MD4: KERB_CRYPTO_KEY_TYPE = -128i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_DECRYPT_FLAG_DEFAULT_KEY: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_DECRYPT_REQUEST {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub LogonId: super::super::super::Foundation::LUID,
+ pub Flags: u32,
+ pub CryptoType: i32,
+ pub KeyUsage: i32,
+ pub Key: KERB_CRYPTO_KEY,
+ pub EncryptedDataSize: u32,
+ pub InitialVectorSize: u32,
+ pub InitialVector: *mut u8,
+ pub EncryptedData: *mut u8,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_DECRYPT_REQUEST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_DECRYPT_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct KERB_DECRYPT_RESPONSE {
+ pub DecryptedData: [u8; 1],
+}
+impl ::core::marker::Copy for KERB_DECRYPT_RESPONSE {}
+impl ::core::clone::Clone for KERB_DECRYPT_RESPONSE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_AES128_CTS_HMAC_SHA1_96: u32 = 17u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_AES128_CTS_HMAC_SHA1_96_PLAIN: i32 = -148i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_AES256_CTS_HMAC_SHA1_96: u32 = 18u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_AES256_CTS_HMAC_SHA1_96_PLAIN: i32 = -149i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_DEFAULT: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_DES3_CBC_MD5: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_DES3_CBC_SHA1: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_DES3_CBC_SHA1_KD: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_DES_CBC_MD5_NT: u32 = 20u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_DES_EDE3_CBC_ENV: u32 = 15u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_DES_PLAIN: i32 = -132i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_DSA_SHA1_CMS: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_DSA_SIGN: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_PKCS7_PUB: u32 = 13u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_RC2_CBC_ENV: u32 = 12u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_RC4_HMAC_NT_EXP: u32 = 24u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_RC4_HMAC_OLD: i32 = -133i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_RC4_HMAC_OLD_EXP: i32 = -135i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_RC4_LM: i32 = -130i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_RC4_PLAIN: i32 = -140i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_RC4_PLAIN2: i32 = -129i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_RC4_PLAIN_EXP: i32 = -141i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_RC4_PLAIN_OLD: i32 = -134i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_RC4_PLAIN_OLD_EXP: i32 = -136i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_RC4_SHA: i32 = -131i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_RSA_ENV: u32 = 13u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_RSA_ES_OEAP_ENV: u32 = 14u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_RSA_MD5_CMS: u32 = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_RSA_PRIV: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_RSA_PUB: u32 = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_RSA_PUB_MD5: u32 = 11u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_RSA_PUB_SHA1: u32 = 12u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_ETYPE_RSA_SHA1_CMS: u32 = 11u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_EXTERNAL_NAME {
+ pub NameType: i16,
+ pub NameCount: u16,
+ pub Names: [super::super::super::Foundation::UNICODE_STRING; 1],
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_EXTERNAL_NAME {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_EXTERNAL_NAME {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_EXTERNAL_TICKET {
+ pub ServiceName: *mut KERB_EXTERNAL_NAME,
+ pub TargetName: *mut KERB_EXTERNAL_NAME,
+ pub ClientName: *mut KERB_EXTERNAL_NAME,
+ pub DomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub TargetDomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub AltTargetDomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub SessionKey: KERB_CRYPTO_KEY,
+ pub TicketFlags: KERB_TICKET_FLAGS,
+ pub Flags: u32,
+ pub KeyExpirationTime: i64,
+ pub StartTime: i64,
+ pub EndTime: i64,
+ pub RenewUntil: i64,
+ pub TimeSkew: i64,
+ pub EncodedTicketSize: u32,
+ pub EncodedTicket: *mut u8,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_EXTERNAL_TICKET {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_EXTERNAL_TICKET {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_INTERACTIVE_LOGON {
+ pub MessageType: KERB_LOGON_SUBMIT_TYPE,
+ pub LogonDomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub UserName: super::super::super::Foundation::UNICODE_STRING,
+ pub Password: super::super::super::Foundation::UNICODE_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_INTERACTIVE_LOGON {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_INTERACTIVE_LOGON {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_INTERACTIVE_PROFILE {
+ pub MessageType: KERB_PROFILE_BUFFER_TYPE,
+ pub LogonCount: u16,
+ pub BadPasswordCount: u16,
+ pub LogonTime: i64,
+ pub LogoffTime: i64,
+ pub KickOffTime: i64,
+ pub PasswordLastSet: i64,
+ pub PasswordCanChange: i64,
+ pub PasswordMustChange: i64,
+ pub LogonScript: super::super::super::Foundation::UNICODE_STRING,
+ pub HomeDirectory: super::super::super::Foundation::UNICODE_STRING,
+ pub FullName: super::super::super::Foundation::UNICODE_STRING,
+ pub ProfilePath: super::super::super::Foundation::UNICODE_STRING,
+ pub HomeDirectoryDrive: super::super::super::Foundation::UNICODE_STRING,
+ pub LogonServer: super::super::super::Foundation::UNICODE_STRING,
+ pub UserFlags: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_INTERACTIVE_PROFILE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_INTERACTIVE_PROFILE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_INTERACTIVE_UNLOCK_LOGON {
+ pub Logon: KERB_INTERACTIVE_LOGON,
+ pub LogonId: super::super::super::Foundation::LUID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_INTERACTIVE_UNLOCK_LOGON {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_INTERACTIVE_UNLOCK_LOGON {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_LOGON_FLAG_ALLOW_EXPIRED_TICKET: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_LOGON_FLAG_REDIRECTED: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type KERB_LOGON_SUBMIT_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbInteractiveLogon: KERB_LOGON_SUBMIT_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbSmartCardLogon: KERB_LOGON_SUBMIT_TYPE = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbWorkstationUnlockLogon: KERB_LOGON_SUBMIT_TYPE = 7i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbSmartCardUnlockLogon: KERB_LOGON_SUBMIT_TYPE = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbProxyLogon: KERB_LOGON_SUBMIT_TYPE = 9i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbTicketLogon: KERB_LOGON_SUBMIT_TYPE = 10i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbTicketUnlockLogon: KERB_LOGON_SUBMIT_TYPE = 11i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbS4ULogon: KERB_LOGON_SUBMIT_TYPE = 12i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbCertificateLogon: KERB_LOGON_SUBMIT_TYPE = 13i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbCertificateS4ULogon: KERB_LOGON_SUBMIT_TYPE = 14i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbCertificateUnlockLogon: KERB_LOGON_SUBMIT_TYPE = 15i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbNoElevationLogon: KERB_LOGON_SUBMIT_TYPE = 83i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbLuidLogon: KERB_LOGON_SUBMIT_TYPE = 84i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct KERB_NET_ADDRESS {
+ pub Family: u32,
+ pub Length: u32,
+ pub Address: ::windows_sys::core::PSTR,
+}
+impl ::core::marker::Copy for KERB_NET_ADDRESS {}
+impl ::core::clone::Clone for KERB_NET_ADDRESS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct KERB_NET_ADDRESSES {
+ pub Number: u32,
+ pub Addresses: [KERB_NET_ADDRESS; 1],
+}
+impl ::core::marker::Copy for KERB_NET_ADDRESSES {}
+impl ::core::clone::Clone for KERB_NET_ADDRESSES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type KERB_PROFILE_BUFFER_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbInteractiveProfile: KERB_PROFILE_BUFFER_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbSmartCardProfile: KERB_PROFILE_BUFFER_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbTicketProfile: KERB_PROFILE_BUFFER_TYPE = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type KERB_PROTOCOL_MESSAGE_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbDebugRequestMessage: KERB_PROTOCOL_MESSAGE_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbQueryTicketCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbChangeMachinePasswordMessage: KERB_PROTOCOL_MESSAGE_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbVerifyPacMessage: KERB_PROTOCOL_MESSAGE_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbRetrieveTicketMessage: KERB_PROTOCOL_MESSAGE_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbUpdateAddressesMessage: KERB_PROTOCOL_MESSAGE_TYPE = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbPurgeTicketCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbChangePasswordMessage: KERB_PROTOCOL_MESSAGE_TYPE = 7i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbRetrieveEncodedTicketMessage: KERB_PROTOCOL_MESSAGE_TYPE = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbDecryptDataMessage: KERB_PROTOCOL_MESSAGE_TYPE = 9i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbAddBindingCacheEntryMessage: KERB_PROTOCOL_MESSAGE_TYPE = 10i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbSetPasswordMessage: KERB_PROTOCOL_MESSAGE_TYPE = 11i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbSetPasswordExMessage: KERB_PROTOCOL_MESSAGE_TYPE = 12i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbVerifyCredentialsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 13i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbQueryTicketCacheExMessage: KERB_PROTOCOL_MESSAGE_TYPE = 14i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbPurgeTicketCacheExMessage: KERB_PROTOCOL_MESSAGE_TYPE = 15i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbRefreshSmartcardCredentialsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 16i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbAddExtraCredentialsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 17i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbQuerySupplementalCredentialsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 18i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbTransferCredentialsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 19i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbQueryTicketCacheEx2Message: KERB_PROTOCOL_MESSAGE_TYPE = 20i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbSubmitTicketMessage: KERB_PROTOCOL_MESSAGE_TYPE = 21i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbAddExtraCredentialsExMessage: KERB_PROTOCOL_MESSAGE_TYPE = 22i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbQueryKdcProxyCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 23i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbPurgeKdcProxyCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 24i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbQueryTicketCacheEx3Message: KERB_PROTOCOL_MESSAGE_TYPE = 25i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbCleanupMachinePkinitCredsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 26i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbAddBindingCacheEntryExMessage: KERB_PROTOCOL_MESSAGE_TYPE = 27i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbQueryBindingCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 28i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbPurgeBindingCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 29i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbPinKdcMessage: KERB_PROTOCOL_MESSAGE_TYPE = 30i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbUnpinAllKdcsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 31i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbQueryDomainExtendedPoliciesMessage: KERB_PROTOCOL_MESSAGE_TYPE = 32i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbQueryS4U2ProxyCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 33i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbRetrieveKeyTabMessage: KERB_PROTOCOL_MESSAGE_TYPE = 34i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbRefreshPolicyMessage: KERB_PROTOCOL_MESSAGE_TYPE = 35i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KerbPrintCloudKerberosDebugMessage: KERB_PROTOCOL_MESSAGE_TYPE = 36i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_PURGE_ALL_TICKETS: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct KERB_PURGE_BINDING_CACHE_REQUEST {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+}
+impl ::core::marker::Copy for KERB_PURGE_BINDING_CACHE_REQUEST {}
+impl ::core::clone::Clone for KERB_PURGE_BINDING_CACHE_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_PURGE_KDC_PROXY_CACHE_REQUEST {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub Flags: u32,
+ pub LogonId: super::super::super::Foundation::LUID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_PURGE_KDC_PROXY_CACHE_REQUEST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_PURGE_KDC_PROXY_CACHE_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct KERB_PURGE_KDC_PROXY_CACHE_RESPONSE {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub CountOfPurged: u32,
+}
+impl ::core::marker::Copy for KERB_PURGE_KDC_PROXY_CACHE_RESPONSE {}
+impl ::core::clone::Clone for KERB_PURGE_KDC_PROXY_CACHE_RESPONSE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_PURGE_TKT_CACHE_EX_REQUEST {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub LogonId: super::super::super::Foundation::LUID,
+ pub Flags: u32,
+ pub TicketTemplate: KERB_TICKET_CACHE_INFO_EX,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_PURGE_TKT_CACHE_EX_REQUEST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_PURGE_TKT_CACHE_EX_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_PURGE_TKT_CACHE_REQUEST {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub LogonId: super::super::super::Foundation::LUID,
+ pub ServerName: super::super::super::Foundation::UNICODE_STRING,
+ pub RealmName: super::super::super::Foundation::UNICODE_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_PURGE_TKT_CACHE_REQUEST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_PURGE_TKT_CACHE_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct KERB_QUERY_BINDING_CACHE_REQUEST {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+}
+impl ::core::marker::Copy for KERB_QUERY_BINDING_CACHE_REQUEST {}
+impl ::core::clone::Clone for KERB_QUERY_BINDING_CACHE_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_QUERY_BINDING_CACHE_RESPONSE {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub CountOfEntries: u32,
+ pub Entries: *mut KERB_BINDING_CACHE_ENTRY_DATA,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_QUERY_BINDING_CACHE_RESPONSE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_QUERY_BINDING_CACHE_RESPONSE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_QUERY_DOMAIN_EXTENDED_POLICIES_REQUEST {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub Flags: u32,
+ pub DomainName: super::super::super::Foundation::UNICODE_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_QUERY_DOMAIN_EXTENDED_POLICIES_REQUEST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_QUERY_DOMAIN_EXTENDED_POLICIES_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct KERB_QUERY_DOMAIN_EXTENDED_POLICIES_RESPONSE {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub Flags: u32,
+ pub ExtendedPolicies: u32,
+ pub DsFlags: u32,
+}
+impl ::core::marker::Copy for KERB_QUERY_DOMAIN_EXTENDED_POLICIES_RESPONSE {}
+impl ::core::clone::Clone for KERB_QUERY_DOMAIN_EXTENDED_POLICIES_RESPONSE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_QUERY_DOMAIN_EXTENDED_POLICIES_RESPONSE_FLAG_DAC_DISABLED: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_QUERY_KDC_PROXY_CACHE_REQUEST {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub Flags: u32,
+ pub LogonId: super::super::super::Foundation::LUID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_QUERY_KDC_PROXY_CACHE_REQUEST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_QUERY_KDC_PROXY_CACHE_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_QUERY_KDC_PROXY_CACHE_RESPONSE {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub CountOfEntries: u32,
+ pub Entries: *mut KDC_PROXY_CACHE_ENTRY_DATA,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_QUERY_KDC_PROXY_CACHE_RESPONSE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_QUERY_KDC_PROXY_CACHE_RESPONSE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_QUERY_S4U2PROXY_CACHE_REQUEST {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub Flags: u32,
+ pub LogonId: super::super::super::Foundation::LUID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_QUERY_S4U2PROXY_CACHE_REQUEST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_QUERY_S4U2PROXY_CACHE_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_QUERY_S4U2PROXY_CACHE_RESPONSE {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub CountOfCreds: u32,
+ pub Creds: *mut KERB_S4U2PROXY_CRED,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_QUERY_S4U2PROXY_CACHE_RESPONSE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_QUERY_S4U2PROXY_CACHE_RESPONSE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_QUERY_TKT_CACHE_EX2_RESPONSE {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub CountOfTickets: u32,
+ pub Tickets: [KERB_TICKET_CACHE_INFO_EX2; 1],
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_QUERY_TKT_CACHE_EX2_RESPONSE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_QUERY_TKT_CACHE_EX2_RESPONSE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_QUERY_TKT_CACHE_EX3_RESPONSE {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub CountOfTickets: u32,
+ pub Tickets: [KERB_TICKET_CACHE_INFO_EX3; 1],
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_QUERY_TKT_CACHE_EX3_RESPONSE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_QUERY_TKT_CACHE_EX3_RESPONSE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_QUERY_TKT_CACHE_EX_RESPONSE {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub CountOfTickets: u32,
+ pub Tickets: [KERB_TICKET_CACHE_INFO_EX; 1],
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_QUERY_TKT_CACHE_EX_RESPONSE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_QUERY_TKT_CACHE_EX_RESPONSE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_QUERY_TKT_CACHE_REQUEST {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub LogonId: super::super::super::Foundation::LUID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_QUERY_TKT_CACHE_REQUEST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_QUERY_TKT_CACHE_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_QUERY_TKT_CACHE_RESPONSE {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub CountOfTickets: u32,
+ pub Tickets: [KERB_TICKET_CACHE_INFO; 1],
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_QUERY_TKT_CACHE_RESPONSE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_QUERY_TKT_CACHE_RESPONSE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_REFRESH_POLICY_KDC: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_REFRESH_POLICY_KERBEROS: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct KERB_REFRESH_POLICY_REQUEST {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub Flags: u32,
+}
+impl ::core::marker::Copy for KERB_REFRESH_POLICY_REQUEST {}
+impl ::core::clone::Clone for KERB_REFRESH_POLICY_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct KERB_REFRESH_POLICY_RESPONSE {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub Flags: u32,
+}
+impl ::core::marker::Copy for KERB_REFRESH_POLICY_RESPONSE {}
+impl ::core::clone::Clone for KERB_REFRESH_POLICY_RESPONSE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_REFRESH_SCCRED_GETTGT: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_REFRESH_SCCRED_RELEASE: u32 = 0u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_REFRESH_SCCRED_REQUEST {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub CredentialBlob: super::super::super::Foundation::UNICODE_STRING,
+ pub LogonId: super::super::super::Foundation::LUID,
+ pub Flags: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_REFRESH_SCCRED_REQUEST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_REFRESH_SCCRED_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type KERB_REQUEST_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_REQUEST_ADD_CREDENTIAL: KERB_REQUEST_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_REQUEST_REPLACE_CREDENTIAL: KERB_REQUEST_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_REQUEST_REMOVE_CREDENTIAL: KERB_REQUEST_FLAGS = 4u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_RETRIEVE_KEY_TAB_REQUEST {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub Flags: u32,
+ pub UserName: super::super::super::Foundation::UNICODE_STRING,
+ pub DomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub Password: super::super::super::Foundation::UNICODE_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_RETRIEVE_KEY_TAB_REQUEST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_RETRIEVE_KEY_TAB_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct KERB_RETRIEVE_KEY_TAB_RESPONSE {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub KeyTabLength: u32,
+ pub KeyTab: *mut u8,
+}
+impl ::core::marker::Copy for KERB_RETRIEVE_KEY_TAB_RESPONSE {}
+impl ::core::clone::Clone for KERB_RETRIEVE_KEY_TAB_RESPONSE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_RETRIEVE_TICKET_AS_KERB_CRED: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_RETRIEVE_TICKET_CACHE_TICKET: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_RETRIEVE_TICKET_DEFAULT: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_RETRIEVE_TICKET_DONT_USE_CACHE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_RETRIEVE_TICKET_MAX_LIFETIME: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_RETRIEVE_TICKET_USE_CACHE_ONLY: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_RETRIEVE_TICKET_USE_CREDHANDLE: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_RETRIEVE_TICKET_WITH_SEC_CRED: u32 = 16u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
+pub struct KERB_RETRIEVE_TKT_REQUEST {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub LogonId: super::super::super::Foundation::LUID,
+ pub TargetName: super::super::super::Foundation::UNICODE_STRING,
+ pub TicketFlags: u32,
+ pub CacheOptions: u32,
+ pub EncryptionType: KERB_CRYPTO_KEY_TYPE,
+ pub CredentialsHandle: super::super::Credentials::SecHandle,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
+impl ::core::marker::Copy for KERB_RETRIEVE_TKT_REQUEST {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
+impl ::core::clone::Clone for KERB_RETRIEVE_TKT_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_RETRIEVE_TKT_RESPONSE {
+ pub Ticket: KERB_EXTERNAL_TICKET,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_RETRIEVE_TKT_RESPONSE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_RETRIEVE_TKT_RESPONSE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_S4U2PROXY_CACHE_ENTRY_INFO {
+ pub ServerName: super::super::super::Foundation::UNICODE_STRING,
+ pub Flags: u32,
+ pub LastStatus: super::super::super::Foundation::NTSTATUS,
+ pub Expiry: i64,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_S4U2PROXY_CACHE_ENTRY_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_S4U2PROXY_CACHE_ENTRY_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_S4U2PROXY_CACHE_ENTRY_INFO_FLAG_NEGATIVE: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_S4U2PROXY_CRED {
+ pub UserName: super::super::super::Foundation::UNICODE_STRING,
+ pub DomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub Flags: u32,
+ pub LastStatus: super::super::super::Foundation::NTSTATUS,
+ pub Expiry: i64,
+ pub CountOfEntries: u32,
+ pub Entries: *mut KERB_S4U2PROXY_CACHE_ENTRY_INFO,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_S4U2PROXY_CRED {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_S4U2PROXY_CRED {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_S4U2PROXY_CRED_FLAG_NEGATIVE: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_S4U_LOGON {
+ pub MessageType: KERB_LOGON_SUBMIT_TYPE,
+ pub Flags: u32,
+ pub ClientUpn: super::super::super::Foundation::UNICODE_STRING,
+ pub ClientRealm: super::super::super::Foundation::UNICODE_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_S4U_LOGON {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_S4U_LOGON {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_S4U_LOGON_FLAG_CHECK_LOGONHOURS: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_S4U_LOGON_FLAG_IDENTIFY: u32 = 8u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
+pub struct KERB_SETPASSWORD_EX_REQUEST {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub LogonId: super::super::super::Foundation::LUID,
+ pub CredentialsHandle: super::super::Credentials::SecHandle,
+ pub Flags: u32,
+ pub AccountRealm: super::super::super::Foundation::UNICODE_STRING,
+ pub AccountName: super::super::super::Foundation::UNICODE_STRING,
+ pub Password: super::super::super::Foundation::UNICODE_STRING,
+ pub ClientRealm: super::super::super::Foundation::UNICODE_STRING,
+ pub ClientName: super::super::super::Foundation::UNICODE_STRING,
+ pub Impersonating: super::super::super::Foundation::BOOLEAN,
+ pub KdcAddress: super::super::super::Foundation::UNICODE_STRING,
+ pub KdcAddressType: u32,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
+impl ::core::marker::Copy for KERB_SETPASSWORD_EX_REQUEST {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
+impl ::core::clone::Clone for KERB_SETPASSWORD_EX_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
+pub struct KERB_SETPASSWORD_REQUEST {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub LogonId: super::super::super::Foundation::LUID,
+ pub CredentialsHandle: super::super::Credentials::SecHandle,
+ pub Flags: u32,
+ pub DomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub AccountName: super::super::super::Foundation::UNICODE_STRING,
+ pub Password: super::super::super::Foundation::UNICODE_STRING,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
+impl ::core::marker::Copy for KERB_SETPASSWORD_REQUEST {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
+impl ::core::clone::Clone for KERB_SETPASSWORD_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_SETPASS_USE_CREDHANDLE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_SETPASS_USE_LOGONID: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_SMART_CARD_LOGON {
+ pub MessageType: KERB_LOGON_SUBMIT_TYPE,
+ pub Pin: super::super::super::Foundation::UNICODE_STRING,
+ pub CspDataLength: u32,
+ pub CspData: *mut u8,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_SMART_CARD_LOGON {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_SMART_CARD_LOGON {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_SMART_CARD_PROFILE {
+ pub Profile: KERB_INTERACTIVE_PROFILE,
+ pub CertificateSize: u32,
+ pub CertificateData: *mut u8,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_SMART_CARD_PROFILE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_SMART_CARD_PROFILE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_SMART_CARD_UNLOCK_LOGON {
+ pub Logon: KERB_SMART_CARD_LOGON,
+ pub LogonId: super::super::super::Foundation::LUID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_SMART_CARD_UNLOCK_LOGON {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_SMART_CARD_UNLOCK_LOGON {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_SUBMIT_TKT_REQUEST {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub LogonId: super::super::super::Foundation::LUID,
+ pub Flags: u32,
+ pub Key: KERB_CRYPTO_KEY32,
+ pub KerbCredSize: u32,
+ pub KerbCredOffset: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_SUBMIT_TKT_REQUEST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_SUBMIT_TKT_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_TICKET_CACHE_INFO {
+ pub ServerName: super::super::super::Foundation::UNICODE_STRING,
+ pub RealmName: super::super::super::Foundation::UNICODE_STRING,
+ pub StartTime: i64,
+ pub EndTime: i64,
+ pub RenewTime: i64,
+ pub EncryptionType: i32,
+ pub TicketFlags: KERB_TICKET_FLAGS,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_TICKET_CACHE_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_TICKET_CACHE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_TICKET_CACHE_INFO_EX {
+ pub ClientName: super::super::super::Foundation::UNICODE_STRING,
+ pub ClientRealm: super::super::super::Foundation::UNICODE_STRING,
+ pub ServerName: super::super::super::Foundation::UNICODE_STRING,
+ pub ServerRealm: super::super::super::Foundation::UNICODE_STRING,
+ pub StartTime: i64,
+ pub EndTime: i64,
+ pub RenewTime: i64,
+ pub EncryptionType: i32,
+ pub TicketFlags: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_TICKET_CACHE_INFO_EX {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_TICKET_CACHE_INFO_EX {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_TICKET_CACHE_INFO_EX2 {
+ pub ClientName: super::super::super::Foundation::UNICODE_STRING,
+ pub ClientRealm: super::super::super::Foundation::UNICODE_STRING,
+ pub ServerName: super::super::super::Foundation::UNICODE_STRING,
+ pub ServerRealm: super::super::super::Foundation::UNICODE_STRING,
+ pub StartTime: i64,
+ pub EndTime: i64,
+ pub RenewTime: i64,
+ pub EncryptionType: i32,
+ pub TicketFlags: u32,
+ pub SessionKeyType: u32,
+ pub BranchId: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_TICKET_CACHE_INFO_EX2 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_TICKET_CACHE_INFO_EX2 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_TICKET_CACHE_INFO_EX3 {
+ pub ClientName: super::super::super::Foundation::UNICODE_STRING,
+ pub ClientRealm: super::super::super::Foundation::UNICODE_STRING,
+ pub ServerName: super::super::super::Foundation::UNICODE_STRING,
+ pub ServerRealm: super::super::super::Foundation::UNICODE_STRING,
+ pub StartTime: i64,
+ pub EndTime: i64,
+ pub RenewTime: i64,
+ pub EncryptionType: i32,
+ pub TicketFlags: u32,
+ pub SessionKeyType: u32,
+ pub BranchId: u32,
+ pub CacheFlags: u32,
+ pub KdcCalled: super::super::super::Foundation::UNICODE_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_TICKET_CACHE_INFO_EX3 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_TICKET_CACHE_INFO_EX3 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type KERB_TICKET_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_TICKET_FLAGS_forwardable: KERB_TICKET_FLAGS = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_TICKET_FLAGS_forwarded: KERB_TICKET_FLAGS = 536870912u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_TICKET_FLAGS_hw_authent: KERB_TICKET_FLAGS = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_TICKET_FLAGS_initial: KERB_TICKET_FLAGS = 4194304u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_TICKET_FLAGS_invalid: KERB_TICKET_FLAGS = 16777216u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_TICKET_FLAGS_may_postdate: KERB_TICKET_FLAGS = 67108864u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_TICKET_FLAGS_ok_as_delegate: KERB_TICKET_FLAGS = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_TICKET_FLAGS_postdated: KERB_TICKET_FLAGS = 33554432u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_TICKET_FLAGS_pre_authent: KERB_TICKET_FLAGS = 2097152u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_TICKET_FLAGS_proxiable: KERB_TICKET_FLAGS = 268435456u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_TICKET_FLAGS_proxy: KERB_TICKET_FLAGS = 134217728u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_TICKET_FLAGS_renewable: KERB_TICKET_FLAGS = 8388608u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_TICKET_FLAGS_reserved: KERB_TICKET_FLAGS = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_TICKET_FLAGS_reserved1: KERB_TICKET_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_TICKET_FLAGS_cname_in_pa_data: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_TICKET_FLAGS_enc_pa_rep: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_TICKET_FLAGS_name_canonicalize: u32 = 65536u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct KERB_TICKET_LOGON {
+ pub MessageType: KERB_LOGON_SUBMIT_TYPE,
+ pub Flags: u32,
+ pub ServiceTicketLength: u32,
+ pub TicketGrantingTicketLength: u32,
+ pub ServiceTicket: *mut u8,
+ pub TicketGrantingTicket: *mut u8,
+}
+impl ::core::marker::Copy for KERB_TICKET_LOGON {}
+impl ::core::clone::Clone for KERB_TICKET_LOGON {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_TICKET_PROFILE {
+ pub Profile: KERB_INTERACTIVE_PROFILE,
+ pub SessionKey: KERB_CRYPTO_KEY,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_TICKET_PROFILE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_TICKET_PROFILE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_TICKET_UNLOCK_LOGON {
+ pub Logon: KERB_TICKET_LOGON,
+ pub LogonId: super::super::super::Foundation::LUID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_TICKET_UNLOCK_LOGON {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_TICKET_UNLOCK_LOGON {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_TRANSFER_CRED_CLEANUP_CREDENTIALS: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct KERB_TRANSFER_CRED_REQUEST {
+ pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE,
+ pub OriginLogonId: super::super::super::Foundation::LUID,
+ pub DestinationLogonId: super::super::super::Foundation::LUID,
+ pub Flags: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for KERB_TRANSFER_CRED_REQUEST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for KERB_TRANSFER_CRED_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_TRANSFER_CRED_WITH_TICKETS: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_USE_DEFAULT_TICKET_FLAGS: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERB_WRAP_NO_ENCRYPT: u32 = 2147483649u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KERN_CONTEXT_CERT_INFO_V1: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KRB_ANONYMOUS_STRING: &str = "ANONYMOUS";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KRB_NT_ENTERPRISE_PRINCIPAL: u32 = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KRB_NT_ENT_PRINCIPAL_AND_ID: i32 = -130i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KRB_NT_MS_BRANCH_ID: i32 = -133i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KRB_NT_MS_PRINCIPAL: i32 = -128i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KRB_NT_MS_PRINCIPAL_AND_ID: i32 = -129i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KRB_NT_PRINCIPAL: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KRB_NT_PRINCIPAL_AND_ID: i32 = -131i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KRB_NT_SRV_HST: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KRB_NT_SRV_INST: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KRB_NT_SRV_INST_AND_ID: i32 = -132i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KRB_NT_SRV_XHST: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KRB_NT_UID: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KRB_NT_UNKNOWN: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KRB_NT_WELLKNOWN: u32 = 11u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KRB_NT_X500_PRINCIPAL: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KRB_WELLKNOWN_STRING: &str = "WELLKNOWN";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type KSEC_CONTEXT_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KSecPaged: KSEC_CONTEXT_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const KSecNonPaged: KSEC_CONTEXT_TYPE = 1i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_System_Kernel\"`*"]
+#[cfg(feature = "Win32_System_Kernel")]
+pub struct KSEC_LIST_ENTRY {
+ pub List: super::super::super::System::Kernel::LIST_ENTRY,
+ pub RefCount: i32,
+ pub Signature: u32,
+ pub OwningList: *mut ::core::ffi::c_void,
+ pub Reserved: *mut ::core::ffi::c_void,
+}
+#[cfg(feature = "Win32_System_Kernel")]
+impl ::core::marker::Copy for KSEC_LIST_ENTRY {}
+#[cfg(feature = "Win32_System_Kernel")]
+impl ::core::clone::Clone for KSEC_LIST_ENTRY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type KspCompleteTokenFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, token: *const SecBufferDesc) -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type KspDeleteContextFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, lsacontextid: *mut usize) -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type KspInitContextFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, contextdata: *const SecBuffer, newcontextid: *mut usize) -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
+pub type KspInitPackageFn = ::core::option::Option<unsafe extern "system" fn(functiontable: *const SECPKG_KERNEL_FUNCTIONS) -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type KspMakeSignatureFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, fqop: u32, message: *const SecBufferDesc, messageseqno: u32) -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type KspMapHandleFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, lsacontextid: *mut usize) -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type KspSealMessageFn = ::core::option::Option<unsafe extern "system" fn(contextid: usize, fqop: u32, message: *const SecBufferDesc, messageseqno: u32) -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type KspSetPagingModeFn = ::core::option::Option<unsafe extern "system" fn(pagingmode: super::super::super::Foundation::BOOLEAN) -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LCRED_CRED_EXISTS: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LCRED_STATUS_NOCRED: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LCRED_STATUS_UNKNOWN_ISSUER: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LOGON_GRACE_LOGON: u32 = 16777216u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct LOGON_HOURS {
+ pub UnitsPerWeek: u16,
+ pub LogonHours: *mut u8,
+}
+impl ::core::marker::Copy for LOGON_HOURS {}
+impl ::core::clone::Clone for LOGON_HOURS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LOGON_LM_V2: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LOGON_MANAGED_SERVICE: u32 = 524288u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LOGON_NO_ELEVATION: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LOGON_NO_OPTIMIZED: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LOGON_NTLMV2_ENABLED: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LOGON_NTLM_V2: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LOGON_NT_V2: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LOGON_OPTIMIZED: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LOGON_PKINIT: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LOGON_WINLOGON: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LOOKUP_TRANSLATE_NAMES: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LOOKUP_VIEW_LOCAL_INFORMATION: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSASETCAPS_RELOAD_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSASETCAPS_VALID_FLAG_MASK: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_ADT_LEGACY_SECURITY_SOURCE_NAME: &str = "Security";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_ADT_SECURITY_SOURCE_NAME: &str = "Microsoft-Windows-Security-Auditing";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_AP_NAME_CALL_PACKAGE: &str = "LsaApCallPackage\u{0}";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_AP_NAME_CALL_PACKAGE_PASSTHROUGH: &str = "LsaApCallPackagePassthrough\u{0}";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_AP_NAME_CALL_PACKAGE_UNTRUSTED: &str = "LsaApCallPackageUntrusted\u{0}";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_AP_NAME_INITIALIZE_PACKAGE: &str = "LsaApInitializePackage\u{0}";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_AP_NAME_LOGON_TERMINATED: &str = "LsaApLogonTerminated\u{0}";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_AP_NAME_LOGON_USER: &str = "LsaApLogonUser\u{0}";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_AP_NAME_LOGON_USER_EX: &str = "LsaApLogonUserEx\u{0}";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_AP_NAME_LOGON_USER_EX2: &str = "LsaApLogonUserEx2\u{0}";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct LSA_AUTH_INFORMATION {
+ pub LastUpdateTime: i64,
+ pub AuthType: LSA_AUTH_INFORMATION_AUTH_TYPE,
+ pub AuthInfoLength: u32,
+ pub AuthInfo: *mut u8,
+}
+impl ::core::marker::Copy for LSA_AUTH_INFORMATION {}
+impl ::core::clone::Clone for LSA_AUTH_INFORMATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type LSA_AUTH_INFORMATION_AUTH_TYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUST_AUTH_TYPE_NONE: LSA_AUTH_INFORMATION_AUTH_TYPE = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUST_AUTH_TYPE_NT4OWF: LSA_AUTH_INFORMATION_AUTH_TYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUST_AUTH_TYPE_CLEAR: LSA_AUTH_INFORMATION_AUTH_TYPE = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUST_AUTH_TYPE_VERSION: LSA_AUTH_INFORMATION_AUTH_TYPE = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_CALL_LICENSE_SERVER: u32 = 2147483648u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
+pub struct LSA_DISPATCH_TABLE {
+ pub CreateLogonSession: PLSA_CREATE_LOGON_SESSION,
+ pub DeleteLogonSession: PLSA_DELETE_LOGON_SESSION,
+ pub AddCredential: PLSA_ADD_CREDENTIAL,
+ pub GetCredentials: PLSA_GET_CREDENTIALS,
+ pub DeleteCredential: PLSA_DELETE_CREDENTIAL,
+ pub AllocateLsaHeap: PLSA_ALLOCATE_LSA_HEAP,
+ pub FreeLsaHeap: PLSA_FREE_LSA_HEAP,
+ pub AllocateClientBuffer: PLSA_ALLOCATE_CLIENT_BUFFER,
+ pub FreeClientBuffer: PLSA_FREE_CLIENT_BUFFER,
+ pub CopyToClientBuffer: PLSA_COPY_TO_CLIENT_BUFFER,
+ pub CopyFromClientBuffer: PLSA_COPY_FROM_CLIENT_BUFFER,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
+impl ::core::marker::Copy for LSA_DISPATCH_TABLE {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
+impl ::core::clone::Clone for LSA_DISPATCH_TABLE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct LSA_ENUMERATION_INFORMATION {
+ pub Sid: super::super::super::Foundation::PSID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for LSA_ENUMERATION_INFORMATION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for LSA_ENUMERATION_INFORMATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct LSA_FOREST_TRUST_BINARY_DATA {
+ pub Length: u32,
+ pub Buffer: *mut u8,
+}
+impl ::core::marker::Copy for LSA_FOREST_TRUST_BINARY_DATA {}
+impl ::core::clone::Clone for LSA_FOREST_TRUST_BINARY_DATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct LSA_FOREST_TRUST_COLLISION_INFORMATION {
+ pub RecordCount: u32,
+ pub Entries: *mut *mut LSA_FOREST_TRUST_COLLISION_RECORD,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for LSA_FOREST_TRUST_COLLISION_INFORMATION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for LSA_FOREST_TRUST_COLLISION_INFORMATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct LSA_FOREST_TRUST_COLLISION_RECORD {
+ pub Index: u32,
+ pub Type: LSA_FOREST_TRUST_COLLISION_RECORD_TYPE,
+ pub Flags: u32,
+ pub Name: super::super::super::Foundation::UNICODE_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for LSA_FOREST_TRUST_COLLISION_RECORD {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for LSA_FOREST_TRUST_COLLISION_RECORD {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type LSA_FOREST_TRUST_COLLISION_RECORD_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const CollisionTdo: LSA_FOREST_TRUST_COLLISION_RECORD_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const CollisionXref: LSA_FOREST_TRUST_COLLISION_RECORD_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const CollisionOther: LSA_FOREST_TRUST_COLLISION_RECORD_TYPE = 2i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct LSA_FOREST_TRUST_DOMAIN_INFO {
+ pub Sid: super::super::super::Foundation::PSID,
+ pub DnsName: super::super::super::Foundation::UNICODE_STRING,
+ pub NetbiosName: super::super::super::Foundation::UNICODE_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for LSA_FOREST_TRUST_DOMAIN_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for LSA_FOREST_TRUST_DOMAIN_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct LSA_FOREST_TRUST_INFORMATION {
+ pub RecordCount: u32,
+ pub Entries: *mut *mut LSA_FOREST_TRUST_RECORD,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for LSA_FOREST_TRUST_INFORMATION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for LSA_FOREST_TRUST_INFORMATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct LSA_FOREST_TRUST_RECORD {
+ pub Flags: u32,
+ pub ForestTrustType: LSA_FOREST_TRUST_RECORD_TYPE,
+ pub Time: i64,
+ pub ForestTrustData: LSA_FOREST_TRUST_RECORD_0,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for LSA_FOREST_TRUST_RECORD {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for LSA_FOREST_TRUST_RECORD {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union LSA_FOREST_TRUST_RECORD_0 {
+ pub TopLevelName: super::super::super::Foundation::UNICODE_STRING,
+ pub DomainInfo: LSA_FOREST_TRUST_DOMAIN_INFO,
+ pub Data: LSA_FOREST_TRUST_BINARY_DATA,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for LSA_FOREST_TRUST_RECORD_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for LSA_FOREST_TRUST_RECORD_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type LSA_FOREST_TRUST_RECORD_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ForestTrustTopLevelName: LSA_FOREST_TRUST_RECORD_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ForestTrustTopLevelNameEx: LSA_FOREST_TRUST_RECORD_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ForestTrustDomainInfo: LSA_FOREST_TRUST_RECORD_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ForestTrustRecordTypeLast: LSA_FOREST_TRUST_RECORD_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_FOREST_TRUST_RECORD_TYPE_UNRECOGNIZED: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_FTRECORD_DISABLED_REASONS: i32 = 65535i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_GLOBAL_SECRET_PREFIX: &str = "G$";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_GLOBAL_SECRET_PREFIX_LENGTH: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct LSA_LAST_INTER_LOGON_INFO {
+ pub LastSuccessfulLogon: i64,
+ pub LastFailedLogon: i64,
+ pub FailedAttemptCountSinceLastSuccessfulLogon: u32,
+}
+impl ::core::marker::Copy for LSA_LAST_INTER_LOGON_INFO {}
+impl ::core::clone::Clone for LSA_LAST_INTER_LOGON_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_LOCAL_SECRET_PREFIX: &str = "L$";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_LOCAL_SECRET_PREFIX_LENGTH: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_LOOKUP_DISALLOW_CONNECTED_ACCOUNT_INTERNET_SID: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type LSA_LOOKUP_DOMAIN_INFO_CLASS = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const AccountDomainInformation: LSA_LOOKUP_DOMAIN_INFO_CLASS = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const DnsDomainInformation: LSA_LOOKUP_DOMAIN_INFO_CLASS = 12i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_LOOKUP_ISOLATED_AS_LOCAL: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_LOOKUP_PREFER_INTERNET_NAMES: u32 = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_MACHINE_SECRET_PREFIX: &str = "M$";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_MAXIMUM_ENUMERATION_LENGTH: u32 = 32000u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_MAXIMUM_SID_COUNT: i32 = 256i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_MODE_INDIVIDUAL_ACCOUNTS: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_MODE_LOG_FULL: i32 = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_MODE_MANDATORY_ACCESS: i32 = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_MODE_PASSWORD_PROTECTED: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_NB_DISABLED_ADMIN: i32 = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_NB_DISABLED_CONFLICT: i32 = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_QUERY_CLIENT_PRELOGON_SESSION_ID: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct LSA_REFERENCED_DOMAIN_LIST {
+ pub Entries: u32,
+ pub Domains: *mut LSA_TRUST_INFORMATION,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for LSA_REFERENCED_DOMAIN_LIST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for LSA_REFERENCED_DOMAIN_LIST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Threading\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
+pub struct LSA_SECPKG_FUNCTION_TABLE {
+ pub CreateLogonSession: PLSA_CREATE_LOGON_SESSION,
+ pub DeleteLogonSession: PLSA_DELETE_LOGON_SESSION,
+ pub AddCredential: PLSA_ADD_CREDENTIAL,
+ pub GetCredentials: PLSA_GET_CREDENTIALS,
+ pub DeleteCredential: PLSA_DELETE_CREDENTIAL,
+ pub AllocateLsaHeap: PLSA_ALLOCATE_LSA_HEAP,
+ pub FreeLsaHeap: PLSA_FREE_LSA_HEAP,
+ pub AllocateClientBuffer: PLSA_ALLOCATE_CLIENT_BUFFER,
+ pub FreeClientBuffer: PLSA_FREE_CLIENT_BUFFER,
+ pub CopyToClientBuffer: PLSA_COPY_TO_CLIENT_BUFFER,
+ pub CopyFromClientBuffer: PLSA_COPY_FROM_CLIENT_BUFFER,
+ pub ImpersonateClient: PLSA_IMPERSONATE_CLIENT,
+ pub UnloadPackage: PLSA_UNLOAD_PACKAGE,
+ pub DuplicateHandle: PLSA_DUPLICATE_HANDLE,
+ pub SaveSupplementalCredentials: PLSA_SAVE_SUPPLEMENTAL_CREDENTIALS,
+ pub CreateThread: PLSA_CREATE_THREAD,
+ pub GetClientInfo: PLSA_GET_CLIENT_INFO,
+ pub RegisterNotification: PLSA_REGISTER_NOTIFICATION,
+ pub CancelNotification: PLSA_CANCEL_NOTIFICATION,
+ pub MapBuffer: PLSA_MAP_BUFFER,
+ pub CreateToken: PLSA_CREATE_TOKEN,
+ pub AuditLogon: PLSA_AUDIT_LOGON,
+ pub CallPackage: PLSA_CALL_PACKAGE,
+ pub FreeReturnBuffer: PLSA_FREE_LSA_HEAP,
+ pub GetCallInfo: PLSA_GET_CALL_INFO,
+ pub CallPackageEx: PLSA_CALL_PACKAGEEX,
+ pub CreateSharedMemory: PLSA_CREATE_SHARED_MEMORY,
+ pub AllocateSharedMemory: PLSA_ALLOCATE_SHARED_MEMORY,
+ pub FreeSharedMemory: PLSA_FREE_SHARED_MEMORY,
+ pub DeleteSharedMemory: PLSA_DELETE_SHARED_MEMORY,
+ pub OpenSamUser: PLSA_OPEN_SAM_USER,
+ pub GetUserCredentials: PLSA_GET_USER_CREDENTIALS,
+ pub GetUserAuthData: PLSA_GET_USER_AUTH_DATA,
+ pub CloseSamUser: PLSA_CLOSE_SAM_USER,
+ pub ConvertAuthDataToToken: PLSA_CONVERT_AUTH_DATA_TO_TOKEN,
+ pub ClientCallback: PLSA_CLIENT_CALLBACK,
+ pub UpdateCredentials: PLSA_UPDATE_PRIMARY_CREDENTIALS,
+ pub GetAuthDataForUser: PLSA_GET_AUTH_DATA_FOR_USER,
+ pub CrackSingleName: PLSA_CRACK_SINGLE_NAME,
+ pub AuditAccountLogon: PLSA_AUDIT_ACCOUNT_LOGON,
+ pub CallPackagePassthrough: PLSA_CALL_PACKAGE_PASSTHROUGH,
+ pub CrediRead: CredReadFn,
+ pub CrediReadDomainCredentials: CredReadDomainCredentialsFn,
+ pub CrediFreeCredentials: CredFreeCredentialsFn,
+ pub LsaProtectMemory: PLSA_PROTECT_MEMORY,
+ pub LsaUnprotectMemory: PLSA_PROTECT_MEMORY,
+ pub OpenTokenByLogonId: PLSA_OPEN_TOKEN_BY_LOGON_ID,
+ pub ExpandAuthDataForDomain: PLSA_EXPAND_AUTH_DATA_FOR_DOMAIN,
+ pub AllocatePrivateHeap: PLSA_ALLOCATE_PRIVATE_HEAP,
+ pub FreePrivateHeap: PLSA_FREE_PRIVATE_HEAP,
+ pub CreateTokenEx: PLSA_CREATE_TOKEN_EX,
+ pub CrediWrite: CredWriteFn,
+ pub CrediUnmarshalandDecodeString: CrediUnmarshalandDecodeStringFn,
+ pub DummyFunction6: PLSA_PROTECT_MEMORY,
+ pub GetExtendedCallFlags: PLSA_GET_EXTENDED_CALL_FLAGS,
+ pub DuplicateTokenHandle: PLSA_DUPLICATE_HANDLE,
+ pub GetServiceAccountPassword: PLSA_GET_SERVICE_ACCOUNT_PASSWORD,
+ pub DummyFunction7: PLSA_PROTECT_MEMORY,
+ pub AuditLogonEx: PLSA_AUDIT_LOGON_EX,
+ pub CheckProtectedUserByToken: PLSA_CHECK_PROTECTED_USER_BY_TOKEN,
+ pub QueryClientRequest: PLSA_QUERY_CLIENT_REQUEST,
+ pub GetAppModeInfo: PLSA_GET_APP_MODE_INFO,
+ pub SetAppModeInfo: PLSA_SET_APP_MODE_INFO,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
+impl ::core::marker::Copy for LSA_SECPKG_FUNCTION_TABLE {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
+impl ::core::clone::Clone for LSA_SECPKG_FUNCTION_TABLE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_SECRET_MAXIMUM_COUNT: i32 = 4096i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_SECRET_MAXIMUM_LENGTH: i32 = 512i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_SID_DISABLED_ADMIN: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_SID_DISABLED_CONFLICT: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_TLN_DISABLED_ADMIN: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_TLN_DISABLED_CONFLICT: i32 = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LSA_TLN_DISABLED_NEW: i32 = 1i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct LSA_TOKEN_INFORMATION_NULL {
+ pub ExpirationTime: i64,
+ pub Groups: *mut super::super::TOKEN_GROUPS,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for LSA_TOKEN_INFORMATION_NULL {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for LSA_TOKEN_INFORMATION_NULL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type LSA_TOKEN_INFORMATION_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LsaTokenInformationNull: LSA_TOKEN_INFORMATION_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LsaTokenInformationV1: LSA_TOKEN_INFORMATION_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LsaTokenInformationV2: LSA_TOKEN_INFORMATION_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LsaTokenInformationV3: LSA_TOKEN_INFORMATION_TYPE = 3i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct LSA_TOKEN_INFORMATION_V1 {
+ pub ExpirationTime: i64,
+ pub User: super::super::TOKEN_USER,
+ pub Groups: *mut super::super::TOKEN_GROUPS,
+ pub PrimaryGroup: super::super::TOKEN_PRIMARY_GROUP,
+ pub Privileges: *mut super::super::TOKEN_PRIVILEGES,
+ pub Owner: super::super::TOKEN_OWNER,
+ pub DefaultDacl: super::super::TOKEN_DEFAULT_DACL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for LSA_TOKEN_INFORMATION_V1 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for LSA_TOKEN_INFORMATION_V1 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct LSA_TOKEN_INFORMATION_V3 {
+ pub ExpirationTime: i64,
+ pub User: super::super::TOKEN_USER,
+ pub Groups: *mut super::super::TOKEN_GROUPS,
+ pub PrimaryGroup: super::super::TOKEN_PRIMARY_GROUP,
+ pub Privileges: *mut super::super::TOKEN_PRIVILEGES,
+ pub Owner: super::super::TOKEN_OWNER,
+ pub DefaultDacl: super::super::TOKEN_DEFAULT_DACL,
+ pub UserClaims: super::super::TOKEN_USER_CLAIMS,
+ pub DeviceClaims: super::super::TOKEN_DEVICE_CLAIMS,
+ pub DeviceGroups: *mut super::super::TOKEN_GROUPS,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for LSA_TOKEN_INFORMATION_V3 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for LSA_TOKEN_INFORMATION_V3 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct LSA_TRANSLATED_NAME {
+ pub Use: super::super::SID_NAME_USE,
+ pub Name: super::super::super::Foundation::UNICODE_STRING,
+ pub DomainIndex: i32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for LSA_TRANSLATED_NAME {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for LSA_TRANSLATED_NAME {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct LSA_TRANSLATED_SID {
+ pub Use: super::super::SID_NAME_USE,
+ pub RelativeId: u32,
+ pub DomainIndex: i32,
+}
+impl ::core::marker::Copy for LSA_TRANSLATED_SID {}
+impl ::core::clone::Clone for LSA_TRANSLATED_SID {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct LSA_TRANSLATED_SID2 {
+ pub Use: super::super::SID_NAME_USE,
+ pub Sid: super::super::super::Foundation::PSID,
+ pub DomainIndex: i32,
+ pub Flags: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for LSA_TRANSLATED_SID2 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for LSA_TRANSLATED_SID2 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct LSA_TRUST_INFORMATION {
+ pub Name: super::super::super::Foundation::UNICODE_STRING,
+ pub Sid: super::super::super::Foundation::PSID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for LSA_TRUST_INFORMATION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for LSA_TRUST_INFORMATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type LsaHandle = isize;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MAXIMUM_CAPES_PER_CAP: u32 = 127u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MAX_CRED_SIZE: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MAX_PROTOCOL_ID_SIZE: u32 = 255u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MAX_RECORDS_IN_FOREST_TRUST_INFO: u32 = 4000u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MAX_USER_RECORDS: u32 = 1000u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MICROSOFT_KERBEROS_NAME: &str = "Kerberos";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MICROSOFT_KERBEROS_NAME_A: &str = "Kerberos";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MICROSOFT_KERBEROS_NAME_W: &str = "Kerberos";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type MSV1_0 = u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_PASSTHRU: MSV1_0 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_GUEST_LOGON: MSV1_0 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_ALLOW_FORCE_GUEST: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_ALLOW_MSVCHAPV2: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type MSV1_0_AVID = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsvAvEOL: MSV1_0_AVID = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsvAvNbComputerName: MSV1_0_AVID = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsvAvNbDomainName: MSV1_0_AVID = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsvAvDnsComputerName: MSV1_0_AVID = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsvAvDnsDomainName: MSV1_0_AVID = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsvAvDnsTreeName: MSV1_0_AVID = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsvAvFlags: MSV1_0_AVID = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsvAvTimestamp: MSV1_0_AVID = 7i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsvAvRestrictions: MSV1_0_AVID = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsvAvTargetName: MSV1_0_AVID = 9i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsvAvChannelBindings: MSV1_0_AVID = 10i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_AV_FLAG_FORCE_GUEST: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_AV_FLAG_MIC_HANDSHAKE_MESSAGES: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_AV_FLAG_UNVERIFIED_TARGET: u32 = 4u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct MSV1_0_AV_PAIR {
+ pub AvId: u16,
+ pub AvLen: u16,
+}
+impl ::core::marker::Copy for MSV1_0_AV_PAIR {}
+impl ::core::clone::Clone for MSV1_0_AV_PAIR {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_CHALLENGE_LENGTH: u32 = 8u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct MSV1_0_CHANGEPASSWORD_REQUEST {
+ pub MessageType: MSV1_0_PROTOCOL_MESSAGE_TYPE,
+ pub DomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub AccountName: super::super::super::Foundation::UNICODE_STRING,
+ pub OldPassword: super::super::super::Foundation::UNICODE_STRING,
+ pub NewPassword: super::super::super::Foundation::UNICODE_STRING,
+ pub Impersonating: super::super::super::Foundation::BOOLEAN,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for MSV1_0_CHANGEPASSWORD_REQUEST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for MSV1_0_CHANGEPASSWORD_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct MSV1_0_CHANGEPASSWORD_RESPONSE {
+ pub MessageType: MSV1_0_PROTOCOL_MESSAGE_TYPE,
+ pub PasswordInfoValid: super::super::super::Foundation::BOOLEAN,
+ pub DomainPasswordInfo: DOMAIN_PASSWORD_INFORMATION,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for MSV1_0_CHANGEPASSWORD_RESPONSE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for MSV1_0_CHANGEPASSWORD_RESPONSE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_CHECK_LOGONHOURS_FOR_S4U: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_CLEARTEXT_PASSWORD_SUPPLIED: u32 = 16384u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct MSV1_0_CREDENTIAL_KEY {
+ pub Data: [u8; 20],
+}
+impl ::core::marker::Copy for MSV1_0_CREDENTIAL_KEY {}
+impl ::core::clone::Clone for MSV1_0_CREDENTIAL_KEY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_CREDENTIAL_KEY_LENGTH: u32 = 20u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type MSV1_0_CREDENTIAL_KEY_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const InvalidCredKey: MSV1_0_CREDENTIAL_KEY_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const DeprecatedIUMCredKey: MSV1_0_CREDENTIAL_KEY_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const DomainUserCredKey: MSV1_0_CREDENTIAL_KEY_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LocalUserCredKey: MSV1_0_CREDENTIAL_KEY_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const ExternallySuppliedCredKey: MSV1_0_CREDENTIAL_KEY_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_CRED_CREDKEY_PRESENT: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_CRED_REMOVED: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_CRED_SHA_PRESENT: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_CRED_VERSION_ARSO: u32 = 4294901763u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_CRED_VERSION_INVALID: u32 = 4294967295u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_CRED_VERSION_IUM: u32 = 4294901761u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_CRED_VERSION_REMOTE: u32 = 4294901762u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_CRED_VERSION_RESERVED_1: u32 = 4294967294u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_CRED_VERSION_V2: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_CRED_VERSION_V3: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_DISABLE_PERSONAL_FALLBACK: u32 = 4096u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct MSV1_0_INTERACTIVE_LOGON {
+ pub MessageType: MSV1_0_LOGON_SUBMIT_TYPE,
+ pub LogonDomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub UserName: super::super::super::Foundation::UNICODE_STRING,
+ pub Password: super::super::super::Foundation::UNICODE_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for MSV1_0_INTERACTIVE_LOGON {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for MSV1_0_INTERACTIVE_LOGON {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct MSV1_0_INTERACTIVE_PROFILE {
+ pub MessageType: MSV1_0_PROFILE_BUFFER_TYPE,
+ pub LogonCount: u16,
+ pub BadPasswordCount: u16,
+ pub LogonTime: i64,
+ pub LogoffTime: i64,
+ pub KickOffTime: i64,
+ pub PasswordLastSet: i64,
+ pub PasswordCanChange: i64,
+ pub PasswordMustChange: i64,
+ pub LogonScript: super::super::super::Foundation::UNICODE_STRING,
+ pub HomeDirectory: super::super::super::Foundation::UNICODE_STRING,
+ pub FullName: super::super::super::Foundation::UNICODE_STRING,
+ pub ProfilePath: super::super::super::Foundation::UNICODE_STRING,
+ pub HomeDirectoryDrive: super::super::super::Foundation::UNICODE_STRING,
+ pub LogonServer: super::super::super::Foundation::UNICODE_STRING,
+ pub UserFlags: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for MSV1_0_INTERACTIVE_PROFILE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for MSV1_0_INTERACTIVE_PROFILE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_INTERNET_DOMAIN: u32 = 524288u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct MSV1_0_IUM_SUPPLEMENTAL_CREDENTIAL {
+ pub Version: u32,
+ pub EncryptedCredsSize: u32,
+ pub EncryptedCreds: [u8; 1],
+}
+impl ::core::marker::Copy for MSV1_0_IUM_SUPPLEMENTAL_CREDENTIAL {}
+impl ::core::clone::Clone for MSV1_0_IUM_SUPPLEMENTAL_CREDENTIAL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_LANMAN_SESSION_KEY_LENGTH: u32 = 8u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
+pub struct MSV1_0_LM20_LOGON {
+ pub MessageType: MSV1_0_LOGON_SUBMIT_TYPE,
+ pub LogonDomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub UserName: super::super::super::Foundation::UNICODE_STRING,
+ pub Workstation: super::super::super::Foundation::UNICODE_STRING,
+ pub ChallengeToClient: [u8; 8],
+ pub CaseSensitiveChallengeResponse: super::super::super::System::Kernel::STRING,
+ pub CaseInsensitiveChallengeResponse: super::super::super::System::Kernel::STRING,
+ pub ParameterControl: u32,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
+impl ::core::marker::Copy for MSV1_0_LM20_LOGON {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
+impl ::core::clone::Clone for MSV1_0_LM20_LOGON {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct MSV1_0_LM20_LOGON_PROFILE {
+ pub MessageType: MSV1_0_PROFILE_BUFFER_TYPE,
+ pub KickOffTime: i64,
+ pub LogoffTime: i64,
+ pub UserFlags: MSV_SUB_AUTHENTICATION_FILTER,
+ pub UserSessionKey: [u8; 16],
+ pub LogonDomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub LanmanSessionKey: [u8; 8],
+ pub LogonServer: super::super::super::Foundation::UNICODE_STRING,
+ pub UserParameters: super::super::super::Foundation::UNICODE_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for MSV1_0_LM20_LOGON_PROFILE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for MSV1_0_LM20_LOGON_PROFILE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type MSV1_0_LOGON_SUBMIT_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0InteractiveLogon: MSV1_0_LOGON_SUBMIT_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0Lm20Logon: MSV1_0_LOGON_SUBMIT_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0NetworkLogon: MSV1_0_LOGON_SUBMIT_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0SubAuthLogon: MSV1_0_LOGON_SUBMIT_TYPE = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0WorkstationUnlockLogon: MSV1_0_LOGON_SUBMIT_TYPE = 7i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0S4ULogon: MSV1_0_LOGON_SUBMIT_TYPE = 12i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0VirtualLogon: MSV1_0_LOGON_SUBMIT_TYPE = 82i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0NoElevationLogon: MSV1_0_LOGON_SUBMIT_TYPE = 83i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0LuidLogon: MSV1_0_LOGON_SUBMIT_TYPE = 84i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_MAX_AVL_SIZE: u32 = 64000u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_MAX_NTLM3_LIFE: u32 = 1800u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_MNS_LOGON: u32 = 16777216u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_NTLM3_OWF_LENGTH: u32 = 16u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct MSV1_0_NTLM3_RESPONSE {
+ pub Response: [u8; 16],
+ pub RespType: u8,
+ pub HiRespType: u8,
+ pub Flags: u16,
+ pub MsgWord: u32,
+ pub TimeStamp: u64,
+ pub ChallengeFromClient: [u8; 8],
+ pub AvPairsOff: u32,
+ pub Buffer: [u8; 1],
+}
+impl ::core::marker::Copy for MSV1_0_NTLM3_RESPONSE {}
+impl ::core::clone::Clone for MSV1_0_NTLM3_RESPONSE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_NTLM3_RESPONSE_LENGTH: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_OWF_PASSWORD_LENGTH: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_PACKAGE_NAME: &str = "MICROSOFT_AUTHENTICATION_PACKAGE_V1_0";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_PACKAGE_NAMEW: &str = "MICROSOFT_AUTHENTICATION_PACKAGE_V1_0";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct MSV1_0_PASSTHROUGH_REQUEST {
+ pub MessageType: MSV1_0_PROTOCOL_MESSAGE_TYPE,
+ pub DomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub PackageName: super::super::super::Foundation::UNICODE_STRING,
+ pub DataLength: u32,
+ pub LogonData: *mut u8,
+ pub Pad: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for MSV1_0_PASSTHROUGH_REQUEST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for MSV1_0_PASSTHROUGH_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct MSV1_0_PASSTHROUGH_RESPONSE {
+ pub MessageType: MSV1_0_PROTOCOL_MESSAGE_TYPE,
+ pub Pad: u32,
+ pub DataLength: u32,
+ pub ValidationData: *mut u8,
+}
+impl ::core::marker::Copy for MSV1_0_PASSTHROUGH_RESPONSE {}
+impl ::core::clone::Clone for MSV1_0_PASSTHROUGH_RESPONSE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type MSV1_0_PROFILE_BUFFER_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0InteractiveProfile: MSV1_0_PROFILE_BUFFER_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0Lm20LogonProfile: MSV1_0_PROFILE_BUFFER_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0SmartCardProfile: MSV1_0_PROFILE_BUFFER_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type MSV1_0_PROTOCOL_MESSAGE_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0Lm20ChallengeRequest: MSV1_0_PROTOCOL_MESSAGE_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0Lm20GetChallengeResponse: MSV1_0_PROTOCOL_MESSAGE_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0EnumerateUsers: MSV1_0_PROTOCOL_MESSAGE_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0GetUserInfo: MSV1_0_PROTOCOL_MESSAGE_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0ReLogonUsers: MSV1_0_PROTOCOL_MESSAGE_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0ChangePassword: MSV1_0_PROTOCOL_MESSAGE_TYPE = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0ChangeCachedPassword: MSV1_0_PROTOCOL_MESSAGE_TYPE = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0GenericPassthrough: MSV1_0_PROTOCOL_MESSAGE_TYPE = 7i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0CacheLogon: MSV1_0_PROTOCOL_MESSAGE_TYPE = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0SubAuth: MSV1_0_PROTOCOL_MESSAGE_TYPE = 9i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0DeriveCredential: MSV1_0_PROTOCOL_MESSAGE_TYPE = 10i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0CacheLookup: MSV1_0_PROTOCOL_MESSAGE_TYPE = 11i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0SetProcessOption: MSV1_0_PROTOCOL_MESSAGE_TYPE = 12i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0ConfigLocalAliases: MSV1_0_PROTOCOL_MESSAGE_TYPE = 13i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0ClearCachedCredentials: MSV1_0_PROTOCOL_MESSAGE_TYPE = 14i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0LookupToken: MSV1_0_PROTOCOL_MESSAGE_TYPE = 15i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0ValidateAuth: MSV1_0_PROTOCOL_MESSAGE_TYPE = 16i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0CacheLookupEx: MSV1_0_PROTOCOL_MESSAGE_TYPE = 17i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0GetCredentialKey: MSV1_0_PROTOCOL_MESSAGE_TYPE = 18i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0SetThreadOption: MSV1_0_PROTOCOL_MESSAGE_TYPE = 19i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0DecryptDpapiMasterKey: MSV1_0_PROTOCOL_MESSAGE_TYPE = 20i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0GetStrongCredentialKey: MSV1_0_PROTOCOL_MESSAGE_TYPE = 21i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0TransferCred: MSV1_0_PROTOCOL_MESSAGE_TYPE = 22i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0ProvisionTbal: MSV1_0_PROTOCOL_MESSAGE_TYPE = 23i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MsV1_0DeleteTbalSecrets: MSV1_0_PROTOCOL_MESSAGE_TYPE = 24i32;
+#[repr(C, packed(1))]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct MSV1_0_REMOTE_SUPPLEMENTAL_CREDENTIAL {
+ pub Version: u32,
+ pub Flags: u32,
+ pub CredentialKey: MSV1_0_CREDENTIAL_KEY,
+ pub CredentialKeyType: MSV1_0_CREDENTIAL_KEY_TYPE,
+ pub EncryptedCredsSize: u32,
+ pub EncryptedCreds: [u8; 1],
+}
+impl ::core::marker::Copy for MSV1_0_REMOTE_SUPPLEMENTAL_CREDENTIAL {}
+impl ::core::clone::Clone for MSV1_0_REMOTE_SUPPLEMENTAL_CREDENTIAL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_S4U2SELF: u32 = 131072u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct MSV1_0_S4U_LOGON {
+ pub MessageType: MSV1_0_LOGON_SUBMIT_TYPE,
+ pub Flags: u32,
+ pub UserPrincipalName: super::super::super::Foundation::UNICODE_STRING,
+ pub DomainName: super::super::super::Foundation::UNICODE_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for MSV1_0_S4U_LOGON {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for MSV1_0_S4U_LOGON {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_S4U_LOGON_FLAG_CHECK_LOGONHOURS: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_SHA_PASSWORD_LENGTH: u32 = 20u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_SUBAUTHENTICATION_DLL: u32 = 4278190080u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_SUBAUTHENTICATION_DLL_EX: u32 = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_SUBAUTHENTICATION_DLL_IIS: u32 = 132u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_SUBAUTHENTICATION_DLL_RAS: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_SUBAUTHENTICATION_DLL_SHIFT: u32 = 24u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_SUBAUTHENTICATION_FLAGS: u32 = 4278190080u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_SUBAUTHENTICATION_KEY: &str = "SYSTEM\\CurrentControlSet\\Control\\Lsa\\MSV1_0";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_SUBAUTHENTICATION_VALUE: &str = "Auth";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_SUBAUTH_ACCOUNT_DISABLED: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_SUBAUTH_ACCOUNT_EXPIRY: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_SUBAUTH_ACCOUNT_TYPE: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_SUBAUTH_LOCKOUT: u32 = 128u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
+pub struct MSV1_0_SUBAUTH_LOGON {
+ pub MessageType: MSV1_0_LOGON_SUBMIT_TYPE,
+ pub LogonDomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub UserName: super::super::super::Foundation::UNICODE_STRING,
+ pub Workstation: super::super::super::Foundation::UNICODE_STRING,
+ pub ChallengeToClient: [u8; 8],
+ pub AuthenticationInfo1: super::super::super::System::Kernel::STRING,
+ pub AuthenticationInfo2: super::super::super::System::Kernel::STRING,
+ pub ParameterControl: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL,
+ pub SubAuthPackageId: u32,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
+impl ::core::marker::Copy for MSV1_0_SUBAUTH_LOGON {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
+impl ::core::clone::Clone for MSV1_0_SUBAUTH_LOGON {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_SUBAUTH_LOGON_HOURS: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_SUBAUTH_PASSWORD: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_SUBAUTH_PASSWORD_EXPIRY: u32 = 32u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct MSV1_0_SUBAUTH_REQUEST {
+ pub MessageType: MSV1_0_PROTOCOL_MESSAGE_TYPE,
+ pub SubAuthPackageId: u32,
+ pub SubAuthInfoLength: u32,
+ pub SubAuthSubmitBuffer: *mut u8,
+}
+impl ::core::marker::Copy for MSV1_0_SUBAUTH_REQUEST {}
+impl ::core::clone::Clone for MSV1_0_SUBAUTH_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct MSV1_0_SUBAUTH_RESPONSE {
+ pub MessageType: MSV1_0_PROTOCOL_MESSAGE_TYPE,
+ pub SubAuthInfoLength: u32,
+ pub SubAuthReturnBuffer: *mut u8,
+}
+impl ::core::marker::Copy for MSV1_0_SUBAUTH_RESPONSE {}
+impl ::core::clone::Clone for MSV1_0_SUBAUTH_RESPONSE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_SUBAUTH_WORKSTATIONS: u32 = 4u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct MSV1_0_SUPPLEMENTAL_CREDENTIAL {
+ pub Version: u32,
+ pub Flags: MSV_SUPPLEMENTAL_CREDENTIAL_FLAGS,
+ pub LmPassword: [u8; 16],
+ pub NtPassword: [u8; 16],
+}
+impl ::core::marker::Copy for MSV1_0_SUPPLEMENTAL_CREDENTIAL {}
+impl ::core::clone::Clone for MSV1_0_SUPPLEMENTAL_CREDENTIAL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct MSV1_0_SUPPLEMENTAL_CREDENTIAL_V2 {
+ pub Version: u32,
+ pub Flags: u32,
+ pub NtPassword: [u8; 16],
+ pub CredentialKey: MSV1_0_CREDENTIAL_KEY,
+}
+impl ::core::marker::Copy for MSV1_0_SUPPLEMENTAL_CREDENTIAL_V2 {}
+impl ::core::clone::Clone for MSV1_0_SUPPLEMENTAL_CREDENTIAL_V2 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct MSV1_0_SUPPLEMENTAL_CREDENTIAL_V3 {
+ pub Version: u32,
+ pub Flags: u32,
+ pub CredentialKeyType: MSV1_0_CREDENTIAL_KEY_TYPE,
+ pub NtPassword: [u8; 16],
+ pub CredentialKey: MSV1_0_CREDENTIAL_KEY,
+ pub ShaPassword: [u8; 20],
+}
+impl ::core::marker::Copy for MSV1_0_SUPPLEMENTAL_CREDENTIAL_V3 {}
+impl ::core::clone::Clone for MSV1_0_SUPPLEMENTAL_CREDENTIAL_V3 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_USER_SESSION_KEY_LENGTH: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_USE_CLIENT_CHALLENGE: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_USE_DOMAIN_FOR_ROUTING_ONLY: u32 = 32768u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_PasswordManagement\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
+pub struct MSV1_0_VALIDATION_INFO {
+ pub LogoffTime: i64,
+ pub KickoffTime: i64,
+ pub LogonServer: super::super::super::Foundation::UNICODE_STRING,
+ pub LogonDomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub SessionKey: USER_SESSION_KEY,
+ pub Authoritative: super::super::super::Foundation::BOOLEAN,
+ pub UserFlags: u32,
+ pub WhichFields: u32,
+ pub UserId: u32,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
+impl ::core::marker::Copy for MSV1_0_VALIDATION_INFO {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
+impl ::core::clone::Clone for MSV1_0_VALIDATION_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_VALIDATION_KICKOFF_TIME: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_VALIDATION_LOGOFF_TIME: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_VALIDATION_LOGON_DOMAIN: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_VALIDATION_LOGON_SERVER: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_VALIDATION_SESSION_KEY: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_VALIDATION_USER_FLAGS: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_VALIDATION_USER_ID: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_CLEARTEXT_PASSWORD_ALLOWED: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_UPDATE_LOGON_STATISTICS: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_RETURN_USER_PARAMETERS: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_DONT_TRY_GUEST_ACCOUNT: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_RETURN_PASSWORD_EXPIRY: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_TRY_GUEST_ACCOUNT_ONLY: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_RETURN_PROFILE_PATH: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_TRY_SPECIFIED_DOMAIN_ONLY: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type MSV_SUB_AUTHENTICATION_FILTER = u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LOGON_GUEST: MSV_SUB_AUTHENTICATION_FILTER = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LOGON_NOENCRYPTION: MSV_SUB_AUTHENTICATION_FILTER = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LOGON_CACHED_ACCOUNT: MSV_SUB_AUTHENTICATION_FILTER = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LOGON_USED_LM_PASSWORD: MSV_SUB_AUTHENTICATION_FILTER = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LOGON_EXTRA_SIDS: MSV_SUB_AUTHENTICATION_FILTER = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LOGON_SUBAUTH_SESSION_KEY: MSV_SUB_AUTHENTICATION_FILTER = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LOGON_SERVER_TRUST_ACCOUNT: MSV_SUB_AUTHENTICATION_FILTER = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LOGON_PROFILE_PATH_RETURNED: MSV_SUB_AUTHENTICATION_FILTER = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const LOGON_RESOURCE_GROUPS: MSV_SUB_AUTHENTICATION_FILTER = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type MSV_SUPPLEMENTAL_CREDENTIAL_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_CRED_LM_PRESENT: MSV_SUPPLEMENTAL_CREDENTIAL_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_CRED_NT_PRESENT: MSV_SUPPLEMENTAL_CREDENTIAL_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const MSV1_0_CRED_VERSION: MSV_SUPPLEMENTAL_CREDENTIAL_FLAGS = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NEGOSSP_NAME: &str = "Negotiate";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NEGOSSP_NAME_A: &str = "Negotiate";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NEGOSSP_NAME_W: &str = "Negotiate";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NEGOTIATE_ALLOW_NTLM: u32 = 268435456u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct NEGOTIATE_CALLER_NAME_REQUEST {
+ pub MessageType: u32,
+ pub LogonId: super::super::super::Foundation::LUID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for NEGOTIATE_CALLER_NAME_REQUEST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for NEGOTIATE_CALLER_NAME_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct NEGOTIATE_CALLER_NAME_RESPONSE {
+ pub MessageType: u32,
+ pub CallerName: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for NEGOTIATE_CALLER_NAME_RESPONSE {}
+impl ::core::clone::Clone for NEGOTIATE_CALLER_NAME_RESPONSE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NEGOTIATE_MAX_PREFIX: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type NEGOTIATE_MESSAGES = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NegEnumPackagePrefixes: NEGOTIATE_MESSAGES = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NegGetCallerName: NEGOTIATE_MESSAGES = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NegTransferCredentials: NEGOTIATE_MESSAGES = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NegMsgReserved1: NEGOTIATE_MESSAGES = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NegCallPackageMax: NEGOTIATE_MESSAGES = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NEGOTIATE_NEG_NTLM: u32 = 536870912u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct NEGOTIATE_PACKAGE_PREFIX {
+ pub PackageId: usize,
+ pub PackageDataA: *mut ::core::ffi::c_void,
+ pub PackageDataW: *mut ::core::ffi::c_void,
+ pub PrefixLen: usize,
+ pub Prefix: [u8; 32],
+}
+impl ::core::marker::Copy for NEGOTIATE_PACKAGE_PREFIX {}
+impl ::core::clone::Clone for NEGOTIATE_PACKAGE_PREFIX {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct NEGOTIATE_PACKAGE_PREFIXES {
+ pub MessageType: u32,
+ pub PrefixCount: u32,
+ pub Offset: u32,
+ pub Pad: u32,
+}
+impl ::core::marker::Copy for NEGOTIATE_PACKAGE_PREFIXES {}
+impl ::core::clone::Clone for NEGOTIATE_PACKAGE_PREFIXES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct NETLOGON_GENERIC_INFO {
+ pub Identity: NETLOGON_LOGON_IDENTITY_INFO,
+ pub PackageName: super::super::super::Foundation::UNICODE_STRING,
+ pub DataLength: u32,
+ pub LogonData: *mut u8,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for NETLOGON_GENERIC_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for NETLOGON_GENERIC_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_PasswordManagement\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
+pub struct NETLOGON_INTERACTIVE_INFO {
+ pub Identity: NETLOGON_LOGON_IDENTITY_INFO,
+ pub LmOwfPassword: super::super::super::System::PasswordManagement::LM_OWF_PASSWORD,
+ pub NtOwfPassword: super::super::super::System::PasswordManagement::LM_OWF_PASSWORD,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
+impl ::core::marker::Copy for NETLOGON_INTERACTIVE_INFO {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
+impl ::core::clone::Clone for NETLOGON_INTERACTIVE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct NETLOGON_LOGON_IDENTITY_INFO {
+ pub LogonDomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub ParameterControl: u32,
+ pub LogonId: i64,
+ pub UserName: super::super::super::Foundation::UNICODE_STRING,
+ pub Workstation: super::super::super::Foundation::UNICODE_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for NETLOGON_LOGON_IDENTITY_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for NETLOGON_LOGON_IDENTITY_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type NETLOGON_LOGON_INFO_CLASS = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NetlogonInteractiveInformation: NETLOGON_LOGON_INFO_CLASS = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NetlogonNetworkInformation: NETLOGON_LOGON_INFO_CLASS = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NetlogonServiceInformation: NETLOGON_LOGON_INFO_CLASS = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NetlogonGenericInformation: NETLOGON_LOGON_INFO_CLASS = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NetlogonInteractiveTransitiveInformation: NETLOGON_LOGON_INFO_CLASS = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NetlogonNetworkTransitiveInformation: NETLOGON_LOGON_INFO_CLASS = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NetlogonServiceTransitiveInformation: NETLOGON_LOGON_INFO_CLASS = 7i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
+pub struct NETLOGON_NETWORK_INFO {
+ pub Identity: NETLOGON_LOGON_IDENTITY_INFO,
+ pub LmChallenge: CLEAR_BLOCK,
+ pub NtChallengeResponse: super::super::super::System::Kernel::STRING,
+ pub LmChallengeResponse: super::super::super::System::Kernel::STRING,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
+impl ::core::marker::Copy for NETLOGON_NETWORK_INFO {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
+impl ::core::clone::Clone for NETLOGON_NETWORK_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_PasswordManagement\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
+pub struct NETLOGON_SERVICE_INFO {
+ pub Identity: NETLOGON_LOGON_IDENTITY_INFO,
+ pub LmOwfPassword: super::super::super::System::PasswordManagement::LM_OWF_PASSWORD,
+ pub NtOwfPassword: super::super::super::System::PasswordManagement::LM_OWF_PASSWORD,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
+impl ::core::marker::Copy for NETLOGON_SERVICE_INFO {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
+impl ::core::clone::Clone for NETLOGON_SERVICE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NGC_DATA_FLAG_IS_CLOUD_TRUST_CRED: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NGC_DATA_FLAG_IS_SMARTCARD_DATA: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NGC_DATA_FLAG_KERB_CERTIFICATE_LOGON_FLAG_CHECK_DUPLICATES: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NGC_DATA_FLAG_KERB_CERTIFICATE_LOGON_FLAG_USE_CERTIFICATE_INFO: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NOTIFIER_FLAG_NEW_THREAD: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NOTIFIER_FLAG_ONE_SHOT: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NOTIFIER_FLAG_SECONDS: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NOTIFIER_TYPE_HANDLE_WAIT: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NOTIFIER_TYPE_IMMEDIATE: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NOTIFIER_TYPE_INTERVAL: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NOTIFIER_TYPE_NOTIFY_EVENT: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NOTIFIER_TYPE_STATE_CHANGE: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NOTIFY_CLASS_DOMAIN_CHANGE: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NOTIFY_CLASS_PACKAGE_CHANGE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NOTIFY_CLASS_REGISTRY_CHANGE: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NOTIFY_CLASS_ROLE_CHANGE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NO_LONG_NAMES: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NTLMSP_NAME: &str = "NTLM";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const NTLMSP_NAME_A: &str = "NTLM";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PCT1SP_NAME: &str = "Microsoft PCT 1.0";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PCT1SP_NAME_A: &str = "Microsoft PCT 1.0";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PCT1SP_NAME_W: &str = "Microsoft PCT 1.0";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PER_USER_AUDIT_FAILURE_EXCLUDE: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PER_USER_AUDIT_FAILURE_INCLUDE: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PER_USER_AUDIT_NONE: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PER_USER_AUDIT_SUCCESS_EXCLUDE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PER_USER_AUDIT_SUCCESS_INCLUDE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PER_USER_POLICY_UNCHANGED: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type PKSEC_CREATE_CONTEXT_LIST = ::core::option::Option<unsafe extern "system" fn(r#type: KSEC_CONTEXT_TYPE) -> *mut ::core::ffi::c_void>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_System_Kernel\"`*"]
+#[cfg(feature = "Win32_System_Kernel")]
+pub type PKSEC_DEREFERENCE_LIST_ENTRY = ::core::option::Option<unsafe extern "system" fn(entry: *const KSEC_LIST_ENTRY, delete: *mut u8)>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_System_Kernel\"`*"]
+#[cfg(feature = "Win32_System_Kernel")]
+pub type PKSEC_INSERT_LIST_ENTRY = ::core::option::Option<unsafe extern "system" fn(list: *const ::core::ffi::c_void, entry: *const KSEC_LIST_ENTRY)>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type PKSEC_LOCATE_PKG_BY_ID = ::core::option::Option<unsafe extern "system" fn(packageid: u32) -> *mut ::core::ffi::c_void>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct PKU2U_CERTIFICATE_S4U_LOGON {
+ pub MessageType: PKU2U_LOGON_SUBMIT_TYPE,
+ pub Flags: u32,
+ pub UserPrincipalName: super::super::super::Foundation::UNICODE_STRING,
+ pub DomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub CertificateLength: u32,
+ pub Certificate: *mut u8,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for PKU2U_CERTIFICATE_S4U_LOGON {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for PKU2U_CERTIFICATE_S4U_LOGON {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct PKU2U_CERT_BLOB {
+ pub CertOffset: u32,
+ pub CertLength: u16,
+}
+impl ::core::marker::Copy for PKU2U_CERT_BLOB {}
+impl ::core::clone::Clone for PKU2U_CERT_BLOB {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct PKU2U_CREDUI_CONTEXT {
+ pub Version: u64,
+ pub cbHeaderLength: u16,
+ pub cbStructureLength: u32,
+ pub CertArrayCount: u16,
+ pub CertArrayOffset: u32,
+}
+impl ::core::marker::Copy for PKU2U_CREDUI_CONTEXT {}
+impl ::core::clone::Clone for PKU2U_CREDUI_CONTEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type PKU2U_LOGON_SUBMIT_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const Pku2uCertificateS4ULogon: PKU2U_LOGON_SUBMIT_TYPE = 14i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PKU2U_PACKAGE_NAME: &str = "pku2u";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PKU2U_PACKAGE_NAME_A: &str = "pku2u";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PKU2U_PACKAGE_NAME_W: &str = "pku2u";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type PLSA_ALLOCATE_LSA_HEAP = ::core::option::Option<unsafe extern "system" fn(length: u32) -> *mut ::core::ffi::c_void>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type PLSA_ALLOCATE_PRIVATE_HEAP = ::core::option::Option<unsafe extern "system" fn(length: usize) -> *mut ::core::ffi::c_void>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PLSA_AP_LOGON_TERMINATED = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID)>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PLSA_AP_LOGON_USER_EX = ::core::option::Option<
+ unsafe extern "system" fn(clientrequest: *const *const ::core::ffi::c_void, logontype: SECURITY_LOGON_TYPE, authenticationinformation: *const ::core::ffi::c_void, clientauthenticationbase: *const ::core::ffi::c_void, authenticationinformationlength: u32, profilebuffer: *mut *mut ::core::ffi::c_void, profilebufferlength: *mut u32, logonid: *mut super::super::super::Foundation::LUID, substatus: *mut i32, tokeninformationtype: *mut LSA_TOKEN_INFORMATION_TYPE, tokeninformation: *mut *mut ::core::ffi::c_void, accountname: *mut *mut 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,
+>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PLSA_AP_LOGON_USER_EX2 = ::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,
+ profilebuffer: *mut *mut ::core::ffi::c_void,
+ profilebuffersize: *mut u32,
+ logonid: *mut super::super::super::Foundation::LUID,
+ substatus: *mut i32,
+ tokeninformationtype: *mut LSA_TOKEN_INFORMATION_TYPE,
+ tokeninformation: *mut *mut ::core::ffi::c_void,
+ accountname: *mut *mut super::super::super::Foundation::UNICODE_STRING,
+ authenticatingauthority: *mut *mut super::super::super::Foundation::UNICODE_STRING,
+ machinename: *mut *mut super::super::super::Foundation::UNICODE_STRING,
+ primarycredentials: *mut SECPKG_PRIMARY_CRED,
+ supplementalcredentials: *mut *mut SECPKG_SUPPLEMENTAL_CRED_ARRAY,
+ ) -> super::super::super::Foundation::NTSTATUS,
+>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PLSA_AP_LOGON_USER_EX3 = ::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,
+ profilebuffer: *mut *mut ::core::ffi::c_void,
+ profilebuffersize: *mut u32,
+ logonid: *mut super::super::super::Foundation::LUID,
+ substatus: *mut i32,
+ tokeninformationtype: *mut LSA_TOKEN_INFORMATION_TYPE,
+ tokeninformation: *mut *mut ::core::ffi::c_void,
+ accountname: *mut *mut super::super::super::Foundation::UNICODE_STRING,
+ authenticatingauthority: *mut *mut super::super::super::Foundation::UNICODE_STRING,
+ machinename: *mut *mut super::super::super::Foundation::UNICODE_STRING,
+ primarycredentials: *mut SECPKG_PRIMARY_CRED,
+ supplementalcredentials: *mut *mut SECPKG_SUPPLEMENTAL_CRED_ARRAY,
+ ) -> super::super::super::Foundation::NTSTATUS,
+>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PLSA_AP_POST_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: *const SECPKG_SURROGATE_LOGON,
+ profilebuffer: *const ::core::ffi::c_void,
+ profilebuffersize: u32,
+ logonid: *const super::super::super::Foundation::LUID,
+ status: super::super::super::Foundation::NTSTATUS,
+ substatus: super::super::super::Foundation::NTSTATUS,
+ tokeninformationtype: LSA_TOKEN_INFORMATION_TYPE,
+ tokeninformation: *const ::core::ffi::c_void,
+ accountname: *const super::super::super::Foundation::UNICODE_STRING,
+ authenticatingauthority: *const super::super::super::Foundation::UNICODE_STRING,
+ machinename: *const super::super::super::Foundation::UNICODE_STRING,
+ primarycredentials: *const SECPKG_PRIMARY_CRED,
+ supplementalcredentials: *const SECPKG_SUPPLEMENTAL_CRED_ARRAY,
+ ) -> super::super::super::Foundation::NTSTATUS,
+>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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)>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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)>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PLSA_CANCEL_NOTIFICATION = ::core::option::Option<unsafe extern "system" fn(notifyhandle: super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PLSA_CLOSE_SAM_USER = ::core::option::Option<unsafe extern "system" fn(userhandle: *const ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type PLSA_CREATE_SHARED_MEMORY = ::core::option::Option<unsafe extern "system" fn(maxsize: u32, initialsize: u32) -> *mut ::core::ffi::c_void>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PLSA_CREATE_TOKEN =
+ ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, tokensource: *const super::super::TOKEN_SOURCE, logontype: SECURITY_LOGON_TYPE, impersonationlevel: super::super::SECURITY_IMPERSONATION_LEVEL, tokeninformationtype: LSA_TOKEN_INFORMATION_TYPE, tokeninformation: *const ::core::ffi::c_void, tokengroups: *const super::super::TOKEN_GROUPS, accountname: *const 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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PLSA_DELETE_SHARED_MEMORY = ::core::option::Option<unsafe extern "system" fn(sharedmem: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOLEAN>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type PLSA_FREE_LSA_HEAP = ::core::option::Option<unsafe extern "system" fn(base: *const ::core::ffi::c_void)>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type PLSA_FREE_PRIVATE_HEAP = ::core::option::Option<unsafe extern "system" fn(base: *const ::core::ffi::c_void)>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+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)>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PLSA_GET_CALL_INFO = ::core::option::Option<unsafe extern "system" fn(info: *mut SECPKG_CALL_INFO) -> super::super::super::Foundation::BOOLEAN>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PLSA_GET_CLIENT_INFO = ::core::option::Option<unsafe extern "system" fn(clientinfo: *mut SECPKG_CLIENT_INFO) -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PLSA_GET_EXTENDED_CALL_FLAGS = ::core::option::Option<unsafe extern "system" fn(flags: *mut u32) -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PLSA_IMPERSONATE_CLIENT = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type PLSA_LOCATE_PKG_BY_ID = ::core::option::Option<unsafe extern "system" fn(packgeid: u32) -> *mut ::core::ffi::c_void>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PLSA_MAP_BUFFER = ::core::option::Option<unsafe extern "system" fn(inputbuffer: *const SecBuffer, outputbuffer: *mut SecBuffer) -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type PLSA_PROTECT_MEMORY = ::core::option::Option<unsafe extern "system" fn(buffer: *mut ::core::ffi::c_void, buffersize: u32)>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PLSA_REDIRECTED_LOGON_CLEANUP_CALLBACK = ::core::option::Option<unsafe extern "system" fn(redirectedlogonhandle: super::super::super::Foundation::HANDLE)>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PLSA_REGISTER_CALLBACK = ::core::option::Option<unsafe extern "system" fn(callbackid: u32, callback: PLSA_CALLBACK_FUNCTION) -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PLSA_UNLOAD_PACKAGE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct POLICY_ACCOUNT_DOMAIN_INFO {
+ pub DomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub DomainSid: super::super::super::Foundation::PSID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for POLICY_ACCOUNT_DOMAIN_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for POLICY_ACCOUNT_DOMAIN_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct POLICY_AUDIT_CATEGORIES_INFO {
+ pub MaximumCategoryCount: u32,
+ pub SubCategoriesInfo: *mut POLICY_AUDIT_SUBCATEGORIES_INFO,
+}
+impl ::core::marker::Copy for POLICY_AUDIT_CATEGORIES_INFO {}
+impl ::core::clone::Clone for POLICY_AUDIT_CATEGORIES_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct POLICY_AUDIT_EVENTS_INFO {
+ pub AuditingMode: super::super::super::Foundation::BOOLEAN,
+ pub EventAuditingOptions: *mut u32,
+ pub MaximumAuditEventCount: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for POLICY_AUDIT_EVENTS_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for POLICY_AUDIT_EVENTS_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const POLICY_AUDIT_EVENT_FAILURE: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const POLICY_AUDIT_EVENT_NONE: i32 = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const POLICY_AUDIT_EVENT_SUCCESS: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type POLICY_AUDIT_EVENT_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const AuditCategorySystem: POLICY_AUDIT_EVENT_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const AuditCategoryLogon: POLICY_AUDIT_EVENT_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const AuditCategoryObjectAccess: POLICY_AUDIT_EVENT_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const AuditCategoryPrivilegeUse: POLICY_AUDIT_EVENT_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const AuditCategoryDetailedTracking: POLICY_AUDIT_EVENT_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const AuditCategoryPolicyChange: POLICY_AUDIT_EVENT_TYPE = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const AuditCategoryAccountManagement: POLICY_AUDIT_EVENT_TYPE = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const AuditCategoryDirectoryServiceAccess: POLICY_AUDIT_EVENT_TYPE = 7i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const AuditCategoryAccountLogon: POLICY_AUDIT_EVENT_TYPE = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const POLICY_AUDIT_EVENT_UNCHANGED: i32 = 0i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct POLICY_AUDIT_FULL_QUERY_INFO {
+ pub ShutDownOnFull: super::super::super::Foundation::BOOLEAN,
+ pub LogIsFull: super::super::super::Foundation::BOOLEAN,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for POLICY_AUDIT_FULL_QUERY_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for POLICY_AUDIT_FULL_QUERY_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct POLICY_AUDIT_FULL_SET_INFO {
+ pub ShutDownOnFull: super::super::super::Foundation::BOOLEAN,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for POLICY_AUDIT_FULL_SET_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for POLICY_AUDIT_FULL_SET_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const POLICY_AUDIT_LOG_ADMIN: i32 = 512i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct POLICY_AUDIT_LOG_INFO {
+ pub AuditLogPercentFull: u32,
+ pub MaximumLogSize: u32,
+ pub AuditRetentionPeriod: i64,
+ pub AuditLogFullShutdownInProgress: super::super::super::Foundation::BOOLEAN,
+ pub TimeToShutdown: i64,
+ pub NextAuditRecordId: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for POLICY_AUDIT_LOG_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for POLICY_AUDIT_LOG_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct POLICY_AUDIT_SID_ARRAY {
+ pub UsersCount: u32,
+ pub UserSidArray: *mut super::super::super::Foundation::PSID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for POLICY_AUDIT_SID_ARRAY {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for POLICY_AUDIT_SID_ARRAY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct POLICY_AUDIT_SUBCATEGORIES_INFO {
+ pub MaximumSubCategoryCount: u32,
+ pub EventAuditingOptions: *mut u32,
+}
+impl ::core::marker::Copy for POLICY_AUDIT_SUBCATEGORIES_INFO {}
+impl ::core::clone::Clone for POLICY_AUDIT_SUBCATEGORIES_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const POLICY_CREATE_ACCOUNT: i32 = 16i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const POLICY_CREATE_PRIVILEGE: i32 = 64i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const POLICY_CREATE_SECRET: i32 = 32i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct POLICY_DEFAULT_QUOTA_INFO {
+ pub QuotaLimits: super::super::QUOTA_LIMITS,
+}
+impl ::core::marker::Copy for POLICY_DEFAULT_QUOTA_INFO {}
+impl ::core::clone::Clone for POLICY_DEFAULT_QUOTA_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct POLICY_DNS_DOMAIN_INFO {
+ pub Name: super::super::super::Foundation::UNICODE_STRING,
+ pub DnsDomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub DnsForestName: super::super::super::Foundation::UNICODE_STRING,
+ pub DomainGuid: ::windows_sys::core::GUID,
+ pub Sid: super::super::super::Foundation::PSID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for POLICY_DNS_DOMAIN_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for POLICY_DNS_DOMAIN_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct POLICY_DOMAIN_EFS_INFO {
+ pub InfoLength: u32,
+ pub EfsBlob: *mut u8,
+}
+impl ::core::marker::Copy for POLICY_DOMAIN_EFS_INFO {}
+impl ::core::clone::Clone for POLICY_DOMAIN_EFS_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type POLICY_DOMAIN_INFORMATION_CLASS = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PolicyDomainEfsInformation: POLICY_DOMAIN_INFORMATION_CLASS = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PolicyDomainKerberosTicketInformation: POLICY_DOMAIN_INFORMATION_CLASS = 3i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct POLICY_DOMAIN_KERBEROS_TICKET_INFO {
+ pub AuthenticationOptions: u32,
+ pub MaxServiceTicketAge: i64,
+ pub MaxTicketAge: i64,
+ pub MaxRenewAge: i64,
+ pub MaxClockSkew: i64,
+ pub Reserved: i64,
+}
+impl ::core::marker::Copy for POLICY_DOMAIN_KERBEROS_TICKET_INFO {}
+impl ::core::clone::Clone for POLICY_DOMAIN_KERBEROS_TICKET_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const POLICY_GET_PRIVATE_INFORMATION: i32 = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type POLICY_INFORMATION_CLASS = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PolicyAuditLogInformation: POLICY_INFORMATION_CLASS = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PolicyAuditEventsInformation: POLICY_INFORMATION_CLASS = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PolicyPrimaryDomainInformation: POLICY_INFORMATION_CLASS = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PolicyPdAccountInformation: POLICY_INFORMATION_CLASS = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PolicyAccountDomainInformation: POLICY_INFORMATION_CLASS = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PolicyLsaServerRoleInformation: POLICY_INFORMATION_CLASS = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PolicyReplicaSourceInformation: POLICY_INFORMATION_CLASS = 7i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PolicyDefaultQuotaInformation: POLICY_INFORMATION_CLASS = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PolicyModificationInformation: POLICY_INFORMATION_CLASS = 9i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PolicyAuditFullSetInformation: POLICY_INFORMATION_CLASS = 10i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PolicyAuditFullQueryInformation: POLICY_INFORMATION_CLASS = 11i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PolicyDnsDomainInformation: POLICY_INFORMATION_CLASS = 12i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PolicyDnsDomainInformationInt: POLICY_INFORMATION_CLASS = 13i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PolicyLocalAccountDomainInformation: POLICY_INFORMATION_CLASS = 14i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PolicyMachineAccountInformation: POLICY_INFORMATION_CLASS = 15i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PolicyLastEntry: POLICY_INFORMATION_CLASS = 16i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const POLICY_KERBEROS_VALIDATE_CLIENT: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const POLICY_LOOKUP_NAMES: i32 = 2048i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type POLICY_LSA_SERVER_ROLE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PolicyServerRoleBackup: POLICY_LSA_SERVER_ROLE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PolicyServerRolePrimary: POLICY_LSA_SERVER_ROLE = 3i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct POLICY_LSA_SERVER_ROLE_INFO {
+ pub LsaServerRole: POLICY_LSA_SERVER_ROLE,
+}
+impl ::core::marker::Copy for POLICY_LSA_SERVER_ROLE_INFO {}
+impl ::core::clone::Clone for POLICY_LSA_SERVER_ROLE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct POLICY_MACHINE_ACCT_INFO {
+ pub Rid: u32,
+ pub Sid: super::super::super::Foundation::PSID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for POLICY_MACHINE_ACCT_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for POLICY_MACHINE_ACCT_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct POLICY_MODIFICATION_INFO {
+ pub ModifiedId: i64,
+ pub DatabaseCreationTime: i64,
+}
+impl ::core::marker::Copy for POLICY_MODIFICATION_INFO {}
+impl ::core::clone::Clone for POLICY_MODIFICATION_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const POLICY_NOTIFICATION: i32 = 4096i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type POLICY_NOTIFICATION_INFORMATION_CLASS = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PolicyNotifyAuditEventsInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PolicyNotifyAccountDomainInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PolicyNotifyServerRoleInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PolicyNotifyDnsDomainInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PolicyNotifyDomainEfsInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PolicyNotifyDomainKerberosTicketInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PolicyNotifyMachineAccountPasswordInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 7i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PolicyNotifyGlobalSaclInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PolicyNotifyMax: POLICY_NOTIFICATION_INFORMATION_CLASS = 9i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct POLICY_PD_ACCOUNT_INFO {
+ pub Name: super::super::super::Foundation::UNICODE_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for POLICY_PD_ACCOUNT_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for POLICY_PD_ACCOUNT_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct POLICY_PRIMARY_DOMAIN_INFO {
+ pub Name: super::super::super::Foundation::UNICODE_STRING,
+ pub Sid: super::super::super::Foundation::PSID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for POLICY_PRIMARY_DOMAIN_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for POLICY_PRIMARY_DOMAIN_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const POLICY_QOS_ALLOW_LOCAL_ROOT_CERT_STORE: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const POLICY_QOS_DHCP_SERVER_ALLOWED: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const POLICY_QOS_INBOUND_CONFIDENTIALITY: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const POLICY_QOS_INBOUND_INTEGRITY: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const POLICY_QOS_OUTBOUND_CONFIDENTIALITY: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const POLICY_QOS_OUTBOUND_INTEGRITY: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const POLICY_QOS_RAS_SERVER_ALLOWED: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const POLICY_QOS_SCHANNEL_REQUIRED: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct POLICY_REPLICA_SOURCE_INFO {
+ pub ReplicaSource: super::super::super::Foundation::UNICODE_STRING,
+ pub ReplicaAccountName: super::super::super::Foundation::UNICODE_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for POLICY_REPLICA_SOURCE_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for POLICY_REPLICA_SOURCE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const POLICY_SERVER_ADMIN: i32 = 1024i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const POLICY_SET_AUDIT_REQUIREMENTS: i32 = 256i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const POLICY_SET_DEFAULT_QUOTA_LIMITS: i32 = 128i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const POLICY_TRUST_ADMIN: i32 = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const POLICY_VIEW_AUDIT_INFORMATION: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const POLICY_VIEW_LOCAL_INFORMATION: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PRIMARY_CRED_ARSO_LOGON: u32 = 2097152u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PRIMARY_CRED_AUTH_ID: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PRIMARY_CRED_CACHED_INTERACTIVE_LOGON: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PRIMARY_CRED_CACHED_LOGON: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PRIMARY_CRED_CLEAR_PASSWORD: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PRIMARY_CRED_DO_NOT_SPLIT: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PRIMARY_CRED_ENCRYPTED_CREDGUARD_PASSWORD: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PRIMARY_CRED_ENTERPRISE_INTERNET_USER: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PRIMARY_CRED_EX: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PRIMARY_CRED_INTERACTIVE_FIDO_LOGON: u32 = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PRIMARY_CRED_INTERACTIVE_NGC_LOGON: u32 = 524288u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PRIMARY_CRED_INTERACTIVE_SMARTCARD_LOGON: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PRIMARY_CRED_INTERNET_USER: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PRIMARY_CRED_LOGON_LUA: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PRIMARY_CRED_LOGON_NO_TCB: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PRIMARY_CRED_LOGON_PACKAGE_SHIFT: u32 = 24u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PRIMARY_CRED_OWF_PASSWORD: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PRIMARY_CRED_PACKAGE_MASK: u32 = 4278190080u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PRIMARY_CRED_PACKED_CREDS: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PRIMARY_CRED_PROTECTED_USER: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PRIMARY_CRED_REFRESH_NEEDED: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PRIMARY_CRED_RESTRICTED_TS: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PRIMARY_CRED_SUPPLEMENTAL: u32 = 4194304u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PRIMARY_CRED_TRANSFER: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const PRIMARY_CRED_UPDATE: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type PSAM_CREDENTIAL_UPDATE_FREE_ROUTINE = ::core::option::Option<unsafe extern "system" fn(p: *const ::core::ffi::c_void)>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PSAM_INIT_NOTIFICATION_ROUTINE = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Foundation::BOOLEAN>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct PctPublicKey {
+ pub Type: u32,
+ pub cbKey: u32,
+ pub pKey: [u8; 1],
+}
+impl ::core::marker::Copy for PctPublicKey {}
+impl ::core::clone::Clone for PctPublicKey {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const RCRED_CRED_EXISTS: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const RCRED_STATUS_NOCRED: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const RCRED_STATUS_UNKNOWN_ISSUER: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+pub type REVERT_SECURITY_CONTEXT_FN = ::core::option::Option<unsafe extern "system" fn(param0: *mut super::super::Credentials::SecHandle) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const RTL_ENCRYPT_MEMORY_SIZE: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const RTL_ENCRYPT_OPTION_CROSS_PROCESS: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const RTL_ENCRYPT_OPTION_FOR_SYSTEM: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const RTL_ENCRYPT_OPTION_SAME_LOGON: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SAM_CREDENTIAL_UPDATE_FREE_ROUTINE: &str = "CredentialUpdateFree";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SAM_CREDENTIAL_UPDATE_NOTIFY_ROUTINE: &str = "CredentialUpdateNotify";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SAM_CREDENTIAL_UPDATE_REGISTER_MAPPED_ENTRYPOINTS_ROUTINE: &str = "RegisterMappedEntrypoints";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SAM_CREDENTIAL_UPDATE_REGISTER_ROUTINE: &str = "CredentialUpdateRegister";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SAM_DAYS_PER_WEEK: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SAM_INIT_NOTIFICATION_ROUTINE: &str = "InitializeChangeNotify";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SAM_PASSWORD_CHANGE_NOTIFY_ROUTINE: &str = "PasswordChangeNotify";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SAM_PASSWORD_FILTER_ROUTINE: &str = "PasswordFilter";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SAM_REGISTER_MAPPING_ELEMENT {
+ pub Original: ::windows_sys::core::PSTR,
+ pub Mapped: ::windows_sys::core::PSTR,
+ pub Continuable: super::super::super::Foundation::BOOLEAN,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SAM_REGISTER_MAPPING_ELEMENT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SAM_REGISTER_MAPPING_ELEMENT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SAM_REGISTER_MAPPING_LIST {
+ pub Count: u32,
+ pub Elements: *mut SAM_REGISTER_MAPPING_ELEMENT,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SAM_REGISTER_MAPPING_LIST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SAM_REGISTER_MAPPING_LIST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SAM_REGISTER_MAPPING_TABLE {
+ pub Count: u32,
+ pub Lists: *mut SAM_REGISTER_MAPPING_LIST,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SAM_REGISTER_MAPPING_TABLE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SAM_REGISTER_MAPPING_TABLE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type SASL_AUTHZID_STATE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const Sasl_AuthZIDForbidden: SASL_AUTHZID_STATE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const Sasl_AuthZIDProcessed: SASL_AUTHZID_STATE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SASL_OPTION_AUTHZ_PROCESSING: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SASL_OPTION_AUTHZ_STRING: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SASL_OPTION_RECV_SIZE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SASL_OPTION_SEND_SIZE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCHANNEL_ALERT: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SCHANNEL_ALERT_TOKEN {
+ pub dwTokenType: u32,
+ pub dwAlertType: SCHANNEL_ALERT_TOKEN_ALERT_TYPE,
+ pub dwAlertNumber: u32,
+}
+impl ::core::marker::Copy for SCHANNEL_ALERT_TOKEN {}
+impl ::core::clone::Clone for SCHANNEL_ALERT_TOKEN {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type SCHANNEL_ALERT_TOKEN_ALERT_TYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1_ALERT_WARNING: SCHANNEL_ALERT_TOKEN_ALERT_TYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1_ALERT_FATAL: SCHANNEL_ALERT_TOKEN_ALERT_TYPE = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SCHANNEL_CERT_HASH {
+ pub dwLength: u32,
+ pub dwFlags: u32,
+ pub hProv: usize,
+ pub ShaHash: [u8; 20],
+}
+impl ::core::marker::Copy for SCHANNEL_CERT_HASH {}
+impl ::core::clone::Clone for SCHANNEL_CERT_HASH {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SCHANNEL_CERT_HASH_STORE {
+ pub dwLength: u32,
+ pub dwFlags: u32,
+ pub hProv: usize,
+ pub ShaHash: [u8; 20],
+ pub pwszStoreName: [u16; 128],
+}
+impl ::core::marker::Copy for SCHANNEL_CERT_HASH_STORE {}
+impl ::core::clone::Clone for SCHANNEL_CERT_HASH_STORE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SCHANNEL_CLIENT_SIGNATURE {
+ pub cbLength: u32,
+ pub aiHash: u32,
+ pub cbHash: u32,
+ pub HashValue: [u8; 36],
+ pub CertThumbprint: [u8; 20],
+}
+impl ::core::marker::Copy for SCHANNEL_CLIENT_SIGNATURE {}
+impl ::core::clone::Clone for SCHANNEL_CLIENT_SIGNATURE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+pub struct SCHANNEL_CRED {
+ pub dwVersion: u32,
+ pub cCreds: u32,
+ pub paCred: *mut *mut super::super::Cryptography::CERT_CONTEXT,
+ pub hRootStore: super::super::Cryptography::HCERTSTORE,
+ pub cMappers: u32,
+ pub aphMappers: *mut *mut _HMAPPER,
+ pub cSupportedAlgs: u32,
+ pub palgSupportedAlgs: *mut u32,
+ pub grbitEnabledProtocols: u32,
+ pub dwMinimumCipherStrength: u32,
+ pub dwMaximumCipherStrength: u32,
+ pub dwSessionLifespan: u32,
+ pub dwFlags: SCHANNEL_CRED_FLAGS,
+ pub dwCredFormat: u32,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::marker::Copy for SCHANNEL_CRED {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::clone::Clone for SCHANNEL_CRED {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type SCHANNEL_CRED_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_AUTO_CRED_VALIDATION: SCHANNEL_CRED_FLAGS = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_CACHE_ONLY_URL_RETRIEVAL_ON_CREATE: SCHANNEL_CRED_FLAGS = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_DISABLE_RECONNECTS: SCHANNEL_CRED_FLAGS = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_IGNORE_NO_REVOCATION_CHECK: SCHANNEL_CRED_FLAGS = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_IGNORE_REVOCATION_OFFLINE: SCHANNEL_CRED_FLAGS = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_MANUAL_CRED_VALIDATION: SCHANNEL_CRED_FLAGS = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_NO_DEFAULT_CREDS: SCHANNEL_CRED_FLAGS = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_NO_SERVERNAME_CHECK: SCHANNEL_CRED_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_NO_SYSTEM_MAPPER: SCHANNEL_CRED_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_REVOCATION_CHECK_CHAIN: SCHANNEL_CRED_FLAGS = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT: SCHANNEL_CRED_FLAGS = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_REVOCATION_CHECK_END_CERT: SCHANNEL_CRED_FLAGS = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_USE_DEFAULT_CREDS: SCHANNEL_CRED_FLAGS = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_SEND_AUX_RECORD: SCHANNEL_CRED_FLAGS = 2097152u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_SEND_ROOT_CERT: SCHANNEL_CRED_FLAGS = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_USE_STRONG_CRYPTO: SCHANNEL_CRED_FLAGS = 4194304u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_USE_PRESHAREDKEY_ONLY: SCHANNEL_CRED_FLAGS = 8388608u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCHANNEL_CRED_VERSION: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCHANNEL_NAME: &str = "Schannel";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCHANNEL_NAME_A: &str = "Schannel";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCHANNEL_NAME_W: &str = "Schannel";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCHANNEL_RENEGOTIATE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCHANNEL_SECRET_PRIVKEY: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCHANNEL_SECRET_TYPE_CAPI: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCHANNEL_SESSION: u32 = 3u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SCHANNEL_SESSION_TOKEN {
+ pub dwTokenType: u32,
+ pub dwFlags: SCHANNEL_SESSION_TOKEN_FLAGS,
+}
+impl ::core::marker::Copy for SCHANNEL_SESSION_TOKEN {}
+impl ::core::clone::Clone for SCHANNEL_SESSION_TOKEN {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type SCHANNEL_SESSION_TOKEN_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SSL_SESSION_ENABLE_RECONNECTS: SCHANNEL_SESSION_TOKEN_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SSL_SESSION_DISABLE_RECONNECTS: SCHANNEL_SESSION_TOKEN_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCHANNEL_SHUTDOWN: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_ALLOW_NULL_ENCRYPTION: u32 = 33554432u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SCH_CRED {
+ pub dwVersion: u32,
+ pub cCreds: u32,
+ pub paSecret: *mut *mut ::core::ffi::c_void,
+ pub paPublic: *mut *mut ::core::ffi::c_void,
+ pub cMappers: u32,
+ pub aphMappers: *mut *mut _HMAPPER,
+}
+impl ::core::marker::Copy for SCH_CRED {}
+impl ::core::clone::Clone for SCH_CRED {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CREDENTIALS_VERSION: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_CACHE_ONLY_URL_RETRIEVAL: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_CERT_CONTEXT: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_DEFERRED_CRED_VALIDATION: u32 = 67108864u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_DISABLE_RECONNECTS: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_FORMAT_CERT_CONTEXT: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_FORMAT_CERT_HASH: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_FORMAT_CERT_HASH_STORE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_MAX_STORE_NAME_SIZE: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_MAX_SUPPORTED_ALGS: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_MAX_SUPPORTED_ALPN_IDS: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_MAX_SUPPORTED_CERTS: u32 = 100u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_MAX_SUPPORTED_CHAINING_MODES: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_MAX_SUPPORTED_CRYPTO_SETTINGS: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_MAX_SUPPORTED_PARAMETERS: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_MEMORY_STORE_CERT: u32 = 65536u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SCH_CRED_PUBLIC_CERTCHAIN {
+ pub dwType: u32,
+ pub cbCertChain: u32,
+ pub pCertChain: *mut u8,
+}
+impl ::core::marker::Copy for SCH_CRED_PUBLIC_CERTCHAIN {}
+impl ::core::clone::Clone for SCH_CRED_PUBLIC_CERTCHAIN {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_RESTRICTED_ROOTS: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_REVOCATION_CHECK_CACHE_ONLY: u32 = 16384u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SCH_CRED_SECRET_CAPI {
+ pub dwType: u32,
+ pub hProv: usize,
+}
+impl ::core::marker::Copy for SCH_CRED_SECRET_CAPI {}
+impl ::core::clone::Clone for SCH_CRED_SECRET_CAPI {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SCH_CRED_SECRET_PRIVKEY {
+ pub dwType: u32,
+ pub pPrivateKey: *mut u8,
+ pub cbPrivateKey: u32,
+ pub pszPassword: ::windows_sys::core::PSTR,
+}
+impl ::core::marker::Copy for SCH_CRED_SECRET_PRIVKEY {}
+impl ::core::clone::Clone for SCH_CRED_SECRET_PRIVKEY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_SNI_CREDENTIAL: u32 = 524288u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_SNI_ENABLE_OCSP: u32 = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_V1: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_V2: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_V3: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_VERSION: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_X509_CAPI: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_CRED_X509_CERTCHAIN: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SCH_EXTENSION_DATA {
+ pub ExtensionType: u16,
+ pub pExtData: *const u8,
+ pub cbExtData: u32,
+}
+impl ::core::marker::Copy for SCH_EXTENSION_DATA {}
+impl ::core::clone::Clone for SCH_EXTENSION_DATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_MACHINE_CERT_HASH: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_MAX_EXT_SUBSCRIPTIONS: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_USE_DTLS_ONLY: u32 = 16777216u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_ALERT: u32 = 17u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_APPLICATION_PROTOCOLS: u32 = 18u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_ATTRMASK: u32 = 4026531840u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_CHANGE_PASS_RESPONSE: u32 = 15u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_CHANNEL_BINDINGS: u32 = 14u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_DATA: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_DTLS_MTU: u32 = 24u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_EMPTY: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_EXTRA: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_FLAGS: u32 = 27u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_KERNEL_MAP: u32 = 536870912u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_MECHLIST: u32 = 11u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_MECHLIST_SIGNATURE: u32 = 12u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_MISSING: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_NEGOTIATION_INFO: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_PADDING: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_PKG_PARAMS: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_PRESHARED_KEY: u32 = 22u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_PRESHARED_KEY_IDENTITY: u32 = 23u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_READONLY: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_READONLY_WITH_CHECKSUM: u32 = 268435456u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_RESERVED: u32 = 1610612736u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_SEND_GENERIC_TLS_EXTENSION: u32 = 25u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_SRTP_MASTER_KEY_IDENTIFIER: u32 = 20u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_SRTP_PROTECTION_PROFILES: u32 = 19u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_STREAM: u32 = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_STREAM_HEADER: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_STREAM_TRAILER: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_SUBSCRIBE_GENERIC_TLS_EXTENSION: u32 = 26u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_TARGET: u32 = 13u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_TARGET_HOST: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_TOKEN: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_TOKEN_BINDING: u32 = 21u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_TRAFFIC_SECRETS: u32 = 28u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_UNMAPPED: u32 = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECBUFFER_VERSION: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKGCONTEXT_CIPHERINFO_V1: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKGCONTEXT_CONNECTION_INFO_EX_V1: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ANSI_ATTRIBUTE: u32 = 0u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SECPKG_APP_MODE_INFO {
+ pub UserFunction: u32,
+ pub Argument1: usize,
+ pub Argument2: usize,
+ pub UserData: SecBuffer,
+ pub ReturnToLsa: super::super::super::Foundation::BOOLEAN,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SECPKG_APP_MODE_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SECPKG_APP_MODE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type SECPKG_ATTR = u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_C_ACCESS_TOKEN: SECPKG_ATTR = 2147483666u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_C_FULL_ACCESS_TOKEN: SECPKG_ATTR = 2147483778u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_CERT_TRUST_STATUS: SECPKG_ATTR = 2147483780u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_CREDS: SECPKG_ATTR = 2147483776u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_CREDS_2: SECPKG_ATTR = 2147483782u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_NEGOTIATION_PACKAGE: SECPKG_ATTR = 2147483777u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_PACKAGE_INFO: SECPKG_ATTR = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_SERVER_AUTH_FLAGS: SECPKG_ATTR = 2147483779u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_SIZES: SECPKG_ATTR = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_SUBJECT_SECURITY_ATTRIBUTES: SECPKG_ATTR = 124u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_APP_DATA: SECPKG_ATTR = 94u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_EAP_PRF_INFO: SECPKG_ATTR = 101u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_EARLY_START: SECPKG_ATTR = 105u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_DTLS_MTU: SECPKG_ATTR = 34u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_KEYING_MATERIAL_INFO: SECPKG_ATTR = 106u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_ACCESS_TOKEN: SECPKG_ATTR = 18u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_AUTHORITY: SECPKG_ATTR = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_CLIENT_SPECIFIED_TARGET: SECPKG_ATTR = 27u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_CONNECTION_INFO: SECPKG_ATTR = 90u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_DCE_INFO: SECPKG_ATTR = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_ENDPOINT_BINDINGS: SECPKG_ATTR = 26u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_EAP_KEY_BLOCK: SECPKG_ATTR = 91u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_FLAGS: SECPKG_ATTR = 14u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_ISSUER_LIST_EX: SECPKG_ATTR = 89u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_KEY_INFO: SECPKG_ATTR = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_LAST_CLIENT_TOKEN_STATUS: SECPKG_ATTR = 30u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_LIFESPAN: SECPKG_ATTR = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_LOCAL_CERT_CONTEXT: SECPKG_ATTR = 84u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_LOCAL_CRED: SECPKG_ATTR = 82u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_NAMES: SECPKG_ATTR = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_NATIVE_NAMES: SECPKG_ATTR = 13u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_NEGOTIATION_INFO: SECPKG_ATTR = 12u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_PASSWORD_EXPIRY: SECPKG_ATTR = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_REMOTE_CERT_CONTEXT: SECPKG_ATTR = 83u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_ROOT_STORE: SECPKG_ATTR = 85u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_SESSION_KEY: SECPKG_ATTR = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_SESSION_INFO: SECPKG_ATTR = 93u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_STREAM_SIZES: SECPKG_ATTR = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_SUPPORTED_SIGNATURES: SECPKG_ATTR = 102u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_TARGET_INFORMATION: SECPKG_ATTR = 17u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_UNIQUE_BINDINGS: SECPKG_ATTR = 25u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_APPLICATION_PROTOCOL: u32 = 35u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_AUTHENTICATION_ID: u32 = 20u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_CC_POLICY_RESULT: u32 = 97u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_CERT_CHECK_RESULT: u32 = 113u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_CERT_CHECK_RESULT_INPROC: u32 = 114u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_CIPHER_INFO: u32 = 100u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_CIPHER_STRENGTHS: u32 = 87u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_CLIENT_CERT_POLICY: u32 = 96u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_CONNECTION_INFO_EX: u32 = 110u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_CONTEXT_DELETED: u32 = 33u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_CREDENTIAL_NAME: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_ISSUER_LIST: u32 = 80u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_IS_LOOPBACK: u32 = 37u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_KEYING_MATERIAL: u32 = 107u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_KEYING_MATERIAL_INPROC: u32 = 112u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_KEYING_MATERIAL_TOKEN_BINDING: u32 = 111u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type SECPKG_ATTR_LCT_STATUS = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecPkgAttrLastClientTokenYes: SECPKG_ATTR_LCT_STATUS = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecPkgAttrLastClientTokenNo: SECPKG_ATTR_LCT_STATUS = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecPkgAttrLastClientTokenMaybe: SECPKG_ATTR_LCT_STATUS = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_LOCAL_CERT_INFO: u32 = 99u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_LOGOFF_TIME: u32 = 21u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_MAPPED_CRED_ATTR: u32 = 92u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_NEGOTIATED_TLS_EXTENSIONS: u32 = 36u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_NEGO_INFO_FLAG_NO_KERBEROS: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_NEGO_INFO_FLAG_NO_NTLM: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_NEGO_KEYS: u32 = 22u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_NEGO_PKG_INFO: u32 = 31u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_NEGO_STATUS: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_PROMPTING_NEEDED: u32 = 24u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_PROTO_INFO: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_REMOTE_CERTIFICATES: u32 = 95u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_REMOTE_CERT_CHAIN: u32 = 103u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_REMOTE_CRED: u32 = 81u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_SASL_CONTEXT: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_SESSION_TICKET_KEYS: u32 = 115u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_SRTP_PARAMETERS: u32 = 108u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_SUPPORTED_ALGS: u32 = 86u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_SUPPORTED_PROTOCOLS: u32 = 88u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_TARGET: u32 = 19u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_THUNK_ALL: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_TOKEN_BINDING: u32 = 109u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_UI_INFO: u32 = 104u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_USER_FLAGS: u32 = 11u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_USE_NCRYPT: u32 = 98u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ATTR_USE_VALIDATED: u32 = 15u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SECPKG_BYTE_VECTOR {
+ pub ByteArrayOffset: u32,
+ pub ByteArrayLength: u16,
+}
+impl ::core::marker::Copy for SECPKG_BYTE_VECTOR {}
+impl ::core::clone::Clone for SECPKG_BYTE_VECTOR {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CALLFLAGS_APPCONTAINER: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CALLFLAGS_APPCONTAINER_AUTHCAPABLE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CALLFLAGS_APPCONTAINER_UPNCAPABLE: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CALLFLAGS_FORCE_SUPPLIED: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CALL_ANSI: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CALL_ASYNC_UPDATE: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CALL_BUFFER_MARSHAL: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CALL_CLEANUP: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CALL_CLOUDAP_CONNECT: u32 = 262144u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SECPKG_CALL_INFO {
+ pub ProcessId: u32,
+ pub ThreadId: u32,
+ pub Attributes: u32,
+ pub CallCount: u32,
+ pub MechOid: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for SECPKG_CALL_INFO {}
+impl ::core::clone::Clone for SECPKG_CALL_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CALL_IN_PROC: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CALL_IS_TCB: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CALL_KERNEL_MODE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CALL_NEGO: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CALL_NEGO_EXTENDER: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CALL_NETWORK_ONLY: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type SECPKG_CALL_PACKAGE_MESSAGE_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecPkgCallPackageMinMessage: SECPKG_CALL_PACKAGE_MESSAGE_TYPE = 1024i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecPkgCallPackagePinDcMessage: SECPKG_CALL_PACKAGE_MESSAGE_TYPE = 1024i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecPkgCallPackageUnpinAllDcsMessage: SECPKG_CALL_PACKAGE_MESSAGE_TYPE = 1025i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecPkgCallPackageTransferCredMessage: SECPKG_CALL_PACKAGE_MESSAGE_TYPE = 1026i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecPkgCallPackageMaxMessage: SECPKG_CALL_PACKAGE_MESSAGE_TYPE = 1026i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SECPKG_CALL_PACKAGE_PIN_DC_REQUEST {
+ pub MessageType: u32,
+ pub Flags: u32,
+ pub DomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub DcName: super::super::super::Foundation::UNICODE_STRING,
+ pub DcFlags: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SECPKG_CALL_PACKAGE_PIN_DC_REQUEST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SECPKG_CALL_PACKAGE_PIN_DC_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST {
+ pub MessageType: u32,
+ pub OriginLogonId: super::super::super::Foundation::LUID,
+ pub DestinationLogonId: super::super::super::Foundation::LUID,
+ pub Flags: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST_FLAG_CLEANUP_CREDENTIALS: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST_FLAG_OPTIMISTIC_LOGON: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST_FLAG_TO_SSO_SESSION: u32 = 4u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SECPKG_CALL_PACKAGE_UNPIN_ALL_DCS_REQUEST {
+ pub MessageType: u32,
+ pub Flags: u32,
+}
+impl ::core::marker::Copy for SECPKG_CALL_PACKAGE_UNPIN_ALL_DCS_REQUEST {}
+impl ::core::clone::Clone for SECPKG_CALL_PACKAGE_UNPIN_ALL_DCS_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CALL_PROCESS_TERM: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CALL_RECURSIVE: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CALL_SYSTEM_PROC: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CALL_THREAD_TERM: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CALL_UNLOCK: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CALL_URGENT: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CALL_WINLOGON: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CALL_WOWA32: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CALL_WOWCLIENT: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CALL_WOWX86: u32 = 64u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SECPKG_CLIENT_INFO {
+ pub LogonId: super::super::super::Foundation::LUID,
+ pub ProcessID: u32,
+ pub ThreadID: u32,
+ pub HasTcbPrivilege: super::super::super::Foundation::BOOLEAN,
+ pub Impersonating: super::super::super::Foundation::BOOLEAN,
+ pub Restricted: super::super::super::Foundation::BOOLEAN,
+ pub ClientFlags: u8,
+ pub ImpersonationLevel: super::super::SECURITY_IMPERSONATION_LEVEL,
+ pub ClientToken: super::super::super::Foundation::HANDLE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SECPKG_CLIENT_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SECPKG_CLIENT_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CLIENT_PROCESS_TERMINATED: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CLIENT_THREAD_TERMINATED: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SECPKG_CONTEXT_THUNKS {
+ pub InfoLevelCount: u32,
+ pub Levels: [u32; 1],
+}
+impl ::core::marker::Copy for SECPKG_CONTEXT_THUNKS {}
+impl ::core::clone::Clone for SECPKG_CONTEXT_THUNKS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type SECPKG_CRED = u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CRED_INBOUND: SECPKG_CRED = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CRED_OUTBOUND: SECPKG_CRED = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SECPKG_CREDENTIAL {
+ pub Version: u64,
+ pub cbHeaderLength: u16,
+ pub cbStructureLength: u32,
+ pub ClientProcess: u32,
+ pub ClientThread: u32,
+ pub LogonId: super::super::super::Foundation::LUID,
+ pub ClientToken: super::super::super::Foundation::HANDLE,
+ pub SessionId: u32,
+ pub ModifiedId: super::super::super::Foundation::LUID,
+ pub fCredentials: u32,
+ pub Flags: u32,
+ pub PrincipalName: SECPKG_BYTE_VECTOR,
+ pub PackageList: SECPKG_BYTE_VECTOR,
+ pub MarshaledSuppliedCreds: SECPKG_BYTE_VECTOR,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SECPKG_CREDENTIAL {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SECPKG_CREDENTIAL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CREDENTIAL_ATTRIBUTE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CREDENTIAL_FLAGS_CALLER_HAS_TCB: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CREDENTIAL_FLAGS_CREDMAN_CRED: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CREDENTIAL_VERSION: u32 = 201u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CRED_ATTR_CERT: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CRED_ATTR_KDC_PROXY_SETTINGS: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CRED_ATTR_NAMES: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CRED_ATTR_PAC_BYPASS: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CRED_ATTR_SSI_PROVIDER: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CRED_AUTOLOGON_RESTRICTED: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CRED_BOTH: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type SECPKG_CRED_CLASS = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecPkgCredClass_None: SECPKG_CRED_CLASS = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecPkgCredClass_Ephemeral: SECPKG_CRED_CLASS = 10i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecPkgCredClass_PersistedGeneric: SECPKG_CRED_CLASS = 20i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecPkgCredClass_PersistedSpecific: SECPKG_CRED_CLASS = 30i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecPkgCredClass_Explicit: SECPKG_CRED_CLASS = 40i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CRED_DEFAULT: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CRED_PROCESS_POLICY_ONLY: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_CRED_RESERVED: u32 = 4026531840u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SECPKG_DLL_FUNCTIONS {
+ pub AllocateHeap: PLSA_ALLOCATE_LSA_HEAP,
+ pub FreeHeap: PLSA_FREE_LSA_HEAP,
+ pub RegisterCallback: PLSA_REGISTER_CALLBACK,
+ pub LocatePackageById: PLSA_LOCATE_PKG_BY_ID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SECPKG_DLL_FUNCTIONS {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SECPKG_DLL_FUNCTIONS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SECPKG_EVENT_NOTIFY {
+ pub EventClass: u32,
+ pub Reserved: u32,
+ pub EventDataSize: u32,
+ pub EventData: *mut ::core::ffi::c_void,
+ pub PackageParameter: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for SECPKG_EVENT_NOTIFY {}
+impl ::core::clone::Clone for SECPKG_EVENT_NOTIFY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SECPKG_EVENT_PACKAGE_CHANGE {
+ pub ChangeType: SECPKG_PACKAGE_CHANGE_TYPE,
+ pub PackageId: usize,
+ pub PackageName: super::super::super::Foundation::UNICODE_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SECPKG_EVENT_PACKAGE_CHANGE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SECPKG_EVENT_PACKAGE_CHANGE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SECPKG_EVENT_ROLE_CHANGE {
+ pub PreviousRole: u32,
+ pub NewRole: u32,
+}
+impl ::core::marker::Copy for SECPKG_EVENT_ROLE_CHANGE {}
+impl ::core::clone::Clone for SECPKG_EVENT_ROLE_CHANGE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SECPKG_EXTENDED_INFORMATION {
+ pub Class: SECPKG_EXTENDED_INFORMATION_CLASS,
+ pub Info: SECPKG_EXTENDED_INFORMATION_0,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SECPKG_EXTENDED_INFORMATION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SECPKG_EXTENDED_INFORMATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union SECPKG_EXTENDED_INFORMATION_0 {
+ pub GssInfo: SECPKG_GSS_INFO,
+ pub ContextThunks: SECPKG_CONTEXT_THUNKS,
+ pub MutualAuthLevel: SECPKG_MUTUAL_AUTH_LEVEL,
+ pub WowClientDll: SECPKG_WOW_CLIENT_DLL,
+ pub ExtraOids: SECPKG_EXTRA_OIDS,
+ pub Nego2Info: SECPKG_NEGO2_INFO,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SECPKG_EXTENDED_INFORMATION_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SECPKG_EXTENDED_INFORMATION_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type SECPKG_EXTENDED_INFORMATION_CLASS = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecpkgGssInfo: SECPKG_EXTENDED_INFORMATION_CLASS = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecpkgContextThunks: SECPKG_EXTENDED_INFORMATION_CLASS = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecpkgMutualAuthLevel: SECPKG_EXTENDED_INFORMATION_CLASS = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecpkgWowClientDll: SECPKG_EXTENDED_INFORMATION_CLASS = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecpkgExtraOids: SECPKG_EXTENDED_INFORMATION_CLASS = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecpkgMaxInfo: SECPKG_EXTENDED_INFORMATION_CLASS = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecpkgNego2Info: SECPKG_EXTENDED_INFORMATION_CLASS = 7i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SECPKG_EXTRA_OIDS {
+ pub OidCount: u32,
+ pub Oids: [SECPKG_SERIALIZED_OID; 1],
+}
+impl ::core::marker::Copy for SECPKG_EXTRA_OIDS {}
+impl ::core::clone::Clone for SECPKG_EXTRA_OIDS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_FLAG_ACCEPT_WIN32_NAME: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_FLAG_APPCONTAINER_CHECKS: u32 = 8388608u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_FLAG_APPCONTAINER_PASSTHROUGH: u32 = 4194304u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_FLAG_APPLY_LOOPBACK: u32 = 33554432u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_FLAG_ASCII_BUFFERS: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_FLAG_CLIENT_ONLY: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_FLAG_CONNECTION: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_FLAG_CREDENTIAL_ISOLATION_ENABLED: u32 = 16777216u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_FLAG_DATAGRAM: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_FLAG_DELEGATION: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_FLAG_EXTENDED_ERROR: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_FLAG_FRAGMENT: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_FLAG_GSS_COMPATIBLE: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_FLAG_IMPERSONATION: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_FLAG_INTEGRITY: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_FLAG_LOGON: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_FLAG_MULTI_REQUIRED: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_FLAG_MUTUAL_AUTH: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_FLAG_NEGOTIABLE: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_FLAG_NEGOTIABLE2: u32 = 2097152u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_FLAG_NEGO_EXTENDER: u32 = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_FLAG_PRIVACY: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_FLAG_READONLY_WITH_CHECKSUM: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_FLAG_RESTRICTED_TOKENS: u32 = 524288u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_FLAG_STREAM: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_FLAG_TOKEN_ONLY: u32 = 4u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Threading\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
+pub struct SECPKG_FUNCTION_TABLE {
+ pub InitializePackage: PLSA_AP_INITIALIZE_PACKAGE,
+ pub LogonUserA: PLSA_AP_LOGON_USER,
+ pub CallPackage: PLSA_AP_CALL_PACKAGE,
+ pub LogonTerminated: PLSA_AP_LOGON_TERMINATED,
+ pub CallPackageUntrusted: PLSA_AP_CALL_PACKAGE,
+ pub CallPackagePassthrough: PLSA_AP_CALL_PACKAGE_PASSTHROUGH,
+ pub LogonUserExA: PLSA_AP_LOGON_USER_EX,
+ pub LogonUserEx2: PLSA_AP_LOGON_USER_EX2,
+ pub Initialize: SpInitializeFn,
+ pub Shutdown: SpShutdownFn,
+ pub GetInfo: SpGetInfoFn,
+ pub AcceptCredentials: SpAcceptCredentialsFn,
+ pub AcquireCredentialsHandleA: SpAcquireCredentialsHandleFn,
+ pub QueryCredentialsAttributesA: SpQueryCredentialsAttributesFn,
+ pub FreeCredentialsHandle: SpFreeCredentialsHandleFn,
+ pub SaveCredentials: SpSaveCredentialsFn,
+ pub GetCredentials: SpGetCredentialsFn,
+ pub DeleteCredentials: SpDeleteCredentialsFn,
+ pub InitLsaModeContext: SpInitLsaModeContextFn,
+ pub AcceptLsaModeContext: SpAcceptLsaModeContextFn,
+ pub DeleteContext: SpDeleteContextFn,
+ pub ApplyControlToken: SpApplyControlTokenFn,
+ pub GetUserInfo: SpGetUserInfoFn,
+ pub GetExtendedInformation: SpGetExtendedInformationFn,
+ pub QueryContextAttributesA: SpQueryContextAttributesFn,
+ pub AddCredentialsA: SpAddCredentialsFn,
+ pub SetExtendedInformation: SpSetExtendedInformationFn,
+ pub SetContextAttributesA: SpSetContextAttributesFn,
+ pub SetCredentialsAttributesA: SpSetCredentialsAttributesFn,
+ pub ChangeAccountPasswordA: SpChangeAccountPasswordFn,
+ pub QueryMetaData: SpQueryMetaDataFn,
+ pub ExchangeMetaData: SpExchangeMetaDataFn,
+ pub GetCredUIContext: SpGetCredUIContextFn,
+ pub UpdateCredentials: SpUpdateCredentialsFn,
+ pub ValidateTargetInfo: SpValidateTargetInfoFn,
+ pub PostLogonUser: LSA_AP_POST_LOGON_USER,
+ pub GetRemoteCredGuardLogonBuffer: SpGetRemoteCredGuardLogonBufferFn,
+ pub GetRemoteCredGuardSupplementalCreds: SpGetRemoteCredGuardSupplementalCredsFn,
+ pub GetTbalSupplementalCreds: SpGetTbalSupplementalCredsFn,
+ pub LogonUserEx3: PLSA_AP_LOGON_USER_EX3,
+ pub PreLogonUserSurrogate: PLSA_AP_PRE_LOGON_USER_SURROGATE,
+ pub PostLogonUserSurrogate: PLSA_AP_POST_LOGON_USER_SURROGATE,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
+impl ::core::marker::Copy for SECPKG_FUNCTION_TABLE {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
+impl ::core::clone::Clone for SECPKG_FUNCTION_TABLE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SECPKG_GSS_INFO {
+ pub EncodedIdLength: u32,
+ pub EncodedId: [u8; 4],
+}
+impl ::core::marker::Copy for SECPKG_GSS_INFO {}
+impl ::core::clone::Clone for SECPKG_GSS_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_ID_NONE: u32 = 65535u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_INTERFACE_VERSION: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_INTERFACE_VERSION_10: u32 = 33554432u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_INTERFACE_VERSION_2: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_INTERFACE_VERSION_3: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_INTERFACE_VERSION_4: u32 = 524288u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_INTERFACE_VERSION_5: u32 = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_INTERFACE_VERSION_6: u32 = 2097152u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_INTERFACE_VERSION_7: u32 = 4194304u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_INTERFACE_VERSION_8: u32 = 8388608u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_INTERFACE_VERSION_9: u32 = 16777216u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
+pub struct SECPKG_KERNEL_FUNCTIONS {
+ pub AllocateHeap: PLSA_ALLOCATE_LSA_HEAP,
+ pub FreeHeap: PLSA_FREE_LSA_HEAP,
+ pub CreateContextList: PKSEC_CREATE_CONTEXT_LIST,
+ pub InsertListEntry: PKSEC_INSERT_LIST_ENTRY,
+ pub ReferenceListEntry: PKSEC_REFERENCE_LIST_ENTRY,
+ pub DereferenceListEntry: PKSEC_DEREFERENCE_LIST_ENTRY,
+ pub SerializeWinntAuthData: PKSEC_SERIALIZE_WINNT_AUTH_DATA,
+ pub SerializeSchannelAuthData: PKSEC_SERIALIZE_SCHANNEL_AUTH_DATA,
+ pub LocatePackageById: PKSEC_LOCATE_PKG_BY_ID,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
+impl ::core::marker::Copy for SECPKG_KERNEL_FUNCTIONS {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
+impl ::core::clone::Clone for SECPKG_KERNEL_FUNCTIONS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
+pub struct SECPKG_KERNEL_FUNCTION_TABLE {
+ pub Initialize: KspInitPackageFn,
+ pub DeleteContext: KspDeleteContextFn,
+ pub InitContext: KspInitContextFn,
+ pub MapHandle: KspMapHandleFn,
+ pub Sign: KspMakeSignatureFn,
+ pub Verify: KspVerifySignatureFn,
+ pub Seal: KspSealMessageFn,
+ pub Unseal: KspUnsealMessageFn,
+ pub GetToken: KspGetTokenFn,
+ pub QueryAttributes: KspQueryAttributesFn,
+ pub CompleteToken: KspCompleteTokenFn,
+ pub ExportContext: SpExportSecurityContextFn,
+ pub ImportContext: SpImportSecurityContextFn,
+ pub SetPackagePagingMode: KspSetPagingModeFn,
+ pub SerializeAuthData: KspSerializeAuthDataFn,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
+impl ::core::marker::Copy for SECPKG_KERNEL_FUNCTION_TABLE {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Kernel"))]
+impl ::core::clone::Clone for SECPKG_KERNEL_FUNCTION_TABLE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_LSAMODEINIT_NAME: &str = "SpLsaModeInitialize";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_MAX_OID_LENGTH: u32 = 32u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SECPKG_MUTUAL_AUTH_LEVEL {
+ pub MutualAuthLevel: u32,
+}
+impl ::core::marker::Copy for SECPKG_MUTUAL_AUTH_LEVEL {}
+impl ::core::clone::Clone for SECPKG_MUTUAL_AUTH_LEVEL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type SECPKG_NAME_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecNameSamCompatible: SECPKG_NAME_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecNameAlternateId: SECPKG_NAME_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecNameFlat: SECPKG_NAME_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecNameDN: SECPKG_NAME_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecNameSPN: SECPKG_NAME_TYPE = 4i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SECPKG_NEGO2_INFO {
+ pub AuthScheme: [u8; 16],
+ pub PackageFlags: u32,
+}
+impl ::core::marker::Copy for SECPKG_NEGO2_INFO {}
+impl ::core::clone::Clone for SECPKG_NEGO2_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_NEGOTIATION_COMPLETE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_NEGOTIATION_DIRECT: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_NEGOTIATION_IN_PROGRESS: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_NEGOTIATION_OPTIMISTIC: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_NEGOTIATION_TRY_MULTICRED: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_OPTIONS_PERMANENT: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type SECPKG_PACKAGE_CHANGE_TYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_PACKAGE_CHANGE_LOAD: SECPKG_PACKAGE_CHANGE_TYPE = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_PACKAGE_CHANGE_UNLOAD: SECPKG_PACKAGE_CHANGE_TYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_PACKAGE_CHANGE_SELECT: SECPKG_PACKAGE_CHANGE_TYPE = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SECPKG_PARAMETERS {
+ pub Version: u32,
+ pub MachineState: u32,
+ pub SetupMode: u32,
+ pub DomainSid: super::super::super::Foundation::PSID,
+ pub DomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub DnsDomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub DomainGuid: ::windows_sys::core::GUID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SECPKG_PARAMETERS {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SECPKG_PARAMETERS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SECPKG_POST_LOGON_USER_INFO {
+ pub Flags: u32,
+ pub LogonId: super::super::super::Foundation::LUID,
+ pub LinkedLogonId: super::super::super::Foundation::LUID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SECPKG_POST_LOGON_USER_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SECPKG_POST_LOGON_USER_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SECPKG_PRIMARY_CRED {
+ pub LogonId: super::super::super::Foundation::LUID,
+ pub DownlevelName: super::super::super::Foundation::UNICODE_STRING,
+ pub DomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub Password: super::super::super::Foundation::UNICODE_STRING,
+ pub OldPassword: super::super::super::Foundation::UNICODE_STRING,
+ pub UserSid: super::super::super::Foundation::PSID,
+ pub Flags: u32,
+ pub DnsDomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub Upn: super::super::super::Foundation::UNICODE_STRING,
+ pub LogonServer: super::super::super::Foundation::UNICODE_STRING,
+ pub Spare1: super::super::super::Foundation::UNICODE_STRING,
+ pub Spare2: super::super::super::Foundation::UNICODE_STRING,
+ pub Spare3: super::super::super::Foundation::UNICODE_STRING,
+ pub Spare4: super::super::super::Foundation::UNICODE_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SECPKG_PRIMARY_CRED {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SECPKG_PRIMARY_CRED {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SECPKG_PRIMARY_CRED_EX {
+ pub LogonId: super::super::super::Foundation::LUID,
+ pub DownlevelName: super::super::super::Foundation::UNICODE_STRING,
+ pub DomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub Password: super::super::super::Foundation::UNICODE_STRING,
+ pub OldPassword: super::super::super::Foundation::UNICODE_STRING,
+ pub UserSid: super::super::super::Foundation::PSID,
+ pub Flags: u32,
+ pub DnsDomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub Upn: super::super::super::Foundation::UNICODE_STRING,
+ pub LogonServer: super::super::super::Foundation::UNICODE_STRING,
+ pub Spare1: super::super::super::Foundation::UNICODE_STRING,
+ pub Spare2: super::super::super::Foundation::UNICODE_STRING,
+ pub Spare3: super::super::super::Foundation::UNICODE_STRING,
+ pub Spare4: super::super::super::Foundation::UNICODE_STRING,
+ pub PackageId: usize,
+ pub PrevLogonId: super::super::super::Foundation::LUID,
+ pub FlagsEx: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SECPKG_PRIMARY_CRED_EX {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SECPKG_PRIMARY_CRED_EX {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_PRIMARY_CRED_EX_FLAGS_EX_DELEGATION_TOKEN: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SECPKG_REDIRECTED_LOGON_BUFFER {
+ pub RedirectedLogonGuid: ::windows_sys::core::GUID,
+ pub RedirectedLogonHandle: super::super::super::Foundation::HANDLE,
+ pub Init: PLSA_REDIRECTED_LOGON_INIT,
+ pub Callback: PLSA_REDIRECTED_LOGON_CALLBACK,
+ pub CleanupCallback: PLSA_REDIRECTED_LOGON_CLEANUP_CALLBACK,
+ pub GetLogonCreds: PLSA_REDIRECTED_LOGON_GET_LOGON_CREDS,
+ pub GetSupplementalCreds: PLSA_REDIRECTED_LOGON_GET_SUPP_CREDS,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SECPKG_REDIRECTED_LOGON_BUFFER {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SECPKG_REDIRECTED_LOGON_BUFFER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SECPKG_SERIALIZED_OID {
+ pub OidLength: u32,
+ pub OidAttributes: u32,
+ pub OidValue: [u8; 32],
+}
+impl ::core::marker::Copy for SECPKG_SERIALIZED_OID {}
+impl ::core::clone::Clone for SECPKG_SERIALIZED_OID {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type SECPKG_SESSIONINFO_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecSessionPrimaryCred: SECPKG_SESSIONINFO_TYPE = 0i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SECPKG_SHORT_VECTOR {
+ pub ShortArrayOffset: u32,
+ pub ShortArrayCount: u16,
+}
+impl ::core::marker::Copy for SECPKG_SHORT_VECTOR {}
+impl ::core::clone::Clone for SECPKG_SHORT_VECTOR {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_STATE_CRED_ISOLATION_ENABLED: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_STATE_DOMAIN_CONTROLLER: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_STATE_ENCRYPTION_PERMITTED: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_STATE_RESERVED_1: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_STATE_STANDALONE: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_STATE_STRONG_ENCRYPTION_PERMITTED: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_STATE_WORKSTATION: u32 = 8u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SECPKG_SUPPLEMENTAL_CRED {
+ pub PackageName: super::super::super::Foundation::UNICODE_STRING,
+ pub CredentialSize: u32,
+ pub Credentials: *mut u8,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SECPKG_SUPPLEMENTAL_CRED {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SECPKG_SUPPLEMENTAL_CRED {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SECPKG_SUPPLEMENTAL_CRED_ARRAY {
+ pub CredentialCount: u32,
+ pub Credentials: [SECPKG_SUPPLEMENTAL_CRED; 1],
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SECPKG_SUPPLEMENTAL_CRED_ARRAY {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SECPKG_SUPPLEMENTAL_CRED_ARRAY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SECPKG_SUPPLIED_CREDENTIAL {
+ pub cbHeaderLength: u16,
+ pub cbStructureLength: u16,
+ pub UserName: SECPKG_SHORT_VECTOR,
+ pub DomainName: SECPKG_SHORT_VECTOR,
+ pub PackedCredentials: SECPKG_BYTE_VECTOR,
+ pub CredFlags: u32,
+}
+impl ::core::marker::Copy for SECPKG_SUPPLIED_CREDENTIAL {}
+impl ::core::clone::Clone for SECPKG_SUPPLIED_CREDENTIAL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SECPKG_SURROGATE_LOGON {
+ pub Version: u32,
+ pub SurrogateLogonID: super::super::super::Foundation::LUID,
+ pub EntryCount: u32,
+ pub Entries: *mut SECPKG_SURROGATE_LOGON_ENTRY,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SECPKG_SURROGATE_LOGON {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SECPKG_SURROGATE_LOGON {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SECPKG_SURROGATE_LOGON_ENTRY {
+ pub Type: ::windows_sys::core::GUID,
+ pub Data: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for SECPKG_SURROGATE_LOGON_ENTRY {}
+impl ::core::clone::Clone for SECPKG_SURROGATE_LOGON_ENTRY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_SURROGATE_LOGON_VERSION_1: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SECPKG_TARGETINFO {
+ pub DomainSid: super::super::super::Foundation::PSID,
+ pub ComputerName: ::windows_sys::core::PCWSTR,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SECPKG_TARGETINFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SECPKG_TARGETINFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_UNICODE_ATTRIBUTE: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_USERMODEINIT_NAME: &str = "SpUserModeInitialize";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SECPKG_USER_FUNCTION_TABLE {
+ pub InstanceInit: SpInstanceInitFn,
+ pub InitUserModeContext: SpInitUserModeContextFn,
+ pub MakeSignature: SpMakeSignatureFn,
+ pub VerifySignature: SpVerifySignatureFn,
+ pub SealMessage: SpSealMessageFn,
+ pub UnsealMessage: SpUnsealMessageFn,
+ pub GetContextToken: SpGetContextTokenFn,
+ pub QueryContextAttributesA: SpQueryContextAttributesFn,
+ pub CompleteAuthToken: SpCompleteAuthTokenFn,
+ pub DeleteUserModeContext: SpDeleteContextFn,
+ pub FormatCredentials: SpFormatCredentialsFn,
+ pub MarshallSupplementalCreds: SpMarshallSupplementalCredsFn,
+ pub ExportContext: SpExportSecurityContextFn,
+ pub ImportContext: SpImportSecurityContextFn,
+ pub MarshalAttributeData: SpMarshalAttributeDataFn,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SECPKG_USER_FUNCTION_TABLE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SECPKG_USER_FUNCTION_TABLE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SECPKG_WOW_CLIENT_DLL {
+ pub WowClientDllPath: super::super::super::Foundation::UNICODE_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SECPKG_WOW_CLIENT_DLL {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SECPKG_WOW_CLIENT_DLL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECQOP_WRAP_NO_ENCRYPT: u32 = 2147483649u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECQOP_WRAP_OOB_DATA: u32 = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECRET_QUERY_VALUE: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECRET_SET_VALUE: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECURITY_ENTRYPOINT: &str = "INITSECURITYINTERFACEA";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECURITY_ENTRYPOINT16: &str = "INITSECURITYINTERFACEA";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECURITY_ENTRYPOINT_ANSI: &str = "InitSecurityInterfaceW";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECURITY_ENTRYPOINT_ANSIA: &str = "InitSecurityInterfaceA";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECURITY_ENTRYPOINT_ANSIW: &str = "InitSecurityInterfaceW";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SECURITY_LOGON_SESSION_DATA {
+ pub Size: u32,
+ pub LogonId: super::super::super::Foundation::LUID,
+ pub UserName: super::super::super::Foundation::UNICODE_STRING,
+ pub LogonDomain: super::super::super::Foundation::UNICODE_STRING,
+ pub AuthenticationPackage: super::super::super::Foundation::UNICODE_STRING,
+ pub LogonType: u32,
+ pub Session: u32,
+ pub Sid: super::super::super::Foundation::PSID,
+ pub LogonTime: i64,
+ pub LogonServer: super::super::super::Foundation::UNICODE_STRING,
+ pub DnsDomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub Upn: super::super::super::Foundation::UNICODE_STRING,
+ pub UserFlags: u32,
+ pub LastLogonInfo: LSA_LAST_INTER_LOGON_INFO,
+ pub LogonScript: super::super::super::Foundation::UNICODE_STRING,
+ pub ProfilePath: super::super::super::Foundation::UNICODE_STRING,
+ pub HomeDirectory: super::super::super::Foundation::UNICODE_STRING,
+ pub HomeDirectoryDrive: super::super::super::Foundation::UNICODE_STRING,
+ pub LogoffTime: i64,
+ pub KickOffTime: i64,
+ pub PasswordLastSet: i64,
+ pub PasswordCanChange: i64,
+ pub PasswordMustChange: i64,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SECURITY_LOGON_SESSION_DATA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SECURITY_LOGON_SESSION_DATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+#[repr(transparent)]
+pub struct SECURITY_LOGON_TYPE(pub i32);
+impl SECURITY_LOGON_TYPE {
+ pub const UndefinedLogonType: Self = Self(0i32);
+ pub const Interactive: Self = Self(2i32);
+ pub const Network: Self = Self(3i32);
+ pub const Batch: Self = Self(4i32);
+ pub const Service: Self = Self(5i32);
+ pub const Proxy: Self = Self(6i32);
+ pub const Unlock: Self = Self(7i32);
+ pub const NetworkCleartext: Self = Self(8i32);
+ pub const NewCredentials: Self = Self(9i32);
+ pub const RemoteInteractive: Self = Self(10i32);
+ pub const CachedInteractive: Self = Self(11i32);
+ pub const CachedRemoteInteractive: Self = Self(12i32);
+ pub const CachedUnlock: Self = Self(13i32);
+}
+impl ::core::marker::Copy for SECURITY_LOGON_TYPE {}
+impl ::core::clone::Clone for SECURITY_LOGON_TYPE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECURITY_NATIVE_DREP: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECURITY_NETWORK_DREP: u32 = 0u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SECURITY_PACKAGE_OPTIONS {
+ pub Size: u32,
+ pub Type: SECURITY_PACKAGE_OPTIONS_TYPE,
+ pub Flags: u32,
+ pub SignatureSize: u32,
+ pub Signature: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for SECURITY_PACKAGE_OPTIONS {}
+impl ::core::clone::Clone for SECURITY_PACKAGE_OPTIONS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type SECURITY_PACKAGE_OPTIONS_TYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_OPTIONS_TYPE_UNKNOWN: SECURITY_PACKAGE_OPTIONS_TYPE = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_OPTIONS_TYPE_LSA: SECURITY_PACKAGE_OPTIONS_TYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECPKG_OPTIONS_TYPE_SSPI: SECURITY_PACKAGE_OPTIONS_TYPE = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION_2: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION_3: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION_4: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION_5: u32 = 5u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SECURITY_USER_DATA {
+ pub UserName: super::super::super::Foundation::UNICODE_STRING,
+ pub LogonDomainName: super::super::super::Foundation::UNICODE_STRING,
+ pub LogonServer: super::super::super::Foundation::UNICODE_STRING,
+ pub pSid: super::super::super::Foundation::PSID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SECURITY_USER_DATA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SECURITY_USER_DATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SEC_APPLICATION_PROTOCOLS {
+ pub ProtocolListsSize: u32,
+ pub ProtocolLists: [SEC_APPLICATION_PROTOCOL_LIST; 1],
+}
+impl ::core::marker::Copy for SEC_APPLICATION_PROTOCOLS {}
+impl ::core::clone::Clone for SEC_APPLICATION_PROTOCOLS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SEC_APPLICATION_PROTOCOL_LIST {
+ pub ProtoNegoExt: SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT,
+ pub ProtocolListSize: u16,
+ pub ProtocolList: [u8; 1],
+}
+impl ::core::marker::Copy for SEC_APPLICATION_PROTOCOL_LIST {}
+impl ::core::clone::Clone for SEC_APPLICATION_PROTOCOL_LIST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecApplicationProtocolNegotiationExt_None: SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecApplicationProtocolNegotiationExt_NPN: SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecApplicationProtocolNegotiationExt_ALPN: SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecApplicationProtocolNegotiationStatus_None: SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecApplicationProtocolNegotiationStatus_Success: SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecApplicationProtocolNegotiationStatus_SelectedClientOnly: SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS = 2i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SEC_CHANNEL_BINDINGS {
+ pub dwInitiatorAddrType: u32,
+ pub cbInitiatorLength: u32,
+ pub dwInitiatorOffset: u32,
+ pub dwAcceptorAddrType: u32,
+ pub cbAcceptorLength: u32,
+ pub dwAcceptorOffset: u32,
+ pub cbApplicationDataLength: u32,
+ pub dwApplicationDataOffset: u32,
+}
+impl ::core::marker::Copy for SEC_CHANNEL_BINDINGS {}
+impl ::core::clone::Clone for SEC_CHANNEL_BINDINGS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SEC_DTLS_MTU {
+ pub PathMTU: u16,
+}
+impl ::core::marker::Copy for SEC_DTLS_MTU {}
+impl ::core::clone::Clone for SEC_DTLS_MTU {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SEC_FLAGS {
+ pub Flags: u64,
+}
+impl ::core::marker::Copy for SEC_FLAGS {}
+impl ::core::clone::Clone for SEC_FLAGS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+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)>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SEC_NEGOTIATION_INFO {
+ pub Size: u32,
+ pub NameLength: u32,
+ pub Name: *mut u16,
+ pub Reserved: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for SEC_NEGOTIATION_INFO {}
+impl ::core::clone::Clone for SEC_NEGOTIATION_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SEC_PRESHAREDKEY {
+ pub KeySize: u16,
+ pub Key: [u8; 1],
+}
+impl ::core::marker::Copy for SEC_PRESHAREDKEY {}
+impl ::core::clone::Clone for SEC_PRESHAREDKEY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SEC_PRESHAREDKEY_IDENTITY {
+ pub KeyIdentitySize: u16,
+ pub KeyIdentity: [u8; 1],
+}
+impl ::core::marker::Copy for SEC_PRESHAREDKEY_IDENTITY {}
+impl ::core::clone::Clone for SEC_PRESHAREDKEY_IDENTITY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SEC_SRTP_MASTER_KEY_IDENTIFIER {
+ pub MasterKeyIdentifierSize: u8,
+ pub MasterKeyIdentifier: [u8; 1],
+}
+impl ::core::marker::Copy for SEC_SRTP_MASTER_KEY_IDENTIFIER {}
+impl ::core::clone::Clone for SEC_SRTP_MASTER_KEY_IDENTIFIER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SEC_SRTP_PROTECTION_PROFILES {
+ pub ProfilesSize: u16,
+ pub ProfilesList: [u16; 1],
+}
+impl ::core::marker::Copy for SEC_SRTP_PROTECTION_PROFILES {}
+impl ::core::clone::Clone for SEC_SRTP_PROTECTION_PROFILES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SEC_TOKEN_BINDING {
+ pub MajorVersion: u8,
+ pub MinorVersion: u8,
+ pub KeyParametersSize: u16,
+ pub KeyParameters: [u8; 1],
+}
+impl ::core::marker::Copy for SEC_TOKEN_BINDING {}
+impl ::core::clone::Clone for SEC_TOKEN_BINDING {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SEC_TRAFFIC_SECRETS {
+ pub SymmetricAlgId: [u16; 64],
+ pub ChainingMode: [u16; 64],
+ pub HashAlgId: [u16; 64],
+ pub KeySize: u16,
+ pub IvSize: u16,
+ pub MsgSequenceStart: u16,
+ pub MsgSequenceEnd: u16,
+ pub TrafficSecretType: SEC_TRAFFIC_SECRET_TYPE,
+ pub TrafficSecretSize: u16,
+ pub TrafficSecret: [u8; 1],
+}
+impl ::core::marker::Copy for SEC_TRAFFIC_SECRETS {}
+impl ::core::clone::Clone for SEC_TRAFFIC_SECRETS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type SEC_TRAFFIC_SECRET_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecTrafficSecret_None: SEC_TRAFFIC_SECRET_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecTrafficSecret_Client: SEC_TRAFFIC_SECRET_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecTrafficSecret_Server: SEC_TRAFFIC_SECRET_TYPE = 2i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SEC_WINNT_AUTH_IDENTITY32 {
+ pub User: u32,
+ pub UserLength: u32,
+ pub Domain: u32,
+ pub DomainLength: u32,
+ pub Password: u32,
+ pub PasswordLength: u32,
+ pub Flags: u32,
+}
+impl ::core::marker::Copy for SEC_WINNT_AUTH_IDENTITY32 {}
+impl ::core::clone::Clone for SEC_WINNT_AUTH_IDENTITY32 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SEC_WINNT_AUTH_IDENTITY_ENCRYPT_FOR_SYSTEM: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SEC_WINNT_AUTH_IDENTITY_ENCRYPT_SAME_LOGON: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SEC_WINNT_AUTH_IDENTITY_ENCRYPT_SAME_PROCESS: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SEC_WINNT_AUTH_IDENTITY_EX2 {
+ pub Version: u32,
+ pub cbHeaderLength: u16,
+ pub cbStructureLength: u32,
+ pub UserOffset: u32,
+ pub UserLength: u16,
+ pub DomainOffset: u32,
+ pub DomainLength: u16,
+ pub PackedCredentialsOffset: u32,
+ pub PackedCredentialsLength: u16,
+ pub Flags: u32,
+ pub PackageListOffset: u32,
+ pub PackageListLength: u16,
+}
+impl ::core::marker::Copy for SEC_WINNT_AUTH_IDENTITY_EX2 {}
+impl ::core::clone::Clone for SEC_WINNT_AUTH_IDENTITY_EX2 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SEC_WINNT_AUTH_IDENTITY_EX32 {
+ pub Version: u32,
+ pub Length: u32,
+ pub User: u32,
+ pub UserLength: u32,
+ pub Domain: u32,
+ pub DomainLength: u32,
+ pub Password: u32,
+ pub PasswordLength: u32,
+ pub Flags: u32,
+ pub PackageList: u32,
+ pub PackageListLength: u32,
+}
+impl ::core::marker::Copy for SEC_WINNT_AUTH_IDENTITY_EX32 {}
+impl ::core::clone::Clone for SEC_WINNT_AUTH_IDENTITY_EX32 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SEC_WINNT_AUTH_IDENTITY_EXA {
+ pub Version: u32,
+ pub Length: u32,
+ pub User: *mut u8,
+ pub UserLength: u32,
+ pub Domain: *mut u8,
+ pub DomainLength: u32,
+ pub Password: *mut u8,
+ pub PasswordLength: u32,
+ pub Flags: u32,
+ pub PackageList: *mut u8,
+ pub PackageListLength: u32,
+}
+impl ::core::marker::Copy for SEC_WINNT_AUTH_IDENTITY_EXA {}
+impl ::core::clone::Clone for SEC_WINNT_AUTH_IDENTITY_EXA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SEC_WINNT_AUTH_IDENTITY_EXW {
+ pub Version: u32,
+ pub Length: u32,
+ pub User: *mut u16,
+ pub UserLength: u32,
+ pub Domain: *mut u16,
+ pub DomainLength: u32,
+ pub Password: *mut u16,
+ pub PasswordLength: u32,
+ pub Flags: u32,
+ pub PackageList: *mut u16,
+ pub PackageListLength: u32,
+}
+impl ::core::marker::Copy for SEC_WINNT_AUTH_IDENTITY_EXW {}
+impl ::core::clone::Clone for SEC_WINNT_AUTH_IDENTITY_EXW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_ID_PROVIDER: u32 = 524288u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_NULL_DOMAIN: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_NULL_USER: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_PROCESS_ENCRYPTED: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_RESERVED: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_CREDPROV_DO_NOT_LOAD: u32 = 268435456u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_CREDPROV_DO_NOT_SAVE: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_NO_CHECKBOX: u32 = 536870912u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_SAVE_CRED_BY_CALLER: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_SAVE_CRED_CHECKED: u32 = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_USE_MASK: u32 = 4278190080u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SYSTEM_ENCRYPTED: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SYSTEM_PROTECTED: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_USER_PROTECTED: u32 = 64u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_System_Rpc\"`*"]
+#[cfg(feature = "Win32_System_Rpc")]
+pub union SEC_WINNT_AUTH_IDENTITY_INFO {
+ pub AuthIdExw: SEC_WINNT_AUTH_IDENTITY_EXW,
+ pub AuthIdExa: SEC_WINNT_AUTH_IDENTITY_EXA,
+ pub AuthId_a: super::super::super::System::Rpc::SEC_WINNT_AUTH_IDENTITY_A,
+ pub AuthId_w: super::super::super::System::Rpc::SEC_WINNT_AUTH_IDENTITY_W,
+ pub AuthIdEx2: SEC_WINNT_AUTH_IDENTITY_EX2,
+}
+#[cfg(feature = "Win32_System_Rpc")]
+impl ::core::marker::Copy for SEC_WINNT_AUTH_IDENTITY_INFO {}
+#[cfg(feature = "Win32_System_Rpc")]
+impl ::core::clone::Clone for SEC_WINNT_AUTH_IDENTITY_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SEC_WINNT_AUTH_IDENTITY_MARSHALLED: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SEC_WINNT_AUTH_IDENTITY_ONLY: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SEC_WINNT_AUTH_IDENTITY_VERSION: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SEC_WINNT_AUTH_IDENTITY_VERSION_2: u32 = 513u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SEND_GENERIC_TLS_EXTENSION {
+ pub ExtensionType: u16,
+ pub HandshakeType: u16,
+ pub Flags: u32,
+ pub BufferSize: u16,
+ pub Buffer: [u8; 1],
+}
+impl ::core::marker::Copy for SEND_GENERIC_TLS_EXTENSION {}
+impl ::core::clone::Clone for SEND_GENERIC_TLS_EXTENSION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SESSION_TICKET_INFO_V0: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SESSION_TICKET_INFO_VERSION: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+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>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SE_ADT_ACCESS_REASON {
+ pub AccessMask: u32,
+ pub AccessReasons: [u32; 32],
+ pub ObjectTypeIndex: u32,
+ pub AccessGranted: u32,
+ pub SecurityDescriptor: super::super::PSECURITY_DESCRIPTOR,
+}
+impl ::core::marker::Copy for SE_ADT_ACCESS_REASON {}
+impl ::core::clone::Clone for SE_ADT_ACCESS_REASON {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SE_ADT_CLAIMS {
+ pub Length: u32,
+ pub Claims: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for SE_ADT_CLAIMS {}
+impl ::core::clone::Clone for SE_ADT_CLAIMS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SE_ADT_OBJECT_ONLY: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SE_ADT_OBJECT_TYPE {
+ pub ObjectType: ::windows_sys::core::GUID,
+ pub Flags: u16,
+ pub Level: u16,
+ pub AccessMask: u32,
+}
+impl ::core::marker::Copy for SE_ADT_OBJECT_TYPE {}
+impl ::core::clone::Clone for SE_ADT_OBJECT_TYPE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SE_ADT_PARAMETERS_SELF_RELATIVE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SE_ADT_PARAMETERS_SEND_TO_LSA: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SE_ADT_PARAMETER_ARRAY {
+ pub CategoryId: u32,
+ pub AuditId: u32,
+ pub ParameterCount: u32,
+ pub Length: u32,
+ pub FlatSubCategoryId: u16,
+ pub Type: u16,
+ pub Flags: u32,
+ pub Parameters: [SE_ADT_PARAMETER_ARRAY_ENTRY; 32],
+}
+impl ::core::marker::Copy for SE_ADT_PARAMETER_ARRAY {}
+impl ::core::clone::Clone for SE_ADT_PARAMETER_ARRAY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SE_ADT_PARAMETER_ARRAY_ENTRY {
+ pub Type: SE_ADT_PARAMETER_TYPE,
+ pub Length: u32,
+ pub Data: [usize; 2],
+ pub Address: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for SE_ADT_PARAMETER_ARRAY_ENTRY {}
+impl ::core::clone::Clone for SE_ADT_PARAMETER_ARRAY_ENTRY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SE_ADT_PARAMETER_ARRAY_EX {
+ pub CategoryId: u32,
+ pub AuditId: u32,
+ pub Version: u32,
+ pub ParameterCount: u32,
+ pub Length: u32,
+ pub FlatSubCategoryId: u16,
+ pub Type: u16,
+ pub Flags: u32,
+ pub Parameters: [SE_ADT_PARAMETER_ARRAY_ENTRY; 32],
+}
+impl ::core::marker::Copy for SE_ADT_PARAMETER_ARRAY_EX {}
+impl ::core::clone::Clone for SE_ADT_PARAMETER_ARRAY_EX {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SE_ADT_PARAMETER_EXTENSIBLE_AUDIT: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SE_ADT_PARAMETER_GENERIC_AUDIT: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type SE_ADT_PARAMETER_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeNone: SE_ADT_PARAMETER_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeString: SE_ADT_PARAMETER_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeFileSpec: SE_ADT_PARAMETER_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeUlong: SE_ADT_PARAMETER_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeSid: SE_ADT_PARAMETER_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeLogonId: SE_ADT_PARAMETER_TYPE = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeNoLogonId: SE_ADT_PARAMETER_TYPE = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeAccessMask: SE_ADT_PARAMETER_TYPE = 7i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypePrivs: SE_ADT_PARAMETER_TYPE = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeObjectTypes: SE_ADT_PARAMETER_TYPE = 9i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeHexUlong: SE_ADT_PARAMETER_TYPE = 10i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypePtr: SE_ADT_PARAMETER_TYPE = 11i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeTime: SE_ADT_PARAMETER_TYPE = 12i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeGuid: SE_ADT_PARAMETER_TYPE = 13i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeLuid: SE_ADT_PARAMETER_TYPE = 14i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeHexInt64: SE_ADT_PARAMETER_TYPE = 15i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeStringList: SE_ADT_PARAMETER_TYPE = 16i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeSidList: SE_ADT_PARAMETER_TYPE = 17i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeDuration: SE_ADT_PARAMETER_TYPE = 18i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeUserAccountControl: SE_ADT_PARAMETER_TYPE = 19i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeNoUac: SE_ADT_PARAMETER_TYPE = 20i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeMessage: SE_ADT_PARAMETER_TYPE = 21i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeDateTime: SE_ADT_PARAMETER_TYPE = 22i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeSockAddr: SE_ADT_PARAMETER_TYPE = 23i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeSD: SE_ADT_PARAMETER_TYPE = 24i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeLogonHours: SE_ADT_PARAMETER_TYPE = 25i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeLogonIdNoSid: SE_ADT_PARAMETER_TYPE = 26i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeUlongNoConv: SE_ADT_PARAMETER_TYPE = 27i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeSockAddrNoPort: SE_ADT_PARAMETER_TYPE = 28i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeAccessReason: SE_ADT_PARAMETER_TYPE = 29i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeStagingReason: SE_ADT_PARAMETER_TYPE = 30i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeResourceAttribute: SE_ADT_PARAMETER_TYPE = 31i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeClaims: SE_ADT_PARAMETER_TYPE = 32i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeLogonIdAsSid: SE_ADT_PARAMETER_TYPE = 33i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeMultiSzString: SE_ADT_PARAMETER_TYPE = 34i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SeAdtParmTypeLogonIdEx: SE_ADT_PARAMETER_TYPE = 35i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SE_ADT_PARAMETER_WRITE_SYNCHRONOUS: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SE_ADT_POLICY_AUDIT_EVENT_TYPE_EX_BEGIN: u32 = 100u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SE_BATCH_LOGON_NAME: &str = "SeBatchLogonRight";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SE_DENY_BATCH_LOGON_NAME: &str = "SeDenyBatchLogonRight";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SE_DENY_INTERACTIVE_LOGON_NAME: &str = "SeDenyInteractiveLogonRight";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SE_DENY_NETWORK_LOGON_NAME: &str = "SeDenyNetworkLogonRight";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SE_DENY_REMOTE_INTERACTIVE_LOGON_NAME: &str = "SeDenyRemoteInteractiveLogonRight";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SE_DENY_SERVICE_LOGON_NAME: &str = "SeDenyServiceLogonRight";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SE_INTERACTIVE_LOGON_NAME: &str = "SeInteractiveLogonRight";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SE_MAX_AUDIT_PARAMETERS: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SE_MAX_GENERIC_AUDIT_PARAMETERS: u32 = 28u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SE_NETWORK_LOGON_NAME: &str = "SeNetworkLogonRight";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SE_REMOTE_INTERACTIVE_LOGON_NAME: &str = "SeRemoteInteractiveLogonRight";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SE_SERVICE_LOGON_NAME: &str = "SeServiceLogonRight";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type SLDATATYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_DATA_NONE: SLDATATYPE = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_DATA_SZ: SLDATATYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_DATA_DWORD: SLDATATYPE = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_DATA_BINARY: SLDATATYPE = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_DATA_MULTI_SZ: SLDATATYPE = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_DATA_SUM: SLDATATYPE = 100u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type SLIDTYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_ID_APPLICATION: SLIDTYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_ID_PRODUCT_SKU: SLIDTYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_ID_LICENSE_FILE: SLIDTYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_ID_LICENSE: SLIDTYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_ID_PKEY: SLIDTYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_ID_ALL_LICENSES: SLIDTYPE = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_ID_ALL_LICENSE_FILES: SLIDTYPE = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_ID_STORE_TOKEN: SLIDTYPE = 7i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_ID_LAST: SLIDTYPE = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type SLLICENSINGSTATUS = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_LICENSING_STATUS_UNLICENSED: SLLICENSINGSTATUS = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_LICENSING_STATUS_LICENSED: SLLICENSINGSTATUS = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_LICENSING_STATUS_IN_GRACE_PERIOD: SLLICENSINGSTATUS = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_LICENSING_STATUS_NOTIFICATION: SLLICENSINGSTATUS = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_LICENSING_STATUS_LAST: SLLICENSINGSTATUS = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type SLREFERRALTYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REFERRALTYPE_SKUID: SLREFERRALTYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REFERRALTYPE_APPID: SLREFERRALTYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REFERRALTYPE_OVERRIDE_SKUID: SLREFERRALTYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REFERRALTYPE_OVERRIDE_APPID: SLREFERRALTYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REFERRALTYPE_BEST_MATCH: SLREFERRALTYPE = 4i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SL_ACTIVATION_INFO_HEADER {
+ pub cbSize: u32,
+ pub r#type: SL_ACTIVATION_TYPE,
+}
+impl ::core::marker::Copy for SL_ACTIVATION_INFO_HEADER {}
+impl ::core::clone::Clone for SL_ACTIVATION_INFO_HEADER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type SL_ACTIVATION_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_ACTIVATION_TYPE_DEFAULT: SL_ACTIVATION_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_ACTIVATION_TYPE_ACTIVE_DIRECTORY: SL_ACTIVATION_TYPE = 1i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SL_AD_ACTIVATION_INFO {
+ pub header: SL_ACTIVATION_INFO_HEADER,
+ pub pwszProductKey: ::windows_sys::core::PCWSTR,
+ pub pwszActivationObjectName: ::windows_sys::core::PCWSTR,
+}
+impl ::core::marker::Copy for SL_AD_ACTIVATION_INFO {}
+impl ::core::clone::Clone for SL_AD_ACTIVATION_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_CLIENTAPI_ZONE: u32 = 61440u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_DEFAULT_MIGRATION_ENCRYPTOR_URI: &str = "msft:spp/migrationencryptor/tokenact/1.0";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_EVENT_LICENSING_STATE_CHANGED: &str = "msft:rm/event/licensingstatechanged";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_EVENT_POLICY_CHANGED: &str = "msft:rm/event/policychanged";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_EVENT_USER_NOTIFICATION: &str = "msft:rm/event/usernotification";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_ACTIVATION_IN_PROGRESS: ::windows_sys::core::HRESULT = -1073422296i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_APPLICATION_POLICIES_MISSING: ::windows_sys::core::HRESULT = -1073418126i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_APPLICATION_POLICIES_NOT_LOADED: ::windows_sys::core::HRESULT = -1073418125i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_AUTHN_CANT_VERIFY: ::windows_sys::core::HRESULT = -1073418118i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_AUTHN_CHALLENGE_NOT_SET: ::windows_sys::core::HRESULT = -1073418119i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_AUTHN_MISMATCHED_KEY: ::windows_sys::core::HRESULT = -1073418120i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_AUTHN_WRONG_VERSION: ::windows_sys::core::HRESULT = -1073418121i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_BASE_SKU_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073418155i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_BIOS_KEY: ::windows_sys::core::HRESULT = -1073417707i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_BLOCKED_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073418159i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_ACTCONFIG_ID_NOT_FOUND: ::windows_sys::core::HRESULT = -1073430519i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_BINDING_MAPPING_NOT_FOUND: ::windows_sys::core::HRESULT = -1073430522i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_BINDING_NOT_FOUND: ::windows_sys::core::HRESULT = -1073430523i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_BUSINESS_RULE_INPUT_NOT_FOUND: ::windows_sys::core::HRESULT = -1073428736i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_DATABASE_ERROR: ::windows_sys::core::HRESULT = -1073430509i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_DIGITALMARKER_BINDING_NOT_CONFIGURED: ::windows_sys::core::HRESULT = -1073430446i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_DIGITALMARKER_INVALID_BINDING: ::windows_sys::core::HRESULT = -1073430447i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_DMAK_EXTENSION_LIMIT_EXCEEDED: ::windows_sys::core::HRESULT = -1073430495i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_DMAK_LIMIT_EXCEEDED: ::windows_sys::core::HRESULT = -1073430496i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_DYNAMICALLY_BLOCKED_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073430432i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_FAILED_TO_DELETE_PRODUCTKEY_BINDING: ::windows_sys::core::HRESULT = -1073428649i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_FAILED_TO_DELETE_PRODUCT_KEY_PROPERTY: ::windows_sys::core::HRESULT = -1073428644i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_FAILED_TO_INSERT_PRODUCTKEY_BINDING: ::windows_sys::core::HRESULT = -1073428650i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_FAILED_TO_INSERT_PRODUCT_KEY_PROPERTY: ::windows_sys::core::HRESULT = -1073428646i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_FAILED_TO_INSERT_PRODUCT_KEY_RECORD: ::windows_sys::core::HRESULT = -1073428608i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_FAILED_TO_PROCESS_PRODUCT_KEY_BINDINGS_XML: ::windows_sys::core::HRESULT = -1073428648i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_FAILED_TO_UPDATE_PRODUCTKEY_BINDING: ::windows_sys::core::HRESULT = -1073428651i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_FAILED_TO_UPDATE_PRODUCT_KEY_PROPERTY: ::windows_sys::core::HRESULT = -1073428645i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_FAILED_TO_UPDATE_PRODUCT_KEY_RECORD: ::windows_sys::core::HRESULT = -1073428607i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_GENERAL_ERROR: ::windows_sys::core::HRESULT = -1073430448i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_INVALID_ACTCONFIG_ID: ::windows_sys::core::HRESULT = -1073430515i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_INVALID_ARGUMENT: ::windows_sys::core::HRESULT = -1073430508i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_INVALID_BINDING: ::windows_sys::core::HRESULT = -1073430526i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_INVALID_BINDING_URI: ::windows_sys::core::HRESULT = -1073430511i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_INVALID_PRODUCT_DATA: ::windows_sys::core::HRESULT = -1073430517i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_INVALID_PRODUCT_DATA_ID: ::windows_sys::core::HRESULT = -1073430518i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_INVALID_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073430524i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_INVALID_PRODUCT_KEY_CHAR: ::windows_sys::core::HRESULT = -1073430512i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_INVALID_PRODUCT_KEY_FORMAT: ::windows_sys::core::HRESULT = -1073430513i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_INVALID_PRODUCT_KEY_LENGTH: ::windows_sys::core::HRESULT = -1073430514i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_MAXIMUM_UNLOCK_EXCEEDED: ::windows_sys::core::HRESULT = -1073430520i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_MSCH_RESPONSE_NOT_AVAILABLE_VGA: ::windows_sys::core::HRESULT = -1073429505i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_NETWORK_ERROR: ::windows_sys::core::HRESULT = -1073430510i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_NO_RULES_TO_ACTIVATE: ::windows_sys::core::HRESULT = -1073430449i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_NULL_VALUE_FOR_PROPERTY_NAME_OR_ID: ::windows_sys::core::HRESULT = -1073428656i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_OEM_SLP_COA0: ::windows_sys::core::HRESULT = -1073430506i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_OVERRIDE_REQUEST_NOT_FOUND: ::windows_sys::core::HRESULT = -1073430493i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_PRODUCT_KEY_BEING_USED: ::windows_sys::core::HRESULT = -1073428624i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_PRODUCT_KEY_BLOCKED: ::windows_sys::core::HRESULT = -1073430525i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_PRODUCT_KEY_BLOCKED_IPLOCATION: ::windows_sys::core::HRESULT = -1073430505i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_PRODUCT_KEY_OUT_OF_RANGE: ::windows_sys::core::HRESULT = -1073430527i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_REISSUANCE_LIMIT_NOT_FOUND: ::windows_sys::core::HRESULT = -1073430494i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_RESPONSE_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073430507i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_SYSTEM_ERROR: ::windows_sys::core::HRESULT = -1073430516i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_TIMEBASED_ACTIVATION_AFTER_END_DATE: ::windows_sys::core::HRESULT = -1073430479i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_TIMEBASED_ACTIVATION_BEFORE_START_DATE: ::windows_sys::core::HRESULT = -1073430480i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_TIMEBASED_ACTIVATION_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073430478i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_TIMEBASED_PRODUCT_KEY_NOT_CONFIGURED: ::windows_sys::core::HRESULT = -1073430477i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_UNKNOWN_PRODUCT_KEY_TYPE: ::windows_sys::core::HRESULT = -1073428636i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_UNKNOWN_PROPERTY_ID: ::windows_sys::core::HRESULT = -1073428654i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_UNKNOWN_PROPERTY_NAME: ::windows_sys::core::HRESULT = -1073428655i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CHPA_UNSUPPORTED_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073430521i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CIDIID_INVALID_CHECK_DIGITS: ::windows_sys::core::HRESULT = -1073418163i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CIDIID_INVALID_DATA: ::windows_sys::core::HRESULT = -1073418196i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CIDIID_INVALID_DATA_LENGTH: ::windows_sys::core::HRESULT = -1073418193i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CIDIID_INVALID_VERSION: ::windows_sys::core::HRESULT = -1073418195i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CIDIID_MISMATCHED: ::windows_sys::core::HRESULT = -1073418191i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CIDIID_MISMATCHED_PKEY: ::windows_sys::core::HRESULT = -1073418114i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CIDIID_NOT_BOUND: ::windows_sys::core::HRESULT = -1073418113i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CIDIID_NOT_DEPOSITED: ::windows_sys::core::HRESULT = -1073418192i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_CIDIID_VERSION_NOT_SUPPORTED: ::windows_sys::core::HRESULT = -1073418194i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_DATATYPE_MISMATCHED: ::windows_sys::core::HRESULT = -1073418210i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_DECRYPTION_LICENSES_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073418212i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_DEPENDENT_PROPERTY_NOT_SET: ::windows_sys::core::HRESULT = -1073418138i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_DOWNLEVEL_SETUP_KEY: ::windows_sys::core::HRESULT = -1073417708i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_DUPLICATE_POLICY: ::windows_sys::core::HRESULT = -1073418158i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_EDITION_MISMATCHED: ::windows_sys::core::HRESULT = -1073417712i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_ENGINE_DETECTED_EXPLOIT: ::windows_sys::core::HRESULT = -1073429327i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_EUL_CONSUMPTION_FAILED: ::windows_sys::core::HRESULT = -1073422315i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_EUL_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073418188i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_EVALUATION_FAILED: ::windows_sys::core::HRESULT = -1073422333i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_EVENT_ALREADY_REGISTERED: ::windows_sys::core::HRESULT = -1073418213i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_EVENT_NOT_REGISTERED: ::windows_sys::core::HRESULT = -1073418214i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_EXTERNAL_SIGNATURE_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418234i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_GRACE_TIME_EXPIRED: ::windows_sys::core::HRESULT = -1073418231i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_HEALTH_CHECK_FAILED_MUI_FILES: ::windows_sys::core::HRESULT = -1073429330i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_HEALTH_CHECK_FAILED_NEUTRAL_FILES: ::windows_sys::core::HRESULT = -1073429331i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_HWID_CHANGED: ::windows_sys::core::HRESULT = -1073417711i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_HWID_ERROR: ::windows_sys::core::HRESULT = -1073422309i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_IA_ID_MISMATCH: ::windows_sys::core::HRESULT = -1073414909i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_IA_INVALID_VIRTUALIZATION_PLATFORM: ::windows_sys::core::HRESULT = -1073414911i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_IA_MACHINE_NOT_BOUND: ::windows_sys::core::HRESULT = -1073414908i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_IA_PARENT_PARTITION_NOT_ACTIVATED: ::windows_sys::core::HRESULT = -1073414910i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_IA_THROTTLE_LIMIT_EXCEEDED: ::windows_sys::core::HRESULT = -1073414912i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INTERNAL_ERROR: ::windows_sys::core::HRESULT = -1073418239i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INVALID_AD_DATA: ::windows_sys::core::HRESULT = -1073429329i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INVALID_BINDING_BLOB: ::windows_sys::core::HRESULT = -1073418190i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INVALID_CLIENT_TOKEN: ::windows_sys::core::HRESULT = -1073429720i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INVALID_CONTEXT: ::windows_sys::core::HRESULT = -1073422335i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INVALID_CONTEXT_DATA: ::windows_sys::core::HRESULT = -1073422300i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INVALID_EVENT_ID: ::windows_sys::core::HRESULT = -1073418215i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INVALID_FILE_HASH: ::windows_sys::core::HRESULT = -1073429343i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INVALID_GUID: ::windows_sys::core::HRESULT = -1073422330i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INVALID_HASH: ::windows_sys::core::HRESULT = -1073422299i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INVALID_LICENSE: ::windows_sys::core::HRESULT = -1073418209i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INVALID_LICENSE_STATE: ::windows_sys::core::HRESULT = -1073429336i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INVALID_LICENSE_STATE_BREACH_GRACE: ::windows_sys::core::HRESULT = -1073429871i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INVALID_LICENSE_STATE_BREACH_GRACE_EXPIRED: ::windows_sys::core::HRESULT = -1073429870i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INVALID_OEM_OR_VOLUME_BINDING_DATA: ::windows_sys::core::HRESULT = -1073429337i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INVALID_OFFLINE_BLOB: ::windows_sys::core::HRESULT = -1073429719i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INVALID_OSVERSION_TEMPLATEID: ::windows_sys::core::HRESULT = -1073429717i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INVALID_OS_FOR_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073429503i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INVALID_PACKAGE: ::windows_sys::core::HRESULT = -1073418208i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INVALID_PACKAGE_VERSION: ::windows_sys::core::HRESULT = -1073418144i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INVALID_PKEY: ::windows_sys::core::HRESULT = -1073418224i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INVALID_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073418160i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INVALID_PRODUCT_KEY_TYPE: ::windows_sys::core::HRESULT = -1073418115i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INVALID_RSDP_COUNT: ::windows_sys::core::HRESULT = -1073429328i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INVALID_RULESET_RULE: ::windows_sys::core::HRESULT = -1073422301i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INVALID_RUNNING_MODE: ::windows_sys::core::HRESULT = -1073418199i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INVALID_TEMPLATE_ID: ::windows_sys::core::HRESULT = -1073429770i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INVALID_TOKEN_DATA: ::windows_sys::core::HRESULT = -1073429332i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INVALID_USE_OF_ADD_ON_PKEY: ::windows_sys::core::HRESULT = -2147164122i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_INVALID_XML_BLOB: ::windows_sys::core::HRESULT = -1073429766i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_IP_LOCATION_FALIED: ::windows_sys::core::HRESULT = -1073429335i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_ISSUANCE_LICENSE_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418142i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_LICENSE_AUTHORIZATION_FAILED: ::windows_sys::core::HRESULT = -1073418206i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_LICENSE_DECRYPTION_FAILED: ::windows_sys::core::HRESULT = -1073418205i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_LICENSE_FILE_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418223i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_LICENSE_INVALID_ADDON_INFO: ::windows_sys::core::HRESULT = -1073422310i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_LICENSE_MANAGEMENT_DATA_DUPLICATED: ::windows_sys::core::HRESULT = -1073418156i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_LICENSE_MANAGEMENT_DATA_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418161i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_LICENSE_NOT_BOUND: ::windows_sys::core::HRESULT = -1073418112i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_LICENSE_SERVER_URL_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418216i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_LICENSE_SIGNATURE_VERIFICATION_FAILED: ::windows_sys::core::HRESULT = -1073418211i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_LUA_ACCESSDENIED: ::windows_sys::core::HRESULT = -1073418203i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_MISMATCHED_APPID: ::windows_sys::core::HRESULT = -1073418230i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_MISMATCHED_KEY_TYPES: ::windows_sys::core::HRESULT = -1073429340i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_MISMATCHED_PID: ::windows_sys::core::HRESULT = -1073418235i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_MISMATCHED_PKEY_RANGE: ::windows_sys::core::HRESULT = -1073418236i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_MISMATCHED_PRODUCT_SKU: ::windows_sys::core::HRESULT = -1073418135i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_MISMATCHED_SECURITY_PROCESSOR: ::windows_sys::core::HRESULT = -1073418226i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_MISSING_OVERRIDE_ONLY_ATTRIBUTE: ::windows_sys::core::HRESULT = -1073418157i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_NONGENUINE_GRACE_TIME_EXPIRED: ::windows_sys::core::HRESULT = -1073418140i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_NONGENUINE_GRACE_TIME_EXPIRED_2: ::windows_sys::core::HRESULT = -1073418137i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_NON_GENUINE_STATUS_LAST: ::windows_sys::core::HRESULT = -1073428992i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_NOTIFICATION_BREACH_DETECTED: ::windows_sys::core::HRESULT = -1073429199i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_NOTIFICATION_GRACE_EXPIRED: ::windows_sys::core::HRESULT = -1073429198i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_NOTIFICATION_OTHER_REASONS: ::windows_sys::core::HRESULT = -1073429197i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_NOT_ACTIVATED: ::windows_sys::core::HRESULT = -1073422331i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_NOT_EVALUATED: ::windows_sys::core::HRESULT = -1073422332i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_NOT_GENUINE: ::windows_sys::core::HRESULT = -1073417728i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_NOT_SUPPORTED: ::windows_sys::core::HRESULT = -1073418218i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_NO_PID_CONFIG_DATA: ::windows_sys::core::HRESULT = -1073418229i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_NO_PRODUCT_KEY_FOUND: ::windows_sys::core::HRESULT = -1073417709i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_OEM_KEY_EDITION_MISMATCH: ::windows_sys::core::HRESULT = -1073417710i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_OFFLINE_GENUINE_BLOB_NOT_FOUND: ::windows_sys::core::HRESULT = -1073429715i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_OFFLINE_GENUINE_BLOB_REVOKED: ::windows_sys::core::HRESULT = -1073429716i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_OFFLINE_VALIDATION_BLOB_PARAM_NOT_FOUND: ::windows_sys::core::HRESULT = -1073429718i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_OPERATION_NOT_ALLOWED: ::windows_sys::core::HRESULT = -1073418134i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_OUT_OF_TOLERANCE: ::windows_sys::core::HRESULT = -1073418225i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_PKEY_INTERNAL_ERROR: ::windows_sys::core::HRESULT = -1073422311i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_PKEY_INVALID_ALGORITHM: ::windows_sys::core::HRESULT = -1073422312i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_PKEY_INVALID_CONFIG: ::windows_sys::core::HRESULT = -1073422314i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_PKEY_INVALID_KEYCHANGE1: ::windows_sys::core::HRESULT = -1073422308i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_PKEY_INVALID_KEYCHANGE2: ::windows_sys::core::HRESULT = -1073422307i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_PKEY_INVALID_KEYCHANGE3: ::windows_sys::core::HRESULT = -1073422306i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_PKEY_INVALID_UNIQUEID: ::windows_sys::core::HRESULT = -1073422313i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_PKEY_INVALID_UPGRADE: ::windows_sys::core::HRESULT = -1073418143i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_PKEY_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418220i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_PLUGIN_INVALID_MANIFEST: ::windows_sys::core::HRESULT = -1073418127i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_PLUGIN_NOT_REGISTERED: ::windows_sys::core::HRESULT = -1073418122i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_POLICY_CACHE_INVALID: ::windows_sys::core::HRESULT = -1073418200i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_POLICY_OTHERINFO_MISMATCH: ::windows_sys::core::HRESULT = -1073422304i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_PRODUCT_KEY_INSTALLATION_NOT_ALLOWED: ::windows_sys::core::HRESULT = -1073418189i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_PRODUCT_SKU_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418219i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_PRODUCT_UNIQUENESS_GROUP_ID_INVALID: ::windows_sys::core::HRESULT = -1073422303i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_PROXY_KEY_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418202i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_PROXY_POLICY_NOT_UPDATED: ::windows_sys::core::HRESULT = -1073418169i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_PUBLISHING_LICENSE_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418217i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_RAC_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073418233i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_RIGHT_NOT_CONSUMED: ::windows_sys::core::HRESULT = -1073418238i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_RIGHT_NOT_GRANTED: ::windows_sys::core::HRESULT = -1073418221i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SECURE_STORE_ID_MISMATCH: ::windows_sys::core::HRESULT = -1073422302i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SERVICE_RUNNING: ::windows_sys::core::HRESULT = -1073418117i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SERVICE_STOPPING: ::windows_sys::core::HRESULT = -1073418123i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SFS_BAD_TOKEN_EXT: ::windows_sys::core::HRESULT = -2147163899i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SFS_BAD_TOKEN_NAME: ::windows_sys::core::HRESULT = -2147163900i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SFS_DUPLICATE_TOKEN_NAME: ::windows_sys::core::HRESULT = -2147163898i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SFS_FILE_READ_ERROR: ::windows_sys::core::HRESULT = -2147163895i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SFS_FILE_WRITE_ERROR: ::windows_sys::core::HRESULT = -2147163894i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SFS_INVALID_FD_TABLE: ::windows_sys::core::HRESULT = -2147163902i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SFS_INVALID_FILE_POSITION: ::windows_sys::core::HRESULT = -2147163893i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SFS_INVALID_FS_HEADER: ::windows_sys::core::HRESULT = -2147163891i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SFS_INVALID_FS_VERSION: ::windows_sys::core::HRESULT = -2147163903i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SFS_INVALID_SYNC: ::windows_sys::core::HRESULT = -2147163901i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SFS_INVALID_TOKEN_DATA_HASH: ::windows_sys::core::HRESULT = -2147163896i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SFS_INVALID_TOKEN_DESCRIPTOR: ::windows_sys::core::HRESULT = -2147163890i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SFS_NO_ACTIVE_TRANSACTION: ::windows_sys::core::HRESULT = -2147163892i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SFS_TOKEN_SIZE_MISMATCH: ::windows_sys::core::HRESULT = -2147163897i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SLP_BAD_FORMAT: ::windows_sys::core::HRESULT = -1073418151i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SLP_INVALID_MARKER_VERSION: ::windows_sys::core::HRESULT = -1073418116i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SLP_MISSING_ACPI_SLIC: ::windows_sys::core::HRESULT = -1073418153i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SLP_MISSING_SLP_MARKER: ::windows_sys::core::HRESULT = -1073418152i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SLP_NOT_SIGNED: ::windows_sys::core::HRESULT = -1073418198i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SLP_OEM_CERT_MISSING: ::windows_sys::core::HRESULT = -1073418141i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SOFTMOD_EXPLOIT_DETECTED: ::windows_sys::core::HRESULT = -1073429333i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SPC_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073418232i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SRV_AUTHORIZATION_FAILED: ::windows_sys::core::HRESULT = -1073434619i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SRV_BUSINESS_TOKEN_ENTRY_NOT_FOUND: ::windows_sys::core::HRESULT = -1073434608i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SRV_CLIENT_CLOCK_OUT_OF_SYNC: ::windows_sys::core::HRESULT = -1073434607i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SRV_GENERAL_ERROR: ::windows_sys::core::HRESULT = -1073434368i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SRV_INVALID_BINDING: ::windows_sys::core::HRESULT = -1073434618i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SRV_INVALID_LICENSE_STRUCTURE: ::windows_sys::core::HRESULT = -1073434620i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SRV_INVALID_PAYLOAD: ::windows_sys::core::HRESULT = -1073434616i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SRV_INVALID_PRODUCT_KEY_LICENSE: ::windows_sys::core::HRESULT = -1073434622i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SRV_INVALID_PUBLISH_LICENSE: ::windows_sys::core::HRESULT = -1073434623i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SRV_INVALID_RIGHTS_ACCOUNT_LICENSE: ::windows_sys::core::HRESULT = -1073434621i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SRV_INVALID_SECURITY_PROCESSOR_LICENSE: ::windows_sys::core::HRESULT = -1073434615i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_SRV_SERVER_PONG: ::windows_sys::core::HRESULT = -1073434617i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_STORE_UPGRADE_TOKEN_NOT_AUTHORIZED: ::windows_sys::core::HRESULT = -1073422290i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_STORE_UPGRADE_TOKEN_NOT_PRS_SIGNED: ::windows_sys::core::HRESULT = -1073422292i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_STORE_UPGRADE_TOKEN_REQUIRED: ::windows_sys::core::HRESULT = -1073422295i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_STORE_UPGRADE_TOKEN_WRONG_EDITION: ::windows_sys::core::HRESULT = -1073422294i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_STORE_UPGRADE_TOKEN_WRONG_PID: ::windows_sys::core::HRESULT = -1073422293i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_STORE_UPGRADE_TOKEN_WRONG_VERSION: ::windows_sys::core::HRESULT = -1073422291i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TAMPER_DETECTED: ::windows_sys::core::HRESULT = -1073418201i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TAMPER_RECOVERY_REQUIRES_ACTIVATION: ::windows_sys::core::HRESULT = -1073414656i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TKA_CERT_CNG_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073417453i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TKA_CERT_NOT_FOUND: ::windows_sys::core::HRESULT = -1073417467i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TKA_CHALLENGE_EXPIRED: ::windows_sys::core::HRESULT = -1073417471i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TKA_CHALLENGE_MISMATCH: ::windows_sys::core::HRESULT = -1073417463i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TKA_CRITERIA_MISMATCH: ::windows_sys::core::HRESULT = -1073417457i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TKA_FAILED_GRANT_PARSING: ::windows_sys::core::HRESULT = -1073417460i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TKA_GRANT_NOT_FOUND: ::windows_sys::core::HRESULT = -1073417468i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TKA_INVALID_BLOB: ::windows_sys::core::HRESULT = -1073417465i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TKA_INVALID_CERTIFICATE: ::windows_sys::core::HRESULT = -1073417462i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TKA_INVALID_CERT_CHAIN: ::windows_sys::core::HRESULT = -1073417469i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TKA_INVALID_SKU_ID: ::windows_sys::core::HRESULT = -1073417466i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TKA_INVALID_SMARTCARD: ::windows_sys::core::HRESULT = -1073417461i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TKA_INVALID_THUMBPRINT: ::windows_sys::core::HRESULT = -1073417459i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TKA_SILENT_ACTIVATION_FAILURE: ::windows_sys::core::HRESULT = -1073417470i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TKA_SOFT_CERT_DISALLOWED: ::windows_sys::core::HRESULT = -1073417455i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TKA_SOFT_CERT_INVALID: ::windows_sys::core::HRESULT = -1073417454i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TKA_TAMPERED_CERT_CHAIN: ::windows_sys::core::HRESULT = -1073417464i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TKA_THUMBPRINT_CERT_NOT_FOUND: ::windows_sys::core::HRESULT = -1073417458i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TKA_TPID_MISMATCH: ::windows_sys::core::HRESULT = -1073417456i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TOKEN_STORE_INVALID_STATE: ::windows_sys::core::HRESULT = -1073422334i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TOKSTO_ALREADY_INITIALIZED: ::windows_sys::core::HRESULT = -1073422326i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TOKSTO_CANT_ACQUIRE_MUTEX: ::windows_sys::core::HRESULT = -1073422317i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TOKSTO_CANT_CREATE_FILE: ::windows_sys::core::HRESULT = -1073422324i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TOKSTO_CANT_CREATE_MUTEX: ::windows_sys::core::HRESULT = -1073422318i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TOKSTO_CANT_PARSE_PROPERTIES: ::windows_sys::core::HRESULT = -1073422321i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TOKSTO_CANT_READ_FILE: ::windows_sys::core::HRESULT = -1073422322i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TOKSTO_CANT_WRITE_TO_FILE: ::windows_sys::core::HRESULT = -1073422323i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TOKSTO_INVALID_FILE: ::windows_sys::core::HRESULT = -1073422319i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TOKSTO_NOT_INITIALIZED: ::windows_sys::core::HRESULT = -1073422327i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TOKSTO_NO_ID_SET: ::windows_sys::core::HRESULT = -1073422325i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TOKSTO_NO_PROPERTIES: ::windows_sys::core::HRESULT = -1073422328i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TOKSTO_NO_TOKEN_DATA: ::windows_sys::core::HRESULT = -1073422316i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TOKSTO_PROPERTY_NOT_FOUND: ::windows_sys::core::HRESULT = -1073422320i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_TOKSTO_TOKEN_NOT_FOUND: ::windows_sys::core::HRESULT = -1073422329i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_USE_LICENSE_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418237i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_VALIDATION_BLOB_PARAM_NOT_FOUND: ::windows_sys::core::HRESULT = -1073429721i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_VALIDATION_BLOCKED_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073429342i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_VALIDATION_INVALID_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073429339i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_VALIDITY_PERIOD_EXPIRED: ::windows_sys::core::HRESULT = -1073415161i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_VALIDITY_TIME_EXPIRED: ::windows_sys::core::HRESULT = -1073418207i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_VALUE_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418222i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_VL_AD_AO_NAME_TOO_LONG: ::windows_sys::core::HRESULT = -1073418110i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_VL_AD_AO_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418111i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_VL_AD_SCHEMA_VERSION_NOT_SUPPORTED: ::windows_sys::core::HRESULT = -1073418109i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_VL_BINDING_SERVICE_NOT_ENABLED: ::windows_sys::core::HRESULT = -1073418183i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_VL_BINDING_SERVICE_UNAVAILABLE: ::windows_sys::core::HRESULT = -1073418124i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_VL_INFO_PRODUCT_USER_RIGHT: ::windows_sys::core::HRESULT = 1074065472i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_VL_INVALID_TIMESTAMP: ::windows_sys::core::HRESULT = -1073418132i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_VL_KEY_MANAGEMENT_SERVICE_ID_MISMATCH: ::windows_sys::core::HRESULT = -1073418174i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_VL_KEY_MANAGEMENT_SERVICE_NOT_ACTIVATED: ::windows_sys::core::HRESULT = -1073418175i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_VL_KEY_MANAGEMENT_SERVICE_VM_NOT_SUPPORTED: ::windows_sys::core::HRESULT = -1073418133i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_VL_MACHINE_NOT_BOUND: ::windows_sys::core::HRESULT = -1073418154i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_VL_NOT_ENOUGH_COUNT: ::windows_sys::core::HRESULT = -1073418184i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_VL_NOT_WINDOWS_SLP: ::windows_sys::core::HRESULT = -1073418187i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_WINDOWS_INVALID_LICENSE_STATE: ::windows_sys::core::HRESULT = -1073418204i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_E_WINDOWS_VERSION_MISMATCH: ::windows_sys::core::HRESULT = -1073422297i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type SL_GENUINE_STATE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_GEN_STATE_IS_GENUINE: SL_GENUINE_STATE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_GEN_STATE_INVALID_LICENSE: SL_GENUINE_STATE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_GEN_STATE_TAMPERED: SL_GENUINE_STATE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_GEN_STATE_OFFLINE: SL_GENUINE_STATE = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_GEN_STATE_LAST: SL_GENUINE_STATE = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_ACTIVE_PLUGINS: &str = "ActivePlugins";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_AUTHOR: &str = "Author";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_BIOS_OA2_MINOR_VERSION: &str = "BiosOA2MinorVersion";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_BIOS_PKEY: &str = "BiosProductKey";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_BIOS_PKEY_DESCRIPTION: &str = "BiosProductKeyDescription";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_BIOS_PKEY_PKPN: &str = "BiosProductKeyPkPn";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_BIOS_SLIC_STATE: &str = "BiosSlicState";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_CHANNEL: &str = "Channel";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_DESCRIPTION: &str = "Description";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_DIGITAL_PID: &str = "DigitalPID";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_DIGITAL_PID2: &str = "DigitalPID2";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_IS_KMS: &str = "IsKeyManagementService";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_IS_PRS: &str = "IsPRS";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_KMS_CURRENT_COUNT: &str = "KeyManagementServiceCurrentCount";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_KMS_FAILED_REQUESTS: &str = "KeyManagementServiceFailedRequests";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_KMS_LICENSED_REQUESTS: &str = "KeyManagementServiceLicensedRequests";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_KMS_NON_GENUINE_GRACE_REQUESTS: &str = "KeyManagementServiceNonGenuineGraceRequests";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_KMS_NOTIFICATION_REQUESTS: &str = "KeyManagementServiceNotificationRequests";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_KMS_OOB_GRACE_REQUESTS: &str = "KeyManagementServiceOOBGraceRequests";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_KMS_OOT_GRACE_REQUESTS: &str = "KeyManagementServiceOOTGraceRequests";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_KMS_REQUIRED_CLIENT_COUNT: &str = "KeyManagementServiceRequiredClientCount";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_KMS_TOTAL_REQUESTS: &str = "KeyManagementServiceTotalRequests";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_KMS_UNLICENSED_REQUESTS: &str = "KeyManagementServiceUnlicensedRequests";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_LICENSE_TYPE: &str = "LicenseType";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_LICENSOR_URL: &str = "LicensorUrl";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_NAME: &str = "Name";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_PARTIAL_PRODUCT_KEY: &str = "PartialProductKey";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_PRODUCT_KEY_ACTIVATION_URL: &str = "PKCURL";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_PRODUCT_SKU_ID: &str = "ProductSkuId";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_RIGHT_ACCOUNT_ACTIVATION_URL: &str = "RACURL";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_SECURE_PROCESSOR_ACTIVATION_URL: &str = "SPCURL";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_SECURE_STORE_ID: &str = "SecureStoreId";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_SYSTEM_STATE: &str = "SystemState";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_USE_LICENSE_ACTIVATION_URL: &str = "EULURL";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INFO_KEY_VERSION: &str = "Version";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_INTERNAL_ZONE: u32 = 57344u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_I_NONGENUINE_GRACE_PERIOD: ::windows_sys::core::HRESULT = 1074065509i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_I_NONGENUINE_GRACE_PERIOD_2: ::windows_sys::core::HRESULT = 1074065512i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_I_OOB_GRACE_PERIOD: ::windows_sys::core::HRESULT = 1074065420i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_I_OOT_GRACE_PERIOD: ::windows_sys::core::HRESULT = 1074065421i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_I_PERPETUAL_OOB_GRACE_PERIOD: ::windows_sys::core::HRESULT = 1074068485i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_I_STORE_BASED_ACTIVATION: ::windows_sys::core::HRESULT = 1074066433i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_I_TIMEBASED_EXTENDED_GRACE_PERIOD: ::windows_sys::core::HRESULT = 1074068486i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_I_TIMEBASED_VALIDITY_PERIOD: ::windows_sys::core::HRESULT = 1074068484i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SL_LICENSING_STATUS {
+ pub SkuId: ::windows_sys::core::GUID,
+ pub eStatus: SLLICENSINGSTATUS,
+ pub dwGraceTime: u32,
+ pub dwTotalGraceDays: u32,
+ pub hrReason: ::windows_sys::core::HRESULT,
+ pub qwValidityExpiration: u64,
+}
+impl ::core::marker::Copy for SL_LICENSING_STATUS {}
+impl ::core::clone::Clone for SL_LICENSING_STATUS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_MDOLLAR_ZONE: u32 = 40960u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_MSCH_ZONE: u32 = 49152u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SL_NONGENUINE_UI_OPTIONS {
+ pub cbSize: u32,
+ pub pComponentId: *const ::windows_sys::core::GUID,
+ pub hResultUI: ::windows_sys::core::HRESULT,
+}
+impl ::core::marker::Copy for SL_NONGENUINE_UI_OPTIONS {}
+impl ::core::clone::Clone for SL_NONGENUINE_UI_OPTIONS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_PKEY_DETECT: &str = "msft:rm/algorithm/pkey/detect";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_PKEY_MS2005: &str = "msft:rm/algorithm/pkey/2005";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_PKEY_MS2009: &str = "msft:rm/algorithm/pkey/2009";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_POLICY_EVALUATION_MODE_ENABLED: &str = "Security-SPP-EvaluationModeEnabled";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_PROP_ACTIVATION_VALIDATION_IN_PROGRESS: &str = "SL_ACTIVATION_VALIDATION_IN_PROGRESS";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_PROP_BRT_COMMIT: &str = "SL_BRT_COMMIT";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_PROP_BRT_DATA: &str = "SL_BRT_DATA";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_PROP_GENUINE_RESULT: &str = "SL_GENUINE_RESULT";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_PROP_GET_GENUINE_AUTHZ: &str = "SL_GET_GENUINE_AUTHZ";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_PROP_GET_GENUINE_SERVER_AUTHZ: &str = "SL_GET_GENUINE_SERVER_AUTHZ";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_PROP_LAST_ACT_ATTEMPT_HRESULT: &str = "SL_LAST_ACT_ATTEMPT_HRESULT";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_PROP_LAST_ACT_ATTEMPT_SERVER_FLAGS: &str = "SL_LAST_ACT_ATTEMPT_SERVER_FLAGS";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_PROP_LAST_ACT_ATTEMPT_TIME: &str = "SL_LAST_ACT_ATTEMPT_TIME";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_PROP_NONGENUINE_GRACE_FLAG: &str = "SL_NONGENUINE_GRACE_FLAG";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REARM_REBOOT_REQUIRED: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_CIDIID_INVALID_CHECK_DIGITS: ::windows_sys::core::HRESULT = -2143313776i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_CIDIID_INVALID_DATA: ::windows_sys::core::HRESULT = -2143313778i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_CIDIID_INVALID_DATA_LENGTH: ::windows_sys::core::HRESULT = -2143313777i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_CIDIID_INVALID_VERSION: ::windows_sys::core::HRESULT = -2143313779i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_DIGITALMARKER_BINDING_NOT_CONFIGURED: ::windows_sys::core::HRESULT = -2143313708i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_DIGITALMARKER_INVALID_BINDING: ::windows_sys::core::HRESULT = -2143313709i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_DMAK_EXTENSION_LIMIT_EXCEEDED: ::windows_sys::core::HRESULT = -2143313792i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_DMAK_LIMIT_EXCEEDED: ::windows_sys::core::HRESULT = -2143313793i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_DMAK_OVERRIDE_LIMIT_REACHED: ::windows_sys::core::HRESULT = -2143313706i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_FREE_OFFER_EXPIRED: ::windows_sys::core::HRESULT = -2143312896i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_INVALID_ACTCONFIG_ID: ::windows_sys::core::HRESULT = -2143313802i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_INVALID_ARGUMENT: ::windows_sys::core::HRESULT = -2143313795i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_INVALID_BINDING: ::windows_sys::core::HRESULT = -2143313818i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_INVALID_BINDING_URI: ::windows_sys::core::HRESULT = -2143313798i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_DATA: ::windows_sys::core::HRESULT = -2143313804i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_DATA_ID: ::windows_sys::core::HRESULT = -2143313805i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_KEY: ::windows_sys::core::HRESULT = -2143313816i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_KEY_FORMAT: ::windows_sys::core::HRESULT = -2143313800i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_KEY_LENGTH: ::windows_sys::core::HRESULT = -2143313801i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_MAXIMUM_UNLOCK_EXCEEDED: ::windows_sys::core::HRESULT = -2143313807i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_NO_RULES_TO_ACTIVATE: ::windows_sys::core::HRESULT = -2143313720i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_OEM_SLP_COA0: ::windows_sys::core::HRESULT = -2143313789i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_OSR_DEVICE_BLOCKED: ::windows_sys::core::HRESULT = -2143310909i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_OSR_DEVICE_THROTTLED: ::windows_sys::core::HRESULT = -2143310914i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_OSR_DONOR_HWID_NO_ENTITLEMENT: ::windows_sys::core::HRESULT = -2143310920i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_OSR_GENERIC_ERROR: ::windows_sys::core::HRESULT = -2143310919i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_OSR_GP_DISABLED: ::windows_sys::core::HRESULT = -2143310913i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_OSR_HARDWARE_BLOCKED: ::windows_sys::core::HRESULT = -2143310912i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_OSR_LICENSE_BLOCKED: ::windows_sys::core::HRESULT = -2143310910i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_OSR_LICENSE_THROTTLED: ::windows_sys::core::HRESULT = -2143310915i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_OSR_NOT_ADMIN: ::windows_sys::core::HRESULT = -2143310917i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_OSR_NO_ASSOCIATION: ::windows_sys::core::HRESULT = -2143310918i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_OSR_USER_BLOCKED: ::windows_sys::core::HRESULT = -2143310911i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_OSR_USER_THROTTLED: ::windows_sys::core::HRESULT = -2143310916i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_PRODUCT_KEY_BLOCKED: ::windows_sys::core::HRESULT = -2143313817i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_PRODUCT_KEY_BLOCKED_IPLOCATION: ::windows_sys::core::HRESULT = -2143313717i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_PRODUCT_KEY_OUT_OF_RANGE: ::windows_sys::core::HRESULT = -2143313819i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_ROT_OVERRIDE_LIMIT_REACHED: ::windows_sys::core::HRESULT = -2143313707i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_TIMEBASED_ACTIVATION_AFTER_END_DATE: ::windows_sys::core::HRESULT = -2143313768i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_TIMEBASED_ACTIVATION_BEFORE_START_DATE: ::windows_sys::core::HRESULT = -2143313769i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_TIMEBASED_ACTIVATION_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -2143313767i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_TIMEBASED_PRODUCT_KEY_NOT_CONFIGURED: ::windows_sys::core::HRESULT = -2143313766i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_MDOLLAR_UNSUPPORTED_PRODUCT_KEY: ::windows_sys::core::HRESULT = -2143313812i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_API_BAD_GET_INFO_QUERY: ::windows_sys::core::HRESULT = -1073426414i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_API_HANDLE_NOT_COMMITED: ::windows_sys::core::HRESULT = -1073426303i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_API_INVALID_ALGORITHM_TYPE: ::windows_sys::core::HRESULT = -1073426423i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_API_INVALID_HANDLE: ::windows_sys::core::HRESULT = -1073426388i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_API_INVALID_KEY_LENGTH: ::windows_sys::core::HRESULT = -1073426347i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_API_INVALID_LICENSE: ::windows_sys::core::HRESULT = -1073426432i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_API_NO_AES_PROVIDER: ::windows_sys::core::HRESULT = -1073426317i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_API_TOO_MANY_LOADED_ENVIRONMENTS: ::windows_sys::core::HRESULT = -1073426420i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_CRYPTO_HASH_FINALIZED: ::windows_sys::core::HRESULT = -1073425911i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_BLOCK: ::windows_sys::core::HRESULT = -1073425905i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_BLOCKLENGTH: ::windows_sys::core::HRESULT = -1073425918i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_CIPHER: ::windows_sys::core::HRESULT = -1073425917i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_CIPHERMODE: ::windows_sys::core::HRESULT = -1073425916i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_FORMAT: ::windows_sys::core::HRESULT = -1073425904i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_KEYLENGTH: ::windows_sys::core::HRESULT = -1073425919i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_PADDING: ::windows_sys::core::HRESULT = -1073425903i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_SIGNATURE: ::windows_sys::core::HRESULT = -1073425906i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_SIGNATURELENGTH: ::windows_sys::core::HRESULT = -1073425907i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_CRYPTO_KEY_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073425910i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_CRYPTO_KEY_NOT_FOUND: ::windows_sys::core::HRESULT = -1073425909i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_CRYPTO_NOT_BLOCK_ALIGNED: ::windows_sys::core::HRESULT = -1073425908i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_ATTRIBUTEID: ::windows_sys::core::HRESULT = -1073425912i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_HASHID: ::windows_sys::core::HRESULT = -1073425913i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_KEYID: ::windows_sys::core::HRESULT = -1073425914i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_PROVIDERID: ::windows_sys::core::HRESULT = -1073425915i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_GENERAL_NOT_INITIALIZED: ::windows_sys::core::HRESULT = -1073426175i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_KM_CACHE_IDENTICAL: ::windows_sys::core::HRESULT = 1074058753i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_KM_CACHE_POLICY_CHANGED: ::windows_sys::core::HRESULT = 1074058754i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_KM_CACHE_TAMPER: ::windows_sys::core::HRESULT = -1073425151i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_KM_CACHE_TAMPER_RESTORE_FAILED: ::windows_sys::core::HRESULT = -1073425150i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_PROXY_SOFT_TAMPER: ::windows_sys::core::HRESULT = -1073424638i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TAMPER_MODULE_AUTHENTICATION: ::windows_sys::core::HRESULT = -1073425407i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TAMPER_SECURITY_PROCESSOR_PATCHED: ::windows_sys::core::HRESULT = -1073425406i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TIMER_ALREADY_EXISTS: ::windows_sys::core::HRESULT = -1073425654i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TIMER_EXPIRED: ::windows_sys::core::HRESULT = -1073425652i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TIMER_NAME_SIZE_TOO_BIG: ::windows_sys::core::HRESULT = -1073425651i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TIMER_NOT_FOUND: ::windows_sys::core::HRESULT = -1073425653i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TIMER_READ_ONLY: ::windows_sys::core::HRESULT = -1073425647i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TRUSTED_TIME_OK: ::windows_sys::core::HRESULT = 1074057999i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TS_ACCESS_DENIED: ::windows_sys::core::HRESULT = -1073425644i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TS_ATTRIBUTE_NOT_FOUND: ::windows_sys::core::HRESULT = -1073425645i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TS_ATTRIBUTE_READ_ONLY: ::windows_sys::core::HRESULT = -1073425646i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TS_DATA_SIZE_TOO_BIG: ::windows_sys::core::HRESULT = -1073425656i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TS_ENTRY_KEY_ALREADY_EXISTS: ::windows_sys::core::HRESULT = -1073425659i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TS_ENTRY_KEY_NOT_FOUND: ::windows_sys::core::HRESULT = -1073425660i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TS_ENTRY_KEY_SIZE_TOO_BIG: ::windows_sys::core::HRESULT = -1073425658i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TS_ENTRY_READ_ONLY: ::windows_sys::core::HRESULT = -1073425648i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TS_FULL: ::windows_sys::core::HRESULT = -1073425650i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TS_INVALID_HW_BINDING: ::windows_sys::core::HRESULT = -1073425655i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TS_MAX_REARM_REACHED: ::windows_sys::core::HRESULT = -1073425657i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TS_NAMESPACE_IN_USE: ::windows_sys::core::HRESULT = -1073425642i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TS_NAMESPACE_NOT_FOUND: ::windows_sys::core::HRESULT = -1073425643i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TS_REARMED: ::windows_sys::core::HRESULT = -1073425662i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TS_RECREATED: ::windows_sys::core::HRESULT = -1073425661i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TS_TAMPERED: ::windows_sys::core::HRESULT = -1073425663i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_BREADCRUMB_GENERATION: ::windows_sys::core::HRESULT = -1073425640i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_BREADCRUMB_LOAD_INVALID: ::windows_sys::core::HRESULT = -1073425641i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_DATA_BREADCRUMB_MISMATCH: ::windows_sys::core::HRESULT = -1073425637i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_DATA_VERSION_MISMATCH: ::windows_sys::core::HRESULT = -1073425636i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_INVALID_DATA: ::windows_sys::core::HRESULT = -1073425639i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_NO_DATA: ::windows_sys::core::HRESULT = -1073425638i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_STATUS_ALREADY_EXISTS: ::windows_sys::core::HRESULT = -1073426171i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_STATUS_DEBUGGER_DETECTED: ::windows_sys::core::HRESULT = -2147167989i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_STATUS_GENERIC_FAILURE: ::windows_sys::core::HRESULT = -1073426173i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_STATUS_INSUFFICIENT_BUFFER: ::windows_sys::core::HRESULT = -1073426169i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_STATUS_INVALIDARG: ::windows_sys::core::HRESULT = -1073426172i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_STATUS_INVALIDDATA: ::windows_sys::core::HRESULT = -1073426168i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_STATUS_INVALID_SPAPI_CALL: ::windows_sys::core::HRESULT = -1073426167i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_STATUS_INVALID_SPAPI_VERSION: ::windows_sys::core::HRESULT = -1073426166i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_STATUS_NO_MORE_DATA: ::windows_sys::core::HRESULT = -1073426164i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_STATUS_PUSHKEY_CONFLICT: ::windows_sys::core::HRESULT = -1073424639i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_REMAPPING_SP_STATUS_SYSTEM_TIME_SKEWED: ::windows_sys::core::HRESULT = -2147167998i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_SERVER_ZONE: u32 = 45056u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SL_SYSTEM_POLICY_INFORMATION {
+ pub Reserved1: [*mut ::core::ffi::c_void; 2],
+ pub Reserved2: [u32; 3],
+}
+impl ::core::marker::Copy for SL_SYSTEM_POLICY_INFORMATION {}
+impl ::core::clone::Clone for SL_SYSTEM_POLICY_INFORMATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_SYSTEM_STATE_REBOOT_POLICY_FOUND: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SL_SYSTEM_STATE_TAMPERED: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SPP_MIGRATION_GATHER_ACTIVATED_WINDOWS_STATE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SPP_MIGRATION_GATHER_ALL: u32 = 4294967295u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SPP_MIGRATION_GATHER_MIGRATABLE_APPS: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SP_ACCEPT_CREDENTIALS_NAME: &str = "SpAcceptCredentials\u{0}";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SP_PROT_ALL: u32 = 4294967295u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SP_PROT_DTLS1_0_CLIENT: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SP_PROT_DTLS1_0_SERVER: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SP_PROT_DTLS1_2_CLIENT: u32 = 524288u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SP_PROT_DTLS1_2_SERVER: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SP_PROT_DTLS_CLIENT: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SP_PROT_DTLS_SERVER: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SP_PROT_NONE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SP_PROT_PCT1_CLIENT: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SP_PROT_PCT1_SERVER: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SP_PROT_SSL2_CLIENT: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SP_PROT_SSL2_SERVER: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SP_PROT_SSL3_CLIENT: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SP_PROT_SSL3_SERVER: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SP_PROT_TLS1_0_CLIENT: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SP_PROT_TLS1_0_SERVER: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SP_PROT_TLS1_1_CLIENT: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SP_PROT_TLS1_1_SERVER: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SP_PROT_TLS1_2_CLIENT: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SP_PROT_TLS1_2_SERVER: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SP_PROT_TLS1_3PLUS_CLIENT: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SP_PROT_TLS1_3PLUS_SERVER: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SP_PROT_TLS1_3_CLIENT: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SP_PROT_TLS1_3_SERVER: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SP_PROT_TLS1_CLIENT: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SP_PROT_TLS1_SERVER: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SP_PROT_UNI_CLIENT: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SP_PROT_UNI_SERVER: u32 = 1073741824u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SR_SECURITY_DESCRIPTOR {
+ pub Length: u32,
+ pub SecurityDescriptor: *mut u8,
+}
+impl ::core::marker::Copy for SR_SECURITY_DESCRIPTOR {}
+impl ::core::clone::Clone for SR_SECURITY_DESCRIPTOR {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SSL2SP_NAME: &str = "Microsoft SSL 2.0";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SSL2SP_NAME_A: &str = "Microsoft SSL 2.0";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SSL2SP_NAME_W: &str = "Microsoft SSL 2.0";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SSL3SP_NAME: &str = "Microsoft SSL 3.0";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SSL3SP_NAME_A: &str = "Microsoft SSL 3.0";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SSL3SP_NAME_W: &str = "Microsoft SSL 3.0";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SSL_CRACK_CERTIFICATE_NAME: &str = "SslCrackCertificate";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SSL_CREDENTIAL_CERTIFICATE {
+ pub cbPrivateKey: u32,
+ pub pPrivateKey: *mut u8,
+ pub cbCertificate: u32,
+ pub pCertificate: *mut u8,
+ pub pszPassword: ::windows_sys::core::PSTR,
+}
+impl ::core::marker::Copy for SSL_CREDENTIAL_CERTIFICATE {}
+impl ::core::clone::Clone for SSL_CREDENTIAL_CERTIFICATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type SSL_FREE_CERTIFICATE_FN = ::core::option::Option<unsafe extern "system" fn(pcertificate: *mut X509Certificate)>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SSL_FREE_CERTIFICATE_NAME: &str = "SslFreeCertificate";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SSL_SESSION_RECONNECT: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SSPIPFC_CREDPROV_DO_NOT_LOAD: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SSPIPFC_CREDPROV_DO_NOT_SAVE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SSPIPFC_NO_CHECKBOX: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SSPIPFC_SAVE_CRED_BY_CALLER: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SSPIPFC_USE_CREDUIBROKER: u32 = 8u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SUBSCRIBE_GENERIC_TLS_EXTENSION {
+ pub Flags: u32,
+ pub SubscriptionsCount: u32,
+ pub Subscriptions: [TLS_EXTENSION_SUBSCRIPTION; 1],
+}
+impl ::core::marker::Copy for SUBSCRIBE_GENERIC_TLS_EXTENSION {}
+impl ::core::clone::Clone for SUBSCRIBE_GENERIC_TLS_EXTENSION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SZ_ALG_MAX_SIZE: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type SchGetExtensionsOptions = u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_EXTENSIONS_OPTIONS_NONE: SchGetExtensionsOptions = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SCH_NO_RECORD_HEADER: SchGetExtensionsOptions = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecBuffer {
+ pub cbBuffer: u32,
+ pub BufferType: u32,
+ pub pvBuffer: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for SecBuffer {}
+impl ::core::clone::Clone for SecBuffer {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecBufferDesc {
+ pub ulVersion: u32,
+ pub cBuffers: u32,
+ pub pBuffers: *mut SecBuffer,
+}
+impl ::core::marker::Copy for SecBufferDesc {}
+impl ::core::clone::Clone for SecBufferDesc {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type SecDelegationType = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecFull: SecDelegationType = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecService: SecDelegationType = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecTree: SecDelegationType = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecDirectory: SecDelegationType = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const SecObject: SecDelegationType = 4i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_AccessToken {
+ pub AccessToken: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for SecPkgContext_AccessToken {}
+impl ::core::clone::Clone for SecPkgContext_AccessToken {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_ApplicationProtocol {
+ pub ProtoNegoStatus: SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS,
+ pub ProtoNegoExt: SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT,
+ pub ProtocolIdSize: u8,
+ pub ProtocolId: [u8; 255],
+}
+impl ::core::marker::Copy for SecPkgContext_ApplicationProtocol {}
+impl ::core::clone::Clone for SecPkgContext_ApplicationProtocol {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_AuthorityA {
+ pub sAuthorityName: *mut i8,
+}
+impl ::core::marker::Copy for SecPkgContext_AuthorityA {}
+impl ::core::clone::Clone for SecPkgContext_AuthorityA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_AuthorityW {
+ pub sAuthorityName: *mut u16,
+}
+impl ::core::marker::Copy for SecPkgContext_AuthorityW {}
+impl ::core::clone::Clone for SecPkgContext_AuthorityW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_AuthzID {
+ pub AuthzIDLength: u32,
+ pub AuthzID: ::windows_sys::core::PSTR,
+}
+impl ::core::marker::Copy for SecPkgContext_AuthzID {}
+impl ::core::clone::Clone for SecPkgContext_AuthzID {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_Bindings {
+ pub BindingsLength: u32,
+ pub Bindings: *mut SEC_CHANNEL_BINDINGS,
+}
+impl ::core::marker::Copy for SecPkgContext_Bindings {}
+impl ::core::clone::Clone for SecPkgContext_Bindings {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_CertInfo {
+ pub dwVersion: u32,
+ pub cbSubjectName: u32,
+ pub pwszSubjectName: ::windows_sys::core::PWSTR,
+ pub cbIssuerName: u32,
+ pub pwszIssuerName: ::windows_sys::core::PWSTR,
+ pub dwKeySize: u32,
+}
+impl ::core::marker::Copy for SecPkgContext_CertInfo {}
+impl ::core::clone::Clone for SecPkgContext_CertInfo {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_CertificateValidationResult {
+ pub dwChainErrorStatus: u32,
+ pub hrVerifyChainStatus: ::windows_sys::core::HRESULT,
+}
+impl ::core::marker::Copy for SecPkgContext_CertificateValidationResult {}
+impl ::core::clone::Clone for SecPkgContext_CertificateValidationResult {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_Certificates {
+ pub cCertificates: u32,
+ pub cbCertificateChain: u32,
+ pub pbCertificateChain: *mut u8,
+}
+impl ::core::marker::Copy for SecPkgContext_Certificates {}
+impl ::core::clone::Clone for SecPkgContext_Certificates {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_CipherInfo {
+ pub dwVersion: u32,
+ pub dwProtocol: u32,
+ pub dwCipherSuite: u32,
+ pub dwBaseCipherSuite: u32,
+ pub szCipherSuite: [u16; 64],
+ pub szCipher: [u16; 64],
+ pub dwCipherLen: u32,
+ pub dwCipherBlockLen: u32,
+ pub szHash: [u16; 64],
+ pub dwHashLen: u32,
+ pub szExchange: [u16; 64],
+ pub dwMinExchangeLen: u32,
+ pub dwMaxExchangeLen: u32,
+ pub szCertificate: [u16; 64],
+ pub dwKeyType: u32,
+}
+impl ::core::marker::Copy for SecPkgContext_CipherInfo {}
+impl ::core::clone::Clone for SecPkgContext_CipherInfo {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_ClientCertPolicyResult {
+ pub dwPolicyResult: ::windows_sys::core::HRESULT,
+ pub guidPolicyId: ::windows_sys::core::GUID,
+}
+impl ::core::marker::Copy for SecPkgContext_ClientCertPolicyResult {}
+impl ::core::clone::Clone for SecPkgContext_ClientCertPolicyResult {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_ClientSpecifiedTarget {
+ pub sTargetName: *mut u16,
+}
+impl ::core::marker::Copy for SecPkgContext_ClientSpecifiedTarget {}
+impl ::core::clone::Clone for SecPkgContext_ClientSpecifiedTarget {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_ConnectionInfo {
+ pub dwProtocol: u32,
+ pub aiCipher: u32,
+ pub dwCipherStrength: u32,
+ pub aiHash: u32,
+ pub dwHashStrength: u32,
+ pub aiExch: u32,
+ pub dwExchStrength: u32,
+}
+impl ::core::marker::Copy for SecPkgContext_ConnectionInfo {}
+impl ::core::clone::Clone for SecPkgContext_ConnectionInfo {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_ConnectionInfoEx {
+ pub dwVersion: u32,
+ pub dwProtocol: u32,
+ pub szCipher: [u16; 64],
+ pub dwCipherStrength: u32,
+ pub szHash: [u16; 64],
+ pub dwHashStrength: u32,
+ pub szExchange: [u16; 64],
+ pub dwExchStrength: u32,
+}
+impl ::core::marker::Copy for SecPkgContext_ConnectionInfoEx {}
+impl ::core::clone::Clone for SecPkgContext_ConnectionInfoEx {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_CredInfo {
+ pub CredClass: SECPKG_CRED_CLASS,
+ pub IsPromptingNeeded: u32,
+}
+impl ::core::marker::Copy for SecPkgContext_CredInfo {}
+impl ::core::clone::Clone for SecPkgContext_CredInfo {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_CredentialNameA {
+ pub CredentialType: u32,
+ pub sCredentialName: *mut i8,
+}
+impl ::core::marker::Copy for SecPkgContext_CredentialNameA {}
+impl ::core::clone::Clone for SecPkgContext_CredentialNameA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_CredentialNameW {
+ pub CredentialType: u32,
+ pub sCredentialName: *mut u16,
+}
+impl ::core::marker::Copy for SecPkgContext_CredentialNameW {}
+impl ::core::clone::Clone for SecPkgContext_CredentialNameW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_DceInfo {
+ pub AuthzSvc: u32,
+ pub pPac: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for SecPkgContext_DceInfo {}
+impl ::core::clone::Clone for SecPkgContext_DceInfo {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_EapKeyBlock {
+ pub rgbKeys: [u8; 128],
+ pub rgbIVs: [u8; 64],
+}
+impl ::core::marker::Copy for SecPkgContext_EapKeyBlock {}
+impl ::core::clone::Clone for SecPkgContext_EapKeyBlock {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_EapPrfInfo {
+ pub dwVersion: u32,
+ pub cbPrfData: u32,
+ pub pbPrfData: *mut u8,
+}
+impl ::core::marker::Copy for SecPkgContext_EapPrfInfo {}
+impl ::core::clone::Clone for SecPkgContext_EapPrfInfo {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_EarlyStart {
+ pub dwEarlyStartFlags: u32,
+}
+impl ::core::marker::Copy for SecPkgContext_EarlyStart {}
+impl ::core::clone::Clone for SecPkgContext_EarlyStart {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_Flags {
+ pub Flags: u32,
+}
+impl ::core::marker::Copy for SecPkgContext_Flags {}
+impl ::core::clone::Clone for SecPkgContext_Flags {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(feature = "Win32_Security_Cryptography")]
+pub struct SecPkgContext_IssuerListInfoEx {
+ pub aIssuers: *mut super::super::Cryptography::CRYPTOAPI_BLOB,
+ pub cIssuers: u32,
+}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::marker::Copy for SecPkgContext_IssuerListInfoEx {}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::clone::Clone for SecPkgContext_IssuerListInfoEx {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_KeyInfoA {
+ pub sSignatureAlgorithmName: *mut i8,
+ pub sEncryptAlgorithmName: *mut i8,
+ pub KeySize: u32,
+ pub SignatureAlgorithm: u32,
+ pub EncryptAlgorithm: u32,
+}
+impl ::core::marker::Copy for SecPkgContext_KeyInfoA {}
+impl ::core::clone::Clone for SecPkgContext_KeyInfoA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_KeyInfoW {
+ pub sSignatureAlgorithmName: *mut u16,
+ pub sEncryptAlgorithmName: *mut u16,
+ pub KeySize: u32,
+ pub SignatureAlgorithm: u32,
+ pub EncryptAlgorithm: u32,
+}
+impl ::core::marker::Copy for SecPkgContext_KeyInfoW {}
+impl ::core::clone::Clone for SecPkgContext_KeyInfoW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_KeyingMaterial {
+ pub cbKeyingMaterial: u32,
+ pub pbKeyingMaterial: *mut u8,
+}
+impl ::core::marker::Copy for SecPkgContext_KeyingMaterial {}
+impl ::core::clone::Clone for SecPkgContext_KeyingMaterial {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_KeyingMaterialInfo {
+ pub cbLabel: u16,
+ pub pszLabel: ::windows_sys::core::PSTR,
+ pub cbContextValue: u16,
+ pub pbContextValue: *mut u8,
+ pub cbKeyingMaterial: u32,
+}
+impl ::core::marker::Copy for SecPkgContext_KeyingMaterialInfo {}
+impl ::core::clone::Clone for SecPkgContext_KeyingMaterialInfo {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_KeyingMaterial_Inproc {
+ pub cbLabel: u16,
+ pub pszLabel: ::windows_sys::core::PSTR,
+ pub cbContextValue: u16,
+ pub pbContextValue: *mut u8,
+ pub cbKeyingMaterial: u32,
+ pub pbKeyingMaterial: *mut u8,
+}
+impl ::core::marker::Copy for SecPkgContext_KeyingMaterial_Inproc {}
+impl ::core::clone::Clone for SecPkgContext_KeyingMaterial_Inproc {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_LastClientTokenStatus {
+ pub LastClientTokenStatus: SECPKG_ATTR_LCT_STATUS,
+}
+impl ::core::marker::Copy for SecPkgContext_LastClientTokenStatus {}
+impl ::core::clone::Clone for SecPkgContext_LastClientTokenStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_Lifespan {
+ pub tsStart: i64,
+ pub tsExpiry: i64,
+}
+impl ::core::marker::Copy for SecPkgContext_Lifespan {}
+impl ::core::clone::Clone for SecPkgContext_Lifespan {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_LocalCredentialInfo {
+ pub cbCertificateChain: u32,
+ pub pbCertificateChain: *mut u8,
+ pub cCertificates: u32,
+ pub fFlags: u32,
+ pub dwBits: u32,
+}
+impl ::core::marker::Copy for SecPkgContext_LocalCredentialInfo {}
+impl ::core::clone::Clone for SecPkgContext_LocalCredentialInfo {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_LogoffTime {
+ pub tsLogoffTime: i64,
+}
+impl ::core::marker::Copy for SecPkgContext_LogoffTime {}
+impl ::core::clone::Clone for SecPkgContext_LogoffTime {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_MappedCredAttr {
+ pub dwAttribute: u32,
+ pub pvBuffer: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for SecPkgContext_MappedCredAttr {}
+impl ::core::clone::Clone for SecPkgContext_MappedCredAttr {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_NamesA {
+ pub sUserName: *mut i8,
+}
+impl ::core::marker::Copy for SecPkgContext_NamesA {}
+impl ::core::clone::Clone for SecPkgContext_NamesA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_NamesW {
+ pub sUserName: *mut u16,
+}
+impl ::core::marker::Copy for SecPkgContext_NamesW {}
+impl ::core::clone::Clone for SecPkgContext_NamesW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_NativeNamesA {
+ pub sClientName: *mut i8,
+ pub sServerName: *mut i8,
+}
+impl ::core::marker::Copy for SecPkgContext_NativeNamesA {}
+impl ::core::clone::Clone for SecPkgContext_NativeNamesA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_NativeNamesW {
+ pub sClientName: *mut u16,
+ pub sServerName: *mut u16,
+}
+impl ::core::marker::Copy for SecPkgContext_NativeNamesW {}
+impl ::core::clone::Clone for SecPkgContext_NativeNamesW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_NegoKeys {
+ pub KeyType: u32,
+ pub KeyLength: u16,
+ pub KeyValue: *mut u8,
+ pub VerifyKeyType: u32,
+ pub VerifyKeyLength: u16,
+ pub VerifyKeyValue: *mut u8,
+}
+impl ::core::marker::Copy for SecPkgContext_NegoKeys {}
+impl ::core::clone::Clone for SecPkgContext_NegoKeys {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_NegoPackageInfo {
+ pub PackageMask: u32,
+}
+impl ::core::marker::Copy for SecPkgContext_NegoPackageInfo {}
+impl ::core::clone::Clone for SecPkgContext_NegoPackageInfo {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_NegoStatus {
+ pub LastStatus: u32,
+}
+impl ::core::marker::Copy for SecPkgContext_NegoStatus {}
+impl ::core::clone::Clone for SecPkgContext_NegoStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_NegotiatedTlsExtensions {
+ pub ExtensionsCount: u32,
+ pub Extensions: *mut u16,
+}
+impl ::core::marker::Copy for SecPkgContext_NegotiatedTlsExtensions {}
+impl ::core::clone::Clone for SecPkgContext_NegotiatedTlsExtensions {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_NegotiationInfoA {
+ pub PackageInfo: *mut SecPkgInfoA,
+ pub NegotiationState: u32,
+}
+impl ::core::marker::Copy for SecPkgContext_NegotiationInfoA {}
+impl ::core::clone::Clone for SecPkgContext_NegotiationInfoA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_NegotiationInfoW {
+ pub PackageInfo: *mut SecPkgInfoW,
+ pub NegotiationState: u32,
+}
+impl ::core::marker::Copy for SecPkgContext_NegotiationInfoW {}
+impl ::core::clone::Clone for SecPkgContext_NegotiationInfoW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_PackageInfoA {
+ pub PackageInfo: *mut SecPkgInfoA,
+}
+impl ::core::marker::Copy for SecPkgContext_PackageInfoA {}
+impl ::core::clone::Clone for SecPkgContext_PackageInfoA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_PackageInfoW {
+ pub PackageInfo: *mut SecPkgInfoW,
+}
+impl ::core::marker::Copy for SecPkgContext_PackageInfoW {}
+impl ::core::clone::Clone for SecPkgContext_PackageInfoW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_PasswordExpiry {
+ pub tsPasswordExpires: i64,
+}
+impl ::core::marker::Copy for SecPkgContext_PasswordExpiry {}
+impl ::core::clone::Clone for SecPkgContext_PasswordExpiry {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_ProtoInfoA {
+ pub sProtocolName: *mut i8,
+ pub majorVersion: u32,
+ pub minorVersion: u32,
+}
+impl ::core::marker::Copy for SecPkgContext_ProtoInfoA {}
+impl ::core::clone::Clone for SecPkgContext_ProtoInfoA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_ProtoInfoW {
+ pub sProtocolName: *mut u16,
+ pub majorVersion: u32,
+ pub minorVersion: u32,
+}
+impl ::core::marker::Copy for SecPkgContext_ProtoInfoW {}
+impl ::core::clone::Clone for SecPkgContext_ProtoInfoW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_RemoteCredentialInfo {
+ pub cbCertificateChain: u32,
+ pub pbCertificateChain: *mut u8,
+ pub cCertificates: u32,
+ pub fFlags: u32,
+ pub dwBits: u32,
+}
+impl ::core::marker::Copy for SecPkgContext_RemoteCredentialInfo {}
+impl ::core::clone::Clone for SecPkgContext_RemoteCredentialInfo {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_SaslContext {
+ pub SaslContext: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for SecPkgContext_SaslContext {}
+impl ::core::clone::Clone for SecPkgContext_SaslContext {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_SessionAppData {
+ pub dwFlags: u32,
+ pub cbAppData: u32,
+ pub pbAppData: *mut u8,
+}
+impl ::core::marker::Copy for SecPkgContext_SessionAppData {}
+impl ::core::clone::Clone for SecPkgContext_SessionAppData {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_SessionInfo {
+ pub dwFlags: u32,
+ pub cbSessionId: u32,
+ pub rgbSessionId: [u8; 32],
+}
+impl ::core::marker::Copy for SecPkgContext_SessionInfo {}
+impl ::core::clone::Clone for SecPkgContext_SessionInfo {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_SessionKey {
+ pub SessionKeyLength: u32,
+ pub SessionKey: *mut u8,
+}
+impl ::core::marker::Copy for SecPkgContext_SessionKey {}
+impl ::core::clone::Clone for SecPkgContext_SessionKey {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_Sizes {
+ pub cbMaxToken: u32,
+ pub cbMaxSignature: u32,
+ pub cbBlockSize: u32,
+ pub cbSecurityTrailer: u32,
+}
+impl ::core::marker::Copy for SecPkgContext_Sizes {}
+impl ::core::clone::Clone for SecPkgContext_Sizes {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_SrtpParameters {
+ pub ProtectionProfile: u16,
+ pub MasterKeyIdentifierSize: u8,
+ pub MasterKeyIdentifier: *mut u8,
+}
+impl ::core::marker::Copy for SecPkgContext_SrtpParameters {}
+impl ::core::clone::Clone for SecPkgContext_SrtpParameters {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_StreamSizes {
+ pub cbHeader: u32,
+ pub cbTrailer: u32,
+ pub cbMaximumMessage: u32,
+ pub cBuffers: u32,
+ pub cbBlockSize: u32,
+}
+impl ::core::marker::Copy for SecPkgContext_StreamSizes {}
+impl ::core::clone::Clone for SecPkgContext_StreamSizes {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_SubjectAttributes {
+ pub AttributeInfo: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for SecPkgContext_SubjectAttributes {}
+impl ::core::clone::Clone for SecPkgContext_SubjectAttributes {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_SupportedSignatures {
+ pub cSignatureAndHashAlgorithms: u16,
+ pub pSignatureAndHashAlgorithms: *mut u16,
+}
+impl ::core::marker::Copy for SecPkgContext_SupportedSignatures {}
+impl ::core::clone::Clone for SecPkgContext_SupportedSignatures {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_Target {
+ pub TargetLength: u32,
+ pub Target: ::windows_sys::core::PSTR,
+}
+impl ::core::marker::Copy for SecPkgContext_Target {}
+impl ::core::clone::Clone for SecPkgContext_Target {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_TargetInformation {
+ pub MarshalledTargetInfoLength: u32,
+ pub MarshalledTargetInfo: *mut u8,
+}
+impl ::core::marker::Copy for SecPkgContext_TargetInformation {}
+impl ::core::clone::Clone for SecPkgContext_TargetInformation {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_TokenBinding {
+ pub MajorVersion: u8,
+ pub MinorVersion: u8,
+ pub KeyParametersSize: u16,
+ pub KeyParameters: *mut u8,
+}
+impl ::core::marker::Copy for SecPkgContext_TokenBinding {}
+impl ::core::clone::Clone for SecPkgContext_TokenBinding {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SecPkgContext_UiInfo {
+ pub hParentWindow: super::super::super::Foundation::HWND,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SecPkgContext_UiInfo {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SecPkgContext_UiInfo {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgContext_UserFlags {
+ pub UserFlags: u32,
+}
+impl ::core::marker::Copy for SecPkgContext_UserFlags {}
+impl ::core::clone::Clone for SecPkgContext_UserFlags {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgCred_CipherStrengths {
+ pub dwMinimumCipherStrength: u32,
+ pub dwMaximumCipherStrength: u32,
+}
+impl ::core::marker::Copy for SecPkgCred_CipherStrengths {}
+impl ::core::clone::Clone for SecPkgCred_CipherStrengths {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SecPkgCred_ClientCertPolicy {
+ pub dwFlags: u32,
+ pub guidPolicyId: ::windows_sys::core::GUID,
+ pub dwCertFlags: u32,
+ pub dwUrlRetrievalTimeout: u32,
+ pub fCheckRevocationFreshnessTime: super::super::super::Foundation::BOOL,
+ pub dwRevocationFreshnessTime: u32,
+ pub fOmitUsageCheck: super::super::super::Foundation::BOOL,
+ pub pwszSslCtlStoreName: ::windows_sys::core::PWSTR,
+ pub pwszSslCtlIdentifier: ::windows_sys::core::PWSTR,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SecPkgCred_ClientCertPolicy {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SecPkgCred_ClientCertPolicy {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgCred_SessionTicketKey {
+ pub TicketInfoVersion: u32,
+ pub KeyId: [u8; 16],
+ pub KeyingMaterial: [u8; 64],
+ pub KeyingMaterialSize: u8,
+}
+impl ::core::marker::Copy for SecPkgCred_SessionTicketKey {}
+impl ::core::clone::Clone for SecPkgCred_SessionTicketKey {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgCred_SessionTicketKeys {
+ pub cSessionTicketKeys: u32,
+ pub pSessionTicketKeys: *mut SecPkgCred_SessionTicketKey,
+}
+impl ::core::marker::Copy for SecPkgCred_SessionTicketKeys {}
+impl ::core::clone::Clone for SecPkgCred_SessionTicketKeys {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgCred_SupportedAlgs {
+ pub cSupportedAlgs: u32,
+ pub palgSupportedAlgs: *mut u32,
+}
+impl ::core::marker::Copy for SecPkgCred_SupportedAlgs {}
+impl ::core::clone::Clone for SecPkgCred_SupportedAlgs {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgCred_SupportedProtocols {
+ pub grbitProtocol: u32,
+}
+impl ::core::marker::Copy for SecPkgCred_SupportedProtocols {}
+impl ::core::clone::Clone for SecPkgCred_SupportedProtocols {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgCredentials_Cert {
+ pub EncodedCertSize: u32,
+ pub EncodedCert: *mut u8,
+}
+impl ::core::marker::Copy for SecPkgCredentials_Cert {}
+impl ::core::clone::Clone for SecPkgCredentials_Cert {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgCredentials_KdcProxySettingsW {
+ pub Version: u32,
+ pub Flags: u32,
+ pub ProxyServerOffset: u16,
+ pub ProxyServerLength: u16,
+ pub ClientTlsCredOffset: u16,
+ pub ClientTlsCredLength: u16,
+}
+impl ::core::marker::Copy for SecPkgCredentials_KdcProxySettingsW {}
+impl ::core::clone::Clone for SecPkgCredentials_KdcProxySettingsW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgCredentials_NamesA {
+ pub sUserName: *mut i8,
+}
+impl ::core::marker::Copy for SecPkgCredentials_NamesA {}
+impl ::core::clone::Clone for SecPkgCredentials_NamesA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgCredentials_NamesW {
+ pub sUserName: *mut u16,
+}
+impl ::core::marker::Copy for SecPkgCredentials_NamesW {}
+impl ::core::clone::Clone for SecPkgCredentials_NamesW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgCredentials_SSIProviderA {
+ pub sProviderName: *mut i8,
+ pub ProviderInfoLength: u32,
+ pub ProviderInfo: ::windows_sys::core::PSTR,
+}
+impl ::core::marker::Copy for SecPkgCredentials_SSIProviderA {}
+impl ::core::clone::Clone for SecPkgCredentials_SSIProviderA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgCredentials_SSIProviderW {
+ pub sProviderName: *mut u16,
+ pub ProviderInfoLength: u32,
+ pub ProviderInfo: ::windows_sys::core::PSTR,
+}
+impl ::core::marker::Copy for SecPkgCredentials_SSIProviderW {}
+impl ::core::clone::Clone for SecPkgCredentials_SSIProviderW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgInfoA {
+ pub fCapabilities: u32,
+ pub wVersion: u16,
+ pub wRPCID: u16,
+ pub cbMaxToken: u32,
+ pub Name: *mut i8,
+ pub Comment: *mut i8,
+}
+impl ::core::marker::Copy for SecPkgInfoA {}
+impl ::core::clone::Clone for SecPkgInfoA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct SecPkgInfoW {
+ pub fCapabilities: u32,
+ pub wVersion: u16,
+ pub wRPCID: u16,
+ pub cbMaxToken: u32,
+ pub Name: *mut u16,
+ pub Comment: *mut u16,
+}
+impl ::core::marker::Copy for SecPkgInfoW {}
+impl ::core::clone::Clone for SecPkgInfoW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
+pub struct SecurityFunctionTableA {
+ pub dwVersion: u32,
+ pub EnumerateSecurityPackagesA: ENUMERATE_SECURITY_PACKAGES_FN_A,
+ pub QueryCredentialsAttributesA: QUERY_CREDENTIALS_ATTRIBUTES_FN_A,
+ pub AcquireCredentialsHandleA: ACQUIRE_CREDENTIALS_HANDLE_FN_A,
+ pub FreeCredentialsHandle: FREE_CREDENTIALS_HANDLE_FN,
+ pub Reserved2: *mut ::core::ffi::c_void,
+ pub InitializeSecurityContextA: INITIALIZE_SECURITY_CONTEXT_FN_A,
+ pub AcceptSecurityContext: ACCEPT_SECURITY_CONTEXT_FN,
+ pub CompleteAuthToken: COMPLETE_AUTH_TOKEN_FN,
+ pub DeleteSecurityContext: DELETE_SECURITY_CONTEXT_FN,
+ pub ApplyControlToken: APPLY_CONTROL_TOKEN_FN,
+ pub QueryContextAttributesA: QUERY_CONTEXT_ATTRIBUTES_FN_A,
+ pub ImpersonateSecurityContext: IMPERSONATE_SECURITY_CONTEXT_FN,
+ pub RevertSecurityContext: REVERT_SECURITY_CONTEXT_FN,
+ pub MakeSignature: MAKE_SIGNATURE_FN,
+ pub VerifySignature: VERIFY_SIGNATURE_FN,
+ pub FreeContextBuffer: FREE_CONTEXT_BUFFER_FN,
+ pub QuerySecurityPackageInfoA: QUERY_SECURITY_PACKAGE_INFO_FN_A,
+ pub Reserved3: *mut ::core::ffi::c_void,
+ pub Reserved4: *mut ::core::ffi::c_void,
+ pub ExportSecurityContext: EXPORT_SECURITY_CONTEXT_FN,
+ pub ImportSecurityContextA: IMPORT_SECURITY_CONTEXT_FN_A,
+ pub AddCredentialsA: ADD_CREDENTIALS_FN_A,
+ pub Reserved8: *mut ::core::ffi::c_void,
+ pub QuerySecurityContextToken: QUERY_SECURITY_CONTEXT_TOKEN_FN,
+ pub EncryptMessage: ENCRYPT_MESSAGE_FN,
+ pub DecryptMessage: DECRYPT_MESSAGE_FN,
+ pub SetContextAttributesA: SET_CONTEXT_ATTRIBUTES_FN_A,
+ pub SetCredentialsAttributesA: SET_CREDENTIALS_ATTRIBUTES_FN_A,
+ pub ChangeAccountPasswordA: CHANGE_PASSWORD_FN_A,
+ pub QueryContextAttributesExA: QUERY_CONTEXT_ATTRIBUTES_EX_FN_A,
+ pub QueryCredentialsAttributesExA: QUERY_CREDENTIALS_ATTRIBUTES_EX_FN_A,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
+impl ::core::marker::Copy for SecurityFunctionTableA {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
+impl ::core::clone::Clone for SecurityFunctionTableA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
+pub struct SecurityFunctionTableW {
+ pub dwVersion: u32,
+ pub EnumerateSecurityPackagesW: ENUMERATE_SECURITY_PACKAGES_FN_W,
+ pub QueryCredentialsAttributesW: QUERY_CREDENTIALS_ATTRIBUTES_FN_W,
+ pub AcquireCredentialsHandleW: ACQUIRE_CREDENTIALS_HANDLE_FN_W,
+ pub FreeCredentialsHandle: FREE_CREDENTIALS_HANDLE_FN,
+ pub Reserved2: *mut ::core::ffi::c_void,
+ pub InitializeSecurityContextW: INITIALIZE_SECURITY_CONTEXT_FN_W,
+ pub AcceptSecurityContext: ACCEPT_SECURITY_CONTEXT_FN,
+ pub CompleteAuthToken: COMPLETE_AUTH_TOKEN_FN,
+ pub DeleteSecurityContext: DELETE_SECURITY_CONTEXT_FN,
+ pub ApplyControlToken: APPLY_CONTROL_TOKEN_FN,
+ pub QueryContextAttributesW: QUERY_CONTEXT_ATTRIBUTES_FN_W,
+ pub ImpersonateSecurityContext: IMPERSONATE_SECURITY_CONTEXT_FN,
+ pub RevertSecurityContext: REVERT_SECURITY_CONTEXT_FN,
+ pub MakeSignature: MAKE_SIGNATURE_FN,
+ pub VerifySignature: VERIFY_SIGNATURE_FN,
+ pub FreeContextBuffer: FREE_CONTEXT_BUFFER_FN,
+ pub QuerySecurityPackageInfoW: QUERY_SECURITY_PACKAGE_INFO_FN_W,
+ pub Reserved3: *mut ::core::ffi::c_void,
+ pub Reserved4: *mut ::core::ffi::c_void,
+ pub ExportSecurityContext: EXPORT_SECURITY_CONTEXT_FN,
+ pub ImportSecurityContextW: IMPORT_SECURITY_CONTEXT_FN_W,
+ pub AddCredentialsW: ADD_CREDENTIALS_FN_W,
+ pub Reserved8: *mut ::core::ffi::c_void,
+ pub QuerySecurityContextToken: QUERY_SECURITY_CONTEXT_TOKEN_FN,
+ pub EncryptMessage: ENCRYPT_MESSAGE_FN,
+ pub DecryptMessage: DECRYPT_MESSAGE_FN,
+ pub SetContextAttributesW: SET_CONTEXT_ATTRIBUTES_FN_W,
+ pub SetCredentialsAttributesW: SET_CREDENTIALS_ATTRIBUTES_FN_W,
+ pub ChangeAccountPasswordW: CHANGE_PASSWORD_FN_W,
+ pub QueryContextAttributesExW: QUERY_CONTEXT_ATTRIBUTES_EX_FN_W,
+ pub QueryCredentialsAttributesExW: QUERY_CREDENTIALS_ATTRIBUTES_EX_FN_W,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
+impl ::core::marker::Copy for SecurityFunctionTableW {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))]
+impl ::core::clone::Clone for SecurityFunctionTableW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type SpApplyControlTokenFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, controltoken: *const SecBufferDesc) -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type SpCompleteAuthTokenFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, inputbuffer: *const SecBufferDesc) -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type SpDeleteContextFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize) -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type SpDeleteCredentialsFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, key: *const SecBuffer) -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type SpFormatCredentialsFn = ::core::option::Option<unsafe extern "system" fn(credentials: *const SecBuffer, formattedcredentials: *mut SecBuffer) -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type SpFreeCredentialsHandleFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize) -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type SpGetContextTokenFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, impersonationtoken: *mut super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type SpGetCredentialsFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, credentials: *mut SecBuffer) -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type SpGetInfoFn = ::core::option::Option<unsafe extern "system" fn(packageinfo: *mut SecPkgInfoA) -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type SpInitUserModeContextFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, packedcontext: *const SecBuffer) -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Threading\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`, `\"Win32_System_Kernel\"`, `\"Win32_System_Threading\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Kernel", feature = "Win32_System_Threading"))]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type SpMakeSignatureFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, qualityofprotection: u32, messagebuffers: *const SecBufferDesc, messagesequencenumber: u32) -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type SpSaveCredentialsFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, credentials: *const SecBuffer) -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type SpSealMessageFn = ::core::option::Option<unsafe extern "system" fn(contexthandle: usize, qualityofprotection: u32, messagebuffers: *const SecBufferDesc, messagesequencenumber: u32) -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type SpShutdownFn = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Foundation::NTSTATUS>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1SP_NAME: &str = "Microsoft TLS 1.0";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1SP_NAME_A: &str = "Microsoft TLS 1.0";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1SP_NAME_W: &str = "Microsoft TLS 1.0";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1_ALERT_ACCESS_DENIED: u32 = 49u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1_ALERT_BAD_CERTIFICATE: u32 = 42u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1_ALERT_BAD_RECORD_MAC: u32 = 20u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1_ALERT_CERTIFICATE_EXPIRED: u32 = 45u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1_ALERT_CERTIFICATE_REVOKED: u32 = 44u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1_ALERT_CERTIFICATE_UNKNOWN: u32 = 46u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1_ALERT_CLOSE_NOTIFY: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1_ALERT_DECODE_ERROR: u32 = 50u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1_ALERT_DECOMPRESSION_FAIL: u32 = 30u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1_ALERT_DECRYPTION_FAILED: u32 = 21u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1_ALERT_DECRYPT_ERROR: u32 = 51u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1_ALERT_EXPORT_RESTRICTION: u32 = 60u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1_ALERT_HANDSHAKE_FAILURE: u32 = 40u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1_ALERT_ILLEGAL_PARAMETER: u32 = 47u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1_ALERT_INSUFFIENT_SECURITY: u32 = 71u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1_ALERT_INTERNAL_ERROR: u32 = 80u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1_ALERT_NO_APP_PROTOCOL: u32 = 120u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1_ALERT_NO_RENEGOTIATION: u32 = 100u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1_ALERT_PROTOCOL_VERSION: u32 = 70u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1_ALERT_RECORD_OVERFLOW: u32 = 22u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1_ALERT_UNEXPECTED_MESSAGE: u32 = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1_ALERT_UNKNOWN_CA: u32 = 48u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1_ALERT_UNKNOWN_PSK_IDENTITY: u32 = 115u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1_ALERT_UNSUPPORTED_CERT: u32 = 43u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1_ALERT_UNSUPPORTED_EXT: u32 = 110u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS1_ALERT_USER_CANCELED: u32 = 90u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct TLS_EXTENSION_SUBSCRIPTION {
+ pub ExtensionType: u16,
+ pub HandshakeType: u16,
+}
+impl ::core::marker::Copy for TLS_EXTENSION_SUBSCRIPTION {}
+impl ::core::clone::Clone for TLS_EXTENSION_SUBSCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TLS_PARAMS_OPTIONAL: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type TOKENBINDING_EXTENSION_FORMAT = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TOKENBINDING_EXTENSION_FORMAT_UNDEFINED: TOKENBINDING_EXTENSION_FORMAT = 0i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct TOKENBINDING_IDENTIFIER {
+ pub keyType: u8,
+}
+impl ::core::marker::Copy for TOKENBINDING_IDENTIFIER {}
+impl ::core::clone::Clone for TOKENBINDING_IDENTIFIER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type TOKENBINDING_KEY_PARAMETERS_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TOKENBINDING_KEY_PARAMETERS_TYPE_RSA2048_PKCS: TOKENBINDING_KEY_PARAMETERS_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TOKENBINDING_KEY_PARAMETERS_TYPE_RSA2048_PSS: TOKENBINDING_KEY_PARAMETERS_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TOKENBINDING_KEY_PARAMETERS_TYPE_ECDSAP256: TOKENBINDING_KEY_PARAMETERS_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TOKENBINDING_KEY_PARAMETERS_TYPE_ANYEXISTING: TOKENBINDING_KEY_PARAMETERS_TYPE = 255i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct TOKENBINDING_KEY_TYPES {
+ pub keyCount: u32,
+ pub keyType: *mut TOKENBINDING_KEY_PARAMETERS_TYPE,
+}
+impl ::core::marker::Copy for TOKENBINDING_KEY_TYPES {}
+impl ::core::clone::Clone for TOKENBINDING_KEY_TYPES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct TOKENBINDING_RESULT_DATA {
+ pub bindingType: TOKENBINDING_TYPE,
+ pub identifierSize: u32,
+ pub identifierData: *mut TOKENBINDING_IDENTIFIER,
+ pub extensionFormat: TOKENBINDING_EXTENSION_FORMAT,
+ pub extensionSize: u32,
+ pub extensionData: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for TOKENBINDING_RESULT_DATA {}
+impl ::core::clone::Clone for TOKENBINDING_RESULT_DATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct TOKENBINDING_RESULT_LIST {
+ pub resultCount: u32,
+ pub resultData: *mut TOKENBINDING_RESULT_DATA,
+}
+impl ::core::marker::Copy for TOKENBINDING_RESULT_LIST {}
+impl ::core::clone::Clone for TOKENBINDING_RESULT_LIST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type TOKENBINDING_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TOKENBINDING_TYPE_PROVIDED: TOKENBINDING_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TOKENBINDING_TYPE_REFERRED: TOKENBINDING_TYPE = 1i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct TRUSTED_CONTROLLERS_INFO {
+ pub Entries: u32,
+ pub Names: *mut super::super::super::Foundation::UNICODE_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for TRUSTED_CONTROLLERS_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for TRUSTED_CONTROLLERS_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct TRUSTED_DOMAIN_AUTH_INFORMATION {
+ pub IncomingAuthInfos: u32,
+ pub IncomingAuthenticationInformation: *mut LSA_AUTH_INFORMATION,
+ pub IncomingPreviousAuthenticationInformation: *mut LSA_AUTH_INFORMATION,
+ pub OutgoingAuthInfos: u32,
+ pub OutgoingAuthenticationInformation: *mut LSA_AUTH_INFORMATION,
+ pub OutgoingPreviousAuthenticationInformation: *mut LSA_AUTH_INFORMATION,
+}
+impl ::core::marker::Copy for TRUSTED_DOMAIN_AUTH_INFORMATION {}
+impl ::core::clone::Clone for TRUSTED_DOMAIN_AUTH_INFORMATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct TRUSTED_DOMAIN_FULL_INFORMATION {
+ pub Information: TRUSTED_DOMAIN_INFORMATION_EX,
+ pub PosixOffset: TRUSTED_POSIX_OFFSET_INFO,
+ pub AuthInformation: TRUSTED_DOMAIN_AUTH_INFORMATION,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for TRUSTED_DOMAIN_FULL_INFORMATION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for TRUSTED_DOMAIN_FULL_INFORMATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct TRUSTED_DOMAIN_FULL_INFORMATION2 {
+ pub Information: TRUSTED_DOMAIN_INFORMATION_EX2,
+ pub PosixOffset: TRUSTED_POSIX_OFFSET_INFO,
+ pub AuthInformation: TRUSTED_DOMAIN_AUTH_INFORMATION,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for TRUSTED_DOMAIN_FULL_INFORMATION2 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for TRUSTED_DOMAIN_FULL_INFORMATION2 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct TRUSTED_DOMAIN_INFORMATION_EX {
+ pub Name: super::super::super::Foundation::UNICODE_STRING,
+ pub FlatName: super::super::super::Foundation::UNICODE_STRING,
+ pub Sid: super::super::super::Foundation::PSID,
+ pub TrustDirection: TRUSTED_DOMAIN_TRUST_DIRECTION,
+ pub TrustType: TRUSTED_DOMAIN_TRUST_TYPE,
+ pub TrustAttributes: TRUSTED_DOMAIN_TRUST_ATTRIBUTES,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for TRUSTED_DOMAIN_INFORMATION_EX {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for TRUSTED_DOMAIN_INFORMATION_EX {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct TRUSTED_DOMAIN_INFORMATION_EX2 {
+ pub Name: super::super::super::Foundation::UNICODE_STRING,
+ pub FlatName: super::super::super::Foundation::UNICODE_STRING,
+ pub Sid: super::super::super::Foundation::PSID,
+ pub TrustDirection: u32,
+ pub TrustType: u32,
+ pub TrustAttributes: u32,
+ pub ForestTrustLength: u32,
+ pub ForestTrustInfo: *mut u8,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for TRUSTED_DOMAIN_INFORMATION_EX2 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for TRUSTED_DOMAIN_INFORMATION_EX2 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct TRUSTED_DOMAIN_NAME_INFO {
+ pub Name: super::super::super::Foundation::UNICODE_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for TRUSTED_DOMAIN_NAME_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for TRUSTED_DOMAIN_NAME_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct TRUSTED_DOMAIN_SUPPORTED_ENCRYPTION_TYPES {
+ pub SupportedEncryptionTypes: u32,
+}
+impl ::core::marker::Copy for TRUSTED_DOMAIN_SUPPORTED_ENCRYPTION_TYPES {}
+impl ::core::clone::Clone for TRUSTED_DOMAIN_SUPPORTED_ENCRYPTION_TYPES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type TRUSTED_DOMAIN_TRUST_ATTRIBUTES = u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUST_ATTRIBUTE_NON_TRANSITIVE: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUST_ATTRIBUTE_UPLEVEL_ONLY: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUST_ATTRIBUTE_FILTER_SIDS: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUST_ATTRIBUTE_FOREST_TRANSITIVE: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUST_ATTRIBUTE_CROSS_ORGANIZATION: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUST_ATTRIBUTE_TREAT_AS_EXTERNAL: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUST_ATTRIBUTE_WITHIN_FOREST: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type TRUSTED_DOMAIN_TRUST_DIRECTION = u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUST_DIRECTION_DISABLED: TRUSTED_DOMAIN_TRUST_DIRECTION = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUST_DIRECTION_INBOUND: TRUSTED_DOMAIN_TRUST_DIRECTION = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUST_DIRECTION_OUTBOUND: TRUSTED_DOMAIN_TRUST_DIRECTION = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUST_DIRECTION_BIDIRECTIONAL: TRUSTED_DOMAIN_TRUST_DIRECTION = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type TRUSTED_DOMAIN_TRUST_TYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUST_TYPE_DOWNLEVEL: TRUSTED_DOMAIN_TRUST_TYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUST_TYPE_UPLEVEL: TRUSTED_DOMAIN_TRUST_TYPE = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUST_TYPE_MIT: TRUSTED_DOMAIN_TRUST_TYPE = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUST_TYPE_DCE: TRUSTED_DOMAIN_TRUST_TYPE = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type TRUSTED_INFORMATION_CLASS = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TrustedDomainNameInformation: TRUSTED_INFORMATION_CLASS = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TrustedControllersInformation: TRUSTED_INFORMATION_CLASS = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TrustedPosixOffsetInformation: TRUSTED_INFORMATION_CLASS = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TrustedPasswordInformation: TRUSTED_INFORMATION_CLASS = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TrustedDomainInformationBasic: TRUSTED_INFORMATION_CLASS = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TrustedDomainInformationEx: TRUSTED_INFORMATION_CLASS = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TrustedDomainAuthInformation: TRUSTED_INFORMATION_CLASS = 7i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TrustedDomainFullInformation: TRUSTED_INFORMATION_CLASS = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TrustedDomainAuthInformationInternal: TRUSTED_INFORMATION_CLASS = 9i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TrustedDomainFullInformationInternal: TRUSTED_INFORMATION_CLASS = 10i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TrustedDomainInformationEx2Internal: TRUSTED_INFORMATION_CLASS = 11i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TrustedDomainFullInformation2Internal: TRUSTED_INFORMATION_CLASS = 12i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TrustedDomainSupportedEncryptionTypes: TRUSTED_INFORMATION_CLASS = 13i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct TRUSTED_PASSWORD_INFO {
+ pub Password: super::super::super::Foundation::UNICODE_STRING,
+ pub OldPassword: super::super::super::Foundation::UNICODE_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for TRUSTED_PASSWORD_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for TRUSTED_PASSWORD_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub struct TRUSTED_POSIX_OFFSET_INFO {
+ pub Offset: u32,
+}
+impl ::core::marker::Copy for TRUSTED_POSIX_OFFSET_INFO {}
+impl ::core::clone::Clone for TRUSTED_POSIX_OFFSET_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUSTED_QUERY_AUTH: i32 = 64i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUSTED_QUERY_CONTROLLERS: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUSTED_QUERY_DOMAIN_NAME: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUSTED_QUERY_POSIX: i32 = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUSTED_SET_AUTH: i32 = 32i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUSTED_SET_CONTROLLERS: i32 = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUSTED_SET_POSIX: i32 = 16i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUST_ATTRIBUTES_USER: u32 = 4278190080u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUST_ATTRIBUTES_VALID: u32 = 4278386687u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUST_ATTRIBUTE_CROSS_ORGANIZATION_ENABLE_TGT_DELEGATION: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUST_ATTRIBUTE_CROSS_ORGANIZATION_NO_TGT_DELEGATION: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUST_ATTRIBUTE_PIM_TRUST: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUST_ATTRIBUTE_QUARANTINED_DOMAIN: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUST_ATTRIBUTE_TREE_PARENT: u32 = 4194304u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUST_ATTRIBUTE_TREE_ROOT: u32 = 8388608u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUST_ATTRIBUTE_TRUST_USES_AES_KEYS: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TRUST_ATTRIBUTE_TRUST_USES_RC4_ENCRYPTION: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const UNDERSTANDS_LONG_NAMES: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const UNISP_NAME: &str = "Microsoft Unified Security Protocol Provider";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const UNISP_NAME_A: &str = "Microsoft Unified Security Protocol Provider";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const UNISP_NAME_W: &str = "Microsoft Unified Security Protocol Provider";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const UNISP_RPC_ID: u32 = 14u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const USER_ACCOUNT_AUTO_LOCKED: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const USER_ACCOUNT_DISABLED: u32 = 1u32;
+#[repr(C, packed(4))]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct USER_ALL_INFORMATION {
+ pub LastLogon: i64,
+ pub LastLogoff: i64,
+ pub PasswordLastSet: i64,
+ pub AccountExpires: i64,
+ pub PasswordCanChange: i64,
+ pub PasswordMustChange: i64,
+ pub UserName: super::super::super::Foundation::UNICODE_STRING,
+ pub FullName: super::super::super::Foundation::UNICODE_STRING,
+ pub HomeDirectory: super::super::super::Foundation::UNICODE_STRING,
+ pub HomeDirectoryDrive: super::super::super::Foundation::UNICODE_STRING,
+ pub ScriptPath: super::super::super::Foundation::UNICODE_STRING,
+ pub ProfilePath: super::super::super::Foundation::UNICODE_STRING,
+ pub AdminComment: super::super::super::Foundation::UNICODE_STRING,
+ pub WorkStations: super::super::super::Foundation::UNICODE_STRING,
+ pub UserComment: super::super::super::Foundation::UNICODE_STRING,
+ pub Parameters: super::super::super::Foundation::UNICODE_STRING,
+ pub LmPassword: super::super::super::Foundation::UNICODE_STRING,
+ pub NtPassword: super::super::super::Foundation::UNICODE_STRING,
+ pub PrivateData: super::super::super::Foundation::UNICODE_STRING,
+ pub SecurityDescriptor: SR_SECURITY_DESCRIPTOR,
+ pub UserId: u32,
+ pub PrimaryGroupId: u32,
+ pub UserAccountControl: u32,
+ pub WhichFields: u32,
+ pub LogonHours: LOGON_HOURS,
+ pub BadPasswordCount: u16,
+ pub LogonCount: u16,
+ pub CountryCode: u16,
+ pub CodePage: u16,
+ pub LmPasswordPresent: super::super::super::Foundation::BOOLEAN,
+ pub NtPasswordPresent: super::super::super::Foundation::BOOLEAN,
+ pub PasswordExpired: super::super::super::Foundation::BOOLEAN,
+ pub PrivateDataSensitive: super::super::super::Foundation::BOOLEAN,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for USER_ALL_INFORMATION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for USER_ALL_INFORMATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const USER_ALL_PARAMETERS: u32 = 2097152u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const USER_DONT_EXPIRE_PASSWORD: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const USER_DONT_REQUIRE_PREAUTH: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const USER_ENCRYPTED_TEXT_PASSWORD_ALLOWED: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const USER_HOME_DIRECTORY_REQUIRED: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const USER_INTERDOMAIN_TRUST_ACCOUNT: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const USER_MNS_LOGON_ACCOUNT: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const USER_NORMAL_ACCOUNT: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const USER_NOT_DELEGATED: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const USER_NO_AUTH_DATA_REQUIRED: u32 = 524288u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const USER_PARTIAL_SECRETS_ACCOUNT: u32 = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const USER_PASSWORD_EXPIRED: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const USER_PASSWORD_NOT_REQUIRED: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const USER_SERVER_TRUST_ACCOUNT: u32 = 256u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`, `\"Win32_System_PasswordManagement\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
+pub struct USER_SESSION_KEY {
+ pub data: [super::super::super::System::PasswordManagement::CYPHER_BLOCK; 2],
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
+impl ::core::marker::Copy for USER_SESSION_KEY {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_PasswordManagement"))]
+impl ::core::clone::Clone for USER_SESSION_KEY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const USER_SMARTCARD_REQUIRED: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const USER_TEMP_DUPLICATE_ACCOUNT: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const USER_TRUSTED_FOR_DELEGATION: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const USER_TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const USER_USE_AES_KEYS: u32 = 2097152u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const USER_USE_DES_KEY_ONLY: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const USER_WORKSTATION_TRUST_ACCOUNT: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Security_Credentials\"`*"]
+#[cfg(feature = "Win32_Security_Credentials")]
+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>;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const WDIGEST_SP_NAME: &str = "WDigest";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const WDIGEST_SP_NAME_A: &str = "WDigest";
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const WDIGEST_SP_NAME_W: &str = "WDigest";
+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] };
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct X509Certificate {
+ pub Version: u32,
+ pub SerialNumber: [u32; 4],
+ pub SignatureAlgorithm: u32,
+ pub ValidFrom: super::super::super::Foundation::FILETIME,
+ pub ValidUntil: super::super::super::Foundation::FILETIME,
+ pub pszIssuer: ::windows_sys::core::PSTR,
+ pub pszSubject: ::windows_sys::core::PSTR,
+ pub pPublicKey: *mut PctPublicKey,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for X509Certificate {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for X509Certificate {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const _FACILITY_WINDOWS_STORE: u32 = 63u32;
+#[repr(C)]
+pub struct _HMAPPER(pub u8);
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type eTlsHashAlgorithm = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TlsHashAlgorithm_None: eTlsHashAlgorithm = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TlsHashAlgorithm_Md5: eTlsHashAlgorithm = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TlsHashAlgorithm_Sha1: eTlsHashAlgorithm = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TlsHashAlgorithm_Sha224: eTlsHashAlgorithm = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TlsHashAlgorithm_Sha256: eTlsHashAlgorithm = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TlsHashAlgorithm_Sha384: eTlsHashAlgorithm = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TlsHashAlgorithm_Sha512: eTlsHashAlgorithm = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub type eTlsSignatureAlgorithm = i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TlsSignatureAlgorithm_Anonymous: eTlsSignatureAlgorithm = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TlsSignatureAlgorithm_Rsa: eTlsSignatureAlgorithm = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TlsSignatureAlgorithm_Dsa: eTlsSignatureAlgorithm = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authentication_Identity\"`*"]
+pub const TlsSignatureAlgorithm_Ecdsa: eTlsSignatureAlgorithm = 3i32;
diff --git a/vendor/windows-sys/src/Windows/Win32/Security/Authentication/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/Authentication/mod.rs
new file mode 100644
index 000000000..ebafdd50d
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/Security/Authentication/mod.rs
@@ -0,0 +1,2 @@
+#[cfg(feature = "Win32_Security_Authentication_Identity")]
+pub mod Identity;
diff --git a/vendor/windows-sys/src/Windows/Win32/Security/Authorization/UI/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/Authorization/UI/mod.rs
new file mode 100644
index 000000000..09e80f050
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/Security/Authorization/UI/mod.rs
@@ -0,0 +1,260 @@
+#[link(name = "windows")]
+extern "system" {
+ #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_UI_Controls\"`*"]
+ #[cfg(feature = "Win32_UI_Controls")]
+ pub fn CreateSecurityPage(psi: ISecurityInformation) -> super::super::super::UI::Controls::HPROPSHEETPAGE;
+ #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn EditSecurity(hwndowner: super::super::super::Foundation::HWND, psi: ISecurityInformation) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn EditSecurityAdvanced(hwndowner: super::super::super::Foundation::HWND, psi: ISecurityInformation, usipage: SI_PAGE_TYPE) -> ::windows_sys::core::HRESULT;
+}
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const CFSTR_ACLUI_SID_INFO_LIST: &str = "CFSTR_ACLUI_SID_INFO_LIST";
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const DOBJ_COND_NTACLS: i32 = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const DOBJ_RES_CONT: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const DOBJ_RES_ROOT: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const DOBJ_RIBBON_LAUNCH: i32 = 16i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const DOBJ_VOL_NTACLS: i32 = 4i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct EFFPERM_RESULT_LIST {
+ pub fEvaluated: super::super::super::Foundation::BOOLEAN,
+ pub cObjectTypeListLength: u32,
+ pub pObjectTypeList: *mut super::super::OBJECT_TYPE_LIST,
+ pub pGrantedAccessList: *mut u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for EFFPERM_RESULT_LIST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for EFFPERM_RESULT_LIST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type IEffectivePermission = *mut ::core::ffi::c_void;
+pub type IEffectivePermission2 = *mut ::core::ffi::c_void;
+pub type ISecurityInformation = *mut ::core::ffi::c_void;
+pub type ISecurityInformation2 = *mut ::core::ffi::c_void;
+pub type ISecurityInformation3 = *mut ::core::ffi::c_void;
+pub type ISecurityInformation4 = *mut ::core::ffi::c_void;
+pub type ISecurityObjectTypeInfo = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub type SECURITY_INFO_PAGE_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_ADVANCED: SECURITY_INFO_PAGE_FLAGS = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_EDIT_AUDITS: SECURITY_INFO_PAGE_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_EDIT_PROPERTIES: SECURITY_INFO_PAGE_FLAGS = 128u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SECURITY_OBJECT {
+ pub pwszName: ::windows_sys::core::PWSTR,
+ pub pData: *mut ::core::ffi::c_void,
+ pub cbData: u32,
+ pub pData2: *mut ::core::ffi::c_void,
+ pub cbData2: u32,
+ pub Id: u32,
+ pub fWellKnown: super::super::super::Foundation::BOOLEAN,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SECURITY_OBJECT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SECURITY_OBJECT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SECURITY_OBJECT_ID_CENTRAL_ACCESS_RULE: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SECURITY_OBJECT_ID_CENTRAL_POLICY: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SECURITY_OBJECT_ID_OBJECT_SD: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SECURITY_OBJECT_ID_SHARE: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SID_INFO {
+ pub pSid: super::super::super::Foundation::PSID,
+ pub pwzCommonName: ::windows_sys::core::PWSTR,
+ pub pwzClass: ::windows_sys::core::PWSTR,
+ pub pwzUPN: ::windows_sys::core::PWSTR,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SID_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SID_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SID_INFO_LIST {
+ pub cItems: u32,
+ pub aSidInfo: [SID_INFO; 1],
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SID_INFO_LIST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SID_INFO_LIST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub struct SI_ACCESS {
+ pub pguid: *const ::windows_sys::core::GUID,
+ pub mask: u32,
+ pub pszName: ::windows_sys::core::PCWSTR,
+ pub dwFlags: u32,
+}
+impl ::core::marker::Copy for SI_ACCESS {}
+impl ::core::clone::Clone for SI_ACCESS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_ACCESS_CONTAINER: i32 = 262144i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_ACCESS_GENERAL: i32 = 131072i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_ACCESS_PROPERTY: i32 = 524288i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_ACCESS_SPECIFIC: i32 = 65536i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_CONTAINER: i32 = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_EDIT_OWNER: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_EDIT_PERMS: i32 = 0i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub struct SI_INHERIT_TYPE {
+ pub pguid: *const ::windows_sys::core::GUID,
+ pub dwFlags: super::super::ACE_FLAGS,
+ pub pszName: ::windows_sys::core::PCWSTR,
+}
+impl ::core::marker::Copy for SI_INHERIT_TYPE {}
+impl ::core::clone::Clone for SI_INHERIT_TYPE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_NO_ACL_PROTECT: i32 = 512i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_NO_TREE_APPLY: i32 = 1024i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_OBJECT_GUID: i32 = 65536i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SI_OBJECT_INFO {
+ pub dwFlags: SI_OBJECT_INFO_FLAGS,
+ pub hInstance: super::super::super::Foundation::HINSTANCE,
+ pub pszServerName: ::windows_sys::core::PWSTR,
+ pub pszObjectName: ::windows_sys::core::PWSTR,
+ pub pszPageTitle: ::windows_sys::core::PWSTR,
+ pub guidObjectType: ::windows_sys::core::GUID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SI_OBJECT_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SI_OBJECT_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub type SI_OBJECT_INFO_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_AUDITS_ELEVATION_REQUIRED: SI_OBJECT_INFO_FLAGS = 33554432u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_DISABLE_DENY_ACE: SI_OBJECT_INFO_FLAGS = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_EDIT_EFFECTIVE: SI_OBJECT_INFO_FLAGS = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_ENABLE_CENTRAL_POLICY: SI_OBJECT_INFO_FLAGS = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_ENABLE_EDIT_ATTRIBUTE_CONDITION: SI_OBJECT_INFO_FLAGS = 536870912u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_MAY_WRITE: SI_OBJECT_INFO_FLAGS = 268435456u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_NO_ADDITIONAL_PERMISSION: SI_OBJECT_INFO_FLAGS = 2097152u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_OWNER_ELEVATION_REQUIRED: SI_OBJECT_INFO_FLAGS = 67108864u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_PERMS_ELEVATION_REQUIRED: SI_OBJECT_INFO_FLAGS = 16777216u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_RESET_DACL: SI_OBJECT_INFO_FLAGS = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_RESET_OWNER: SI_OBJECT_INFO_FLAGS = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_RESET_SACL: SI_OBJECT_INFO_FLAGS = 524288u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_SCOPE_ELEVATION_REQUIRED: SI_OBJECT_INFO_FLAGS = 134217728u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_VIEW_ONLY: SI_OBJECT_INFO_FLAGS = 4194304u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_OWNER_READONLY: i32 = 64i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_OWNER_RECURSE: i32 = 256i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub type SI_PAGE_ACTIVATED = i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_SHOW_DEFAULT: SI_PAGE_ACTIVATED = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_SHOW_PERM_ACTIVATED: SI_PAGE_ACTIVATED = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_SHOW_AUDIT_ACTIVATED: SI_PAGE_ACTIVATED = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_SHOW_OWNER_ACTIVATED: SI_PAGE_ACTIVATED = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_SHOW_EFFECTIVE_ACTIVATED: SI_PAGE_ACTIVATED = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_SHOW_SHARE_ACTIVATED: SI_PAGE_ACTIVATED = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_SHOW_CENTRAL_POLICY_ACTIVATED: SI_PAGE_ACTIVATED = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_PAGE_TITLE: i32 = 2048i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub type SI_PAGE_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_PAGE_PERM: SI_PAGE_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_PAGE_ADVPERM: SI_PAGE_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_PAGE_AUDIT: SI_PAGE_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_PAGE_OWNER: SI_PAGE_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_PAGE_EFFECTIVE: SI_PAGE_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_PAGE_TAKEOWNERSHIP: SI_PAGE_TYPE = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_PAGE_SHARE: SI_PAGE_TYPE = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_READONLY: i32 = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_RESET: i32 = 32i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_RESET_DACL_TREE: i32 = 16384i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_RESET_SACL_TREE: i32 = 32768i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`*"]
+pub const SI_SERVER_IS_DC: i32 = 4096i32;
diff --git a/vendor/windows-sys/src/Windows/Win32/Security/Authorization/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/Authorization/mod.rs
new file mode 100644
index 000000000..1c29e0bae
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/Security/Authorization/mod.rs
@@ -0,0 +1,2003 @@
+#[cfg(feature = "Win32_Security_Authorization_UI")]
+pub mod UI;
+#[link(name = "windows")]
+extern "system" {
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzAccessCheck(flags: AUTHZ_ACCESS_CHECK_FLAGS, hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, prequest: *const AUTHZ_ACCESS_REQUEST, hauditevent: AUTHZ_AUDIT_EVENT_HANDLE, psecuritydescriptor: super::PSECURITY_DESCRIPTOR, optionalsecuritydescriptorarray: *const super::PSECURITY_DESCRIPTOR, optionalsecuritydescriptorcount: u32, preply: *mut AUTHZ_ACCESS_REPLY, phaccesscheckresults: *mut isize) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzAddSidsToContext(hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, sids: *const super::SID_AND_ATTRIBUTES, sidcount: u32, restrictedsids: *const super::SID_AND_ATTRIBUTES, restrictedsidcount: u32, phnewauthzclientcontext: *mut isize) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzCachedAccessCheck(flags: u32, haccesscheckresults: AUTHZ_ACCESS_CHECK_RESULTS_HANDLE, prequest: *const AUTHZ_ACCESS_REQUEST, hauditevent: AUTHZ_AUDIT_EVENT_HANDLE, preply: *mut AUTHZ_ACCESS_REPLY) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzEnumerateSecurityEventSources(dwflags: u32, buffer: *mut AUTHZ_SOURCE_SCHEMA_REGISTRATION, pdwcount: *mut u32, pdwlength: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzEvaluateSacl(authzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, prequest: *const AUTHZ_ACCESS_REQUEST, sacl: *const super::ACL, grantedaccess: u32, accessgranted: super::super::Foundation::BOOL, pbgenerateaudit: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzFreeAuditEvent(hauditevent: AUTHZ_AUDIT_EVENT_HANDLE) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzFreeCentralAccessPolicyCache() -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzFreeContext(hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzFreeHandle(haccesscheckresults: AUTHZ_ACCESS_CHECK_RESULTS_HANDLE) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzFreeResourceManager(hauthzresourcemanager: AUTHZ_RESOURCE_MANAGER_HANDLE) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzGetInformationFromContext(hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, infoclass: AUTHZ_CONTEXT_INFORMATION_CLASS, buffersize: u32, psizerequired: *mut u32, buffer: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzInitializeCompoundContext(usercontext: AUTHZ_CLIENT_CONTEXT_HANDLE, devicecontext: AUTHZ_CLIENT_CONTEXT_HANDLE, phcompoundcontext: *mut isize) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzInitializeContextFromAuthzContext(flags: u32, hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, pexpirationtime: *const i64, identifier: super::super::Foundation::LUID, dynamicgroupargs: *const ::core::ffi::c_void, phnewauthzclientcontext: *mut isize) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzInitializeContextFromSid(flags: u32, usersid: super::super::Foundation::PSID, hauthzresourcemanager: AUTHZ_RESOURCE_MANAGER_HANDLE, pexpirationtime: *const i64, identifier: super::super::Foundation::LUID, dynamicgroupargs: *const ::core::ffi::c_void, phauthzclientcontext: *mut isize) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzInitializeContextFromToken(flags: u32, tokenhandle: super::super::Foundation::HANDLE, hauthzresourcemanager: AUTHZ_RESOURCE_MANAGER_HANDLE, pexpirationtime: *const i64, identifier: super::super::Foundation::LUID, dynamicgroupargs: *const ::core::ffi::c_void, phauthzclientcontext: *mut isize) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzInitializeObjectAccessAuditEvent(flags: AUTHZ_INITIALIZE_OBJECT_ACCESS_AUDIT_EVENT_FLAGS, hauditeventtype: AUTHZ_AUDIT_EVENT_TYPE_HANDLE, szoperationtype: ::windows_sys::core::PCWSTR, szobjecttype: ::windows_sys::core::PCWSTR, szobjectname: ::windows_sys::core::PCWSTR, szadditionalinfo: ::windows_sys::core::PCWSTR, phauditevent: *mut isize, dwadditionalparametercount: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzInitializeObjectAccessAuditEvent2(flags: u32, hauditeventtype: AUTHZ_AUDIT_EVENT_TYPE_HANDLE, szoperationtype: ::windows_sys::core::PCWSTR, szobjecttype: ::windows_sys::core::PCWSTR, szobjectname: ::windows_sys::core::PCWSTR, szadditionalinfo: ::windows_sys::core::PCWSTR, szadditionalinfo2: ::windows_sys::core::PCWSTR, phauditevent: *mut isize, dwadditionalparametercount: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzInitializeRemoteResourceManager(prpcinitinfo: *const AUTHZ_RPC_INIT_INFO_CLIENT, phauthzresourcemanager: *mut AUTHZ_RESOURCE_MANAGER_HANDLE) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzInitializeResourceManager(flags: u32, pfndynamicaccesscheck: PFN_AUTHZ_DYNAMIC_ACCESS_CHECK, pfncomputedynamicgroups: PFN_AUTHZ_COMPUTE_DYNAMIC_GROUPS, pfnfreedynamicgroups: PFN_AUTHZ_FREE_DYNAMIC_GROUPS, szresourcemanagername: ::windows_sys::core::PCWSTR, phauthzresourcemanager: *mut AUTHZ_RESOURCE_MANAGER_HANDLE) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzInitializeResourceManagerEx(flags: AUTHZ_RESOURCE_MANAGER_FLAGS, pauthzinitinfo: *const AUTHZ_INIT_INFO, phauthzresourcemanager: *mut AUTHZ_RESOURCE_MANAGER_HANDLE) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzInstallSecurityEventSource(dwflags: u32, pregistration: *const AUTHZ_SOURCE_SCHEMA_REGISTRATION) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzModifyClaims(hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, claimclass: AUTHZ_CONTEXT_INFORMATION_CLASS, pclaimoperations: *const AUTHZ_SECURITY_ATTRIBUTE_OPERATION, pclaims: *const AUTHZ_SECURITY_ATTRIBUTES_INFORMATION) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzModifySecurityAttributes(hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, poperations: *const AUTHZ_SECURITY_ATTRIBUTE_OPERATION, pattributes: *const AUTHZ_SECURITY_ATTRIBUTES_INFORMATION) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzModifySids(hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, sidclass: AUTHZ_CONTEXT_INFORMATION_CLASS, psidoperations: *const AUTHZ_SID_OPERATION, psids: *const super::TOKEN_GROUPS) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzOpenObjectAudit(flags: u32, hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, prequest: *const AUTHZ_ACCESS_REQUEST, hauditevent: AUTHZ_AUDIT_EVENT_HANDLE, psecuritydescriptor: super::PSECURITY_DESCRIPTOR, optionalsecuritydescriptorarray: *const super::PSECURITY_DESCRIPTOR, optionalsecuritydescriptorcount: u32, preply: *const AUTHZ_ACCESS_REPLY) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))]
+ pub fn AuthzRegisterCapChangeNotification(phcapchangesubscription: *mut *mut AUTHZ_CAP_CHANGE_SUBSCRIPTION_HANDLE__, pfncapchangecallback: super::super::System::Threading::LPTHREAD_START_ROUTINE, pcallbackcontext: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzRegisterSecurityEventSource(dwflags: u32, szeventsourcename: ::windows_sys::core::PCWSTR, pheventprovider: *mut isize) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzReportSecurityEvent(dwflags: u32, heventprovider: AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE, dwauditid: u32, pusersid: super::super::Foundation::PSID, dwcount: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzReportSecurityEventFromParams(dwflags: u32, heventprovider: AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE, dwauditid: u32, pusersid: super::super::Foundation::PSID, pparams: *const AUDIT_PARAMS) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzSetAppContainerInformation(hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, pappcontainersid: super::super::Foundation::PSID, capabilitycount: u32, pcapabilitysids: *const super::SID_AND_ATTRIBUTES) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzUninstallSecurityEventSource(dwflags: u32, szeventsourcename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzUnregisterCapChangeNotification(hcapchangesubscription: *const AUTHZ_CAP_CHANGE_SUBSCRIPTION_HANDLE__) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AuthzUnregisterSecurityEventSource(dwflags: u32, pheventprovider: *mut isize) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn BuildExplicitAccessWithNameA(pexplicitaccess: *mut EXPLICIT_ACCESS_A, ptrusteename: ::windows_sys::core::PCSTR, accesspermissions: u32, accessmode: ACCESS_MODE, inheritance: super::ACE_FLAGS);
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn BuildExplicitAccessWithNameW(pexplicitaccess: *mut EXPLICIT_ACCESS_W, ptrusteename: ::windows_sys::core::PCWSTR, accesspermissions: u32, accessmode: ACCESS_MODE, inheritance: super::ACE_FLAGS);
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn BuildImpersonateExplicitAccessWithNameA(pexplicitaccess: *mut EXPLICIT_ACCESS_A, ptrusteename: ::windows_sys::core::PCSTR, ptrustee: *const TRUSTEE_A, accesspermissions: u32, accessmode: ACCESS_MODE, inheritance: u32);
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn BuildImpersonateExplicitAccessWithNameW(pexplicitaccess: *mut EXPLICIT_ACCESS_W, ptrusteename: ::windows_sys::core::PCWSTR, ptrustee: *const TRUSTEE_W, accesspermissions: u32, accessmode: ACCESS_MODE, inheritance: u32);
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn BuildImpersonateTrusteeA(ptrustee: *mut TRUSTEE_A, pimpersonatetrustee: *const TRUSTEE_A);
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn BuildImpersonateTrusteeW(ptrustee: *mut TRUSTEE_W, pimpersonatetrustee: *const TRUSTEE_W);
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn BuildSecurityDescriptorA(powner: *const TRUSTEE_A, pgroup: *const TRUSTEE_A, ccountofaccessentries: u32, plistofaccessentries: *const EXPLICIT_ACCESS_A, ccountofauditentries: u32, plistofauditentries: *const EXPLICIT_ACCESS_A, poldsd: super::PSECURITY_DESCRIPTOR, psizenewsd: *mut u32, pnewsd: *mut super::PSECURITY_DESCRIPTOR) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn BuildSecurityDescriptorW(powner: *const TRUSTEE_W, pgroup: *const TRUSTEE_W, ccountofaccessentries: u32, plistofaccessentries: *const EXPLICIT_ACCESS_W, ccountofauditentries: u32, plistofauditentries: *const EXPLICIT_ACCESS_W, poldsd: super::PSECURITY_DESCRIPTOR, psizenewsd: *mut u32, pnewsd: *mut super::PSECURITY_DESCRIPTOR) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn BuildTrusteeWithNameA(ptrustee: *mut TRUSTEE_A, pname: ::windows_sys::core::PCSTR);
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn BuildTrusteeWithNameW(ptrustee: *mut TRUSTEE_W, pname: ::windows_sys::core::PCWSTR);
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn BuildTrusteeWithObjectsAndNameA(ptrustee: *mut TRUSTEE_A, pobjname: *const OBJECTS_AND_NAME_A, objecttype: SE_OBJECT_TYPE, objecttypename: ::windows_sys::core::PCSTR, inheritedobjecttypename: ::windows_sys::core::PCSTR, name: ::windows_sys::core::PCSTR);
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn BuildTrusteeWithObjectsAndNameW(ptrustee: *mut TRUSTEE_W, pobjname: *const OBJECTS_AND_NAME_W, objecttype: SE_OBJECT_TYPE, objecttypename: ::windows_sys::core::PCWSTR, inheritedobjecttypename: ::windows_sys::core::PCWSTR, name: ::windows_sys::core::PCWSTR);
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BuildTrusteeWithObjectsAndSidA(ptrustee: *mut TRUSTEE_A, pobjsid: *const OBJECTS_AND_SID, pobjectguid: *const ::windows_sys::core::GUID, pinheritedobjectguid: *const ::windows_sys::core::GUID, psid: super::super::Foundation::PSID);
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BuildTrusteeWithObjectsAndSidW(ptrustee: *mut TRUSTEE_W, pobjsid: *const OBJECTS_AND_SID, pobjectguid: *const ::windows_sys::core::GUID, pinheritedobjectguid: *const ::windows_sys::core::GUID, psid: super::super::Foundation::PSID);
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BuildTrusteeWithSidA(ptrustee: *mut TRUSTEE_A, psid: super::super::Foundation::PSID);
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BuildTrusteeWithSidW(ptrustee: *mut TRUSTEE_W, psid: super::super::Foundation::PSID);
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn ConvertSecurityDescriptorToStringSecurityDescriptorA(securitydescriptor: super::PSECURITY_DESCRIPTOR, requestedstringsdrevision: u32, securityinformation: u32, stringsecuritydescriptor: *mut ::windows_sys::core::PSTR, stringsecuritydescriptorlen: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn ConvertSecurityDescriptorToStringSecurityDescriptorW(securitydescriptor: super::PSECURITY_DESCRIPTOR, requestedstringsdrevision: u32, securityinformation: u32, stringsecuritydescriptor: *mut ::windows_sys::core::PWSTR, stringsecuritydescriptorlen: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn ConvertSidToStringSidA(sid: super::super::Foundation::PSID, stringsid: *mut ::windows_sys::core::PSTR) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn ConvertSidToStringSidW(sid: super::super::Foundation::PSID, stringsid: *mut ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn ConvertStringSecurityDescriptorToSecurityDescriptorA(stringsecuritydescriptor: ::windows_sys::core::PCSTR, stringsdrevision: u32, securitydescriptor: *mut super::PSECURITY_DESCRIPTOR, securitydescriptorsize: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn ConvertStringSecurityDescriptorToSecurityDescriptorW(stringsecuritydescriptor: ::windows_sys::core::PCWSTR, stringsdrevision: u32, securitydescriptor: *mut super::PSECURITY_DESCRIPTOR, securitydescriptorsize: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn ConvertStringSidToSidA(stringsid: ::windows_sys::core::PCSTR, sid: *mut super::super::Foundation::PSID) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn ConvertStringSidToSidW(stringsid: ::windows_sys::core::PCWSTR, sid: *mut super::super::Foundation::PSID) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn FreeInheritedFromArray(pinheritarray: *const INHERITED_FROMW, acecnt: u16, pfnarray: *const FN_OBJECT_MGR_FUNCTIONS) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn GetAuditedPermissionsFromAclA(pacl: *const super::ACL, ptrustee: *const TRUSTEE_A, psuccessfulauditedrights: *mut u32, pfailedauditrights: *mut u32) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn GetAuditedPermissionsFromAclW(pacl: *const super::ACL, ptrustee: *const TRUSTEE_W, psuccessfulauditedrights: *mut u32, pfailedauditrights: *mut u32) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn GetEffectiveRightsFromAclA(pacl: *const super::ACL, ptrustee: *const TRUSTEE_A, paccessrights: *mut u32) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn GetEffectiveRightsFromAclW(pacl: *const super::ACL, ptrustee: *const TRUSTEE_W, paccessrights: *mut u32) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn GetExplicitEntriesFromAclA(pacl: *const super::ACL, pccountofexplicitentries: *mut u32, plistofexplicitentries: *mut *mut EXPLICIT_ACCESS_A) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn GetExplicitEntriesFromAclW(pacl: *const super::ACL, pccountofexplicitentries: *mut u32, plistofexplicitentries: *mut *mut EXPLICIT_ACCESS_W) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetInheritanceSourceA(pobjectname: ::windows_sys::core::PCSTR, objecttype: SE_OBJECT_TYPE, securityinfo: u32, container: super::super::Foundation::BOOL, pobjectclassguids: *const *const ::windows_sys::core::GUID, guidcount: u32, pacl: *const super::ACL, pfnarray: *const FN_OBJECT_MGR_FUNCTIONS, pgenericmapping: *const super::GENERIC_MAPPING, pinheritarray: *mut INHERITED_FROMA) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetInheritanceSourceW(pobjectname: ::windows_sys::core::PCWSTR, objecttype: SE_OBJECT_TYPE, securityinfo: u32, container: super::super::Foundation::BOOL, pobjectclassguids: *const *const ::windows_sys::core::GUID, guidcount: u32, pacl: *const super::ACL, pfnarray: *const FN_OBJECT_MGR_FUNCTIONS, pgenericmapping: *const super::GENERIC_MAPPING, pinheritarray: *mut INHERITED_FROMW) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn GetMultipleTrusteeA(ptrustee: *const TRUSTEE_A) -> *mut TRUSTEE_A;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn GetMultipleTrusteeOperationA(ptrustee: *const TRUSTEE_A) -> MULTIPLE_TRUSTEE_OPERATION;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn GetMultipleTrusteeOperationW(ptrustee: *const TRUSTEE_W) -> MULTIPLE_TRUSTEE_OPERATION;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn GetMultipleTrusteeW(ptrustee: *const TRUSTEE_W) -> *mut TRUSTEE_W;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetNamedSecurityInfoA(pobjectname: ::windows_sys::core::PCSTR, objecttype: SE_OBJECT_TYPE, securityinfo: super::OBJECT_SECURITY_INFORMATION, ppsidowner: *mut super::super::Foundation::PSID, ppsidgroup: *mut super::super::Foundation::PSID, ppdacl: *mut *mut super::ACL, ppsacl: *mut *mut super::ACL, ppsecuritydescriptor: *mut super::PSECURITY_DESCRIPTOR) -> super::super::Foundation::WIN32_ERROR;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetNamedSecurityInfoW(pobjectname: ::windows_sys::core::PCWSTR, objecttype: SE_OBJECT_TYPE, securityinfo: super::OBJECT_SECURITY_INFORMATION, ppsidowner: *mut super::super::Foundation::PSID, ppsidgroup: *mut super::super::Foundation::PSID, ppdacl: *mut *mut super::ACL, ppsacl: *mut *mut super::ACL, ppsecuritydescriptor: *mut super::PSECURITY_DESCRIPTOR) -> super::super::Foundation::WIN32_ERROR;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetSecurityInfo(handle: super::super::Foundation::HANDLE, objecttype: SE_OBJECT_TYPE, securityinfo: u32, ppsidowner: *mut super::super::Foundation::PSID, ppsidgroup: *mut super::super::Foundation::PSID, ppdacl: *mut *mut super::ACL, ppsacl: *mut *mut super::ACL, ppsecuritydescriptor: *mut super::PSECURITY_DESCRIPTOR) -> super::super::Foundation::WIN32_ERROR;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn GetTrusteeFormA(ptrustee: *const TRUSTEE_A) -> TRUSTEE_FORM;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn GetTrusteeFormW(ptrustee: *const TRUSTEE_W) -> TRUSTEE_FORM;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn GetTrusteeNameA(ptrustee: *const TRUSTEE_A) -> ::windows_sys::core::PSTR;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn GetTrusteeNameW(ptrustee: *const TRUSTEE_W) -> ::windows_sys::core::PWSTR;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn GetTrusteeTypeA(ptrustee: *const TRUSTEE_A) -> TRUSTEE_TYPE;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn GetTrusteeTypeW(ptrustee: *const TRUSTEE_W) -> TRUSTEE_TYPE;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn LookupSecurityDescriptorPartsA(ppowner: *mut *mut TRUSTEE_A, ppgroup: *mut *mut TRUSTEE_A, pccountofaccessentries: *mut u32, pplistofaccessentries: *mut *mut EXPLICIT_ACCESS_A, pccountofauditentries: *mut u32, pplistofauditentries: *mut *mut EXPLICIT_ACCESS_A, psd: super::PSECURITY_DESCRIPTOR) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn LookupSecurityDescriptorPartsW(ppowner: *mut *mut TRUSTEE_W, ppgroup: *mut *mut TRUSTEE_W, pccountofaccessentries: *mut u32, pplistofaccessentries: *mut *mut EXPLICIT_ACCESS_W, pccountofauditentries: *mut u32, pplistofauditentries: *mut *mut EXPLICIT_ACCESS_W, psd: super::PSECURITY_DESCRIPTOR) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn SetEntriesInAclA(ccountofexplicitentries: u32, plistofexplicitentries: *const EXPLICIT_ACCESS_A, oldacl: *const super::ACL, newacl: *mut *mut super::ACL) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+ pub fn SetEntriesInAclW(ccountofexplicitentries: u32, plistofexplicitentries: *const EXPLICIT_ACCESS_W, oldacl: *const super::ACL, newacl: *mut *mut super::ACL) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SetNamedSecurityInfoA(pobjectname: ::windows_sys::core::PCSTR, objecttype: SE_OBJECT_TYPE, securityinfo: super::OBJECT_SECURITY_INFORMATION, psidowner: super::super::Foundation::PSID, psidgroup: super::super::Foundation::PSID, pdacl: *const super::ACL, psacl: *const super::ACL) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SetNamedSecurityInfoW(pobjectname: ::windows_sys::core::PCWSTR, objecttype: SE_OBJECT_TYPE, securityinfo: super::OBJECT_SECURITY_INFORMATION, psidowner: super::super::Foundation::PSID, psidgroup: super::super::Foundation::PSID, pdacl: *const super::ACL, psacl: *const super::ACL) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SetSecurityInfo(handle: super::super::Foundation::HANDLE, objecttype: SE_OBJECT_TYPE, securityinfo: u32, psidowner: super::super::Foundation::PSID, psidgroup: super::super::Foundation::PSID, pdacl: *const super::ACL, psacl: *const super::ACL) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn TreeResetNamedSecurityInfoA(pobjectname: ::windows_sys::core::PCSTR, objecttype: SE_OBJECT_TYPE, securityinfo: u32, powner: super::super::Foundation::PSID, pgroup: super::super::Foundation::PSID, pdacl: *const super::ACL, psacl: *const super::ACL, keepexplicit: super::super::Foundation::BOOL, fnprogress: FN_PROGRESS, progressinvokesetting: PROG_INVOKE_SETTING, args: *const ::core::ffi::c_void) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn TreeResetNamedSecurityInfoW(pobjectname: ::windows_sys::core::PCWSTR, objecttype: SE_OBJECT_TYPE, securityinfo: u32, powner: super::super::Foundation::PSID, pgroup: super::super::Foundation::PSID, pdacl: *const super::ACL, psacl: *const super::ACL, keepexplicit: super::super::Foundation::BOOL, fnprogress: FN_PROGRESS, progressinvokesetting: PROG_INVOKE_SETTING, args: *const ::core::ffi::c_void) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn TreeSetNamedSecurityInfoA(pobjectname: ::windows_sys::core::PCSTR, objecttype: SE_OBJECT_TYPE, securityinfo: u32, powner: super::super::Foundation::PSID, pgroup: super::super::Foundation::PSID, pdacl: *const super::ACL, psacl: *const super::ACL, dwaction: TREE_SEC_INFO, fnprogress: FN_PROGRESS, progressinvokesetting: PROG_INVOKE_SETTING, args: *const ::core::ffi::c_void) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn TreeSetNamedSecurityInfoW(pobjectname: ::windows_sys::core::PCWSTR, objecttype: SE_OBJECT_TYPE, securityinfo: u32, powner: super::super::Foundation::PSID, pgroup: super::super::Foundation::PSID, pdacl: *const super::ACL, psacl: *const super::ACL, dwaction: TREE_SEC_INFO, fnprogress: FN_PROGRESS, progressinvokesetting: PROG_INVOKE_SETTING, args: *const ::core::ffi::c_void) -> u32;
+}
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACCCTRL_DEFAULT_PROVIDER: &str = "Windows NT Access Provider";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACCCTRL_DEFAULT_PROVIDERA: &str = "Windows NT Access Provider";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACCCTRL_DEFAULT_PROVIDERW: &str = "Windows NT Access Provider";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub type ACCESS_MODE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const NOT_USED_ACCESS: ACCESS_MODE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const GRANT_ACCESS: ACCESS_MODE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SET_ACCESS: ACCESS_MODE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const DENY_ACCESS: ACCESS_MODE = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const REVOKE_ACCESS: ACCESS_MODE = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SET_AUDIT_SUCCESS: ACCESS_MODE = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SET_AUDIT_FAILURE: ACCESS_MODE = 6i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct ACTRL_ACCESSA {
+ pub cEntries: u32,
+ pub pPropertyAccessList: *mut ACTRL_PROPERTY_ENTRYA,
+}
+impl ::core::marker::Copy for ACTRL_ACCESSA {}
+impl ::core::clone::Clone for ACTRL_ACCESSA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct ACTRL_ACCESSW {
+ pub cEntries: u32,
+ pub pPropertyAccessList: *mut ACTRL_PROPERTY_ENTRYW,
+}
+impl ::core::marker::Copy for ACTRL_ACCESSW {}
+impl ::core::clone::Clone for ACTRL_ACCESSW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct ACTRL_ACCESS_ENTRYA {
+ pub Trustee: TRUSTEE_A,
+ pub fAccessFlags: ACTRL_ACCESS_ENTRY_ACCESS_FLAGS,
+ pub Access: u32,
+ pub ProvSpecificAccess: u32,
+ pub Inheritance: super::ACE_FLAGS,
+ pub lpInheritProperty: ::windows_sys::core::PSTR,
+}
+impl ::core::marker::Copy for ACTRL_ACCESS_ENTRYA {}
+impl ::core::clone::Clone for ACTRL_ACCESS_ENTRYA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct ACTRL_ACCESS_ENTRYW {
+ pub Trustee: TRUSTEE_W,
+ pub fAccessFlags: ACTRL_ACCESS_ENTRY_ACCESS_FLAGS,
+ pub Access: u32,
+ pub ProvSpecificAccess: u32,
+ pub Inheritance: super::ACE_FLAGS,
+ pub lpInheritProperty: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for ACTRL_ACCESS_ENTRYW {}
+impl ::core::clone::Clone for ACTRL_ACCESS_ENTRYW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub type ACTRL_ACCESS_ENTRY_ACCESS_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_ACCESS_ALLOWED: ACTRL_ACCESS_ENTRY_ACCESS_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_ACCESS_DENIED: ACTRL_ACCESS_ENTRY_ACCESS_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_AUDIT_SUCCESS: ACTRL_ACCESS_ENTRY_ACCESS_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_AUDIT_FAILURE: ACTRL_ACCESS_ENTRY_ACCESS_FLAGS = 8u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct ACTRL_ACCESS_ENTRY_LISTA {
+ pub cEntries: u32,
+ pub pAccessList: *mut ACTRL_ACCESS_ENTRYA,
+}
+impl ::core::marker::Copy for ACTRL_ACCESS_ENTRY_LISTA {}
+impl ::core::clone::Clone for ACTRL_ACCESS_ENTRY_LISTA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct ACTRL_ACCESS_ENTRY_LISTW {
+ pub cEntries: u32,
+ pub pAccessList: *mut ACTRL_ACCESS_ENTRYW,
+}
+impl ::core::marker::Copy for ACTRL_ACCESS_ENTRY_LISTW {}
+impl ::core::clone::Clone for ACTRL_ACCESS_ENTRY_LISTW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct ACTRL_ACCESS_INFOA {
+ pub fAccessPermission: u32,
+ pub lpAccessPermissionName: ::windows_sys::core::PSTR,
+}
+impl ::core::marker::Copy for ACTRL_ACCESS_INFOA {}
+impl ::core::clone::Clone for ACTRL_ACCESS_INFOA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct ACTRL_ACCESS_INFOW {
+ pub fAccessPermission: u32,
+ pub lpAccessPermissionName: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for ACTRL_ACCESS_INFOW {}
+impl ::core::clone::Clone for ACTRL_ACCESS_INFOW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_ACCESS_NO_OPTIONS: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_ACCESS_PROTECTED: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_ACCESS_SUPPORTS_OBJECT_ENTRIES: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_CHANGE_ACCESS: u32 = 536870912u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_CHANGE_OWNER: u32 = 1073741824u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct ACTRL_CONTROL_INFOA {
+ pub lpControlId: ::windows_sys::core::PSTR,
+ pub lpControlName: ::windows_sys::core::PSTR,
+}
+impl ::core::marker::Copy for ACTRL_CONTROL_INFOA {}
+impl ::core::clone::Clone for ACTRL_CONTROL_INFOA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct ACTRL_CONTROL_INFOW {
+ pub lpControlId: ::windows_sys::core::PWSTR,
+ pub lpControlName: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for ACTRL_CONTROL_INFOW {}
+impl ::core::clone::Clone for ACTRL_CONTROL_INFOW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_DELETE: u32 = 134217728u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_DIR_CREATE_CHILD: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_DIR_CREATE_OBJECT: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_DIR_DELETE_CHILD: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_DIR_LIST: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_DIR_TRAVERSE: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_FILE_APPEND: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_FILE_CREATE_PIPE: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_FILE_EXECUTE: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_FILE_READ: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_FILE_READ_ATTRIB: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_FILE_READ_PROP: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_FILE_WRITE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_FILE_WRITE_ATTRIB: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_FILE_WRITE_PROP: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_KERNEL_ALERT: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_KERNEL_CONTROL: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_KERNEL_DIMPERSONATE: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_KERNEL_DUP_HANDLE: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_KERNEL_GET_CONTEXT: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_KERNEL_GET_INFO: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_KERNEL_IMPERSONATE: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_KERNEL_PROCESS: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_KERNEL_SET_CONTEXT: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_KERNEL_SET_INFO: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_KERNEL_TERMINATE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_KERNEL_THREAD: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_KERNEL_TOKEN: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_KERNEL_VM: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_KERNEL_VM_READ: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_KERNEL_VM_WRITE: u32 = 16u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct ACTRL_OVERLAPPED {
+ pub Anonymous: ACTRL_OVERLAPPED_0,
+ pub Reserved2: u32,
+ pub hEvent: super::super::Foundation::HANDLE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for ACTRL_OVERLAPPED {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for ACTRL_OVERLAPPED {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union ACTRL_OVERLAPPED_0 {
+ pub Provider: *mut ::core::ffi::c_void,
+ pub Reserved1: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for ACTRL_OVERLAPPED_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for ACTRL_OVERLAPPED_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_PERM_1: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_PERM_10: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_PERM_11: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_PERM_12: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_PERM_13: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_PERM_14: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_PERM_15: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_PERM_16: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_PERM_17: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_PERM_18: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_PERM_19: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_PERM_2: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_PERM_20: u32 = 524288u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_PERM_3: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_PERM_4: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_PERM_5: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_PERM_6: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_PERM_7: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_PERM_8: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_PERM_9: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_PRINT_JADMIN: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_PRINT_PADMIN: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_PRINT_PUSE: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_PRINT_SADMIN: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_PRINT_SLIST: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct ACTRL_PROPERTY_ENTRYA {
+ pub lpProperty: ::windows_sys::core::PSTR,
+ pub pAccessEntryList: *mut ACTRL_ACCESS_ENTRY_LISTA,
+ pub fListFlags: u32,
+}
+impl ::core::marker::Copy for ACTRL_PROPERTY_ENTRYA {}
+impl ::core::clone::Clone for ACTRL_PROPERTY_ENTRYA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct ACTRL_PROPERTY_ENTRYW {
+ pub lpProperty: ::windows_sys::core::PWSTR,
+ pub pAccessEntryList: *mut ACTRL_ACCESS_ENTRY_LISTW,
+ pub fListFlags: u32,
+}
+impl ::core::marker::Copy for ACTRL_PROPERTY_ENTRYW {}
+impl ::core::clone::Clone for ACTRL_PROPERTY_ENTRYW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_READ_CONTROL: u32 = 268435456u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_REG_CREATE_CHILD: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_REG_LINK: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_REG_LIST: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_REG_NOTIFY: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_REG_QUERY: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_REG_SET: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_RESERVED: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_STD_RIGHTS_ALL: u32 = 4160749568u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_SVC_GET_INFO: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_SVC_INTERROGATE: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_SVC_LIST: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_SVC_PAUSE: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_SVC_SET_INFO: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_SVC_START: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_SVC_STATUS: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_SVC_STOP: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_SVC_UCONTROL: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_SYNCHRONIZE: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_SYSTEM_ACCESS: u32 = 67108864u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_WIN_CLIPBRD: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_WIN_CREATE: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_WIN_EXIT: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_WIN_GLOBAL_ATOMS: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_WIN_LIST: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_WIN_LIST_DESK: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_WIN_READ_ATTRIBS: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_WIN_SCREEN: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ACTRL_WIN_WRITE_ATTRIBS: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const APF_AuditFailure: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const APF_AuditSuccess: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const APF_ValidFlags: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AP_ParamTypeBits: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AP_ParamTypeMask: i32 = 255i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct AUDIT_IP_ADDRESS {
+ pub pIpAddress: [u8; 128],
+}
+impl ::core::marker::Copy for AUDIT_IP_ADDRESS {}
+impl ::core::clone::Clone for AUDIT_IP_ADDRESS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct AUDIT_OBJECT_TYPE {
+ pub ObjectType: ::windows_sys::core::GUID,
+ pub Flags: u16,
+ pub Level: u16,
+ pub AccessMask: u32,
+}
+impl ::core::marker::Copy for AUDIT_OBJECT_TYPE {}
+impl ::core::clone::Clone for AUDIT_OBJECT_TYPE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct AUDIT_OBJECT_TYPES {
+ pub Count: u16,
+ pub Flags: u16,
+ pub pObjectTypes: *mut AUDIT_OBJECT_TYPE,
+}
+impl ::core::marker::Copy for AUDIT_OBJECT_TYPES {}
+impl ::core::clone::Clone for AUDIT_OBJECT_TYPES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct AUDIT_PARAM {
+ pub Type: AUDIT_PARAM_TYPE,
+ pub Length: u32,
+ pub Flags: u32,
+ pub Anonymous1: AUDIT_PARAM_0,
+ pub Anonymous2: AUDIT_PARAM_1,
+}
+impl ::core::marker::Copy for AUDIT_PARAM {}
+impl ::core::clone::Clone for AUDIT_PARAM {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub union AUDIT_PARAM_0 {
+ pub Data0: usize,
+ pub String: ::windows_sys::core::PWSTR,
+ pub u: usize,
+ pub psid: *mut super::SID,
+ pub pguid: *mut ::windows_sys::core::GUID,
+ pub LogonId_LowPart: u32,
+ pub pObjectTypes: *mut AUDIT_OBJECT_TYPES,
+ pub pIpAddress: *mut AUDIT_IP_ADDRESS,
+}
+impl ::core::marker::Copy for AUDIT_PARAM_0 {}
+impl ::core::clone::Clone for AUDIT_PARAM_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub union AUDIT_PARAM_1 {
+ pub Data1: usize,
+ pub LogonId_HighPart: i32,
+}
+impl ::core::marker::Copy for AUDIT_PARAM_1 {}
+impl ::core::clone::Clone for AUDIT_PARAM_1 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct AUDIT_PARAMS {
+ pub Length: u32,
+ pub Flags: u32,
+ pub Count: u16,
+ pub Parameters: *mut AUDIT_PARAM,
+}
+impl ::core::marker::Copy for AUDIT_PARAMS {}
+impl ::core::clone::Clone for AUDIT_PARAMS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub type AUDIT_PARAM_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const APT_None: AUDIT_PARAM_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const APT_String: AUDIT_PARAM_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const APT_Ulong: AUDIT_PARAM_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const APT_Pointer: AUDIT_PARAM_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const APT_Sid: AUDIT_PARAM_TYPE = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const APT_LogonId: AUDIT_PARAM_TYPE = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const APT_ObjectTypeList: AUDIT_PARAM_TYPE = 7i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const APT_Luid: AUDIT_PARAM_TYPE = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const APT_Guid: AUDIT_PARAM_TYPE = 9i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const APT_Time: AUDIT_PARAM_TYPE = 10i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const APT_Int64: AUDIT_PARAM_TYPE = 11i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const APT_IpAddress: AUDIT_PARAM_TYPE = 12i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const APT_LogonIdWithSid: AUDIT_PARAM_TYPE = 13i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUDIT_TYPE_LEGACY: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUDIT_TYPE_WMI: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZP_WPD_EVENT: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub type AUTHZ_ACCESS_CHECK_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_ACCESS_CHECK_NO_DEEP_COPY_SD: AUTHZ_ACCESS_CHECK_FLAGS = 1u32;
+pub type AUTHZ_ACCESS_CHECK_RESULTS_HANDLE = isize;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct AUTHZ_ACCESS_REPLY {
+ pub ResultListLength: u32,
+ pub GrantedAccessMask: *mut u32,
+ pub SaclEvaluationResults: *mut AUTHZ_GENERATE_RESULTS,
+ pub Error: *mut u32,
+}
+impl ::core::marker::Copy for AUTHZ_ACCESS_REPLY {}
+impl ::core::clone::Clone for AUTHZ_ACCESS_REPLY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct AUTHZ_ACCESS_REQUEST {
+ pub DesiredAccess: u32,
+ pub PrincipalSelfSid: super::super::Foundation::PSID,
+ pub ObjectTypeList: *mut super::OBJECT_TYPE_LIST,
+ pub ObjectTypeListLength: u32,
+ pub OptionalArguments: *mut ::core::ffi::c_void,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for AUTHZ_ACCESS_REQUEST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for AUTHZ_ACCESS_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_ALLOW_MULTIPLE_SOURCE_INSTANCES: u32 = 1u32;
+pub type AUTHZ_AUDIT_EVENT_HANDLE = isize;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub type AUTHZ_AUDIT_EVENT_INFORMATION_CLASS = i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AuthzAuditEventInfoFlags: AUTHZ_AUDIT_EVENT_INFORMATION_CLASS = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AuthzAuditEventInfoOperationType: AUTHZ_AUDIT_EVENT_INFORMATION_CLASS = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AuthzAuditEventInfoObjectType: AUTHZ_AUDIT_EVENT_INFORMATION_CLASS = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AuthzAuditEventInfoObjectName: AUTHZ_AUDIT_EVENT_INFORMATION_CLASS = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AuthzAuditEventInfoAdditionalInfo: AUTHZ_AUDIT_EVENT_INFORMATION_CLASS = 5i32;
+pub type AUTHZ_AUDIT_EVENT_TYPE_HANDLE = isize;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct AUTHZ_AUDIT_EVENT_TYPE_LEGACY {
+ pub CategoryId: u16,
+ pub AuditId: u16,
+ pub ParameterCount: u16,
+}
+impl ::core::marker::Copy for AUTHZ_AUDIT_EVENT_TYPE_LEGACY {}
+impl ::core::clone::Clone for AUTHZ_AUDIT_EVENT_TYPE_LEGACY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct AUTHZ_AUDIT_EVENT_TYPE_OLD {
+ pub Version: u32,
+ pub dwFlags: u32,
+ pub RefCount: i32,
+ pub hAudit: usize,
+ pub LinkId: super::super::Foundation::LUID,
+ pub u: AUTHZ_AUDIT_EVENT_TYPE_UNION,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for AUTHZ_AUDIT_EVENT_TYPE_OLD {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for AUTHZ_AUDIT_EVENT_TYPE_OLD {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub union AUTHZ_AUDIT_EVENT_TYPE_UNION {
+ pub Legacy: AUTHZ_AUDIT_EVENT_TYPE_LEGACY,
+}
+impl ::core::marker::Copy for AUTHZ_AUDIT_EVENT_TYPE_UNION {}
+impl ::core::clone::Clone for AUTHZ_AUDIT_EVENT_TYPE_UNION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_AUDIT_INSTANCE_INFORMATION: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct AUTHZ_CAP_CHANGE_SUBSCRIPTION_HANDLE__ {
+ pub unused: i32,
+}
+impl ::core::marker::Copy for AUTHZ_CAP_CHANGE_SUBSCRIPTION_HANDLE__ {}
+impl ::core::clone::Clone for AUTHZ_CAP_CHANGE_SUBSCRIPTION_HANDLE__ {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type AUTHZ_CLIENT_CONTEXT_HANDLE = isize;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_COMPUTE_PRIVILEGES: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub type AUTHZ_CONTEXT_INFORMATION_CLASS = i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AuthzContextInfoUserSid: AUTHZ_CONTEXT_INFORMATION_CLASS = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AuthzContextInfoGroupsSids: AUTHZ_CONTEXT_INFORMATION_CLASS = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AuthzContextInfoRestrictedSids: AUTHZ_CONTEXT_INFORMATION_CLASS = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AuthzContextInfoPrivileges: AUTHZ_CONTEXT_INFORMATION_CLASS = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AuthzContextInfoExpirationTime: AUTHZ_CONTEXT_INFORMATION_CLASS = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AuthzContextInfoServerContext: AUTHZ_CONTEXT_INFORMATION_CLASS = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AuthzContextInfoIdentifier: AUTHZ_CONTEXT_INFORMATION_CLASS = 7i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AuthzContextInfoSource: AUTHZ_CONTEXT_INFORMATION_CLASS = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AuthzContextInfoAll: AUTHZ_CONTEXT_INFORMATION_CLASS = 9i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AuthzContextInfoAuthenticationId: AUTHZ_CONTEXT_INFORMATION_CLASS = 10i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AuthzContextInfoSecurityAttributes: AUTHZ_CONTEXT_INFORMATION_CLASS = 11i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AuthzContextInfoDeviceSids: AUTHZ_CONTEXT_INFORMATION_CLASS = 12i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AuthzContextInfoUserClaims: AUTHZ_CONTEXT_INFORMATION_CLASS = 13i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AuthzContextInfoDeviceClaims: AUTHZ_CONTEXT_INFORMATION_CLASS = 14i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AuthzContextInfoAppContainerSid: AUTHZ_CONTEXT_INFORMATION_CLASS = 15i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AuthzContextInfoCapabilitySids: AUTHZ_CONTEXT_INFORMATION_CLASS = 16i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_FLAG_ALLOW_MULTIPLE_SOURCE_INSTANCES: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub type AUTHZ_GENERATE_RESULTS = u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_GENERATE_SUCCESS_AUDIT: AUTHZ_GENERATE_RESULTS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_GENERATE_FAILURE_AUDIT: AUTHZ_GENERATE_RESULTS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub type AUTHZ_INITIALIZE_OBJECT_ACCESS_AUDIT_EVENT_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_NO_SUCCESS_AUDIT: AUTHZ_INITIALIZE_OBJECT_ACCESS_AUDIT_EVENT_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_NO_FAILURE_AUDIT: AUTHZ_INITIALIZE_OBJECT_ACCESS_AUDIT_EVENT_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_NO_ALLOC_STRINGS: AUTHZ_INITIALIZE_OBJECT_ACCESS_AUDIT_EVENT_FLAGS = 4u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct AUTHZ_INIT_INFO {
+ pub version: u16,
+ pub szResourceManagerName: ::windows_sys::core::PCWSTR,
+ pub pfnDynamicAccessCheck: PFN_AUTHZ_DYNAMIC_ACCESS_CHECK,
+ pub pfnComputeDynamicGroups: PFN_AUTHZ_COMPUTE_DYNAMIC_GROUPS,
+ pub pfnFreeDynamicGroups: PFN_AUTHZ_FREE_DYNAMIC_GROUPS,
+ pub pfnGetCentralAccessPolicy: PFN_AUTHZ_GET_CENTRAL_ACCESS_POLICY,
+ pub pfnFreeCentralAccessPolicy: PFN_AUTHZ_FREE_CENTRAL_ACCESS_POLICY,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for AUTHZ_INIT_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for AUTHZ_INIT_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_INIT_INFO_VERSION_V1: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_MIGRATED_LEGACY_PUBLISHER: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct AUTHZ_REGISTRATION_OBJECT_TYPE_NAME_OFFSET {
+ pub szObjectTypeName: ::windows_sys::core::PWSTR,
+ pub dwOffset: u32,
+}
+impl ::core::marker::Copy for AUTHZ_REGISTRATION_OBJECT_TYPE_NAME_OFFSET {}
+impl ::core::clone::Clone for AUTHZ_REGISTRATION_OBJECT_TYPE_NAME_OFFSET {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_REQUIRE_S4U_LOGON: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub type AUTHZ_RESOURCE_MANAGER_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_RM_FLAG_NO_AUDIT: AUTHZ_RESOURCE_MANAGER_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_RM_FLAG_INITIALIZE_UNDER_IMPERSONATION: AUTHZ_RESOURCE_MANAGER_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_RM_FLAG_NO_CENTRAL_ACCESS_POLICIES: AUTHZ_RESOURCE_MANAGER_FLAGS = 4u32;
+pub type AUTHZ_RESOURCE_MANAGER_HANDLE = isize;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct AUTHZ_RPC_INIT_INFO_CLIENT {
+ pub version: u16,
+ pub ObjectUuid: ::windows_sys::core::PWSTR,
+ pub ProtSeq: ::windows_sys::core::PWSTR,
+ pub NetworkAddr: ::windows_sys::core::PWSTR,
+ pub Endpoint: ::windows_sys::core::PWSTR,
+ pub Options: ::windows_sys::core::PWSTR,
+ pub ServerSpn: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for AUTHZ_RPC_INIT_INFO_CLIENT {}
+impl ::core::clone::Clone for AUTHZ_RPC_INIT_INFO_CLIENT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_RPC_INIT_INFO_CLIENT_VERSION_V1: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct AUTHZ_SECURITY_ATTRIBUTES_INFORMATION {
+ pub Version: u16,
+ pub Reserved: u16,
+ pub AttributeCount: u32,
+ pub Attribute: AUTHZ_SECURITY_ATTRIBUTES_INFORMATION_0,
+}
+impl ::core::marker::Copy for AUTHZ_SECURITY_ATTRIBUTES_INFORMATION {}
+impl ::core::clone::Clone for AUTHZ_SECURITY_ATTRIBUTES_INFORMATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub union AUTHZ_SECURITY_ATTRIBUTES_INFORMATION_0 {
+ pub pAttributeV1: *mut AUTHZ_SECURITY_ATTRIBUTE_V1,
+}
+impl ::core::marker::Copy for AUTHZ_SECURITY_ATTRIBUTES_INFORMATION_0 {}
+impl ::core::clone::Clone for AUTHZ_SECURITY_ATTRIBUTES_INFORMATION_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_SECURITY_ATTRIBUTES_INFORMATION_VERSION: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_SECURITY_ATTRIBUTES_INFORMATION_VERSION_V1: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub type AUTHZ_SECURITY_ATTRIBUTE_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_SECURITY_ATTRIBUTE_NON_INHERITABLE: AUTHZ_SECURITY_ATTRIBUTE_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_SECURITY_ATTRIBUTE_VALUE_CASE_SENSITIVE: AUTHZ_SECURITY_ATTRIBUTE_FLAGS = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct AUTHZ_SECURITY_ATTRIBUTE_FQBN_VALUE {
+ pub Version: u64,
+ pub pName: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for AUTHZ_SECURITY_ATTRIBUTE_FQBN_VALUE {}
+impl ::core::clone::Clone for AUTHZ_SECURITY_ATTRIBUTE_FQBN_VALUE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct AUTHZ_SECURITY_ATTRIBUTE_OCTET_STRING_VALUE {
+ pub pValue: *mut ::core::ffi::c_void,
+ pub ValueLength: u32,
+}
+impl ::core::marker::Copy for AUTHZ_SECURITY_ATTRIBUTE_OCTET_STRING_VALUE {}
+impl ::core::clone::Clone for AUTHZ_SECURITY_ATTRIBUTE_OCTET_STRING_VALUE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub type AUTHZ_SECURITY_ATTRIBUTE_OPERATION = i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_SECURITY_ATTRIBUTE_OPERATION_NONE: AUTHZ_SECURITY_ATTRIBUTE_OPERATION = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_SECURITY_ATTRIBUTE_OPERATION_REPLACE_ALL: AUTHZ_SECURITY_ATTRIBUTE_OPERATION = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_SECURITY_ATTRIBUTE_OPERATION_ADD: AUTHZ_SECURITY_ATTRIBUTE_OPERATION = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_SECURITY_ATTRIBUTE_OPERATION_DELETE: AUTHZ_SECURITY_ATTRIBUTE_OPERATION = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_SECURITY_ATTRIBUTE_OPERATION_REPLACE: AUTHZ_SECURITY_ATTRIBUTE_OPERATION = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_SECURITY_ATTRIBUTE_TYPE_BOOLEAN: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_SECURITY_ATTRIBUTE_TYPE_FQBN: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_SECURITY_ATTRIBUTE_TYPE_INT64: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_SECURITY_ATTRIBUTE_TYPE_INVALID: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_SECURITY_ATTRIBUTE_TYPE_OCTET_STRING: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_SECURITY_ATTRIBUTE_TYPE_SID: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_SECURITY_ATTRIBUTE_TYPE_STRING: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_SECURITY_ATTRIBUTE_TYPE_UINT64: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct AUTHZ_SECURITY_ATTRIBUTE_V1 {
+ pub pName: ::windows_sys::core::PWSTR,
+ pub ValueType: u16,
+ pub Reserved: u16,
+ pub Flags: AUTHZ_SECURITY_ATTRIBUTE_FLAGS,
+ pub ValueCount: u32,
+ pub Values: AUTHZ_SECURITY_ATTRIBUTE_V1_0,
+}
+impl ::core::marker::Copy for AUTHZ_SECURITY_ATTRIBUTE_V1 {}
+impl ::core::clone::Clone for AUTHZ_SECURITY_ATTRIBUTE_V1 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub union AUTHZ_SECURITY_ATTRIBUTE_V1_0 {
+ pub pInt64: *mut i64,
+ pub pUint64: *mut u64,
+ pub ppString: *mut ::windows_sys::core::PWSTR,
+ pub pFqbn: *mut AUTHZ_SECURITY_ATTRIBUTE_FQBN_VALUE,
+ pub pOctetString: *mut AUTHZ_SECURITY_ATTRIBUTE_OCTET_STRING_VALUE,
+}
+impl ::core::marker::Copy for AUTHZ_SECURITY_ATTRIBUTE_V1_0 {}
+impl ::core::clone::Clone for AUTHZ_SECURITY_ATTRIBUTE_V1_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE = isize;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub type AUTHZ_SID_OPERATION = i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_SID_OPERATION_NONE: AUTHZ_SID_OPERATION = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_SID_OPERATION_REPLACE_ALL: AUTHZ_SID_OPERATION = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_SID_OPERATION_ADD: AUTHZ_SID_OPERATION = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_SID_OPERATION_DELETE: AUTHZ_SID_OPERATION = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_SID_OPERATION_REPLACE: AUTHZ_SID_OPERATION = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_SKIP_TOKEN_GROUPS: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct AUTHZ_SOURCE_SCHEMA_REGISTRATION {
+ pub dwFlags: u32,
+ pub szEventSourceName: ::windows_sys::core::PWSTR,
+ pub szEventMessageFile: ::windows_sys::core::PWSTR,
+ pub szEventSourceXmlSchemaFile: ::windows_sys::core::PWSTR,
+ pub szEventAccessStringsFile: ::windows_sys::core::PWSTR,
+ pub szExecutableImagePath: ::windows_sys::core::PWSTR,
+ pub Anonymous: AUTHZ_SOURCE_SCHEMA_REGISTRATION_0,
+ pub dwObjectTypeNameCount: u32,
+ pub ObjectTypeNames: [AUTHZ_REGISTRATION_OBJECT_TYPE_NAME_OFFSET; 1],
+}
+impl ::core::marker::Copy for AUTHZ_SOURCE_SCHEMA_REGISTRATION {}
+impl ::core::clone::Clone for AUTHZ_SOURCE_SCHEMA_REGISTRATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub union AUTHZ_SOURCE_SCHEMA_REGISTRATION_0 {
+ pub pReserved: *mut ::core::ffi::c_void,
+ pub pProviderGuid: *mut ::windows_sys::core::GUID,
+}
+impl ::core::marker::Copy for AUTHZ_SOURCE_SCHEMA_REGISTRATION_0 {}
+impl ::core::clone::Clone for AUTHZ_SOURCE_SCHEMA_REGISTRATION_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AUTHZ_WPD_CATEGORY_FLAG: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub type AZ_PROP_CONSTANTS = i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_NAME: AZ_PROP_CONSTANTS = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_DESCRIPTION: AZ_PROP_CONSTANTS = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_WRITABLE: AZ_PROP_CONSTANTS = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_APPLICATION_DATA: AZ_PROP_CONSTANTS = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_CHILD_CREATE: AZ_PROP_CONSTANTS = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_MAX_APPLICATION_NAME_LENGTH: AZ_PROP_CONSTANTS = 512i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_MAX_OPERATION_NAME_LENGTH: AZ_PROP_CONSTANTS = 64i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_MAX_TASK_NAME_LENGTH: AZ_PROP_CONSTANTS = 64i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_MAX_SCOPE_NAME_LENGTH: AZ_PROP_CONSTANTS = 65536i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_MAX_GROUP_NAME_LENGTH: AZ_PROP_CONSTANTS = 64i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_MAX_ROLE_NAME_LENGTH: AZ_PROP_CONSTANTS = 64i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_MAX_NAME_LENGTH: AZ_PROP_CONSTANTS = 65536i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_MAX_DESCRIPTION_LENGTH: AZ_PROP_CONSTANTS = 1024i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_MAX_APPLICATION_DATA_LENGTH: AZ_PROP_CONSTANTS = 4096i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_SUBMIT_FLAG_ABORT: AZ_PROP_CONSTANTS = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_SUBMIT_FLAG_FLUSH: AZ_PROP_CONSTANTS = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_MAX_POLICY_URL_LENGTH: AZ_PROP_CONSTANTS = 65536i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_AZSTORE_FLAG_CREATE: AZ_PROP_CONSTANTS = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_AZSTORE_FLAG_MANAGE_STORE_ONLY: AZ_PROP_CONSTANTS = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_AZSTORE_FLAG_BATCH_UPDATE: AZ_PROP_CONSTANTS = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_AZSTORE_FLAG_AUDIT_IS_CRITICAL: AZ_PROP_CONSTANTS = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_AZSTORE_FORCE_APPLICATION_CLOSE: AZ_PROP_CONSTANTS = 16i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_AZSTORE_NT6_FUNCTION_LEVEL: AZ_PROP_CONSTANTS = 32i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_AZSTORE_FLAG_MANAGE_ONLY_PASSIVE_SUBMIT: AZ_PROP_CONSTANTS = 32768i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_AZSTORE_DOMAIN_TIMEOUT: AZ_PROP_CONSTANTS = 100i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_AZSTORE_DEFAULT_DOMAIN_TIMEOUT: AZ_PROP_CONSTANTS = 15000i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_AZSTORE_SCRIPT_ENGINE_TIMEOUT: AZ_PROP_CONSTANTS = 101i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_AZSTORE_MIN_DOMAIN_TIMEOUT: AZ_PROP_CONSTANTS = 500i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_AZSTORE_MIN_SCRIPT_ENGINE_TIMEOUT: AZ_PROP_CONSTANTS = 5000i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_AZSTORE_DEFAULT_SCRIPT_ENGINE_TIMEOUT: AZ_PROP_CONSTANTS = 45000i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_AZSTORE_MAX_SCRIPT_ENGINES: AZ_PROP_CONSTANTS = 102i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_AZSTORE_DEFAULT_MAX_SCRIPT_ENGINES: AZ_PROP_CONSTANTS = 120i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_AZSTORE_MAJOR_VERSION: AZ_PROP_CONSTANTS = 103i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_AZSTORE_MINOR_VERSION: AZ_PROP_CONSTANTS = 104i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_AZSTORE_TARGET_MACHINE: AZ_PROP_CONSTANTS = 105i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_AZTORE_IS_ADAM_INSTANCE: AZ_PROP_CONSTANTS = 106i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_OPERATION_ID: AZ_PROP_CONSTANTS = 200i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_TASK_OPERATIONS: AZ_PROP_CONSTANTS = 300i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_TASK_BIZRULE: AZ_PROP_CONSTANTS = 301i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_TASK_BIZRULE_LANGUAGE: AZ_PROP_CONSTANTS = 302i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_TASK_TASKS: AZ_PROP_CONSTANTS = 303i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_TASK_BIZRULE_IMPORTED_PATH: AZ_PROP_CONSTANTS = 304i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_TASK_IS_ROLE_DEFINITION: AZ_PROP_CONSTANTS = 305i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_MAX_TASK_BIZRULE_LENGTH: AZ_PROP_CONSTANTS = 65536i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_MAX_TASK_BIZRULE_LANGUAGE_LENGTH: AZ_PROP_CONSTANTS = 64i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_MAX_TASK_BIZRULE_IMPORTED_PATH_LENGTH: AZ_PROP_CONSTANTS = 512i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_MAX_BIZRULE_STRING: AZ_PROP_CONSTANTS = 65536i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_GROUP_TYPE: AZ_PROP_CONSTANTS = 400i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_GROUPTYPE_LDAP_QUERY: AZ_PROP_CONSTANTS = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_GROUPTYPE_BASIC: AZ_PROP_CONSTANTS = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_GROUPTYPE_BIZRULE: AZ_PROP_CONSTANTS = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_GROUP_APP_MEMBERS: AZ_PROP_CONSTANTS = 401i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_GROUP_APP_NON_MEMBERS: AZ_PROP_CONSTANTS = 402i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_GROUP_LDAP_QUERY: AZ_PROP_CONSTANTS = 403i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_MAX_GROUP_LDAP_QUERY_LENGTH: AZ_PROP_CONSTANTS = 4096i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_GROUP_MEMBERS: AZ_PROP_CONSTANTS = 404i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_GROUP_NON_MEMBERS: AZ_PROP_CONSTANTS = 405i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_GROUP_MEMBERS_NAME: AZ_PROP_CONSTANTS = 406i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_GROUP_NON_MEMBERS_NAME: AZ_PROP_CONSTANTS = 407i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_GROUP_BIZRULE: AZ_PROP_CONSTANTS = 408i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_GROUP_BIZRULE_LANGUAGE: AZ_PROP_CONSTANTS = 409i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_GROUP_BIZRULE_IMPORTED_PATH: AZ_PROP_CONSTANTS = 410i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_MAX_GROUP_BIZRULE_LENGTH: AZ_PROP_CONSTANTS = 65536i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_MAX_GROUP_BIZRULE_LANGUAGE_LENGTH: AZ_PROP_CONSTANTS = 64i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_MAX_GROUP_BIZRULE_IMPORTED_PATH_LENGTH: AZ_PROP_CONSTANTS = 512i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_ROLE_APP_MEMBERS: AZ_PROP_CONSTANTS = 500i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_ROLE_MEMBERS: AZ_PROP_CONSTANTS = 501i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_ROLE_OPERATIONS: AZ_PROP_CONSTANTS = 502i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_ROLE_TASKS: AZ_PROP_CONSTANTS = 504i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_ROLE_MEMBERS_NAME: AZ_PROP_CONSTANTS = 505i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_SCOPE_BIZRULES_WRITABLE: AZ_PROP_CONSTANTS = 600i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_SCOPE_CAN_BE_DELEGATED: AZ_PROP_CONSTANTS = 601i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_CLIENT_CONTEXT_USER_DN: AZ_PROP_CONSTANTS = 700i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_CLIENT_CONTEXT_USER_SAM_COMPAT: AZ_PROP_CONSTANTS = 701i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_CLIENT_CONTEXT_USER_DISPLAY: AZ_PROP_CONSTANTS = 702i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_CLIENT_CONTEXT_USER_GUID: AZ_PROP_CONSTANTS = 703i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_CLIENT_CONTEXT_USER_CANONICAL: AZ_PROP_CONSTANTS = 704i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_CLIENT_CONTEXT_USER_UPN: AZ_PROP_CONSTANTS = 705i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_CLIENT_CONTEXT_USER_DNS_SAM_COMPAT: AZ_PROP_CONSTANTS = 707i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_CLIENT_CONTEXT_ROLE_FOR_ACCESS_CHECK: AZ_PROP_CONSTANTS = 708i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_CLIENT_CONTEXT_LDAP_QUERY_DN: AZ_PROP_CONSTANTS = 709i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_APPLICATION_AUTHZ_INTERFACE_CLSID: AZ_PROP_CONSTANTS = 800i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_APPLICATION_VERSION: AZ_PROP_CONSTANTS = 801i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_MAX_APPLICATION_VERSION_LENGTH: AZ_PROP_CONSTANTS = 512i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_APPLICATION_NAME: AZ_PROP_CONSTANTS = 802i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_APPLICATION_BIZRULE_ENABLED: AZ_PROP_CONSTANTS = 803i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_APPLY_STORE_SACL: AZ_PROP_CONSTANTS = 900i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_GENERATE_AUDITS: AZ_PROP_CONSTANTS = 901i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_POLICY_ADMINS: AZ_PROP_CONSTANTS = 902i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_POLICY_READERS: AZ_PROP_CONSTANTS = 903i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_DELEGATED_POLICY_USERS: AZ_PROP_CONSTANTS = 904i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_POLICY_ADMINS_NAME: AZ_PROP_CONSTANTS = 905i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_POLICY_READERS_NAME: AZ_PROP_CONSTANTS = 906i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_PROP_DELEGATED_POLICY_USERS_NAME: AZ_PROP_CONSTANTS = 907i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_CLIENT_CONTEXT_SKIP_GROUP: AZ_PROP_CONSTANTS = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_CLIENT_CONTEXT_SKIP_LDAP_QUERY: AZ_PROP_CONSTANTS = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_CLIENT_CONTEXT_GET_GROUP_RECURSIVE: AZ_PROP_CONSTANTS = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const AZ_CLIENT_CONTEXT_GET_GROUPS_STORE_LEVEL_ONLY: AZ_PROP_CONSTANTS = 2i32;
+pub const AzAuthorizationStore: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2998730585, data2: 42839, data3: 19211, data4: [161, 188, 234, 105, 152, 29, 166, 158] };
+pub const AzBizRuleContext: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1546504559, data2: 36177, data3: 17227, data4: [179, 60, 55, 155, 204, 174, 119, 195] };
+pub const AzPrincipalLocator: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1211824989, data2: 28895, data3: 19990, data4: [171, 220, 161, 222, 77, 1, 90, 62] };
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct EXPLICIT_ACCESS_A {
+ pub grfAccessPermissions: u32,
+ pub grfAccessMode: ACCESS_MODE,
+ pub grfInheritance: super::ACE_FLAGS,
+ pub Trustee: TRUSTEE_A,
+}
+impl ::core::marker::Copy for EXPLICIT_ACCESS_A {}
+impl ::core::clone::Clone for EXPLICIT_ACCESS_A {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct EXPLICIT_ACCESS_W {
+ pub grfAccessPermissions: u32,
+ pub grfAccessMode: ACCESS_MODE,
+ pub grfInheritance: super::ACE_FLAGS,
+ pub Trustee: TRUSTEE_W,
+}
+impl ::core::marker::Copy for EXPLICIT_ACCESS_W {}
+impl ::core::clone::Clone for EXPLICIT_ACCESS_W {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct FN_OBJECT_MGR_FUNCTIONS {
+ pub Placeholder: u32,
+}
+impl ::core::marker::Copy for FN_OBJECT_MGR_FUNCTIONS {}
+impl ::core::clone::Clone for FN_OBJECT_MGR_FUNCTIONS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type FN_PROGRESS = ::core::option::Option<unsafe extern "system" fn(pobjectname: ::windows_sys::core::PCWSTR, status: u32, pinvokesetting: *mut PROG_INVOKE_SETTING, args: *const ::core::ffi::c_void, securityset: super::super::Foundation::BOOL)>;
+pub type IAzApplication = *mut ::core::ffi::c_void;
+pub type IAzApplication2 = *mut ::core::ffi::c_void;
+pub type IAzApplication3 = *mut ::core::ffi::c_void;
+pub type IAzApplicationGroup = *mut ::core::ffi::c_void;
+pub type IAzApplicationGroup2 = *mut ::core::ffi::c_void;
+pub type IAzApplicationGroups = *mut ::core::ffi::c_void;
+pub type IAzApplications = *mut ::core::ffi::c_void;
+pub type IAzAuthorizationStore = *mut ::core::ffi::c_void;
+pub type IAzAuthorizationStore2 = *mut ::core::ffi::c_void;
+pub type IAzAuthorizationStore3 = *mut ::core::ffi::c_void;
+pub type IAzBizRuleContext = *mut ::core::ffi::c_void;
+pub type IAzBizRuleInterfaces = *mut ::core::ffi::c_void;
+pub type IAzBizRuleParameters = *mut ::core::ffi::c_void;
+pub type IAzClientContext = *mut ::core::ffi::c_void;
+pub type IAzClientContext2 = *mut ::core::ffi::c_void;
+pub type IAzClientContext3 = *mut ::core::ffi::c_void;
+pub type IAzNameResolver = *mut ::core::ffi::c_void;
+pub type IAzObjectPicker = *mut ::core::ffi::c_void;
+pub type IAzOperation = *mut ::core::ffi::c_void;
+pub type IAzOperation2 = *mut ::core::ffi::c_void;
+pub type IAzOperations = *mut ::core::ffi::c_void;
+pub type IAzPrincipalLocator = *mut ::core::ffi::c_void;
+pub type IAzRole = *mut ::core::ffi::c_void;
+pub type IAzRoleAssignment = *mut ::core::ffi::c_void;
+pub type IAzRoleAssignments = *mut ::core::ffi::c_void;
+pub type IAzRoleDefinition = *mut ::core::ffi::c_void;
+pub type IAzRoleDefinitions = *mut ::core::ffi::c_void;
+pub type IAzRoles = *mut ::core::ffi::c_void;
+pub type IAzScope = *mut ::core::ffi::c_void;
+pub type IAzScope2 = *mut ::core::ffi::c_void;
+pub type IAzScopes = *mut ::core::ffi::c_void;
+pub type IAzTask = *mut ::core::ffi::c_void;
+pub type IAzTask2 = *mut ::core::ffi::c_void;
+pub type IAzTasks = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const INHERITED_ACCESS_ENTRY: u32 = 16u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct INHERITED_FROMA {
+ pub GenerationGap: i32,
+ pub AncestorName: ::windows_sys::core::PSTR,
+}
+impl ::core::marker::Copy for INHERITED_FROMA {}
+impl ::core::clone::Clone for INHERITED_FROMA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct INHERITED_FROMW {
+ pub GenerationGap: i32,
+ pub AncestorName: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for INHERITED_FROMW {}
+impl ::core::clone::Clone for INHERITED_FROMW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const INHERITED_GRANDPARENT: u32 = 536870912u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const INHERITED_PARENT: u32 = 268435456u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub type MULTIPLE_TRUSTEE_OPERATION = i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const NO_MULTIPLE_TRUSTEE: MULTIPLE_TRUSTEE_OPERATION = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const TRUSTEE_IS_IMPERSONATE: MULTIPLE_TRUSTEE_OPERATION = 1i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct OBJECTS_AND_NAME_A {
+ pub ObjectsPresent: super::SYSTEM_AUDIT_OBJECT_ACE_FLAGS,
+ pub ObjectType: SE_OBJECT_TYPE,
+ pub ObjectTypeName: ::windows_sys::core::PSTR,
+ pub InheritedObjectTypeName: ::windows_sys::core::PSTR,
+ pub ptstrName: ::windows_sys::core::PSTR,
+}
+impl ::core::marker::Copy for OBJECTS_AND_NAME_A {}
+impl ::core::clone::Clone for OBJECTS_AND_NAME_A {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct OBJECTS_AND_NAME_W {
+ pub ObjectsPresent: super::SYSTEM_AUDIT_OBJECT_ACE_FLAGS,
+ pub ObjectType: SE_OBJECT_TYPE,
+ pub ObjectTypeName: ::windows_sys::core::PWSTR,
+ pub InheritedObjectTypeName: ::windows_sys::core::PWSTR,
+ pub ptstrName: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for OBJECTS_AND_NAME_W {}
+impl ::core::clone::Clone for OBJECTS_AND_NAME_W {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct OBJECTS_AND_SID {
+ pub ObjectsPresent: super::SYSTEM_AUDIT_OBJECT_ACE_FLAGS,
+ pub ObjectTypeGuid: ::windows_sys::core::GUID,
+ pub InheritedObjectTypeGuid: ::windows_sys::core::GUID,
+ pub pSid: *mut super::SID,
+}
+impl ::core::marker::Copy for OBJECTS_AND_SID {}
+impl ::core::clone::Clone for OBJECTS_AND_SID {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const OLESCRIPT_E_SYNTAX: ::windows_sys::core::HRESULT = -2147352319i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_AUTHZ_COMPUTE_DYNAMIC_GROUPS = ::core::option::Option<unsafe extern "system" fn(hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, args: *const ::core::ffi::c_void, psidattrarray: *mut *mut super::SID_AND_ATTRIBUTES, psidcount: *mut u32, prestrictedsidattrarray: *mut *mut super::SID_AND_ATTRIBUTES, prestrictedsidcount: *mut u32) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_AUTHZ_DYNAMIC_ACCESS_CHECK = ::core::option::Option<unsafe extern "system" fn(hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, pace: *const super::ACE_HEADER, pargs: *const ::core::ffi::c_void, pbaceapplicable: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub type PFN_AUTHZ_FREE_CENTRAL_ACCESS_POLICY = ::core::option::Option<unsafe extern "system" fn(pcentralaccesspolicy: *const ::core::ffi::c_void)>;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_AUTHZ_FREE_DYNAMIC_GROUPS = ::core::option::Option<unsafe extern "system" fn(psidattrarray: *const super::SID_AND_ATTRIBUTES)>;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_AUTHZ_GET_CENTRAL_ACCESS_POLICY = ::core::option::Option<unsafe extern "system" fn(hauthzclientcontext: AUTHZ_CLIENT_CONTEXT_HANDLE, capid: super::super::Foundation::PSID, pargs: *const ::core::ffi::c_void, pcentralaccesspolicyapplicable: *mut super::super::Foundation::BOOL, ppcentralaccesspolicy: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub type PROG_INVOKE_SETTING = i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ProgressInvokeNever: PROG_INVOKE_SETTING = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ProgressInvokeEveryObject: PROG_INVOKE_SETTING = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ProgressInvokeOnError: PROG_INVOKE_SETTING = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ProgressCancelOperation: PROG_INVOKE_SETTING = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ProgressRetryOperation: PROG_INVOKE_SETTING = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const ProgressInvokePrePostError: PROG_INVOKE_SETTING = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ACCESS_ALLOWED: &str = "A";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ACCESS_CONTROL_ASSISTANCE_OPS: &str = "AA";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ACCESS_DENIED: &str = "D";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ACCESS_FILTER: &str = "FL";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ACCOUNT_OPERATORS: &str = "AO";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ACE_BEGIN: &str = "(";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ACE_COND_ATTRIBUTE_PREFIX: &str = "@";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ACE_COND_BEGIN: &str = "(";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ACE_COND_BLOB_PREFIX: &str = "#";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ACE_COND_DEVICE_ATTRIBUTE_PREFIX: &str = "@DEVICE.";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ACE_COND_END: &str = ")";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ACE_COND_RESOURCE_ATTRIBUTE_PREFIX: &str = "@RESOURCE.";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ACE_COND_SID_PREFIX: &str = "SID";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ACE_COND_TOKEN_ATTRIBUTE_PREFIX: &str = "@TOKEN.";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ACE_COND_USER_ATTRIBUTE_PREFIX: &str = "@USER.";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ACE_END: &str = ")";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ALARM: &str = "AL";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ALIAS_PREW2KCOMPACC: &str = "RU";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ALIAS_SIZE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ALL_APP_PACKAGES: &str = "AC";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ANONYMOUS: &str = "AN";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_AUDIT: &str = "AU";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_AUDIT_FAILURE: &str = "FA";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_AUDIT_SUCCESS: &str = "SA";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_AUTHENTICATED_USERS: &str = "AU";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_AUTHORITY_ASSERTED: &str = "AS";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_AUTO_INHERITED: &str = "AI";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_AUTO_INHERIT_REQ: &str = "AR";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_BACKUP_OPERATORS: &str = "BO";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_BLOB: &str = "TX";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_BOOLEAN: &str = "TB";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_BUILTIN_ADMINISTRATORS: &str = "BA";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_BUILTIN_GUESTS: &str = "BG";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_BUILTIN_USERS: &str = "BU";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_CALLBACK_ACCESS_ALLOWED: &str = "XA";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_CALLBACK_ACCESS_DENIED: &str = "XD";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_CALLBACK_AUDIT: &str = "XU";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_CALLBACK_OBJECT_ACCESS_ALLOWED: &str = "ZA";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_CERTSVC_DCOM_ACCESS: &str = "CD";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_CERT_SERV_ADMINISTRATORS: &str = "CA";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_CLONEABLE_CONTROLLERS: &str = "CN";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_CONTAINER_INHERIT: &str = "CI";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_CONTROL_ACCESS: &str = "CR";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_CREATE_CHILD: &str = "CC";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_CREATOR_GROUP: &str = "CG";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_CREATOR_OWNER: &str = "CO";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_CRITICAL: &str = "CR";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_CRYPTO_OPERATORS: &str = "CY";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_DACL: &str = "D";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_DELETE_CHILD: &str = "DC";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_DELETE_TREE: &str = "DT";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_DELIMINATOR: &str = ":";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_DOMAIN_ADMINISTRATORS: &str = "DA";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_DOMAIN_COMPUTERS: &str = "DC";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_DOMAIN_DOMAIN_CONTROLLERS: &str = "DD";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_DOMAIN_GUESTS: &str = "DG";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_DOMAIN_USERS: &str = "DU";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ENTERPRISE_ADMINS: &str = "EA";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ENTERPRISE_DOMAIN_CONTROLLERS: &str = "ED";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ENTERPRISE_KEY_ADMINS: &str = "EK";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ENTERPRISE_RO_DCs: &str = "RO";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_EVENT_LOG_READERS: &str = "ER";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_EVERYONE: &str = "WD";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_FILE_ALL: &str = "FA";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_FILE_EXECUTE: &str = "FX";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_FILE_READ: &str = "FR";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_FILE_WRITE: &str = "FW";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_GENERIC_ALL: &str = "GA";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_GENERIC_EXECUTE: &str = "GX";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_GENERIC_READ: &str = "GR";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_GENERIC_WRITE: &str = "GW";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_GROUP: &str = "G";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_GROUP_POLICY_ADMINS: &str = "PA";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_HYPER_V_ADMINS: &str = "HA";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_IIS_USERS: &str = "IS";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_INHERITED: &str = "ID";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_INHERIT_ONLY: &str = "IO";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_INT: &str = "TI";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_INTERACTIVE: &str = "IU";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_KEY_ADMINS: &str = "KA";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_KEY_ALL: &str = "KA";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_KEY_EXECUTE: &str = "KX";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_KEY_READ: &str = "KR";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_KEY_WRITE: &str = "KW";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_LIST_CHILDREN: &str = "LC";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_LIST_OBJECT: &str = "LO";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_LOCAL_ADMIN: &str = "LA";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_LOCAL_GUEST: &str = "LG";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_LOCAL_SERVICE: &str = "LS";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_LOCAL_SYSTEM: &str = "SY";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_MANDATORY_LABEL: &str = "ML";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ML_HIGH: &str = "HI";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ML_LOW: &str = "LW";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ML_MEDIUM: &str = "ME";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ML_MEDIUM_PLUS: &str = "MP";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_ML_SYSTEM: &str = "SI";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_NETWORK: &str = "NU";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_NETWORK_CONFIGURATION_OPS: &str = "NO";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_NETWORK_SERVICE: &str = "NS";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_NO_EXECUTE_UP: &str = "NX";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_NO_PROPAGATE: &str = "NP";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_NO_READ_UP: &str = "NR";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_NO_WRITE_UP: &str = "NW";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_NULL_ACL: &str = "NO_ACCESS_CONTROL";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_OBJECT_ACCESS_ALLOWED: &str = "OA";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_OBJECT_ACCESS_DENIED: &str = "OD";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_OBJECT_ALARM: &str = "OL";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_OBJECT_AUDIT: &str = "OU";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_OBJECT_INHERIT: &str = "OI";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_OWNER: &str = "O";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_OWNER_RIGHTS: &str = "OW";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_PERFLOG_USERS: &str = "LU";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_PERFMON_USERS: &str = "MU";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_PERSONAL_SELF: &str = "PS";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_POWER_USERS: &str = "PU";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_PRINTER_OPERATORS: &str = "PO";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_PROCESS_TRUST_LABEL: &str = "TL";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_PROTECTED: &str = "P";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_PROTECTED_USERS: &str = "AP";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_RAS_SERVERS: &str = "RS";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_RDS_ENDPOINT_SERVERS: &str = "ES";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_RDS_MANAGEMENT_SERVERS: &str = "MS";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_RDS_REMOTE_ACCESS_SERVERS: &str = "RA";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_READ_CONTROL: &str = "RC";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_READ_PROPERTY: &str = "RP";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_REMOTE_DESKTOP: &str = "RD";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_REMOTE_MANAGEMENT_USERS: &str = "RM";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_REPLICATOR: &str = "RE";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_RESOURCE_ATTRIBUTE: &str = "RA";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_RESTRICTED_CODE: &str = "RC";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_REVISION: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_REVISION_1: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_SACL: &str = "S";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_SCHEMA_ADMINISTRATORS: &str = "SA";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_SCOPED_POLICY_ID: &str = "SP";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_SELF_WRITE: &str = "SW";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_SEPERATOR: &str = ";";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_SERVER_OPERATORS: &str = "SO";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_SERVICE: &str = "SU";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_SERVICE_ASSERTED: &str = "SS";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_SID: &str = "TD";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_SPACE: &str = " ";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_STANDARD_DELETE: &str = "SD";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_TRUST_PROTECTED_FILTER: &str = "TP";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_UINT: &str = "TU";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_USER_MODE_DRIVERS: &str = "UD";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_WRITE_DAC: &str = "WD";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_WRITE_OWNER: &str = "WO";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_WRITE_PROPERTY: &str = "WP";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_WRITE_RESTRICTED_CODE: &str = "WR";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SDDL_WSTRING: &str = "TS";
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub type SE_OBJECT_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SE_UNKNOWN_OBJECT_TYPE: SE_OBJECT_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SE_FILE_OBJECT: SE_OBJECT_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SE_SERVICE: SE_OBJECT_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SE_PRINTER: SE_OBJECT_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SE_REGISTRY_KEY: SE_OBJECT_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SE_LMSHARE: SE_OBJECT_TYPE = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SE_KERNEL_OBJECT: SE_OBJECT_TYPE = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SE_WINDOW_OBJECT: SE_OBJECT_TYPE = 7i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SE_DS_OBJECT: SE_OBJECT_TYPE = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SE_DS_OBJECT_ALL: SE_OBJECT_TYPE = 9i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SE_PROVIDER_DEFINED_OBJECT: SE_OBJECT_TYPE = 10i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SE_WMIGUID_OBJECT: SE_OBJECT_TYPE = 11i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SE_REGISTRY_WOW64_32KEY: SE_OBJECT_TYPE = 12i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const SE_REGISTRY_WOW64_64KEY: SE_OBJECT_TYPE = 13i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub type TREE_SEC_INFO = u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const TREE_SEC_INFO_SET: TREE_SEC_INFO = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const TREE_SEC_INFO_RESET: TREE_SEC_INFO = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const TREE_SEC_INFO_RESET_KEEP_EXPLICIT: TREE_SEC_INFO = 3u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct TRUSTEE_A {
+ pub pMultipleTrustee: *mut TRUSTEE_A,
+ pub MultipleTrusteeOperation: MULTIPLE_TRUSTEE_OPERATION,
+ pub TrusteeForm: TRUSTEE_FORM,
+ pub TrusteeType: TRUSTEE_TYPE,
+ pub ptstrName: ::windows_sys::core::PSTR,
+}
+impl ::core::marker::Copy for TRUSTEE_A {}
+impl ::core::clone::Clone for TRUSTEE_A {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct TRUSTEE_ACCESSA {
+ pub lpProperty: ::windows_sys::core::PSTR,
+ pub Access: u32,
+ pub fAccessFlags: u32,
+ pub fReturnedAccess: u32,
+}
+impl ::core::marker::Copy for TRUSTEE_ACCESSA {}
+impl ::core::clone::Clone for TRUSTEE_ACCESSA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct TRUSTEE_ACCESSW {
+ pub lpProperty: ::windows_sys::core::PWSTR,
+ pub Access: u32,
+ pub fAccessFlags: u32,
+ pub fReturnedAccess: u32,
+}
+impl ::core::marker::Copy for TRUSTEE_ACCESSW {}
+impl ::core::clone::Clone for TRUSTEE_ACCESSW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const TRUSTEE_ACCESS_ALL: i32 = -1i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const TRUSTEE_ACCESS_ALLOWED: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const TRUSTEE_ACCESS_EXPLICIT: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const TRUSTEE_ACCESS_READ: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const TRUSTEE_ACCESS_WRITE: i32 = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub type TRUSTEE_FORM = i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const TRUSTEE_IS_SID: TRUSTEE_FORM = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const TRUSTEE_IS_NAME: TRUSTEE_FORM = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const TRUSTEE_BAD_FORM: TRUSTEE_FORM = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const TRUSTEE_IS_OBJECTS_AND_SID: TRUSTEE_FORM = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const TRUSTEE_IS_OBJECTS_AND_NAME: TRUSTEE_FORM = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub type TRUSTEE_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const TRUSTEE_IS_UNKNOWN: TRUSTEE_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const TRUSTEE_IS_USER: TRUSTEE_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const TRUSTEE_IS_GROUP: TRUSTEE_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const TRUSTEE_IS_DOMAIN: TRUSTEE_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const TRUSTEE_IS_ALIAS: TRUSTEE_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const TRUSTEE_IS_WELL_KNOWN_GROUP: TRUSTEE_TYPE = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const TRUSTEE_IS_DELETED: TRUSTEE_TYPE = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const TRUSTEE_IS_INVALID: TRUSTEE_TYPE = 7i32;
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const TRUSTEE_IS_COMPUTER: TRUSTEE_TYPE = 8i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub struct TRUSTEE_W {
+ pub pMultipleTrustee: *mut TRUSTEE_W,
+ pub MultipleTrusteeOperation: MULTIPLE_TRUSTEE_OPERATION,
+ pub TrusteeForm: TRUSTEE_FORM,
+ pub TrusteeType: TRUSTEE_TYPE,
+ pub ptstrName: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for TRUSTEE_W {}
+impl ::core::clone::Clone for TRUSTEE_W {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Authorization\"`*"]
+pub const _AUTHZ_SS_MAXSIZE: u32 = 128u32;
diff --git a/vendor/windows-sys/src/Windows/Win32/Security/ConfigurationSnapin/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/ConfigurationSnapin/mod.rs
new file mode 100644
index 000000000..517f7b293
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/Security/ConfigurationSnapin/mod.rs
@@ -0,0 +1,169 @@
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const CCF_SCESVC_ATTACHMENT: &str = "CCF_SCESVC_ATTACHMENT";
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const CCF_SCESVC_ATTACHMENT_DATA: &str = "CCF_SCESVC_ATTACHMENT_DATA";
+pub type ISceSvcAttachmentData = *mut ::core::ffi::c_void;
+pub type ISceSvcAttachmentPersistInfo = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub type PFSCE_FREE_INFO = ::core::option::Option<unsafe extern "system" fn(pvserviceinfo: *mut ::core::ffi::c_void) -> u32>;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub type PFSCE_LOG_INFO = ::core::option::Option<unsafe extern "system" fn(errlevel: SCE_LOG_ERR_LEVEL, win32rc: u32, perrfmt: *mut i8) -> u32>;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFSCE_QUERY_INFO = ::core::option::Option<unsafe extern "system" fn(scehandle: *mut ::core::ffi::c_void, scetype: SCESVC_INFO_TYPE, lpprefix: *mut i8, bexact: super::super::Foundation::BOOL, ppvinfo: *mut *mut ::core::ffi::c_void, psceenumhandle: *mut u32) -> u32>;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFSCE_SET_INFO = ::core::option::Option<unsafe extern "system" fn(scehandle: *mut ::core::ffi::c_void, scetype: SCESVC_INFO_TYPE, lpprefix: *mut i8, bexact: super::super::Foundation::BOOL, pvinfo: *mut ::core::ffi::c_void) -> u32>;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PF_ConfigAnalyzeService = ::core::option::Option<unsafe extern "system" fn(pscecbinfo: *mut SCESVC_CALLBACK_INFO) -> u32>;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PF_UpdateService = ::core::option::Option<unsafe extern "system" fn(pscecbinfo: *mut SCESVC_CALLBACK_INFO, serviceinfo: *mut SCESVC_CONFIGURATION_INFO) -> u32>;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SCESTATUS_ACCESS_DENIED: i32 = 9i32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SCESTATUS_ALREADY_RUNNING: i32 = 13i32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SCESTATUS_BAD_FORMAT: i32 = 7i32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SCESTATUS_BUFFER_TOO_SMALL: i32 = 5i32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SCESTATUS_CANT_DELETE: i32 = 10i32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SCESTATUS_EXCEPTION_IN_SERVER: i32 = 16i32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SCESTATUS_INVALID_DATA: i32 = 3i32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SCESTATUS_INVALID_PARAMETER: i32 = 1i32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SCESTATUS_MOD_NOT_FOUND: i32 = 15i32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SCESTATUS_NOT_ENOUGH_RESOURCE: i32 = 8i32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SCESTATUS_NO_MAPPING: i32 = 18i32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SCESTATUS_NO_TEMPLATE_GIVEN: i32 = 17i32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SCESTATUS_OBJECT_EXIST: i32 = 4i32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SCESTATUS_OTHER_ERROR: i32 = 12i32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SCESTATUS_PREFIX_OVERFLOW: i32 = 11i32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SCESTATUS_PROFILE_NOT_FOUND: i32 = 6i32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SCESTATUS_RECORD_NOT_FOUND: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SCESTATUS_SERVICE_NOT_SUPPORT: i32 = 14i32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SCESTATUS_SUCCESS: i32 = 0i32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SCESTATUS_TRUST_FAIL: i32 = 19i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub struct SCESVC_ANALYSIS_INFO {
+ pub Count: u32,
+ pub Lines: *mut SCESVC_ANALYSIS_LINE,
+}
+impl ::core::marker::Copy for SCESVC_ANALYSIS_INFO {}
+impl ::core::clone::Clone for SCESVC_ANALYSIS_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub struct SCESVC_ANALYSIS_LINE {
+ pub Key: *mut i8,
+ pub Value: *mut u8,
+ pub ValueLen: u32,
+}
+impl ::core::marker::Copy for SCESVC_ANALYSIS_LINE {}
+impl ::core::clone::Clone for SCESVC_ANALYSIS_LINE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SCESVC_CALLBACK_INFO {
+ pub sceHandle: *mut ::core::ffi::c_void,
+ pub pfQueryInfo: PFSCE_QUERY_INFO,
+ pub pfSetInfo: PFSCE_SET_INFO,
+ pub pfFreeInfo: PFSCE_FREE_INFO,
+ pub pfLogInfo: PFSCE_LOG_INFO,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SCESVC_CALLBACK_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SCESVC_CALLBACK_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub struct SCESVC_CONFIGURATION_INFO {
+ pub Count: u32,
+ pub Lines: *mut SCESVC_CONFIGURATION_LINE,
+}
+impl ::core::marker::Copy for SCESVC_CONFIGURATION_INFO {}
+impl ::core::clone::Clone for SCESVC_CONFIGURATION_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub struct SCESVC_CONFIGURATION_LINE {
+ pub Key: *mut i8,
+ pub Value: *mut i8,
+ pub ValueLen: u32,
+}
+impl ::core::marker::Copy for SCESVC_CONFIGURATION_LINE {}
+impl ::core::clone::Clone for SCESVC_CONFIGURATION_LINE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SCESVC_ENUMERATION_MAX: i32 = 100i32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub type SCESVC_INFO_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SceSvcConfigurationInfo: SCESVC_INFO_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SceSvcMergedPolicyInfo: SCESVC_INFO_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SceSvcAnalysisInfo: SCESVC_INFO_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SceSvcInternalUse: SCESVC_INFO_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub type SCE_LOG_ERR_LEVEL = u32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SCE_LOG_LEVEL_ALWAYS: SCE_LOG_ERR_LEVEL = 0u32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SCE_LOG_LEVEL_ERROR: SCE_LOG_ERR_LEVEL = 1u32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SCE_LOG_LEVEL_DETAIL: SCE_LOG_ERR_LEVEL = 2u32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SCE_LOG_LEVEL_DEBUG: SCE_LOG_ERR_LEVEL = 3u32;
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const SCE_ROOT_PATH: &str = "Software\\Microsoft\\Windows NT\\CurrentVersion\\SeCEdit";
+pub const cNodetypeSceAnalysisServices: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1736462535, data2: 8184, data3: 4561, data4: [175, 251, 0, 192, 79, 185, 132, 249] };
+pub const cNodetypeSceEventLog: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 752903832, data2: 19443, data3: 4561, data4: [140, 48, 0, 192, 79, 185, 132, 249] };
+pub const cNodetypeSceTemplateServices: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 614987543, data2: 7948, data3: 4561, data4: [175, 251, 0, 192, 79, 185, 132, 249] };
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const lstruuidNodetypeSceAnalysisServices: &str = "{678050c7-1ff8-11d1-affb-00c04fb984f9}";
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const lstruuidNodetypeSceEventLog: &str = "{2ce06698-4bf3-11d1-8c30-00c04fb984f9}";
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const lstruuidNodetypeSceTemplateServices: &str = "{24a7f717-1f0c-11d1-affb-00c04fb984f9}";
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const struuidNodetypeSceAnalysisServices: &str = "{678050c7-1ff8-11d1-affb-00c04fb984f9}";
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const struuidNodetypeSceEventLog: &str = "{2ce06698-4bf3-11d1-8c30-00c04fb984f9}";
+#[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`*"]
+pub const struuidNodetypeSceTemplateServices: &str = "{24a7f717-1f0c-11d1-affb-00c04fb984f9}";
diff --git a/vendor/windows-sys/src/Windows/Win32/Security/Credentials/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/Credentials/mod.rs
new file mode 100644
index 000000000..71d8bb097
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/Security/Credentials/mod.rs
@@ -0,0 +1,1495 @@
+#[link(name = "windows")]
+extern "system" {
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredDeleteA(targetname: ::windows_sys::core::PCSTR, r#type: u32, flags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredDeleteW(targetname: ::windows_sys::core::PCWSTR, r#type: u32, flags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredEnumerateA(filter: ::windows_sys::core::PCSTR, flags: CRED_ENUMERATE_FLAGS, count: *mut u32, credential: *mut *mut *mut CREDENTIALA) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredEnumerateW(filter: ::windows_sys::core::PCWSTR, flags: CRED_ENUMERATE_FLAGS, count: *mut u32, credential: *mut *mut *mut CREDENTIALW) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredFindBestCredentialA(targetname: ::windows_sys::core::PCSTR, r#type: u32, flags: u32, credential: *mut *mut CREDENTIALA) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredFindBestCredentialW(targetname: ::windows_sys::core::PCWSTR, r#type: u32, flags: u32, credential: *mut *mut CREDENTIALW) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn CredFree(buffer: *const ::core::ffi::c_void);
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredGetSessionTypes(maximumpersistcount: u32, maximumpersist: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredGetTargetInfoA(targetname: ::windows_sys::core::PCSTR, flags: u32, targetinfo: *mut *mut CREDENTIAL_TARGET_INFORMATIONA) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredGetTargetInfoW(targetname: ::windows_sys::core::PCWSTR, flags: u32, targetinfo: *mut *mut CREDENTIAL_TARGET_INFORMATIONW) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredIsMarshaledCredentialA(marshaledcredential: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredIsMarshaledCredentialW(marshaledcredential: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredIsProtectedA(pszprotectedcredentials: ::windows_sys::core::PCSTR, pprotectiontype: *mut CRED_PROTECTION_TYPE) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredIsProtectedW(pszprotectedcredentials: ::windows_sys::core::PCWSTR, pprotectiontype: *mut CRED_PROTECTION_TYPE) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredMarshalCredentialA(credtype: CRED_MARSHAL_TYPE, credential: *const ::core::ffi::c_void, marshaledcredential: *mut ::windows_sys::core::PSTR) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredMarshalCredentialW(credtype: CRED_MARSHAL_TYPE, credential: *const ::core::ffi::c_void, marshaledcredential: *mut ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredPackAuthenticationBufferA(dwflags: CRED_PACK_FLAGS, pszusername: ::windows_sys::core::PCSTR, pszpassword: ::windows_sys::core::PCSTR, ppackedcredentials: *mut u8, pcbpackedcredentials: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredPackAuthenticationBufferW(dwflags: CRED_PACK_FLAGS, pszusername: ::windows_sys::core::PCWSTR, pszpassword: ::windows_sys::core::PCWSTR, ppackedcredentials: *mut u8, pcbpackedcredentials: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredProtectA(fasself: super::super::Foundation::BOOL, pszcredentials: ::windows_sys::core::PCSTR, cchcredentials: u32, pszprotectedcredentials: ::windows_sys::core::PSTR, pcchmaxchars: *mut u32, protectiontype: *mut CRED_PROTECTION_TYPE) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredProtectW(fasself: super::super::Foundation::BOOL, pszcredentials: ::windows_sys::core::PCWSTR, cchcredentials: u32, pszprotectedcredentials: ::windows_sys::core::PWSTR, pcchmaxchars: *mut u32, protectiontype: *mut CRED_PROTECTION_TYPE) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredReadA(targetname: ::windows_sys::core::PCSTR, r#type: u32, flags: u32, credential: *mut *mut CREDENTIALA) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredReadDomainCredentialsA(targetinfo: *const CREDENTIAL_TARGET_INFORMATIONA, flags: u32, count: *mut u32, credential: *mut *mut *mut CREDENTIALA) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredReadDomainCredentialsW(targetinfo: *const CREDENTIAL_TARGET_INFORMATIONW, flags: u32, count: *mut u32, credential: *mut *mut *mut CREDENTIALW) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredReadW(targetname: ::windows_sys::core::PCWSTR, r#type: u32, flags: u32, credential: *mut *mut CREDENTIALW) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredRenameA(oldtargetname: ::windows_sys::core::PCSTR, newtargetname: ::windows_sys::core::PCSTR, r#type: u32, flags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredRenameW(oldtargetname: ::windows_sys::core::PCWSTR, newtargetname: ::windows_sys::core::PCWSTR, r#type: u32, flags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredUICmdLinePromptForCredentialsA(psztargetname: ::windows_sys::core::PCSTR, pcontext: *mut SecHandle, dwautherror: u32, username: ::windows_sys::core::PSTR, uluserbuffersize: u32, pszpassword: ::windows_sys::core::PSTR, ulpasswordbuffersize: u32, pfsave: *mut super::super::Foundation::BOOL, dwflags: CREDUI_FLAGS) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredUICmdLinePromptForCredentialsW(psztargetname: ::windows_sys::core::PCWSTR, pcontext: *mut SecHandle, dwautherror: u32, username: ::windows_sys::core::PWSTR, uluserbuffersize: u32, pszpassword: ::windows_sys::core::PWSTR, ulpasswordbuffersize: u32, pfsave: *mut super::super::Foundation::BOOL, dwflags: CREDUI_FLAGS) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredUIConfirmCredentialsA(psztargetname: ::windows_sys::core::PCSTR, bconfirm: super::super::Foundation::BOOL) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredUIConfirmCredentialsW(psztargetname: ::windows_sys::core::PCWSTR, bconfirm: super::super::Foundation::BOOL) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn CredUIParseUserNameA(username: ::windows_sys::core::PCSTR, user: ::windows_sys::core::PSTR, userbuffersize: u32, domain: ::windows_sys::core::PSTR, domainbuffersize: u32) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn CredUIParseUserNameW(username: ::windows_sys::core::PCWSTR, user: ::windows_sys::core::PWSTR, userbuffersize: u32, domain: ::windows_sys::core::PWSTR, domainbuffersize: u32) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+ pub fn CredUIPromptForCredentialsA(puiinfo: *const CREDUI_INFOA, psztargetname: ::windows_sys::core::PCSTR, pcontext: *mut SecHandle, dwautherror: u32, pszusername: ::windows_sys::core::PSTR, ulusernamebuffersize: u32, pszpassword: ::windows_sys::core::PSTR, ulpasswordbuffersize: u32, save: *mut super::super::Foundation::BOOL, dwflags: CREDUI_FLAGS) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+ pub fn CredUIPromptForCredentialsW(puiinfo: *const CREDUI_INFOW, psztargetname: ::windows_sys::core::PCWSTR, pcontext: *mut SecHandle, dwautherror: u32, pszusername: ::windows_sys::core::PWSTR, ulusernamebuffersize: u32, pszpassword: ::windows_sys::core::PWSTR, ulpasswordbuffersize: u32, save: *mut super::super::Foundation::BOOL, dwflags: CREDUI_FLAGS) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+ pub fn CredUIPromptForWindowsCredentialsA(puiinfo: *const CREDUI_INFOA, dwautherror: u32, pulauthpackage: *mut u32, pvinauthbuffer: *const ::core::ffi::c_void, ulinauthbuffersize: u32, ppvoutauthbuffer: *mut *mut ::core::ffi::c_void, puloutauthbuffersize: *mut u32, pfsave: *mut super::super::Foundation::BOOL, dwflags: CREDUIWIN_FLAGS) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+ pub fn CredUIPromptForWindowsCredentialsW(puiinfo: *const CREDUI_INFOW, dwautherror: u32, pulauthpackage: *mut u32, pvinauthbuffer: *const ::core::ffi::c_void, ulinauthbuffersize: u32, ppvoutauthbuffer: *mut *mut ::core::ffi::c_void, puloutauthbuffersize: *mut u32, pfsave: *mut super::super::Foundation::BOOL, dwflags: CREDUIWIN_FLAGS) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn CredUIReadSSOCredW(pszrealm: ::windows_sys::core::PCWSTR, ppszusername: *mut ::windows_sys::core::PWSTR) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredUIStoreSSOCredW(pszrealm: ::windows_sys::core::PCWSTR, pszusername: ::windows_sys::core::PCWSTR, pszpassword: ::windows_sys::core::PCWSTR, bpersist: super::super::Foundation::BOOL) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredUnPackAuthenticationBufferA(dwflags: CRED_PACK_FLAGS, pauthbuffer: *const ::core::ffi::c_void, cbauthbuffer: u32, pszusername: ::windows_sys::core::PSTR, pcchlmaxusername: *mut u32, pszdomainname: ::windows_sys::core::PSTR, pcchmaxdomainname: *mut u32, pszpassword: ::windows_sys::core::PSTR, pcchmaxpassword: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredUnPackAuthenticationBufferW(dwflags: CRED_PACK_FLAGS, pauthbuffer: *const ::core::ffi::c_void, cbauthbuffer: u32, pszusername: ::windows_sys::core::PWSTR, pcchmaxusername: *mut u32, pszdomainname: ::windows_sys::core::PWSTR, pcchmaxdomainname: *mut u32, pszpassword: ::windows_sys::core::PWSTR, pcchmaxpassword: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredUnmarshalCredentialA(marshaledcredential: ::windows_sys::core::PCSTR, credtype: *mut CRED_MARSHAL_TYPE, credential: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredUnmarshalCredentialW(marshaledcredential: ::windows_sys::core::PCWSTR, credtype: *mut CRED_MARSHAL_TYPE, credential: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredUnprotectA(fasself: super::super::Foundation::BOOL, pszprotectedcredentials: ::windows_sys::core::PCSTR, cchprotectedcredentials: u32, pszcredentials: ::windows_sys::core::PSTR, pcchmaxchars: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredUnprotectW(fasself: super::super::Foundation::BOOL, pszprotectedcredentials: ::windows_sys::core::PCWSTR, cchprotectedcredentials: u32, pszcredentials: ::windows_sys::core::PWSTR, pcchmaxchars: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredWriteA(credential: *const CREDENTIALA, flags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredWriteDomainCredentialsA(targetinfo: *const CREDENTIAL_TARGET_INFORMATIONA, credential: *const CREDENTIALA, flags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredWriteDomainCredentialsW(targetinfo: *const CREDENTIAL_TARGET_INFORMATIONW, credential: *const CREDENTIALW, flags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CredWriteW(credential: *const CREDENTIALW, flags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetOpenCardNameA(param0: *mut OPENCARDNAMEA) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetOpenCardNameW(param0: *mut OPENCARDNAMEW) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn KeyCredentialManagerFreeInformation(keycredentialmanagerinfo: *const KeyCredentialManagerInfo);
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn KeyCredentialManagerGetInformation(keycredentialmanagerinfo: *mut *mut KeyCredentialManagerInfo) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn KeyCredentialManagerGetOperationErrorStates(keycredentialmanageroperationtype: KeyCredentialManagerOperationType, isready: *mut super::super::Foundation::BOOL, keycredentialmanageroperationerrorstates: *mut KeyCredentialManagerOperationErrorStates) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn KeyCredentialManagerShowUIOperation(hwndowner: super::super::Foundation::HWND, keycredentialmanageroperationtype: KeyCredentialManagerOperationType) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SCardAccessStartedEvent() -> super::super::Foundation::HANDLE;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardAddReaderToGroupA(hcontext: usize, szreadername: ::windows_sys::core::PCSTR, szgroupname: ::windows_sys::core::PCSTR) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardAddReaderToGroupW(hcontext: usize, szreadername: ::windows_sys::core::PCWSTR, szgroupname: ::windows_sys::core::PCWSTR) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardAudit(hcontext: usize, dwevent: u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardBeginTransaction(hcard: usize) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardCancel(hcontext: usize) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardConnectA(hcontext: usize, szreader: ::windows_sys::core::PCSTR, dwsharemode: u32, dwpreferredprotocols: u32, phcard: *mut usize, pdwactiveprotocol: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardConnectW(hcontext: usize, szreader: ::windows_sys::core::PCWSTR, dwsharemode: u32, dwpreferredprotocols: u32, phcard: *mut usize, pdwactiveprotocol: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardControl(hcard: usize, dwcontrolcode: u32, lpinbuffer: *const ::core::ffi::c_void, cbinbuffersize: u32, lpoutbuffer: *mut ::core::ffi::c_void, cboutbuffersize: u32, lpbytesreturned: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardDisconnect(hcard: usize, dwdisposition: u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardDlgExtendedError() -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardEndTransaction(hcard: usize, dwdisposition: u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardEstablishContext(dwscope: SCARD_SCOPE, pvreserved1: *const ::core::ffi::c_void, pvreserved2: *const ::core::ffi::c_void, phcontext: *mut usize) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardForgetCardTypeA(hcontext: usize, szcardname: ::windows_sys::core::PCSTR) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardForgetCardTypeW(hcontext: usize, szcardname: ::windows_sys::core::PCWSTR) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardForgetReaderA(hcontext: usize, szreadername: ::windows_sys::core::PCSTR) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardForgetReaderGroupA(hcontext: usize, szgroupname: ::windows_sys::core::PCSTR) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardForgetReaderGroupW(hcontext: usize, szgroupname: ::windows_sys::core::PCWSTR) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardForgetReaderW(hcontext: usize, szreadername: ::windows_sys::core::PCWSTR) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardFreeMemory(hcontext: usize, pvmem: *const ::core::ffi::c_void) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardGetAttrib(hcard: usize, dwattrid: u32, pbattr: *mut u8, pcbattrlen: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardGetCardTypeProviderNameA(hcontext: usize, szcardname: ::windows_sys::core::PCSTR, dwproviderid: u32, szprovider: ::windows_sys::core::PSTR, pcchprovider: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardGetCardTypeProviderNameW(hcontext: usize, szcardname: ::windows_sys::core::PCWSTR, dwproviderid: u32, szprovider: ::windows_sys::core::PWSTR, pcchprovider: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardGetDeviceTypeIdA(hcontext: usize, szreadername: ::windows_sys::core::PCSTR, pdwdevicetypeid: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardGetDeviceTypeIdW(hcontext: usize, szreadername: ::windows_sys::core::PCWSTR, pdwdevicetypeid: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardGetProviderIdA(hcontext: usize, szcard: ::windows_sys::core::PCSTR, pguidproviderid: *mut ::windows_sys::core::GUID) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardGetProviderIdW(hcontext: usize, szcard: ::windows_sys::core::PCWSTR, pguidproviderid: *mut ::windows_sys::core::GUID) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardGetReaderDeviceInstanceIdA(hcontext: usize, szreadername: ::windows_sys::core::PCSTR, szdeviceinstanceid: ::windows_sys::core::PSTR, pcchdeviceinstanceid: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardGetReaderDeviceInstanceIdW(hcontext: usize, szreadername: ::windows_sys::core::PCWSTR, szdeviceinstanceid: ::windows_sys::core::PWSTR, pcchdeviceinstanceid: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardGetReaderIconA(hcontext: usize, szreadername: ::windows_sys::core::PCSTR, pbicon: *mut u8, pcbicon: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardGetReaderIconW(hcontext: usize, szreadername: ::windows_sys::core::PCWSTR, pbicon: *mut u8, pcbicon: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardGetStatusChangeA(hcontext: usize, dwtimeout: u32, rgreaderstates: *mut SCARD_READERSTATEA, creaders: u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardGetStatusChangeW(hcontext: usize, dwtimeout: u32, rgreaderstates: *mut SCARD_READERSTATEW, creaders: u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardGetTransmitCount(hcard: usize, pctransmitcount: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardIntroduceCardTypeA(hcontext: usize, szcardname: ::windows_sys::core::PCSTR, pguidprimaryprovider: *const ::windows_sys::core::GUID, rgguidinterfaces: *const ::windows_sys::core::GUID, dwinterfacecount: u32, pbatr: *const u8, pbatrmask: *const u8, cbatrlen: u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardIntroduceCardTypeW(hcontext: usize, szcardname: ::windows_sys::core::PCWSTR, pguidprimaryprovider: *const ::windows_sys::core::GUID, rgguidinterfaces: *const ::windows_sys::core::GUID, dwinterfacecount: u32, pbatr: *const u8, pbatrmask: *const u8, cbatrlen: u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardIntroduceReaderA(hcontext: usize, szreadername: ::windows_sys::core::PCSTR, szdevicename: ::windows_sys::core::PCSTR) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardIntroduceReaderGroupA(hcontext: usize, szgroupname: ::windows_sys::core::PCSTR) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardIntroduceReaderGroupW(hcontext: usize, szgroupname: ::windows_sys::core::PCWSTR) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardIntroduceReaderW(hcontext: usize, szreadername: ::windows_sys::core::PCWSTR, szdevicename: ::windows_sys::core::PCWSTR) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardIsValidContext(hcontext: usize) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardListCardsA(hcontext: usize, pbatr: *const u8, rgquidinterfaces: *const ::windows_sys::core::GUID, cguidinterfacecount: u32, mszcards: ::windows_sys::core::PSTR, pcchcards: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardListCardsW(hcontext: usize, pbatr: *const u8, rgquidinterfaces: *const ::windows_sys::core::GUID, cguidinterfacecount: u32, mszcards: ::windows_sys::core::PWSTR, pcchcards: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardListInterfacesA(hcontext: usize, szcard: ::windows_sys::core::PCSTR, pguidinterfaces: *mut ::windows_sys::core::GUID, pcguidinterfaces: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardListInterfacesW(hcontext: usize, szcard: ::windows_sys::core::PCWSTR, pguidinterfaces: *mut ::windows_sys::core::GUID, pcguidinterfaces: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardListReaderGroupsA(hcontext: usize, mszgroups: ::windows_sys::core::PSTR, pcchgroups: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardListReaderGroupsW(hcontext: usize, mszgroups: ::windows_sys::core::PWSTR, pcchgroups: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardListReadersA(hcontext: usize, mszgroups: ::windows_sys::core::PCSTR, mszreaders: ::windows_sys::core::PSTR, pcchreaders: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardListReadersW(hcontext: usize, mszgroups: ::windows_sys::core::PCWSTR, mszreaders: ::windows_sys::core::PWSTR, pcchreaders: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardListReadersWithDeviceInstanceIdA(hcontext: usize, szdeviceinstanceid: ::windows_sys::core::PCSTR, mszreaders: ::windows_sys::core::PSTR, pcchreaders: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardListReadersWithDeviceInstanceIdW(hcontext: usize, szdeviceinstanceid: ::windows_sys::core::PCWSTR, mszreaders: ::windows_sys::core::PWSTR, pcchreaders: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardLocateCardsA(hcontext: usize, mszcards: ::windows_sys::core::PCSTR, rgreaderstates: *mut SCARD_READERSTATEA, creaders: u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardLocateCardsByATRA(hcontext: usize, rgatrmasks: *const SCARD_ATRMASK, catrs: u32, rgreaderstates: *mut SCARD_READERSTATEA, creaders: u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardLocateCardsByATRW(hcontext: usize, rgatrmasks: *const SCARD_ATRMASK, catrs: u32, rgreaderstates: *mut SCARD_READERSTATEW, creaders: u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardLocateCardsW(hcontext: usize, mszcards: ::windows_sys::core::PCWSTR, rgreaderstates: *mut SCARD_READERSTATEW, creaders: u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardReadCacheA(hcontext: usize, cardidentifier: *const ::windows_sys::core::GUID, freshnesscounter: u32, lookupname: ::windows_sys::core::PCSTR, data: *mut u8, datalen: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardReadCacheW(hcontext: usize, cardidentifier: *const ::windows_sys::core::GUID, freshnesscounter: u32, lookupname: ::windows_sys::core::PCWSTR, data: *mut u8, datalen: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardReconnect(hcard: usize, dwsharemode: u32, dwpreferredprotocols: u32, dwinitialization: u32, pdwactiveprotocol: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardReleaseContext(hcontext: usize) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardReleaseStartedEvent();
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardRemoveReaderFromGroupA(hcontext: usize, szreadername: ::windows_sys::core::PCSTR, szgroupname: ::windows_sys::core::PCSTR) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardRemoveReaderFromGroupW(hcontext: usize, szreadername: ::windows_sys::core::PCWSTR, szgroupname: ::windows_sys::core::PCWSTR) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardSetAttrib(hcard: usize, dwattrid: u32, pbattr: *const u8, cbattrlen: u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardSetCardTypeProviderNameA(hcontext: usize, szcardname: ::windows_sys::core::PCSTR, dwproviderid: u32, szprovider: ::windows_sys::core::PCSTR) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardSetCardTypeProviderNameW(hcontext: usize, szcardname: ::windows_sys::core::PCWSTR, dwproviderid: u32, szprovider: ::windows_sys::core::PCWSTR) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardState(hcard: usize, pdwstate: *mut u32, pdwprotocol: *mut u32, pbatr: *mut u8, pcbatrlen: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardStatusA(hcard: usize, mszreadernames: ::windows_sys::core::PSTR, pcchreaderlen: *mut u32, pdwstate: *mut u32, pdwprotocol: *mut u32, pbatr: *mut u8, pcbatrlen: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardStatusW(hcard: usize, mszreadernames: ::windows_sys::core::PWSTR, pcchreaderlen: *mut u32, pdwstate: *mut u32, pdwprotocol: *mut u32, pbatr: *mut u8, pcbatrlen: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardTransmit(hcard: usize, piosendpci: *const SCARD_IO_REQUEST, pbsendbuffer: *const u8, cbsendlength: u32, piorecvpci: *mut SCARD_IO_REQUEST, pbrecvbuffer: *mut u8, pcbrecvlength: *mut u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
+ pub fn SCardUIDlgSelectCardA(param0: *mut OPENCARDNAME_EXA) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
+ pub fn SCardUIDlgSelectCardW(param0: *mut OPENCARDNAME_EXW) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardWriteCacheA(hcontext: usize, cardidentifier: *const ::windows_sys::core::GUID, freshnesscounter: u32, lookupname: ::windows_sys::core::PCSTR, data: *const u8, datalen: u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+ pub fn SCardWriteCacheW(hcontext: usize, cardidentifier: *const ::windows_sys::core::GUID, freshnesscounter: u32, lookupname: ::windows_sys::core::PCWSTR, data: *const u8, datalen: u32) -> i32;
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub struct BINARY_BLOB_CREDENTIAL_INFO {
+ pub cbBlob: u32,
+ pub pbBlob: *mut u8,
+}
+impl ::core::marker::Copy for BINARY_BLOB_CREDENTIAL_INFO {}
+impl ::core::clone::Clone for BINARY_BLOB_CREDENTIAL_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub struct CERT_CREDENTIAL_INFO {
+ pub cbSize: u32,
+ pub rgbHashOfCert: [u8; 20],
+}
+impl ::core::marker::Copy for CERT_CREDENTIAL_INFO {}
+impl ::core::clone::Clone for CERT_CREDENTIAL_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CERT_HASH_LENGTH: u32 = 20u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CREDENTIALA {
+ pub Flags: CRED_FLAGS,
+ pub Type: CRED_TYPE,
+ pub TargetName: ::windows_sys::core::PSTR,
+ pub Comment: ::windows_sys::core::PSTR,
+ pub LastWritten: super::super::Foundation::FILETIME,
+ pub CredentialBlobSize: u32,
+ pub CredentialBlob: *mut u8,
+ pub Persist: CRED_PERSIST,
+ pub AttributeCount: u32,
+ pub Attributes: *mut CREDENTIAL_ATTRIBUTEA,
+ pub TargetAlias: ::windows_sys::core::PSTR,
+ pub UserName: ::windows_sys::core::PSTR,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CREDENTIALA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CREDENTIALA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CREDENTIALW {
+ pub Flags: CRED_FLAGS,
+ pub Type: CRED_TYPE,
+ pub TargetName: ::windows_sys::core::PWSTR,
+ pub Comment: ::windows_sys::core::PWSTR,
+ pub LastWritten: super::super::Foundation::FILETIME,
+ pub CredentialBlobSize: u32,
+ pub CredentialBlob: *mut u8,
+ pub Persist: CRED_PERSIST,
+ pub AttributeCount: u32,
+ pub Attributes: *mut CREDENTIAL_ATTRIBUTEW,
+ pub TargetAlias: ::windows_sys::core::PWSTR,
+ pub UserName: ::windows_sys::core::PWSTR,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CREDENTIALW {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CREDENTIALW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub struct CREDENTIAL_ATTRIBUTEA {
+ pub Keyword: ::windows_sys::core::PSTR,
+ pub Flags: u32,
+ pub ValueSize: u32,
+ pub Value: *mut u8,
+}
+impl ::core::marker::Copy for CREDENTIAL_ATTRIBUTEA {}
+impl ::core::clone::Clone for CREDENTIAL_ATTRIBUTEA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub struct CREDENTIAL_ATTRIBUTEW {
+ pub Keyword: ::windows_sys::core::PWSTR,
+ pub Flags: u32,
+ pub ValueSize: u32,
+ pub Value: *mut u8,
+}
+impl ::core::marker::Copy for CREDENTIAL_ATTRIBUTEW {}
+impl ::core::clone::Clone for CREDENTIAL_ATTRIBUTEW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub struct CREDENTIAL_TARGET_INFORMATIONA {
+ pub TargetName: ::windows_sys::core::PSTR,
+ pub NetbiosServerName: ::windows_sys::core::PSTR,
+ pub DnsServerName: ::windows_sys::core::PSTR,
+ pub NetbiosDomainName: ::windows_sys::core::PSTR,
+ pub DnsDomainName: ::windows_sys::core::PSTR,
+ pub DnsTreeName: ::windows_sys::core::PSTR,
+ pub PackageName: ::windows_sys::core::PSTR,
+ pub Flags: u32,
+ pub CredTypeCount: u32,
+ pub CredTypes: *mut u32,
+}
+impl ::core::marker::Copy for CREDENTIAL_TARGET_INFORMATIONA {}
+impl ::core::clone::Clone for CREDENTIAL_TARGET_INFORMATIONA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub struct CREDENTIAL_TARGET_INFORMATIONW {
+ pub TargetName: ::windows_sys::core::PWSTR,
+ pub NetbiosServerName: ::windows_sys::core::PWSTR,
+ pub DnsServerName: ::windows_sys::core::PWSTR,
+ pub NetbiosDomainName: ::windows_sys::core::PWSTR,
+ pub DnsDomainName: ::windows_sys::core::PWSTR,
+ pub DnsTreeName: ::windows_sys::core::PWSTR,
+ pub PackageName: ::windows_sys::core::PWSTR,
+ pub Flags: u32,
+ pub CredTypeCount: u32,
+ pub CredTypes: *mut u32,
+}
+impl ::core::marker::Copy for CREDENTIAL_TARGET_INFORMATIONW {}
+impl ::core::clone::Clone for CREDENTIAL_TARGET_INFORMATIONW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub type CREDSPP_SUBMIT_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CredsspPasswordCreds: CREDSPP_SUBMIT_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CredsspSchannelCreds: CREDSPP_SUBMIT_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CredsspCertificateCreds: CREDSPP_SUBMIT_TYPE = 13i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CredsspSubmitBufferBoth: CREDSPP_SUBMIT_TYPE = 50i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CredsspSubmitBufferBothOld: CREDSPP_SUBMIT_TYPE = 51i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CredsspCredEx: CREDSPP_SUBMIT_TYPE = 100i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub struct CREDSSP_CRED {
+ pub Type: CREDSPP_SUBMIT_TYPE,
+ pub pSchannelCred: *mut ::core::ffi::c_void,
+ pub pSpnegoCred: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for CREDSSP_CRED {}
+impl ::core::clone::Clone for CREDSSP_CRED {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub struct CREDSSP_CRED_EX {
+ pub Type: CREDSPP_SUBMIT_TYPE,
+ pub Version: u32,
+ pub Flags: u32,
+ pub Reserved: u32,
+ pub Cred: CREDSSP_CRED,
+}
+impl ::core::marker::Copy for CREDSSP_CRED_EX {}
+impl ::core::clone::Clone for CREDSSP_CRED_EX {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDSSP_CRED_EX_VERSION: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDSSP_FLAG_REDIRECT: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDSSP_NAME: &str = "CREDSSP";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDSSP_SERVER_AUTH_CERTIFICATE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDSSP_SERVER_AUTH_LOOPBACK: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDSSP_SERVER_AUTH_NEGOTIATE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUIWIN_DOWNLEVEL_HELLO_AS_SMART_CARD: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub type CREDUIWIN_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUIWIN_GENERIC: CREDUIWIN_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUIWIN_CHECKBOX: CREDUIWIN_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUIWIN_AUTHPACKAGE_ONLY: CREDUIWIN_FLAGS = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUIWIN_IN_CRED_ONLY: CREDUIWIN_FLAGS = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUIWIN_ENUMERATE_ADMINS: CREDUIWIN_FLAGS = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUIWIN_ENUMERATE_CURRENT_USER: CREDUIWIN_FLAGS = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUIWIN_SECURE_PROMPT: CREDUIWIN_FLAGS = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUIWIN_PREPROMPTING: CREDUIWIN_FLAGS = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUIWIN_PACK_32_WOW: CREDUIWIN_FLAGS = 268435456u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUIWIN_IGNORE_CLOUDAUTHORITY_NAME: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub type CREDUI_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUI_FLAGS_ALWAYS_SHOW_UI: CREDUI_FLAGS = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUI_FLAGS_COMPLETE_USERNAME: CREDUI_FLAGS = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUI_FLAGS_DO_NOT_PERSIST: CREDUI_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUI_FLAGS_EXCLUDE_CERTIFICATES: CREDUI_FLAGS = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUI_FLAGS_EXPECT_CONFIRMATION: CREDUI_FLAGS = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUI_FLAGS_GENERIC_CREDENTIALS: CREDUI_FLAGS = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUI_FLAGS_INCORRECT_PASSWORD: CREDUI_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUI_FLAGS_KEEP_USERNAME: CREDUI_FLAGS = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUI_FLAGS_PASSWORD_ONLY_OK: CREDUI_FLAGS = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUI_FLAGS_PERSIST: CREDUI_FLAGS = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUI_FLAGS_REQUEST_ADMINISTRATOR: CREDUI_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUI_FLAGS_REQUIRE_CERTIFICATE: CREDUI_FLAGS = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUI_FLAGS_REQUIRE_SMARTCARD: CREDUI_FLAGS = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUI_FLAGS_SERVER_CREDENTIAL: CREDUI_FLAGS = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUI_FLAGS_SHOW_SAVE_CHECK_BOX: CREDUI_FLAGS = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUI_FLAGS_USERNAME_TARGET_CREDENTIALS: CREDUI_FLAGS = 524288u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUI_FLAGS_VALIDATE_USERNAME: CREDUI_FLAGS = 1024u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+pub struct CREDUI_INFOA {
+ pub cbSize: u32,
+ pub hwndParent: super::super::Foundation::HWND,
+ pub pszMessageText: ::windows_sys::core::PCSTR,
+ pub pszCaptionText: ::windows_sys::core::PCSTR,
+ pub hbmBanner: super::super::Graphics::Gdi::HBITMAP,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+impl ::core::marker::Copy for CREDUI_INFOA {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+impl ::core::clone::Clone for CREDUI_INFOA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+pub struct CREDUI_INFOW {
+ pub cbSize: u32,
+ pub hwndParent: super::super::Foundation::HWND,
+ pub pszMessageText: ::windows_sys::core::PCWSTR,
+ pub pszCaptionText: ::windows_sys::core::PCWSTR,
+ pub hbmBanner: super::super::Graphics::Gdi::HBITMAP,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+impl ::core::marker::Copy for CREDUI_INFOW {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))]
+impl ::core::clone::Clone for CREDUI_INFOW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUI_MAX_CAPTION_LENGTH: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUI_MAX_GENERIC_TARGET_LENGTH: u32 = 32767u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CREDUI_MAX_MESSAGE_LENGTH: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_ALLOW_NAME_RESOLUTION: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_CACHE_TARGET_INFORMATION: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub type CRED_ENUMERATE_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_ENUMERATE_ALL_CREDENTIALS: CRED_ENUMERATE_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub type CRED_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_FLAGS_PASSWORD_FOR_CERT: CRED_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_FLAGS_PROMPT_NOW: CRED_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_FLAGS_USERNAME_TARGET: CRED_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_FLAGS_OWF_CRED_BLOB: CRED_FLAGS = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_FLAGS_REQUIRE_CONFIRMATION: CRED_FLAGS = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_FLAGS_WILDCARD_MATCH: CRED_FLAGS = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_FLAGS_VSM_PROTECTED: CRED_FLAGS = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_FLAGS_NGC_CERT: CRED_FLAGS = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_FLAGS_VALID_FLAGS: CRED_FLAGS = 61695u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_FLAGS_VALID_INPUT_FLAGS: CRED_FLAGS = 61599u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_LOGON_TYPES_MASK: u32 = 61440u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub type CRED_MARSHAL_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CertCredential: CRED_MARSHAL_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const UsernameTargetCredential: CRED_MARSHAL_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const BinaryBlobCredential: CRED_MARSHAL_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const UsernameForPackedCredentials: CRED_MARSHAL_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const BinaryBlobForSystem: CRED_MARSHAL_TYPE = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_MAX_ATTRIBUTES: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_MAX_GENERIC_TARGET_NAME_LENGTH: u32 = 32767u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_MAX_STRING_LENGTH: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_MAX_TARGETNAME_ATTRIBUTE_LENGTH: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_MAX_TARGETNAME_NAMESPACE_LENGTH: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_MAX_VALUE_SIZE: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub type CRED_PACK_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_PACK_PROTECTED_CREDENTIALS: CRED_PACK_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_PACK_WOW_BUFFER: CRED_PACK_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_PACK_GENERIC_CREDENTIALS: CRED_PACK_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_PACK_ID_PROVIDER_CREDENTIALS: CRED_PACK_FLAGS = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub type CRED_PERSIST = u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_PERSIST_NONE: CRED_PERSIST = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_PERSIST_SESSION: CRED_PERSIST = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_PERSIST_LOCAL_MACHINE: CRED_PERSIST = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_PERSIST_ENTERPRISE: CRED_PERSIST = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_PRESERVE_CREDENTIAL_BLOB: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub type CRED_PROTECTION_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CredUnprotected: CRED_PROTECTION_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CredUserProtection: CRED_PROTECTION_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CredTrustedProtection: CRED_PROTECTION_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CredForSystemProtection: CRED_PROTECTION_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_PROTECT_AS_SELF: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_PROTECT_TO_SYSTEM: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_SESSION_WILDCARD_NAME: &str = "*Session";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_SESSION_WILDCARD_NAME_A: &str = "*Session";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_SESSION_WILDCARD_NAME_W: &str = "*Session";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_ATTRIBUTE_BATCH: &str = "batch";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_ATTRIBUTE_BATCH_A: &str = "batch";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_ATTRIBUTE_BATCH_W: &str = "batch";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_ATTRIBUTE_CACHEDINTERACTIVE: &str = "cachedinteractive";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_ATTRIBUTE_CACHEDINTERACTIVE_A: &str = "cachedinteractive";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_ATTRIBUTE_CACHEDINTERACTIVE_W: &str = "cachedinteractive";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_ATTRIBUTE_INTERACTIVE: &str = "interactive";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_ATTRIBUTE_INTERACTIVE_A: &str = "interactive";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_ATTRIBUTE_INTERACTIVE_W: &str = "interactive";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_ATTRIBUTE_NAME: &str = "name";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_ATTRIBUTE_NAME_A: &str = "name";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_ATTRIBUTE_NAME_W: &str = "name";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_ATTRIBUTE_NETWORK: &str = "network";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_ATTRIBUTE_NETWORKCLEARTEXT: &str = "networkcleartext";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_ATTRIBUTE_NETWORKCLEARTEXT_A: &str = "networkcleartext";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_ATTRIBUTE_NETWORKCLEARTEXT_W: &str = "networkcleartext";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_ATTRIBUTE_NETWORK_A: &str = "network";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_ATTRIBUTE_NETWORK_W: &str = "network";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_ATTRIBUTE_REMOTEINTERACTIVE: &str = "remoteinteractive";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_ATTRIBUTE_REMOTEINTERACTIVE_A: &str = "remoteinteractive";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_ATTRIBUTE_REMOTEINTERACTIVE_W: &str = "remoteinteractive";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_ATTRIBUTE_SERVICE: &str = "service";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_ATTRIBUTE_SERVICE_A: &str = "service";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_ATTRIBUTE_SERVICE_W: &str = "service";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_ATTRIBUTE_TARGET: &str = "target";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_ATTRIBUTE_TARGET_A: &str = "target";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_ATTRIBUTE_TARGET_W: &str = "target";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_DOMAIN_NAMESPACE: &str = "Domain";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_DOMAIN_NAMESPACE_A: &str = "Domain";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_DOMAIN_NAMESPACE_W: &str = "Domain";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_LEGACYGENERIC_NAMESPACE_A: &str = "LegacyGeneric";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TARGETNAME_LEGACYGENERIC_NAMESPACE_W: &str = "LegacyGeneric";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TI_CREATE_EXPLICIT_CRED: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TI_DNSTREE_IS_DFS_SERVER: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TI_DOMAIN_FORMAT_UNKNOWN: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TI_ONLY_PASSWORD_REQUIRED: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TI_SERVER_FORMAT_UNKNOWN: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TI_USERNAME_TARGET: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TI_VALID_FLAGS: u32 = 61567u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TI_WORKGROUP_MEMBER: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub type CRED_TYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TYPE_GENERIC: CRED_TYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TYPE_DOMAIN_PASSWORD: CRED_TYPE = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TYPE_DOMAIN_CERTIFICATE: CRED_TYPE = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TYPE_DOMAIN_VISIBLE_PASSWORD: CRED_TYPE = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TYPE_GENERIC_CERTIFICATE: CRED_TYPE = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TYPE_DOMAIN_EXTENDED: CRED_TYPE = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TYPE_MAXIMUM: CRED_TYPE = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_TYPE_MAXIMUM_EX: CRED_TYPE = 1007u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_UNPROTECT_ALLOW_TO_SYSTEM: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const CRED_UNPROTECT_AS_SELF: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const FILE_DEVICE_SMARTCARD: u32 = 49u32;
+pub const GUID_DEVINTERFACE_SMARTCARD_READER: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1356681776, data2: 47754, data3: 4561, data4: [191, 93, 0, 0, 248, 5, 245, 48] };
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub struct KeyCredentialManagerInfo {
+ pub containerId: ::windows_sys::core::GUID,
+}
+impl ::core::marker::Copy for KeyCredentialManagerInfo {}
+impl ::core::clone::Clone for KeyCredentialManagerInfo {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub type KeyCredentialManagerOperationErrorStates = u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const KeyCredentialManagerOperationErrorStateNone: KeyCredentialManagerOperationErrorStates = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const KeyCredentialManagerOperationErrorStateDeviceJoinFailure: KeyCredentialManagerOperationErrorStates = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const KeyCredentialManagerOperationErrorStateTokenFailure: KeyCredentialManagerOperationErrorStates = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const KeyCredentialManagerOperationErrorStateCertificateFailure: KeyCredentialManagerOperationErrorStates = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const KeyCredentialManagerOperationErrorStateRemoteSessionFailure: KeyCredentialManagerOperationErrorStates = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const KeyCredentialManagerOperationErrorStatePolicyFailure: KeyCredentialManagerOperationErrorStates = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const KeyCredentialManagerOperationErrorStateHardwareFailure: KeyCredentialManagerOperationErrorStates = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const KeyCredentialManagerOperationErrorStatePinExistsFailure: KeyCredentialManagerOperationErrorStates = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub type KeyCredentialManagerOperationType = i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const KeyCredentialManagerProvisioning: KeyCredentialManagerOperationType = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const KeyCredentialManagerPinChange: KeyCredentialManagerOperationType = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const KeyCredentialManagerPinReset: KeyCredentialManagerOperationType = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type LPOCNCHKPROC = ::core::option::Option<unsafe extern "system" fn(param0: usize, param1: usize, param2: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub type LPOCNCONNPROCA = ::core::option::Option<unsafe extern "system" fn(param0: usize, param1: ::windows_sys::core::PCSTR, param2: ::windows_sys::core::PCSTR, param3: *const ::core::ffi::c_void) -> usize>;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub type LPOCNCONNPROCW = ::core::option::Option<unsafe extern "system" fn(param0: usize, param1: ::windows_sys::core::PCWSTR, param2: ::windows_sys::core::PCWSTR, param3: *const ::core::ffi::c_void) -> usize>;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub type LPOCNDSCPROC = ::core::option::Option<unsafe extern "system" fn(param0: usize, param1: usize, param2: *const ::core::ffi::c_void)>;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const MAXIMUM_ATTR_STRING_LENGTH: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const MAXIMUM_SMARTCARD_READERS: u32 = 10u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct OPENCARDNAMEA {
+ pub dwStructSize: u32,
+ pub hwndOwner: super::super::Foundation::HWND,
+ pub hSCardContext: usize,
+ pub lpstrGroupNames: ::windows_sys::core::PSTR,
+ pub nMaxGroupNames: u32,
+ pub lpstrCardNames: ::windows_sys::core::PSTR,
+ pub nMaxCardNames: u32,
+ pub rgguidInterfaces: *const ::windows_sys::core::GUID,
+ pub cguidInterfaces: u32,
+ pub lpstrRdr: ::windows_sys::core::PSTR,
+ pub nMaxRdr: u32,
+ pub lpstrCard: ::windows_sys::core::PSTR,
+ pub nMaxCard: u32,
+ pub lpstrTitle: ::windows_sys::core::PCSTR,
+ pub dwFlags: u32,
+ pub pvUserData: *mut ::core::ffi::c_void,
+ pub dwShareMode: u32,
+ pub dwPreferredProtocols: u32,
+ pub dwActiveProtocol: u32,
+ pub lpfnConnect: LPOCNCONNPROCA,
+ pub lpfnCheck: LPOCNCHKPROC,
+ pub lpfnDisconnect: LPOCNDSCPROC,
+ pub hCardHandle: usize,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for OPENCARDNAMEA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for OPENCARDNAMEA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct OPENCARDNAMEW {
+ pub dwStructSize: u32,
+ pub hwndOwner: super::super::Foundation::HWND,
+ pub hSCardContext: usize,
+ pub lpstrGroupNames: ::windows_sys::core::PWSTR,
+ pub nMaxGroupNames: u32,
+ pub lpstrCardNames: ::windows_sys::core::PWSTR,
+ pub nMaxCardNames: u32,
+ pub rgguidInterfaces: *const ::windows_sys::core::GUID,
+ pub cguidInterfaces: u32,
+ pub lpstrRdr: ::windows_sys::core::PWSTR,
+ pub nMaxRdr: u32,
+ pub lpstrCard: ::windows_sys::core::PWSTR,
+ pub nMaxCard: u32,
+ pub lpstrTitle: ::windows_sys::core::PCWSTR,
+ pub dwFlags: u32,
+ pub pvUserData: *mut ::core::ffi::c_void,
+ pub dwShareMode: u32,
+ pub dwPreferredProtocols: u32,
+ pub dwActiveProtocol: u32,
+ pub lpfnConnect: LPOCNCONNPROCW,
+ pub lpfnCheck: LPOCNCHKPROC,
+ pub lpfnDisconnect: LPOCNDSCPROC,
+ pub hCardHandle: usize,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for OPENCARDNAMEW {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for OPENCARDNAMEW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
+pub struct OPENCARDNAME_EXA {
+ pub dwStructSize: u32,
+ pub hSCardContext: usize,
+ pub hwndOwner: super::super::Foundation::HWND,
+ pub dwFlags: u32,
+ pub lpstrTitle: ::windows_sys::core::PCSTR,
+ pub lpstrSearchDesc: ::windows_sys::core::PCSTR,
+ pub hIcon: super::super::UI::WindowsAndMessaging::HICON,
+ pub pOpenCardSearchCriteria: *mut OPENCARD_SEARCH_CRITERIAA,
+ pub lpfnConnect: LPOCNCONNPROCA,
+ pub pvUserData: *mut ::core::ffi::c_void,
+ pub dwShareMode: u32,
+ pub dwPreferredProtocols: u32,
+ pub lpstrRdr: ::windows_sys::core::PSTR,
+ pub nMaxRdr: u32,
+ pub lpstrCard: ::windows_sys::core::PSTR,
+ pub nMaxCard: u32,
+ pub dwActiveProtocol: u32,
+ pub hCardHandle: usize,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
+impl ::core::marker::Copy for OPENCARDNAME_EXA {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
+impl ::core::clone::Clone for OPENCARDNAME_EXA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
+pub struct OPENCARDNAME_EXW {
+ pub dwStructSize: u32,
+ pub hSCardContext: usize,
+ pub hwndOwner: super::super::Foundation::HWND,
+ pub dwFlags: u32,
+ pub lpstrTitle: ::windows_sys::core::PCWSTR,
+ pub lpstrSearchDesc: ::windows_sys::core::PCWSTR,
+ pub hIcon: super::super::UI::WindowsAndMessaging::HICON,
+ pub pOpenCardSearchCriteria: *mut OPENCARD_SEARCH_CRITERIAW,
+ pub lpfnConnect: LPOCNCONNPROCW,
+ pub pvUserData: *mut ::core::ffi::c_void,
+ pub dwShareMode: u32,
+ pub dwPreferredProtocols: u32,
+ pub lpstrRdr: ::windows_sys::core::PWSTR,
+ pub nMaxRdr: u32,
+ pub lpstrCard: ::windows_sys::core::PWSTR,
+ pub nMaxCard: u32,
+ pub dwActiveProtocol: u32,
+ pub hCardHandle: usize,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
+impl ::core::marker::Copy for OPENCARDNAME_EXW {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
+impl ::core::clone::Clone for OPENCARDNAME_EXW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct OPENCARD_SEARCH_CRITERIAA {
+ pub dwStructSize: u32,
+ pub lpstrGroupNames: ::windows_sys::core::PSTR,
+ pub nMaxGroupNames: u32,
+ pub rgguidInterfaces: *const ::windows_sys::core::GUID,
+ pub cguidInterfaces: u32,
+ pub lpstrCardNames: ::windows_sys::core::PSTR,
+ pub nMaxCardNames: u32,
+ pub lpfnCheck: LPOCNCHKPROC,
+ pub lpfnConnect: LPOCNCONNPROCA,
+ pub lpfnDisconnect: LPOCNDSCPROC,
+ pub pvUserData: *mut ::core::ffi::c_void,
+ pub dwShareMode: u32,
+ pub dwPreferredProtocols: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for OPENCARD_SEARCH_CRITERIAA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for OPENCARD_SEARCH_CRITERIAA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct OPENCARD_SEARCH_CRITERIAW {
+ pub dwStructSize: u32,
+ pub lpstrGroupNames: ::windows_sys::core::PWSTR,
+ pub nMaxGroupNames: u32,
+ pub rgguidInterfaces: *const ::windows_sys::core::GUID,
+ pub cguidInterfaces: u32,
+ pub lpstrCardNames: ::windows_sys::core::PWSTR,
+ pub nMaxCardNames: u32,
+ pub lpfnCheck: LPOCNCHKPROC,
+ pub lpfnConnect: LPOCNCONNPROCW,
+ pub lpfnDisconnect: LPOCNDSCPROC,
+ pub pvUserData: *mut ::core::ffi::c_void,
+ pub dwShareMode: u32,
+ pub dwPreferredProtocols: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for OPENCARD_SEARCH_CRITERIAW {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for OPENCARD_SEARCH_CRITERIAW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub struct READER_SEL_REQUEST {
+ pub dwShareMode: u32,
+ pub dwPreferredProtocols: u32,
+ pub MatchType: READER_SEL_REQUEST_MATCH_TYPE,
+ pub Anonymous: READER_SEL_REQUEST_0,
+}
+impl ::core::marker::Copy for READER_SEL_REQUEST {}
+impl ::core::clone::Clone for READER_SEL_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub union READER_SEL_REQUEST_0 {
+ pub ReaderAndContainerParameter: READER_SEL_REQUEST_0_0,
+ pub SerialNumberParameter: READER_SEL_REQUEST_0_1,
+}
+impl ::core::marker::Copy for READER_SEL_REQUEST_0 {}
+impl ::core::clone::Clone for READER_SEL_REQUEST_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub struct READER_SEL_REQUEST_0_0 {
+ pub cbReaderNameOffset: u32,
+ pub cchReaderNameLength: u32,
+ pub cbContainerNameOffset: u32,
+ pub cchContainerNameLength: u32,
+ pub dwDesiredCardModuleVersion: u32,
+ pub dwCspFlags: u32,
+}
+impl ::core::marker::Copy for READER_SEL_REQUEST_0_0 {}
+impl ::core::clone::Clone for READER_SEL_REQUEST_0_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub struct READER_SEL_REQUEST_0_1 {
+ pub cbSerialNumberOffset: u32,
+ pub cbSerialNumberLength: u32,
+ pub dwDesiredCardModuleVersion: u32,
+}
+impl ::core::marker::Copy for READER_SEL_REQUEST_0_1 {}
+impl ::core::clone::Clone for READER_SEL_REQUEST_0_1 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub type READER_SEL_REQUEST_MATCH_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const RSR_MATCH_TYPE_READER_AND_CONTAINER: READER_SEL_REQUEST_MATCH_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const RSR_MATCH_TYPE_SERIAL_NUMBER: READER_SEL_REQUEST_MATCH_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const RSR_MATCH_TYPE_ALL_CARDS: READER_SEL_REQUEST_MATCH_TYPE = 3i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub struct READER_SEL_RESPONSE {
+ pub cbReaderNameOffset: u32,
+ pub cchReaderNameLength: u32,
+ pub cbCardNameOffset: u32,
+ pub cchCardNameLength: u32,
+}
+impl ::core::marker::Copy for READER_SEL_RESPONSE {}
+impl ::core::clone::Clone for READER_SEL_RESPONSE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_ABSENT: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_ALL_READERS: &str = "SCard$AllReaders\u{0}00";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub struct SCARD_ATRMASK {
+ pub cbAtr: u32,
+ pub rgbAtr: [u8; 36],
+ pub rgbMask: [u8; 36],
+}
+impl ::core::marker::Copy for SCARD_ATRMASK {}
+impl ::core::clone::Clone for SCARD_ATRMASK {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_ATR_LENGTH: u32 = 33u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_AUDIT_CHV_FAILURE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_AUDIT_CHV_SUCCESS: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_CLASS_COMMUNICATIONS: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_CLASS_ICC_STATE: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_CLASS_IFD_PROTOCOL: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_CLASS_MECHANICAL: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_CLASS_PERF: u32 = 32766u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_CLASS_POWER_MGMT: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_CLASS_PROTOCOL: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_CLASS_SECURITY: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_CLASS_SYSTEM: u32 = 32767u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_CLASS_VENDOR_DEFINED: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_CLASS_VENDOR_INFO: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_COLD_RESET: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_DEFAULT_READERS: &str = "SCard$DefaultReaders\u{0}00";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_EJECT_CARD: u32 = 3u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub struct SCARD_IO_REQUEST {
+ pub dwProtocol: u32,
+ pub cbPciLength: u32,
+}
+impl ::core::marker::Copy for SCARD_IO_REQUEST {}
+impl ::core::clone::Clone for SCARD_IO_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_LEAVE_CARD: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_LOCAL_READERS: &str = "SCard$LocalReaders\u{0}00";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_NEGOTIABLE: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_POWERED: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_POWER_DOWN: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_PRESENT: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_PROTOCOL_DEFAULT: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_PROTOCOL_OPTIMAL: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_PROTOCOL_RAW: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_PROTOCOL_T0: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_PROTOCOL_T1: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_PROTOCOL_UNDEFINED: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_PROVIDER_CSP: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_PROVIDER_KSP: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_PROVIDER_PRIMARY: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub struct SCARD_READERSTATEA {
+ pub szReader: ::windows_sys::core::PCSTR,
+ pub pvUserData: *mut ::core::ffi::c_void,
+ pub dwCurrentState: SCARD_STATE,
+ pub dwEventState: SCARD_STATE,
+ pub cbAtr: u32,
+ pub rgbAtr: [u8; 36],
+}
+impl ::core::marker::Copy for SCARD_READERSTATEA {}
+impl ::core::clone::Clone for SCARD_READERSTATEA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub struct SCARD_READERSTATEW {
+ pub szReader: ::windows_sys::core::PCWSTR,
+ pub pvUserData: *mut ::core::ffi::c_void,
+ pub dwCurrentState: SCARD_STATE,
+ pub dwEventState: SCARD_STATE,
+ pub cbAtr: u32,
+ pub rgbAtr: [u8; 36],
+}
+impl ::core::marker::Copy for SCARD_READERSTATEW {}
+impl ::core::clone::Clone for SCARD_READERSTATEW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_READER_CONFISCATES: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_READER_CONTACTLESS: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_READER_EJECTS: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_READER_SWALLOWS: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_READER_TYPE_EMBEDDEDSE: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_READER_TYPE_IDE: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_READER_TYPE_KEYBOARD: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_READER_TYPE_NFC: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_READER_TYPE_NGC: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_READER_TYPE_PARALELL: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_READER_TYPE_PCMCIA: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_READER_TYPE_SCSI: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_READER_TYPE_SERIAL: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_READER_TYPE_TPM: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_READER_TYPE_UICC: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_READER_TYPE_USB: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_READER_TYPE_VENDOR: u32 = 240u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_RESET_CARD: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub type SCARD_SCOPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_SCOPE_USER: SCARD_SCOPE = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_SCOPE_SYSTEM: SCARD_SCOPE = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_SCOPE_TERMINAL: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_SHARE_DIRECT: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_SHARE_EXCLUSIVE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_SHARE_SHARED: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_SPECIFIC: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub type SCARD_STATE = u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_STATE_UNAWARE: SCARD_STATE = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_STATE_IGNORE: SCARD_STATE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_STATE_UNAVAILABLE: SCARD_STATE = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_STATE_EMPTY: SCARD_STATE = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_STATE_PRESENT: SCARD_STATE = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_STATE_ATRMATCH: SCARD_STATE = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_STATE_EXCLUSIVE: SCARD_STATE = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_STATE_INUSE: SCARD_STATE = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_STATE_MUTE: SCARD_STATE = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_STATE_CHANGED: SCARD_STATE = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_STATE_UNKNOWN: SCARD_STATE = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_STATE_UNPOWERED: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_SWALLOWED: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_SYSTEM_READERS: &str = "SCard$SystemReaders\u{0}00";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_T0_CMD_LENGTH: u32 = 5u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub struct SCARD_T0_COMMAND {
+ pub bCla: u8,
+ pub bIns: u8,
+ pub bP1: u8,
+ pub bP2: u8,
+ pub bP3: u8,
+}
+impl ::core::marker::Copy for SCARD_T0_COMMAND {}
+impl ::core::clone::Clone for SCARD_T0_COMMAND {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_T0_HEADER_LENGTH: u32 = 7u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub struct SCARD_T0_REQUEST {
+ pub ioRequest: SCARD_IO_REQUEST,
+ pub bSw1: u8,
+ pub bSw2: u8,
+ pub Anonymous: SCARD_T0_REQUEST_0,
+}
+impl ::core::marker::Copy for SCARD_T0_REQUEST {}
+impl ::core::clone::Clone for SCARD_T0_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub union SCARD_T0_REQUEST_0 {
+ pub CmdBytes: SCARD_T0_COMMAND,
+ pub rgbHeader: [u8; 5],
+}
+impl ::core::marker::Copy for SCARD_T0_REQUEST_0 {}
+impl ::core::clone::Clone for SCARD_T0_REQUEST_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_T1_EPILOGUE_LENGTH: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_T1_EPILOGUE_LENGTH_LRC: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_T1_MAX_IFS: u32 = 254u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_T1_PROLOGUE_LENGTH: u32 = 3u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub struct SCARD_T1_REQUEST {
+ pub ioRequest: SCARD_IO_REQUEST,
+}
+impl ::core::marker::Copy for SCARD_T1_REQUEST {}
+impl ::core::clone::Clone for SCARD_T1_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_UNKNOWN: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_UNPOWER_CARD: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCARD_WARM_RESET: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCERR_NOCARDNAME: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SCERR_NOGUIDS: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SC_DLG_FORCE_UI: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SC_DLG_MINIMAL_UI: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SC_DLG_NO_UI: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SECPKG_ALT_ATTR: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const SECPKG_ATTR_C_FULL_IDENT_TOKEN: u32 = 2147483781u32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub const STATUS_ACCOUNT_DISABLED: super::super::Foundation::NTSTATUS = -1073741710i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub const STATUS_ACCOUNT_EXPIRED: super::super::Foundation::NTSTATUS = -1073741421i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub const STATUS_ACCOUNT_LOCKED_OUT: super::super::Foundation::NTSTATUS = -1073741260i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub const STATUS_ACCOUNT_RESTRICTION: super::super::Foundation::NTSTATUS = -1073741714i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub const STATUS_AUTHENTICATION_FIREWALL_FAILED: super::super::Foundation::NTSTATUS = -1073740781i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub const STATUS_DOWNGRADE_DETECTED: super::super::Foundation::NTSTATUS = -1073740920i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub const STATUS_LOGON_FAILURE: super::super::Foundation::NTSTATUS = -1073741715i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub const STATUS_LOGON_TYPE_NOT_GRANTED: super::super::Foundation::NTSTATUS = -1073741477i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub const STATUS_NO_SUCH_LOGON_SESSION: super::super::Foundation::NTSTATUS = -1073741729i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub const STATUS_NO_SUCH_USER: super::super::Foundation::NTSTATUS = -1073741724i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub const STATUS_PASSWORD_EXPIRED: super::super::Foundation::NTSTATUS = -1073741711i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub const STATUS_PASSWORD_MUST_CHANGE: super::super::Foundation::NTSTATUS = -1073741276i32;
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub const STATUS_WRONG_PASSWORD: super::super::Foundation::NTSTATUS = -1073741718i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub struct SecHandle {
+ pub dwLower: usize,
+ pub dwUpper: usize,
+}
+impl ::core::marker::Copy for SecHandle {}
+impl ::core::clone::Clone for SecHandle {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub struct SecPkgContext_ClientCreds {
+ pub AuthBufferLen: u32,
+ pub AuthBuffer: *mut u8,
+}
+impl ::core::marker::Copy for SecPkgContext_ClientCreds {}
+impl ::core::clone::Clone for SecPkgContext_ClientCreds {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const TS_SSP_NAME: &str = "TSSSP";
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const TS_SSP_NAME_A: &str = "TSSSP";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub struct USERNAME_TARGET_CREDENTIAL_INFO {
+ pub UserName: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for USERNAME_TARGET_CREDENTIAL_INFO {}
+impl ::core::clone::Clone for USERNAME_TARGET_CREDENTIAL_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Credentials\"`*"]
+pub const szOID_TS_KP_TS_SERVER_AUTH: &str = "1.3.6.1.4.1.311.54.1.2";
diff --git a/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Catalog/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Catalog/mod.rs
new file mode 100644
index 000000000..ab8517065
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Catalog/mod.rs
@@ -0,0 +1,282 @@
+#[link(name = "windows")]
+extern "system" {
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptCATAdminAcquireContext(phcatadmin: *mut isize, pgsubsystem: *const ::windows_sys::core::GUID, dwflags: u32) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptCATAdminAcquireContext2(phcatadmin: *mut isize, pgsubsystem: *const ::windows_sys::core::GUID, pwszhashalgorithm: ::windows_sys::core::PCWSTR, pstronghashpolicy: *const super::CERT_STRONG_SIGN_PARA, dwflags: u32) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+ pub fn CryptCATAdminAddCatalog(hcatadmin: isize, pwszcatalogfile: ::windows_sys::core::PCWSTR, pwszselectbasename: ::windows_sys::core::PCWSTR, dwflags: u32) -> isize;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptCATAdminCalcHashFromFileHandle(hfile: super::super::super::Foundation::HANDLE, pcbhash: *mut u32, pbhash: *mut u8, dwflags: u32) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptCATAdminCalcHashFromFileHandle2(hcatadmin: isize, hfile: super::super::super::Foundation::HANDLE, pcbhash: *mut u32, pbhash: *mut u8, dwflags: u32) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+ pub fn CryptCATAdminEnumCatalogFromHash(hcatadmin: isize, pbhash: *const u8, cbhash: u32, dwflags: u32, phprevcatinfo: *mut isize) -> isize;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptCATAdminPauseServiceForBackup(dwflags: u32, fresume: super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptCATAdminReleaseCatalogContext(hcatadmin: isize, hcatinfo: isize, dwflags: u32) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptCATAdminReleaseContext(hcatadmin: isize, dwflags: u32) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptCATAdminRemoveCatalog(hcatadmin: isize, pwszcatalogfile: ::windows_sys::core::PCWSTR, dwflags: u32) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptCATAdminResolveCatalogPath(hcatadmin: isize, pwszcatalogfile: ::windows_sys::core::PCWSTR, pscatinfo: *mut CATALOG_INFO, dwflags: u32) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
+ pub fn CryptCATAllocSortedMemberInfo(hcatalog: super::super::super::Foundation::HANDLE, pwszreferencetag: ::windows_sys::core::PCWSTR) -> *mut CRYPTCATMEMBER;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptCATCDFClose(pcdf: *mut CRYPTCATCDF) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
+ pub fn CryptCATCDFEnumAttributes(pcdf: *mut CRYPTCATCDF, pmember: *mut CRYPTCATMEMBER, pprevattr: *mut CRYPTCATATTRIBUTE, pfnparseerror: PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATATTRIBUTE;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptCATCDFEnumCatAttributes(pcdf: *mut CRYPTCATCDF, pprevattr: *mut CRYPTCATATTRIBUTE, pfnparseerror: PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATATTRIBUTE;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
+ pub fn CryptCATCDFEnumMembers(pcdf: *mut CRYPTCATCDF, pprevmember: *mut CRYPTCATMEMBER, pfnparseerror: PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATMEMBER;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptCATCDFOpen(pwszfilepath: ::windows_sys::core::PCWSTR, pfnparseerror: PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATCDF;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptCATCatalogInfoFromContext(hcatinfo: isize, pscatinfo: *mut CATALOG_INFO, dwflags: u32) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptCATClose(hcatalog: super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
+ pub fn CryptCATEnumerateAttr(hcatalog: super::super::super::Foundation::HANDLE, pcatmember: *mut CRYPTCATMEMBER, pprevattr: *mut CRYPTCATATTRIBUTE) -> *mut CRYPTCATATTRIBUTE;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptCATEnumerateCatAttr(hcatalog: super::super::super::Foundation::HANDLE, pprevattr: *mut CRYPTCATATTRIBUTE) -> *mut CRYPTCATATTRIBUTE;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
+ pub fn CryptCATEnumerateMember(hcatalog: super::super::super::Foundation::HANDLE, pprevmember: *mut CRYPTCATMEMBER) -> *mut CRYPTCATMEMBER;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
+ pub fn CryptCATFreeSortedMemberInfo(hcatalog: super::super::super::Foundation::HANDLE, pcatmember: *mut CRYPTCATMEMBER);
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
+ pub fn CryptCATGetAttrInfo(hcatalog: super::super::super::Foundation::HANDLE, pcatmember: *mut CRYPTCATMEMBER, pwszreferencetag: ::windows_sys::core::PCWSTR) -> *mut CRYPTCATATTRIBUTE;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptCATGetCatAttrInfo(hcatalog: super::super::super::Foundation::HANDLE, pwszreferencetag: ::windows_sys::core::PCWSTR) -> *mut CRYPTCATATTRIBUTE;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
+ pub fn CryptCATGetMemberInfo(hcatalog: super::super::super::Foundation::HANDLE, pwszreferencetag: ::windows_sys::core::PCWSTR) -> *mut CRYPTCATMEMBER;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptCATHandleFromStore(pcatstore: *mut CRYPTCATSTORE) -> super::super::super::Foundation::HANDLE;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptCATOpen(pwszfilename: ::windows_sys::core::PCWSTR, fdwopenflags: CRYPTCAT_OPEN_FLAGS, hprov: usize, dwpublicversion: CRYPTCAT_VERSION, dwencodingtype: u32) -> super::super::super::Foundation::HANDLE;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptCATPersistStore(hcatalog: super::super::super::Foundation::HANDLE) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
+ pub fn CryptCATPutAttrInfo(hcatalog: super::super::super::Foundation::HANDLE, pcatmember: *mut CRYPTCATMEMBER, pwszreferencetag: ::windows_sys::core::PCWSTR, dwattrtypeandaction: u32, cbdata: u32, pbdata: *mut u8) -> *mut CRYPTCATATTRIBUTE;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptCATPutCatAttrInfo(hcatalog: super::super::super::Foundation::HANDLE, pwszreferencetag: ::windows_sys::core::PCWSTR, dwattrtypeandaction: u32, cbdata: u32, pbdata: *mut u8) -> *mut CRYPTCATATTRIBUTE;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
+ pub fn CryptCATPutMemberInfo(hcatalog: super::super::super::Foundation::HANDLE, pwszfilename: ::windows_sys::core::PCWSTR, pwszreferencetag: ::windows_sys::core::PCWSTR, pgsubjecttype: *mut ::windows_sys::core::GUID, dwcertversion: u32, cbsipindirectdata: u32, pbsipindirectdata: *mut u8) -> *mut CRYPTCATMEMBER;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptCATStoreFromHandle(hcatalog: super::super::super::Foundation::HANDLE) -> *mut CRYPTCATSTORE;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn IsCatalogFile(hfile: super::super::super::Foundation::HANDLE, pwszfilename: ::windows_sys::core::PCWSTR) -> super::super::super::Foundation::BOOL;
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub struct CATALOG_INFO {
+ pub cbStruct: u32,
+ pub wszCatalogFile: [u16; 260],
+}
+impl ::core::marker::Copy for CATALOG_INFO {}
+impl ::core::clone::Clone for CATALOG_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub struct CRYPTCATATTRIBUTE {
+ pub cbStruct: u32,
+ pub pwszReferenceTag: ::windows_sys::core::PWSTR,
+ pub dwAttrTypeAndAction: u32,
+ pub cbValue: u32,
+ pub pbValue: *mut u8,
+ pub dwReserved: u32,
+}
+impl ::core::marker::Copy for CRYPTCATATTRIBUTE {}
+impl ::core::clone::Clone for CRYPTCATATTRIBUTE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRYPTCATCDF {
+ pub cbStruct: u32,
+ pub hFile: super::super::super::Foundation::HANDLE,
+ pub dwCurFilePos: u32,
+ pub dwLastMemberOffset: u32,
+ pub fEOF: super::super::super::Foundation::BOOL,
+ pub pwszResultDir: ::windows_sys::core::PWSTR,
+ pub hCATStore: super::super::super::Foundation::HANDLE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRYPTCATCDF {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRYPTCATCDF {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
+pub struct CRYPTCATMEMBER {
+ pub cbStruct: u32,
+ pub pwszReferenceTag: ::windows_sys::core::PWSTR,
+ pub pwszFileName: ::windows_sys::core::PWSTR,
+ pub gSubjectType: ::windows_sys::core::GUID,
+ pub fdwMemberFlags: u32,
+ pub pIndirectData: *mut super::Sip::SIP_INDIRECT_DATA,
+ pub dwCertVersion: u32,
+ pub dwReserved: u32,
+ pub hReserved: super::super::super::Foundation::HANDLE,
+ pub sEncodedIndirectData: super::CRYPTOAPI_BLOB,
+ pub sEncodedMemberInfo: super::CRYPTOAPI_BLOB,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
+impl ::core::marker::Copy for CRYPTCATMEMBER {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))]
+impl ::core::clone::Clone for CRYPTCATMEMBER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRYPTCATSTORE {
+ pub cbStruct: u32,
+ pub dwPublicVersion: u32,
+ pub pwszP7File: ::windows_sys::core::PWSTR,
+ pub hProv: usize,
+ pub dwEncodingType: u32,
+ pub fdwStoreFlags: CRYPTCAT_OPEN_FLAGS,
+ pub hReserved: super::super::super::Foundation::HANDLE,
+ pub hAttrs: super::super::super::Foundation::HANDLE,
+ pub hCryptMsg: *mut ::core::ffi::c_void,
+ pub hSorted: super::super::super::Foundation::HANDLE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRYPTCATSTORE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRYPTCATSTORE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_ADDCATALOG_HARDLINK: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_ADDCATALOG_NONE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_ATTR_AUTHENTICATED: u32 = 268435456u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_ATTR_DATAASCII: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_ATTR_DATABASE64: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_ATTR_DATAREPLACE: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_ATTR_NAMEASCII: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_ATTR_NAMEOBJID: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_ATTR_NO_AUTO_COMPAT_ENTRY: u32 = 16777216u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_ATTR_UNAUTHENTICATED: u32 = 536870912u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_E_AREA_ATTRIBUTE: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_E_AREA_HEADER: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_E_AREA_MEMBER: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_E_CDF_ATTR_TOOFEWVALUES: u32 = 131074u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_E_CDF_ATTR_TYPECOMBO: u32 = 131076u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_E_CDF_BAD_GUID_CONV: u32 = 131073u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_E_CDF_DUPLICATE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_E_CDF_MEMBER_FILENOTFOUND: u32 = 65540u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_E_CDF_MEMBER_FILE_PATH: u32 = 65537u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_E_CDF_MEMBER_INDIRECTDATA: u32 = 65538u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_E_CDF_TAGNOTFOUND: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_E_CDF_UNSUPPORTED: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_FILEEXT: &str = "CAT";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_MAX_MEMBERTAG: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_MEMBER_SORTED: u32 = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub type CRYPTCAT_OPEN_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_OPEN_ALWAYS: CRYPTCAT_OPEN_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_OPEN_CREATENEW: CRYPTCAT_OPEN_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_OPEN_EXISTING: CRYPTCAT_OPEN_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_OPEN_EXCLUDE_PAGE_HASHES: CRYPTCAT_OPEN_FLAGS = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_OPEN_INCLUDE_PAGE_HASHES: CRYPTCAT_OPEN_FLAGS = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_OPEN_VERIFYSIGHASH: CRYPTCAT_OPEN_FLAGS = 268435456u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_OPEN_NO_CONTENT_HCRYPTMSG: CRYPTCAT_OPEN_FLAGS = 536870912u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_OPEN_SORTED: CRYPTCAT_OPEN_FLAGS = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_OPEN_FLAGS_MASK: CRYPTCAT_OPEN_FLAGS = 4294901760u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub type CRYPTCAT_VERSION = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_VERSION_1: CRYPTCAT_VERSION = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const CRYPTCAT_VERSION_2: CRYPTCAT_VERSION = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub type PFN_CDF_PARSE_ERROR_CALLBACK = ::core::option::Option<unsafe extern "system" fn(dwerrorarea: u32, dwlocalerror: u32, pwszline: ::windows_sys::core::PCWSTR)>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const szOID_CATALOG_LIST: &str = "1.3.6.1.4.1.311.12.1.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const szOID_CATALOG_LIST_MEMBER: &str = "1.3.6.1.4.1.311.12.1.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Catalog\"`*"]
+pub const szOID_CATALOG_LIST_MEMBER2: &str = "1.3.6.1.4.1.311.12.1.3";
diff --git a/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs
new file mode 100644
index 000000000..6d6522038
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs
@@ -0,0 +1,4679 @@
+#[link(name = "windows")]
+extern "system" {
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+ pub fn CertSrvBackupClose(hbc: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+ pub fn CertSrvBackupEnd(hbc: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+ pub fn CertSrvBackupFree(pv: *mut ::core::ffi::c_void);
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+ pub fn CertSrvBackupGetBackupLogsW(hbc: *const ::core::ffi::c_void, ppwszzbackuplogfiles: *mut ::windows_sys::core::PWSTR, pcbsize: *mut u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+ pub fn CertSrvBackupGetDatabaseNamesW(hbc: *const ::core::ffi::c_void, ppwszzattachmentinformation: *mut ::windows_sys::core::PWSTR, pcbsize: *mut u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+ pub fn CertSrvBackupGetDynamicFileListW(hbc: *const ::core::ffi::c_void, ppwszzfilelist: *mut ::windows_sys::core::PWSTR, pcbsize: *mut u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+ pub fn CertSrvBackupOpenFileW(hbc: *mut ::core::ffi::c_void, pwszattachmentname: ::windows_sys::core::PCWSTR, cbreadhintsize: u32, plifilesize: *mut i64) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+ pub fn CertSrvBackupPrepareW(pwszservername: ::windows_sys::core::PCWSTR, grbitjet: u32, dwbackupflags: CSBACKUP_TYPE, phbc: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+ pub fn CertSrvBackupRead(hbc: *mut ::core::ffi::c_void, pvbuffer: *mut ::core::ffi::c_void, cbbuffer: u32, pcbread: *mut u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+ pub fn CertSrvBackupTruncateLogs(hbc: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertSrvIsServerOnlineW(pwszservername: ::windows_sys::core::PCWSTR, pfserveronline: *mut super::super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+ pub fn CertSrvRestoreEnd(hbc: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+ pub fn CertSrvRestoreGetDatabaseLocationsW(hbc: *const ::core::ffi::c_void, ppwszzdatabaselocationlist: *mut ::windows_sys::core::PWSTR, pcbsize: *mut u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+ pub fn CertSrvRestorePrepareW(pwszservername: ::windows_sys::core::PCWSTR, dwrestoreflags: u32, phbc: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+ pub fn CertSrvRestoreRegisterComplete(hbc: *mut ::core::ffi::c_void, hrrestorestate: ::windows_sys::core::HRESULT) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+ pub fn CertSrvRestoreRegisterThroughFile(hbc: *mut ::core::ffi::c_void, pwszcheckpointfilepath: ::windows_sys::core::PCWSTR, pwszlogpath: ::windows_sys::core::PCWSTR, rgrstmap: *mut CSEDB_RSTMAPW, crstmap: i32, pwszbackuplogpath: ::windows_sys::core::PCWSTR, genlow: u32, genhigh: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+ pub fn CertSrvRestoreRegisterW(hbc: *mut ::core::ffi::c_void, pwszcheckpointfilepath: ::windows_sys::core::PCWSTR, pwszlogpath: ::windows_sys::core::PCWSTR, rgrstmap: *mut CSEDB_RSTMAPW, crstmap: i32, pwszbackuplogpath: ::windows_sys::core::PCWSTR, genlow: u32, genhigh: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+ pub fn CertSrvServerControlW(pwszservername: ::windows_sys::core::PCWSTR, dwcontrolflags: u32, pcbout: *mut u32, ppbout: *mut *mut u8) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn PstAcquirePrivateKey(pcert: *const super::CERT_CONTEXT) -> super::super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))]
+ pub fn PstGetCertificateChain(pcert: *const super::CERT_CONTEXT, ptrustedissuers: *const super::super::Authentication::Identity::SecPkgContext_IssuerListInfoEx, ppcertchaincontext: *mut *mut super::CERT_CHAIN_CONTEXT) -> super::super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn PstGetCertificates(ptargetname: *const super::super::super::Foundation::UNICODE_STRING, ccriteria: u32, rgpcriteria: *const super::CERT_SELECT_CRITERIA, bisclient: super::super::super::Foundation::BOOL, pdwcertchaincontextcount: *mut u32, ppcertchaincontexts: *mut *mut *mut super::CERT_CHAIN_CONTEXT) -> super::super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))]
+ pub fn PstGetTrustAnchors(ptargetname: *const super::super::super::Foundation::UNICODE_STRING, ccriteria: u32, rgpcriteria: *const super::CERT_SELECT_CRITERIA, pptrustedissuers: *mut *mut super::super::Authentication::Identity::SecPkgContext_IssuerListInfoEx) -> super::super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))]
+ pub fn PstGetTrustAnchorsEx(ptargetname: *const super::super::super::Foundation::UNICODE_STRING, ccriteria: u32, rgpcriteria: *const super::CERT_SELECT_CRITERIA, pcertcontext: *const super::CERT_CONTEXT, pptrustedissuers: *mut *mut super::super::Authentication::Identity::SecPkgContext_IssuerListInfoEx) -> super::super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn PstGetUserNameForCertificate(pcertcontext: *const super::CERT_CONTEXT, username: *mut super::super::super::Foundation::UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))]
+ pub fn PstMapCertificate(pcert: *const super::CERT_CONTEXT, ptokeninformationtype: *mut super::super::Authentication::Identity::LSA_TOKEN_INFORMATION_TYPE, pptokeninformation: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn PstValidate(ptargetname: *const super::super::super::Foundation::UNICODE_STRING, bisclient: super::super::super::Foundation::BOOL, prequestedissuancepolicy: *const super::CERT_USAGE_MATCH, phadditionalcertstore: *const super::HCERTSTORE, pcert: *const super::CERT_CONTEXT, pprovguid: *mut ::windows_sys::core::GUID) -> super::super::super::Foundation::NTSTATUS;
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type ADDED_CERT_TYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XECT_EXTENSION_V1: ADDED_CERT_TYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XECT_EXTENSION_V2: ADDED_CERT_TYPE = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type AlgorithmFlags = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const AlgorithmFlagsNone: AlgorithmFlags = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const AlgorithmFlagsWrap: AlgorithmFlags = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type AlgorithmOperationFlags = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_NO_OPERATION: AlgorithmOperationFlags = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_CIPHER_OPERATION: AlgorithmOperationFlags = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_HASH_OPERATION: AlgorithmOperationFlags = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_ASYMMETRIC_ENCRYPTION_OPERATION: AlgorithmOperationFlags = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_SECRET_AGREEMENT_OPERATION: AlgorithmOperationFlags = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_SIGNATURE_OPERATION: AlgorithmOperationFlags = 16i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_RNG_OPERATION: AlgorithmOperationFlags = 32i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_KEY_DERIVATION_OPERATION: AlgorithmOperationFlags = 64i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_ANY_ASYMMETRIC_OPERATION: AlgorithmOperationFlags = 28i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_PREFER_SIGNATURE_ONLY_OPERATION: AlgorithmOperationFlags = 2097152i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_PREFER_NON_SIGNATURE_OPERATION: AlgorithmOperationFlags = 4194304i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_EXACT_MATCH_OPERATION: AlgorithmOperationFlags = 8388608i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_PREFERENCE_MASK_OPERATION: AlgorithmOperationFlags = 14680064i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type AlgorithmType = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_BCRYPT_UNKNOWN_INTERFACE: AlgorithmType = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_BCRYPT_CIPHER_INTERFACE: AlgorithmType = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_BCRYPT_HASH_INTERFACE: AlgorithmType = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_BCRYPT_ASYMMETRIC_ENCRYPTION_INTERFACE: AlgorithmType = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_BCRYPT_SIGNATURE_INTERFACE: AlgorithmType = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_BCRYPT_SECRET_AGREEMENT_INTERFACE: AlgorithmType = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_BCRYPT_RNG_INTERFACE: AlgorithmType = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_BCRYPT_KEY_DERIVATION_INTERFACE: AlgorithmType = 7i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type AlternativeNameType = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_ALT_NAME_UNKNOWN: AlternativeNameType = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_ALT_NAME_OTHER_NAME: AlternativeNameType = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_ALT_NAME_RFC822_NAME: AlternativeNameType = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_ALT_NAME_DNS_NAME: AlternativeNameType = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_ALT_NAME_X400_ADDRESS: AlternativeNameType = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_ALT_NAME_DIRECTORY_NAME: AlternativeNameType = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_ALT_NAME_EDI_PARTY_NAME: AlternativeNameType = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_ALT_NAME_URL: AlternativeNameType = 7i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_ALT_NAME_IP_ADDRESS: AlternativeNameType = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_ALT_NAME_REGISTERED_ID: AlternativeNameType = 9i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_ALT_NAME_GUID: AlternativeNameType = 10i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_ALT_NAME_USER_PRINCIPLE_NAME: AlternativeNameType = 11i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CAIF_DSENTRY: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CAIF_LOCAL: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CAIF_REGISTRY: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CAIF_REGISTRYPARENT: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CAIF_SHAREDFOLDERENTRY: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub struct CAINFO {
+ pub cbSize: u32,
+ pub CAType: ENUM_CATYPES,
+ pub cCASignatureCerts: u32,
+ pub cCAExchangeCerts: u32,
+ pub cExitModules: u32,
+ pub lPropIdMax: i32,
+ pub lRoleSeparationEnabled: i32,
+ pub cKRACertUsedCount: u32,
+ pub cKRACertCount: u32,
+ pub fAdvancedServer: u32,
+}
+impl ::core::marker::Copy for CAINFO {}
+impl ::core::clone::Clone for CAINFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CAPATHLENGTH_INFINITE: u32 = 4294967295u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CA_ACCESS_MASKROLES: u32 = 255u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CA_CRL_BASE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CA_CRL_DELTA: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CA_CRL_REPUBLISH: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CA_DISP_ERROR: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CA_DISP_INCOMPLETE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CA_DISP_INVALID: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CA_DISP_REVOKED: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CA_DISP_UNDER_SUBMISSION: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CA_DISP_VALID: u32 = 3u32;
+pub const CAlternativeName: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821395, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CAlternativeNames: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821396, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CBinaryConverter: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821378, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CCLOCKSKEWMINUTESDEFAULT: u32 = 10u32;
+pub const CCertAdmin: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 938130160, data2: 32694, data3: 4560, data4: [136, 23, 0, 160, 201, 3, 184, 60] };
+pub const CCertConfig: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 925879864, data2: 17188, data3: 4560, data4: [136, 16, 0, 160, 201, 3, 184, 60] };
+pub const CCertEncodeAltName: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 486296794, data2: 4721, data3: 4561, data4: [155, 212, 0, 192, 79, 182, 131, 250] };
+pub const CCertEncodeBitString: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1835744472, data2: 4728, data3: 4561, data4: [155, 212, 0, 192, 79, 182, 131, 250] };
+pub const CCertEncodeCRLDistInfo: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 33185952, data2: 48127, data3: 4560, data4: [136, 37, 0, 160, 201, 3, 184, 60] };
+pub const CCertEncodeDateArray: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 807368624, data2: 42096, data3: 4560, data4: [136, 33, 0, 160, 201, 3, 184, 60] };
+pub const CCertEncodeLongArray: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1309048992, data2: 41122, data3: 4560, data4: [136, 33, 0, 160, 201, 3, 184, 60] };
+pub const CCertEncodeStringArray: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 430403552, data2: 29844, data3: 4560, data4: [136, 22, 0, 160, 201, 3, 184, 60] };
+pub const CCertGetConfig: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3335276976, data2: 52759, data3: 4560, data4: [136, 51, 0, 160, 201, 3, 184, 60] };
+pub const CCertProperties: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821423, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CCertProperty: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821422, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CCertPropertyArchived: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821431, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CCertPropertyArchivedKeyHash: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821435, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CCertPropertyAutoEnroll: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821426, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CCertPropertyBackedUp: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821432, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CCertPropertyDescription: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821425, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CCertPropertyEnrollment: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821433, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CCertPropertyEnrollmentPolicyServer: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821452, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CCertPropertyFriendlyName: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821424, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CCertPropertyKeyProvInfo: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821430, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CCertPropertyRenewal: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821434, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CCertPropertyRequestOriginator: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821427, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CCertPropertySHA1Hash: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821428, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CCertRequest: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2561668080, data2: 21796, data3: 4560, data4: [136, 18, 0, 160, 201, 3, 184, 60] };
+pub const CCertServerExit: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1279942208, data2: 29484, data3: 4560, data4: [136, 22, 0, 160, 201, 3, 184, 60] };
+pub const CCertServerPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2852129062, data2: 65470, data3: 4559, data4: [136, 0, 0, 160, 201, 3, 184, 60] };
+pub const CCertView: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2704084858, data2: 7812, data3: 4561, data4: [155, 214, 0, 192, 79, 182, 131, 250] };
+pub const CCertificateAttestationChallenge: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 325234081, data2: 60256, data3: 17770, data4: [182, 225, 17, 128, 80, 219, 116, 27] };
+pub const CCertificatePolicies: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821407, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CCertificatePolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821406, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CCryptAttribute: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821420, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CCryptAttributes: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821421, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CCspInformation: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821383, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CCspInformations: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821384, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CCspStatus: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821385, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type CERTADMIN_GET_ROLES_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CA_ACCESS_ADMIN: CERTADMIN_GET_ROLES_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CA_ACCESS_AUDITOR: CERTADMIN_GET_ROLES_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CA_ACCESS_ENROLL: CERTADMIN_GET_ROLES_FLAGS = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CA_ACCESS_OFFICER: CERTADMIN_GET_ROLES_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CA_ACCESS_OPERATOR: CERTADMIN_GET_ROLES_FLAGS = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CA_ACCESS_READ: CERTADMIN_GET_ROLES_FLAGS = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CERTENROLL_INDEX_BASE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type CERTENROLL_OBJECTID = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_NONE: CERTENROLL_OBJECTID = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA: CERTENROLL_OBJECTID = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS: CERTENROLL_OBJECTID = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_HASH: CERTENROLL_OBJECTID = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_ENCRYPT: CERTENROLL_OBJECTID = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_1: CERTENROLL_OBJECTID = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_2: CERTENROLL_OBJECTID = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_3: CERTENROLL_OBJECTID = 7i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_4: CERTENROLL_OBJECTID = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_5: CERTENROLL_OBJECTID = 9i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_6: CERTENROLL_OBJECTID = 10i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_7: CERTENROLL_OBJECTID = 11i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_8: CERTENROLL_OBJECTID = 12i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_9: CERTENROLL_OBJECTID = 13i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_10: CERTENROLL_OBJECTID = 14i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_12: CERTENROLL_OBJECTID = 15i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_RSA: CERTENROLL_OBJECTID = 16i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_MD2RSA: CERTENROLL_OBJECTID = 17i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_MD4RSA: CERTENROLL_OBJECTID = 18i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_MD5RSA: CERTENROLL_OBJECTID = 19i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_SHA1RSA: CERTENROLL_OBJECTID = 20i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_SETOAEP_RSA: CERTENROLL_OBJECTID = 21i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_DH: CERTENROLL_OBJECTID = 22i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_data: CERTENROLL_OBJECTID = 23i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_signedData: CERTENROLL_OBJECTID = 24i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_envelopedData: CERTENROLL_OBJECTID = 25i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_signEnvData: CERTENROLL_OBJECTID = 26i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_digestedData: CERTENROLL_OBJECTID = 27i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_hashedData: CERTENROLL_OBJECTID = 28i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_encryptedData: CERTENROLL_OBJECTID = 29i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_emailAddr: CERTENROLL_OBJECTID = 30i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_unstructName: CERTENROLL_OBJECTID = 31i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_contentType: CERTENROLL_OBJECTID = 32i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_messageDigest: CERTENROLL_OBJECTID = 33i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_signingTime: CERTENROLL_OBJECTID = 34i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_counterSign: CERTENROLL_OBJECTID = 35i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_challengePwd: CERTENROLL_OBJECTID = 36i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_unstructAddr: CERTENROLL_OBJECTID = 37i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_extCertAttrs: CERTENROLL_OBJECTID = 38i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_certExtensions: CERTENROLL_OBJECTID = 39i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_SMIMECapabilities: CERTENROLL_OBJECTID = 40i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_preferSignedData: CERTENROLL_OBJECTID = 41i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_SMIMEalg: CERTENROLL_OBJECTID = 42i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_SMIMEalgESDH: CERTENROLL_OBJECTID = 43i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_SMIMEalgCMS3DESwrap: CERTENROLL_OBJECTID = 44i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_SMIMEalgCMSRC2wrap: CERTENROLL_OBJECTID = 45i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_MD2: CERTENROLL_OBJECTID = 46i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_MD4: CERTENROLL_OBJECTID = 47i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_MD5: CERTENROLL_OBJECTID = 48i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_RC2CBC: CERTENROLL_OBJECTID = 49i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_RC4: CERTENROLL_OBJECTID = 50i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_DES_EDE3_CBC: CERTENROLL_OBJECTID = 51i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_RC5_CBCPad: CERTENROLL_OBJECTID = 52i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ANSI_X942: CERTENROLL_OBJECTID = 53i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ANSI_X942_DH: CERTENROLL_OBJECTID = 54i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_X957: CERTENROLL_OBJECTID = 55i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_X957_DSA: CERTENROLL_OBJECTID = 56i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_X957_SHA1DSA: CERTENROLL_OBJECTID = 57i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_DS: CERTENROLL_OBJECTID = 58i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_DSALG: CERTENROLL_OBJECTID = 59i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_DSALG_CRPT: CERTENROLL_OBJECTID = 60i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_DSALG_HASH: CERTENROLL_OBJECTID = 61i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_DSALG_SIGN: CERTENROLL_OBJECTID = 62i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_DSALG_RSA: CERTENROLL_OBJECTID = 63i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIW: CERTENROLL_OBJECTID = 64i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWSEC: CERTENROLL_OBJECTID = 65i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWSEC_md4RSA: CERTENROLL_OBJECTID = 66i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWSEC_md5RSA: CERTENROLL_OBJECTID = 67i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWSEC_md4RSA2: CERTENROLL_OBJECTID = 68i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWSEC_desECB: CERTENROLL_OBJECTID = 69i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWSEC_desCBC: CERTENROLL_OBJECTID = 70i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWSEC_desOFB: CERTENROLL_OBJECTID = 71i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWSEC_desCFB: CERTENROLL_OBJECTID = 72i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWSEC_desMAC: CERTENROLL_OBJECTID = 73i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWSEC_rsaSign: CERTENROLL_OBJECTID = 74i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWSEC_dsa: CERTENROLL_OBJECTID = 75i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWSEC_shaDSA: CERTENROLL_OBJECTID = 76i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWSEC_mdc2RSA: CERTENROLL_OBJECTID = 77i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWSEC_shaRSA: CERTENROLL_OBJECTID = 78i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWSEC_dhCommMod: CERTENROLL_OBJECTID = 79i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWSEC_desEDE: CERTENROLL_OBJECTID = 80i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWSEC_sha: CERTENROLL_OBJECTID = 81i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWSEC_mdc2: CERTENROLL_OBJECTID = 82i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWSEC_dsaComm: CERTENROLL_OBJECTID = 83i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWSEC_dsaCommSHA: CERTENROLL_OBJECTID = 84i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWSEC_rsaXchg: CERTENROLL_OBJECTID = 85i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWSEC_keyHashSeal: CERTENROLL_OBJECTID = 86i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWSEC_md2RSASign: CERTENROLL_OBJECTID = 87i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWSEC_md5RSASign: CERTENROLL_OBJECTID = 88i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWSEC_sha1: CERTENROLL_OBJECTID = 89i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWSEC_dsaSHA1: CERTENROLL_OBJECTID = 90i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWSEC_dsaCommSHA1: CERTENROLL_OBJECTID = 91i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWSEC_sha1RSASign: CERTENROLL_OBJECTID = 92i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWDIR: CERTENROLL_OBJECTID = 93i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWDIR_CRPT: CERTENROLL_OBJECTID = 94i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWDIR_HASH: CERTENROLL_OBJECTID = 95i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWDIR_SIGN: CERTENROLL_OBJECTID = 96i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWDIR_md2: CERTENROLL_OBJECTID = 97i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OIWDIR_md2RSA: CERTENROLL_OBJECTID = 98i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_INFOSEC: CERTENROLL_OBJECTID = 99i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_INFOSEC_sdnsSignature: CERTENROLL_OBJECTID = 100i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_INFOSEC_mosaicSignature: CERTENROLL_OBJECTID = 101i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_INFOSEC_sdnsConfidentiality: CERTENROLL_OBJECTID = 102i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_INFOSEC_mosaicConfidentiality: CERTENROLL_OBJECTID = 103i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_INFOSEC_sdnsIntegrity: CERTENROLL_OBJECTID = 104i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_INFOSEC_mosaicIntegrity: CERTENROLL_OBJECTID = 105i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_INFOSEC_sdnsTokenProtection: CERTENROLL_OBJECTID = 106i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_INFOSEC_mosaicTokenProtection: CERTENROLL_OBJECTID = 107i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_INFOSEC_sdnsKeyManagement: CERTENROLL_OBJECTID = 108i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_INFOSEC_mosaicKeyManagement: CERTENROLL_OBJECTID = 109i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_INFOSEC_sdnsKMandSig: CERTENROLL_OBJECTID = 110i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_INFOSEC_mosaicKMandSig: CERTENROLL_OBJECTID = 111i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_INFOSEC_SuiteASignature: CERTENROLL_OBJECTID = 112i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_INFOSEC_SuiteAConfidentiality: CERTENROLL_OBJECTID = 113i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_INFOSEC_SuiteAIntegrity: CERTENROLL_OBJECTID = 114i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_INFOSEC_SuiteATokenProtection: CERTENROLL_OBJECTID = 115i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_INFOSEC_SuiteAKeyManagement: CERTENROLL_OBJECTID = 116i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_INFOSEC_SuiteAKMandSig: CERTENROLL_OBJECTID = 117i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_INFOSEC_mosaicUpdatedSig: CERTENROLL_OBJECTID = 118i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_INFOSEC_mosaicKMandUpdSig: CERTENROLL_OBJECTID = 119i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_INFOSEC_mosaicUpdatedInteg: CERTENROLL_OBJECTID = 120i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_COMMON_NAME: CERTENROLL_OBJECTID = 121i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_SUR_NAME: CERTENROLL_OBJECTID = 122i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_DEVICE_SERIAL_NUMBER: CERTENROLL_OBJECTID = 123i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_COUNTRY_NAME: CERTENROLL_OBJECTID = 124i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_LOCALITY_NAME: CERTENROLL_OBJECTID = 125i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_STATE_OR_PROVINCE_NAME: CERTENROLL_OBJECTID = 126i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_STREET_ADDRESS: CERTENROLL_OBJECTID = 127i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ORGANIZATION_NAME: CERTENROLL_OBJECTID = 128i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ORGANIZATIONAL_UNIT_NAME: CERTENROLL_OBJECTID = 129i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_TITLE: CERTENROLL_OBJECTID = 130i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_DESCRIPTION: CERTENROLL_OBJECTID = 131i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_SEARCH_GUIDE: CERTENROLL_OBJECTID = 132i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_BUSINESS_CATEGORY: CERTENROLL_OBJECTID = 133i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_POSTAL_ADDRESS: CERTENROLL_OBJECTID = 134i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_POSTAL_CODE: CERTENROLL_OBJECTID = 135i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_POST_OFFICE_BOX: CERTENROLL_OBJECTID = 136i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PHYSICAL_DELIVERY_OFFICE_NAME: CERTENROLL_OBJECTID = 137i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_TELEPHONE_NUMBER: CERTENROLL_OBJECTID = 138i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_TELEX_NUMBER: CERTENROLL_OBJECTID = 139i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_TELETEXT_TERMINAL_IDENTIFIER: CERTENROLL_OBJECTID = 140i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_FACSIMILE_TELEPHONE_NUMBER: CERTENROLL_OBJECTID = 141i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_X21_ADDRESS: CERTENROLL_OBJECTID = 142i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_INTERNATIONAL_ISDN_NUMBER: CERTENROLL_OBJECTID = 143i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_REGISTERED_ADDRESS: CERTENROLL_OBJECTID = 144i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_DESTINATION_INDICATOR: CERTENROLL_OBJECTID = 145i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PREFERRED_DELIVERY_METHOD: CERTENROLL_OBJECTID = 146i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PRESENTATION_ADDRESS: CERTENROLL_OBJECTID = 147i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_SUPPORTED_APPLICATION_CONTEXT: CERTENROLL_OBJECTID = 148i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_MEMBER: CERTENROLL_OBJECTID = 149i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OWNER: CERTENROLL_OBJECTID = 150i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ROLE_OCCUPANT: CERTENROLL_OBJECTID = 151i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_SEE_ALSO: CERTENROLL_OBJECTID = 152i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_USER_PASSWORD: CERTENROLL_OBJECTID = 153i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_USER_CERTIFICATE: CERTENROLL_OBJECTID = 154i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CA_CERTIFICATE: CERTENROLL_OBJECTID = 155i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_AUTHORITY_REVOCATION_LIST: CERTENROLL_OBJECTID = 156i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CERTIFICATE_REVOCATION_LIST: CERTENROLL_OBJECTID = 157i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CROSS_CERTIFICATE_PAIR: CERTENROLL_OBJECTID = 158i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_GIVEN_NAME: CERTENROLL_OBJECTID = 159i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_INITIALS: CERTENROLL_OBJECTID = 160i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_DN_QUALIFIER: CERTENROLL_OBJECTID = 161i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_DOMAIN_COMPONENT: CERTENROLL_OBJECTID = 162i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_12_FRIENDLY_NAME_ATTR: CERTENROLL_OBJECTID = 163i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_12_LOCAL_KEY_ID: CERTENROLL_OBJECTID = 164i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_12_KEY_PROVIDER_NAME_ATTR: CERTENROLL_OBJECTID = 165i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_LOCAL_MACHINE_KEYSET: CERTENROLL_OBJECTID = 166i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_12_EXTENDED_ATTRIBUTES: CERTENROLL_OBJECTID = 167i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_KEYID_RDN: CERTENROLL_OBJECTID = 168i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_AUTHORITY_KEY_IDENTIFIER: CERTENROLL_OBJECTID = 169i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_KEY_ATTRIBUTES: CERTENROLL_OBJECTID = 170i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CERT_POLICIES_95: CERTENROLL_OBJECTID = 171i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_KEY_USAGE_RESTRICTION: CERTENROLL_OBJECTID = 172i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_SUBJECT_ALT_NAME: CERTENROLL_OBJECTID = 173i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ISSUER_ALT_NAME: CERTENROLL_OBJECTID = 174i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_BASIC_CONSTRAINTS: CERTENROLL_OBJECTID = 175i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_KEY_USAGE: CERTENROLL_OBJECTID = 176i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PRIVATEKEY_USAGE_PERIOD: CERTENROLL_OBJECTID = 177i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_BASIC_CONSTRAINTS2: CERTENROLL_OBJECTID = 178i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CERT_POLICIES: CERTENROLL_OBJECTID = 179i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ANY_CERT_POLICY: CERTENROLL_OBJECTID = 180i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_AUTHORITY_KEY_IDENTIFIER2: CERTENROLL_OBJECTID = 181i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_SUBJECT_KEY_IDENTIFIER: CERTENROLL_OBJECTID = 182i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_SUBJECT_ALT_NAME2: CERTENROLL_OBJECTID = 183i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ISSUER_ALT_NAME2: CERTENROLL_OBJECTID = 184i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CRL_REASON_CODE: CERTENROLL_OBJECTID = 185i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_REASON_CODE_HOLD: CERTENROLL_OBJECTID = 186i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CRL_DIST_POINTS: CERTENROLL_OBJECTID = 187i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ENHANCED_KEY_USAGE: CERTENROLL_OBJECTID = 188i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CRL_NUMBER: CERTENROLL_OBJECTID = 189i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_DELTA_CRL_INDICATOR: CERTENROLL_OBJECTID = 190i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ISSUING_DIST_POINT: CERTENROLL_OBJECTID = 191i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_FRESHEST_CRL: CERTENROLL_OBJECTID = 192i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_NAME_CONSTRAINTS: CERTENROLL_OBJECTID = 193i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_POLICY_MAPPINGS: CERTENROLL_OBJECTID = 194i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_LEGACY_POLICY_MAPPINGS: CERTENROLL_OBJECTID = 195i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_POLICY_CONSTRAINTS: CERTENROLL_OBJECTID = 196i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RENEWAL_CERTIFICATE: CERTENROLL_OBJECTID = 197i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ENROLLMENT_NAME_VALUE_PAIR: CERTENROLL_OBJECTID = 198i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ENROLLMENT_CSP_PROVIDER: CERTENROLL_OBJECTID = 199i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OS_VERSION: CERTENROLL_OBJECTID = 200i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ENROLLMENT_AGENT: CERTENROLL_OBJECTID = 201i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKIX: CERTENROLL_OBJECTID = 202i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKIX_PE: CERTENROLL_OBJECTID = 203i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_AUTHORITY_INFO_ACCESS: CERTENROLL_OBJECTID = 204i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_BIOMETRIC_EXT: CERTENROLL_OBJECTID = 205i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_LOGOTYPE_EXT: CERTENROLL_OBJECTID = 206i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CERT_EXTENSIONS: CERTENROLL_OBJECTID = 207i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_NEXT_UPDATE_LOCATION: CERTENROLL_OBJECTID = 208i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_REMOVE_CERTIFICATE: CERTENROLL_OBJECTID = 209i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CROSS_CERT_DIST_POINTS: CERTENROLL_OBJECTID = 210i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CTL: CERTENROLL_OBJECTID = 211i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_SORTED_CTL: CERTENROLL_OBJECTID = 212i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_SERIALIZED: CERTENROLL_OBJECTID = 213i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_NT_PRINCIPAL_NAME: CERTENROLL_OBJECTID = 214i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PRODUCT_UPDATE: CERTENROLL_OBJECTID = 215i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ANY_APPLICATION_POLICY: CERTENROLL_OBJECTID = 216i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_AUTO_ENROLL_CTL_USAGE: CERTENROLL_OBJECTID = 217i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ENROLL_CERTTYPE_EXTENSION: CERTENROLL_OBJECTID = 218i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CERT_MANIFOLD: CERTENROLL_OBJECTID = 219i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CERTSRV_CA_VERSION: CERTENROLL_OBJECTID = 220i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CERTSRV_PREVIOUS_CERT_HASH: CERTENROLL_OBJECTID = 221i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CRL_VIRTUAL_BASE: CERTENROLL_OBJECTID = 222i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CRL_NEXT_PUBLISH: CERTENROLL_OBJECTID = 223i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_KP_CA_EXCHANGE: CERTENROLL_OBJECTID = 224i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_KP_KEY_RECOVERY_AGENT: CERTENROLL_OBJECTID = 225i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CERTIFICATE_TEMPLATE: CERTENROLL_OBJECTID = 226i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ENTERPRISE_OID_ROOT: CERTENROLL_OBJECTID = 227i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RDN_DUMMY_SIGNER: CERTENROLL_OBJECTID = 228i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_APPLICATION_CERT_POLICIES: CERTENROLL_OBJECTID = 229i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_APPLICATION_POLICY_MAPPINGS: CERTENROLL_OBJECTID = 230i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_APPLICATION_POLICY_CONSTRAINTS: CERTENROLL_OBJECTID = 231i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ARCHIVED_KEY_ATTR: CERTENROLL_OBJECTID = 232i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CRL_SELF_CDP: CERTENROLL_OBJECTID = 233i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_REQUIRE_CERT_CHAIN_POLICY: CERTENROLL_OBJECTID = 234i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ARCHIVED_KEY_CERT_HASH: CERTENROLL_OBJECTID = 235i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ISSUED_CERT_HASH: CERTENROLL_OBJECTID = 236i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_DS_EMAIL_REPLICATION: CERTENROLL_OBJECTID = 237i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_REQUEST_CLIENT_INFO: CERTENROLL_OBJECTID = 238i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ENCRYPTED_KEY_HASH: CERTENROLL_OBJECTID = 239i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CERTSRV_CROSSCA_VERSION: CERTENROLL_OBJECTID = 240i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_NTDS_REPLICATION: CERTENROLL_OBJECTID = 241i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_SUBJECT_DIR_ATTRS: CERTENROLL_OBJECTID = 242i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKIX_KP: CERTENROLL_OBJECTID = 243i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKIX_KP_SERVER_AUTH: CERTENROLL_OBJECTID = 244i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKIX_KP_CLIENT_AUTH: CERTENROLL_OBJECTID = 245i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKIX_KP_CODE_SIGNING: CERTENROLL_OBJECTID = 246i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKIX_KP_EMAIL_PROTECTION: CERTENROLL_OBJECTID = 247i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKIX_KP_IPSEC_END_SYSTEM: CERTENROLL_OBJECTID = 248i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKIX_KP_IPSEC_TUNNEL: CERTENROLL_OBJECTID = 249i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKIX_KP_IPSEC_USER: CERTENROLL_OBJECTID = 250i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKIX_KP_TIMESTAMP_SIGNING: CERTENROLL_OBJECTID = 251i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKIX_KP_OCSP_SIGNING: CERTENROLL_OBJECTID = 252i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKIX_OCSP_NOCHECK: CERTENROLL_OBJECTID = 253i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_IPSEC_KP_IKE_INTERMEDIATE: CERTENROLL_OBJECTID = 254i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_KP_CTL_USAGE_SIGNING: CERTENROLL_OBJECTID = 255i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_KP_TIME_STAMP_SIGNING: CERTENROLL_OBJECTID = 256i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_SERVER_GATED_CRYPTO: CERTENROLL_OBJECTID = 257i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_SGC_NETSCAPE: CERTENROLL_OBJECTID = 258i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_KP_EFS: CERTENROLL_OBJECTID = 259i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_EFS_RECOVERY: CERTENROLL_OBJECTID = 260i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_WHQL_CRYPTO: CERTENROLL_OBJECTID = 261i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_NT5_CRYPTO: CERTENROLL_OBJECTID = 262i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_OEM_WHQL_CRYPTO: CERTENROLL_OBJECTID = 263i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_EMBEDDED_NT_CRYPTO: CERTENROLL_OBJECTID = 264i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ROOT_LIST_SIGNER: CERTENROLL_OBJECTID = 265i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_KP_QUALIFIED_SUBORDINATION: CERTENROLL_OBJECTID = 266i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_KP_KEY_RECOVERY: CERTENROLL_OBJECTID = 267i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_KP_DOCUMENT_SIGNING: CERTENROLL_OBJECTID = 268i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_KP_LIFETIME_SIGNING: CERTENROLL_OBJECTID = 269i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_KP_MOBILE_DEVICE_SOFTWARE: CERTENROLL_OBJECTID = 270i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_KP_SMART_DISPLAY: CERTENROLL_OBJECTID = 271i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_KP_CSP_SIGNATURE: CERTENROLL_OBJECTID = 272i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_DRM: CERTENROLL_OBJECTID = 273i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_DRM_INDIVIDUALIZATION: CERTENROLL_OBJECTID = 274i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_LICENSES: CERTENROLL_OBJECTID = 275i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_LICENSE_SERVER: CERTENROLL_OBJECTID = 276i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_KP_SMARTCARD_LOGON: CERTENROLL_OBJECTID = 277i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_YESNO_TRUST_ATTR: CERTENROLL_OBJECTID = 278i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKIX_POLICY_QUALIFIER_CPS: CERTENROLL_OBJECTID = 279i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKIX_POLICY_QUALIFIER_USERNOTICE: CERTENROLL_OBJECTID = 280i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CERT_POLICIES_95_QUALIFIER1: CERTENROLL_OBJECTID = 281i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKIX_ACC_DESCR: CERTENROLL_OBJECTID = 282i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKIX_OCSP: CERTENROLL_OBJECTID = 283i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKIX_CA_ISSUERS: CERTENROLL_OBJECTID = 284i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_VERISIGN_PRIVATE_6_9: CERTENROLL_OBJECTID = 285i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_VERISIGN_ONSITE_JURISDICTION_HASH: CERTENROLL_OBJECTID = 286i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_VERISIGN_BITSTRING_6_13: CERTENROLL_OBJECTID = 287i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_VERISIGN_ISS_STRONG_CRYPTO: CERTENROLL_OBJECTID = 288i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_NETSCAPE: CERTENROLL_OBJECTID = 289i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_NETSCAPE_CERT_EXTENSION: CERTENROLL_OBJECTID = 290i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_NETSCAPE_CERT_TYPE: CERTENROLL_OBJECTID = 291i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_NETSCAPE_BASE_URL: CERTENROLL_OBJECTID = 292i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_NETSCAPE_REVOCATION_URL: CERTENROLL_OBJECTID = 293i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_NETSCAPE_CA_REVOCATION_URL: CERTENROLL_OBJECTID = 294i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_NETSCAPE_CERT_RENEWAL_URL: CERTENROLL_OBJECTID = 295i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_NETSCAPE_CA_POLICY_URL: CERTENROLL_OBJECTID = 296i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_NETSCAPE_SSL_SERVER_NAME: CERTENROLL_OBJECTID = 297i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_NETSCAPE_COMMENT: CERTENROLL_OBJECTID = 298i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_NETSCAPE_DATA_TYPE: CERTENROLL_OBJECTID = 299i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_NETSCAPE_CERT_SEQUENCE: CERTENROLL_OBJECTID = 300i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CT_PKI_DATA: CERTENROLL_OBJECTID = 301i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CT_PKI_RESPONSE: CERTENROLL_OBJECTID = 302i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKIX_NO_SIGNATURE: CERTENROLL_OBJECTID = 303i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CMC: CERTENROLL_OBJECTID = 304i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CMC_STATUS_INFO: CERTENROLL_OBJECTID = 305i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CMC_IDENTIFICATION: CERTENROLL_OBJECTID = 306i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CMC_IDENTITY_PROOF: CERTENROLL_OBJECTID = 307i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CMC_DATA_RETURN: CERTENROLL_OBJECTID = 308i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CMC_TRANSACTION_ID: CERTENROLL_OBJECTID = 309i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CMC_SENDER_NONCE: CERTENROLL_OBJECTID = 310i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CMC_RECIPIENT_NONCE: CERTENROLL_OBJECTID = 311i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CMC_ADD_EXTENSIONS: CERTENROLL_OBJECTID = 312i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CMC_ENCRYPTED_POP: CERTENROLL_OBJECTID = 313i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CMC_DECRYPTED_POP: CERTENROLL_OBJECTID = 314i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CMC_LRA_POP_WITNESS: CERTENROLL_OBJECTID = 315i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CMC_GET_CERT: CERTENROLL_OBJECTID = 316i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CMC_GET_CRL: CERTENROLL_OBJECTID = 317i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CMC_REVOKE_REQUEST: CERTENROLL_OBJECTID = 318i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CMC_REG_INFO: CERTENROLL_OBJECTID = 319i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CMC_RESPONSE_INFO: CERTENROLL_OBJECTID = 320i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CMC_QUERY_PENDING: CERTENROLL_OBJECTID = 321i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CMC_ID_POP_LINK_RANDOM: CERTENROLL_OBJECTID = 322i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CMC_ID_POP_LINK_WITNESS: CERTENROLL_OBJECTID = 323i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CMC_ID_CONFIRM_CERT_ACCEPTANCE: CERTENROLL_OBJECTID = 324i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CMC_ADD_ATTRIBUTES: CERTENROLL_OBJECTID = 325i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_LOYALTY_OTHER_LOGOTYPE: CERTENROLL_OBJECTID = 326i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_BACKGROUND_OTHER_LOGOTYPE: CERTENROLL_OBJECTID = 327i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKIX_OCSP_BASIC_SIGNED_RESPONSE: CERTENROLL_OBJECTID = 328i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_7_DATA: CERTENROLL_OBJECTID = 329i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_7_SIGNED: CERTENROLL_OBJECTID = 330i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_7_ENVELOPED: CERTENROLL_OBJECTID = 331i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_7_SIGNEDANDENVELOPED: CERTENROLL_OBJECTID = 332i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_7_DIGESTED: CERTENROLL_OBJECTID = 333i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_7_ENCRYPTED: CERTENROLL_OBJECTID = 334i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_9_CONTENT_TYPE: CERTENROLL_OBJECTID = 335i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_9_MESSAGE_DIGEST: CERTENROLL_OBJECTID = 336i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CERT_PROP_ID_PREFIX: CERTENROLL_OBJECTID = 337i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CERT_KEY_IDENTIFIER_PROP_ID: CERTENROLL_OBJECTID = 338i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CERT_ISSUER_SERIAL_NUMBER_MD5_HASH_PROP_ID: CERTENROLL_OBJECTID = 339i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CERT_SUBJECT_NAME_MD5_HASH_PROP_ID: CERTENROLL_OBJECTID = 340i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CERT_MD5_HASH_PROP_ID: CERTENROLL_OBJECTID = 341i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_SHA256RSA: CERTENROLL_OBJECTID = 342i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_SHA384RSA: CERTENROLL_OBJECTID = 343i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_SHA512RSA: CERTENROLL_OBJECTID = 344i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_NIST_sha256: CERTENROLL_OBJECTID = 345i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_NIST_sha384: CERTENROLL_OBJECTID = 346i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_NIST_sha512: CERTENROLL_OBJECTID = 347i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_MGF1: CERTENROLL_OBJECTID = 348i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ECC_PUBLIC_KEY: CERTENROLL_OBJECTID = 349i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ECDSA_SHA1: CERTENROLL_OBJECTID = 350i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ECDSA_SPECIFIED: CERTENROLL_OBJECTID = 351i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ANY_ENHANCED_KEY_USAGE: CERTENROLL_OBJECTID = 352i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_SSA_PSS: CERTENROLL_OBJECTID = 353i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ATTR_SUPPORTED_ALGORITHMS: CERTENROLL_OBJECTID = 355i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ATTR_TPM_SECURITY_ASSERTIONS: CERTENROLL_OBJECTID = 356i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ATTR_TPM_SPECIFICATION: CERTENROLL_OBJECTID = 357i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CERT_DISALLOWED_FILETIME_PROP_ID: CERTENROLL_OBJECTID = 358i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CERT_SIGNATURE_HASH_PROP_ID: CERTENROLL_OBJECTID = 359i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CERT_STRONG_KEY_OS_1: CERTENROLL_OBJECTID = 360i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CERT_STRONG_KEY_OS_CURRENT: CERTENROLL_OBJECTID = 361i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CERT_STRONG_KEY_OS_PREFIX: CERTENROLL_OBJECTID = 362i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CERT_STRONG_SIGN_OS_1: CERTENROLL_OBJECTID = 363i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CERT_STRONG_SIGN_OS_CURRENT: CERTENROLL_OBJECTID = 364i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_CERT_STRONG_SIGN_OS_PREFIX: CERTENROLL_OBJECTID = 365i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_DH_SINGLE_PASS_STDDH_SHA1_KDF: CERTENROLL_OBJECTID = 366i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_DH_SINGLE_PASS_STDDH_SHA256_KDF: CERTENROLL_OBJECTID = 367i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_DH_SINGLE_PASS_STDDH_SHA384_KDF: CERTENROLL_OBJECTID = 368i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_DISALLOWED_HASH: CERTENROLL_OBJECTID = 369i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_DISALLOWED_LIST: CERTENROLL_OBJECTID = 370i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ECC_CURVE_P256: CERTENROLL_OBJECTID = 371i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ECC_CURVE_P384: CERTENROLL_OBJECTID = 372i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ECC_CURVE_P521: CERTENROLL_OBJECTID = 373i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ECDSA_SHA256: CERTENROLL_OBJECTID = 374i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ECDSA_SHA384: CERTENROLL_OBJECTID = 375i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ECDSA_SHA512: CERTENROLL_OBJECTID = 376i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ENROLL_CAXCHGCERT_HASH: CERTENROLL_OBJECTID = 377i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ENROLL_EK_INFO: CERTENROLL_OBJECTID = 378i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ENROLL_EKPUB_CHALLENGE: CERTENROLL_OBJECTID = 379i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ENROLL_EKVERIFYCERT: CERTENROLL_OBJECTID = 380i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ENROLL_EKVERIFYCREDS: CERTENROLL_OBJECTID = 381i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ENROLL_EKVERIFYKEY: CERTENROLL_OBJECTID = 382i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_EV_RDN_COUNTRY: CERTENROLL_OBJECTID = 383i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_EV_RDN_LOCALE: CERTENROLL_OBJECTID = 384i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_EV_RDN_STATE_OR_PROVINCE: CERTENROLL_OBJECTID = 385i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_INHIBIT_ANY_POLICY: CERTENROLL_OBJECTID = 386i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_INTERNATIONALIZED_EMAIL_ADDRESS: CERTENROLL_OBJECTID = 387i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_KP_KERNEL_MODE_CODE_SIGNING: CERTENROLL_OBJECTID = 388i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_KP_KERNEL_MODE_HAL_EXTENSION_SIGNING: CERTENROLL_OBJECTID = 389i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_KP_KERNEL_MODE_TRUSTED_BOOT_SIGNING: CERTENROLL_OBJECTID = 390i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_KP_TPM_AIK_CERTIFICATE: CERTENROLL_OBJECTID = 391i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_KP_TPM_EK_CERTIFICATE: CERTENROLL_OBJECTID = 392i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_KP_TPM_PLATFORM_CERTIFICATE: CERTENROLL_OBJECTID = 393i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_NIST_AES128_CBC: CERTENROLL_OBJECTID = 394i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_NIST_AES128_WRAP: CERTENROLL_OBJECTID = 395i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_NIST_AES192_CBC: CERTENROLL_OBJECTID = 396i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_NIST_AES192_WRAP: CERTENROLL_OBJECTID = 397i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_NIST_AES256_CBC: CERTENROLL_OBJECTID = 398i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_NIST_AES256_WRAP: CERTENROLL_OBJECTID = 399i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_12_PbeIds: CERTENROLL_OBJECTID = 400i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_12_pbeWithSHA1And128BitRC2: CERTENROLL_OBJECTID = 401i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_12_pbeWithSHA1And128BitRC4: CERTENROLL_OBJECTID = 402i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_12_pbeWithSHA1And2KeyTripleDES: CERTENROLL_OBJECTID = 403i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_12_pbeWithSHA1And3KeyTripleDES: CERTENROLL_OBJECTID = 404i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_12_pbeWithSHA1And40BitRC2: CERTENROLL_OBJECTID = 405i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_12_pbeWithSHA1And40BitRC4: CERTENROLL_OBJECTID = 406i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKCS_12_PROTECTED_PASSWORD_SECRET_BAG_TYPE_ID: CERTENROLL_OBJECTID = 407i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKINIT_KP_KDC: CERTENROLL_OBJECTID = 408i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKIX_CA_REPOSITORY: CERTENROLL_OBJECTID = 409i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKIX_OCSP_NONCE: CERTENROLL_OBJECTID = 410i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_PKIX_TIME_STAMPING: CERTENROLL_OBJECTID = 411i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_QC_EU_COMPLIANCE: CERTENROLL_OBJECTID = 412i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_QC_SSCD: CERTENROLL_OBJECTID = 413i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_QC_STATEMENTS_EXT: CERTENROLL_OBJECTID = 414i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RDN_TPM_MANUFACTURER: CERTENROLL_OBJECTID = 415i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RDN_TPM_MODEL: CERTENROLL_OBJECTID = 416i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RDN_TPM_VERSION: CERTENROLL_OBJECTID = 417i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_REVOKED_LIST_SIGNER: CERTENROLL_OBJECTID = 418i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RFC3161_counterSign: CERTENROLL_OBJECTID = 419i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ROOT_PROGRAM_AUTO_UPDATE_CA_REVOCATION: CERTENROLL_OBJECTID = 420i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ROOT_PROGRAM_AUTO_UPDATE_END_REVOCATION: CERTENROLL_OBJECTID = 421i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ROOT_PROGRAM_FLAGS: CERTENROLL_OBJECTID = 422i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ROOT_PROGRAM_NO_OCSP_FAILOVER_TO_CRL: CERTENROLL_OBJECTID = 423i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSA_PSPECIFIED: CERTENROLL_OBJECTID = 424i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_RSAES_OAEP: CERTENROLL_OBJECTID = 425i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_SUBJECT_INFO_ACCESS: CERTENROLL_OBJECTID = 426i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_TIMESTAMP_TOKEN: CERTENROLL_OBJECTID = 427i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ENROLL_SCEP_ERROR: CERTENROLL_OBJECTID = 428i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OIDVerisign_MessageType: CERTENROLL_OBJECTID = 429i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OIDVerisign_PkiStatus: CERTENROLL_OBJECTID = 430i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OIDVerisign_FailInfo: CERTENROLL_OBJECTID = 431i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OIDVerisign_SenderNonce: CERTENROLL_OBJECTID = 432i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OIDVerisign_RecipientNonce: CERTENROLL_OBJECTID = 433i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OIDVerisign_TransactionID: CERTENROLL_OBJECTID = 434i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ENROLL_ATTESTATION_CHALLENGE: CERTENROLL_OBJECTID = 435i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ENROLL_ATTESTATION_STATEMENT: CERTENROLL_OBJECTID = 436i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ENROLL_ENCRYPTION_ALGORITHM: CERTENROLL_OBJECTID = 437i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_OID_ENROLL_KSP_NAME: CERTENROLL_OBJECTID = 438i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type CERTENROLL_PROPERTYID = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_PROPERTYID_NONE: CERTENROLL_PROPERTYID = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_KEY_PROV_HANDLE_PROP_ID: CERTENROLL_PROPERTYID = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_KEY_PROV_INFO_PROP_ID: CERTENROLL_PROPERTYID = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SHA1_HASH_PROP_ID: CERTENROLL_PROPERTYID = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_MD5_HASH_PROP_ID: CERTENROLL_PROPERTYID = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_HASH_PROP_ID: CERTENROLL_PROPERTYID = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_KEY_CONTEXT_PROP_ID: CERTENROLL_PROPERTYID = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_KEY_SPEC_PROP_ID: CERTENROLL_PROPERTYID = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_IE30_RESERVED_PROP_ID: CERTENROLL_PROPERTYID = 7i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_PUBKEY_HASH_RESERVED_PROP_ID: CERTENROLL_PROPERTYID = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_ENHKEY_USAGE_PROP_ID: CERTENROLL_PROPERTYID = 9i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_CTL_USAGE_PROP_ID: CERTENROLL_PROPERTYID = 9i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_NEXT_UPDATE_LOCATION_PROP_ID: CERTENROLL_PROPERTYID = 10i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_FRIENDLY_NAME_PROP_ID: CERTENROLL_PROPERTYID = 11i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_PVK_FILE_PROP_ID: CERTENROLL_PROPERTYID = 12i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_DESCRIPTION_PROP_ID: CERTENROLL_PROPERTYID = 13i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_ACCESS_STATE_PROP_ID: CERTENROLL_PROPERTYID = 14i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SIGNATURE_HASH_PROP_ID: CERTENROLL_PROPERTYID = 15i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SMART_CARD_DATA_PROP_ID: CERTENROLL_PROPERTYID = 16i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_EFS_PROP_ID: CERTENROLL_PROPERTYID = 17i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_FORTEZZA_DATA_PROP_ID: CERTENROLL_PROPERTYID = 18i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_ARCHIVED_PROP_ID: CERTENROLL_PROPERTYID = 19i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_KEY_IDENTIFIER_PROP_ID: CERTENROLL_PROPERTYID = 20i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_AUTO_ENROLL_PROP_ID: CERTENROLL_PROPERTYID = 21i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_PUBKEY_ALG_PARA_PROP_ID: CERTENROLL_PROPERTYID = 22i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_CROSS_CERT_DIST_POINTS_PROP_ID: CERTENROLL_PROPERTYID = 23i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_ISSUER_PUBLIC_KEY_MD5_HASH_PROP_ID: CERTENROLL_PROPERTYID = 24i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SUBJECT_PUBLIC_KEY_MD5_HASH_PROP_ID: CERTENROLL_PROPERTYID = 25i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_ENROLLMENT_PROP_ID: CERTENROLL_PROPERTYID = 26i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_DATE_STAMP_PROP_ID: CERTENROLL_PROPERTYID = 27i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_ISSUER_SERIAL_NUMBER_MD5_HASH_PROP_ID: CERTENROLL_PROPERTYID = 28i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SUBJECT_NAME_MD5_HASH_PROP_ID: CERTENROLL_PROPERTYID = 29i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_EXTENDED_ERROR_INFO_PROP_ID: CERTENROLL_PROPERTYID = 30i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_RENEWAL_PROP_ID: CERTENROLL_PROPERTYID = 64i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_ARCHIVED_KEY_HASH_PROP_ID: CERTENROLL_PROPERTYID = 65i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_AUTO_ENROLL_RETRY_PROP_ID: CERTENROLL_PROPERTYID = 66i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_AIA_URL_RETRIEVED_PROP_ID: CERTENROLL_PROPERTYID = 67i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_AUTHORITY_INFO_ACCESS_PROP_ID: CERTENROLL_PROPERTYID = 68i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_BACKED_UP_PROP_ID: CERTENROLL_PROPERTYID = 69i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_OCSP_RESPONSE_PROP_ID: CERTENROLL_PROPERTYID = 70i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_REQUEST_ORIGINATOR_PROP_ID: CERTENROLL_PROPERTYID = 71i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SOURCE_LOCATION_PROP_ID: CERTENROLL_PROPERTYID = 72i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SOURCE_URL_PROP_ID: CERTENROLL_PROPERTYID = 73i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_NEW_KEY_PROP_ID: CERTENROLL_PROPERTYID = 74i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_OCSP_CACHE_PREFIX_PROP_ID: CERTENROLL_PROPERTYID = 75i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SMART_CARD_ROOT_INFO_PROP_ID: CERTENROLL_PROPERTYID = 76i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_NO_AUTO_EXPIRE_CHECK_PROP_ID: CERTENROLL_PROPERTYID = 77i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_NCRYPT_KEY_HANDLE_PROP_ID: CERTENROLL_PROPERTYID = 78i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_HCRYPTPROV_OR_NCRYPT_KEY_HANDLE_PROP_ID: CERTENROLL_PROPERTYID = 79i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SUBJECT_INFO_ACCESS_PROP_ID: CERTENROLL_PROPERTYID = 80i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_CA_OCSP_AUTHORITY_INFO_ACCESS_PROP_ID: CERTENROLL_PROPERTYID = 81i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_CA_DISABLE_CRL_PROP_ID: CERTENROLL_PROPERTYID = 82i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_ROOT_PROGRAM_CERT_POLICIES_PROP_ID: CERTENROLL_PROPERTYID = 83i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_ROOT_PROGRAM_NAME_CONSTRAINTS_PROP_ID: CERTENROLL_PROPERTYID = 84i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SUBJECT_OCSP_AUTHORITY_INFO_ACCESS_PROP_ID: CERTENROLL_PROPERTYID = 85i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SUBJECT_DISABLE_CRL_PROP_ID: CERTENROLL_PROPERTYID = 86i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_CEP_PROP_ID: CERTENROLL_PROPERTYID = 87i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SIGN_HASH_CNG_ALG_PROP_ID: CERTENROLL_PROPERTYID = 89i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SCARD_PIN_ID_PROP_ID: CERTENROLL_PROPERTYID = 90i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SCARD_PIN_INFO_PROP_ID: CERTENROLL_PROPERTYID = 91i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SUBJECT_PUB_KEY_BIT_LENGTH_PROP_ID: CERTENROLL_PROPERTYID = 92i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_PUB_KEY_CNG_ALG_BIT_LENGTH_PROP_ID: CERTENROLL_PROPERTYID = 93i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_ISSUER_PUB_KEY_BIT_LENGTH_PROP_ID: CERTENROLL_PROPERTYID = 94i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_ISSUER_CHAIN_SIGN_HASH_CNG_ALG_PROP_ID: CERTENROLL_PROPERTYID = 95i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_ISSUER_CHAIN_PUB_KEY_CNG_ALG_BIT_LENGTH_PROP_ID: CERTENROLL_PROPERTYID = 96i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_NO_EXPIRE_NOTIFICATION_PROP_ID: CERTENROLL_PROPERTYID = 97i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_AUTH_ROOT_SHA256_HASH_PROP_ID: CERTENROLL_PROPERTYID = 98i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_NCRYPT_KEY_HANDLE_TRANSFER_PROP_ID: CERTENROLL_PROPERTYID = 99i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_HCRYPTPROV_TRANSFER_PROP_ID: CERTENROLL_PROPERTYID = 100i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SMART_CARD_READER_PROP_ID: CERTENROLL_PROPERTYID = 101i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SEND_AS_TRUSTED_ISSUER_PROP_ID: CERTENROLL_PROPERTYID = 102i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_KEY_REPAIR_ATTEMPTED_PROP_ID: CERTENROLL_PROPERTYID = 103i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_DISALLOWED_FILETIME_PROP_ID: CERTENROLL_PROPERTYID = 104i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_ROOT_PROGRAM_CHAIN_POLICIES_PROP_ID: CERTENROLL_PROPERTYID = 105i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SMART_CARD_READER_NON_REMOVABLE_PROP_ID: CERTENROLL_PROPERTYID = 106i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SHA256_HASH_PROP_ID: CERTENROLL_PROPERTYID = 107i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SCEP_SERVER_CERTS_PROP_ID: CERTENROLL_PROPERTYID = 108i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SCEP_RA_SIGNATURE_CERT_PROP_ID: CERTENROLL_PROPERTYID = 109i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SCEP_RA_ENCRYPTION_CERT_PROP_ID: CERTENROLL_PROPERTYID = 110i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SCEP_CA_CERT_PROP_ID: CERTENROLL_PROPERTYID = 111i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SCEP_SIGNER_CERT_PROP_ID: CERTENROLL_PROPERTYID = 112i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SCEP_NONCE_PROP_ID: CERTENROLL_PROPERTYID = 113i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SCEP_ENCRYPT_HASH_CNG_ALG_PROP_ID: CERTENROLL_PROPERTYID = 114i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SCEP_FLAGS_PROP_ID: CERTENROLL_PROPERTYID = 115i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SCEP_GUID_PROP_ID: CERTENROLL_PROPERTYID = 116i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SERIALIZABLE_KEY_CONTEXT_PROP_ID: CERTENROLL_PROPERTYID = 117i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_ISOLATED_KEY_PROP_ID: CERTENROLL_PROPERTYID = 118i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SERIAL_CHAIN_PROP_ID: CERTENROLL_PROPERTYID = 119i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_KEY_CLASSIFICATION_PROP_ID: CERTENROLL_PROPERTYID = 120i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_DISALLOWED_ENHKEY_USAGE_PROP_ID: CERTENROLL_PROPERTYID = 122i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_NONCOMPLIANT_ROOT_URL_PROP_ID: CERTENROLL_PROPERTYID = 123i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_PIN_SHA256_HASH_PROP_ID: CERTENROLL_PROPERTYID = 124i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_CLR_DELETE_KEY_PROP_ID: CERTENROLL_PROPERTYID = 125i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_NOT_BEFORE_FILETIME_PROP_ID: CERTENROLL_PROPERTYID = 126i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_CERT_NOT_BEFORE_ENHKEY_USAGE_PROP_ID: CERTENROLL_PROPERTYID = 127i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_FIRST_RESERVED_PROP_ID: CERTENROLL_PROPERTYID = 128i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_LAST_RESERVED_PROP_ID: CERTENROLL_PROPERTYID = 32767i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_FIRST_USER_PROP_ID: CERTENROLL_PROPERTYID = 32768i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_LAST_USER_PROP_ID: CERTENROLL_PROPERTYID = 65535i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_STORE_LOCALIZED_NAME_PROP_ID: CERTENROLL_PROPERTYID = 4096i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub struct CERTTRANSBLOB {
+ pub cb: u32,
+ pub pb: *mut u8,
+}
+impl ::core::marker::Copy for CERTTRANSBLOB {}
+impl ::core::clone::Clone for CERTTRANSBLOB {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub struct CERTVIEWRESTRICTION {
+ pub ColumnIndex: u32,
+ pub SeekOperator: i32,
+ pub SortOrder: i32,
+ pub pbValue: *mut u8,
+ pub cbValue: u32,
+}
+impl ::core::marker::Copy for CERTVIEWRESTRICTION {}
+impl ::core::clone::Clone for CERTVIEWRESTRICTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type CERT_ALT_NAME = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CERT_ALT_NAME_RFC822_NAME: CERT_ALT_NAME = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CERT_ALT_NAME_DNS_NAME: CERT_ALT_NAME = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CERT_ALT_NAME_URL: CERT_ALT_NAME = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CERT_ALT_NAME_REGISTERED_ID: CERT_ALT_NAME = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CERT_ALT_NAME_DIRECTORY_NAME: CERT_ALT_NAME = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CERT_ALT_NAME_IP_ADDRESS: CERT_ALT_NAME = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CERT_ALT_NAME_OTHER_NAME: CERT_ALT_NAME = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type CERT_CREATE_REQUEST_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XECR_CMC: CERT_CREATE_REQUEST_FLAGS = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XECR_PKCS10_V1_5: CERT_CREATE_REQUEST_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XECR_PKCS10_V2_0: CERT_CREATE_REQUEST_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XECR_PKCS7: CERT_CREATE_REQUEST_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type CERT_DELETE_ROW_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CDR_EXPIRED: CERT_DELETE_ROW_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CDR_REQUEST_LAST_CHANGED: CERT_DELETE_ROW_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type CERT_EXIT_EVENT_MASK = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EXITEVENT_CERTDENIED: CERT_EXIT_EVENT_MASK = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EXITEVENT_CERTISSUED: CERT_EXIT_EVENT_MASK = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EXITEVENT_CERTPENDING: CERT_EXIT_EVENT_MASK = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EXITEVENT_CERTRETRIEVEPENDING: CERT_EXIT_EVENT_MASK = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EXITEVENT_CERTREVOKED: CERT_EXIT_EVENT_MASK = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EXITEVENT_CRLISSUED: CERT_EXIT_EVENT_MASK = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EXITEVENT_SHUTDOWN: CERT_EXIT_EVENT_MASK = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type CERT_GET_CONFIG_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CC_DEFAULTCONFIG: CERT_GET_CONFIG_FLAGS = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CC_FIRSTCONFIG: CERT_GET_CONFIG_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CC_LOCALACTIVECONFIG: CERT_GET_CONFIG_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CC_LOCALCONFIG: CERT_GET_CONFIG_FLAGS = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CC_UIPICKCONFIG: CERT_GET_CONFIG_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CC_UIPICKCONFIGSKIPLOCALCA: CERT_GET_CONFIG_FLAGS = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type CERT_IMPORT_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_IN_BASE64HEADER: CERT_IMPORT_FLAGS = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_IN_BASE64: CERT_IMPORT_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_IN_BINARY: CERT_IMPORT_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type CERT_PROPERTY_TYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PROPTYPE_BINARY: CERT_PROPERTY_TYPE = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PROPTYPE_DATE: CERT_PROPERTY_TYPE = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PROPTYPE_LONG: CERT_PROPERTY_TYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PROPTYPE_STRING: CERT_PROPERTY_TYPE = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type CERT_REQUEST_OUT_TYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_OUT_BASE64HEADER: CERT_REQUEST_OUT_TYPE = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_OUT_BASE64: CERT_REQUEST_OUT_TYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_OUT_BINARY: CERT_REQUEST_OUT_TYPE = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type CERT_VIEW_COLUMN_INDEX = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CV_COLUMN_LOG_DEFAULT: CERT_VIEW_COLUMN_INDEX = -2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CV_COLUMN_LOG_FAILED_DEFAULT: CERT_VIEW_COLUMN_INDEX = -3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CV_COLUMN_QUEUE_DEFAULT: CERT_VIEW_COLUMN_INDEX = -1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type CERT_VIEW_SEEK_OPERATOR_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CVR_SEEK_EQ: CERT_VIEW_SEEK_OPERATOR_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CVR_SEEK_LE: CERT_VIEW_SEEK_OPERATOR_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CVR_SEEK_LT: CERT_VIEW_SEEK_OPERATOR_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CVR_SEEK_GE: CERT_VIEW_SEEK_OPERATOR_FLAGS = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CVR_SEEK_GT: CERT_VIEW_SEEK_OPERATOR_FLAGS = 16u32;
+pub const CEnroll: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 1140388489, data2: 31264, data3: 4560, data4: [143, 6, 0, 192, 79, 194, 149, 225] };
+pub const CEnroll2: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 309762276, data2: 59184, data3: 20060, data4: [162, 177, 33, 73, 10, 112, 200, 161] };
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CMM_READONLY: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CMM_REFRESHONLY: u32 = 1u32;
+pub const CObjectId: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821376, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CObjectIds: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821377, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CPF_BADURL_ERROR: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CPF_BASE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CPF_CASTORE_ERROR: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CPF_COMPLETE: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CPF_DELTA: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CPF_FILE_ERROR: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CPF_FTP_ERROR: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CPF_HTTP_ERROR: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CPF_LDAP_ERROR: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CPF_MANUAL: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CPF_POSTPONED_BASE_FILE_ERROR: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CPF_POSTPONED_BASE_LDAP_ERROR: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CPF_SHADOW: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CPF_SIGNATURE_ERROR: u32 = 128u32;
+pub const CPolicyQualifier: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821404, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CPolicyQualifiers: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821405, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CRLF_ALLOW_REQUEST_ATTRIBUTE_SUBJECT: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CRLF_BUILD_ROOTCA_CRLENTRIES_BASEDONKEY: u32 = 2097152u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CRLF_CRLNUMBER_CRITICAL: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CRLF_DELETE_EXPIRED_CRLS: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CRLF_DELTA_USE_OLDEST_UNEXPIRED_BASE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CRLF_DISABLE_CHAIN_VERIFICATION: u32 = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CRLF_DISABLE_RDN_REORDER: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CRLF_DISABLE_ROOT_CROSS_CERTS: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CRLF_ENFORCE_ENROLLMENT_AGENT: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CRLF_IGNORE_CROSS_CERT_TRUST_ERROR: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CRLF_IGNORE_INVALID_POLICIES: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CRLF_IGNORE_UNKNOWN_CMC_ATTRIBUTES: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CRLF_LOG_FULL_RESPONSE: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CRLF_PRESERVE_EXPIRED_CA_CERTS: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CRLF_PRESERVE_REVOKED_CA_CERTS: u32 = 524288u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CRLF_PUBLISH_EXPIRED_CERT_CRLS: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CRLF_REBUILD_MODIFIED_SUBJECT_ONLY: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CRLF_REVCHECK_IGNORE_NOREVCHECK: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CRLF_REVCHECK_IGNORE_OFFLINE: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CRLF_SAVE_FAILED_CERTS: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CRLF_USE_CROSS_CERT_TEMPLATE: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CRLF_USE_XCHG_CERT_TEMPLATE: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type CRLRevocationReason = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRL_REASON_UNSPECIFIED: CRLRevocationReason = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRL_REASON_KEY_COMPROMISE: CRLRevocationReason = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRL_REASON_CA_COMPROMISE: CRLRevocationReason = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRL_REASON_AFFILIATION_CHANGED: CRLRevocationReason = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRL_REASON_SUPERSEDED: CRLRevocationReason = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRL_REASON_CESSATION_OF_OPERATION: CRLRevocationReason = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRL_REASON_CERTIFICATE_HOLD: CRLRevocationReason = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRL_REASON_REMOVE_FROM_CRL: CRLRevocationReason = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRL_REASON_PRIVILEGE_WITHDRAWN: CRLRevocationReason = 9i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRL_REASON_AA_COMPROMISE: CRLRevocationReason = 10i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CRYPT_ENUM_ALL_PROVIDERS: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type CR_DISP = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_DISP_DENIED: CR_DISP = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_DISP_ERROR: CR_DISP = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_DISP_INCOMPLETE: CR_DISP = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_DISP_ISSUED: CR_DISP = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_DISP_ISSUED_OUT_OF_BAND: CR_DISP = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_DISP_UNDER_SUBMISSION: CR_DISP = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_DISP_REVOKED: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_FLG_CACROSSCERT: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_FLG_CAXCHGCERT: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_FLG_CHALLENGEPENDING: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_FLG_CHALLENGESATISFIED: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_FLG_DEFINEDCACERT: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_FLG_ENFORCEUTF8: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_FLG_ENROLLONBEHALFOF: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_FLG_FORCETELETEX: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_FLG_FORCEUTF8: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_FLG_PUBLISHERROR: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_FLG_RENEWAL: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_FLG_SUBJECTUNMODIFIED: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_FLG_TRUSTEKCERT: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_FLG_TRUSTEKKEY: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_FLG_TRUSTONUSE: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_FLG_VALIDENCRYPTEDKEYHASH: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_GEMT_DEFAULT: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_GEMT_HRESULT_STRING: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_GEMT_HTTP_ERROR: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_IN_CERTIFICATETRANSPARENCY: u32 = 67108864u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_IN_CHALLENGERESPONSE: u32 = 1280u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_IN_CLIENTIDNONE: u32 = 4194304u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_IN_CMC: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_IN_CONNECTONLY: u32 = 8388608u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_IN_CRLS: u32 = 524288u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_IN_ENCODEANY: u32 = 255u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_IN_ENCODEMASK: u32 = 255u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_IN_FORMATANY: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_IN_FORMATMASK: u32 = 65280u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_IN_FULLRESPONSE: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_IN_HTTP: u32 = 196608u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_IN_KEYGEN: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_IN_MACHINE: u32 = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_IN_PKCS10: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_IN_PKCS7: u32 = 768u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_IN_RETURNCHALLENGE: u32 = 16777216u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_IN_ROBO: u32 = 2097152u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_IN_RPC: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_IN_SCEP: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_IN_SCEPPOST: u32 = 33554432u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_IN_SIGNEDCERTIFICATETIMESTAMPLIST: u32 = 1536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_OUT_BASE64REQUESTHEADER: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_OUT_BASE64X509CRLHEADER: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_OUT_CHAIN: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_OUT_CRLS: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_OUT_ENCODEMASK: u32 = 255u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_OUT_HEX: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_OUT_HEXADDR: u32 = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_OUT_HEXASCII: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_OUT_HEXASCIIADDR: u32 = 11u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_OUT_HEXRAW: u32 = 12u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_OUT_NOCR: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_OUT_NOCRLF: u32 = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_ADVANCEDSERVER: u32 = 28u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_BASECRL: u32 = 17u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_BASECRLPUBLISHSTATUS: u32 = 30u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_CABACKWARDCROSSCERT: u32 = 36u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_CABACKWARDCROSSCERTSTATE: u32 = 38u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_CACERTSTATE: u32 = 19u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_CACERTSTATUSCODE: u32 = 34u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_CACERTVERSION: u32 = 39u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_CAFORWARDCROSSCERT: u32 = 35u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_CAFORWARDCROSSCERTSTATE: u32 = 37u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_CANAME: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_CAPROPIDMAX: u32 = 21u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_CASIGCERT: u32 = 12u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_CASIGCERTCHAIN: u32 = 13u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_CASIGCERTCOUNT: u32 = 11u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_CASIGCERTCRLCHAIN: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_CATYPE: u32 = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_CAXCHGCERT: u32 = 15u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_CAXCHGCERTCHAIN: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_CAXCHGCERTCOUNT: u32 = 14u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_CAXCHGCERTCRLCHAIN: u32 = 33u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_CERTAIAOCSPURLS: u32 = 43u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_CERTAIAURLS: u32 = 42u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_CERTCDPURLS: u32 = 41u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_CRLSTATE: u32 = 20u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_DELTACRL: u32 = 18u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_DELTACRLPUBLISHSTATUS: u32 = 31u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_DNSNAME: u32 = 22u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_EXITCOUNT: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_EXITDESCRIPTION: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_FILEVERSION: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_KRACERT: u32 = 26u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_KRACERTCOUNT: u32 = 25u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_KRACERTSTATE: u32 = 27u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_KRACERTUSEDCOUNT: u32 = 24u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_LOCALENAME: u32 = 44u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_NONE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_PARENTCA: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_POLICYDESCRIPTION: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_PRODUCTVERSION: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_ROLESEPARATIONENABLED: u32 = 23u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_SANITIZEDCANAME: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_SANITIZEDCASHORTNAME: u32 = 40u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_SCEPMAX: u32 = 1002u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_SCEPMIN: u32 = 1000u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_SCEPSERVERCAPABILITIES: u32 = 1001u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_SCEPSERVERCERTS: u32 = 1000u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_SCEPSERVERCERTSCHAIN: u32 = 1002u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_SHAREDFOLDER: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_SUBJECTTEMPLATE_OIDS: u32 = 45u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CR_PROP_TEMPLATES: u32 = 29u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSBACKUP_DISABLE_INCREMENTAL: u32 = 4294967295u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type CSBACKUP_TYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSBACKUP_TYPE_FULL: CSBACKUP_TYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSBACKUP_TYPE_LOGS_ONLY: CSBACKUP_TYPE = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSBACKUP_TYPE_MASK: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSBFT_DATABASE_DIRECTORY: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSBFT_DIRECTORY: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSBFT_LOG_DIRECTORY: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSCONTROL_RESTART: u64 = 3u64;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSCONTROL_SHUTDOWN: u64 = 1u64;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSCONTROL_SUSPEND: u64 = 2u64;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub struct CSEDB_RSTMAPW {
+ pub pwszDatabaseName: ::windows_sys::core::PWSTR,
+ pub pwszNewDatabaseName: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for CSEDB_RSTMAPW {}
+impl ::core::clone::Clone for CSEDB_RSTMAPW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSRESTORE_TYPE_CATCHUP: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSRESTORE_TYPE_FULL: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSRESTORE_TYPE_MASK: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSRESTORE_TYPE_ONLINE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSURL_ADDTOCERTCDP: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSURL_ADDTOCERTOCSP: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSURL_ADDTOCRLCDP: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSURL_ADDTOFRESHESTCRL: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSURL_ADDTOIDP: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSURL_PUBLISHRETRY: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSURL_SERVERPUBLISH: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSURL_SERVERPUBLISHDELTA: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSVER_MAJOR: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSVER_MAJOR_LONGHORN: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSVER_MAJOR_THRESHOLD: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSVER_MAJOR_WHISTLER: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSVER_MAJOR_WIN2K: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSVER_MAJOR_WIN7: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSVER_MAJOR_WIN8: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSVER_MAJOR_WINBLUE: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSVER_MINOR: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSVER_MINOR_LONGHORN_BETA1: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSVER_MINOR_THRESHOLD: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSVER_MINOR_WHISTLER_BETA2: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSVER_MINOR_WHISTLER_BETA3: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSVER_MINOR_WIN2K: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSVER_MINOR_WIN7: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSVER_MINOR_WIN8: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CSVER_MINOR_WINBLUE: u32 = 1u32;
+pub const CSignerCertificate: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821437, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CSmimeCapabilities: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821402, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CSmimeCapability: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821401, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CVIEWAGEMINUTESDEFAULT: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type CVRC_COLUMN = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CVRC_COLUMN_SCHEMA: CVRC_COLUMN = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CVRC_COLUMN_RESULT: CVRC_COLUMN = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CVRC_COLUMN_VALUE: CVRC_COLUMN = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CVRC_COLUMN_MASK: CVRC_COLUMN = 4095u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type CVRC_TABLE = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CVRC_TABLE_ATTRIBUTES: CVRC_TABLE = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CVRC_TABLE_CRL: CVRC_TABLE = 20480u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CVRC_TABLE_EXTENSIONS: CVRC_TABLE = 12288u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CVRC_TABLE_REQCERT: CVRC_TABLE = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CVRC_TABLE_MASK: u32 = 61440u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CVRC_TABLE_SHIFT: u32 = 12u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CVR_SEEK_MASK: u32 = 255u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CVR_SEEK_NODELTA: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CVR_SEEK_NONE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CVR_SORT_ASCEND: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CVR_SORT_DESCEND: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CVR_SORT_NONE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CV_COLUMN_ATTRIBUTE_DEFAULT: i32 = -5i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CV_COLUMN_CRL_DEFAULT: i32 = -6i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CV_COLUMN_EXTENSION_DEFAULT: i32 = -4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CV_COLUMN_LOG_REVOKED_DEFAULT: i32 = -7i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CV_OUT_ENCODEMASK: u32 = 255u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CV_OUT_HEXRAW: u32 = 12u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CV_OUT_NOCR: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CV_OUT_NOCRLF: u32 = 1073741824u32;
+pub const CX500DistinguishedName: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821379, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509Attribute: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821410, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509AttributeArchiveKey: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821415, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509AttributeArchiveKeyHash: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821416, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509AttributeClientId: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821413, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509AttributeCspProvider: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821419, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509AttributeExtensions: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821412, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509AttributeOSVersion: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821418, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509AttributeRenewalCertificate: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821414, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509Attributes: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821411, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509CertificateRequestCertificate: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821443, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509CertificateRequestCmc: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821445, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509CertificateRequestPkcs10: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821442, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509CertificateRequestPkcs7: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821444, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509CertificateRevocationList: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821472, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509CertificateRevocationListEntries: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821471, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509CertificateRevocationListEntry: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821470, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509CertificateTemplateADWritable: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2201412387, data2: 11882, data3: 18948, data4: [147, 124, 84, 143, 104, 24, 57, 179] };
+pub const CX509EndorsementKey: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 295852573, data2: 47523, data3: 20189, data4: [175, 131, 59, 89, 173, 190, 211, 97] };
+pub const CX509Enrollment: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821446, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509EnrollmentHelper: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821456, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509EnrollmentPolicyActiveDirectory: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2448658471, data2: 8575, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509EnrollmentPolicyWebService: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2448658472, data2: 8575, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509EnrollmentWebClassFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821449, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509Extension: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821389, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509ExtensionAlternativeNames: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821397, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509ExtensionAuthorityKeyIdentifier: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821400, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509ExtensionBasicConstraints: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821398, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509ExtensionCertificatePolicies: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821408, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509ExtensionEnhancedKeyUsage: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821392, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509ExtensionKeyUsage: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821391, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509ExtensionMSApplicationPolicies: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821409, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509ExtensionSmimeCapabilities: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821403, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509ExtensionSubjectKeyIdentifier: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821399, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509ExtensionTemplate: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821394, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509ExtensionTemplateName: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821393, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509Extensions: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821390, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509MachineEnrollmentFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821457, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509NameValuePair: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821439, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509PolicyServerListManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2448658473, data2: 8575, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509PolicyServerUrl: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2448658474, data2: 8575, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509PrivateKey: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821388, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509PublicKey: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821387, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509SCEPEnrollment: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821473, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+pub const CX509SCEPEnrollmentHelper: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2286821474, data2: 8573, data3: 4570, data4: [178, 164, 0, 14, 123, 187, 43, 9] };
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type CommitTemplateFlags = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CommitFlagSaveTemplateGenerateOID: CommitTemplateFlags = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CommitFlagSaveTemplateUseCurrentOID: CommitTemplateFlags = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CommitFlagSaveTemplateOverwrite: CommitTemplateFlags = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CommitFlagDeleteTemplate: CommitTemplateFlags = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DBFLAGS_CHECKPOINTDEPTH60MB: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DBFLAGS_CIRCULARLOGGING: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DBFLAGS_CREATEIFNEEDED: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DBFLAGS_DISABLESNAPSHOTBACKUP: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DBFLAGS_ENABLEVOLATILEREQUESTS: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DBFLAGS_LAZYFLUSH: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DBFLAGS_LOGBUFFERSHUGE: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DBFLAGS_LOGBUFFERSLARGE: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DBFLAGS_LOGFILESIZE16MB: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DBFLAGS_MAXCACHESIZEX100: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DBFLAGS_MULTITHREADTRANSACTIONS: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DBFLAGS_READONLY: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DBG_CERTSRV: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DBSESSIONCOUNTDEFAULT: u32 = 100u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DB_DISP_ACTIVE: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DB_DISP_CA_CERT: u32 = 15u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DB_DISP_CA_CERT_CHAIN: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DB_DISP_DENIED: u32 = 31u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DB_DISP_ERROR: u32 = 30u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DB_DISP_FOREIGN: u32 = 12u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DB_DISP_ISSUED: u32 = 20u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DB_DISP_KRA_CERT: u32 = 17u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DB_DISP_LOG_FAILED_MIN: u32 = 30u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DB_DISP_LOG_MIN: u32 = 20u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DB_DISP_PENDING: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DB_DISP_QUEUE_MAX: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DB_DISP_REVOKED: u32 = 21u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type DelayRetryAction = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DelayRetryUnknown: DelayRetryAction = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DelayRetryNone: DelayRetryAction = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DelayRetryShort: DelayRetryAction = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DelayRetryLong: DelayRetryAction = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DelayRetrySuccess: DelayRetryAction = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DelayRetryPastSuccess: DelayRetryAction = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EANR_SUPPRESS_IA5CONVERSION: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EAN_NAMEOBJECTID: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EDITF_ADDOLDCERTTYPE: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EDITF_ADDOLDKEYUSAGE: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EDITF_ATTRIBUTECA: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EDITF_ATTRIBUTEEKU: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EDITF_ATTRIBUTEENDDATE: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EDITF_ATTRIBUTESUBJECTALTNAME2: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EDITF_AUDITCERTTEMPLATELOAD: u32 = 2097152u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EDITF_BASICCONSTRAINTSCA: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EDITF_BASICCONSTRAINTSCRITICAL: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EDITF_DISABLEEXTENSIONLIST: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EDITF_DISABLELDAPPACKAGELIST: u32 = 8388608u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EDITF_DISABLEOLDOSCNUPN: u32 = 4194304u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EDITF_EMAILOPTIONAL: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EDITF_ENABLEAKICRITICAL: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EDITF_ENABLEAKIISSUERNAME: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EDITF_ENABLEAKIISSUERSERIAL: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EDITF_ENABLEAKIKEYID: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EDITF_ENABLECHASECLIENTDC: u32 = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EDITF_ENABLEDEFAULTSMIME: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EDITF_ENABLEKEYENCIPHERMENTCACERT: u32 = 134217728u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EDITF_ENABLELDAPREFERRALS: u32 = 524288u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EDITF_ENABLEOCSPREVNOCHECK: u32 = 33554432u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EDITF_ENABLERENEWONBEHALFOF: u32 = 67108864u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EDITF_ENABLEREQUESTEXTENSIONS: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EDITF_ENABLEUPNMAP: u32 = 16777216u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EDITF_IGNOREREQUESTERGROUP: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EDITF_REQUESTEXTENSIONLIST: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EDITF_SERVERUPGRADED: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ENUMEXT_OBJECTID: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type ENUM_CATYPES = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ENUM_ENTERPRISE_ROOTCA: ENUM_CATYPES = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ENUM_ENTERPRISE_SUBCA: ENUM_CATYPES = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ENUM_STANDALONE_ROOTCA: ENUM_CATYPES = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ENUM_STANDALONE_SUBCA: ENUM_CATYPES = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ENUM_UNKNOWN_CA: ENUM_CATYPES = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type ENUM_CERT_COLUMN_VALUE_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CV_OUT_BASE64: ENUM_CERT_COLUMN_VALUE_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CV_OUT_BASE64HEADER: ENUM_CERT_COLUMN_VALUE_FLAGS = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CV_OUT_BASE64REQUESTHEADER: ENUM_CERT_COLUMN_VALUE_FLAGS = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CV_OUT_BASE64X509CRLHEADER: ENUM_CERT_COLUMN_VALUE_FLAGS = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CV_OUT_BINARY: ENUM_CERT_COLUMN_VALUE_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CV_OUT_HEX: ENUM_CERT_COLUMN_VALUE_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CV_OUT_HEXADDR: ENUM_CERT_COLUMN_VALUE_FLAGS = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CV_OUT_HEXASCII: ENUM_CERT_COLUMN_VALUE_FLAGS = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CV_OUT_HEXASCIIADDR: ENUM_CERT_COLUMN_VALUE_FLAGS = 11u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EXITEVENT_CERTIMPORTED: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EXITEVENT_INVALID: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EXITEVENT_STARTUP: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EXITPUB_ACTIVEDIRECTORY: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EXITPUB_DEFAULT_ENTERPRISE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EXITPUB_DEFAULT_STANDALONE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EXITPUB_FILE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EXITPUB_REMOVEOLDCERTS: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EXTENSION_CRITICAL_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EXTENSION_DELETE_FLAG: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EXTENSION_DISABLE_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EXTENSION_ORIGIN_ADMIN: u32 = 196608u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EXTENSION_ORIGIN_CACERT: u32 = 589824u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EXTENSION_ORIGIN_CMC: u32 = 524288u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EXTENSION_ORIGIN_IMPORTEDCERT: u32 = 393216u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EXTENSION_ORIGIN_MASK: u32 = 983040u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EXTENSION_ORIGIN_PKCS7: u32 = 458752u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EXTENSION_ORIGIN_POLICY: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EXTENSION_ORIGIN_RENEWALCERT: u32 = 327680u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EXTENSION_ORIGIN_REQUEST: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EXTENSION_ORIGIN_SERVER: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EXTENSION_POLICY_MASK: u32 = 65535u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type EncodingType = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_STRING_BASE64HEADER: EncodingType = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_STRING_BASE64: EncodingType = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_STRING_BINARY: EncodingType = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_STRING_BASE64REQUESTHEADER: EncodingType = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_STRING_HEX: EncodingType = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_STRING_HEXASCII: EncodingType = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_STRING_BASE64_ANY: EncodingType = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_STRING_ANY: EncodingType = 7i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_STRING_HEX_ANY: EncodingType = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_STRING_BASE64X509CRLHEADER: EncodingType = 9i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_STRING_HEXADDR: EncodingType = 10i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_STRING_HEXASCIIADDR: EncodingType = 11i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_STRING_HEXRAW: EncodingType = 12i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_STRING_BASE64URI: EncodingType = 13i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_STRING_ENCODEMASK: EncodingType = 255i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_STRING_CHAIN: EncodingType = 256i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_STRING_TEXT: EncodingType = 512i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_STRING_PERCENTESCAPE: EncodingType = 134217728i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_STRING_HASHDATA: EncodingType = 268435456i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_STRING_STRICT: EncodingType = 536870912i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_STRING_NOCRLF: EncodingType = 1073741824i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_STRING_NOCR: EncodingType = -2147483648i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type EnrollmentCAProperty = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CAPropCommonName: EnrollmentCAProperty = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CAPropDistinguishedName: EnrollmentCAProperty = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CAPropSanitizedName: EnrollmentCAProperty = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CAPropSanitizedShortName: EnrollmentCAProperty = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CAPropDNSName: EnrollmentCAProperty = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CAPropCertificateTypes: EnrollmentCAProperty = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CAPropCertificate: EnrollmentCAProperty = 7i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CAPropDescription: EnrollmentCAProperty = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CAPropWebServers: EnrollmentCAProperty = 9i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CAPropSiteName: EnrollmentCAProperty = 10i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CAPropSecurity: EnrollmentCAProperty = 11i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const CAPropRenewalOnly: EnrollmentCAProperty = 12i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type EnrollmentDisplayStatus = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DisplayNo: EnrollmentDisplayStatus = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DisplayYes: EnrollmentDisplayStatus = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type EnrollmentEnrollStatus = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const Enrolled: EnrollmentEnrollStatus = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EnrollPended: EnrollmentEnrollStatus = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EnrollUIDeferredEnrollmentRequired: EnrollmentEnrollStatus = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EnrollError: EnrollmentEnrollStatus = 16i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EnrollUnknown: EnrollmentEnrollStatus = 32i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EnrollSkipped: EnrollmentEnrollStatus = 64i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EnrollDenied: EnrollmentEnrollStatus = 256i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type EnrollmentPolicyFlags = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DisableGroupPolicyList: EnrollmentPolicyFlags = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DisableUserServerList: EnrollmentPolicyFlags = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type EnrollmentPolicyServerPropertyFlags = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DefaultNone: EnrollmentPolicyServerPropertyFlags = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const DefaultPolicyServer: EnrollmentPolicyServerPropertyFlags = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type EnrollmentSelectionStatus = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SelectedNo: EnrollmentSelectionStatus = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SelectedYes: EnrollmentSelectionStatus = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type EnrollmentTemplateProperty = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropCommonName: EnrollmentTemplateProperty = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropFriendlyName: EnrollmentTemplateProperty = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropEKUs: EnrollmentTemplateProperty = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropCryptoProviders: EnrollmentTemplateProperty = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropMajorRevision: EnrollmentTemplateProperty = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropDescription: EnrollmentTemplateProperty = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropKeySpec: EnrollmentTemplateProperty = 7i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropSchemaVersion: EnrollmentTemplateProperty = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropMinorRevision: EnrollmentTemplateProperty = 9i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropRASignatureCount: EnrollmentTemplateProperty = 10i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropMinimumKeySize: EnrollmentTemplateProperty = 11i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropOID: EnrollmentTemplateProperty = 12i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropSupersede: EnrollmentTemplateProperty = 13i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropRACertificatePolicies: EnrollmentTemplateProperty = 14i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropRAEKUs: EnrollmentTemplateProperty = 15i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropCertificatePolicies: EnrollmentTemplateProperty = 16i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropV1ApplicationPolicy: EnrollmentTemplateProperty = 17i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropAsymmetricAlgorithm: EnrollmentTemplateProperty = 18i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropKeySecurityDescriptor: EnrollmentTemplateProperty = 19i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropSymmetricAlgorithm: EnrollmentTemplateProperty = 20i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropSymmetricKeyLength: EnrollmentTemplateProperty = 21i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropHashAlgorithm: EnrollmentTemplateProperty = 22i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropKeyUsage: EnrollmentTemplateProperty = 23i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropEnrollmentFlags: EnrollmentTemplateProperty = 24i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropSubjectNameFlags: EnrollmentTemplateProperty = 25i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropPrivateKeyFlags: EnrollmentTemplateProperty = 26i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropGeneralFlags: EnrollmentTemplateProperty = 27i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropSecurityDescriptor: EnrollmentTemplateProperty = 28i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropExtensions: EnrollmentTemplateProperty = 29i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropValidityPeriod: EnrollmentTemplateProperty = 30i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TemplatePropRenewalPeriod: EnrollmentTemplateProperty = 31i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type FNCERTSRVBACKUPCLOSE = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type FNCERTSRVBACKUPEND = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type FNCERTSRVBACKUPFREE = ::core::option::Option<unsafe extern "system" fn(pv: *mut ::core::ffi::c_void)>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type FNCERTSRVBACKUPGETBACKUPLOGSW = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void, ppwszzbackuplogfiles: *mut *mut u16, pcbsize: *mut u32) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type FNCERTSRVBACKUPGETDATABASENAMESW = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void, ppwszzattachmentinformation: *mut *mut u16, pcbsize: *mut u32) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type FNCERTSRVBACKUPGETDYNAMICFILELISTW = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void, ppwszzfilelist: *mut *mut u16, pcbsize: *mut u32) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type FNCERTSRVBACKUPOPENFILEW = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void, pwszattachmentname: ::windows_sys::core::PCWSTR, cbreadhintsize: u32, plifilesize: *mut i64) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type FNCERTSRVBACKUPPREPAREW = ::core::option::Option<unsafe extern "system" fn(pwszservername: ::windows_sys::core::PCWSTR, grbitjet: u32, dwbackupflags: u32, phbc: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type FNCERTSRVBACKUPREAD = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void, pvbuffer: *mut ::core::ffi::c_void, cbbuffer: u32, pcbread: *mut u32) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type FNCERTSRVBACKUPTRUNCATELOGS = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type FNCERTSRVISSERVERONLINEW = ::core::option::Option<unsafe extern "system" fn(pwszservername: ::windows_sys::core::PCWSTR, pfserveronline: *mut super::super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type FNCERTSRVRESTOREEND = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type FNCERTSRVRESTOREGETDATABASELOCATIONSW = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void, ppwszzdatabaselocationlist: *mut *mut u16, pcbsize: *mut u32) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type FNCERTSRVRESTOREPREPAREW = ::core::option::Option<unsafe extern "system" fn(pwszservername: ::windows_sys::core::PCWSTR, dwrestoreflags: u32, phbc: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type FNCERTSRVRESTOREREGISTERCOMPLETE = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void, hrrestorestate: ::windows_sys::core::HRESULT) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type FNCERTSRVRESTOREREGISTERW = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void, pwszcheckpointfilepath: ::windows_sys::core::PCWSTR, pwszlogpath: ::windows_sys::core::PCWSTR, rgrstmap: *mut CSEDB_RSTMAPW, crstmap: i32, pwszbackuplogpath: ::windows_sys::core::PCWSTR, genlow: u32, genhigh: u32) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type FNCERTSRVSERVERCONTROLW = ::core::option::Option<unsafe extern "system" fn(pwszservername: ::windows_sys::core::PCWSTR, dwcontrolflags: u32, pcbout: *mut u32, ppbout: *mut *mut u8) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type FNIMPORTPFXTOPROVIDER = ::core::option::Option<unsafe extern "system" fn(hwndparent: super::super::super::Foundation::HWND, pbpfx: *const u8, cbpfx: u32, importflags: ImportPFXFlags, pwszpassword: ::windows_sys::core::PCWSTR, pwszprovidername: ::windows_sys::core::PCWSTR, pwszreadername: ::windows_sys::core::PCWSTR, pwszcontainernameprefix: ::windows_sys::core::PCWSTR, pwszpin: ::windows_sys::core::PCWSTR, pwszfriendlyname: ::windows_sys::core::PCWSTR, pccertout: *mut u32, prgpcertout: *mut *mut *mut super::CERT_CONTEXT) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type FNIMPORTPFXTOPROVIDERFREEDATA = ::core::option::Option<unsafe extern "system" fn(ccert: u32, rgpcert: *const *const super::CERT_CONTEXT)>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const FR_PROP_CLAIMCHALLENGE: u32 = 22u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type FULL_RESPONSE_PROPERTY_ID = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const FR_PROP_NONE: FULL_RESPONSE_PROPERTY_ID = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const FR_PROP_FULLRESPONSE: FULL_RESPONSE_PROPERTY_ID = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const FR_PROP_STATUSINFOCOUNT: FULL_RESPONSE_PROPERTY_ID = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const FR_PROP_BODYPARTSTRING: FULL_RESPONSE_PROPERTY_ID = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const FR_PROP_STATUS: FULL_RESPONSE_PROPERTY_ID = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const FR_PROP_STATUSSTRING: FULL_RESPONSE_PROPERTY_ID = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const FR_PROP_OTHERINFOCHOICE: FULL_RESPONSE_PROPERTY_ID = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const FR_PROP_FAILINFO: FULL_RESPONSE_PROPERTY_ID = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const FR_PROP_PENDINFOTOKEN: FULL_RESPONSE_PROPERTY_ID = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const FR_PROP_PENDINFOTIME: FULL_RESPONSE_PROPERTY_ID = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const FR_PROP_ISSUEDCERTIFICATEHASH: FULL_RESPONSE_PROPERTY_ID = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const FR_PROP_ISSUEDCERTIFICATE: FULL_RESPONSE_PROPERTY_ID = 11u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const FR_PROP_ISSUEDCERTIFICATECHAIN: FULL_RESPONSE_PROPERTY_ID = 12u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const FR_PROP_ISSUEDCERTIFICATECRLCHAIN: FULL_RESPONSE_PROPERTY_ID = 13u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const FR_PROP_ENCRYPTEDKEYHASH: FULL_RESPONSE_PROPERTY_ID = 14u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const FR_PROP_FULLRESPONSENOPKCS7: FULL_RESPONSE_PROPERTY_ID = 15u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const FR_PROP_CAEXCHANGECERTIFICATEHASH: FULL_RESPONSE_PROPERTY_ID = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const FR_PROP_CAEXCHANGECERTIFICATE: FULL_RESPONSE_PROPERTY_ID = 17u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const FR_PROP_CAEXCHANGECERTIFICATECHAIN: FULL_RESPONSE_PROPERTY_ID = 18u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const FR_PROP_CAEXCHANGECERTIFICATECRLCHAIN: FULL_RESPONSE_PROPERTY_ID = 19u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const FR_PROP_ATTESTATIONCHALLENGE: FULL_RESPONSE_PROPERTY_ID = 20u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const FR_PROP_ATTESTATIONPROVIDERNAME: FULL_RESPONSE_PROPERTY_ID = 21u32;
+pub type IAlternativeName = *mut ::core::ffi::c_void;
+pub type IAlternativeNames = *mut ::core::ffi::c_void;
+pub type IBinaryConverter = *mut ::core::ffi::c_void;
+pub type IBinaryConverter2 = *mut ::core::ffi::c_void;
+pub type ICEnroll = *mut ::core::ffi::c_void;
+pub type ICEnroll2 = *mut ::core::ffi::c_void;
+pub type ICEnroll3 = *mut ::core::ffi::c_void;
+pub type ICEnroll4 = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ICF_ALLOWFOREIGN: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ICF_EXISTINGROW: u32 = 131072u32;
+pub type ICertAdmin = *mut ::core::ffi::c_void;
+pub type ICertAdmin2 = *mut ::core::ffi::c_void;
+pub type ICertConfig = *mut ::core::ffi::c_void;
+pub type ICertConfig2 = *mut ::core::ffi::c_void;
+pub type ICertEncodeAltName = *mut ::core::ffi::c_void;
+pub type ICertEncodeAltName2 = *mut ::core::ffi::c_void;
+pub type ICertEncodeBitString = *mut ::core::ffi::c_void;
+pub type ICertEncodeBitString2 = *mut ::core::ffi::c_void;
+pub type ICertEncodeCRLDistInfo = *mut ::core::ffi::c_void;
+pub type ICertEncodeCRLDistInfo2 = *mut ::core::ffi::c_void;
+pub type ICertEncodeDateArray = *mut ::core::ffi::c_void;
+pub type ICertEncodeDateArray2 = *mut ::core::ffi::c_void;
+pub type ICertEncodeLongArray = *mut ::core::ffi::c_void;
+pub type ICertEncodeLongArray2 = *mut ::core::ffi::c_void;
+pub type ICertEncodeStringArray = *mut ::core::ffi::c_void;
+pub type ICertEncodeStringArray2 = *mut ::core::ffi::c_void;
+pub type ICertExit = *mut ::core::ffi::c_void;
+pub type ICertExit2 = *mut ::core::ffi::c_void;
+pub type ICertGetConfig = *mut ::core::ffi::c_void;
+pub type ICertManageModule = *mut ::core::ffi::c_void;
+pub type ICertPolicy = *mut ::core::ffi::c_void;
+pub type ICertPolicy2 = *mut ::core::ffi::c_void;
+pub type ICertProperties = *mut ::core::ffi::c_void;
+pub type ICertProperty = *mut ::core::ffi::c_void;
+pub type ICertPropertyArchived = *mut ::core::ffi::c_void;
+pub type ICertPropertyArchivedKeyHash = *mut ::core::ffi::c_void;
+pub type ICertPropertyAutoEnroll = *mut ::core::ffi::c_void;
+pub type ICertPropertyBackedUp = *mut ::core::ffi::c_void;
+pub type ICertPropertyDescription = *mut ::core::ffi::c_void;
+pub type ICertPropertyEnrollment = *mut ::core::ffi::c_void;
+pub type ICertPropertyEnrollmentPolicyServer = *mut ::core::ffi::c_void;
+pub type ICertPropertyFriendlyName = *mut ::core::ffi::c_void;
+pub type ICertPropertyKeyProvInfo = *mut ::core::ffi::c_void;
+pub type ICertPropertyRenewal = *mut ::core::ffi::c_void;
+pub type ICertPropertyRequestOriginator = *mut ::core::ffi::c_void;
+pub type ICertPropertySHA1Hash = *mut ::core::ffi::c_void;
+pub type ICertRequest = *mut ::core::ffi::c_void;
+pub type ICertRequest2 = *mut ::core::ffi::c_void;
+pub type ICertRequest3 = *mut ::core::ffi::c_void;
+pub type ICertRequestD = *mut ::core::ffi::c_void;
+pub type ICertRequestD2 = *mut ::core::ffi::c_void;
+pub type ICertServerExit = *mut ::core::ffi::c_void;
+pub type ICertServerPolicy = *mut ::core::ffi::c_void;
+pub type ICertView = *mut ::core::ffi::c_void;
+pub type ICertView2 = *mut ::core::ffi::c_void;
+pub type ICertificateAttestationChallenge = *mut ::core::ffi::c_void;
+pub type ICertificateAttestationChallenge2 = *mut ::core::ffi::c_void;
+pub type ICertificatePolicies = *mut ::core::ffi::c_void;
+pub type ICertificatePolicy = *mut ::core::ffi::c_void;
+pub type ICertificationAuthorities = *mut ::core::ffi::c_void;
+pub type ICertificationAuthority = *mut ::core::ffi::c_void;
+pub type ICryptAttribute = *mut ::core::ffi::c_void;
+pub type ICryptAttributes = *mut ::core::ffi::c_void;
+pub type ICspAlgorithm = *mut ::core::ffi::c_void;
+pub type ICspAlgorithms = *mut ::core::ffi::c_void;
+pub type ICspInformation = *mut ::core::ffi::c_void;
+pub type ICspInformations = *mut ::core::ffi::c_void;
+pub type ICspStatus = *mut ::core::ffi::c_void;
+pub type ICspStatuses = *mut ::core::ffi::c_void;
+pub type IEnroll = *mut ::core::ffi::c_void;
+pub type IEnroll2 = *mut ::core::ffi::c_void;
+pub type IEnroll4 = *mut ::core::ffi::c_void;
+pub type IEnumCERTVIEWATTRIBUTE = *mut ::core::ffi::c_void;
+pub type IEnumCERTVIEWCOLUMN = *mut ::core::ffi::c_void;
+pub type IEnumCERTVIEWEXTENSION = *mut ::core::ffi::c_void;
+pub type IEnumCERTVIEWROW = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const IF_ENABLEADMINASAUDITOR: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const IF_ENABLEEXITKEYRETRIEVAL: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const IF_ENFORCEENCRYPTICERTADMIN: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const IF_ENFORCEENCRYPTICERTREQUEST: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const IF_LOCKICERTREQUEST: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const IF_NOLOCALICERTADMIN: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const IF_NOLOCALICERTADMINBACKUP: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const IF_NOLOCALICERTREQUEST: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const IF_NOREMOTEICERTADMIN: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const IF_NOREMOTEICERTADMINBACKUP: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const IF_NOREMOTEICERTREQUEST: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const IF_NORPCICERTREQUEST: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const IF_NOSNAPSHOTBACKUP: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const IKF_OVERWRITE: u32 = 65536u32;
+pub type INDESPolicy = *mut ::core::ffi::c_void;
+pub type IOCSPAdmin = *mut ::core::ffi::c_void;
+pub type IOCSPCAConfiguration = *mut ::core::ffi::c_void;
+pub type IOCSPCAConfigurationCollection = *mut ::core::ffi::c_void;
+pub type IOCSPProperty = *mut ::core::ffi::c_void;
+pub type IOCSPPropertyCollection = *mut ::core::ffi::c_void;
+pub type IObjectId = *mut ::core::ffi::c_void;
+pub type IObjectIds = *mut ::core::ffi::c_void;
+pub type IPolicyQualifier = *mut ::core::ffi::c_void;
+pub type IPolicyQualifiers = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ISSCERT_DEFAULT_DS: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ISSCERT_DEFAULT_NODS: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ISSCERT_ENABLE: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ISSCERT_FILEURL_OLD: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ISSCERT_FTPURL_OLD: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ISSCERT_HTTPURL_OLD: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ISSCERT_LDAPURL_OLD: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ISSCERT_URLMASK_OLD: u32 = 255u32;
+pub type ISignerCertificate = *mut ::core::ffi::c_void;
+pub type ISignerCertificates = *mut ::core::ffi::c_void;
+pub type ISmimeCapabilities = *mut ::core::ffi::c_void;
+pub type ISmimeCapability = *mut ::core::ffi::c_void;
+pub type IX500DistinguishedName = *mut ::core::ffi::c_void;
+pub type IX509Attribute = *mut ::core::ffi::c_void;
+pub type IX509AttributeArchiveKey = *mut ::core::ffi::c_void;
+pub type IX509AttributeArchiveKeyHash = *mut ::core::ffi::c_void;
+pub type IX509AttributeClientId = *mut ::core::ffi::c_void;
+pub type IX509AttributeCspProvider = *mut ::core::ffi::c_void;
+pub type IX509AttributeExtensions = *mut ::core::ffi::c_void;
+pub type IX509AttributeOSVersion = *mut ::core::ffi::c_void;
+pub type IX509AttributeRenewalCertificate = *mut ::core::ffi::c_void;
+pub type IX509Attributes = *mut ::core::ffi::c_void;
+pub type IX509CertificateRequest = *mut ::core::ffi::c_void;
+pub type IX509CertificateRequestCertificate = *mut ::core::ffi::c_void;
+pub type IX509CertificateRequestCertificate2 = *mut ::core::ffi::c_void;
+pub type IX509CertificateRequestCmc = *mut ::core::ffi::c_void;
+pub type IX509CertificateRequestCmc2 = *mut ::core::ffi::c_void;
+pub type IX509CertificateRequestPkcs10 = *mut ::core::ffi::c_void;
+pub type IX509CertificateRequestPkcs10V2 = *mut ::core::ffi::c_void;
+pub type IX509CertificateRequestPkcs10V3 = *mut ::core::ffi::c_void;
+pub type IX509CertificateRequestPkcs10V4 = *mut ::core::ffi::c_void;
+pub type IX509CertificateRequestPkcs7 = *mut ::core::ffi::c_void;
+pub type IX509CertificateRequestPkcs7V2 = *mut ::core::ffi::c_void;
+pub type IX509CertificateRevocationList = *mut ::core::ffi::c_void;
+pub type IX509CertificateRevocationListEntries = *mut ::core::ffi::c_void;
+pub type IX509CertificateRevocationListEntry = *mut ::core::ffi::c_void;
+pub type IX509CertificateTemplate = *mut ::core::ffi::c_void;
+pub type IX509CertificateTemplateWritable = *mut ::core::ffi::c_void;
+pub type IX509CertificateTemplates = *mut ::core::ffi::c_void;
+pub type IX509EndorsementKey = *mut ::core::ffi::c_void;
+pub type IX509Enrollment = *mut ::core::ffi::c_void;
+pub type IX509Enrollment2 = *mut ::core::ffi::c_void;
+pub type IX509EnrollmentHelper = *mut ::core::ffi::c_void;
+pub type IX509EnrollmentPolicyServer = *mut ::core::ffi::c_void;
+pub type IX509EnrollmentStatus = *mut ::core::ffi::c_void;
+pub type IX509EnrollmentWebClassFactory = *mut ::core::ffi::c_void;
+pub type IX509Extension = *mut ::core::ffi::c_void;
+pub type IX509ExtensionAlternativeNames = *mut ::core::ffi::c_void;
+pub type IX509ExtensionAuthorityKeyIdentifier = *mut ::core::ffi::c_void;
+pub type IX509ExtensionBasicConstraints = *mut ::core::ffi::c_void;
+pub type IX509ExtensionCertificatePolicies = *mut ::core::ffi::c_void;
+pub type IX509ExtensionEnhancedKeyUsage = *mut ::core::ffi::c_void;
+pub type IX509ExtensionKeyUsage = *mut ::core::ffi::c_void;
+pub type IX509ExtensionMSApplicationPolicies = *mut ::core::ffi::c_void;
+pub type IX509ExtensionSmimeCapabilities = *mut ::core::ffi::c_void;
+pub type IX509ExtensionSubjectKeyIdentifier = *mut ::core::ffi::c_void;
+pub type IX509ExtensionTemplate = *mut ::core::ffi::c_void;
+pub type IX509ExtensionTemplateName = *mut ::core::ffi::c_void;
+pub type IX509Extensions = *mut ::core::ffi::c_void;
+pub type IX509MachineEnrollmentFactory = *mut ::core::ffi::c_void;
+pub type IX509NameValuePair = *mut ::core::ffi::c_void;
+pub type IX509NameValuePairs = *mut ::core::ffi::c_void;
+pub type IX509PolicyServerListManager = *mut ::core::ffi::c_void;
+pub type IX509PolicyServerUrl = *mut ::core::ffi::c_void;
+pub type IX509PrivateKey = *mut ::core::ffi::c_void;
+pub type IX509PrivateKey2 = *mut ::core::ffi::c_void;
+pub type IX509PublicKey = *mut ::core::ffi::c_void;
+pub type IX509SCEPEnrollment = *mut ::core::ffi::c_void;
+pub type IX509SCEPEnrollment2 = *mut ::core::ffi::c_void;
+pub type IX509SCEPEnrollmentHelper = *mut ::core::ffi::c_void;
+pub type IX509SignatureInformation = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type ImportPFXFlags = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ImportNone: ImportPFXFlags = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ImportMachineContext: ImportPFXFlags = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ImportForceOverwrite: ImportPFXFlags = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ImportSilent: ImportPFXFlags = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ImportSaveProperties: ImportPFXFlags = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ImportExportable: ImportPFXFlags = 16i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ImportExportableEncrypted: ImportPFXFlags = 32i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ImportNoUserProtected: ImportPFXFlags = 64i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ImportUserProtected: ImportPFXFlags = 128i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ImportUserProtectedHigh: ImportPFXFlags = 256i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ImportInstallCertificate: ImportPFXFlags = 512i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ImportInstallChain: ImportPFXFlags = 1024i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ImportInstallChainAndRoot: ImportPFXFlags = 2048i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type InnerRequestLevel = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const LevelInnermost: InnerRequestLevel = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const LevelNext: InnerRequestLevel = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type InstallResponseRestrictionFlags = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const AllowNone: InstallResponseRestrictionFlags = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const AllowNoOutstandingRequest: InstallResponseRestrictionFlags = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const AllowUntrustedCertificate: InstallResponseRestrictionFlags = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const AllowUntrustedRoot: InstallResponseRestrictionFlags = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const KRAF_DISABLEUSEDEFAULTPROVIDER: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const KRAF_ENABLEARCHIVEALL: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const KRAF_ENABLEFOREIGN: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const KRAF_SAVEBADREQUESTKEY: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const KRA_DISP_EXPIRED: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const KRA_DISP_INVALID: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const KRA_DISP_NOTFOUND: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const KRA_DISP_NOTLOADED: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const KRA_DISP_REVOKED: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const KRA_DISP_UNTRUSTED: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const KRA_DISP_VALID: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const KR_ENABLE_MACHINE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const KR_ENABLE_USER: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type KeyAttestationClaimType = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_CLAIM_NONE: KeyAttestationClaimType = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_CLAIM_AUTHORITY_AND_SUBJECT: KeyAttestationClaimType = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_CLAIM_AUTHORITY_ONLY: KeyAttestationClaimType = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_CLAIM_SUBJECT_ONLY: KeyAttestationClaimType = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_CLAIM_UNKNOWN: KeyAttestationClaimType = 4096i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type KeyIdentifierHashAlgorithm = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SKIHashDefault: KeyIdentifierHashAlgorithm = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SKIHashSha1: KeyIdentifierHashAlgorithm = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SKIHashCapiSha1: KeyIdentifierHashAlgorithm = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SKIHashSha256: KeyIdentifierHashAlgorithm = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SKIHashHPKP: KeyIdentifierHashAlgorithm = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const LDAPF_SIGNDISABLE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const LDAPF_SSLENABLE: u32 = 1u32;
+pub const OCSPAdmin: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3556193553, data2: 37577, data3: 18379, data4: [143, 242, 141, 137, 26, 124, 77, 228] };
+pub const OCSPPropertyCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 4181042472, data2: 47754, data3: 19929, data4: [186, 121, 242, 131, 39, 92, 178, 222] };
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type OCSPRequestFlag = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const OCSP_RF_REJECT_SIGNED_REQUESTS: OCSPRequestFlag = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type OCSPSigningFlag = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const OCSP_SF_SILENT: OCSPSigningFlag = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const OCSP_SF_USE_CACERT: OCSPSigningFlag = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const OCSP_SF_ALLOW_SIGNINGCERT_AUTORENEWAL: OCSPSigningFlag = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const OCSP_SF_FORCE_SIGNINGCERT_ISSUER_ISCA: OCSPSigningFlag = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const OCSP_SF_AUTODISCOVER_SIGNINGCERT: OCSPSigningFlag = 16i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const OCSP_SF_MANUAL_ASSIGN_SIGNINGCERT: OCSPSigningFlag = 32i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const OCSP_SF_RESPONDER_ID_KEYHASH: OCSPSigningFlag = 64i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const OCSP_SF_RESPONDER_ID_NAME: OCSPSigningFlag = 128i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const OCSP_SF_ALLOW_NONCE_EXTENSION: OCSPSigningFlag = 256i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const OCSP_SF_ALLOW_SIGNINGCERT_AUTOENROLLMENT: OCSPSigningFlag = 512i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type ObjectIdGroupId = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_ANY_GROUP_ID: ObjectIdGroupId = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_HASH_ALG_OID_GROUP_ID: ObjectIdGroupId = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_ENCRYPT_ALG_OID_GROUP_ID: ObjectIdGroupId = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_PUBKEY_ALG_OID_GROUP_ID: ObjectIdGroupId = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_SIGN_ALG_OID_GROUP_ID: ObjectIdGroupId = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_RDN_ATTR_OID_GROUP_ID: ObjectIdGroupId = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_EXT_OR_ATTR_OID_GROUP_ID: ObjectIdGroupId = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_ENHKEY_USAGE_OID_GROUP_ID: ObjectIdGroupId = 7i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_POLICY_OID_GROUP_ID: ObjectIdGroupId = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_TEMPLATE_OID_GROUP_ID: ObjectIdGroupId = 9i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_KDF_OID_GROUP_ID: ObjectIdGroupId = 10i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_LAST_OID_GROUP_ID: ObjectIdGroupId = 10i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_FIRST_ALG_OID_GROUP_ID: ObjectIdGroupId = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_LAST_ALG_OID_GROUP_ID: ObjectIdGroupId = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_GROUP_ID_MASK: ObjectIdGroupId = 65535i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_OID_PREFER_CNG_ALGID_FLAG: ObjectIdGroupId = 1073741824i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_OID_DISABLE_SEARCH_DS_FLAG: ObjectIdGroupId = -2147483648i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_OID_INFO_OID_GROUP_BIT_LEN_MASK: ObjectIdGroupId = 268369920i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_OID_INFO_OID_GROUP_BIT_LEN_SHIFT: ObjectIdGroupId = 16i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_KEY_LENGTH_MASK: ObjectIdGroupId = 268369920i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type ObjectIdPublicKeyFlags = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_OID_INFO_PUBKEY_ANY: ObjectIdPublicKeyFlags = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_OID_INFO_PUBKEY_SIGN_KEY_FLAG: ObjectIdPublicKeyFlags = -2147483648i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_OID_INFO_PUBKEY_ENCRYPT_KEY_FLAG: ObjectIdPublicKeyFlags = 1073741824i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type PENDING_REQUEST_DESIRED_PROPERTY = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XEPR_CADNS: PENDING_REQUEST_DESIRED_PROPERTY = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XEPR_CAFRIENDLYNAME: PENDING_REQUEST_DESIRED_PROPERTY = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XEPR_CANAME: PENDING_REQUEST_DESIRED_PROPERTY = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XEPR_HASH: PENDING_REQUEST_DESIRED_PROPERTY = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XEPR_REQUESTID: PENDING_REQUEST_DESIRED_PROPERTY = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type PFXExportOptions = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PFXExportEEOnly: PFXExportOptions = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PFXExportChainNoRoot: PFXExportOptions = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PFXExportChainWithRoot: PFXExportOptions = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PROCFLG_ENFORCEGOODKEYS: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PROCFLG_NONE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PROPCALLER_ADMIN: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PROPCALLER_EXIT: u32 = 768u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PROPCALLER_MASK: u32 = 3840u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PROPCALLER_POLICY: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PROPCALLER_REQUEST: u32 = 1280u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PROPCALLER_SERVER: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PROPFLAGS_INDEXED: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PROPTYPE_MASK: u32 = 255u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type Pkcs10AllowedSignatureTypes = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const AllowedKeySignature: Pkcs10AllowedSignatureTypes = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const AllowedNullSignature: Pkcs10AllowedSignatureTypes = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type PolicyQualifierType = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PolicyQualifierTypeUnknown: PolicyQualifierType = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PolicyQualifierTypeUrl: PolicyQualifierType = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PolicyQualifierTypeUserNotice: PolicyQualifierType = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PolicyQualifierTypeFlags: PolicyQualifierType = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type PolicyServerUrlFlags = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PsfNone: PolicyServerUrlFlags = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PsfLocationGroupPolicy: PolicyServerUrlFlags = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PsfLocationRegistry: PolicyServerUrlFlags = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PsfUseClientId: PolicyServerUrlFlags = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PsfAutoEnrollmentEnabled: PolicyServerUrlFlags = 16i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PsfAllowUnTrustedCA: PolicyServerUrlFlags = 32i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type PolicyServerUrlPropertyID = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PsPolicyID: PolicyServerUrlPropertyID = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PsFriendlyName: PolicyServerUrlPropertyID = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const REQDISP_DEFAULT_ENTERPRISE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const REQDISP_DENY: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const REQDISP_ISSUE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const REQDISP_MASK: u32 = 255u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const REQDISP_PENDING: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const REQDISP_PENDINGFIRST: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const REQDISP_USEREQUESTATTRIBUTE: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const REVEXT_ASPENABLE: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const REVEXT_CDPENABLE: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const REVEXT_CDPFILEURL_OLD: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const REVEXT_CDPFTPURL_OLD: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const REVEXT_CDPHTTPURL_OLD: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const REVEXT_CDPLDAPURL_OLD: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const REVEXT_CDPURLMASK_OLD: u32 = 255u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const REVEXT_DEFAULT_DS: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const REVEXT_DEFAULT_NODS: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type RequestClientInfoClientId = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ClientIdNone: RequestClientInfoClientId = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ClientIdXEnroll2003: RequestClientInfoClientId = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ClientIdAutoEnroll2003: RequestClientInfoClientId = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ClientIdWizard2003: RequestClientInfoClientId = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ClientIdCertReq2003: RequestClientInfoClientId = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ClientIdDefaultRequest: RequestClientInfoClientId = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ClientIdAutoEnroll: RequestClientInfoClientId = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ClientIdRequestWizard: RequestClientInfoClientId = 7i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ClientIdEOBO: RequestClientInfoClientId = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ClientIdCertReq: RequestClientInfoClientId = 9i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ClientIdTest: RequestClientInfoClientId = 10i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ClientIdWinRT: RequestClientInfoClientId = 11i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ClientIdUserStart: RequestClientInfoClientId = 1000i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SETUP_ATTEMPT_VROOT_CREATE: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SETUP_CLIENT_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SETUP_CREATEDB_FLAG: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SETUP_DCOM_SECURITY_UPDATED_FLAG: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SETUP_DENIED_FLAG: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SETUP_FORCECRL_FLAG: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SETUP_ONLINE_FLAG: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SETUP_REQUEST_FLAG: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SETUP_SECURITY_CHANGED: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SETUP_SERVER_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SETUP_SERVER_IS_UP_TO_DATE_FLAG: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SETUP_SERVER_UPGRADED_FLAG: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SETUP_SUSPEND_FLAG: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SETUP_UPDATE_CAOBJECT_SVRTYPE: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SETUP_W2K_SECURITY_NOT_UPGRADED_FLAG: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TP_MACHINEPOLICY: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const VR_INSTANT_BAD: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const VR_INSTANT_OK: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const VR_PENDING: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type WebEnrollmentFlags = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EnrollPrompt: WebEnrollmentFlags = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type WebSecurityLevel = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const LevelUnsafe: WebSecurityLevel = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const LevelSafe: WebSecurityLevel = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type X500NameFlags = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_NAME_STR_NONE: X500NameFlags = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_SIMPLE_NAME_STR: X500NameFlags = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_OID_NAME_STR: X500NameFlags = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_X500_NAME_STR: X500NameFlags = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_XML_NAME_STR: X500NameFlags = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_NAME_STR_SEMICOLON_FLAG: X500NameFlags = 1073741824i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_NAME_STR_NO_PLUS_FLAG: X500NameFlags = 536870912i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_NAME_STR_NO_QUOTING_FLAG: X500NameFlags = 268435456i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_NAME_STR_CRLF_FLAG: X500NameFlags = 134217728i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_NAME_STR_COMMA_FLAG: X500NameFlags = 67108864i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_NAME_STR_REVERSE_FLAG: X500NameFlags = 33554432i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_NAME_STR_FORWARD_FLAG: X500NameFlags = 16777216i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_NAME_STR_AMBIGUOUS_SEPARATOR_FLAGS: X500NameFlags = 1275068416i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_NAME_STR_DISABLE_IE4_UTF8_FLAG: X500NameFlags = 65536i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_NAME_STR_ENABLE_T61_UNICODE_FLAG: X500NameFlags = 131072i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_NAME_STR_ENABLE_UTF8_UNICODE_FLAG: X500NameFlags = 262144i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_NAME_STR_FORCE_UTF8_DIR_STR_FLAG: X500NameFlags = 524288i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_NAME_STR_DISABLE_UTF8_DIR_STR_FLAG: X500NameFlags = 1048576i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_NAME_STR_ENABLE_PUNYCODE_FLAG: X500NameFlags = 2097152i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_NAME_STR_DS_ESCAPED: X500NameFlags = 8388608i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type X509CertificateEnrollmentContext = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ContextNone: X509CertificateEnrollmentContext = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ContextUser: X509CertificateEnrollmentContext = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ContextMachine: X509CertificateEnrollmentContext = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ContextAdministratorForceMachine: X509CertificateEnrollmentContext = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type X509CertificateTemplateEnrollmentFlag = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EnrollmentIncludeSymmetricAlgorithms: X509CertificateTemplateEnrollmentFlag = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EnrollmentPendAllRequests: X509CertificateTemplateEnrollmentFlag = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EnrollmentPublishToKRAContainer: X509CertificateTemplateEnrollmentFlag = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EnrollmentPublishToDS: X509CertificateTemplateEnrollmentFlag = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EnrollmentAutoEnrollmentCheckUserDSCertificate: X509CertificateTemplateEnrollmentFlag = 16i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EnrollmentAutoEnrollment: X509CertificateTemplateEnrollmentFlag = 32i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EnrollmentDomainAuthenticationNotRequired: X509CertificateTemplateEnrollmentFlag = 128i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EnrollmentPreviousApprovalValidateReenrollment: X509CertificateTemplateEnrollmentFlag = 64i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EnrollmentUserInteractionRequired: X509CertificateTemplateEnrollmentFlag = 256i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EnrollmentAddTemplateName: X509CertificateTemplateEnrollmentFlag = 512i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EnrollmentRemoveInvalidCertificateFromPersonalStore: X509CertificateTemplateEnrollmentFlag = 1024i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EnrollmentAllowEnrollOnBehalfOf: X509CertificateTemplateEnrollmentFlag = 2048i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EnrollmentAddOCSPNoCheck: X509CertificateTemplateEnrollmentFlag = 4096i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EnrollmentReuseKeyOnFullSmartCard: X509CertificateTemplateEnrollmentFlag = 8192i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EnrollmentNoRevocationInfoInCerts: X509CertificateTemplateEnrollmentFlag = 16384i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EnrollmentIncludeBasicConstraintsForEECerts: X509CertificateTemplateEnrollmentFlag = 32768i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EnrollmentPreviousApprovalKeyBasedValidateReenrollment: X509CertificateTemplateEnrollmentFlag = 65536i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EnrollmentCertificateIssuancePoliciesFromRequest: X509CertificateTemplateEnrollmentFlag = 131072i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const EnrollmentSkipAutoRenewal: X509CertificateTemplateEnrollmentFlag = 262144i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type X509CertificateTemplateGeneralFlag = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const GeneralMachineType: X509CertificateTemplateGeneralFlag = 64i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const GeneralCA: X509CertificateTemplateGeneralFlag = 128i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const GeneralCrossCA: X509CertificateTemplateGeneralFlag = 2048i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const GeneralDefault: X509CertificateTemplateGeneralFlag = 65536i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const GeneralModified: X509CertificateTemplateGeneralFlag = 131072i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const GeneralDonotPersist: X509CertificateTemplateGeneralFlag = 4096i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type X509CertificateTemplatePrivateKeyFlag = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PrivateKeyRequireArchival: X509CertificateTemplatePrivateKeyFlag = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PrivateKeyExportable: X509CertificateTemplatePrivateKeyFlag = 16i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PrivateKeyRequireStrongKeyProtection: X509CertificateTemplatePrivateKeyFlag = 32i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PrivateKeyRequireAlternateSignatureAlgorithm: X509CertificateTemplatePrivateKeyFlag = 64i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PrivateKeyRequireSameKeyRenewal: X509CertificateTemplatePrivateKeyFlag = 128i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PrivateKeyUseLegacyProvider: X509CertificateTemplatePrivateKeyFlag = 256i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PrivateKeyEKTrustOnUse: X509CertificateTemplatePrivateKeyFlag = 512i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PrivateKeyEKValidateCert: X509CertificateTemplatePrivateKeyFlag = 1024i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PrivateKeyEKValidateKey: X509CertificateTemplatePrivateKeyFlag = 2048i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PrivateKeyAttestNone: X509CertificateTemplatePrivateKeyFlag = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PrivateKeyAttestPreferred: X509CertificateTemplatePrivateKeyFlag = 4096i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PrivateKeyAttestRequired: X509CertificateTemplatePrivateKeyFlag = 8192i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PrivateKeyAttestMask: X509CertificateTemplatePrivateKeyFlag = 12288i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PrivateKeyAttestWithoutPolicy: X509CertificateTemplatePrivateKeyFlag = 16384i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PrivateKeyServerVersionMask: X509CertificateTemplatePrivateKeyFlag = 983040i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PrivateKeyServerVersionShift: X509CertificateTemplatePrivateKeyFlag = 16i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PrivateKeyHelloKspKey: X509CertificateTemplatePrivateKeyFlag = 1048576i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PrivateKeyHelloLogonKey: X509CertificateTemplatePrivateKeyFlag = 2097152i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PrivateKeyClientVersionMask: X509CertificateTemplatePrivateKeyFlag = 251658240i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const PrivateKeyClientVersionShift: X509CertificateTemplatePrivateKeyFlag = 24i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type X509CertificateTemplateSubjectNameFlag = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SubjectNameEnrolleeSupplies: X509CertificateTemplateSubjectNameFlag = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SubjectNameRequireDirectoryPath: X509CertificateTemplateSubjectNameFlag = -2147483648i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SubjectNameRequireCommonName: X509CertificateTemplateSubjectNameFlag = 1073741824i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SubjectNameRequireEmail: X509CertificateTemplateSubjectNameFlag = 536870912i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SubjectNameRequireDNS: X509CertificateTemplateSubjectNameFlag = 268435456i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SubjectNameAndAlternativeNameOldCertSupplies: X509CertificateTemplateSubjectNameFlag = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SubjectAlternativeNameEnrolleeSupplies: X509CertificateTemplateSubjectNameFlag = 65536i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SubjectAlternativeNameRequireDirectoryGUID: X509CertificateTemplateSubjectNameFlag = 16777216i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SubjectAlternativeNameRequireUPN: X509CertificateTemplateSubjectNameFlag = 33554432i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SubjectAlternativeNameRequireEmail: X509CertificateTemplateSubjectNameFlag = 67108864i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SubjectAlternativeNameRequireSPN: X509CertificateTemplateSubjectNameFlag = 8388608i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SubjectAlternativeNameRequireDNS: X509CertificateTemplateSubjectNameFlag = 134217728i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SubjectAlternativeNameRequireDomainDNS: X509CertificateTemplateSubjectNameFlag = 4194304i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type X509EnrollmentAuthFlags = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const X509AuthNone: X509EnrollmentAuthFlags = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const X509AuthAnonymous: X509EnrollmentAuthFlags = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const X509AuthKerberos: X509EnrollmentAuthFlags = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const X509AuthUsername: X509EnrollmentAuthFlags = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const X509AuthCertificate: X509EnrollmentAuthFlags = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type X509EnrollmentPolicyExportFlags = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ExportTemplates: X509EnrollmentPolicyExportFlags = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ExportOIDs: X509EnrollmentPolicyExportFlags = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const ExportCAs: X509EnrollmentPolicyExportFlags = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type X509EnrollmentPolicyLoadOption = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const LoadOptionDefault: X509EnrollmentPolicyLoadOption = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const LoadOptionCacheOnly: X509EnrollmentPolicyLoadOption = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const LoadOptionReload: X509EnrollmentPolicyLoadOption = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const LoadOptionRegisterForADChanges: X509EnrollmentPolicyLoadOption = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type X509HardwareKeyUsageFlags = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_PCP_NONE: X509HardwareKeyUsageFlags = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_TPM12_PROVIDER: X509HardwareKeyUsageFlags = 65536i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_PCP_SIGNATURE_KEY: X509HardwareKeyUsageFlags = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_PCP_ENCRYPTION_KEY: X509HardwareKeyUsageFlags = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_PCP_GENERIC_KEY: X509HardwareKeyUsageFlags = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_PCP_STORAGE_KEY: X509HardwareKeyUsageFlags = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_PCP_IDENTITY_KEY: X509HardwareKeyUsageFlags = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type X509KeyParametersExportType = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_OID_USE_CURVE_NONE: X509KeyParametersExportType = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_OID_USE_CURVE_NAME_FOR_ENCODE_FLAG: X509KeyParametersExportType = 536870912i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CRYPT_OID_USE_CURVE_PARAMETERS_FOR_ENCODE_FLAG: X509KeyParametersExportType = 268435456i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type X509KeySpec = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_AT_NONE: X509KeySpec = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_AT_KEYEXCHANGE: X509KeySpec = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_AT_SIGNATURE: X509KeySpec = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type X509KeyUsageFlags = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_NO_KEY_USAGE: X509KeyUsageFlags = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_DIGITAL_SIGNATURE_KEY_USAGE: X509KeyUsageFlags = 128i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_NON_REPUDIATION_KEY_USAGE: X509KeyUsageFlags = 64i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_KEY_ENCIPHERMENT_KEY_USAGE: X509KeyUsageFlags = 32i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_DATA_ENCIPHERMENT_KEY_USAGE: X509KeyUsageFlags = 16i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_KEY_AGREEMENT_KEY_USAGE: X509KeyUsageFlags = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_KEY_CERT_SIGN_KEY_USAGE: X509KeyUsageFlags = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_OFFLINE_CRL_SIGN_KEY_USAGE: X509KeyUsageFlags = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_CRL_SIGN_KEY_USAGE: X509KeyUsageFlags = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_ENCIPHER_ONLY_KEY_USAGE: X509KeyUsageFlags = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_CERT_DECIPHER_ONLY_KEY_USAGE: X509KeyUsageFlags = 32768i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type X509PrivateKeyExportFlags = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_ALLOW_EXPORT_NONE: X509PrivateKeyExportFlags = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_ALLOW_EXPORT_FLAG: X509PrivateKeyExportFlags = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_ALLOW_PLAINTEXT_EXPORT_FLAG: X509PrivateKeyExportFlags = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_ALLOW_ARCHIVING_FLAG: X509PrivateKeyExportFlags = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_ALLOW_PLAINTEXT_ARCHIVING_FLAG: X509PrivateKeyExportFlags = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type X509PrivateKeyProtection = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_UI_NO_PROTECTION_FLAG: X509PrivateKeyProtection = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_UI_PROTECT_KEY_FLAG: X509PrivateKeyProtection = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_UI_FORCE_HIGH_PROTECTION_FLAG: X509PrivateKeyProtection = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_UI_FINGERPRINT_PROTECTION_FLAG: X509PrivateKeyProtection = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_UI_APPCONTAINER_ACCESS_MEDIUM_FLAG: X509PrivateKeyProtection = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type X509PrivateKeyUsageFlags = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_ALLOW_USAGES_NONE: X509PrivateKeyUsageFlags = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_ALLOW_DECRYPT_FLAG: X509PrivateKeyUsageFlags = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_ALLOW_SIGNING_FLAG: X509PrivateKeyUsageFlags = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_ALLOW_KEY_AGREEMENT_FLAG: X509PrivateKeyUsageFlags = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_ALLOW_KEY_IMPORT_FLAG: X509PrivateKeyUsageFlags = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_NCRYPT_ALLOW_ALL_USAGES: X509PrivateKeyUsageFlags = 16777215i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type X509PrivateKeyVerify = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const VerifyNone: X509PrivateKeyVerify = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const VerifySilent: X509PrivateKeyVerify = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const VerifySmartCardNone: X509PrivateKeyVerify = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const VerifySmartCardSilent: X509PrivateKeyVerify = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const VerifyAllowUI: X509PrivateKeyVerify = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type X509ProviderType = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_PROV_NONE: X509ProviderType = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_PROV_RSA_FULL: X509ProviderType = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_PROV_RSA_SIG: X509ProviderType = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_PROV_DSS: X509ProviderType = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_PROV_FORTEZZA: X509ProviderType = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_PROV_MS_EXCHANGE: X509ProviderType = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_PROV_SSL: X509ProviderType = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_PROV_RSA_SCHANNEL: X509ProviderType = 12i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_PROV_DSS_DH: X509ProviderType = 13i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_PROV_EC_ECDSA_SIG: X509ProviderType = 14i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_PROV_EC_ECNRA_SIG: X509ProviderType = 15i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_PROV_EC_ECDSA_FULL: X509ProviderType = 16i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_PROV_EC_ECNRA_FULL: X509ProviderType = 17i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_PROV_DH_SCHANNEL: X509ProviderType = 18i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_PROV_SPYRUS_LYNKS: X509ProviderType = 20i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_PROV_RNG: X509ProviderType = 21i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_PROV_INTEL_SEC: X509ProviderType = 22i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_PROV_REPLACE_OWF: X509ProviderType = 23i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XCN_PROV_RSA_AES: X509ProviderType = 24i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type X509RequestInheritOptions = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const InheritDefault: X509RequestInheritOptions = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const InheritNewDefaultKey: X509RequestInheritOptions = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const InheritNewSimilarKey: X509RequestInheritOptions = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const InheritPrivateKey: X509RequestInheritOptions = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const InheritPublicKey: X509RequestInheritOptions = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const InheritKeyMask: X509RequestInheritOptions = 15i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const InheritNone: X509RequestInheritOptions = 16i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const InheritRenewalCertificateFlag: X509RequestInheritOptions = 32i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const InheritTemplateFlag: X509RequestInheritOptions = 64i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const InheritSubjectFlag: X509RequestInheritOptions = 128i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const InheritExtensionsFlag: X509RequestInheritOptions = 256i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const InheritSubjectAltNameFlag: X509RequestInheritOptions = 512i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const InheritValidityPeriodFlag: X509RequestInheritOptions = 1024i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const InheritReserved80000000: X509RequestInheritOptions = -2147483648i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type X509RequestType = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TypeAny: X509RequestType = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TypePkcs10: X509RequestType = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TypePkcs7: X509RequestType = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TypeCmc: X509RequestType = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const TypeCertificate: X509RequestType = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type X509SCEPDisposition = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SCEPDispositionUnknown: X509SCEPDisposition = -1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SCEPDispositionSuccess: X509SCEPDisposition = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SCEPDispositionFailure: X509SCEPDisposition = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SCEPDispositionPending: X509SCEPDisposition = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SCEPDispositionPendingChallenge: X509SCEPDisposition = 11i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type X509SCEPFailInfo = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SCEPFailUnknown: X509SCEPFailInfo = -1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SCEPFailBadAlgorithm: X509SCEPFailInfo = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SCEPFailBadMessageCheck: X509SCEPFailInfo = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SCEPFailBadRequest: X509SCEPFailInfo = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SCEPFailBadTime: X509SCEPFailInfo = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SCEPFailBadCertId: X509SCEPFailInfo = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type X509SCEPMessageType = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SCEPMessageUnknown: X509SCEPMessageType = -1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SCEPMessageCertResponse: X509SCEPMessageType = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SCEPMessagePKCSRequest: X509SCEPMessageType = 19i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SCEPMessageGetCertInitial: X509SCEPMessageType = 20i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SCEPMessageGetCert: X509SCEPMessageType = 21i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SCEPMessageGetCRL: X509SCEPMessageType = 22i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SCEPMessageClaimChallengeAnswer: X509SCEPMessageType = 41i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type X509SCEPProcessMessageFlags = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SCEPProcessDefault: X509SCEPProcessMessageFlags = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const SCEPProcessSkipCertInstall: X509SCEPProcessMessageFlags = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XECI_AUTOENROLL: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XECI_CERTREQ: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XECI_DISABLE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XECI_REQWIZARD: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XECI_XENROLL: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XECP_STRING_PROPERTY: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type XEKL_KEYSIZE = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XEKL_KEYSIZE_MIN: XEKL_KEYSIZE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XEKL_KEYSIZE_MAX: XEKL_KEYSIZE = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XEKL_KEYSIZE_INC: XEKL_KEYSIZE = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XEKL_KEYSIZE_DEFAULT: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub type XEKL_KEYSPEC = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XEKL_KEYSPEC_KEYX: XEKL_KEYSPEC = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XEKL_KEYSPEC_SIG: XEKL_KEYSPEC = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XEPR_DATE: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XEPR_ENUM_FIRST: i32 = -1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XEPR_TEMPLATENAME: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XEPR_V1TEMPLATENAME: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XEPR_V2TEMPLATEOID: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const XEPR_VERSION: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const dwCAXCHGOVERLAPPERIODCOUNTDEFAULT: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const dwCAXCHGVALIDITYPERIODCOUNTDEFAULT: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const dwCRLDELTAOVERLAPPERIODCOUNTDEFAULT: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const dwCRLDELTAPERIODCOUNTDEFAULT: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const dwCRLOVERLAPPERIODCOUNTDEFAULT: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const dwCRLPERIODCOUNTDEFAULT: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const dwVALIDITYPERIODCOUNTDEFAULT_ENTERPRISE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const dwVALIDITYPERIODCOUNTDEFAULT_ROOT: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const dwVALIDITYPERIODCOUNTDEFAULT_STANDALONE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const szBACKUPANNOTATION: &str = "Cert Server Backup Interface";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const szDBBASENAMEPARM: &str = "edb";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const szNAMESEPARATORDEFAULT: &str = "\n";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const szPROPASNTAG: &str = "{asn}";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const szRESTOREANNOTATION: &str = "Cert Server Restore Interface";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszAT_EKCERTINF: &str = "@EKCert";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszAT_TESTROOT: &str = "@TestRoot";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCAPOLICYFILE: &str = "CAPolicy.inf";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCERTEXITMODULE_POSTFIX: &str = ".Exit";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCERTIFICATETRANSPARENCYFLAGS: &str = "CertificateTransparencyFlags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCERTMANAGE_SUFFIX: &str = "Manage";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCERTPOLICYMODULE_POSTFIX: &str = ".Policy";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCERT_TYPE: &str = "RequestType";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCERT_TYPE_CLIENT: &str = "Client";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCERT_TYPE_CODESIGN: &str = "CodeSign";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCERT_TYPE_CUSTOMER: &str = "SetCustomer";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCERT_TYPE_MERCHANT: &str = "SetMerchant";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCERT_TYPE_PAYMENT: &str = "SetPayment";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCERT_TYPE_SERVER: &str = "Server";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCERT_VERSION: &str = "Version";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCERT_VERSION_1: &str = "1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCERT_VERSION_2: &str = "2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCERT_VERSION_3: &str = "3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCLASS_CERTADMIN: &str = "CertificateAuthority.Admin";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCLASS_CERTCONFIG: &str = "CertificateAuthority.Config";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCLASS_CERTDBMEM: &str = "CertificateAuthority.DBMem";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCLASS_CERTENCODE: &str = "CertificateAuthority.Encode";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCLASS_CERTGETCONFIG: &str = "CertificateAuthority.GetConfig";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCLASS_CERTREQUEST: &str = "CertificateAuthority.Request";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCLASS_CERTSERVEREXIT: &str = "CertificateAuthority.ServerExit";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCLASS_CERTSERVERPOLICY: &str = "CertificateAuthority.ServerPolicy";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCLASS_CERTVIEW: &str = "CertificateAuthority.View";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCMM_PROP_COPYRIGHT: &str = "Copyright";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCMM_PROP_DESCRIPTION: &str = "Description";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCMM_PROP_DISPLAY_HWND: &str = "HWND";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCMM_PROP_FILEVER: &str = "File Version";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCMM_PROP_ISMULTITHREADED: &str = "IsMultiThreaded";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCMM_PROP_NAME: &str = "Name";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCMM_PROP_PRODUCTVER: &str = "Product Version";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCNGENCRYPTIONALGORITHM: &str = "CNGEncryptionAlgorithm";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCNGHASHALGORITHM: &str = "CNGHashAlgorithm";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCNGPUBLICKEYALGORITHM: &str = "CNGPublicKeyAlgorithm";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCONFIG_AUTHORITY: &str = "Authority";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCONFIG_COMMENT: &str = "Comment";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCONFIG_COMMONNAME: &str = "CommonName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCONFIG_CONFIG: &str = "Config";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCONFIG_COUNTRY: &str = "Country";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCONFIG_DESCRIPTION: &str = "Description";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCONFIG_EXCHANGECERTIFICATE: &str = "ExchangeCertificate";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCONFIG_FLAGS: &str = "Flags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCONFIG_LOCALITY: &str = "Locality";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCONFIG_ORGANIZATION: &str = "Organization";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCONFIG_ORGUNIT: &str = "OrgUnit";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCONFIG_SANITIZEDNAME: &str = "SanitizedName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCONFIG_SANITIZEDSHORTNAME: &str = "SanitizedShortName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCONFIG_SERVER: &str = "Server";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCONFIG_SHORTNAME: &str = "ShortName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCONFIG_SIGNATURECERTIFICATE: &str = "SignatureCertificate";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCONFIG_STATE: &str = "State";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCONFIG_WEBENROLLMENTSERVERS: &str = "WebEnrollmentServers";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCRLPUBLISHRETRYCOUNT: &str = "CRLPublishRetryCount";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszCRTFILENAMEEXT: &str = ".crt";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszDATFILENAMEEXT: &str = ".dat";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszDBBACKUPCERTBACKDAT: &str = "certbkxp.dat";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszDBBACKUPSUBDIR: &str = "DataBase";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszDBFILENAMEEXT: &str = ".edb";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszENCRYPTIONALGORITHM: &str = "EncryptionAlgorithm";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszENROLLMENTAGENTRIGHTS: &str = "EnrollmentAgentRights";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszHASHALGORITHM: &str = "HashAlgorithm";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_ALTERNATESIGNATUREALGORITHM: &str = "AlternateSignatureAlgorithm";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_ATTESTPRIVATEKEY: &str = "AttestPrivateKey";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_CACAPABILITIES: &str = "CACapabilities";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_CACERTS: &str = "CACerts";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_CATHUMBPRINT: &str = "CAThumbprint";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_CCDPSYNCDELTATIME: &str = "SyncDeltaTime";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_CHALLENGEPASSWORD: &str = "ChallengePassword";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_CONTINUE: &str = "_continue_";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_CRITICAL: &str = "Critical";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_CRLDELTAPERIODCOUNT: &str = "CRLDeltaPeriodUnits";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_CRLDELTAPERIODSTRING: &str = "CRLDeltaPeriod";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_CRLPERIODCOUNT: &str = "CRLPeriodUnits";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_CRLPERIODSTRING: &str = "CRLPeriod";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_DIRECTORYNAME: &str = "DirectoryName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_DNS: &str = "DNS";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_ECCKEYPARAMETERS: &str = "EccKeyParameters";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_ECCKEYPARAMETERSTYPE: &str = "EccKeyParametersType";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_ECCKEYPARAMETERS_A: &str = "EccKeyParameters_A";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_ECCKEYPARAMETERS_B: &str = "EccKeyParameters_B";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_ECCKEYPARAMETERS_BASE: &str = "EccKeyParameters_Base";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_ECCKEYPARAMETERS_COFACTOR: &str = "EccKeyParameters_Cofactor";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_ECCKEYPARAMETERS_ORDER: &str = "EccKeyParameters_Order";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_ECCKEYPARAMETERS_P: &str = "EccKeyParameters_P";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_ECCKEYPARAMETERS_SEED: &str = "EccKeyParameters_Seed";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_EMAIL: &str = "EMail";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_EMPTY: &str = "Empty";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_ENABLEKEYCOUNTING: &str = "EnableKeyCounting";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_ENCRYPTIONALGORITHM: &str = "EncryptionAlgorithm";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_ENCRYPTIONLENGTH: &str = "EncryptionLength";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_EXCLUDE: &str = "Exclude";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_EXPORTABLE: &str = "Exportable";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_EXPORTABLEENCRYPTED: &str = "ExportableEncrypted";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_FLAGS: &str = "Flags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_FORCEUTF8: &str = "ForceUTF8";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_FRIENDLYNAME: &str = "FriendlyName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_HASHALGORITHM: &str = "HashAlgorithm";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_INCLUDE: &str = "Include";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_INHIBITPOLICYMAPPING: &str = "InhibitPolicyMapping";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_IPADDRESS: &str = "IPAddress";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_KEYALGORITHM: &str = "KeyAlgorithm";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_KEYALGORITHMPARMETERS: &str = "KeyAlgorithmParameters";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_KEYCONTAINER: &str = "KeyContainer";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_KEYLENGTH: &str = "KeyLength";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_KEYPROTECTION: &str = "KeyProtection";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_KEYUSAGEEXTENSION: &str = "KeyUsage";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_KEYUSAGEPROPERTY: &str = "KeyUsageProperty";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_LEGACYKEYSPEC: &str = "KeySpec";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_LOADDEFAULTTEMPLATES: &str = "LoadDefaultTemplates";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_MACHINEKEYSET: &str = "MachineKeySet";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_NOTAFTER: &str = "NotAfter";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_NOTBEFORE: &str = "NotBefore";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_NOTICE: &str = "Notice";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_OID: &str = "OID";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_OTHERNAME: &str = "OtherName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_PATHLENGTH: &str = "PathLength";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_POLICIES: &str = "Policies";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_PRIVATEKEYARCHIVE: &str = "PrivateKeyArchive";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_PROVIDERNAME: &str = "ProviderName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_PROVIDERTYPE: &str = "ProviderType";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_PUBLICKEY: &str = "PublicKey";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_PUBLICKEYPARAMETERS: &str = "PublicKeyParameters";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_READERNAME: &str = "ReaderName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_REGISTEREDID: &str = "RegisteredId";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_RENEWALCERT: &str = "RenewalCert";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_RENEWALKEYLENGTH: &str = "RenewalKeyLength";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_RENEWALVALIDITYPERIODCOUNT: &str = "RenewalValidityPeriodUnits";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_RENEWALVALIDITYPERIODSTRING: &str = "RenewalValidityPeriod";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_REQUESTTYPE: &str = "RequestType";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_REQUIREEXPLICITPOLICY: &str = "RequireExplicitPolicy";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_SECURITYDESCRIPTOR: &str = "SecurityDescriptor";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_SERIALNUMBER: &str = "SerialNumber";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_SHOWALLCSPS: &str = "ShowAllCSPs";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_SILENT: &str = "Silent";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_SMIME: &str = "SMIME";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_SUBJECT: &str = "Subject";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_SUBJECTNAMEFLAGS: &str = "SubjectNameFlags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_SUBTREE: &str = "SubTree";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_SUPPRESSDEFAULTS: &str = "SuppressDefaults";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_UICONTEXTMESSAGE: &str = "UIContextMessage";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_UPN: &str = "UPN";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_URL: &str = "URL";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_USEEXISTINGKEY: &str = "UseExistingKeySet";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_USERPROTECTED: &str = "UserProtected";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_UTF8: &str = "UTF8";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFKEY_X500NAMEFLAGS: &str = "X500NameFlags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFSECTION_AIA: &str = "AuthorityInformationAccess";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFSECTION_APPLICATIONPOLICYCONSTRAINTS: &str = "ApplicationPolicyConstraintsExtension";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFSECTION_APPLICATIONPOLICYMAPPINGS: &str = "ApplicationPolicyMappingsExtension";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFSECTION_APPLICATIONPOLICYSTATEMENT: &str = "ApplicationPolicyStatementExtension";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFSECTION_BASICCONSTRAINTS: &str = "BasicConstraintsExtension";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFSECTION_CAPOLICY: &str = "CAPolicy";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFSECTION_CCDP: &str = "CrossCertificateDistributionPointsExtension";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFSECTION_CDP: &str = "CRLDistributionPoint";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFSECTION_CERTSERVER: &str = "certsrv_server";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFSECTION_EKU: &str = "EnhancedKeyUsageExtension";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFSECTION_EXTENSIONS: &str = "Extensions";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFSECTION_NAMECONSTRAINTS: &str = "NameConstraintsExtension";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFSECTION_NEWREQUEST: &str = "NewRequest";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFSECTION_POLICYCONSTRAINTS: &str = "PolicyConstraintsExtension";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFSECTION_POLICYMAPPINGS: &str = "PolicyMappingsExtension";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFSECTION_POLICYSTATEMENT: &str = "PolicyStatementExtension";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFSECTION_PROPERTIES: &str = "Properties";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFSECTION_REQUESTATTRIBUTES: &str = "RequestAttributes";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFVALUE_ENDORSEMENTKEY: &str = "EndorsementKey";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFVALUE_REQUESTTYPE_CERT: &str = "Cert";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFVALUE_REQUESTTYPE_CMC: &str = "CMC";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFVALUE_REQUESTTYPE_PKCS10: &str = "PKCS10";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFVALUE_REQUESTTYPE_PKCS7: &str = "PKCS7";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszINFVALUE_REQUESTTYPE_SCEP: &str = "SCEP";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszLDAPSESSIONOPTIONVALUE: &str = "LDAPSessionOptionValue";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszLOCALIZEDTIMEPERIODUNITS: &str = "LocalizedTimePeriodUnits";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszLOGFILENAMEEXT: &str = ".log";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszLOGPATH: &str = "CertLog";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszMACHINEKEYSET: &str = "MachineKeyset";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszMICROSOFTCERTMODULE_PREFIX: &str = "CertificateAuthority_MicrosoftDefault";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszNETSCAPEREVOCATIONTYPE: &str = "Netscape";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPCAPROP_CACERTIFICATE: &str = "CACertificate";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPCAPROP_CACONFIG: &str = "CAConfig";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPCAPROP_CSPNAME: &str = "CSPName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPCAPROP_ERRORCODE: &str = "ErrorCode";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPCAPROP_HASHALGORITHMID: &str = "HashAlgorithmId";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPCAPROP_KEYSPEC: &str = "KeySpec";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPCAPROP_LOCALREVOCATIONINFORMATION: &str = "LocalRevocationInformation";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPCAPROP_PROVIDERCLSID: &str = "ProviderCLSID";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPCAPROP_PROVIDERPROPERTIES: &str = "Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPCAPROP_REMINDERDURATION: &str = "ReminderDuration";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPCAPROP_SIGNINGCERTIFICATE: &str = "SigningCertificate";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPCAPROP_SIGNINGCERTIFICATETEMPLATE: &str = "SigningCertificateTemplate";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPCAPROP_SIGNINGFLAGS: &str = "SigningFlags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPCOMMONPROP_MAXINCOMINGMESSAGESIZE: &str = "MaxIncomingMessageSize";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPCOMMONPROP_MAXNUMOFREQUESTENTRIES: &str = "MaxNumOfRequestEntries";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPCOMMONPROP_REQFLAGS: &str = "RequestFlags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPISAPIPROP_DEBUG: &str = "ISAPIDebug";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPISAPIPROP_MAXAGE: &str = "MaxAge";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPISAPIPROP_MAXNUMOFCACHEENTRIES: &str = "MaxNumOfCacheEntries";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPISAPIPROP_NUMOFBACKENDCONNECTIONS: &str = "NumOfBackendConnections";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPISAPIPROP_NUMOFTHREADS: &str = "NumOfThreads";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPISAPIPROP_REFRESHRATE: &str = "RefreshRate";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPISAPIPROP_VIRTUALROOTNAME: &str = "VirtualRootName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPPROP_ARRAYCONTROLLER: &str = "ArrayController";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPPROP_ARRAYMEMBERS: &str = "ArrayMembers";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPPROP_AUDITFILTER: &str = "AuditFilter";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPPROP_DEBUG: &str = "Debug";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPPROP_ENROLLPOLLINTERVAL: &str = "EnrollPollInterval";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPPROP_LOGLEVEL: &str = "LogLevel";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPREVPROP_BASECRL: &str = "BaseCrl";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPREVPROP_BASECRLURLS: &str = "BaseCrlUrls";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPREVPROP_CRLURLTIMEOUT: &str = "CrlUrlTimeOut";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPREVPROP_DELTACRL: &str = "DeltaCrl";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPREVPROP_DELTACRLURLS: &str = "DeltaCrlUrls";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPREVPROP_ERRORCODE: &str = "RevocationErrorCode";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPREVPROP_REFRESHTIMEOUT: &str = "RefreshTimeOut";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszOCSPREVPROP_SERIALNUMBERSDIRS: &str = "IssuedSerialNumbersDirectories";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPERIODDAYS: &str = "Days";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPERIODHOURS: &str = "Hours";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPERIODMINUTES: &str = "Minutes";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPERIODMONTHS: &str = "Months";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPERIODSECONDS: &str = "Seconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPERIODWEEKS: &str = "Weeks";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPERIODYEARS: &str = "Years";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPFXFILENAMEEXT: &str = ".p12";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPATTESTATIONCHALLENGE: &str = "AttestationChallenge";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPATTRIBNAME: &str = "AttributeName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPATTRIBREQUESTID: &str = "AttributeRequestId";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPATTRIBVALUE: &str = "AttributeValue";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCALLERNAME: &str = "CallerName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCATYPE: &str = "CAType";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCERTCLIENTMACHINE: &str = "ccm";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCERTCOUNT: &str = "CertCount";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCERTIFICATEENROLLMENTFLAGS: &str = "EnrollmentFlags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCERTIFICATEGENERALFLAGS: &str = "GeneralFlags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCERTIFICATEHASH: &str = "CertificateHash";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCERTIFICATENOTAFTERDATE: &str = "NotAfter";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCERTIFICATENOTBEFOREDATE: &str = "NotBefore";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCERTIFICATEPRIVATEKEYFLAGS: &str = "PrivatekeyFlags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCERTIFICATEPUBLICKEYALGORITHM: &str = "PublicKeyAlgorithm";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCERTIFICATEPUBLICKEYLENGTH: &str = "PublicKeyLength";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCERTIFICATERAWPUBLICKEY: &str = "RawPublicKey";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCERTIFICATERAWPUBLICKEYALGORITHMPARAMETERS: &str = "RawPublicKeyAlgorithmParameters";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCERTIFICATERAWSMIMECAPABILITIES: &str = "RawSMIMECapabilities";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCERTIFICATEREQUESTID: &str = "RequestID";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCERTIFICATESERIALNUMBER: &str = "SerialNumber";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCERTIFICATESUBJECTKEYIDENTIFIER: &str = "SubjectKeyIdentifier";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCERTIFICATETEMPLATE: &str = "CertificateTemplate";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCERTIFICATETYPE: &str = "CertificateType";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCERTIFICATEUPN: &str = "UPN";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCERTSTATE: &str = "CertState";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCERTSUFFIX: &str = "CertSuffix";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCERTTEMPLATE: &str = "CertificateTemplate";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCERTTYPE: &str = "CertType";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCERTUSAGE: &str = "CertificateUsage";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCHALLENGE: &str = "Challenge";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCLIENTBROWSERMACHINE: &str = "cbm";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCLIENTDCDNS: &str = "cdc";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCOMMONNAME: &str = "CommonName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCONFIGDN: &str = "ConfigDN";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCOUNTRY: &str = "Country";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCRITICALTAG: &str = "{critical}";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCRLCOUNT: &str = "CRLCount";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCRLEFFECTIVE: &str = "CRLEffective";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCRLINDEX: &str = "CRLIndex";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCRLLASTPUBLISHED: &str = "CRLLastPublished";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCRLMINBASE: &str = "CRLMinBase";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCRLNAMEID: &str = "CRLNameId";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCRLNEXTPUBLISH: &str = "CRLNextPublish";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCRLNEXTUPDATE: &str = "CRLNextUpdate";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCRLNUMBER: &str = "CRLNumber";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCRLPROPAGATIONCOMPLETE: &str = "CRLPropagationComplete";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCRLPUBLISHATTEMPTS: &str = "CRLPublishAttempts";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCRLPUBLISHERROR: &str = "CRLPublishError";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCRLPUBLISHFLAGS: &str = "CRLPublishFlags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCRLPUBLISHSTATUSCODE: &str = "CRLPublishStatusCode";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCRLRAWCRL: &str = "CRLRawCRL";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCRLROWID: &str = "CRLRowId";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCRLSTATE: &str = "CRLState";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCRLSUFFIX: &str = "CRLSuffix";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCRLTHISPUBLISH: &str = "CRLThisPublish";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCRLTHISUPDATE: &str = "CRLThisUpdate";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPCROSSFOREST: &str = "CrossForest";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPDCNAME: &str = "DCName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPDECIMALTAG: &str = "{decimal}";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPDELTACRLSDISABLED: &str = "fDeltaCRLsDisabled";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPDEVICESERIALNUMBER: &str = "DeviceSerialNumber";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPDISPOSITION: &str = "Disposition";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPDISPOSITIONDENY: &str = "Deny";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPDISPOSITIONPENDING: &str = "Pending";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPDISTINGUISHEDNAME: &str = "DistinguishedName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPDN: &str = "dn";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPDNS: &str = "dns";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPDOMAINCOMPONENT: &str = "DomainComponent";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPDOMAINDN: &str = "DomainDN";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPEMAIL: &str = "EMail";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPENDORSEMENTCERTIFICATEHASH: &str = "EndorsementCertificateHash";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPENDORSEMENTKEYHASH: &str = "EndorsementKeyHash";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPEVENTLOGERROR: &str = "EventLogError";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPEVENTLOGEXHAUSTIVE: &str = "EventLogExhaustive";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPEVENTLOGTERSE: &str = "EventLogTerse";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPEVENTLOGVERBOSE: &str = "EventLogVerbose";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPEVENTLOGWARNING: &str = "EventLogWarning";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPEXITCERTFILE: &str = "CertFile";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPEXPECTEDCHALLENGE: &str = "ExpectedChallenge";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPEXPIRATIONDATE: &str = "ExpirationDate";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPEXTFLAGS: &str = "ExtensionFlags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPEXTNAME: &str = "ExtensionName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPEXTRAWVALUE: &str = "ExtensionRawValue";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPEXTREQUESTID: &str = "ExtensionRequestId";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPFILETAG: &str = "{file}";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPGIVENNAME: &str = "GivenName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPGUID: &str = "guid";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPHEXTAG: &str = "{hex}";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPINITIALS: &str = "Initials";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPIPADDRESS: &str = "ipaddress";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPKEYARCHIVED: &str = "KeyArchived";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPLOCALITY: &str = "Locality";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPLOGLEVEL: &str = "LogLevel";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPMACHINEDNSNAME: &str = "MachineDNSName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPMODULEREGLOC: &str = "ModuleRegistryLocation";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPNAMETYPE: &str = "NameType";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPOCTETTAG: &str = "{octet}";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPOFFICER: &str = "Officer";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPOID: &str = "oid";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPORGANIZATION: &str = "Organization";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPORGUNIT: &str = "OrgUnit";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPPUBLISHEXPIREDCERTINCRL: &str = "PublishExpiredCertInCRL";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPRAWCACERTIFICATE: &str = "RawCACertificate";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPRAWCERTIFICATE: &str = "RawCertificate";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPRAWCRL: &str = "RawCRL";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPRAWDELTACRL: &str = "RawDeltaCRL";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPRAWNAME: &str = "RawName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPRAWPRECERTIFICATE: &str = "RawPrecertificate";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPREQUESTARCHIVEDKEY: &str = "ArchivedKey";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPREQUESTATTRIBUTES: &str = "RequestAttributes";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPREQUESTCSPPROVIDER: &str = "RequestCSPProvider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPREQUESTDISPOSITION: &str = "Disposition";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPREQUESTDISPOSITIONMESSAGE: &str = "DispositionMessage";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPREQUESTDOT: &str = "Request.";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPREQUESTERCAACCESS: &str = "RequesterCAAccess";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPREQUESTERDN: &str = "RequesterDN";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPREQUESTERNAME: &str = "RequesterName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPREQUESTERNAMEFROMOLDCERTIFICATE: &str = "RequesterNameFromOldCertificate";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPREQUESTERSAMNAME: &str = "RequesterSAMName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPREQUESTERUPN: &str = "RequesterUPN";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPREQUESTFLAGS: &str = "RequestFlags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPREQUESTKEYRECOVERYHASHES: &str = "KeyRecoveryHashes";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPREQUESTMACHINEDNS: &str = "rmd";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPREQUESTOSVERSION: &str = "RequestOSVersion";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPREQUESTRAWARCHIVEDKEY: &str = "RawArchivedKey";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPREQUESTRAWOLDCERTIFICATE: &str = "RawOldCertificate";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPREQUESTRAWREQUEST: &str = "RawRequest";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPREQUESTREQUESTID: &str = "RequestID";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPREQUESTRESOLVEDWHEN: &str = "ResolvedWhen";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPREQUESTREVOKEDEFFECTIVEWHEN: &str = "RevokedEffectiveWhen";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPREQUESTREVOKEDREASON: &str = "RevokedReason";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPREQUESTREVOKEDWHEN: &str = "RevokedWhen";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPREQUESTSTATUSCODE: &str = "StatusCode";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPREQUESTSUBMITTEDWHEN: &str = "SubmittedWhen";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPREQUESTTYPE: &str = "RequestType";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPSANITIZEDCANAME: &str = "SanitizedCAName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPSANITIZEDSHORTNAME: &str = "SanitizedShortName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPSEAUDITFILTER: &str = "SEAuditFilter";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPSEAUDITID: &str = "SEAuditId";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPSERVERUPGRADED: &str = "fServerUpgraded";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPSESSIONCOUNT: &str = "SessionCount";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPSIGNERAPPLICATIONPOLICIES: &str = "SignerApplicationPolicies";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPSIGNERPOLICIES: &str = "SignerPolicies";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPSTATE: &str = "State";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPSTREETADDRESS: &str = "StreetAddress";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPSUBJECTALTNAME2: &str = "san";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPSUBJECTDOT: &str = "Subject.";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPSURNAME: &str = "SurName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPTEMPLATECHANGESEQUENCENUMBER: &str = "TemplateChangeSequenceNumber";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPTEXTTAG: &str = "{text}";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPTITLE: &str = "Title";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPUNSTRUCTUREDADDRESS: &str = "UnstructuredAddress";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPUNSTRUCTUREDNAME: &str = "UnstructuredName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPUPN: &str = "upn";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPURL: &str = "url";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPUSEDS: &str = "fUseDS";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPUSERDN: &str = "UserDN";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPUTF8TAG: &str = "{utf8}";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPVALIDITYPERIODCOUNT: &str = "ValidityPeriodUnits";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPVALIDITYPERIODSTRING: &str = "ValidityPeriod";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszPROPVOLATILEMODE: &str = "VolatileMode";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGACTIVE: &str = "Active";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGAELOGLEVEL_OLD: &str = "AEEventLogLevel";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGAIKCLOUDCAURL: &str = "AIKCloudCAURL";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGAIKKEYALGORITHM: &str = "AIKKeyAlgorithm";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGAIKKEYLENGTH: &str = "AIKKeyLength";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGALLPROVIDERS: &str = "All";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGALTERNATEPUBLISHDOMAINS: &str = "AlternatePublishDomains";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGALTERNATESIGNATUREALGORITHM: &str = "AlternateSignatureAlgorithm";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGAUDITFILTER: &str = "AuditFilter";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGB2ICERTMANAGEMODULE: &str = "ICertManageModule";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGBACKUPLOGDIRECTORY: &str = "BackupLogDirectory";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCACERTFILENAME: &str = "CACertFileName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCACERTHASH: &str = "CACertHash";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCACERTPUBLICATIONURLS: &str = "CACertPublicationURLs";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCADESCRIPTION: &str = "CADescription";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCAPATHLENGTH: &str = "CAPathLength";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCASECURITY: &str = "Security";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCASERIALNUMBER: &str = "CACertSerialNumber";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCASERVERNAME: &str = "CAServerName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCATYPE: &str = "CAType";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCAUSEDS: &str = "UseDS";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCAXCHGCERTHASH: &str = "CAXchgCertHash";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCAXCHGOVERLAPPERIODCOUNT: &str = "CAXchgOverlapPeriodUnits";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCAXCHGOVERLAPPERIODSTRING: &str = "CAXchgOverlapPeriod";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCAXCHGVALIDITYPERIODCOUNT: &str = "CAXchgValidityPeriodUnits";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCAXCHGVALIDITYPERIODSTRING: &str = "CAXchgValidityPeriod";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCERTENROLLCOMPATIBLE: &str = "CertEnrollCompatible";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCERTIFICATETRANSPARENCYINFOOID: &str = "CTInformationExtensionOid";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCERTPUBLISHFLAGS: &str = "PublishCertFlags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCERTSRVDEBUG: &str = "Debug";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCHECKPOINTFILE: &str = "CheckPointFile";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCLOCKSKEWMINUTES: &str = "ClockSkewMinutes";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCOMMONNAME: &str = "CommonName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCRLATTEMPTREPUBLISH: &str = "CRLAttemptRepublish";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCRLDELTANEXTPUBLISH: &str = "CRLDeltaNextPublish";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCRLDELTAOVERLAPPERIODCOUNT: &str = "CRLDeltaOverlapUnits";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCRLDELTAOVERLAPPERIODSTRING: &str = "CRLDeltaOverlapPeriod";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCRLDELTAPERIODCOUNT: &str = "CRLDeltaPeriodUnits";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCRLDELTAPERIODSTRING: &str = "CRLDeltaPeriod";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCRLEDITFLAGS: &str = "CRLEditFlags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCRLFLAGS: &str = "CRLFlags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCRLNEXTPUBLISH: &str = "CRLNextPublish";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCRLOVERLAPPERIODCOUNT: &str = "CRLOverlapUnits";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCRLOVERLAPPERIODSTRING: &str = "CRLOverlapPeriod";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCRLPATH_OLD: &str = "CRLPath";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCRLPERIODCOUNT: &str = "CRLPeriodUnits";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCRLPERIODSTRING: &str = "CRLPeriod";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGCRLPUBLICATIONURLS: &str = "CRLPublicationURLs";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGDATABASERECOVERED: &str = "DatabaseRecovered";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGDBDIRECTORY: &str = "DBDirectory";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGDBFLAGS: &str = "DBFlags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGDBLASTFULLBACKUP: &str = "DBLastFullBackup";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGDBLASTINCREMENTALBACKUP: &str = "DBLastIncrementalBackup";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGDBLASTRECOVERY: &str = "DBLastRecovery";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGDBLOGDIRECTORY: &str = "DBLogDirectory";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGDBMAXREADSESSIONCOUNT: &str = "DBMaxReadSessionCount";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGDBSESSIONCOUNT: &str = "DBSessionCount";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGDBSYSDIRECTORY: &str = "DBSystemDirectory";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGDBTEMPDIRECTORY: &str = "DBTempDirectory";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGDEFAULTSMIME: &str = "DefaultSMIME";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGDIRECTORY: &str = "ConfigurationDirectory";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGDISABLEEXTENSIONLIST: &str = "DisableExtensionList";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGDSCONFIGDN: &str = "DSConfigDN";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGDSDOMAINDN: &str = "DSDomainDN";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGEDITFLAGS: &str = "EditFlags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGEKPUBLISTDIRECTORIES: &str = "EndorsementKeyListDirectories";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGEKUOIDSFORPUBLISHEXPIREDCERTINCRL: &str = "EKUOIDsForPublishExpiredCertInCRL";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGEKUOIDSFORVOLATILEREQUESTS: &str = "EKUOIDsforVolatileRequests";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGENABLED: &str = "Enabled";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGENABLEDEKUFORDEFINEDCACERT: &str = "EnabledEKUForDefinedCACert";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGENABLEENROLLEEREQUESTEXTENSIONLIST: &str = "EnableEnrolleeRequestExtensionList";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGENABLEREQUESTEXTENSIONLIST: &str = "EnableRequestExtensionList";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGENFORCEX500NAMELENGTHS: &str = "EnforceX500NameLengths";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGENROLLFLAGS: &str = "EnrollFlags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGEXITBODYARG: &str = "BodyArg";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGEXITBODYFORMAT: &str = "BodyFormat";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGEXITCRLISSUEDKEY: &str = "CRLIssued";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGEXITDENIEDKEY: &str = "Denied";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGEXITIMPORTEDKEY: &str = "Imported";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGEXITISSUEDKEY: &str = "Issued";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGEXITPENDINGKEY: &str = "Pending";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGEXITPROPNOTFOUND: &str = "???";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGEXITREVOKEDKEY: &str = "Revoked";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGEXITSHUTDOWNKEY: &str = "Shutdown";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGEXITSMTPAUTHENTICATE: &str = "SMTPAuthenticate";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGEXITSMTPCC: &str = "Cc";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGEXITSMTPEVENTFILTER: &str = "EventFilter";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGEXITSMTPFROM: &str = "From";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGEXITSMTPKEY: &str = "SMTP";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGEXITSMTPSERVER: &str = "SMTPServer";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGEXITSMTPTEMPLATES: &str = "Templates";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGEXITSMTPTO: &str = "To";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGEXITSTARTUPKEY: &str = "Startup";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGEXITTITLEARG: &str = "TitleArg";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGEXITTITLEFORMAT: &str = "TitleFormat";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGFILEISSUERCERTURL_OLD: &str = "FileIssuerCertURL";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGFILEREVOCATIONCRLURL_OLD: &str = "FileRevocationCRLURL";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGFORCETELETEX: &str = "ForceTeletex";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGFTPISSUERCERTURL_OLD: &str = "FTPIssuerCertURL";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGFTPREVOCATIONCRLURL_OLD: &str = "FTPRevocationCRLURL";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGHIGHLOGNUMBER: &str = "HighLogNumber";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGHIGHSERIAL: &str = "HighSerial";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGINTERFACEFLAGS: &str = "InterfaceFlags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGISSUERCERTURLFLAGS: &str = "IssuerCertURLFlags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGISSUERCERTURL_OLD: &str = "IssuerCertURL";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGKEYBASE: &str = "SYSTEM\\CurrentControlSet\\Services\\CertSvc";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGKEYCERTSVCPATH: &str = "SYSTEM\\CurrentControlSet\\Services\\CertSvc";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGKEYCONFIG: &str = "Configuration";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGKEYCSP: &str = "CSP";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGKEYDBPARAMETERS: &str = "DBParameters";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGKEYENCRYPTIONCSP: &str = "EncryptionCSP";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGKEYENROLLMENT: &str = "Software\\Microsoft\\Cryptography\\AutoEnrollment";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGKEYEXITMODULES: &str = "ExitModules";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGKEYGROUPPOLICYENROLLMENT: &str = "Software\\Policies\\Microsoft\\Cryptography\\AutoEnrollment";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGKEYNOSYSTEMCERTSVCPATH: &str = "CurrentControlSet\\Services\\CertSvc";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGKEYPOLICYMODULES: &str = "PolicyModules";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGKEYREPAIR: &str = "KeyRepair";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGKEYRESTOREINPROGRESS: &str = "RestoreInProgress";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGKEYSIZE: &str = "KeySize";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGKRACERTCOUNT: &str = "KRACertCount";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGKRACERTHASH: &str = "KRACertHash";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGKRAFLAGS: &str = "KRAFlags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGLDAPFLAGS: &str = "LDAPFlags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGLDAPISSUERCERTURL_OLD: &str = "LDAPIssuerCertURL";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGLDAPREVOCATIONCRLURL_OLD: &str = "LDAPRevocationCRLURL";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGLDAPREVOCATIONDNTEMPLATE_OLD: &str = "LDAPRevocationDNTemplate";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGLDAPREVOCATIONDN_OLD: &str = "LDAPRevocationDN";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGLDAPSESSIONOPTIONS: &str = "LDAPSessionOptions";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGLOGLEVEL: &str = "LogLevel";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGLOGPATH: &str = "LogPath";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGLOWLOGNUMBER: &str = "LowLogNumber";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGMAXINCOMINGALLOCSIZE: &str = "MaxIncomingAllocSize";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGMAXINCOMINGMESSAGESIZE: &str = "MaxIncomingMessageSize";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGMAXPENDINGREQUESTDAYS: &str = "MaxPendingRequestDays";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGMAXSCTLISTSIZE: &str = "MaxSCTListSize";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGNAMESEPARATOR: &str = "SubjectNameSeparator";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGNETSCAPECERTTYPE: &str = "NetscapeCertType";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGOFFICERRIGHTS: &str = "OfficerRights";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGPARENTCAMACHINE: &str = "ParentCAMachine";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGPARENTCANAME: &str = "ParentCAName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGPOLICYFLAGS: &str = "PolicyFlags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGPRESERVESCEPDUMMYCERTS: &str = "PreserveSCEPDummyCerts";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGPROCESSINGFLAGS: &str = "ProcessingFlags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGPROVIDER: &str = "Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGPROVIDERTYPE: &str = "ProviderType";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGREQUESTDISPOSITION: &str = "RequestDisposition";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGREQUESTFILENAME: &str = "RequestFileName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGREQUESTID: &str = "RequestId";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGREQUESTKEYCONTAINER: &str = "RequestKeyContainer";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGREQUESTKEYINDEX: &str = "RequestKeyIndex";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGRESTOREMAP: &str = "RestoreMap";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGRESTOREMAPCOUNT: &str = "RestoreMapCount";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGRESTORESTATUS: &str = "RestoreStatus";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGREVOCATIONCRLURL_OLD: &str = "RevocationCRLURL";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGREVOCATIONTYPE: &str = "RevocationType";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGREVOCATIONURL: &str = "RevocationURL";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGROLESEPARATIONENABLED: &str = "RoleSeparationEnabled";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGSETUPSTATUS: &str = "SetupStatus";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGSP4DEFAULTCONFIGURATION: &str = "DefaultConfiguration";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGSP4KEYSETNAME: &str = "KeySetName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGSP4NAMES: &str = "Names";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGSP4QUERIES: &str = "Queries";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGSP4SUBJECTNAMESEPARATOR: &str = "SubjectNameSeparator";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGSUBJECTALTNAME: &str = "SubjectAltName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGSUBJECTALTNAME2: &str = "SubjectAltName2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGSUBJECTTEMPLATE: &str = "SubjectTemplate";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGSYMMETRICKEYSIZE: &str = "SymmetricKeySize";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGUNICODE: &str = "Unicode";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGUPNMAP: &str = "UPNMap";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGUSEDEFINEDCACERTINREQ: &str = "UseDefinedCACertInRequest";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGVALIDITYPERIODCOUNT: &str = "ValidityPeriodUnits";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGVALIDITYPERIODSTRING: &str = "ValidityPeriod";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGVERIFYFLAGS: &str = "VerifyFlags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGVERSION: &str = "Version";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGVIEWAGEMINUTES: &str = "ViewAgeMinutes";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGVIEWIDLEMINUTES: &str = "ViewIdleMinutes";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGWEBCLIENTCAMACHINE: &str = "WebClientCAMachine";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGWEBCLIENTCANAME: &str = "WebClientCAName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszREGWEBCLIENTCATYPE: &str = "WebClientCAType";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszSECUREDATTRIBUTES: &str = "SignedAttributes";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszSERVICE_NAME: &str = "CertSvc";
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`*"]
+pub const wszzDEFAULTSIGNEDATTRIBUTES: &str = "RequesterName\u{0}";
diff --git a/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Sip/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Sip/mod.rs
new file mode 100644
index 000000000..a21ea5f43
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Sip/mod.rs
@@ -0,0 +1,308 @@
+#[link(name = "windows")]
+extern "system" {
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptSIPAddProvider(psnewprov: *mut SIP_ADD_NEWPROVIDER) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
+ pub fn CryptSIPCreateIndirectData(psubjectinfo: *mut SIP_SUBJECTINFO, pcbindirectdata: *mut u32, pindirectdata: *mut SIP_INDIRECT_DATA) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
+ pub fn CryptSIPGetCaps(psubjinfo: *const SIP_SUBJECTINFO, pcaps: *mut SIP_CAP_SET_V3) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
+ pub fn CryptSIPGetSealedDigest(psubjectinfo: *const SIP_SUBJECTINFO, psig: *const u8, dwsig: u32, pbdigest: *mut u8, pcbdigest: *mut u32) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
+ pub fn CryptSIPGetSignedDataMsg(psubjectinfo: *mut SIP_SUBJECTINFO, pdwencodingtype: *mut super::CERT_QUERY_ENCODING_TYPE, dwindex: u32, pcbsigneddatamsg: *mut u32, pbsigneddatamsg: *mut u8) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
+ pub fn CryptSIPLoad(pgsubject: *const ::windows_sys::core::GUID, dwflags: u32, psipdispatch: *mut SIP_DISPATCH_INFO) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
+ pub fn CryptSIPPutSignedDataMsg(psubjectinfo: *mut SIP_SUBJECTINFO, dwencodingtype: super::CERT_QUERY_ENCODING_TYPE, pdwindex: *mut u32, cbsigneddatamsg: u32, pbsigneddatamsg: *mut u8) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptSIPRemoveProvider(pgprov: *mut ::windows_sys::core::GUID) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
+ pub fn CryptSIPRemoveSignedDataMsg(psubjectinfo: *mut SIP_SUBJECTINFO, dwindex: u32) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptSIPRetrieveSubjectGuid(filename: ::windows_sys::core::PCWSTR, hfilein: super::super::super::Foundation::HANDLE, pgsubject: *mut ::windows_sys::core::GUID) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptSIPRetrieveSubjectGuidForCatalogFile(filename: ::windows_sys::core::PCWSTR, hfilein: super::super::super::Foundation::HANDLE, pgsubject: *mut ::windows_sys::core::GUID) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
+ pub fn CryptSIPVerifyIndirectData(psubjectinfo: *mut SIP_SUBJECTINFO, pindirectdata: *mut SIP_INDIRECT_DATA) -> super::super::super::Foundation::BOOL;
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"]
+pub const MSSIP_ADDINFO_BLOB: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"]
+pub const MSSIP_ADDINFO_CATMEMBER: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"]
+pub const MSSIP_ADDINFO_FLAT: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"]
+pub const MSSIP_ADDINFO_NONE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"]
+pub const MSSIP_ADDINFO_NONMSSIP: u32 = 500u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"]
+pub const MSSIP_FLAGS_MULTI_HASH: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"]
+pub const MSSIP_FLAGS_PROHIBIT_RESIZE_ON_CREATE: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"]
+pub const MSSIP_FLAGS_USE_CATALOG: u32 = 131072u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"]
+pub struct MS_ADDINFO_BLOB {
+ pub cbStruct: u32,
+ pub cbMemObject: u32,
+ pub pbMemObject: *mut u8,
+ pub cbMemSignedMsg: u32,
+ pub pbMemSignedMsg: *mut u8,
+}
+impl ::core::marker::Copy for MS_ADDINFO_BLOB {}
+impl ::core::clone::Clone for MS_ADDINFO_BLOB {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
+pub struct MS_ADDINFO_CATALOGMEMBER {
+ pub cbStruct: u32,
+ pub pStore: *mut super::Catalog::CRYPTCATSTORE,
+ pub pMember: *mut super::Catalog::CRYPTCATMEMBER,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
+impl ::core::marker::Copy for MS_ADDINFO_CATALOGMEMBER {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
+impl ::core::clone::Clone for MS_ADDINFO_CATALOGMEMBER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"]
+pub struct MS_ADDINFO_FLAT {
+ pub cbStruct: u32,
+ pub pIndirectData: *mut SIP_INDIRECT_DATA,
+}
+impl ::core::marker::Copy for MS_ADDINFO_FLAT {}
+impl ::core::clone::Clone for MS_ADDINFO_FLAT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"]
+pub struct SIP_ADD_NEWPROVIDER {
+ pub cbStruct: u32,
+ pub pgSubject: *mut ::windows_sys::core::GUID,
+ pub pwszDLLFileName: ::windows_sys::core::PWSTR,
+ pub pwszMagicNumber: ::windows_sys::core::PWSTR,
+ pub pwszIsFunctionName: ::windows_sys::core::PWSTR,
+ pub pwszGetFuncName: ::windows_sys::core::PWSTR,
+ pub pwszPutFuncName: ::windows_sys::core::PWSTR,
+ pub pwszCreateFuncName: ::windows_sys::core::PWSTR,
+ pub pwszVerifyFuncName: ::windows_sys::core::PWSTR,
+ pub pwszRemoveFuncName: ::windows_sys::core::PWSTR,
+ pub pwszIsFunctionNameFmt2: ::windows_sys::core::PWSTR,
+ pub pwszGetCapFuncName: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for SIP_ADD_NEWPROVIDER {}
+impl ::core::clone::Clone for SIP_ADD_NEWPROVIDER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"]
+pub const SIP_CAP_FLAG_SEALING: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"]
+pub const SIP_CAP_SET_CUR_VER: u32 = 3u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SIP_CAP_SET_V2 {
+ pub cbSize: u32,
+ pub dwVersion: u32,
+ pub isMultiSign: super::super::super::Foundation::BOOL,
+ pub dwReserved: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SIP_CAP_SET_V2 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SIP_CAP_SET_V2 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SIP_CAP_SET_V3 {
+ pub cbSize: u32,
+ pub dwVersion: u32,
+ pub isMultiSign: super::super::super::Foundation::BOOL,
+ pub Anonymous: SIP_CAP_SET_V3_0,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SIP_CAP_SET_V3 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SIP_CAP_SET_V3 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union SIP_CAP_SET_V3_0 {
+ pub dwFlags: u32,
+ pub dwReserved: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SIP_CAP_SET_V3_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SIP_CAP_SET_V3_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"]
+pub const SIP_CAP_SET_VERSION_2: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"]
+pub const SIP_CAP_SET_VERSION_3: u32 = 3u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
+pub struct SIP_DISPATCH_INFO {
+ pub cbSize: u32,
+ pub hSIP: super::super::super::Foundation::HANDLE,
+ pub pfGet: pCryptSIPGetSignedDataMsg,
+ pub pfPut: pCryptSIPPutSignedDataMsg,
+ pub pfCreate: pCryptSIPCreateIndirectData,
+ pub pfVerify: pCryptSIPVerifyIndirectData,
+ pub pfRemove: pCryptSIPRemoveSignedDataMsg,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
+impl ::core::marker::Copy for SIP_DISPATCH_INFO {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
+impl ::core::clone::Clone for SIP_DISPATCH_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"]
+pub struct SIP_INDIRECT_DATA {
+ pub Data: super::CRYPT_ATTRIBUTE_TYPE_VALUE,
+ pub DigestAlgorithm: super::CRYPT_ALGORITHM_IDENTIFIER,
+ pub Digest: super::CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for SIP_INDIRECT_DATA {}
+impl ::core::clone::Clone for SIP_INDIRECT_DATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"]
+pub const SIP_MAX_MAGIC_NUMBER: u32 = 4u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
+pub struct SIP_SUBJECTINFO {
+ pub cbSize: u32,
+ pub pgSubjectType: *mut ::windows_sys::core::GUID,
+ pub hFile: super::super::super::Foundation::HANDLE,
+ pub pwsFileName: ::windows_sys::core::PCWSTR,
+ pub pwsDisplayName: ::windows_sys::core::PCWSTR,
+ pub dwReserved1: u32,
+ pub dwIntVersion: u32,
+ pub hProv: usize,
+ pub DigestAlgorithm: super::CRYPT_ALGORITHM_IDENTIFIER,
+ pub dwFlags: u32,
+ pub dwEncodingType: u32,
+ pub dwReserved2: u32,
+ pub fdwCAPISettings: u32,
+ pub fdwSecuritySettings: u32,
+ pub dwIndex: u32,
+ pub dwUnionChoice: u32,
+ pub Anonymous: SIP_SUBJECTINFO_0,
+ pub pClientData: *mut ::core::ffi::c_void,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
+impl ::core::marker::Copy for SIP_SUBJECTINFO {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
+impl ::core::clone::Clone for SIP_SUBJECTINFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
+pub union SIP_SUBJECTINFO_0 {
+ pub psFlat: *mut MS_ADDINFO_FLAT,
+ pub psCatMember: *mut MS_ADDINFO_CATALOGMEMBER,
+ pub psBlob: *mut MS_ADDINFO_BLOB,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
+impl ::core::marker::Copy for SIP_SUBJECTINFO_0 {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
+impl ::core::clone::Clone for SIP_SUBJECTINFO_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"]
+pub const SPC_DIGEST_GENERATE_FLAG: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"]
+pub const SPC_DIGEST_SIGN_EX_FLAG: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"]
+pub const SPC_DIGEST_SIGN_FLAG: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"]
+pub const SPC_EXC_PE_PAGE_HASHES_FLAG: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"]
+pub const SPC_INC_PE_DEBUG_INFO_FLAG: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"]
+pub const SPC_INC_PE_IMPORT_ADDR_TABLE_FLAG: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"]
+pub const SPC_INC_PE_PAGE_HASHES_FLAG: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"]
+pub const SPC_INC_PE_RESOURCES_FLAG: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"]
+pub const SPC_MARKER_CHECK_CURRENTLY_SUPPORTED_FLAGS: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"]
+pub const SPC_MARKER_CHECK_SKIP_SIP_INDIRECT_DATA_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`*"]
+pub const SPC_RELAXED_PE_MARKER_CHECK: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
+pub type pCryptSIPCreateIndirectData = ::core::option::Option<unsafe extern "system" fn(psubjectinfo: *mut SIP_SUBJECTINFO, pcbindirectdata: *mut u32, pindirectdata: *mut SIP_INDIRECT_DATA) -> super::super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
+pub type pCryptSIPGetCaps = ::core::option::Option<unsafe extern "system" fn(psubjinfo: *const SIP_SUBJECTINFO, pcaps: *mut SIP_CAP_SET_V3) -> super::super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
+pub type pCryptSIPGetSealedDigest = ::core::option::Option<unsafe extern "system" fn(psubjectinfo: *const SIP_SUBJECTINFO, psig: *const u8, dwsig: u32, pbdigest: *mut u8, pcbdigest: *mut u32) -> super::super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
+pub type pCryptSIPGetSignedDataMsg = ::core::option::Option<unsafe extern "system" fn(psubjectinfo: *mut SIP_SUBJECTINFO, pdwencodingtype: *mut u32, dwindex: u32, pcbsigneddatamsg: *mut u32, pbsigneddatamsg: *mut u8) -> super::super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
+pub type pCryptSIPPutSignedDataMsg = ::core::option::Option<unsafe extern "system" fn(psubjectinfo: *mut SIP_SUBJECTINFO, dwencodingtype: u32, pdwindex: *mut u32, cbsigneddatamsg: u32, pbsigneddatamsg: *mut u8) -> super::super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
+pub type pCryptSIPRemoveSignedDataMsg = ::core::option::Option<unsafe extern "system" fn(psubjectinfo: *mut SIP_SUBJECTINFO, dwindex: u32) -> super::super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))]
+pub type pCryptSIPVerifyIndirectData = ::core::option::Option<unsafe extern "system" fn(psubjectinfo: *mut SIP_SUBJECTINFO, pindirectdata: *mut SIP_INDIRECT_DATA) -> super::super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type pfnIsFileSupported = ::core::option::Option<unsafe extern "system" fn(hfile: super::super::super::Foundation::HANDLE, pgsubject: *mut ::windows_sys::core::GUID) -> super::super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type pfnIsFileSupportedName = ::core::option::Option<unsafe extern "system" fn(pwszfilename: ::windows_sys::core::PCWSTR, pgsubject: *mut ::windows_sys::core::GUID) -> super::super::super::Foundation::BOOL>;
diff --git a/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/UI/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/UI/mod.rs
new file mode 100644
index 000000000..fae111c5d
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/UI/mod.rs
@@ -0,0 +1,986 @@
+#[link(name = "windows")]
+extern "system" {
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertSelectionGetSerializedBlob(pcsi: *const CERT_SELECTUI_INPUT, ppoutbuffer: *mut *mut ::core::ffi::c_void, puloutbuffersize: *mut u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptUIDlgCertMgr(pcryptuicertmgr: *const CRYPTUI_CERT_MGR_STRUCT) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptUIDlgSelectCertificateFromStore(hcertstore: super::HCERTSTORE, hwnd: super::super::super::Foundation::HWND, pwsztitle: ::windows_sys::core::PCWSTR, pwszdisplaystring: ::windows_sys::core::PCWSTR, dwdontusecolumn: u32, dwflags: u32, pvreserved: *const ::core::ffi::c_void) -> *mut super::CERT_CONTEXT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
+ pub fn CryptUIDlgViewCertificateA(pcertviewinfo: *const CRYPTUI_VIEWCERTIFICATE_STRUCTA, pfpropertieschanged: *mut super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
+ pub fn CryptUIDlgViewCertificateW(pcertviewinfo: *const CRYPTUI_VIEWCERTIFICATE_STRUCTW, pfpropertieschanged: *mut super::super::super::Foundation::BOOL) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptUIDlgViewContext(dwcontexttype: u32, pvcontext: *const ::core::ffi::c_void, hwnd: super::super::super::Foundation::HWND, pwsztitle: ::windows_sys::core::PCWSTR, dwflags: u32, pvreserved: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptUIWizDigitalSign(dwflags: u32, hwndparent: super::super::super::Foundation::HWND, pwszwizardtitle: ::windows_sys::core::PCWSTR, pdigitalsigninfo: *const CRYPTUI_WIZ_DIGITAL_SIGN_INFO, ppsigncontext: *mut *mut CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptUIWizExport(dwflags: CRYPTUI_WIZ_FLAGS, hwndparent: super::super::super::Foundation::HWND, pwszwizardtitle: ::windows_sys::core::PCWSTR, pexportinfo: *const CRYPTUI_WIZ_EXPORT_INFO, pvoid: *const ::core::ffi::c_void) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptUIWizFreeDigitalSignContext(psigncontext: *const CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT) -> super::super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptUIWizImport(dwflags: CRYPTUI_WIZ_FLAGS, hwndparent: super::super::super::Foundation::HWND, pwszwizardtitle: ::windows_sys::core::PCWSTR, pimportsrc: *const CRYPTUI_WIZ_IMPORT_SRC_INFO, hdestcertstore: super::HCERTSTORE) -> super::super::super::Foundation::BOOL;
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const ACTION_REVOCATION_DEFAULT_CACHE: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const ACTION_REVOCATION_DEFAULT_ONLINE: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERTVIEW_CRYPTUI_LPARAM: u32 = 8388608u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_CREDENTIAL_PROVIDER_ID: i32 = -509i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_DISPWELL_DISTRUST_ADD_CA_CERT: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_DISPWELL_DISTRUST_ADD_LEAF_CERT: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_DISPWELL_DISTRUST_CA_CERT: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_DISPWELL_DISTRUST_LEAF_CERT: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_DISPWELL_SELECT: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_DISPWELL_TRUST_ADD_CA_CERT: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_DISPWELL_TRUST_ADD_LEAF_CERT: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_DISPWELL_TRUST_CA_CERT: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_DISPWELL_TRUST_LEAF_CERT: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_FILTER_INCLUDE_V1_CERTS: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_FILTER_ISSUER_CERTS_ONLY: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_FILTER_KEY_EXISTS: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_FILTER_LEAF_CERTS_ONLY: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_FILTER_OP_EQUALITY: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_FILTER_OP_EXISTS: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_FILTER_OP_NOT_EXISTS: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_FILTER_VALID_SIGNATURE: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_FILTER_VALID_TIME_RANGE: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_SELECTUI_INPUT {
+ pub hStore: super::HCERTSTORE,
+ pub prgpChain: *mut *mut super::CERT_CHAIN_CONTEXT,
+ pub cChain: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_SELECTUI_INPUT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_SELECTUI_INPUT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_SELECT_STRUCT_A {
+ pub dwSize: u32,
+ pub hwndParent: super::super::super::Foundation::HWND,
+ pub hInstance: super::super::super::Foundation::HINSTANCE,
+ pub pTemplateName: ::windows_sys::core::PCSTR,
+ pub dwFlags: CERT_SELECT_STRUCT_FLAGS,
+ pub szTitle: ::windows_sys::core::PCSTR,
+ pub cCertStore: u32,
+ pub arrayCertStore: *mut super::HCERTSTORE,
+ pub szPurposeOid: ::windows_sys::core::PCSTR,
+ pub cCertContext: u32,
+ pub arrayCertContext: *mut *mut super::CERT_CONTEXT,
+ pub lCustData: super::super::super::Foundation::LPARAM,
+ pub pfnHook: PFNCMHOOKPROC,
+ pub pfnFilter: PFNCMFILTERPROC,
+ pub szHelpFileName: ::windows_sys::core::PCSTR,
+ pub dwHelpId: u32,
+ pub hprov: usize,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_SELECT_STRUCT_A {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_SELECT_STRUCT_A {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub type CERT_SELECT_STRUCT_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CSS_HIDE_PROPERTIES: CERT_SELECT_STRUCT_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CSS_ENABLEHOOK: CERT_SELECT_STRUCT_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CSS_ALLOWMULTISELECT: CERT_SELECT_STRUCT_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CSS_SHOW_HELP: CERT_SELECT_STRUCT_FLAGS = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CSS_ENABLETEMPLATE: CERT_SELECT_STRUCT_FLAGS = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CSS_ENABLETEMPLATEHANDLE: CERT_SELECT_STRUCT_FLAGS = 64u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_SELECT_STRUCT_W {
+ pub dwSize: u32,
+ pub hwndParent: super::super::super::Foundation::HWND,
+ pub hInstance: super::super::super::Foundation::HINSTANCE,
+ pub pTemplateName: ::windows_sys::core::PCWSTR,
+ pub dwFlags: CERT_SELECT_STRUCT_FLAGS,
+ pub szTitle: ::windows_sys::core::PCWSTR,
+ pub cCertStore: u32,
+ pub arrayCertStore: *mut super::HCERTSTORE,
+ pub szPurposeOid: ::windows_sys::core::PCSTR,
+ pub cCertContext: u32,
+ pub arrayCertContext: *mut *mut super::CERT_CONTEXT,
+ pub lCustData: super::super::super::Foundation::LPARAM,
+ pub pfnHook: PFNCMHOOKPROC,
+ pub pfnFilter: PFNCMFILTERPROC,
+ pub szHelpFileName: ::windows_sys::core::PCWSTR,
+ pub dwHelpId: u32,
+ pub hprov: usize,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_SELECT_STRUCT_W {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_SELECT_STRUCT_W {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_TRUST_DO_FULL_SEARCH: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_TRUST_DO_FULL_TRUST: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_TRUST_MASK: u32 = 16777215u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_TRUST_PERMIT_MISSING_CRLS: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_VALIDITY_AFTER_END: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_VALIDITY_BEFORE_START: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_VALIDITY_CERTIFICATE_REVOKED: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_VALIDITY_CRL_OUT_OF_DATE: u32 = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_VALIDITY_EXPLICITLY_DISTRUSTED: u32 = 16777216u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_VALIDITY_EXTENDED_USAGE_FAILURE: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_VALIDITY_ISSUER_DISTRUST: u32 = 33554432u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_VALIDITY_ISSUER_INVALID: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_VALIDITY_KEY_USAGE_EXT_FAILURE: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_VALIDITY_MASK_TRUST: u32 = 4294901760u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_VALIDITY_MASK_VALIDITY: u32 = 65535u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_VALIDITY_NAME_CONSTRAINTS_FAILURE: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_VALIDITY_NO_CRL_FOUND: u32 = 536870912u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_VALIDITY_NO_ISSUER_CERT_FOUND: u32 = 268435456u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_VALIDITY_NO_TRUST_DATA: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_VALIDITY_OTHER_ERROR: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_VALIDITY_OTHER_EXTENSION_FAILURE: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_VALIDITY_PERIOD_NESTING_FAILURE: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_VALIDITY_SIGNATURE_FAILS: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CERT_VALIDITY_UNKNOWN_CRITICAL_EXTENSION: u32 = 128u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_VERIFY_CERTIFICATE_TRUST {
+ pub cbSize: u32,
+ pub pccert: *const super::CERT_CONTEXT,
+ pub dwFlags: u32,
+ pub dwIgnoreErr: u32,
+ pub pdwErrors: *mut u32,
+ pub pszUsageOid: ::windows_sys::core::PSTR,
+ pub hprov: usize,
+ pub cRootStores: u32,
+ pub rghstoreRoots: *mut super::HCERTSTORE,
+ pub cStores: u32,
+ pub rghstoreCAs: *mut super::HCERTSTORE,
+ pub cTrustStores: u32,
+ pub rghstoreTrust: *mut super::HCERTSTORE,
+ pub lCustData: super::super::super::Foundation::LPARAM,
+ pub pfnTrustHelper: PFNTRUSTHELPER,
+ pub pcChain: *mut u32,
+ pub prgChain: *mut *mut *mut super::CERT_CONTEXT,
+ pub prgdwErrors: *mut *mut u32,
+ pub prgpbTrustInfo: *mut *mut super::CRYPTOAPI_BLOB,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_VERIFY_CERTIFICATE_TRUST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_VERIFY_CERTIFICATE_TRUST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
+pub struct CERT_VIEWPROPERTIES_STRUCT_A {
+ pub dwSize: u32,
+ pub hwndParent: super::super::super::Foundation::HWND,
+ pub hInstance: super::super::super::Foundation::HINSTANCE,
+ pub dwFlags: CERT_VIEWPROPERTIES_STRUCT_FLAGS,
+ pub szTitle: ::windows_sys::core::PCSTR,
+ pub pCertContext: *const super::CERT_CONTEXT,
+ pub arrayPurposes: *mut ::windows_sys::core::PSTR,
+ pub cArrayPurposes: u32,
+ pub cRootStores: u32,
+ pub rghstoreRoots: *mut super::HCERTSTORE,
+ pub cStores: u32,
+ pub rghstoreCAs: *mut super::HCERTSTORE,
+ pub cTrustStores: u32,
+ pub rghstoreTrust: *mut super::HCERTSTORE,
+ pub hprov: usize,
+ pub lCustData: super::super::super::Foundation::LPARAM,
+ pub dwPad: u32,
+ pub szHelpFileName: ::windows_sys::core::PCSTR,
+ pub dwHelpId: u32,
+ pub nStartPage: u32,
+ pub cArrayPropSheetPages: u32,
+ pub arrayPropSheetPages: *mut super::super::super::UI::Controls::PROPSHEETPAGEA,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
+impl ::core::marker::Copy for CERT_VIEWPROPERTIES_STRUCT_A {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
+impl ::core::clone::Clone for CERT_VIEWPROPERTIES_STRUCT_A {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub type CERT_VIEWPROPERTIES_STRUCT_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CM_ENABLEHOOK: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CM_SHOW_HELP: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CM_SHOW_HELPICON: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CM_ENABLETEMPLATE: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CM_HIDE_ADVANCEPAGE: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CM_HIDE_TRUSTPAGE: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CM_NO_NAMECHANGE: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CM_NO_EDITTRUST: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CM_HIDE_DETAILPAGE: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CM_ADD_CERT_STORES: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 512u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
+pub struct CERT_VIEWPROPERTIES_STRUCT_W {
+ pub dwSize: u32,
+ pub hwndParent: super::super::super::Foundation::HWND,
+ pub hInstance: super::super::super::Foundation::HINSTANCE,
+ pub dwFlags: CERT_VIEWPROPERTIES_STRUCT_FLAGS,
+ pub szTitle: ::windows_sys::core::PCWSTR,
+ pub pCertContext: *const super::CERT_CONTEXT,
+ pub arrayPurposes: *mut ::windows_sys::core::PSTR,
+ pub cArrayPurposes: u32,
+ pub cRootStores: u32,
+ pub rghstoreRoots: *mut super::HCERTSTORE,
+ pub cStores: u32,
+ pub rghstoreCAs: *mut super::HCERTSTORE,
+ pub cTrustStores: u32,
+ pub rghstoreTrust: *mut super::HCERTSTORE,
+ pub hprov: usize,
+ pub lCustData: super::super::super::Foundation::LPARAM,
+ pub dwPad: u32,
+ pub szHelpFileName: ::windows_sys::core::PCWSTR,
+ pub dwHelpId: u32,
+ pub nStartPage: u32,
+ pub cArrayPropSheetPages: u32,
+ pub arrayPropSheetPages: *mut super::super::super::UI::Controls::PROPSHEETPAGEA,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
+impl ::core::marker::Copy for CERT_VIEWPROPERTIES_STRUCT_W {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
+impl ::core::clone::Clone for CERT_VIEWPROPERTIES_STRUCT_W {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub struct CMFLTR {
+ pub dwSize: u32,
+ pub cExtensionChecks: u32,
+ pub arrayExtensionChecks: *mut CMOID,
+ pub dwCheckingFlags: u32,
+}
+impl ::core::marker::Copy for CMFLTR {}
+impl ::core::clone::Clone for CMFLTR {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub struct CMOID {
+ pub szExtensionOID: ::windows_sys::core::PCSTR,
+ pub dwTestOperation: u32,
+ pub pbTestData: *mut u8,
+ pub cbTestData: u32,
+}
+impl ::core::marker::Copy for CMOID {}
+impl ::core::clone::Clone for CMOID {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CM_VIEWFLAGS_MASK: u32 = 16777215u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTDLG_ACTION_MASK: u32 = 4294901760u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTDLG_CACHE_ONLY_URL_RETRIEVAL: u32 = 268435456u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTDLG_DISABLE_AIA: u32 = 134217728u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTDLG_POLICY_MASK: u32 = 65535u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTDLG_REVOCATION_CACHE: u32 = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTDLG_REVOCATION_DEFAULT: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTDLG_REVOCATION_NONE: u32 = 536870912u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTDLG_REVOCATION_ONLINE: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_CERT_MGR_PUBLISHER_TAB: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_CERT_MGR_SINGLE_TAB_FLAG: u32 = 32768u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRYPTUI_CERT_MGR_STRUCT {
+ pub dwSize: u32,
+ pub hwndParent: super::super::super::Foundation::HWND,
+ pub dwFlags: u32,
+ pub pwszTitle: ::windows_sys::core::PCWSTR,
+ pub pszInitUsageOID: ::windows_sys::core::PCSTR,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRYPTUI_CERT_MGR_STRUCT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRYPTUI_CERT_MGR_STRUCT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_CERT_MGR_TAB_MASK: u32 = 15u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRYPTUI_INITDIALOG_STRUCT {
+ pub lParam: super::super::super::Foundation::LPARAM,
+ pub pCertContext: *const super::CERT_CONTEXT,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRYPTUI_INITDIALOG_STRUCT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRYPTUI_INITDIALOG_STRUCT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_SELECT_EXPIRATION_COLUMN: u64 = 32u64;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_SELECT_FRIENDLYNAME_COLUMN: u64 = 8u64;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_SELECT_INTENDEDUSE_COLUMN: u64 = 4u64;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_SELECT_ISSUEDBY_COLUMN: u64 = 2u64;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_SELECT_ISSUEDTO_COLUMN: u64 = 1u64;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_SELECT_LOCATION_COLUMN: u64 = 16u64;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub type CRYPTUI_VIEWCERTIFICATE_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_HIDE_HIERARCHYPAGE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_HIDE_DETAILPAGE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_DISABLE_EDITPROPERTIES: CRYPTUI_VIEWCERTIFICATE_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_ENABLE_EDITPROPERTIES: CRYPTUI_VIEWCERTIFICATE_FLAGS = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_DISABLE_ADDTOSTORE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_ENABLE_ADDTOSTORE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_ACCEPT_DECLINE_STYLE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_IGNORE_UNTRUSTED_ROOT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_DONT_OPEN_STORES: CRYPTUI_VIEWCERTIFICATE_FLAGS = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_ONLY_OPEN_ROOT_STORE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WARN_UNTRUSTED_ROOT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_ENABLE_REVOCATION_CHECKING: CRYPTUI_VIEWCERTIFICATE_FLAGS = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WARN_REMOTE_TRUST: CRYPTUI_VIEWCERTIFICATE_FLAGS = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_DISABLE_EXPORT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_ENABLE_REVOCATION_CHECK_END_CERT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_ENABLE_REVOCATION_CHECK_CHAIN: CRYPTUI_VIEWCERTIFICATE_FLAGS = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_ENABLE_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_DISABLE_HTMLLINK: CRYPTUI_VIEWCERTIFICATE_FLAGS = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_DISABLE_ISSUERSTATEMENT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_CACHE_ONLY_URL_RETRIEVAL: CRYPTUI_VIEWCERTIFICATE_FLAGS = 262144u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
+pub struct CRYPTUI_VIEWCERTIFICATE_STRUCTA {
+ pub dwSize: u32,
+ pub hwndParent: super::super::super::Foundation::HWND,
+ pub dwFlags: CRYPTUI_VIEWCERTIFICATE_FLAGS,
+ pub szTitle: ::windows_sys::core::PCSTR,
+ pub pCertContext: *const super::CERT_CONTEXT,
+ pub rgszPurposes: *mut ::windows_sys::core::PSTR,
+ pub cPurposes: u32,
+ pub Anonymous: CRYPTUI_VIEWCERTIFICATE_STRUCTA_0,
+ pub fpCryptProviderDataTrustedUsage: super::super::super::Foundation::BOOL,
+ pub idxSigner: u32,
+ pub idxCert: u32,
+ pub fCounterSigner: super::super::super::Foundation::BOOL,
+ pub idxCounterSigner: u32,
+ pub cStores: u32,
+ pub rghStores: *mut super::HCERTSTORE,
+ pub cPropSheetPages: u32,
+ pub rgPropSheetPages: *mut super::super::super::UI::Controls::PROPSHEETPAGEA,
+ pub nStartPage: u32,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
+impl ::core::marker::Copy for CRYPTUI_VIEWCERTIFICATE_STRUCTA {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
+impl ::core::clone::Clone for CRYPTUI_VIEWCERTIFICATE_STRUCTA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
+pub union CRYPTUI_VIEWCERTIFICATE_STRUCTA_0 {
+ pub pCryptProviderData: *const super::super::WinTrust::CRYPT_PROVIDER_DATA,
+ pub hWVTStateData: super::super::super::Foundation::HANDLE,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
+impl ::core::marker::Copy for CRYPTUI_VIEWCERTIFICATE_STRUCTA_0 {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
+impl ::core::clone::Clone for CRYPTUI_VIEWCERTIFICATE_STRUCTA_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
+pub struct CRYPTUI_VIEWCERTIFICATE_STRUCTW {
+ pub dwSize: u32,
+ pub hwndParent: super::super::super::Foundation::HWND,
+ pub dwFlags: CRYPTUI_VIEWCERTIFICATE_FLAGS,
+ pub szTitle: ::windows_sys::core::PCWSTR,
+ pub pCertContext: *const super::CERT_CONTEXT,
+ pub rgszPurposes: *mut ::windows_sys::core::PSTR,
+ pub cPurposes: u32,
+ pub Anonymous: CRYPTUI_VIEWCERTIFICATE_STRUCTW_0,
+ pub fpCryptProviderDataTrustedUsage: super::super::super::Foundation::BOOL,
+ pub idxSigner: u32,
+ pub idxCert: u32,
+ pub fCounterSigner: super::super::super::Foundation::BOOL,
+ pub idxCounterSigner: u32,
+ pub cStores: u32,
+ pub rghStores: *mut super::HCERTSTORE,
+ pub cPropSheetPages: u32,
+ pub rgPropSheetPages: *mut super::super::super::UI::Controls::PROPSHEETPAGEW,
+ pub nStartPage: u32,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
+impl ::core::marker::Copy for CRYPTUI_VIEWCERTIFICATE_STRUCTW {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
+impl ::core::clone::Clone for CRYPTUI_VIEWCERTIFICATE_STRUCTW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
+pub union CRYPTUI_VIEWCERTIFICATE_STRUCTW_0 {
+ pub pCryptProviderData: *const super::super::WinTrust::CRYPT_PROVIDER_DATA,
+ pub hWVTStateData: super::super::super::Foundation::HANDLE,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
+impl ::core::marker::Copy for CRYPTUI_VIEWCERTIFICATE_STRUCTW_0 {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip", feature = "Win32_Security_WinTrust", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))]
+impl ::core::clone::Clone for CRYPTUI_VIEWCERTIFICATE_STRUCTW_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub type CRYPTUI_WIZ_DIGITAL_ADDITIONAL_CERT_CHOICE = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_DIGITAL_SIGN_ADD_CHAIN: CRYPTUI_WIZ_DIGITAL_ADDITIONAL_CERT_CHOICE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_DIGITAL_SIGN_ADD_CHAIN_NO_ROOT: CRYPTUI_WIZ_DIGITAL_ADDITIONAL_CERT_CHOICE = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_DIGITAL_SIGN_ADD_NONE: CRYPTUI_WIZ_DIGITAL_ADDITIONAL_CERT_CHOICE = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub type CRYPTUI_WIZ_DIGITAL_SIGN = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_DIGITAL_SIGN_CERT: CRYPTUI_WIZ_DIGITAL_SIGN = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_DIGITAL_SIGN_STORE: CRYPTUI_WIZ_DIGITAL_SIGN = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_DIGITAL_SIGN_PVK: CRYPTUI_WIZ_DIGITAL_SIGN = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_DIGITAL_SIGN_NONE: CRYPTUI_WIZ_DIGITAL_SIGN = 0u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub struct CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO {
+ pub dwSize: u32,
+ pub pGuidSubject: *mut ::windows_sys::core::GUID,
+ pub cbBlob: u32,
+ pub pbBlob: *mut u8,
+ pub pwszDisplayName: ::windows_sys::core::PCWSTR,
+}
+impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO {}
+impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub struct CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO {
+ pub dwSize: u32,
+ pub pwszSigningCertFileName: ::windows_sys::core::PWSTR,
+ pub dwPvkChoice: CRYPTUI_WIZ_DIGITAL_SIGN_PVK_OPTION,
+ pub Anonymous: CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO_0,
+}
+impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO {}
+impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub union CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO_0 {
+ pub pPvkFileInfo: *mut CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO,
+ pub pPvkProvInfo: *mut super::CRYPT_KEY_PROV_INFO,
+}
+impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO_0 {}
+impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub struct CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT {
+ pub dwSize: u32,
+ pub cbBlob: u32,
+ pub pbBlob: *mut u8,
+}
+impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT {}
+impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_DIGITAL_SIGN_EXCLUDE_PAGE_HASHES: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub struct CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO {
+ pub dwSize: u32,
+ pub dwAttrFlags: CRYPTUI_WIZ_DIGITAL_SIGN_SIG_TYPE,
+ pub pwszDescription: ::windows_sys::core::PCWSTR,
+ pub pwszMoreInfoLocation: ::windows_sys::core::PCWSTR,
+ pub pszHashAlg: ::windows_sys::core::PCSTR,
+ pub pwszSigningCertDisplayString: ::windows_sys::core::PCWSTR,
+ pub hAdditionalCertStore: super::HCERTSTORE,
+ pub psAuthenticated: *mut super::CRYPT_ATTRIBUTES,
+ pub psUnauthenticated: *mut super::CRYPT_ATTRIBUTES,
+}
+impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO {}
+impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_DIGITAL_SIGN_INCLUDE_PAGE_HASHES: u32 = 4u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRYPTUI_WIZ_DIGITAL_SIGN_INFO {
+ pub dwSize: u32,
+ pub dwSubjectChoice: CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT,
+ pub Anonymous1: CRYPTUI_WIZ_DIGITAL_SIGN_INFO_0,
+ pub dwSigningCertChoice: CRYPTUI_WIZ_DIGITAL_SIGN,
+ pub Anonymous2: CRYPTUI_WIZ_DIGITAL_SIGN_INFO_1,
+ pub pwszTimestampURL: ::windows_sys::core::PCWSTR,
+ pub dwAdditionalCertChoice: CRYPTUI_WIZ_DIGITAL_ADDITIONAL_CERT_CHOICE,
+ pub pSignExtInfo: *mut CRYPTUI_WIZ_DIGITAL_SIGN_EXTENDED_INFO,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union CRYPTUI_WIZ_DIGITAL_SIGN_INFO_0 {
+ pub pwszFileName: ::windows_sys::core::PCWSTR,
+ pub pSignBlobInfo: *mut CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_INFO_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_INFO_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union CRYPTUI_WIZ_DIGITAL_SIGN_INFO_1 {
+ pub pSigningCertContext: *const super::CERT_CONTEXT,
+ pub pSigningCertStore: *mut CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO,
+ pub pSigningCertPvkInfo: *mut CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_INFO_1 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_INFO_1 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub struct CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO {
+ pub dwSize: u32,
+ pub pwszPvkFileName: ::windows_sys::core::PWSTR,
+ pub pwszProvName: ::windows_sys::core::PWSTR,
+ pub dwProvType: u32,
+}
+impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO {}
+impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub type CRYPTUI_WIZ_DIGITAL_SIGN_PVK_OPTION = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE: CRYPTUI_WIZ_DIGITAL_SIGN_PVK_OPTION = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_DIGITAL_SIGN_PVK_PROV: CRYPTUI_WIZ_DIGITAL_SIGN_PVK_OPTION = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub type CRYPTUI_WIZ_DIGITAL_SIGN_SIG_TYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_DIGITAL_SIGN_COMMERCIAL: CRYPTUI_WIZ_DIGITAL_SIGN_SIG_TYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_DIGITAL_SIGN_INDIVIDUAL: CRYPTUI_WIZ_DIGITAL_SIGN_SIG_TYPE = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO {
+ pub dwSize: u32,
+ pub cCertStore: u32,
+ pub rghCertStore: *mut super::HCERTSTORE,
+ pub pFilterCallback: PFNCFILTERPROC,
+ pub pvCallbackData: *mut ::core::ffi::c_void,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub type CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT_BLOB: CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT_FILE: CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT_NONE: CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT = 0u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO {
+ pub dwSize: u32,
+ pub dwExportFormat: CRYPTUI_WIZ_EXPORT_FORMAT,
+ pub fExportChain: super::super::super::Foundation::BOOL,
+ pub fExportPrivateKeys: super::super::super::Foundation::BOOL,
+ pub pwszPassword: ::windows_sys::core::PCWSTR,
+ pub fStrongEncryption: super::super::super::Foundation::BOOL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRYPTUI_WIZ_EXPORT_CERTCONTEXT_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub type CRYPTUI_WIZ_EXPORT_FORMAT = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_EXPORT_FORMAT_DER: CRYPTUI_WIZ_EXPORT_FORMAT = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_EXPORT_FORMAT_PFX: CRYPTUI_WIZ_EXPORT_FORMAT = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_EXPORT_FORMAT_PKCS7: CRYPTUI_WIZ_EXPORT_FORMAT = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_EXPORT_FORMAT_BASE64: CRYPTUI_WIZ_EXPORT_FORMAT = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_EXPORT_FORMAT_CRL: CRYPTUI_WIZ_EXPORT_FORMAT = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_EXPORT_FORMAT_CTL: CRYPTUI_WIZ_EXPORT_FORMAT = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_EXPORT_FORMAT_SERIALIZED_CERT_STORE: u32 = 5u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRYPTUI_WIZ_EXPORT_INFO {
+ pub dwSize: u32,
+ pub pwszExportFileName: ::windows_sys::core::PCWSTR,
+ pub dwSubjectChoice: CRYPTUI_WIZ_EXPORT_SUBJECT,
+ pub Anonymous: CRYPTUI_WIZ_EXPORT_INFO_0,
+ pub cStores: u32,
+ pub rghStores: *mut super::HCERTSTORE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRYPTUI_WIZ_EXPORT_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRYPTUI_WIZ_EXPORT_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union CRYPTUI_WIZ_EXPORT_INFO_0 {
+ pub pCertContext: *const super::CERT_CONTEXT,
+ pub pCTLContext: *mut super::CTL_CONTEXT,
+ pub pCRLContext: *mut super::CRL_CONTEXT,
+ pub hCertStore: super::HCERTSTORE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRYPTUI_WIZ_EXPORT_INFO_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRYPTUI_WIZ_EXPORT_INFO_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub type CRYPTUI_WIZ_EXPORT_SUBJECT = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_EXPORT_CERT_CONTEXT: CRYPTUI_WIZ_EXPORT_SUBJECT = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_EXPORT_CTL_CONTEXT: CRYPTUI_WIZ_EXPORT_SUBJECT = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_EXPORT_CRL_CONTEXT: CRYPTUI_WIZ_EXPORT_SUBJECT = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_EXPORT_CERT_STORE: CRYPTUI_WIZ_EXPORT_SUBJECT = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_EXPORT_CERT_STORE_CERTIFICATES_ONLY: CRYPTUI_WIZ_EXPORT_SUBJECT = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub type CRYPTUI_WIZ_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_NO_UI: CRYPTUI_WIZ_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_IGNORE_NO_UI_FLAG_FOR_CSPS: CRYPTUI_WIZ_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_NO_UI_EXCEPT_CSP: CRYPTUI_WIZ_FLAGS = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_IMPORT_ALLOW_CERT: CRYPTUI_WIZ_FLAGS = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_IMPORT_ALLOW_CRL: CRYPTUI_WIZ_FLAGS = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_IMPORT_ALLOW_CTL: CRYPTUI_WIZ_FLAGS = 524288u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_IMPORT_NO_CHANGE_DEST_STORE: CRYPTUI_WIZ_FLAGS = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_IMPORT_TO_LOCALMACHINE: CRYPTUI_WIZ_FLAGS = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_IMPORT_TO_CURRENTUSER: CRYPTUI_WIZ_FLAGS = 2097152u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_IMPORT_REMOTE_DEST_STORE: CRYPTUI_WIZ_FLAGS = 4194304u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_EXPORT_PRIVATE_KEY: CRYPTUI_WIZ_FLAGS = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_EXPORT_NO_DELETE_PRIVATE_KEY: CRYPTUI_WIZ_FLAGS = 512u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRYPTUI_WIZ_IMPORT_SRC_INFO {
+ pub dwSize: u32,
+ pub dwSubjectChoice: CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION,
+ pub Anonymous: CRYPTUI_WIZ_IMPORT_SRC_INFO_0,
+ pub dwFlags: super::CRYPT_KEY_FLAGS,
+ pub pwszPassword: ::windows_sys::core::PCWSTR,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRYPTUI_WIZ_IMPORT_SRC_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRYPTUI_WIZ_IMPORT_SRC_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union CRYPTUI_WIZ_IMPORT_SRC_INFO_0 {
+ pub pwszFileName: ::windows_sys::core::PCWSTR,
+ pub pCertContext: *const super::CERT_CONTEXT,
+ pub pCTLContext: *mut super::CTL_CONTEXT,
+ pub pCRLContext: *mut super::CRL_CONTEXT,
+ pub hCertStore: super::HCERTSTORE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRYPTUI_WIZ_IMPORT_SRC_INFO_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRYPTUI_WIZ_IMPORT_SRC_INFO_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub type CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_IMPORT_SUBJECT_FILE: CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_IMPORT_SUBJECT_CERT_CONTEXT: CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_IMPORT_SUBJECT_CTL_CONTEXT: CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_IMPORT_SUBJECT_CRL_CONTEXT: CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYPTUI_WIZ_IMPORT_SUBJECT_CERT_STORE: CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CRYTPDLG_FLAGS_MASK: u32 = 4278190080u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CSS_SELECTCERT_MASK: u32 = 16777215u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CTL_MODIFY_REQUEST {
+ pub pccert: *const super::CERT_CONTEXT,
+ pub dwOperation: CTL_MODIFY_REQUEST_OPERATION,
+ pub dwError: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CTL_MODIFY_REQUEST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CTL_MODIFY_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub type CTL_MODIFY_REQUEST_OPERATION = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CTL_MODIFY_REQUEST_ADD_TRUSTED: CTL_MODIFY_REQUEST_OPERATION = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CTL_MODIFY_REQUEST_ADD_NOT_TRUSTED: CTL_MODIFY_REQUEST_OPERATION = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const CTL_MODIFY_REQUEST_REMOVE: CTL_MODIFY_REQUEST_OPERATION = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFNCFILTERPROC = ::core::option::Option<unsafe extern "system" fn(pcertcontext: *const super::CERT_CONTEXT, pfinitialselectedcert: *mut super::super::super::Foundation::BOOL, pvcallbackdata: *mut ::core::ffi::c_void) -> super::super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFNCMFILTERPROC = ::core::option::Option<unsafe extern "system" fn(pcertcontext: *const super::CERT_CONTEXT, param1: super::super::super::Foundation::LPARAM, param2: u32, param3: u32) -> super::super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFNCMHOOKPROC = ::core::option::Option<unsafe extern "system" fn(hwnddialog: super::super::super::Foundation::HWND, message: u32, wparam: super::super::super::Foundation::WPARAM, lparam: super::super::super::Foundation::LPARAM) -> u32>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFNTRUSTHELPER = ::core::option::Option<unsafe extern "system" fn(pcertcontext: *const super::CERT_CONTEXT, lcustdata: super::super::super::Foundation::LPARAM, fleafcertificate: super::super::super::Foundation::BOOL, pbtrustblob: *mut u8) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const POLICY_IGNORE_NON_CRITICAL_BC: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const SELCERT_ALGORITHM: u32 = 105u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const SELCERT_CERTLIST: u32 = 102u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const SELCERT_FINEPRINT: u32 = 101u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const SELCERT_ISSUED_TO: u32 = 103u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const SELCERT_PROPERTIES: u32 = 100u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const SELCERT_SERIAL_NUM: u32 = 106u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const SELCERT_THUMBPRINT: u32 = 107u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const SELCERT_VALIDITY: u32 = 104u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography_UI\"`*"]
+pub const szCERT_CERTIFICATE_ACTION_VERIFY: &str = "{7801ebd0-cf4b-11d0-851f-0060979387ea}";
diff --git a/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/mod.rs
new file mode 100644
index 000000000..09849b45c
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/mod.rs
@@ -0,0 +1,14253 @@
+#[cfg(feature = "Win32_Security_Cryptography_Catalog")]
+pub mod Catalog;
+#[cfg(feature = "Win32_Security_Cryptography_Certificates")]
+pub mod Certificates;
+#[cfg(feature = "Win32_Security_Cryptography_Sip")]
+pub mod Sip;
+#[cfg(feature = "Win32_Security_Cryptography_UI")]
+pub mod UI;
+#[link(name = "windows")]
+extern "system" {
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptAddContextFunction(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, dwinterface: BCRYPT_INTERFACE, pszfunction: ::windows_sys::core::PCWSTR, dwposition: u32) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptCloseAlgorithmProvider(halgorithm: BCRYPT_ALG_HANDLE, dwflags: u32) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptConfigureContext(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, pconfig: *const CRYPT_CONTEXT_CONFIG) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptConfigureContextFunction(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, dwinterface: BCRYPT_INTERFACE, pszfunction: ::windows_sys::core::PCWSTR, pconfig: *const CRYPT_CONTEXT_FUNCTION_CONFIG) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptCreateContext(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, pconfig: *const CRYPT_CONTEXT_CONFIG) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptCreateHash(halgorithm: BCRYPT_ALG_HANDLE, phhash: *mut *mut ::core::ffi::c_void, pbhashobject: *mut u8, cbhashobject: u32, pbsecret: *const u8, cbsecret: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptCreateMultiHash(halgorithm: BCRYPT_ALG_HANDLE, phhash: *mut *mut ::core::ffi::c_void, nhashes: u32, pbhashobject: *mut u8, cbhashobject: u32, pbsecret: *const u8, cbsecret: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptDecrypt(hkey: BCRYPT_KEY_HANDLE, pbinput: *const u8, cbinput: u32, ppaddinginfo: *const ::core::ffi::c_void, pbiv: *mut u8, cbiv: u32, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32, dwflags: NCRYPT_FLAGS) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptDeleteContext(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptDeriveKey(hsharedsecret: *const ::core::ffi::c_void, pwszkdf: ::windows_sys::core::PCWSTR, pparameterlist: *const BCryptBufferDesc, pbderivedkey: *mut u8, cbderivedkey: u32, pcbresult: *mut u32, dwflags: u32) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptDeriveKeyCapi(hhash: *const ::core::ffi::c_void, htargetalg: BCRYPT_ALG_HANDLE, pbderivedkey: *mut u8, cbderivedkey: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptDeriveKeyPBKDF2(hprf: BCRYPT_ALG_HANDLE, pbpassword: *const u8, cbpassword: u32, pbsalt: *const u8, cbsalt: u32, citerations: u64, pbderivedkey: *mut u8, cbderivedkey: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptDestroyHash(hhash: *mut ::core::ffi::c_void) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptDestroyKey(hkey: BCRYPT_KEY_HANDLE) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptDestroySecret(hsecret: *mut ::core::ffi::c_void) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptDuplicateHash(hhash: *const ::core::ffi::c_void, phnewhash: *mut *mut ::core::ffi::c_void, pbhashobject: *mut u8, cbhashobject: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptDuplicateKey(hkey: BCRYPT_KEY_HANDLE, phnewkey: *mut BCRYPT_KEY_HANDLE, pbkeyobject: *mut u8, cbkeyobject: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptEncrypt(hkey: BCRYPT_KEY_HANDLE, pbinput: *const u8, cbinput: u32, ppaddinginfo: *const ::core::ffi::c_void, pbiv: *mut u8, cbiv: u32, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32, dwflags: NCRYPT_FLAGS) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptEnumAlgorithms(dwalgoperations: BCRYPT_OPERATION, palgcount: *mut u32, ppalglist: *mut *mut BCRYPT_ALGORITHM_IDENTIFIER, dwflags: u32) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptEnumContextFunctionProviders(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, dwinterface: BCRYPT_INTERFACE, pszfunction: ::windows_sys::core::PCWSTR, pcbbuffer: *mut u32, ppbuffer: *mut *mut CRYPT_CONTEXT_FUNCTION_PROVIDERS) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptEnumContextFunctions(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, dwinterface: BCRYPT_INTERFACE, pcbbuffer: *mut u32, ppbuffer: *mut *mut CRYPT_CONTEXT_FUNCTIONS) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptEnumContexts(dwtable: BCRYPT_TABLE, pcbbuffer: *mut u32, ppbuffer: *mut *mut CRYPT_CONTEXTS) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptEnumProviders(pszalgid: ::windows_sys::core::PCWSTR, pimplcount: *mut u32, ppimpllist: *mut *mut BCRYPT_PROVIDER_NAME, dwflags: u32) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptEnumRegisteredProviders(pcbbuffer: *mut u32, ppbuffer: *mut *mut CRYPT_PROVIDERS) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptExportKey(hkey: BCRYPT_KEY_HANDLE, hexportkey: BCRYPT_KEY_HANDLE, pszblobtype: ::windows_sys::core::PCWSTR, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32, dwflags: u32) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptFinalizeKeyPair(hkey: BCRYPT_KEY_HANDLE, dwflags: u32) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptFinishHash(hhash: *mut ::core::ffi::c_void, pboutput: *mut u8, cboutput: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn BCryptFreeBuffer(pvbuffer: *const ::core::ffi::c_void);
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptGenRandom(halgorithm: BCRYPT_ALG_HANDLE, pbbuffer: *mut u8, cbbuffer: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptGenerateKeyPair(halgorithm: BCRYPT_ALG_HANDLE, phkey: *mut BCRYPT_KEY_HANDLE, dwlength: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptGenerateSymmetricKey(halgorithm: BCRYPT_ALG_HANDLE, phkey: *mut BCRYPT_KEY_HANDLE, pbkeyobject: *mut u8, cbkeyobject: u32, pbsecret: *const u8, cbsecret: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptGetFipsAlgorithmMode(pfenabled: *mut u8) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptGetProperty(hobject: *const ::core::ffi::c_void, pszproperty: ::windows_sys::core::PCWSTR, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32, dwflags: u32) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptHash(halgorithm: BCRYPT_ALG_HANDLE, pbsecret: *const u8, cbsecret: u32, pbinput: *const u8, cbinput: u32, pboutput: *mut u8, cboutput: u32) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptHashData(hhash: *mut ::core::ffi::c_void, pbinput: *const u8, cbinput: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptImportKey(halgorithm: BCRYPT_ALG_HANDLE, himportkey: BCRYPT_KEY_HANDLE, pszblobtype: ::windows_sys::core::PCWSTR, phkey: *mut BCRYPT_KEY_HANDLE, pbkeyobject: *mut u8, cbkeyobject: u32, pbinput: *const u8, cbinput: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptImportKeyPair(halgorithm: BCRYPT_ALG_HANDLE, himportkey: BCRYPT_KEY_HANDLE, pszblobtype: ::windows_sys::core::PCWSTR, phkey: *mut BCRYPT_KEY_HANDLE, pbinput: *const u8, cbinput: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptKeyDerivation(hkey: BCRYPT_KEY_HANDLE, pparameterlist: *const BCryptBufferDesc, pbderivedkey: *mut u8, cbderivedkey: u32, pcbresult: *mut u32, dwflags: u32) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptOpenAlgorithmProvider(phalgorithm: *mut BCRYPT_ALG_HANDLE, pszalgid: ::windows_sys::core::PCWSTR, pszimplementation: ::windows_sys::core::PCWSTR, dwflags: BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptProcessMultiOperations(hobject: *mut ::core::ffi::c_void, operationtype: BCRYPT_MULTI_OPERATION_TYPE, poperations: *const ::core::ffi::c_void, cboperations: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptQueryContextConfiguration(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, pcbbuffer: *mut u32, ppbuffer: *mut *mut CRYPT_CONTEXT_CONFIG) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptQueryContextFunctionConfiguration(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, dwinterface: BCRYPT_INTERFACE, pszfunction: ::windows_sys::core::PCWSTR, pcbbuffer: *mut u32, ppbuffer: *mut *mut CRYPT_CONTEXT_FUNCTION_CONFIG) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptQueryContextFunctionProperty(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, dwinterface: BCRYPT_INTERFACE, pszfunction: ::windows_sys::core::PCWSTR, pszproperty: ::windows_sys::core::PCWSTR, pcbvalue: *mut u32, ppbvalue: *mut *mut u8) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptQueryProviderRegistration(pszprovider: ::windows_sys::core::PCWSTR, dwmode: BCRYPT_QUERY_PROVIDER_MODE, dwinterface: BCRYPT_INTERFACE, pcbbuffer: *mut u32, ppbuffer: *mut *mut CRYPT_PROVIDER_REG) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptRegisterConfigChangeNotify(phevent: *mut super::super::Foundation::HANDLE) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptRemoveContextFunction(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, dwinterface: BCRYPT_INTERFACE, pszfunction: ::windows_sys::core::PCWSTR) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptResolveProviders(pszcontext: ::windows_sys::core::PCWSTR, dwinterface: u32, pszfunction: ::windows_sys::core::PCWSTR, pszprovider: ::windows_sys::core::PCWSTR, dwmode: BCRYPT_QUERY_PROVIDER_MODE, dwflags: BCRYPT_RESOLVE_PROVIDERS_FLAGS, pcbbuffer: *mut u32, ppbuffer: *mut *mut CRYPT_PROVIDER_REFS) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptSecretAgreement(hprivkey: BCRYPT_KEY_HANDLE, hpubkey: BCRYPT_KEY_HANDLE, phagreedsecret: *mut *mut ::core::ffi::c_void, dwflags: u32) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptSetContextFunctionProperty(dwtable: BCRYPT_TABLE, pszcontext: ::windows_sys::core::PCWSTR, dwinterface: BCRYPT_INTERFACE, pszfunction: ::windows_sys::core::PCWSTR, pszproperty: ::windows_sys::core::PCWSTR, cbvalue: u32, pbvalue: *const u8) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptSetProperty(hobject: *mut ::core::ffi::c_void, pszproperty: ::windows_sys::core::PCWSTR, pbinput: *const u8, cbinput: u32, dwflags: u32) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptSignHash(hkey: BCRYPT_KEY_HANDLE, ppaddinginfo: *const ::core::ffi::c_void, pbinput: *const u8, cbinput: u32, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32, dwflags: NCRYPT_FLAGS) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptUnregisterConfigChangeNotify(hevent: super::super::Foundation::HANDLE) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn BCryptVerifySignature(hkey: BCRYPT_KEY_HANDLE, ppaddinginfo: *const ::core::ffi::c_void, pbhash: *const u8, cbhash: u32, pbsignature: *const u8, cbsignature: u32, dwflags: NCRYPT_FLAGS) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertAddCRLContextToStore(hcertstore: HCERTSTORE, pcrlcontext: *const CRL_CONTEXT, dwadddisposition: u32, ppstorecontext: *mut *mut CRL_CONTEXT) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertAddCRLLinkToStore(hcertstore: HCERTSTORE, pcrlcontext: *const CRL_CONTEXT, dwadddisposition: u32, ppstorecontext: *mut *mut CRL_CONTEXT) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertAddCTLContextToStore(hcertstore: HCERTSTORE, pctlcontext: *const CTL_CONTEXT, dwadddisposition: u32, ppstorecontext: *mut *mut CTL_CONTEXT) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertAddCTLLinkToStore(hcertstore: HCERTSTORE, pctlcontext: *const CTL_CONTEXT, dwadddisposition: u32, ppstorecontext: *mut *mut CTL_CONTEXT) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertAddCertificateContextToStore(hcertstore: HCERTSTORE, pcertcontext: *const CERT_CONTEXT, dwadddisposition: u32, ppstorecontext: *mut *mut CERT_CONTEXT) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertAddCertificateLinkToStore(hcertstore: HCERTSTORE, pcertcontext: *const CERT_CONTEXT, dwadddisposition: u32, ppstorecontext: *mut *mut CERT_CONTEXT) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertAddEncodedCRLToStore(hcertstore: HCERTSTORE, dwcertencodingtype: u32, pbcrlencoded: *const u8, cbcrlencoded: u32, dwadddisposition: u32, ppcrlcontext: *mut *mut CRL_CONTEXT) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertAddEncodedCTLToStore(hcertstore: HCERTSTORE, dwmsgandcertencodingtype: u32, pbctlencoded: *const u8, cbctlencoded: u32, dwadddisposition: u32, ppctlcontext: *mut *mut CTL_CONTEXT) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertAddEncodedCertificateToStore(hcertstore: HCERTSTORE, dwcertencodingtype: u32, pbcertencoded: *const u8, cbcertencoded: u32, dwadddisposition: u32, ppcertcontext: *mut *mut CERT_CONTEXT) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertAddEncodedCertificateToSystemStoreA(szcertstorename: ::windows_sys::core::PCSTR, pbcertencoded: *const u8, cbcertencoded: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertAddEncodedCertificateToSystemStoreW(szcertstorename: ::windows_sys::core::PCWSTR, pbcertencoded: *const u8, cbcertencoded: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertAddEnhancedKeyUsageIdentifier(pcertcontext: *const CERT_CONTEXT, pszusageidentifier: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CertAddRefServerOcspResponse(hserverocspresponse: *const ::core::ffi::c_void);
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CertAddRefServerOcspResponseContext(pserverocspresponsecontext: *const CERT_SERVER_OCSP_RESPONSE_CONTEXT);
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertAddSerializedElementToStore(hcertstore: HCERTSTORE, pbelement: *const u8, cbelement: u32, dwadddisposition: u32, dwflags: u32, dwcontexttypeflags: u32, pdwcontexttype: *mut u32, ppvcontext: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertAddStoreToCollection(hcollectionstore: HCERTSTORE, hsiblingstore: HCERTSTORE, dwupdateflags: u32, dwpriority: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CertAlgIdToOID(dwalgid: u32) -> ::windows_sys::core::PSTR;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CertCloseServerOcspResponse(hserverocspresponse: *const ::core::ffi::c_void, dwflags: u32);
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertCloseStore(hcertstore: HCERTSTORE, dwflags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertCompareCertificate(dwcertencodingtype: u32, pcertid1: *const CERT_INFO, pcertid2: *const CERT_INFO) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertCompareCertificateName(dwcertencodingtype: u32, pcertname1: *const CRYPTOAPI_BLOB, pcertname2: *const CRYPTOAPI_BLOB) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertCompareIntegerBlob(pint1: *const CRYPTOAPI_BLOB, pint2: *const CRYPTOAPI_BLOB) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertComparePublicKeyInfo(dwcertencodingtype: u32, ppublickey1: *const CERT_PUBLIC_KEY_INFO, ppublickey2: *const CERT_PUBLIC_KEY_INFO) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertControlStore(hcertstore: HCERTSTORE, dwflags: CERT_CONTROL_STORE_FLAGS, dwctrltype: u32, pvctrlpara: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertCreateCRLContext(dwcertencodingtype: u32, pbcrlencoded: *const u8, cbcrlencoded: u32) -> *mut CRL_CONTEXT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertCreateCTLContext(dwmsgandcertencodingtype: u32, pbctlencoded: *const u8, cbctlencoded: u32) -> *mut CTL_CONTEXT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertCreateCTLEntryFromCertificateContextProperties(pcertcontext: *const CERT_CONTEXT, coptattr: u32, rgoptattr: *const CRYPT_ATTRIBUTE, dwflags: u32, pvreserved: *mut ::core::ffi::c_void, pctlentry: *mut CTL_ENTRY, pcbctlentry: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertCreateCertificateChainEngine(pconfig: *const CERT_CHAIN_ENGINE_CONFIG, phchainengine: *mut HCERTCHAINENGINE) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertCreateCertificateContext(dwcertencodingtype: u32, pbcertencoded: *const u8, cbcertencoded: u32) -> *mut CERT_CONTEXT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertCreateContext(dwcontexttype: u32, dwencodingtype: u32, pbencoded: *const u8, cbencoded: u32, dwflags: u32, pcreatepara: *const CERT_CREATE_CONTEXT_PARA) -> *mut ::core::ffi::c_void;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertCreateSelfSignCertificate(hcryptprovorncryptkey: HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, psubjectissuerblob: *const CRYPTOAPI_BLOB, dwflags: CERT_CREATE_SELFSIGN_FLAGS, pkeyprovinfo: *const CRYPT_KEY_PROV_INFO, psignaturealgorithm: *const CRYPT_ALGORITHM_IDENTIFIER, pstarttime: *const super::super::Foundation::SYSTEMTIME, pendtime: *const super::super::Foundation::SYSTEMTIME, pextensions: *const CERT_EXTENSIONS) -> *mut CERT_CONTEXT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertDeleteCRLFromStore(pcrlcontext: *const CRL_CONTEXT) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertDeleteCTLFromStore(pctlcontext: *const CTL_CONTEXT) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertDeleteCertificateFromStore(pcertcontext: *const CERT_CONTEXT) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertDuplicateCRLContext(pcrlcontext: *const CRL_CONTEXT) -> *mut CRL_CONTEXT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertDuplicateCTLContext(pctlcontext: *const CTL_CONTEXT) -> *mut CTL_CONTEXT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertDuplicateCertificateChain(pchaincontext: *const CERT_CHAIN_CONTEXT) -> *mut CERT_CHAIN_CONTEXT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertDuplicateCertificateContext(pcertcontext: *const CERT_CONTEXT) -> *mut CERT_CONTEXT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CertDuplicateStore(hcertstore: HCERTSTORE) -> HCERTSTORE;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertEnumCRLContextProperties(pcrlcontext: *const CRL_CONTEXT, dwpropid: u32) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertEnumCRLsInStore(hcertstore: HCERTSTORE, pprevcrlcontext: *const CRL_CONTEXT) -> *mut CRL_CONTEXT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertEnumCTLContextProperties(pctlcontext: *const CTL_CONTEXT, dwpropid: u32) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertEnumCTLsInStore(hcertstore: HCERTSTORE, pprevctlcontext: *const CTL_CONTEXT) -> *mut CTL_CONTEXT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertEnumCertificateContextProperties(pcertcontext: *const CERT_CONTEXT, dwpropid: u32) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertEnumCertificatesInStore(hcertstore: HCERTSTORE, pprevcertcontext: *const CERT_CONTEXT) -> *mut CERT_CONTEXT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertEnumPhysicalStore(pvsystemstore: *const ::core::ffi::c_void, dwflags: u32, pvarg: *mut ::core::ffi::c_void, pfnenum: PFN_CERT_ENUM_PHYSICAL_STORE) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertEnumSubjectInSortedCTL(pctlcontext: *const CTL_CONTEXT, ppvnextsubject: *mut *mut ::core::ffi::c_void, psubjectidentifier: *mut CRYPTOAPI_BLOB, pencodedattributes: *mut CRYPTOAPI_BLOB) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertEnumSystemStore(dwflags: u32, pvsystemstorelocationpara: *const ::core::ffi::c_void, pvarg: *mut ::core::ffi::c_void, pfnenum: PFN_CERT_ENUM_SYSTEM_STORE) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertEnumSystemStoreLocation(dwflags: u32, pvarg: *mut ::core::ffi::c_void, pfnenum: PFN_CERT_ENUM_SYSTEM_STORE_LOCATION) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CertFindAttribute(pszobjid: ::windows_sys::core::PCSTR, cattr: u32, rgattr: *const CRYPT_ATTRIBUTE) -> *mut CRYPT_ATTRIBUTE;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertFindCRLInStore(hcertstore: HCERTSTORE, dwcertencodingtype: u32, dwfindflags: u32, dwfindtype: u32, pvfindpara: *const ::core::ffi::c_void, pprevcrlcontext: *const CRL_CONTEXT) -> *mut CRL_CONTEXT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertFindCTLInStore(hcertstore: HCERTSTORE, dwmsgandcertencodingtype: u32, dwfindflags: u32, dwfindtype: CERT_FIND_TYPE, pvfindpara: *const ::core::ffi::c_void, pprevctlcontext: *const CTL_CONTEXT) -> *mut CTL_CONTEXT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertFindCertificateInCRL(pcert: *const CERT_CONTEXT, pcrlcontext: *const CRL_CONTEXT, dwflags: u32, pvreserved: *mut ::core::ffi::c_void, ppcrlentry: *mut *mut CRL_ENTRY) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertFindCertificateInStore(hcertstore: HCERTSTORE, dwcertencodingtype: u32, dwfindflags: u32, dwfindtype: CERT_FIND_FLAGS, pvfindpara: *const ::core::ffi::c_void, pprevcertcontext: *const CERT_CONTEXT) -> *mut CERT_CONTEXT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertFindChainInStore(hcertstore: HCERTSTORE, dwcertencodingtype: u32, dwfindflags: CERT_FIND_CHAIN_IN_STORE_FLAGS, dwfindtype: u32, pvfindpara: *const ::core::ffi::c_void, pprevchaincontext: *const CERT_CHAIN_CONTEXT) -> *mut CERT_CHAIN_CONTEXT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertFindExtension(pszobjid: ::windows_sys::core::PCSTR, cextensions: u32, rgextensions: *const CERT_EXTENSION) -> *mut CERT_EXTENSION;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CertFindRDNAttr(pszobjid: ::windows_sys::core::PCSTR, pname: *const CERT_NAME_INFO) -> *mut CERT_RDN_ATTR;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertFindSubjectInCTL(dwencodingtype: u32, dwsubjecttype: u32, pvsubject: *const ::core::ffi::c_void, pctlcontext: *const CTL_CONTEXT, dwflags: u32) -> *mut CTL_ENTRY;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertFindSubjectInSortedCTL(psubjectidentifier: *const CRYPTOAPI_BLOB, pctlcontext: *const CTL_CONTEXT, dwflags: u32, pvreserved: *mut ::core::ffi::c_void, pencodedattributes: *mut CRYPTOAPI_BLOB) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertFreeCRLContext(pcrlcontext: *const CRL_CONTEXT) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertFreeCTLContext(pctlcontext: *const CTL_CONTEXT) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertFreeCertificateChain(pchaincontext: *const CERT_CHAIN_CONTEXT);
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CertFreeCertificateChainEngine(hchainengine: HCERTCHAINENGINE);
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertFreeCertificateChainList(prgpselection: *const *const CERT_CHAIN_CONTEXT);
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertFreeCertificateContext(pcertcontext: *const CERT_CONTEXT) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CertFreeServerOcspResponseContext(pserverocspresponsecontext: *const CERT_SERVER_OCSP_RESPONSE_CONTEXT);
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertGetCRLContextProperty(pcrlcontext: *const CRL_CONTEXT, dwpropid: u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertGetCRLFromStore(hcertstore: HCERTSTORE, pissuercontext: *const CERT_CONTEXT, pprevcrlcontext: *const CRL_CONTEXT, pdwflags: *mut u32) -> *mut CRL_CONTEXT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertGetCTLContextProperty(pctlcontext: *const CTL_CONTEXT, dwpropid: u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertGetCertificateChain(hchainengine: HCERTCHAINENGINE, pcertcontext: *const CERT_CONTEXT, ptime: *const super::super::Foundation::FILETIME, hadditionalstore: HCERTSTORE, pchainpara: *const CERT_CHAIN_PARA, dwflags: u32, pvreserved: *mut ::core::ffi::c_void, ppchaincontext: *mut *mut CERT_CHAIN_CONTEXT) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertGetCertificateContextProperty(pcertcontext: *const CERT_CONTEXT, dwpropid: u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertGetEnhancedKeyUsage(pcertcontext: *const CERT_CONTEXT, dwflags: u32, pusage: *mut CTL_USAGE, pcbusage: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertGetIntendedKeyUsage(dwcertencodingtype: u32, pcertinfo: *const CERT_INFO, pbkeyusage: *mut u8, cbkeyusage: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertGetIssuerCertificateFromStore(hcertstore: HCERTSTORE, psubjectcontext: *const CERT_CONTEXT, pprevissuercontext: *const CERT_CONTEXT, pdwflags: *mut u32) -> *mut CERT_CONTEXT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertGetNameStringA(pcertcontext: *const CERT_CONTEXT, dwtype: u32, dwflags: u32, pvtypepara: *const ::core::ffi::c_void, psznamestring: ::windows_sys::core::PSTR, cchnamestring: u32) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertGetNameStringW(pcertcontext: *const CERT_CONTEXT, dwtype: u32, dwflags: u32, pvtypepara: *const ::core::ffi::c_void, psznamestring: ::windows_sys::core::PWSTR, cchnamestring: u32) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CertGetPublicKeyLength(dwcertencodingtype: u32, ppublickey: *const CERT_PUBLIC_KEY_INFO) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CertGetServerOcspResponseContext(hserverocspresponse: *const ::core::ffi::c_void, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> *mut CERT_SERVER_OCSP_RESPONSE_CONTEXT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertGetStoreProperty(hcertstore: HCERTSTORE, dwpropid: u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertGetSubjectCertificateFromStore(hcertstore: HCERTSTORE, dwcertencodingtype: u32, pcertid: *const CERT_INFO) -> *mut CERT_CONTEXT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertGetValidUsages(ccerts: u32, rghcerts: *const *const CERT_CONTEXT, cnumoids: *mut i32, rghoids: *mut ::windows_sys::core::PSTR, pcboids: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertIsRDNAttrsInCertificateName(dwcertencodingtype: u32, dwflags: u32, pcertname: *const CRYPTOAPI_BLOB, prdn: *const CERT_RDN) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertIsStrongHashToSign(pstrongsignpara: *const CERT_STRONG_SIGN_PARA, pwszcnghashalgid: ::windows_sys::core::PCWSTR, psigningcert: *const CERT_CONTEXT) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertIsValidCRLForCertificate(pcert: *const CERT_CONTEXT, pcrl: *const CRL_CONTEXT, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertIsWeakHash(dwhashusetype: u32, pwszcnghashalgid: ::windows_sys::core::PCWSTR, dwchainflags: u32, psignerchaincontext: *const CERT_CHAIN_CONTEXT, ptimestamp: *const super::super::Foundation::FILETIME, pwszfilename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CertNameToStrA(dwcertencodingtype: u32, pname: *const CRYPTOAPI_BLOB, dwstrtype: CERT_STRING_TYPE, psz: ::windows_sys::core::PSTR, csz: u32) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CertNameToStrW(dwcertencodingtype: u32, pname: *const CRYPTOAPI_BLOB, dwstrtype: CERT_STRING_TYPE, psz: ::windows_sys::core::PWSTR, csz: u32) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CertOIDToAlgId(pszobjid: ::windows_sys::core::PCSTR) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertOpenServerOcspResponse(pchaincontext: *const CERT_CHAIN_CONTEXT, dwflags: u32, popenpara: *const CERT_SERVER_OCSP_RESPONSE_OPEN_PARA) -> *mut ::core::ffi::c_void;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CertOpenStore(lpszstoreprovider: ::windows_sys::core::PCSTR, dwencodingtype: CERT_QUERY_ENCODING_TYPE, hcryptprov: HCRYPTPROV_LEGACY, dwflags: CERT_OPEN_STORE_FLAGS, pvpara: *const ::core::ffi::c_void) -> HCERTSTORE;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CertOpenSystemStoreA(hprov: HCRYPTPROV_LEGACY, szsubsystemprotocol: ::windows_sys::core::PCSTR) -> HCERTSTORE;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CertOpenSystemStoreW(hprov: HCRYPTPROV_LEGACY, szsubsystemprotocol: ::windows_sys::core::PCWSTR) -> HCERTSTORE;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CertRDNValueToStrA(dwvaluetype: u32, pvalue: *const CRYPTOAPI_BLOB, psz: ::windows_sys::core::PSTR, csz: u32) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CertRDNValueToStrW(dwvaluetype: u32, pvalue: *const CRYPTOAPI_BLOB, psz: ::windows_sys::core::PWSTR, csz: u32) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertRegisterPhysicalStore(pvsystemstore: *const ::core::ffi::c_void, dwflags: u32, pwszstorename: ::windows_sys::core::PCWSTR, pstoreinfo: *const CERT_PHYSICAL_STORE_INFO, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertRegisterSystemStore(pvsystemstore: *const ::core::ffi::c_void, dwflags: u32, pstoreinfo: *const CERT_SYSTEM_STORE_INFO, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertRemoveEnhancedKeyUsageIdentifier(pcertcontext: *const CERT_CONTEXT, pszusageidentifier: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CertRemoveStoreFromCollection(hcollectionstore: HCERTSTORE, hsiblingstore: HCERTSTORE);
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertResyncCertificateChainEngine(hchainengine: HCERTCHAINENGINE) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertRetrieveLogoOrBiometricInfo(pcertcontext: *const CERT_CONTEXT, lpszlogoorbiometrictype: ::windows_sys::core::PCSTR, dwretrievalflags: u32, dwtimeout: u32, dwflags: u32, pvreserved: *mut ::core::ffi::c_void, ppbdata: *mut *mut u8, pcbdata: *mut u32, ppwszmimetype: *mut ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertSaveStore(hcertstore: HCERTSTORE, dwencodingtype: CERT_QUERY_ENCODING_TYPE, dwsaveas: CERT_STORE_SAVE_AS, dwsaveto: CERT_STORE_SAVE_TO, pvsavetopara: *mut ::core::ffi::c_void, dwflags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertSelectCertificateChains(pselectioncontext: *const ::windows_sys::core::GUID, dwflags: u32, pchainparameters: *const CERT_SELECT_CHAIN_PARA, ccriteria: u32, rgpcriteria: *const CERT_SELECT_CRITERIA, hstore: HCERTSTORE, pcselection: *mut u32, pprgpselection: *mut *mut *mut CERT_CHAIN_CONTEXT) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertSerializeCRLStoreElement(pcrlcontext: *const CRL_CONTEXT, dwflags: u32, pbelement: *mut u8, pcbelement: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertSerializeCTLStoreElement(pctlcontext: *const CTL_CONTEXT, dwflags: u32, pbelement: *mut u8, pcbelement: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertSerializeCertificateStoreElement(pcertcontext: *const CERT_CONTEXT, dwflags: u32, pbelement: *mut u8, pcbelement: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertSetCRLContextProperty(pcrlcontext: *const CRL_CONTEXT, dwpropid: u32, dwflags: u32, pvdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertSetCTLContextProperty(pctlcontext: *const CTL_CONTEXT, dwpropid: u32, dwflags: u32, pvdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertSetCertificateContextPropertiesFromCTLEntry(pcertcontext: *const CERT_CONTEXT, pctlentry: *const CTL_ENTRY, dwflags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertSetCertificateContextProperty(pcertcontext: *const CERT_CONTEXT, dwpropid: u32, dwflags: u32, pvdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertSetEnhancedKeyUsage(pcertcontext: *const CERT_CONTEXT, pusage: *const CTL_USAGE) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertSetStoreProperty(hcertstore: HCERTSTORE, dwpropid: u32, dwflags: u32, pvdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertStrToNameA(dwcertencodingtype: u32, pszx500: ::windows_sys::core::PCSTR, dwstrtype: CERT_STRING_TYPE, pvreserved: *mut ::core::ffi::c_void, pbencoded: *mut u8, pcbencoded: *mut u32, ppszerror: *mut ::windows_sys::core::PSTR) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertStrToNameW(dwcertencodingtype: u32, pszx500: ::windows_sys::core::PCWSTR, dwstrtype: CERT_STRING_TYPE, pvreserved: *mut ::core::ffi::c_void, pbencoded: *mut u8, pcbencoded: *mut u32, ppszerror: *mut ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertUnregisterPhysicalStore(pvsystemstore: *const ::core::ffi::c_void, dwflags: u32, pwszstorename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertUnregisterSystemStore(pvsystemstore: *const ::core::ffi::c_void, dwflags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertVerifyCRLRevocation(dwcertencodingtype: u32, pcertid: *const CERT_INFO, ccrlinfo: u32, rgpcrlinfo: *const *const CRL_INFO) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertVerifyCRLTimeValidity(ptimetoverify: *const super::super::Foundation::FILETIME, pcrlinfo: *const CRL_INFO) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertVerifyCTLUsage(dwencodingtype: u32, dwsubjecttype: u32, pvsubject: *const ::core::ffi::c_void, psubjectusage: *const CTL_USAGE, dwflags: u32, pverifyusagepara: *const CTL_VERIFY_USAGE_PARA, pverifyusagestatus: *mut CTL_VERIFY_USAGE_STATUS) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertVerifyCertificateChainPolicy(pszpolicyoid: ::windows_sys::core::PCSTR, pchaincontext: *const CERT_CHAIN_CONTEXT, ppolicypara: *const CERT_CHAIN_POLICY_PARA, ppolicystatus: *mut CERT_CHAIN_POLICY_STATUS) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertVerifyRevocation(dwencodingtype: u32, dwrevtype: u32, ccontext: u32, rgpvcontext: *const *const ::core::ffi::c_void, dwflags: u32, prevpara: *const CERT_REVOCATION_PARA, prevstatus: *mut CERT_REVOCATION_STATUS) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertVerifySubjectCertificateContext(psubject: *const CERT_CONTEXT, pissuer: *const CERT_CONTEXT, pdwflags: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertVerifyTimeValidity(ptimetoverify: *const super::super::Foundation::FILETIME, pcertinfo: *const CERT_INFO) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CertVerifyValidityNesting(psubjectinfo: *const CERT_INFO, pissuerinfo: *const CERT_INFO) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CloseCryptoHandle(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptAcquireCertificatePrivateKey(pcert: *const CERT_CONTEXT, dwflags: CRYPT_ACQUIRE_FLAGS, pvparameters: *const ::core::ffi::c_void, phcryptprovorncryptkey: *mut HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, pdwkeyspec: *mut CERT_KEY_SPEC, pfcallerfreeprovorncryptkey: *mut super::super::Foundation::BOOL) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptAcquireContextA(phprov: *mut usize, szcontainer: ::windows_sys::core::PCSTR, szprovider: ::windows_sys::core::PCSTR, dwprovtype: u32, dwflags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptAcquireContextW(phprov: *mut usize, szcontainer: ::windows_sys::core::PCWSTR, szprovider: ::windows_sys::core::PCWSTR, dwprovtype: u32, dwflags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptBinaryToStringA(pbbinary: *const u8, cbbinary: u32, dwflags: CRYPT_STRING, pszstring: ::windows_sys::core::PSTR, pcchstring: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptBinaryToStringW(pbbinary: *const u8, cbbinary: u32, dwflags: CRYPT_STRING, pszstring: ::windows_sys::core::PWSTR, pcchstring: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptCloseAsyncHandle(hasync: HCRYPTASYNC) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptContextAddRef(hprov: usize, pdwreserved: *mut u32, dwflags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptCreateAsyncHandle(dwflags: u32, phasync: *mut HCRYPTASYNC) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptCreateHash(hprov: usize, algid: u32, hkey: usize, dwflags: u32, phhash: *mut usize) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptCreateKeyIdentifierFromCSP(dwcertencodingtype: u32, pszpubkeyoid: ::windows_sys::core::PCSTR, ppubkeystruc: *const PUBLICKEYSTRUC, cbpubkeystruc: u32, dwflags: u32, pvreserved: *mut ::core::ffi::c_void, pbhash: *mut u8, pcbhash: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptDecodeMessage(dwmsgtypeflags: u32, pdecryptpara: *const CRYPT_DECRYPT_MESSAGE_PARA, pverifypara: *const CRYPT_VERIFY_MESSAGE_PARA, dwsignerindex: u32, pbencodedblob: *const u8, cbencodedblob: u32, dwprevinnercontenttype: u32, pdwmsgtype: *mut u32, pdwinnercontenttype: *mut u32, pbdecoded: *mut u8, pcbdecoded: *mut u32, ppxchgcert: *mut *mut CERT_CONTEXT, ppsignercert: *mut *mut CERT_CONTEXT) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptDecodeObject(dwcertencodingtype: u32, lpszstructtype: ::windows_sys::core::PCSTR, pbencoded: *const u8, cbencoded: u32, dwflags: u32, pvstructinfo: *mut ::core::ffi::c_void, pcbstructinfo: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptDecodeObjectEx(dwcertencodingtype: u32, lpszstructtype: ::windows_sys::core::PCSTR, pbencoded: *const u8, cbencoded: u32, dwflags: u32, pdecodepara: *const CRYPT_DECODE_PARA, pvstructinfo: *mut ::core::ffi::c_void, pcbstructinfo: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptDecrypt(hkey: usize, hhash: usize, r#final: super::super::Foundation::BOOL, dwflags: u32, pbdata: *mut u8, pdwdatalen: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptDecryptAndVerifyMessageSignature(pdecryptpara: *const CRYPT_DECRYPT_MESSAGE_PARA, pverifypara: *const CRYPT_VERIFY_MESSAGE_PARA, dwsignerindex: u32, pbencryptedblob: *const u8, cbencryptedblob: u32, pbdecrypted: *mut u8, pcbdecrypted: *mut u32, ppxchgcert: *mut *mut CERT_CONTEXT, ppsignercert: *mut *mut CERT_CONTEXT) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptDecryptMessage(pdecryptpara: *const CRYPT_DECRYPT_MESSAGE_PARA, pbencryptedblob: *const u8, cbencryptedblob: u32, pbdecrypted: *mut u8, pcbdecrypted: *mut u32, ppxchgcert: *mut *mut CERT_CONTEXT) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptDeriveKey(hprov: usize, algid: u32, hbasedata: usize, dwflags: u32, phkey: *mut usize) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptDestroyHash(hhash: usize) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptDestroyKey(hkey: usize) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptDuplicateHash(hhash: usize, pdwreserved: *mut u32, dwflags: u32, phhash: *mut usize) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptDuplicateKey(hkey: usize, pdwreserved: *mut u32, dwflags: u32, phkey: *mut usize) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptEncodeObject(dwcertencodingtype: u32, lpszstructtype: ::windows_sys::core::PCSTR, pvstructinfo: *const ::core::ffi::c_void, pbencoded: *mut u8, pcbencoded: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptEncodeObjectEx(dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, lpszstructtype: ::windows_sys::core::PCSTR, pvstructinfo: *const ::core::ffi::c_void, dwflags: CRYPT_ENCODE_OBJECT_FLAGS, pencodepara: *const CRYPT_ENCODE_PARA, pvencoded: *mut ::core::ffi::c_void, pcbencoded: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptEncrypt(hkey: usize, hhash: usize, r#final: super::super::Foundation::BOOL, dwflags: u32, pbdata: *mut u8, pdwdatalen: *mut u32, dwbuflen: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptEncryptMessage(pencryptpara: *const CRYPT_ENCRYPT_MESSAGE_PARA, crecipientcert: u32, rgprecipientcert: *const *const CERT_CONTEXT, pbtobeencrypted: *const u8, cbtobeencrypted: u32, pbencryptedblob: *mut u8, pcbencryptedblob: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptEnumKeyIdentifierProperties(pkeyidentifier: *const CRYPTOAPI_BLOB, dwpropid: u32, dwflags: u32, pwszcomputername: ::windows_sys::core::PCWSTR, pvreserved: *mut ::core::ffi::c_void, pvarg: *mut ::core::ffi::c_void, pfnenum: PFN_CRYPT_ENUM_KEYID_PROP) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptEnumOIDFunction(dwencodingtype: u32, pszfuncname: ::windows_sys::core::PCSTR, pszoid: ::windows_sys::core::PCSTR, dwflags: u32, pvarg: *mut ::core::ffi::c_void, pfnenumoidfunc: PFN_CRYPT_ENUM_OID_FUNC) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptEnumOIDInfo(dwgroupid: u32, dwflags: u32, pvarg: *mut ::core::ffi::c_void, pfnenumoidinfo: PFN_CRYPT_ENUM_OID_INFO) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptEnumProviderTypesA(dwindex: u32, pdwreserved: *mut u32, dwflags: u32, pdwprovtype: *mut u32, sztypename: ::windows_sys::core::PSTR, pcbtypename: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptEnumProviderTypesW(dwindex: u32, pdwreserved: *mut u32, dwflags: u32, pdwprovtype: *mut u32, sztypename: ::windows_sys::core::PWSTR, pcbtypename: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptEnumProvidersA(dwindex: u32, pdwreserved: *mut u32, dwflags: u32, pdwprovtype: *mut u32, szprovname: ::windows_sys::core::PSTR, pcbprovname: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptEnumProvidersW(dwindex: u32, pdwreserved: *mut u32, dwflags: u32, pdwprovtype: *mut u32, szprovname: ::windows_sys::core::PWSTR, pcbprovname: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptExportKey(hkey: usize, hexpkey: usize, dwblobtype: u32, dwflags: CRYPT_KEY_FLAGS, pbdata: *mut u8, pdwdatalen: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptExportPKCS8(hcryptprov: usize, dwkeyspec: u32, pszprivatekeyobjid: ::windows_sys::core::PCSTR, dwflags: u32, pvauxinfo: *const ::core::ffi::c_void, pbprivatekeyblob: *mut u8, pcbprivatekeyblob: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptExportPublicKeyInfo(hcryptprovorncryptkey: HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, dwkeyspec: u32, dwcertencodingtype: u32, pinfo: *mut CERT_PUBLIC_KEY_INFO, pcbinfo: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptExportPublicKeyInfoEx(hcryptprovorncryptkey: HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, dwkeyspec: u32, dwcertencodingtype: u32, pszpublickeyobjid: ::windows_sys::core::PCSTR, dwflags: u32, pvauxinfo: *const ::core::ffi::c_void, pinfo: *mut CERT_PUBLIC_KEY_INFO, pcbinfo: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptExportPublicKeyInfoFromBCryptKeyHandle(hbcryptkey: BCRYPT_KEY_HANDLE, dwcertencodingtype: u32, pszpublickeyobjid: ::windows_sys::core::PCSTR, dwflags: u32, pvauxinfo: *const ::core::ffi::c_void, pinfo: *mut CERT_PUBLIC_KEY_INFO, pcbinfo: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptFindCertificateKeyProvInfo(pcert: *const CERT_CONTEXT, dwflags: CRYPT_FIND_FLAGS, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CryptFindLocalizedName(pwszcryptname: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PWSTR;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CryptFindOIDInfo(dwkeytype: u32, pvkey: *const ::core::ffi::c_void, dwgroupid: u32) -> *mut CRYPT_OID_INFO;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptFormatObject(dwcertencodingtype: u32, dwformattype: u32, dwformatstrtype: u32, pformatstruct: *const ::core::ffi::c_void, lpszstructtype: ::windows_sys::core::PCSTR, pbencoded: *const u8, cbencoded: u32, pbformat: *mut ::core::ffi::c_void, pcbformat: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptFreeOIDFunctionAddress(hfuncaddr: *const ::core::ffi::c_void, dwflags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptGenKey(hprov: usize, algid: u32, dwflags: CRYPT_KEY_FLAGS, phkey: *mut usize) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptGenRandom(hprov: usize, dwlen: u32, pbbuffer: *mut u8) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptGetAsyncParam(hasync: HCRYPTASYNC, pszparamoid: ::windows_sys::core::PCSTR, ppvparam: *mut *mut ::core::ffi::c_void, ppfnfree: *mut PFN_CRYPT_ASYNC_PARAM_FREE_FUNC) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptGetDefaultOIDDllList(hfuncset: *const ::core::ffi::c_void, dwencodingtype: u32, pwszdlllist: ::windows_sys::core::PWSTR, pcchdlllist: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptGetDefaultOIDFunctionAddress(hfuncset: *const ::core::ffi::c_void, dwencodingtype: u32, pwszdll: ::windows_sys::core::PCWSTR, dwflags: u32, ppvfuncaddr: *mut *mut ::core::ffi::c_void, phfuncaddr: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptGetDefaultProviderA(dwprovtype: u32, pdwreserved: *mut u32, dwflags: u32, pszprovname: ::windows_sys::core::PSTR, pcbprovname: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptGetDefaultProviderW(dwprovtype: u32, pdwreserved: *mut u32, dwflags: u32, pszprovname: ::windows_sys::core::PWSTR, pcbprovname: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptGetHashParam(hhash: usize, dwparam: u32, pbdata: *mut u8, pdwdatalen: *mut u32, dwflags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptGetKeyIdentifierProperty(pkeyidentifier: *const CRYPTOAPI_BLOB, dwpropid: u32, dwflags: u32, pwszcomputername: ::windows_sys::core::PCWSTR, pvreserved: *mut ::core::ffi::c_void, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptGetKeyParam(hkey: usize, dwparam: CRYPT_KEY_PARAM_ID, pbdata: *mut u8, pdwdatalen: *mut u32, dwflags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CryptGetMessageCertificates(dwmsgandcertencodingtype: u32, hcryptprov: HCRYPTPROV_LEGACY, dwflags: u32, pbsignedblob: *const u8, cbsignedblob: u32) -> HCERTSTORE;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CryptGetMessageSignerCount(dwmsgencodingtype: u32, pbsignedblob: *const u8, cbsignedblob: u32) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptGetOIDFunctionAddress(hfuncset: *const ::core::ffi::c_void, dwencodingtype: u32, pszoid: ::windows_sys::core::PCSTR, dwflags: u32, ppvfuncaddr: *mut *mut ::core::ffi::c_void, phfuncaddr: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptGetOIDFunctionValue(dwencodingtype: u32, pszfuncname: ::windows_sys::core::PCSTR, pszoid: ::windows_sys::core::PCSTR, pwszvaluename: ::windows_sys::core::PCWSTR, pdwvaluetype: *mut u32, pbvaluedata: *mut u8, pcbvaluedata: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptGetObjectUrl(pszurloid: ::windows_sys::core::PCSTR, pvpara: *const ::core::ffi::c_void, dwflags: CRYPT_GET_URL_FLAGS, purlarray: *mut CRYPT_URL_ARRAY, pcburlarray: *mut u32, purlinfo: *mut CRYPT_URL_INFO, pcburlinfo: *mut u32, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptGetProvParam(hprov: usize, dwparam: u32, pbdata: *mut u8, pdwdatalen: *mut u32, dwflags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptGetUserKey(hprov: usize, dwkeyspec: u32, phuserkey: *mut usize) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptHashCertificate(hcryptprov: HCRYPTPROV_LEGACY, algid: u32, dwflags: u32, pbencoded: *const u8, cbencoded: u32, pbcomputedhash: *mut u8, pcbcomputedhash: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptHashCertificate2(pwszcnghashalgid: ::windows_sys::core::PCWSTR, dwflags: u32, pvreserved: *mut ::core::ffi::c_void, pbencoded: *const u8, cbencoded: u32, pbcomputedhash: *mut u8, pcbcomputedhash: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptHashData(hhash: usize, pbdata: *const u8, dwdatalen: u32, dwflags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptHashMessage(phashpara: *const CRYPT_HASH_MESSAGE_PARA, fdetachedhash: super::super::Foundation::BOOL, ctobehashed: u32, rgpbtobehashed: *const *const u8, rgcbtobehashed: *const u32, pbhashedblob: *mut u8, pcbhashedblob: *mut u32, pbcomputedhash: *mut u8, pcbcomputedhash: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptHashPublicKeyInfo(hcryptprov: HCRYPTPROV_LEGACY, algid: u32, dwflags: u32, dwcertencodingtype: u32, pinfo: *const CERT_PUBLIC_KEY_INFO, pbcomputedhash: *mut u8, pcbcomputedhash: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptHashSessionKey(hhash: usize, hkey: usize, dwflags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptHashToBeSigned(hcryptprov: HCRYPTPROV_LEGACY, dwcertencodingtype: u32, pbencoded: *const u8, cbencoded: u32, pbcomputedhash: *mut u8, pcbcomputedhash: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptImportKey(hprov: usize, pbdata: *const u8, dwdatalen: u32, hpubkey: usize, dwflags: CRYPT_KEY_FLAGS, phkey: *mut usize) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptImportPKCS8(sprivatekeyandparams: CRYPT_PKCS8_IMPORT_PARAMS, dwflags: CRYPT_KEY_FLAGS, phcryptprov: *mut usize, pvauxinfo: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptImportPublicKeyInfo(hcryptprov: usize, dwcertencodingtype: u32, pinfo: *const CERT_PUBLIC_KEY_INFO, phkey: *mut usize) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptImportPublicKeyInfoEx(hcryptprov: usize, dwcertencodingtype: u32, pinfo: *const CERT_PUBLIC_KEY_INFO, aikeyalg: u32, dwflags: u32, pvauxinfo: *const ::core::ffi::c_void, phkey: *mut usize) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptImportPublicKeyInfoEx2(dwcertencodingtype: u32, pinfo: *const CERT_PUBLIC_KEY_INFO, dwflags: CRYPT_IMPORT_PUBLIC_KEY_FLAGS, pvauxinfo: *const ::core::ffi::c_void, phkey: *mut BCRYPT_KEY_HANDLE) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CryptInitOIDFunctionSet(pszfuncname: ::windows_sys::core::PCSTR, dwflags: u32) -> *mut ::core::ffi::c_void;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptInstallCancelRetrieval(pfncancel: PFN_CRYPT_CANCEL_RETRIEVAL, pvarg: *const ::core::ffi::c_void, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptInstallDefaultContext(hcryptprov: usize, dwdefaulttype: CRYPT_DEFAULT_CONTEXT_TYPE, pvdefaultpara: *const ::core::ffi::c_void, dwflags: CRYPT_DEFAULT_CONTEXT_FLAGS, pvreserved: *mut ::core::ffi::c_void, phdefaultcontext: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptInstallOIDFunctionAddress(hmodule: super::super::Foundation::HINSTANCE, dwencodingtype: u32, pszfuncname: ::windows_sys::core::PCSTR, cfuncentry: u32, rgfuncentry: *const CRYPT_OID_FUNC_ENTRY, dwflags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CryptMemAlloc(cbsize: u32) -> *mut ::core::ffi::c_void;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CryptMemFree(pv: *const ::core::ffi::c_void);
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CryptMemRealloc(pv: *const ::core::ffi::c_void, cbsize: u32) -> *mut ::core::ffi::c_void;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CryptMsgCalculateEncodedLength(dwmsgencodingtype: u32, dwflags: u32, dwmsgtype: u32, pvmsgencodeinfo: *const ::core::ffi::c_void, pszinnercontentobjid: ::windows_sys::core::PCSTR, cbdata: u32) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptMsgClose(hcryptmsg: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptMsgControl(hcryptmsg: *const ::core::ffi::c_void, dwflags: u32, dwctrltype: u32, pvctrlpara: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptMsgCountersign(hcryptmsg: *const ::core::ffi::c_void, dwindex: u32, ccountersigners: u32, rgcountersigners: *const CMSG_SIGNER_ENCODE_INFO) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptMsgCountersignEncoded(dwencodingtype: u32, pbsignerinfo: *const u8, cbsignerinfo: u32, ccountersigners: u32, rgcountersigners: *const CMSG_SIGNER_ENCODE_INFO, pbcountersignature: *mut u8, pcbcountersignature: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CryptMsgDuplicate(hcryptmsg: *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptMsgEncodeAndSignCTL(dwmsgencodingtype: u32, pctlinfo: *const CTL_INFO, psigninfo: *const CMSG_SIGNED_ENCODE_INFO, dwflags: u32, pbencoded: *mut u8, pcbencoded: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptMsgGetAndVerifySigner(hcryptmsg: *const ::core::ffi::c_void, csignerstore: u32, rghsignerstore: *const HCERTSTORE, dwflags: u32, ppsigner: *mut *mut CERT_CONTEXT, pdwsignerindex: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptMsgGetParam(hcryptmsg: *const ::core::ffi::c_void, dwparamtype: u32, dwindex: u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptMsgOpenToDecode(dwmsgencodingtype: u32, dwflags: u32, dwmsgtype: u32, hcryptprov: HCRYPTPROV_LEGACY, precipientinfo: *mut CERT_INFO, pstreaminfo: *const CMSG_STREAM_INFO) -> *mut ::core::ffi::c_void;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptMsgOpenToEncode(dwmsgencodingtype: u32, dwflags: u32, dwmsgtype: CRYPT_MSG_TYPE, pvmsgencodeinfo: *const ::core::ffi::c_void, pszinnercontentobjid: ::windows_sys::core::PCSTR, pstreaminfo: *const CMSG_STREAM_INFO) -> *mut ::core::ffi::c_void;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptMsgSignCTL(dwmsgencodingtype: u32, pbctlcontent: *const u8, cbctlcontent: u32, psigninfo: *const CMSG_SIGNED_ENCODE_INFO, dwflags: u32, pbencoded: *mut u8, pcbencoded: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptMsgUpdate(hcryptmsg: *const ::core::ffi::c_void, pbdata: *const u8, cbdata: u32, ffinal: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptMsgVerifyCountersignatureEncoded(hcryptprov: HCRYPTPROV_LEGACY, dwencodingtype: u32, pbsignerinfo: *const u8, cbsignerinfo: u32, pbsignerinfocountersignature: *const u8, cbsignerinfocountersignature: u32, pcicountersigner: *const CERT_INFO) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptMsgVerifyCountersignatureEncodedEx(hcryptprov: HCRYPTPROV_LEGACY, dwencodingtype: u32, pbsignerinfo: *const u8, cbsignerinfo: u32, pbsignerinfocountersignature: *const u8, cbsignerinfocountersignature: u32, dwsignertype: u32, pvsigner: *const ::core::ffi::c_void, dwflags: u32, pvextra: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptProtectData(pdatain: *const CRYPTOAPI_BLOB, szdatadescr: ::windows_sys::core::PCWSTR, poptionalentropy: *const CRYPTOAPI_BLOB, pvreserved: *mut ::core::ffi::c_void, ppromptstruct: *const CRYPTPROTECT_PROMPTSTRUCT, dwflags: u32, pdataout: *mut CRYPTOAPI_BLOB) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptProtectMemory(pdatain: *mut ::core::ffi::c_void, cbdatain: u32, dwflags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptQueryObject(dwobjecttype: CERT_QUERY_OBJECT_TYPE, pvobject: *const ::core::ffi::c_void, dwexpectedcontenttypeflags: CERT_QUERY_CONTENT_TYPE_FLAGS, dwexpectedformattypeflags: CERT_QUERY_FORMAT_TYPE_FLAGS, dwflags: u32, pdwmsgandcertencodingtype: *mut CERT_QUERY_ENCODING_TYPE, pdwcontenttype: *mut CERT_QUERY_CONTENT_TYPE, pdwformattype: *mut CERT_QUERY_FORMAT_TYPE, phcertstore: *mut HCERTSTORE, phmsg: *mut *mut ::core::ffi::c_void, ppvcontext: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptRegisterDefaultOIDFunction(dwencodingtype: u32, pszfuncname: ::windows_sys::core::PCSTR, dwindex: u32, pwszdll: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptRegisterOIDFunction(dwencodingtype: u32, pszfuncname: ::windows_sys::core::PCSTR, pszoid: ::windows_sys::core::PCSTR, pwszdll: ::windows_sys::core::PCWSTR, pszoverridefuncname: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptRegisterOIDInfo(pinfo: *const CRYPT_OID_INFO, dwflags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptReleaseContext(hprov: usize, dwflags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptRetrieveObjectByUrlA(pszurl: ::windows_sys::core::PCSTR, pszobjectoid: ::windows_sys::core::PCSTR, dwretrievalflags: u32, dwtimeout: u32, ppvobject: *mut *mut ::core::ffi::c_void, hasyncretrieve: HCRYPTASYNC, pcredentials: *const CRYPT_CREDENTIALS, pvverify: *const ::core::ffi::c_void, pauxinfo: *mut CRYPT_RETRIEVE_AUX_INFO) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptRetrieveObjectByUrlW(pszurl: ::windows_sys::core::PCWSTR, pszobjectoid: ::windows_sys::core::PCSTR, dwretrievalflags: u32, dwtimeout: u32, ppvobject: *mut *mut ::core::ffi::c_void, hasyncretrieve: HCRYPTASYNC, pcredentials: *const CRYPT_CREDENTIALS, pvverify: *const ::core::ffi::c_void, pauxinfo: *mut CRYPT_RETRIEVE_AUX_INFO) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptRetrieveTimeStamp(wszurl: ::windows_sys::core::PCWSTR, dwretrievalflags: u32, dwtimeout: u32, pszhashid: ::windows_sys::core::PCSTR, ppara: *const CRYPT_TIMESTAMP_PARA, pbdata: *const u8, cbdata: u32, pptscontext: *mut *mut CRYPT_TIMESTAMP_CONTEXT, pptssigner: *mut *mut CERT_CONTEXT, phstore: *mut HCERTSTORE) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptSetAsyncParam(hasync: HCRYPTASYNC, pszparamoid: ::windows_sys::core::PCSTR, pvparam: *const ::core::ffi::c_void, pfnfree: PFN_CRYPT_ASYNC_PARAM_FREE_FUNC) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptSetHashParam(hhash: usize, dwparam: CRYPT_SET_HASH_PARAM, pbdata: *const u8, dwflags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptSetKeyIdentifierProperty(pkeyidentifier: *const CRYPTOAPI_BLOB, dwpropid: u32, dwflags: u32, pwszcomputername: ::windows_sys::core::PCWSTR, pvreserved: *mut ::core::ffi::c_void, pvdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptSetKeyParam(hkey: usize, dwparam: CRYPT_KEY_PARAM_ID, pbdata: *const u8, dwflags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))]
+ pub fn CryptSetOIDFunctionValue(dwencodingtype: u32, pszfuncname: ::windows_sys::core::PCSTR, pszoid: ::windows_sys::core::PCSTR, pwszvaluename: ::windows_sys::core::PCWSTR, dwvaluetype: super::super::System::Registry::REG_VALUE_TYPE, pbvaluedata: *const u8, cbvaluedata: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptSetProvParam(hprov: usize, dwparam: CRYPT_SET_PROV_PARAM_ID, pbdata: *const u8, dwflags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptSetProviderA(pszprovname: ::windows_sys::core::PCSTR, dwprovtype: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptSetProviderExA(pszprovname: ::windows_sys::core::PCSTR, dwprovtype: u32, pdwreserved: *mut u32, dwflags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptSetProviderExW(pszprovname: ::windows_sys::core::PCWSTR, dwprovtype: u32, pdwreserved: *mut u32, dwflags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptSetProviderW(pszprovname: ::windows_sys::core::PCWSTR, dwprovtype: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptSignAndEncodeCertificate(hcryptprovorncryptkey: HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, dwkeyspec: CERT_KEY_SPEC, dwcertencodingtype: u32, lpszstructtype: ::windows_sys::core::PCSTR, pvstructinfo: *const ::core::ffi::c_void, psignaturealgorithm: *const CRYPT_ALGORITHM_IDENTIFIER, pvhashauxinfo: *const ::core::ffi::c_void, pbencoded: *mut u8, pcbencoded: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptSignAndEncryptMessage(psignpara: *const CRYPT_SIGN_MESSAGE_PARA, pencryptpara: *const CRYPT_ENCRYPT_MESSAGE_PARA, crecipientcert: u32, rgprecipientcert: *const *const CERT_CONTEXT, pbtobesignedandencrypted: *const u8, cbtobesignedandencrypted: u32, pbsignedandencryptedblob: *mut u8, pcbsignedandencryptedblob: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptSignCertificate(hcryptprovorncryptkey: HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, dwkeyspec: u32, dwcertencodingtype: u32, pbencodedtobesigned: *const u8, cbencodedtobesigned: u32, psignaturealgorithm: *const CRYPT_ALGORITHM_IDENTIFIER, pvhashauxinfo: *const ::core::ffi::c_void, pbsignature: *mut u8, pcbsignature: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptSignHashA(hhash: usize, dwkeyspec: u32, szdescription: ::windows_sys::core::PCSTR, dwflags: u32, pbsignature: *mut u8, pdwsiglen: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptSignHashW(hhash: usize, dwkeyspec: u32, szdescription: ::windows_sys::core::PCWSTR, dwflags: u32, pbsignature: *mut u8, pdwsiglen: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptSignMessage(psignpara: *const CRYPT_SIGN_MESSAGE_PARA, fdetachedsignature: super::super::Foundation::BOOL, ctobesigned: u32, rgpbtobesigned: *const *const u8, rgcbtobesigned: *const u32, pbsignedblob: *mut u8, pcbsignedblob: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptSignMessageWithKey(psignpara: *const CRYPT_KEY_SIGN_MESSAGE_PARA, pbtobesigned: *const u8, cbtobesigned: u32, pbsignedblob: *mut u8, pcbsignedblob: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptStringToBinaryA(pszstring: ::windows_sys::core::PCSTR, cchstring: u32, dwflags: CRYPT_STRING, pbbinary: *mut u8, pcbbinary: *mut u32, pdwskip: *mut u32, pdwflags: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptStringToBinaryW(pszstring: ::windows_sys::core::PCWSTR, cchstring: u32, dwflags: CRYPT_STRING, pbbinary: *mut u8, pcbbinary: *mut u32, pdwskip: *mut u32, pdwflags: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptUninstallCancelRetrieval(dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptUninstallDefaultContext(hdefaultcontext: *const ::core::ffi::c_void, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptUnprotectData(pdatain: *const CRYPTOAPI_BLOB, ppszdatadescr: *mut ::windows_sys::core::PWSTR, poptionalentropy: *const CRYPTOAPI_BLOB, pvreserved: *mut ::core::ffi::c_void, ppromptstruct: *const CRYPTPROTECT_PROMPTSTRUCT, dwflags: u32, pdataout: *mut CRYPTOAPI_BLOB) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptUnprotectMemory(pdatain: *mut ::core::ffi::c_void, cbdatain: u32, dwflags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptUnregisterDefaultOIDFunction(dwencodingtype: u32, pszfuncname: ::windows_sys::core::PCSTR, pwszdll: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptUnregisterOIDFunction(dwencodingtype: u32, pszfuncname: ::windows_sys::core::PCSTR, pszoid: ::windows_sys::core::PCSTR) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptUnregisterOIDInfo(pinfo: *const CRYPT_OID_INFO) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptUpdateProtectedState(poldsid: super::super::Foundation::PSID, pwszoldpassword: ::windows_sys::core::PCWSTR, dwflags: u32, pdwsuccesscount: *mut u32, pdwfailurecount: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptVerifyCertificateSignature(hcryptprov: HCRYPTPROV_LEGACY, dwcertencodingtype: u32, pbencoded: *const u8, cbencoded: u32, ppublickey: *const CERT_PUBLIC_KEY_INFO) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptVerifyCertificateSignatureEx(hcryptprov: HCRYPTPROV_LEGACY, dwcertencodingtype: u32, dwsubjecttype: u32, pvsubject: *const ::core::ffi::c_void, dwissuertype: u32, pvissuer: *const ::core::ffi::c_void, dwflags: CRYPT_VERIFY_CERT_FLAGS, pvextra: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptVerifyDetachedMessageHash(phashpara: *const CRYPT_HASH_MESSAGE_PARA, pbdetachedhashblob: *const u8, cbdetachedhashblob: u32, ctobehashed: u32, rgpbtobehashed: *const *const u8, rgcbtobehashed: *const u32, pbcomputedhash: *mut u8, pcbcomputedhash: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptVerifyDetachedMessageSignature(pverifypara: *const CRYPT_VERIFY_MESSAGE_PARA, dwsignerindex: u32, pbdetachedsignblob: *const u8, cbdetachedsignblob: u32, ctobesigned: u32, rgpbtobesigned: *const *const u8, rgcbtobesigned: *const u32, ppsignercert: *mut *mut CERT_CONTEXT) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptVerifyMessageHash(phashpara: *const CRYPT_HASH_MESSAGE_PARA, pbhashedblob: *const u8, cbhashedblob: u32, pbtobehashed: *mut u8, pcbtobehashed: *mut u32, pbcomputedhash: *mut u8, pcbcomputedhash: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptVerifyMessageSignature(pverifypara: *const CRYPT_VERIFY_MESSAGE_PARA, dwsignerindex: u32, pbsignedblob: *const u8, cbsignedblob: u32, pbdecoded: *mut u8, pcbdecoded: *mut u32, ppsignercert: *mut *mut CERT_CONTEXT) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptVerifyMessageSignatureWithKey(pverifypara: *const CRYPT_KEY_VERIFY_MESSAGE_PARA, ppublickeyinfo: *const CERT_PUBLIC_KEY_INFO, pbsignedblob: *const u8, cbsignedblob: u32, pbdecoded: *mut u8, pcbdecoded: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptVerifySignatureA(hhash: usize, pbsignature: *const u8, dwsiglen: u32, hpubkey: usize, szdescription: ::windows_sys::core::PCSTR, dwflags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptVerifySignatureW(hhash: usize, pbsignature: *const u8, dwsiglen: u32, hpubkey: usize, szdescription: ::windows_sys::core::PCWSTR, dwflags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptVerifyTimeStampSignature(pbtscontentinfo: *const u8, cbtscontentinfo: u32, pbdata: *const u8, cbdata: u32, hadditionalstore: HCERTSTORE, pptscontext: *mut *mut CRYPT_TIMESTAMP_CONTEXT, pptssigner: *mut *mut CERT_CONTEXT, phstore: *mut HCERTSTORE) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CryptXmlAddObject(hsignatureorobject: *const ::core::ffi::c_void, dwflags: u32, rgproperty: *const CRYPT_XML_PROPERTY, cproperty: u32, pencoded: *const CRYPT_XML_BLOB, ppobject: *mut *mut CRYPT_XML_OBJECT) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CryptXmlClose(hcryptxml: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CryptXmlCreateReference(hcryptxml: *const ::core::ffi::c_void, dwflags: u32, wszid: ::windows_sys::core::PCWSTR, wszuri: ::windows_sys::core::PCWSTR, wsztype: ::windows_sys::core::PCWSTR, pdigestmethod: *const CRYPT_XML_ALGORITHM, ctransform: u32, rgtransform: *const CRYPT_XML_ALGORITHM, phreference: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CryptXmlDigestReference(hreference: *const ::core::ffi::c_void, dwflags: u32, pdataproviderin: *const CRYPT_XML_DATA_PROVIDER) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CryptXmlEncode(hcryptxml: *const ::core::ffi::c_void, dwcharset: CRYPT_XML_CHARSET, rgproperty: *const CRYPT_XML_PROPERTY, cproperty: u32, pvcallbackstate: *mut ::core::ffi::c_void, pfnwrite: PFN_CRYPT_XML_WRITE_CALLBACK) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CryptXmlEnumAlgorithmInfo(dwgroupid: u32, dwflags: u32, pvarg: *mut ::core::ffi::c_void, pfnenumalginfo: PFN_CRYPT_XML_ENUM_ALG_INFO) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CryptXmlFindAlgorithmInfo(dwfindbytype: u32, pvfindby: *const ::core::ffi::c_void, dwgroupid: u32, dwflags: u32) -> *mut CRYPT_XML_ALGORITHM_INFO;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CryptXmlGetAlgorithmInfo(pxmlalgorithm: *const CRYPT_XML_ALGORITHM, dwflags: CRYPT_XML_FLAGS, ppalginfo: *mut *mut CRYPT_XML_ALGORITHM_INFO) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CryptXmlGetDocContext(hcryptxml: *const ::core::ffi::c_void, ppstruct: *mut *mut CRYPT_XML_DOC_CTXT) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CryptXmlGetReference(hcryptxml: *const ::core::ffi::c_void, ppstruct: *mut *mut CRYPT_XML_REFERENCE) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CryptXmlGetSignature(hcryptxml: *const ::core::ffi::c_void, ppstruct: *mut *mut CRYPT_XML_SIGNATURE) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CryptXmlGetStatus(hcryptxml: *const ::core::ffi::c_void, pstatus: *mut CRYPT_XML_STATUS) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CryptXmlGetTransforms(ppconfig: *mut *mut CRYPT_XML_TRANSFORM_CHAIN_CONFIG) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CryptXmlImportPublicKey(dwflags: CRYPT_XML_FLAGS, pkeyvalue: *const CRYPT_XML_KEY_VALUE, phkey: *mut BCRYPT_KEY_HANDLE) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CryptXmlOpenToDecode(pconfig: *const CRYPT_XML_TRANSFORM_CHAIN_CONFIG, dwflags: CRYPT_XML_FLAGS, rgproperty: *const CRYPT_XML_PROPERTY, cproperty: u32, pencoded: *const CRYPT_XML_BLOB, phcryptxml: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CryptXmlOpenToEncode(pconfig: *const CRYPT_XML_TRANSFORM_CHAIN_CONFIG, dwflags: CRYPT_XML_FLAGS, wszid: ::windows_sys::core::PCWSTR, rgproperty: *const CRYPT_XML_PROPERTY, cproperty: u32, pencoded: *const CRYPT_XML_BLOB, phsignature: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CryptXmlSetHMACSecret(hsignature: *const ::core::ffi::c_void, pbsecret: *const u8, cbsecret: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CryptXmlSign(hsignature: *const ::core::ffi::c_void, hkey: HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, dwkeyspec: CERT_KEY_SPEC, dwflags: CRYPT_XML_FLAGS, dwkeyinfospec: CRYPT_XML_KEYINFO_SPEC, pvkeyinfospec: *const ::core::ffi::c_void, psignaturemethod: *const CRYPT_XML_ALGORITHM, pcanonicalization: *const CRYPT_XML_ALGORITHM) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn CryptXmlVerifySignature(hsignature: *const ::core::ffi::c_void, hkey: BCRYPT_KEY_HANDLE, dwflags: CRYPT_XML_FLAGS) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn Decrypt(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, foaep: super::super::Foundation::BOOL, cbindata: u32, pindata: *const u8, pcboutdata: *mut u32, ppoutdata: *mut *mut u8) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn Encrypt(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, foaep: super::super::Foundation::BOOL, cbindata: u32, pindata: *const u8, pcboutdata: *mut u32, ppoutdata: *mut *mut u8) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn FindCertsByIssuer(pcertchains: *mut CERT_CHAIN, pcbcertchains: *mut u32, pccertchains: *mut u32, pbencodedissuername: *const u8, cbencodedissuername: u32, pwszpurpose: ::windows_sys::core::PCWSTR, dwkeyspec: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn FreeToken(pallocmemory: *const GENERIC_XML_TOKEN) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn GenerateDerivedKey(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, cblabel: u32, plabel: *const u8, cbnonce: u32, pnonce: *const u8, derivedkeylength: u32, offset: u32, algid: ::windows_sys::core::PCWSTR, pcbkey: *mut u32, ppkey: *mut *mut u8) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn GetBrowserToken(dwparamtype: u32, pparam: *const ::core::ffi::c_void, pcbtoken: *mut u32, pptoken: *mut *mut u8) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn GetCryptoTransform(hsymmetriccrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, mode: u32, padding: PaddingMode, feedbacksize: u32, direction: Direction, cbiv: u32, piv: *const u8, pphtransform: *mut *mut INFORMATIONCARD_CRYPTO_HANDLE) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn GetKeyedHash(hsymmetriccrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, pphhash: *mut *mut INFORMATIONCARD_CRYPTO_HANDLE) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetToken(cpolicychain: u32, ppolicychain: *const POLICY_ELEMENT, securitytoken: *mut *mut GENERIC_XML_TOKEN, phprooftokencrypto: *mut *mut INFORMATIONCARD_CRYPTO_HANDLE) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn HashCore(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, cbindata: u32, pindata: *const u8) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn HashFinal(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, cbindata: u32, pindata: *const u8, pcboutdata: *mut u32, ppoutdata: *mut *mut u8) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn ImportInformationCard(filename: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn ManageCardSpace() -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptCloseProtectionDescriptor(hdescriptor: super::NCRYPT_DESCRIPTOR_HANDLE) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptCreateClaim(hsubjectkey: NCRYPT_KEY_HANDLE, hauthoritykey: NCRYPT_KEY_HANDLE, dwclaimtype: u32, pparameterlist: *const BCryptBufferDesc, pbclaimblob: *mut u8, cbclaimblob: u32, pcbresult: *mut u32, dwflags: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptCreatePersistedKey(hprovider: NCRYPT_PROV_HANDLE, phkey: *mut NCRYPT_KEY_HANDLE, pszalgid: ::windows_sys::core::PCWSTR, pszkeyname: ::windows_sys::core::PCWSTR, dwlegacykeyspec: CERT_KEY_SPEC, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptCreateProtectionDescriptor(pwszdescriptorstring: ::windows_sys::core::PCWSTR, dwflags: u32, phdescriptor: *mut super::NCRYPT_DESCRIPTOR_HANDLE) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptDecrypt(hkey: NCRYPT_KEY_HANDLE, pbinput: *const u8, cbinput: u32, ppaddinginfo: *const ::core::ffi::c_void, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptDeleteKey(hkey: NCRYPT_KEY_HANDLE, dwflags: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptDeriveKey(hsharedsecret: NCRYPT_SECRET_HANDLE, pwszkdf: ::windows_sys::core::PCWSTR, pparameterlist: *const BCryptBufferDesc, pbderivedkey: *mut u8, cbderivedkey: u32, pcbresult: *mut u32, dwflags: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptEncrypt(hkey: NCRYPT_KEY_HANDLE, pbinput: *const u8, cbinput: u32, ppaddinginfo: *const ::core::ffi::c_void, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptEnumAlgorithms(hprovider: NCRYPT_PROV_HANDLE, dwalgoperations: NCRYPT_OPERATION, pdwalgcount: *mut u32, ppalglist: *mut *mut NCryptAlgorithmName, dwflags: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptEnumKeys(hprovider: NCRYPT_PROV_HANDLE, pszscope: ::windows_sys::core::PCWSTR, ppkeyname: *mut *mut NCryptKeyName, ppenumstate: *mut *mut ::core::ffi::c_void, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptEnumStorageProviders(pdwprovidercount: *mut u32, ppproviderlist: *mut *mut NCryptProviderName, dwflags: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptExportKey(hkey: NCRYPT_KEY_HANDLE, hexportkey: NCRYPT_KEY_HANDLE, pszblobtype: ::windows_sys::core::PCWSTR, pparameterlist: *const BCryptBufferDesc, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptFinalizeKey(hkey: NCRYPT_KEY_HANDLE, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptFreeBuffer(pvinput: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptFreeObject(hobject: NCRYPT_HANDLE) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptGetProperty(hobject: NCRYPT_HANDLE, pszproperty: ::windows_sys::core::PCWSTR, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32, dwflags: super::OBJECT_SECURITY_INFORMATION) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptGetProtectionDescriptorInfo(hdescriptor: super::NCRYPT_DESCRIPTOR_HANDLE, pmempara: *const NCRYPT_ALLOC_PARA, dwinfotype: u32, ppvinfo: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptImportKey(hprovider: NCRYPT_PROV_HANDLE, himportkey: NCRYPT_KEY_HANDLE, pszblobtype: ::windows_sys::core::PCWSTR, pparameterlist: *const BCryptBufferDesc, phkey: *mut NCRYPT_KEY_HANDLE, pbdata: *const u8, cbdata: u32, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptIsAlgSupported(hprovider: NCRYPT_PROV_HANDLE, pszalgid: ::windows_sys::core::PCWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn NCryptIsKeyHandle(hkey: NCRYPT_KEY_HANDLE) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptKeyDerivation(hkey: NCRYPT_KEY_HANDLE, pparameterlist: *const BCryptBufferDesc, pbderivedkey: *mut u8, cbderivedkey: u32, pcbresult: *mut u32, dwflags: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn NCryptNotifyChangeKey(hprovider: NCRYPT_PROV_HANDLE, phevent: *mut super::super::Foundation::HANDLE, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptOpenKey(hprovider: NCRYPT_PROV_HANDLE, phkey: *mut NCRYPT_KEY_HANDLE, pszkeyname: ::windows_sys::core::PCWSTR, dwlegacykeyspec: CERT_KEY_SPEC, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptOpenStorageProvider(phprovider: *mut NCRYPT_PROV_HANDLE, pszprovidername: ::windows_sys::core::PCWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn NCryptProtectSecret(hdescriptor: super::NCRYPT_DESCRIPTOR_HANDLE, dwflags: u32, pbdata: *const u8, cbdata: u32, pmempara: *const NCRYPT_ALLOC_PARA, hwnd: super::super::Foundation::HWND, ppbprotectedblob: *mut *mut u8, pcbprotectedblob: *mut u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptQueryProtectionDescriptorName(pwszname: ::windows_sys::core::PCWSTR, pwszdescriptorstring: ::windows_sys::core::PWSTR, pcdescriptorstring: *mut usize, dwflags: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptRegisterProtectionDescriptorName(pwszname: ::windows_sys::core::PCWSTR, pwszdescriptorstring: ::windows_sys::core::PCWSTR, dwflags: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptSecretAgreement(hprivkey: NCRYPT_KEY_HANDLE, hpubkey: NCRYPT_KEY_HANDLE, phagreedsecret: *mut NCRYPT_SECRET_HANDLE, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptSetProperty(hobject: NCRYPT_HANDLE, pszproperty: ::windows_sys::core::PCWSTR, pbinput: *const u8, cbinput: u32, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptSignHash(hkey: NCRYPT_KEY_HANDLE, ppaddinginfo: *const ::core::ffi::c_void, pbhashvalue: *const u8, cbhashvalue: u32, pbsignature: *mut u8, cbsignature: u32, pcbresult: *mut u32, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptStreamClose(hstream: super::NCRYPT_STREAM_HANDLE) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn NCryptStreamOpenToProtect(hdescriptor: super::NCRYPT_DESCRIPTOR_HANDLE, dwflags: u32, hwnd: super::super::Foundation::HWND, pstreaminfo: *const NCRYPT_PROTECT_STREAM_INFO, phstream: *mut super::NCRYPT_STREAM_HANDLE) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn NCryptStreamOpenToUnprotect(pstreaminfo: *const NCRYPT_PROTECT_STREAM_INFO, dwflags: u32, hwnd: super::super::Foundation::HWND, phstream: *mut super::NCRYPT_STREAM_HANDLE) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn NCryptStreamOpenToUnprotectEx(pstreaminfo: *const NCRYPT_PROTECT_STREAM_INFO_EX, dwflags: u32, hwnd: super::super::Foundation::HWND, phstream: *mut super::NCRYPT_STREAM_HANDLE) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn NCryptStreamUpdate(hstream: super::NCRYPT_STREAM_HANDLE, pbdata: *const u8, cbdata: usize, ffinal: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptTranslateHandle(phprovider: *mut NCRYPT_PROV_HANDLE, phkey: *mut NCRYPT_KEY_HANDLE, hlegacyprov: usize, hlegacykey: usize, dwlegacykeyspec: CERT_KEY_SPEC, dwflags: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn NCryptUnprotectSecret(phdescriptor: *mut super::NCRYPT_DESCRIPTOR_HANDLE, dwflags: NCRYPT_FLAGS, pbprotectedblob: *const u8, cbprotectedblob: u32, pmempara: *const NCRYPT_ALLOC_PARA, hwnd: super::super::Foundation::HWND, ppbdata: *mut *mut u8, pcbdata: *mut u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptVerifyClaim(hsubjectkey: NCRYPT_KEY_HANDLE, hauthoritykey: NCRYPT_KEY_HANDLE, dwclaimtype: u32, pparameterlist: *const BCryptBufferDesc, pbclaimblob: *const u8, cbclaimblob: u32, poutput: *mut BCryptBufferDesc, dwflags: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn NCryptVerifySignature(hkey: NCRYPT_KEY_HANDLE, ppaddinginfo: *const ::core::ffi::c_void, pbhashvalue: *const u8, cbhashvalue: u32, pbsignature: *const u8, cbsignature: u32, dwflags: NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn PFXExportCertStore(hstore: HCERTSTORE, ppfx: *mut CRYPTOAPI_BLOB, szpassword: ::windows_sys::core::PCWSTR, dwflags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn PFXExportCertStoreEx(hstore: HCERTSTORE, ppfx: *mut CRYPTOAPI_BLOB, szpassword: ::windows_sys::core::PCWSTR, pvpara: *const ::core::ffi::c_void, dwflags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn PFXImportCertStore(ppfx: *const CRYPTOAPI_BLOB, szpassword: ::windows_sys::core::PCWSTR, dwflags: CRYPT_KEY_FLAGS) -> HCERTSTORE;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn PFXIsPFXBlob(ppfx: *const CRYPTOAPI_BLOB) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn PFXVerifyPassword(ppfx: *const CRYPTOAPI_BLOB, szpassword: ::windows_sys::core::PCWSTR, dwflags: u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn SignHash(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, cbhash: u32, phash: *const u8, hashalgoid: ::windows_sys::core::PCWSTR, pcbsig: *mut u32, ppsig: *mut *mut u8) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn TransformBlock(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, cbindata: u32, pindata: *const u8, pcboutdata: *mut u32, ppoutdata: *mut *mut u8) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+ pub fn TransformFinalBlock(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, cbindata: u32, pindata: *const u8, pcboutdata: *mut u32, ppoutdata: *mut *mut u8) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn VerifyHash(hcrypto: *const INFORMATIONCARD_CRYPTO_HANDLE, cbhash: u32, phash: *const u8, hashalgoid: ::windows_sys::core::PCWSTR, cbsig: u32, psig: *const u8, pfverified: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT;
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_CLASS_ALL: u32 = 57344u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_CLASS_ANY: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_CLASS_DATA_ENCRYPT: u32 = 24576u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_CLASS_HASH: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_CLASS_KEY_EXCHANGE: u32 = 40960u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_CLASS_MSG_ENCRYPT: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_CLASS_SIGNATURE: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_3DES: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_3DES_112: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_AES: u32 = 17u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_AES_128: u32 = 14u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_AES_192: u32 = 15u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_AES_256: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_AGREED_KEY_ANY: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_ANY: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_CAST: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_CYLINK_MEK: u32 = 12u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_DES: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_DESX: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_DH_EPHEM: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_DH_SANDF: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_DSS_ANY: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_DSS_DMS: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_DSS_PKCS: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_ECDH: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_ECDH_EPHEM: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_ECDSA: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_ECMQV: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_EXAMPLE: u32 = 80u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_HASH_REPLACE_OWF: u32 = 11u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_HMAC: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_IDEA: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_KEA: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_MAC: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_MD2: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_MD4: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_MD5: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_PCT1_MASTER: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_RC2: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_RC4: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_RC5: u32 = 13u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_RIPEMD: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_RIPEMD160: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_RSA_ANY: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_RSA_ENTRUST: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_RSA_MSATWORK: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_RSA_PGP: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_RSA_PKCS: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_SAFERSK128: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_SAFERSK64: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_SCHANNEL_ENC_KEY: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_SCHANNEL_MAC_KEY: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_SCHANNEL_MASTER_HASH: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_SEAL: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_SHA: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_SHA1: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_SHA_256: u32 = 12u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_SHA_384: u32 = 13u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_SHA_512: u32 = 14u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_SKIPJACK: u32 = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_SSL2_MASTER: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_SSL3SHAMD5: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_SSL3_MASTER: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_TEK: u32 = 11u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_THIRDPARTY_ANY: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_TLS1PRF: u32 = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_SID_TLS1_MASTER: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_TYPE_ANY: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_TYPE_BLOCK: u32 = 1536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_TYPE_DH: u32 = 2560u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_TYPE_DSS: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_TYPE_ECDH: u32 = 3584u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_TYPE_RSA: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_TYPE_SECURECHANNEL: u32 = 3072u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_TYPE_STREAM: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ALG_TYPE_THIRDPARTY: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const AUDIT_CARD_DELETE: ::windows_sys::core::HRESULT = 1074070017i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const AUDIT_CARD_IMPORT: ::windows_sys::core::HRESULT = 1074070018i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const AUDIT_CARD_WRITTEN: ::windows_sys::core::HRESULT = 1074070016i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const AUDIT_SERVICE_IDLE_STOP: ::windows_sys::core::HRESULT = 1074070022i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const AUDIT_STORE_DELETE: ::windows_sys::core::HRESULT = 1074070021i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const AUDIT_STORE_EXPORT: ::windows_sys::core::HRESULT = 1074070020i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const AUDIT_STORE_IMPORT: ::windows_sys::core::HRESULT = 1074070019i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct AUTHENTICODE_EXTRA_CERT_CHAIN_POLICY_PARA {
+ pub cbSize: u32,
+ pub dwRegPolicySettings: u32,
+ pub pSignerInfo: *mut CMSG_SIGNER_INFO,
+}
+impl ::core::marker::Copy for AUTHENTICODE_EXTRA_CERT_CHAIN_POLICY_PARA {}
+impl ::core::clone::Clone for AUTHENTICODE_EXTRA_CERT_CHAIN_POLICY_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct AUTHENTICODE_EXTRA_CERT_CHAIN_POLICY_STATUS {
+ pub cbSize: u32,
+ pub fCommercial: super::super::Foundation::BOOL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for AUTHENTICODE_EXTRA_CERT_CHAIN_POLICY_STATUS {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for AUTHENTICODE_EXTRA_CERT_CHAIN_POLICY_STATUS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct AUTHENTICODE_TS_EXTRA_CERT_CHAIN_POLICY_PARA {
+ pub cbSize: u32,
+ pub dwRegPolicySettings: u32,
+ pub fCommercial: super::super::Foundation::BOOL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for AUTHENTICODE_TS_EXTRA_CERT_CHAIN_POLICY_PARA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for AUTHENTICODE_TS_EXTRA_CERT_CHAIN_POLICY_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BASIC_CONSTRAINTS_CERT_CHAIN_POLICY_CA_FLAG: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BASIC_CONSTRAINTS_CERT_CHAIN_POLICY_END_ENTITY_FLAG: u32 = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPTBUFFER_VERSION: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_3DES_112_ALGORITHM: &str = "3DES_112";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_3DES_112_CBC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 369u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_3DES_112_CFB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 401u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_3DES_112_ECB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 385u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_3DES_ALGORITHM: &str = "3DES";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_3DES_CBC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 321u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_3DES_CFB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 353u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_3DES_ECB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 337u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_AES_ALGORITHM: &str = "AES";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_AES_CBC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 417u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_AES_CCM_ALG_HANDLE: BCRYPT_ALG_HANDLE = 465u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_AES_CFB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 449u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_AES_CMAC_ALGORITHM: &str = "AES-CMAC";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_AES_CMAC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 257u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_AES_ECB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 433u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_AES_GCM_ALG_HANDLE: BCRYPT_ALG_HANDLE = 481u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_AES_GMAC_ALGORITHM: &str = "AES-GMAC";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_AES_GMAC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 273u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_AES_WRAP_KEY_BLOB: &str = "Rfc3565KeyWrapBlob";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct BCRYPT_ALGORITHM_IDENTIFIER {
+ pub pszName: ::windows_sys::core::PWSTR,
+ pub dwClass: u32,
+ pub dwFlags: u32,
+}
+impl ::core::marker::Copy for BCRYPT_ALGORITHM_IDENTIFIER {}
+impl ::core::clone::Clone for BCRYPT_ALGORITHM_IDENTIFIER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ALGORITHM_NAME: &str = "AlgorithmName";
+pub type BCRYPT_ALG_HANDLE = isize;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO {
+ pub cbSize: u32,
+ pub dwInfoVersion: u32,
+ pub pbNonce: *mut u8,
+ pub cbNonce: u32,
+ pub pbAuthData: *mut u8,
+ pub cbAuthData: u32,
+ pub pbTag: *mut u8,
+ pub cbTag: u32,
+ pub pbMacContext: *mut u8,
+ pub cbMacContext: u32,
+ pub cbAAD: u32,
+ pub cbData: u64,
+ pub dwFlags: u32,
+}
+impl ::core::marker::Copy for BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO {}
+impl ::core::clone::Clone for BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO_VERSION: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_AUTH_MODE_CHAIN_CALLS_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_AUTH_MODE_IN_PROGRESS_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_AUTH_TAG_LENGTH: &str = "AuthTagLength";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_BLOCK_LENGTH: &str = "BlockLength";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_BLOCK_PADDING: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_BLOCK_SIZE_LIST: &str = "BlockSizeList";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_BUFFERS_LOCKED_FLAG: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_CAPI_AES_FLAG: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_CAPI_KDF_ALGORITHM: &str = "CAPI_KDF";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_CAPI_KDF_ALG_HANDLE: BCRYPT_ALG_HANDLE = 801u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_CHACHA20_POLY1305_ALGORITHM: &str = "CHACHA20_POLY1305";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_CHACHA20_POLY1305_ALG_HANDLE: BCRYPT_ALG_HANDLE = 929u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_CHAINING_MODE: &str = "ChainingMode";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_CHAIN_MODE_CBC: &str = "ChainingModeCBC";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_CHAIN_MODE_CCM: &str = "ChainingModeCCM";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_CHAIN_MODE_CFB: &str = "ChainingModeCFB";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_CHAIN_MODE_ECB: &str = "ChainingModeECB";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_CHAIN_MODE_GCM: &str = "ChainingModeGCM";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_CHAIN_MODE_NA: &str = "ChainingModeN/A";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_DESX_ALGORITHM: &str = "DESX";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_DESX_CBC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 545u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_DESX_CFB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 577u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_DESX_ECB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 561u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_DES_ALGORITHM: &str = "DES";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_DES_CBC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 497u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_DES_CFB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 529u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_DES_ECB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 513u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_DH_ALGORITHM: &str = "DH";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_DH_ALG_HANDLE: BCRYPT_ALG_HANDLE = 641u32 as _;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct BCRYPT_DH_KEY_BLOB {
+ pub dwMagic: BCRYPT_DH_KEY_BLOB_MAGIC,
+ pub cbKey: u32,
+}
+impl ::core::marker::Copy for BCRYPT_DH_KEY_BLOB {}
+impl ::core::clone::Clone for BCRYPT_DH_KEY_BLOB {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type BCRYPT_DH_KEY_BLOB_MAGIC = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_DH_PUBLIC_MAGIC: BCRYPT_DH_KEY_BLOB_MAGIC = 1112557636u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_DH_PRIVATE_MAGIC: BCRYPT_DH_KEY_BLOB_MAGIC = 1448101956u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_DH_PARAMETERS: &str = "DHParameters";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_DH_PARAMETERS_MAGIC: u32 = 1297107012u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct BCRYPT_DH_PARAMETER_HEADER {
+ pub cbLength: u32,
+ pub dwMagic: u32,
+ pub cbKeyLength: u32,
+}
+impl ::core::marker::Copy for BCRYPT_DH_PARAMETER_HEADER {}
+impl ::core::clone::Clone for BCRYPT_DH_PARAMETER_HEADER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_DH_PRIVATE_BLOB: &str = "DHPRIVATEBLOB";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_DH_PUBLIC_BLOB: &str = "DHPUBLICBLOB";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_DSA_ALGORITHM: &str = "DSA";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_DSA_ALG_HANDLE: BCRYPT_ALG_HANDLE = 721u32 as _;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct BCRYPT_DSA_KEY_BLOB {
+ pub dwMagic: BCRYPT_DSA_MAGIC,
+ pub cbKey: u32,
+ pub Count: [u8; 4],
+ pub Seed: [u8; 20],
+ pub q: [u8; 20],
+}
+impl ::core::marker::Copy for BCRYPT_DSA_KEY_BLOB {}
+impl ::core::clone::Clone for BCRYPT_DSA_KEY_BLOB {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct BCRYPT_DSA_KEY_BLOB_V2 {
+ pub dwMagic: BCRYPT_DSA_MAGIC,
+ pub cbKey: u32,
+ pub hashAlgorithm: HASHALGORITHM_ENUM,
+ pub standardVersion: DSAFIPSVERSION_ENUM,
+ pub cbSeedLength: u32,
+ pub cbGroupSize: u32,
+ pub Count: [u8; 4],
+}
+impl ::core::marker::Copy for BCRYPT_DSA_KEY_BLOB_V2 {}
+impl ::core::clone::Clone for BCRYPT_DSA_KEY_BLOB_V2 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type BCRYPT_DSA_MAGIC = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_DSA_PUBLIC_MAGIC: BCRYPT_DSA_MAGIC = 1112560452u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_DSA_PRIVATE_MAGIC: BCRYPT_DSA_MAGIC = 1448104772u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_DSA_PARAMETERS: &str = "DSAParameters";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_DSA_PARAMETERS_MAGIC: u32 = 1297109828u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_DSA_PARAMETERS_MAGIC_V2: u32 = 843927620u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct BCRYPT_DSA_PARAMETER_HEADER {
+ pub cbLength: u32,
+ pub dwMagic: u32,
+ pub cbKeyLength: u32,
+ pub Count: [u8; 4],
+ pub Seed: [u8; 20],
+ pub q: [u8; 20],
+}
+impl ::core::marker::Copy for BCRYPT_DSA_PARAMETER_HEADER {}
+impl ::core::clone::Clone for BCRYPT_DSA_PARAMETER_HEADER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct BCRYPT_DSA_PARAMETER_HEADER_V2 {
+ pub cbLength: u32,
+ pub dwMagic: u32,
+ pub cbKeyLength: u32,
+ pub hashAlgorithm: HASHALGORITHM_ENUM,
+ pub standardVersion: DSAFIPSVERSION_ENUM,
+ pub cbSeedLength: u32,
+ pub cbGroupSize: u32,
+ pub Count: [u8; 4],
+}
+impl ::core::marker::Copy for BCRYPT_DSA_PARAMETER_HEADER_V2 {}
+impl ::core::clone::Clone for BCRYPT_DSA_PARAMETER_HEADER_V2 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_DSA_PRIVATE_BLOB: &str = "DSAPRIVATEBLOB";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_DSA_PRIVATE_MAGIC_V2: u32 = 844517444u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_DSA_PUBLIC_BLOB: &str = "DSAPUBLICBLOB";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_DSA_PUBLIC_MAGIC_V2: u32 = 843206724u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct BCRYPT_ECCFULLKEY_BLOB {
+ pub dwMagic: u32,
+ pub dwVersion: u32,
+ pub dwCurveType: ECC_CURVE_TYPE_ENUM,
+ pub dwCurveGenerationAlgId: ECC_CURVE_ALG_ID_ENUM,
+ pub cbFieldLength: u32,
+ pub cbSubgroupOrder: u32,
+ pub cbCofactor: u32,
+ pub cbSeed: u32,
+}
+impl ::core::marker::Copy for BCRYPT_ECCFULLKEY_BLOB {}
+impl ::core::clone::Clone for BCRYPT_ECCFULLKEY_BLOB {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECCFULLPRIVATE_BLOB: &str = "ECCFULLPRIVATEBLOB";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECCFULLPUBLIC_BLOB: &str = "ECCFULLPUBLICBLOB";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct BCRYPT_ECCKEY_BLOB {
+ pub dwMagic: u32,
+ pub cbKey: u32,
+}
+impl ::core::marker::Copy for BCRYPT_ECCKEY_BLOB {}
+impl ::core::clone::Clone for BCRYPT_ECCKEY_BLOB {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECCPRIVATE_BLOB: &str = "ECCPRIVATEBLOB";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECCPUBLIC_BLOB: &str = "ECCPUBLICBLOB";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_25519: &str = "curve25519";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_BRAINPOOLP160R1: &str = "brainpoolP160r1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_BRAINPOOLP160T1: &str = "brainpoolP160t1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_BRAINPOOLP192R1: &str = "brainpoolP192r1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_BRAINPOOLP192T1: &str = "brainpoolP192t1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_BRAINPOOLP224R1: &str = "brainpoolP224r1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_BRAINPOOLP224T1: &str = "brainpoolP224t1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_BRAINPOOLP256R1: &str = "brainpoolP256r1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_BRAINPOOLP256T1: &str = "brainpoolP256t1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_BRAINPOOLP320R1: &str = "brainpoolP320r1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_BRAINPOOLP320T1: &str = "brainpoolP320t1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_BRAINPOOLP384R1: &str = "brainpoolP384r1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_BRAINPOOLP384T1: &str = "brainpoolP384t1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_BRAINPOOLP512R1: &str = "brainpoolP512r1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_BRAINPOOLP512T1: &str = "brainpoolP512t1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_EC192WAPI: &str = "ec192wapi";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_NAME: &str = "ECCCurveName";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct BCRYPT_ECC_CURVE_NAMES {
+ pub dwEccCurveNames: u32,
+ pub pEccCurveNames: *mut ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for BCRYPT_ECC_CURVE_NAMES {}
+impl ::core::clone::Clone for BCRYPT_ECC_CURVE_NAMES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_NAME_LIST: &str = "ECCCurveNameList";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_NISTP192: &str = "nistP192";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_NISTP224: &str = "nistP224";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_NISTP256: &str = "nistP256";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_NISTP384: &str = "nistP384";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_NISTP521: &str = "nistP521";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_NUMSP256T1: &str = "numsP256t1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_NUMSP384T1: &str = "numsP384t1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_NUMSP512T1: &str = "numsP512t1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_SECP160K1: &str = "secP160k1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_SECP160R1: &str = "secP160r1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_SECP160R2: &str = "secP160r2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_SECP192K1: &str = "secP192k1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_SECP192R1: &str = "secP192r1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_SECP224K1: &str = "secP224k1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_SECP224R1: &str = "secP224r1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_SECP256K1: &str = "secP256k1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_SECP256R1: &str = "secP256r1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_SECP384R1: &str = "secP384r1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_SECP521R1: &str = "secP521r1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_WTLS12: &str = "wtls12";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_WTLS7: &str = "wtls7";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_WTLS9: &str = "wtls9";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_X962P192V1: &str = "x962P192v1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_X962P192V2: &str = "x962P192v2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_X962P192V3: &str = "x962P192v3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_X962P239V1: &str = "x962P239v1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_X962P239V2: &str = "x962P239v2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_X962P239V3: &str = "x962P239v3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_CURVE_X962P256V1: &str = "x962P256v1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_FULLKEY_BLOB_V1: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_PARAMETERS: &str = "ECCParameters";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_PARAMETERS_MAGIC: u32 = 1346585413u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDH_ALGORITHM: &str = "ECDH";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDH_ALG_HANDLE: BCRYPT_ALG_HANDLE = 657u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDH_P256_ALGORITHM: &str = "ECDH_P256";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDH_P256_ALG_HANDLE: BCRYPT_ALG_HANDLE = 673u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDH_P384_ALGORITHM: &str = "ECDH_P384";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDH_P384_ALG_HANDLE: BCRYPT_ALG_HANDLE = 689u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDH_P521_ALGORITHM: &str = "ECDH_P521";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDH_P521_ALG_HANDLE: BCRYPT_ALG_HANDLE = 705u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDH_PRIVATE_GENERIC_MAGIC: u32 = 1447772997u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDH_PRIVATE_P256_MAGIC: u32 = 843793221u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDH_PRIVATE_P384_MAGIC: u32 = 877347653u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDH_PRIVATE_P521_MAGIC: u32 = 910902085u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDH_PUBLIC_GENERIC_MAGIC: u32 = 1347109701u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDH_PUBLIC_P256_MAGIC: u32 = 827016005u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDH_PUBLIC_P384_MAGIC: u32 = 860570437u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDH_PUBLIC_P521_MAGIC: u32 = 894124869u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDSA_ALGORITHM: &str = "ECDSA";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDSA_ALG_HANDLE: BCRYPT_ALG_HANDLE = 241u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDSA_P256_ALGORITHM: &str = "ECDSA_P256";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDSA_P256_ALG_HANDLE: BCRYPT_ALG_HANDLE = 737u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDSA_P384_ALGORITHM: &str = "ECDSA_P384";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDSA_P384_ALG_HANDLE: BCRYPT_ALG_HANDLE = 753u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDSA_P521_ALGORITHM: &str = "ECDSA_P521";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDSA_P521_ALG_HANDLE: BCRYPT_ALG_HANDLE = 769u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDSA_PRIVATE_GENERIC_MAGIC: u32 = 1447314245u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDSA_PRIVATE_P256_MAGIC: u32 = 844317509u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDSA_PRIVATE_P384_MAGIC: u32 = 877871941u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDSA_PRIVATE_P521_MAGIC: u32 = 911426373u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDSA_PUBLIC_GENERIC_MAGIC: u32 = 1346650949u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDSA_PUBLIC_P256_MAGIC: u32 = 827540293u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDSA_PUBLIC_P384_MAGIC: u32 = 861094725u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECDSA_PUBLIC_P521_MAGIC: u32 = 894649157u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_EFFECTIVE_KEY_LENGTH: &str = "EffectiveKeyLength";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ENABLE_INCOMPATIBLE_FIPS_CHECKS: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_EXTENDED_KEYSIZE: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_GENERATE_IV: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_GLOBAL_PARAMETERS: &str = "SecretAgreementParam";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_HASH_BLOCK_LENGTH: &str = "HashBlockLength";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_HASH_INTERFACE_MAJORVERSION_2: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_HASH_LENGTH: &str = "HashDigestLength";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_HASH_OID_LIST: &str = "HashOIDList";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type BCRYPT_HASH_OPERATION_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_HASH_OPERATION_HASH_DATA: BCRYPT_HASH_OPERATION_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_HASH_OPERATION_FINISH_HASH: BCRYPT_HASH_OPERATION_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_HKDF_ALGORITHM: &str = "HKDF";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_HKDF_ALG_HANDLE: BCRYPT_ALG_HANDLE = 913u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_HKDF_HASH_ALGORITHM: &str = "HkdfHashAlgorithm";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_HKDF_PRK_AND_FINALIZE: &str = "HkdfPrkAndFinalize";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_HKDF_SALT_AND_FINALIZE: &str = "HkdfSaltAndFinalize";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_HMAC_MD2_ALG_HANDLE: BCRYPT_ALG_HANDLE = 289u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_HMAC_MD4_ALG_HANDLE: BCRYPT_ALG_HANDLE = 305u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_HMAC_MD5_ALG_HANDLE: BCRYPT_ALG_HANDLE = 145u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_HMAC_SHA1_ALG_HANDLE: BCRYPT_ALG_HANDLE = 161u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_HMAC_SHA256_ALG_HANDLE: BCRYPT_ALG_HANDLE = 177u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_HMAC_SHA384_ALG_HANDLE: BCRYPT_ALG_HANDLE = 193u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_HMAC_SHA512_ALG_HANDLE: BCRYPT_ALG_HANDLE = 209u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_INITIALIZATION_VECTOR: &str = "IV";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type BCRYPT_INTERFACE = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ASYMMETRIC_ENCRYPTION_INTERFACE: BCRYPT_INTERFACE = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_CIPHER_INTERFACE: BCRYPT_INTERFACE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_HASH_INTERFACE: BCRYPT_INTERFACE = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_RNG_INTERFACE: BCRYPT_INTERFACE = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_SECRET_AGREEMENT_INTERFACE: BCRYPT_INTERFACE = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_SIGNATURE_INTERFACE: BCRYPT_INTERFACE = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_KEY_STORAGE_INTERFACE: BCRYPT_INTERFACE = 65537u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_SCHANNEL_INTERFACE: BCRYPT_INTERFACE = 65538u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_SCHANNEL_SIGNATURE_INTERFACE: BCRYPT_INTERFACE = 65539u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct BCRYPT_INTERFACE_VERSION {
+ pub MajorVersion: u16,
+ pub MinorVersion: u16,
+}
+impl ::core::marker::Copy for BCRYPT_INTERFACE_VERSION {}
+impl ::core::clone::Clone for BCRYPT_INTERFACE_VERSION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_IS_IFX_TPM_WEAK_KEY: &str = "IsIfxTpmWeakKey";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_IS_KEYED_HASH: &str = "IsKeyedHash";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_IS_REUSABLE_HASH: &str = "IsReusableHash";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_KDF_HASH: &str = "HASH";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_KDF_HKDF: &str = "HKDF";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_KDF_HMAC: &str = "HMAC";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_KDF_RAW_SECRET: &str = "TRUNCATE";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_KDF_SP80056A_CONCAT: &str = "SP800_56A_CONCAT";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_KDF_TLS_PRF: &str = "TLS_PRF";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct BCRYPT_KEY_BLOB {
+ pub Magic: u32,
+}
+impl ::core::marker::Copy for BCRYPT_KEY_BLOB {}
+impl ::core::clone::Clone for BCRYPT_KEY_BLOB {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_KEY_DATA_BLOB: &str = "KeyDataBlob";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct BCRYPT_KEY_DATA_BLOB_HEADER {
+ pub dwMagic: u32,
+ pub dwVersion: u32,
+ pub cbKeyData: u32,
+}
+impl ::core::marker::Copy for BCRYPT_KEY_DATA_BLOB_HEADER {}
+impl ::core::clone::Clone for BCRYPT_KEY_DATA_BLOB_HEADER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_KEY_DATA_BLOB_MAGIC: u32 = 1296188491u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_KEY_DATA_BLOB_VERSION1: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_KEY_DERIVATION_INTERFACE: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_KEY_DERIVATION_OPERATION: u32 = 64u32;
+pub type BCRYPT_KEY_HANDLE = isize;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_KEY_LENGTH: &str = "KeyLength";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_KEY_LENGTHS: &str = "KeyLengths";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct BCRYPT_KEY_LENGTHS_STRUCT {
+ pub dwMinLength: u32,
+ pub dwMaxLength: u32,
+ pub dwIncrement: u32,
+}
+impl ::core::marker::Copy for BCRYPT_KEY_LENGTHS_STRUCT {}
+impl ::core::clone::Clone for BCRYPT_KEY_LENGTHS_STRUCT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_KEY_OBJECT_LENGTH: &str = "KeyObjectLength";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_KEY_STRENGTH: &str = "KeyStrength";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_KEY_VALIDATION_RANGE: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_KEY_VALIDATION_RANGE_AND_ORDER: u32 = 24u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_KEY_VALIDATION_REGENERATE: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_MD2_ALGORITHM: &str = "MD2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_MD2_ALG_HANDLE: BCRYPT_ALG_HANDLE = 1u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_MD4_ALGORITHM: &str = "MD4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_MD4_ALG_HANDLE: BCRYPT_ALG_HANDLE = 17u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_MD5_ALGORITHM: &str = "MD5";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_MD5_ALG_HANDLE: BCRYPT_ALG_HANDLE = 33u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_MESSAGE_BLOCK_LENGTH: &str = "MessageBlockLength";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_MULTI_FLAG: u32 = 64u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct BCRYPT_MULTI_HASH_OPERATION {
+ pub iHash: u32,
+ pub hashOperation: BCRYPT_HASH_OPERATION_TYPE,
+ pub pbBuffer: *mut u8,
+ pub cbBuffer: u32,
+}
+impl ::core::marker::Copy for BCRYPT_MULTI_HASH_OPERATION {}
+impl ::core::clone::Clone for BCRYPT_MULTI_HASH_OPERATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_MULTI_OBJECT_LENGTH: &str = "MultiObjectLength";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct BCRYPT_MULTI_OBJECT_LENGTH_STRUCT {
+ pub cbPerObject: u32,
+ pub cbPerElement: u32,
+}
+impl ::core::marker::Copy for BCRYPT_MULTI_OBJECT_LENGTH_STRUCT {}
+impl ::core::clone::Clone for BCRYPT_MULTI_OBJECT_LENGTH_STRUCT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type BCRYPT_MULTI_OPERATION_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_OPERATION_TYPE_HASH: BCRYPT_MULTI_OPERATION_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_NO_KEY_VALIDATION: u32 = 8u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct BCRYPT_OAEP_PADDING_INFO {
+ pub pszAlgId: ::windows_sys::core::PCWSTR,
+ pub pbLabel: *mut u8,
+ pub cbLabel: u32,
+}
+impl ::core::marker::Copy for BCRYPT_OAEP_PADDING_INFO {}
+impl ::core::clone::Clone for BCRYPT_OAEP_PADDING_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_OBJECT_ALIGNMENT: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_OBJECT_LENGTH: &str = "ObjectLength";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct BCRYPT_OID {
+ pub cbOID: u32,
+ pub pbOID: *mut u8,
+}
+impl ::core::marker::Copy for BCRYPT_OID {}
+impl ::core::clone::Clone for BCRYPT_OID {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct BCRYPT_OID_LIST {
+ pub dwOIDCount: u32,
+ pub pOIDs: *mut BCRYPT_OID,
+}
+impl ::core::marker::Copy for BCRYPT_OID_LIST {}
+impl ::core::clone::Clone for BCRYPT_OID_LIST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_OPAQUE_KEY_BLOB: &str = "OpaqueKeyBlob";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ALG_HANDLE_HMAC_FLAG: BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_PROV_DISPATCH: BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_HASH_REUSABLE_FLAG: BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type BCRYPT_OPERATION = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_CIPHER_OPERATION: BCRYPT_OPERATION = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_HASH_OPERATION: BCRYPT_OPERATION = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ASYMMETRIC_ENCRYPTION_OPERATION: BCRYPT_OPERATION = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_SECRET_AGREEMENT_OPERATION: BCRYPT_OPERATION = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_SIGNATURE_OPERATION: BCRYPT_OPERATION = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_RNG_OPERATION: BCRYPT_OPERATION = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_PADDING_SCHEMES: &str = "PaddingSchemes";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_PAD_PKCS1_OPTIONAL_HASH_OID: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_PBKDF2_ALGORITHM: &str = "PBKDF2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_PBKDF2_ALG_HANDLE: BCRYPT_ALG_HANDLE = 817u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_PCP_PLATFORM_TYPE_PROPERTY: &str = "PCP_PLATFORM_TYPE";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_PCP_PROVIDER_VERSION_PROPERTY: &str = "PCP_PROVIDER_VERSION";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct BCRYPT_PKCS1_PADDING_INFO {
+ pub pszAlgId: ::windows_sys::core::PCWSTR,
+}
+impl ::core::marker::Copy for BCRYPT_PKCS1_PADDING_INFO {}
+impl ::core::clone::Clone for BCRYPT_PKCS1_PADDING_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_PRIMITIVE_TYPE: &str = "PrimitiveType";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_PRIVATE_KEY: &str = "PrivKeyVal";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_PRIVATE_KEY_BLOB: &str = "PRIVATEBLOB";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_PRIVATE_KEY_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_PROVIDER_HANDLE: &str = "ProviderHandle";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct BCRYPT_PROVIDER_NAME {
+ pub pszProviderName: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for BCRYPT_PROVIDER_NAME {}
+impl ::core::clone::Clone for BCRYPT_PROVIDER_NAME {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct BCRYPT_PSS_PADDING_INFO {
+ pub pszAlgId: ::windows_sys::core::PCWSTR,
+ pub cbSalt: u32,
+}
+impl ::core::marker::Copy for BCRYPT_PSS_PADDING_INFO {}
+impl ::core::clone::Clone for BCRYPT_PSS_PADDING_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_PUBLIC_KEY_BLOB: &str = "PUBLICBLOB";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_PUBLIC_KEY_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_PUBLIC_KEY_LENGTH: &str = "PublicKeyLength";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type BCRYPT_QUERY_PROVIDER_MODE = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ANY: BCRYPT_QUERY_PROVIDER_MODE = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_UM: BCRYPT_QUERY_PROVIDER_MODE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_KM: BCRYPT_QUERY_PROVIDER_MODE = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_MM: BCRYPT_QUERY_PROVIDER_MODE = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_RC2_ALGORITHM: &str = "RC2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_RC2_CBC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 593u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_RC2_CFB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 625u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_RC2_ECB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 609u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_RC4_ALGORITHM: &str = "RC4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_RC4_ALG_HANDLE: BCRYPT_ALG_HANDLE = 113u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type BCRYPT_RESOLVE_PROVIDERS_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ALL_FUNCTIONS: BCRYPT_RESOLVE_PROVIDERS_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ALL_PROVIDERS: BCRYPT_RESOLVE_PROVIDERS_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_RNG_ALGORITHM: &str = "RNG";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_RNG_ALG_HANDLE: BCRYPT_ALG_HANDLE = 129u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_RNG_DUAL_EC_ALGORITHM: &str = "DUALECRNG";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_RNG_FIPS186_DSA_ALGORITHM: &str = "FIPS186DSARNG";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_RNG_USE_ENTROPY_IN_BUFFER: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_RSAFULLPRIVATE_BLOB: &str = "RSAFULLPRIVATEBLOB";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct BCRYPT_RSAKEY_BLOB {
+ pub Magic: BCRYPT_RSAKEY_BLOB_MAGIC,
+ pub BitLength: u32,
+ pub cbPublicExp: u32,
+ pub cbModulus: u32,
+ pub cbPrime1: u32,
+ pub cbPrime2: u32,
+}
+impl ::core::marker::Copy for BCRYPT_RSAKEY_BLOB {}
+impl ::core::clone::Clone for BCRYPT_RSAKEY_BLOB {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type BCRYPT_RSAKEY_BLOB_MAGIC = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_RSAPUBLIC_MAGIC: BCRYPT_RSAKEY_BLOB_MAGIC = 826364754u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_RSAPRIVATE_MAGIC: BCRYPT_RSAKEY_BLOB_MAGIC = 843141970u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_RSAFULLPRIVATE_MAGIC: BCRYPT_RSAKEY_BLOB_MAGIC = 859919186u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_RSAPRIVATE_BLOB: &str = "RSAPRIVATEBLOB";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_RSAPUBLIC_BLOB: &str = "RSAPUBLICBLOB";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_RSA_ALGORITHM: &str = "RSA";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_RSA_ALG_HANDLE: BCRYPT_ALG_HANDLE = 225u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_RSA_SIGN_ALGORITHM: &str = "RSA_SIGN";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_RSA_SIGN_ALG_HANDLE: BCRYPT_ALG_HANDLE = 785u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_SHA1_ALGORITHM: &str = "SHA1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_SHA1_ALG_HANDLE: BCRYPT_ALG_HANDLE = 49u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_SHA256_ALGORITHM: &str = "SHA256";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_SHA256_ALG_HANDLE: BCRYPT_ALG_HANDLE = 65u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_SHA384_ALGORITHM: &str = "SHA384";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_SHA384_ALG_HANDLE: BCRYPT_ALG_HANDLE = 81u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_SHA512_ALGORITHM: &str = "SHA512";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_SHA512_ALG_HANDLE: BCRYPT_ALG_HANDLE = 97u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_SIGNATURE_LENGTH: &str = "SignatureLength";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_SP800108_CTR_HMAC_ALGORITHM: &str = "SP800_108_CTR_HMAC";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_SP800108_CTR_HMAC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 833u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_SP80056A_CONCAT_ALGORITHM: &str = "SP800_56A_CONCAT";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_SP80056A_CONCAT_ALG_HANDLE: BCRYPT_ALG_HANDLE = 849u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_SUPPORTED_PAD_OAEP: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_SUPPORTED_PAD_PKCS1_ENC: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_SUPPORTED_PAD_PKCS1_SIG: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_SUPPORTED_PAD_PSS: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_SUPPORTED_PAD_ROUTER: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type BCRYPT_TABLE = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_LOCAL: BCRYPT_TABLE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_DOMAIN: BCRYPT_TABLE = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_TLS1_1_KDF_ALGORITHM: &str = "TLS1_1_KDF";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_TLS1_1_KDF_ALG_HANDLE: BCRYPT_ALG_HANDLE = 865u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_TLS1_2_KDF_ALGORITHM: &str = "TLS1_2_KDF";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_TLS1_2_KDF_ALG_HANDLE: BCRYPT_ALG_HANDLE = 881u32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_TLS_CBC_HMAC_VERIFY_FLAG: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_USE_SYSTEM_PREFERRED_RNG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_XTS_AES_ALGORITHM: &str = "XTS-AES";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_XTS_AES_ALG_HANDLE: BCRYPT_ALG_HANDLE = 897u32 as _;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct BCryptBuffer {
+ pub cbBuffer: u32,
+ pub BufferType: u32,
+ pub pvBuffer: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for BCryptBuffer {}
+impl ::core::clone::Clone for BCryptBuffer {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct BCryptBufferDesc {
+ pub ulVersion: u32,
+ pub cBuffers: u32,
+ pub pBuffers: *mut BCryptBuffer,
+}
+impl ::core::marker::Copy for BCryptBufferDesc {}
+impl ::core::clone::Clone for BCryptBufferDesc {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CALG_OID_INFO_CNG_ONLY: u32 = 4294967295u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CALG_OID_INFO_PARAMETERS: u32 = 4294967294u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CASetupProperty = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_SETUPPROP_INVALID: CASetupProperty = -1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_SETUPPROP_CATYPE: CASetupProperty = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_SETUPPROP_CAKEYINFORMATION: CASetupProperty = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_SETUPPROP_INTERACTIVE: CASetupProperty = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_SETUPPROP_CANAME: CASetupProperty = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_SETUPPROP_CADSSUFFIX: CASetupProperty = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_SETUPPROP_VALIDITYPERIOD: CASetupProperty = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_SETUPPROP_VALIDITYPERIODUNIT: CASetupProperty = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_SETUPPROP_EXPIRATIONDATE: CASetupProperty = 7i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_SETUPPROP_PRESERVEDATABASE: CASetupProperty = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_SETUPPROP_DATABASEDIRECTORY: CASetupProperty = 9i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_SETUPPROP_LOGDIRECTORY: CASetupProperty = 10i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_SETUPPROP_SHAREDFOLDER: CASetupProperty = 11i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_SETUPPROP_PARENTCAMACHINE: CASetupProperty = 12i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_SETUPPROP_PARENTCANAME: CASetupProperty = 13i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_SETUPPROP_REQUESTFILE: CASetupProperty = 14i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_SETUPPROP_WEBCAMACHINE: CASetupProperty = 15i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_SETUPPROP_WEBCANAME: CASetupProperty = 16i32;
+pub const CCertSrvSetup: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2518620175, data2: 62812, data3: 16701, data4: [169, 179, 125, 42, 244, 216, 228, 47] };
+pub const CCertSrvSetupKeyInformation: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 943143174, data2: 21555, data3: 17971, data4: [176, 251, 41, 183, 231, 130, 98, 225] };
+pub const CCertificateEnrollmentPolicyServerSetup: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2950887986, data2: 16817, data3: 17821, data4: [165, 222, 73, 173, 216, 167, 33, 130] };
+pub const CCertificateEnrollmentServerSetup: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2567107516, data2: 34991, data3: 19704, data4: [174, 98, 113, 64, 83, 21, 82, 182] };
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CEPSetupProperty = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_CEPSETUPPROP_AUTHENTICATION: CEPSetupProperty = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_CEPSETUPPROP_SSLCERTHASH: CEPSetupProperty = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_CEPSETUPPROP_URL: CEPSetupProperty = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_CEPSETUPPROP_KEYBASED_RENEWAL: CEPSetupProperty = 3i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERTIFICATE_CHAIN_BLOB {
+ pub certCount: u32,
+ pub rawCertificates: *mut CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CERTIFICATE_CHAIN_BLOB {}
+impl ::core::clone::Clone for CERTIFICATE_CHAIN_BLOB {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_ACCESS_DESCRIPTION {
+ pub pszAccessMethod: ::windows_sys::core::PSTR,
+ pub AccessLocation: CERT_ALT_NAME_ENTRY,
+}
+impl ::core::marker::Copy for CERT_ACCESS_DESCRIPTION {}
+impl ::core::clone::Clone for CERT_ACCESS_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ACCESS_STATE_GP_SYSTEM_STORE_FLAG: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ACCESS_STATE_LM_SYSTEM_STORE_FLAG: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ACCESS_STATE_PROP_ID: u32 = 14u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ACCESS_STATE_SHARED_USER_FLAG: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ACCESS_STATE_SYSTEM_STORE_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ACCESS_STATE_WRITE_PERSIST_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_AIA_URL_RETRIEVED_PROP_ID: u32 = 67u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ALT_NAME_EDI_PARTY_NAME: u32 = 6u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_ALT_NAME_ENTRY {
+ pub dwAltNameChoice: u32,
+ pub Anonymous: CERT_ALT_NAME_ENTRY_0,
+}
+impl ::core::marker::Copy for CERT_ALT_NAME_ENTRY {}
+impl ::core::clone::Clone for CERT_ALT_NAME_ENTRY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub union CERT_ALT_NAME_ENTRY_0 {
+ pub pOtherName: *mut CERT_OTHER_NAME,
+ pub pwszRfc822Name: ::windows_sys::core::PWSTR,
+ pub pwszDNSName: ::windows_sys::core::PWSTR,
+ pub DirectoryName: CRYPTOAPI_BLOB,
+ pub pwszURL: ::windows_sys::core::PWSTR,
+ pub IPAddress: CRYPTOAPI_BLOB,
+ pub pszRegisteredID: ::windows_sys::core::PSTR,
+}
+impl ::core::marker::Copy for CERT_ALT_NAME_ENTRY_0 {}
+impl ::core::clone::Clone for CERT_ALT_NAME_ENTRY_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ALT_NAME_ENTRY_ERR_INDEX_MASK: u32 = 255u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ALT_NAME_ENTRY_ERR_INDEX_SHIFT: u32 = 16u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_ALT_NAME_INFO {
+ pub cAltEntry: u32,
+ pub rgAltEntry: *mut CERT_ALT_NAME_ENTRY,
+}
+impl ::core::marker::Copy for CERT_ALT_NAME_INFO {}
+impl ::core::clone::Clone for CERT_ALT_NAME_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ALT_NAME_VALUE_ERR_INDEX_MASK: u32 = 65535u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ALT_NAME_VALUE_ERR_INDEX_SHIFT: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ALT_NAME_X400_ADDRESS: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ARCHIVED_KEY_HASH_PROP_ID: u32 = 65u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ARCHIVED_PROP_ID: u32 = 19u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_AUTHORITY_INFO_ACCESS {
+ pub cAccDescr: u32,
+ pub rgAccDescr: *mut CERT_ACCESS_DESCRIPTION,
+}
+impl ::core::marker::Copy for CERT_AUTHORITY_INFO_ACCESS {}
+impl ::core::clone::Clone for CERT_AUTHORITY_INFO_ACCESS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_AUTHORITY_INFO_ACCESS_PROP_ID: u32 = 68u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_AUTHORITY_KEY_ID2_INFO {
+ pub KeyId: CRYPTOAPI_BLOB,
+ pub AuthorityCertIssuer: CERT_ALT_NAME_INFO,
+ pub AuthorityCertSerialNumber: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CERT_AUTHORITY_KEY_ID2_INFO {}
+impl ::core::clone::Clone for CERT_AUTHORITY_KEY_ID2_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_AUTHORITY_KEY_ID_INFO {
+ pub KeyId: CRYPTOAPI_BLOB,
+ pub CertIssuer: CRYPTOAPI_BLOB,
+ pub CertSerialNumber: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CERT_AUTHORITY_KEY_ID_INFO {}
+impl ::core::clone::Clone for CERT_AUTHORITY_KEY_ID_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_AUTH_ROOT_AUTO_UPDATE_DISABLE_PARTIAL_CHAIN_LOGGING_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_AUTH_ROOT_AUTO_UPDATE_DISABLE_UNTRUSTED_ROOT_LOGGING_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_AUTH_ROOT_AUTO_UPDATE_ENCODED_CTL_VALUE_NAME: &str = "EncodedCtl";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_AUTH_ROOT_AUTO_UPDATE_FLAGS_VALUE_NAME: &str = "Flags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_AUTH_ROOT_AUTO_UPDATE_LAST_SYNC_TIME_VALUE_NAME: &str = "LastSyncTime";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_AUTH_ROOT_AUTO_UPDATE_ROOT_DIR_URL_VALUE_NAME: &str = "RootDirUrl";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_AUTH_ROOT_AUTO_UPDATE_SYNC_DELTA_TIME_VALUE_NAME: &str = "SyncDeltaTime";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_AUTH_ROOT_CAB_FILENAME: &str = "authrootstl.cab";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_AUTH_ROOT_CERT_EXT: &str = ".crt";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_AUTH_ROOT_CTL_FILENAME: &str = "authroot.stl";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_AUTH_ROOT_CTL_FILENAME_A: &str = "authroot.stl";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_AUTH_ROOT_SEQ_FILENAME: &str = "authrootseq.txt";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_AUTH_ROOT_SHA256_HASH_PROP_ID: u32 = 98u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_AUTO_ENROLL_PROP_ID: u32 = 21u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_AUTO_ENROLL_RETRY_PROP_ID: u32 = 66u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_AUTO_UPDATE_DISABLE_RANDOM_QUERY_STRING_FLAG: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_AUTO_UPDATE_ROOT_DIR_URL_VALUE_NAME: &str = "RootDirUrl";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_AUTO_UPDATE_SYNC_FROM_DIR_URL_VALUE_NAME: &str = "SyncFromDirUrl";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_BACKED_UP_PROP_ID: u32 = 69u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_BASIC_CONSTRAINTS2_INFO {
+ pub fCA: super::super::Foundation::BOOL,
+ pub fPathLenConstraint: super::super::Foundation::BOOL,
+ pub dwPathLenConstraint: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_BASIC_CONSTRAINTS2_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_BASIC_CONSTRAINTS2_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_BASIC_CONSTRAINTS_INFO {
+ pub SubjectType: CRYPT_BIT_BLOB,
+ pub fPathLenConstraint: super::super::Foundation::BOOL,
+ pub dwPathLenConstraint: u32,
+ pub cSubtreesConstraint: u32,
+ pub rgSubtreesConstraint: *mut CRYPTOAPI_BLOB,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_BASIC_CONSTRAINTS_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_BASIC_CONSTRAINTS_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_BIOMETRIC_DATA {
+ pub dwTypeOfBiometricDataChoice: CERT_BIOMETRIC_DATA_TYPE,
+ pub Anonymous: CERT_BIOMETRIC_DATA_0,
+ pub HashedUrl: CERT_HASHED_URL,
+}
+impl ::core::marker::Copy for CERT_BIOMETRIC_DATA {}
+impl ::core::clone::Clone for CERT_BIOMETRIC_DATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub union CERT_BIOMETRIC_DATA_0 {
+ pub dwPredefined: u32,
+ pub pszObjId: ::windows_sys::core::PSTR,
+}
+impl ::core::marker::Copy for CERT_BIOMETRIC_DATA_0 {}
+impl ::core::clone::Clone for CERT_BIOMETRIC_DATA_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CERT_BIOMETRIC_DATA_TYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_BIOMETRIC_PREDEFINED_DATA_CHOICE: CERT_BIOMETRIC_DATA_TYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_BIOMETRIC_OID_DATA_CHOICE: CERT_BIOMETRIC_DATA_TYPE = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_BIOMETRIC_EXT_INFO {
+ pub cBiometricData: u32,
+ pub rgBiometricData: *mut CERT_BIOMETRIC_DATA,
+}
+impl ::core::marker::Copy for CERT_BIOMETRIC_EXT_INFO {}
+impl ::core::clone::Clone for CERT_BIOMETRIC_EXT_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_BIOMETRIC_PICTURE_TYPE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_BIOMETRIC_SIGNATURE_TYPE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_BUNDLE_CERTIFICATE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_BUNDLE_CRL: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CASE_INSENSITIVE_IS_RDN_ATTRS_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CA_DISABLE_CRL_PROP_ID: u32 = 82u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CA_OCSP_AUTHORITY_INFO_ACCESS_PROP_ID: u32 = 81u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CA_SUBJECT_FLAG: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CEP_PROP_ID: u32 = 87u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_CHAIN {
+ pub cCerts: u32,
+ pub certs: *mut CRYPTOAPI_BLOB,
+ pub keyLocatorInfo: CRYPT_KEY_PROV_INFO,
+}
+impl ::core::marker::Copy for CERT_CHAIN {}
+impl ::core::clone::Clone for CERT_CHAIN {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_AUTO_CURRENT_USER: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_AUTO_FLAGS_VALUE_NAME: &str = "AutoFlags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_AUTO_FLUSH_DISABLE_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_AUTO_FLUSH_FIRST_DELTA_SECONDS_VALUE_NAME: &str = "AutoFlushFirstDeltaSeconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_AUTO_FLUSH_NEXT_DELTA_SECONDS_VALUE_NAME: &str = "AutoFlushNextDeltaSeconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_AUTO_HPKP_RULE_INFO: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_AUTO_IMPERSONATED: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_AUTO_LOCAL_MACHINE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_AUTO_LOG_CREATE_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_AUTO_LOG_FILE_NAME_VALUE_NAME: &str = "AutoLogFileName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_AUTO_LOG_FLUSH_FLAG: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_AUTO_LOG_FREE_FLAG: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_AUTO_NETWORK_INFO: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_AUTO_PINRULE_INFO: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_AUTO_PROCESS_INFO: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_AUTO_SERIAL_LOCAL_MACHINE: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_CACHE_END_CERT: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_CACHE_ONLY_URL_RETRIEVAL: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_CACHE_RESYNC_FILETIME_VALUE_NAME: &str = "ChainCacheResyncFiletime";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_CONFIG_REGPATH: &str = "Software\\Microsoft\\Cryptography\\OID\\EncodingType 0\\CertDllCreateCertificateChainEngine\\Config";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_CHAIN_CONTEXT {
+ pub cbSize: u32,
+ pub TrustStatus: CERT_TRUST_STATUS,
+ pub cChain: u32,
+ pub rgpChain: *mut *mut CERT_SIMPLE_CHAIN,
+ pub cLowerQualityChainContext: u32,
+ pub rgpLowerQualityChainContext: *mut *mut CERT_CHAIN_CONTEXT,
+ pub fHasRevocationFreshnessTime: super::super::Foundation::BOOL,
+ pub dwRevocationFreshnessTime: u32,
+ pub dwCreateFlags: u32,
+ pub ChainId: ::windows_sys::core::GUID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_CHAIN_CONTEXT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_CHAIN_CONTEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_CRL_VALIDITY_EXT_PERIOD_HOURS_DEFAULT: u32 = 12u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_CRL_VALIDITY_EXT_PERIOD_HOURS_VALUE_NAME: &str = "CRLValidityExtensionPeriod";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_CROSS_CERT_DOWNLOAD_INTERVAL_HOURS_VALUE_NAME: &str = "CrossCertDownloadIntervalHours";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_DEFAULT_CONFIG_SUBDIR: &str = "Default";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_DISABLE_AIA: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_DISABLE_AIA_URL_RETRIEVAL_VALUE_NAME: &str = "DisableAIAUrlRetrieval";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_DISABLE_ALL_EKU_WEAK_FLAG: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_DISABLE_AUTH_ROOT_AUTO_UPDATE: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_DISABLE_AUTO_FLUSH_PROCESS_NAME_LIST_VALUE_NAME: &str = "DisableAutoFlushProcessNameList";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_DISABLE_CA_NAME_CONSTRAINTS_VALUE_NAME: &str = "DisableCANameConstraints";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_DISABLE_CODE_SIGNING_WEAK_FLAG: u32 = 4194304u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_DISABLE_ECC_PARA_FLAG: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_DISABLE_FILE_HASH_WEAK_FLAG: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_DISABLE_MANDATORY_BASIC_CONSTRAINTS_VALUE_NAME: &str = "DisableMandatoryBasicConstraints";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_DISABLE_MD2_MD4: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_DISABLE_MOTW_CODE_SIGNING_WEAK_FLAG: u32 = 8388608u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_DISABLE_MOTW_FILE_HASH_WEAK_FLAG: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_DISABLE_MOTW_TIMESTAMP_HASH_WEAK_FLAG: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_DISABLE_MOTW_TIMESTAMP_WEAK_FLAG: u32 = 134217728u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_DISABLE_MY_PEER_TRUST: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_DISABLE_OPT_IN_SERVER_AUTH_WEAK_FLAG: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_DISABLE_PASS1_QUALITY_FILTERING: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_DISABLE_SERIAL_CHAIN_VALUE_NAME: &str = "DisableSerialChain";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_DISABLE_SERVER_AUTH_WEAK_FLAG: u32 = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_DISABLE_SYNC_WITH_SSL_TIME_VALUE_NAME: &str = "DisableSyncWithSslTime";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_DISABLE_TIMESTAMP_HASH_WEAK_FLAG: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_DISABLE_TIMESTAMP_WEAK_FLAG: u32 = 67108864u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_DISABLE_UNSUPPORTED_CRITICAL_EXTENSIONS_VALUE_NAME: &str = "DisableUnsupportedCriticalExtensions";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_CHAIN_ELEMENT {
+ pub cbSize: u32,
+ pub pCertContext: *const CERT_CONTEXT,
+ pub TrustStatus: CERT_TRUST_STATUS,
+ pub pRevocationInfo: *mut CERT_REVOCATION_INFO,
+ pub pIssuanceUsage: *mut CTL_USAGE,
+ pub pApplicationUsage: *mut CTL_USAGE,
+ pub pwszExtendedErrorInfo: ::windows_sys::core::PCWSTR,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_CHAIN_ELEMENT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_CHAIN_ELEMENT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_ENABLE_ALL_EKU_HYGIENE_FLAG: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_ENABLE_CACHE_AUTO_UPDATE: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_ENABLE_CODE_SIGNING_HYGIENE_FLAG: u32 = 16777216u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_ENABLE_MD2_MD4_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_ENABLE_MOTW_CODE_SIGNING_HYGIENE_FLAG: u32 = 33554432u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_ENABLE_MOTW_TIMESTAMP_HYGIENE_FLAG: u32 = 536870912u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_ENABLE_ONLY_WEAK_LOGGING_FLAG: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_ENABLE_PEER_TRUST: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_ENABLE_SERVER_AUTH_HYGIENE_FLAG: u32 = 2097152u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_ENABLE_SHARE_STORE: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_ENABLE_TIMESTAMP_HYGIENE_FLAG: u32 = 268435456u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_ENABLE_WEAK_LOGGING_FLAG: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_ENABLE_WEAK_RSA_ROOT_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_ENABLE_WEAK_SETTINGS_FLAG: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_ENABLE_WEAK_SIGNATURE_FLAGS_VALUE_NAME: &str = "EnableWeakSignatureFlags";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_CHAIN_ENGINE_CONFIG {
+ pub cbSize: u32,
+ pub hRestrictedRoot: HCERTSTORE,
+ pub hRestrictedTrust: HCERTSTORE,
+ pub hRestrictedOther: HCERTSTORE,
+ pub cAdditionalStore: u32,
+ pub rghAdditionalStore: *mut HCERTSTORE,
+ pub dwFlags: u32,
+ pub dwUrlRetrievalTimeout: u32,
+ pub MaximumCachedCertificates: u32,
+ pub CycleDetectionModulus: u32,
+ pub hExclusiveRoot: HCERTSTORE,
+ pub hExclusiveTrustedPeople: HCERTSTORE,
+ pub dwExclusiveFlags: u32,
+}
+impl ::core::marker::Copy for CERT_CHAIN_ENGINE_CONFIG {}
+impl ::core::clone::Clone for CERT_CHAIN_ENGINE_CONFIG {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_EXCLUSIVE_ENABLE_CA_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_FIND_BY_ISSUER: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_CHAIN_FIND_BY_ISSUER_PARA {
+ pub cbSize: u32,
+ pub pszUsageIdentifier: ::windows_sys::core::PCSTR,
+ pub dwKeySpec: u32,
+ pub dwAcquirePrivateKeyFlags: u32,
+ pub cIssuer: u32,
+ pub rgIssuer: *mut CRYPTOAPI_BLOB,
+ pub pfnFindCallback: PFN_CERT_CHAIN_FIND_BY_ISSUER_CALLBACK,
+ pub pvFindArg: *mut ::core::ffi::c_void,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_CHAIN_FIND_BY_ISSUER_PARA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_CHAIN_FIND_BY_ISSUER_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_HAS_MOTW: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_MAX_AIA_URL_COUNT_IN_CERT_DEFAULT: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_MAX_AIA_URL_COUNT_IN_CERT_VALUE_NAME: &str = "MaxAIAUrlCountInCert";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_BYTE_COUNT_DEFAULT: u32 = 100000u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_BYTE_COUNT_VALUE_NAME: &str = "MaxAIAUrlRetrievalByteCount";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_CERT_COUNT_DEFAULT: u32 = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_CERT_COUNT_VALUE_NAME: &str = "MaxAIAUrlRetrievalCertCount";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_COUNT_PER_CHAIN_DEFAULT: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_COUNT_PER_CHAIN_VALUE_NAME: &str = "MaxAIAUrlRetrievalCountPerChain";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_MAX_SSL_TIME_UPDATED_EVENT_COUNT_DEFAULT: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_MAX_SSL_TIME_UPDATED_EVENT_COUNT_DISABLE: u32 = 4294967295u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_MAX_SSL_TIME_UPDATED_EVENT_COUNT_VALUE_NAME: &str = "MaxSslTimeUpdatedEventCount";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_MAX_URL_RETRIEVAL_BYTE_COUNT_VALUE_NAME: &str = "MaxUrlRetrievalByteCount";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_MIN_PUB_KEY_BIT_LENGTH_DISABLE: u32 = 4294967295u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_MIN_RSA_PUB_KEY_BIT_LENGTH_DEFAULT: u32 = 1023u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_MIN_RSA_PUB_KEY_BIT_LENGTH_DISABLE: u32 = 4294967295u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_MIN_RSA_PUB_KEY_BIT_LENGTH_VALUE_NAME: &str = "MinRsaPubKeyBitLength";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_MOTW_IGNORE_AFTER_TIME_WEAK_FLAG: u32 = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_OCSP_VALIDITY_SECONDS_VALUE_NAME: &str = "OcspValiditySeconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_ONLY_ADDITIONAL_AND_AUTH_ROOT: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_OPTIONS_VALUE_NAME: &str = "Options";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_OPTION_DISABLE_AIA_URL_RETRIEVAL: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_OPTION_ENABLE_SIA_URL_RETRIEVAL: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_OPT_IN_WEAK_FLAGS: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_OPT_IN_WEAK_SIGNATURE: u32 = 65536u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_CHAIN_PARA {
+ pub cbSize: u32,
+ pub RequestedUsage: CERT_USAGE_MATCH,
+}
+impl ::core::marker::Copy for CERT_CHAIN_PARA {}
+impl ::core::clone::Clone for CERT_CHAIN_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_AUTHENTICODE: ::windows_sys::core::PCSTR = 2i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_AUTHENTICODE_TS: ::windows_sys::core::PCSTR = 3i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_BASE: ::windows_sys::core::PCSTR = 1i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_BASIC_CONSTRAINTS: ::windows_sys::core::PCSTR = 5i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_EV: ::windows_sys::core::PCSTR = 8i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CERT_CHAIN_POLICY_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_IGNORE_NOT_TIME_VALID_FLAG: CERT_CHAIN_POLICY_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_IGNORE_CTL_NOT_TIME_VALID_FLAG: CERT_CHAIN_POLICY_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_IGNORE_NOT_TIME_NESTED_FLAG: CERT_CHAIN_POLICY_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_IGNORE_ALL_NOT_TIME_VALID_FLAGS: CERT_CHAIN_POLICY_FLAGS = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_IGNORE_INVALID_BASIC_CONSTRAINTS_FLAG: CERT_CHAIN_POLICY_FLAGS = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_ALLOW_UNKNOWN_CA_FLAG: CERT_CHAIN_POLICY_FLAGS = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_IGNORE_WRONG_USAGE_FLAG: CERT_CHAIN_POLICY_FLAGS = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_IGNORE_INVALID_NAME_FLAG: CERT_CHAIN_POLICY_FLAGS = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_IGNORE_INVALID_POLICY_FLAG: CERT_CHAIN_POLICY_FLAGS = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_IGNORE_END_REV_UNKNOWN_FLAG: CERT_CHAIN_POLICY_FLAGS = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_IGNORE_CTL_SIGNER_REV_UNKNOWN_FLAG: CERT_CHAIN_POLICY_FLAGS = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_IGNORE_CA_REV_UNKNOWN_FLAG: CERT_CHAIN_POLICY_FLAGS = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_IGNORE_ROOT_REV_UNKNOWN_FLAG: CERT_CHAIN_POLICY_FLAGS = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_IGNORE_ALL_REV_UNKNOWN_FLAGS: CERT_CHAIN_POLICY_FLAGS = 3840u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_ALLOW_TESTROOT_FLAG: CERT_CHAIN_POLICY_FLAGS = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_TRUST_TESTROOT_FLAG: CERT_CHAIN_POLICY_FLAGS = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_IGNORE_NOT_SUPPORTED_CRITICAL_EXT_FLAG: CERT_CHAIN_POLICY_FLAGS = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_IGNORE_PEER_TRUST_FLAG: CERT_CHAIN_POLICY_FLAGS = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_IGNORE_WEAK_SIGNATURE_FLAG: u32 = 134217728u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_MICROSOFT_ROOT: ::windows_sys::core::PCSTR = 7i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_NT_AUTH: ::windows_sys::core::PCSTR = 6i32 as _;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_CHAIN_POLICY_PARA {
+ pub cbSize: u32,
+ pub dwFlags: CERT_CHAIN_POLICY_FLAGS,
+ pub pvExtraPolicyPara: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for CERT_CHAIN_POLICY_PARA {}
+impl ::core::clone::Clone for CERT_CHAIN_POLICY_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_SSL: ::windows_sys::core::PCSTR = 4i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_SSL_F12: ::windows_sys::core::PCSTR = 9i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_SSL_F12_ERROR_LEVEL: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_SSL_F12_NONE_CATEGORY: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_SSL_F12_ROOT_PROGRAM_CATEGORY: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_SSL_F12_SUCCESS_LEVEL: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_SSL_F12_WARNING_LEVEL: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_SSL_F12_WEAK_CRYPTO_CATEGORY: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_SSL_HPKP_HEADER: ::windows_sys::core::PCSTR = 10i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_SSL_KEY_PIN: ::windows_sys::core::PCSTR = 12i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_SSL_KEY_PIN_MISMATCH_ERROR: i32 = -2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_SSL_KEY_PIN_MISMATCH_WARNING: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_SSL_KEY_PIN_MITM_ERROR: i32 = -1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_SSL_KEY_PIN_MITM_WARNING: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_SSL_KEY_PIN_SUCCESS: u32 = 0u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_CHAIN_POLICY_STATUS {
+ pub cbSize: u32,
+ pub dwError: u32,
+ pub lChainIndex: i32,
+ pub lElementIndex: i32,
+ pub pvExtraPolicyStatus: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for CERT_CHAIN_POLICY_STATUS {}
+impl ::core::clone::Clone for CERT_CHAIN_POLICY_STATUS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_POLICY_THIRD_PARTY_ROOT: ::windows_sys::core::PCSTR = 11i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_RETURN_LOWER_QUALITY_CONTEXTS: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_REVOCATION_ACCUMULATIVE_TIMEOUT: u32 = 134217728u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_REVOCATION_CHECK_CACHE_ONLY: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_REVOCATION_CHECK_CHAIN: u32 = 536870912u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT: u32 = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_REVOCATION_CHECK_END_CERT: u32 = 268435456u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_REVOCATION_CHECK_OCSP_CERT: u32 = 67108864u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_REV_ACCUMULATIVE_URL_RETRIEVAL_TIMEOUT_MILLISECONDS_VALUE_NAME: &str = "ChainRevAccumulativeUrlRetrievalTimeoutMilliseconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_SERIAL_CHAIN_LOG_FILE_NAME_VALUE_NAME: &str = "SerialChainLogFileName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_SSL_HANDSHAKE_LOG_FILE_NAME_VALUE_NAME: &str = "SslHandshakeLogFileName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_STRONG_SIGN_DISABLE_END_CHECK_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_THREAD_STORE_SYNC: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_TIMESTAMP_TIME: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_URL_RETRIEVAL_TIMEOUT_MILLISECONDS_VALUE_NAME: &str = "ChainUrlRetrievalTimeoutMilliseconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_USE_LOCAL_MACHINE_STORE: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_WEAK_AFTER_TIME_NAME: &str = "AfterTime";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_WEAK_ALL_CONFIG_NAME: &str = "All";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_WEAK_FILE_HASH_AFTER_TIME_NAME: &str = "FileHashAfterTime";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_WEAK_FLAGS_NAME: &str = "Flags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_WEAK_HYGIENE_NAME: &str = "Hygiene";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_WEAK_MIN_BIT_LENGTH_NAME: &str = "MinBitLength";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_WEAK_PREFIX_NAME: &str = "Weak";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_WEAK_RSA_PUB_KEY_TIME_VALUE_NAME: &str = "WeakRsaPubKeyTime";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_WEAK_SHA256_ALLOW_NAME: &str = "Sha256Allow";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_WEAK_SIGNATURE_LOG_DIR_VALUE_NAME: &str = "WeakSignatureLogDir";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_WEAK_THIRD_PARTY_CONFIG_NAME: &str = "ThirdParty";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_WEAK_TIMESTAMP_HASH_AFTER_TIME_NAME: &str = "TimestampHashAfterTime";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CLOSE_STORE_CHECK_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CLOSE_STORE_FORCE_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CLR_DELETE_KEY_PROP_ID: u32 = 125u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_COMPARE_ANY: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_COMPARE_ATTR: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_COMPARE_CERT_ID: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_COMPARE_CROSS_CERT_DIST_POINTS: u32 = 17u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_COMPARE_CTL_USAGE: u32 = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_COMPARE_ENHKEY_USAGE: u32 = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_COMPARE_EXISTING: u32 = 13u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_COMPARE_HASH: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_COMPARE_HASH_STR: u32 = 20u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_COMPARE_HAS_PRIVATE_KEY: u32 = 21u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_COMPARE_ISSUER_OF: u32 = 12u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_COMPARE_KEY_IDENTIFIER: u32 = 15u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_COMPARE_KEY_SPEC: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_COMPARE_MASK: u32 = 65535u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_COMPARE_MD5_HASH: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_COMPARE_NAME: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_COMPARE_NAME_STR_A: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_COMPARE_NAME_STR_W: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_COMPARE_PROPERTY: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_COMPARE_PUBKEY_MD5_HASH: u32 = 18u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_COMPARE_PUBLIC_KEY: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_COMPARE_SHA1_HASH: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_COMPARE_SHIFT: i32 = 16i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_COMPARE_SIGNATURE_HASH: u32 = 14u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_COMPARE_SUBJECT_CERT: u32 = 11u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_COMPARE_SUBJECT_INFO_ACCESS: u32 = 19u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_CONTEXT {
+ pub dwCertEncodingType: u32,
+ pub pbCertEncoded: *mut u8,
+ pub cbCertEncoded: u32,
+ pub pCertInfo: *mut CERT_INFO,
+ pub hCertStore: HCERTSTORE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_CONTEXT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_CONTEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CONTEXT_REVOCATION_TYPE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CERT_CONTROL_STORE_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_CTRL_COMMIT_FORCE_FLAG: CERT_CONTROL_STORE_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_CTRL_COMMIT_CLEAR_FLAG: CERT_CONTROL_STORE_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_CTRL_INHIBIT_DUPLICATE_HANDLE_FLAG: CERT_CONTROL_STORE_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CREATE_CONTEXT_NOCOPY_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CREATE_CONTEXT_NO_ENTRY_FLAG: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CREATE_CONTEXT_NO_HCRYPTMSG_FLAG: u32 = 4u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_CREATE_CONTEXT_PARA {
+ pub cbSize: u32,
+ pub pfnFree: PFN_CRYPT_FREE,
+ pub pvFree: *mut ::core::ffi::c_void,
+ pub pfnSort: PFN_CERT_CREATE_CONTEXT_SORT_FUNC,
+ pub pvSort: *mut ::core::ffi::c_void,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_CREATE_CONTEXT_PARA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_CREATE_CONTEXT_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CREATE_CONTEXT_SORTED_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CERT_CREATE_SELFSIGN_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CREATE_SELFSIGN_NO_KEY_INFO: CERT_CREATE_SELFSIGN_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CREATE_SELFSIGN_NO_SIGN: CERT_CREATE_SELFSIGN_FLAGS = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_CRL_CONTEXT_PAIR {
+ pub pCertContext: *const CERT_CONTEXT,
+ pub pCrlContext: *mut CRL_CONTEXT,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_CRL_CONTEXT_PAIR {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_CRL_CONTEXT_PAIR {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CRL_SIGN_KEY_USAGE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CROSS_CERT_DIST_POINTS_PROP_ID: u32 = 23u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CTL_USAGE_PROP_ID: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_DATA_ENCIPHERMENT_KEY_USAGE: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_DATE_STAMP_PROP_ID: u32 = 27u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_DECIPHER_ONLY_KEY_USAGE: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_DEFAULT_OID_PUBLIC_KEY_SIGN: &str = "1.2.840.113549.1.1.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_DEFAULT_OID_PUBLIC_KEY_XCHG: &str = "1.2.840.113549.1.1.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_DESCRIPTION_PROP_ID: u32 = 13u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_DH_PARAMETERS {
+ pub p: CRYPTOAPI_BLOB,
+ pub g: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CERT_DH_PARAMETERS {}
+impl ::core::clone::Clone for CERT_DH_PARAMETERS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_DIGITAL_SIGNATURE_KEY_USAGE: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_DISABLE_PIN_RULES_AUTO_UPDATE_VALUE_NAME: &str = "DisablePinRulesAutoUpdate";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_DISABLE_ROOT_AUTO_UPDATE_VALUE_NAME: &str = "DisableRootAutoUpdate";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_DISALLOWED_CERT_AUTO_UPDATE_ENCODED_CTL_VALUE_NAME: &str = "DisallowedCertEncodedCtl";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_DISALLOWED_CERT_AUTO_UPDATE_LAST_SYNC_TIME_VALUE_NAME: &str = "DisallowedCertLastSyncTime";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_DISALLOWED_CERT_AUTO_UPDATE_LIST_IDENTIFIER: &str = "DisallowedCert_AutoUpdate_1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_DISALLOWED_CERT_AUTO_UPDATE_SYNC_DELTA_TIME_VALUE_NAME: &str = "DisallowedCertSyncDeltaTime";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_DISALLOWED_CERT_CAB_FILENAME: &str = "disallowedcertstl.cab";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_DISALLOWED_CERT_CTL_FILENAME: &str = "disallowedcert.stl";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_DISALLOWED_CERT_CTL_FILENAME_A: &str = "disallowedcert.stl";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_DISALLOWED_ENHKEY_USAGE_PROP_ID: u32 = 122u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_DISALLOWED_FILETIME_PROP_ID: u32 = 104u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_DSS_PARAMETERS {
+ pub p: CRYPTOAPI_BLOB,
+ pub q: CRYPTOAPI_BLOB,
+ pub g: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CERT_DSS_PARAMETERS {}
+impl ::core::clone::Clone for CERT_DSS_PARAMETERS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_DSS_R_LEN: u32 = 20u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_DSS_S_LEN: u32 = 20u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_ECC_SIGNATURE {
+ pub r: CRYPTOAPI_BLOB,
+ pub s: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CERT_ECC_SIGNATURE {}
+impl ::core::clone::Clone for CERT_ECC_SIGNATURE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_EFSBLOB_VALUE_NAME: &str = "EFSBlob";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_EFS_PROP_ID: u32 = 17u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ENABLE_DISALLOWED_CERT_AUTO_UPDATE_VALUE_NAME: &str = "EnableDisallowedCertAutoUpdate";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ENCIPHER_ONLY_KEY_USAGE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ENCODING_TYPE_MASK: u32 = 65535u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_END_ENTITY_SUBJECT_FLAG: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ENHKEY_USAGE_PROP_ID: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ENROLLMENT_PROP_ID: u32 = 26u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_EXCLUDED_SUBTREE_BIT: i32 = -2147483648i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_EXTENDED_ERROR_INFO_PROP_ID: u32 = 30u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_EXTENSION {
+ pub pszObjId: ::windows_sys::core::PSTR,
+ pub fCritical: super::super::Foundation::BOOL,
+ pub Value: CRYPTOAPI_BLOB,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_EXTENSION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_EXTENSION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_EXTENSIONS {
+ pub cExtension: u32,
+ pub rgExtension: *mut CERT_EXTENSION,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_EXTENSIONS {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_EXTENSIONS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FILE_HASH_USE_TYPE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FILE_STORE_COMMIT_ENABLE_FLAG: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CERT_FIND_CHAIN_IN_STORE_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_FIND_BY_ISSUER_COMPARE_KEY_FLAG: CERT_FIND_CHAIN_IN_STORE_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_FIND_BY_ISSUER_COMPLEX_CHAIN_FLAG: CERT_FIND_CHAIN_IN_STORE_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_FIND_BY_ISSUER_CACHE_ONLY_FLAG: CERT_FIND_CHAIN_IN_STORE_FLAGS = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_FIND_BY_ISSUER_CACHE_ONLY_URL_FLAG: CERT_FIND_CHAIN_IN_STORE_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_FIND_BY_ISSUER_LOCAL_MACHINE_FLAG: CERT_FIND_CHAIN_IN_STORE_FLAGS = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_CHAIN_FIND_BY_ISSUER_NO_KEY_FLAG: CERT_FIND_CHAIN_IN_STORE_FLAGS = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CERT_FIND_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_ANY: CERT_FIND_FLAGS = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_CERT_ID: CERT_FIND_FLAGS = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_CTL_USAGE: CERT_FIND_FLAGS = 655360u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_ENHKEY_USAGE: CERT_FIND_FLAGS = 655360u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_EXISTING: CERT_FIND_FLAGS = 851968u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_HASH: CERT_FIND_FLAGS = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_HAS_PRIVATE_KEY: CERT_FIND_FLAGS = 1376256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_ISSUER_ATTR: CERT_FIND_FLAGS = 196612u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_ISSUER_NAME: CERT_FIND_FLAGS = 131076u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_ISSUER_OF: CERT_FIND_FLAGS = 786432u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_ISSUER_STR: CERT_FIND_FLAGS = 524292u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_KEY_IDENTIFIER: CERT_FIND_FLAGS = 983040u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_KEY_SPEC: CERT_FIND_FLAGS = 589824u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_MD5_HASH: CERT_FIND_FLAGS = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_PROPERTY: CERT_FIND_FLAGS = 327680u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_PUBLIC_KEY: CERT_FIND_FLAGS = 393216u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_SHA1_HASH: CERT_FIND_FLAGS = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_SIGNATURE_HASH: CERT_FIND_FLAGS = 917504u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_SUBJECT_ATTR: CERT_FIND_FLAGS = 196615u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_SUBJECT_CERT: CERT_FIND_FLAGS = 720896u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_SUBJECT_NAME: CERT_FIND_FLAGS = 131079u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_SUBJECT_STR: CERT_FIND_FLAGS = 524295u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_CROSS_CERT_DIST_POINTS: CERT_FIND_FLAGS = 1114112u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_PUBKEY_MD5_HASH: CERT_FIND_FLAGS = 1179648u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_SUBJECT_STR_A: CERT_FIND_FLAGS = 458759u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_SUBJECT_STR_W: CERT_FIND_FLAGS = 524295u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_ISSUER_STR_A: CERT_FIND_FLAGS = 458756u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_ISSUER_STR_W: CERT_FIND_FLAGS = 524292u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_SUBJECT_INFO_ACCESS: CERT_FIND_FLAGS = 1245184u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_HASH_STR: CERT_FIND_FLAGS = 1310720u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_OPTIONAL_ENHKEY_USAGE_FLAG: CERT_FIND_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_EXT_ONLY_ENHKEY_USAGE_FLAG: CERT_FIND_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_PROP_ONLY_ENHKEY_USAGE_FLAG: CERT_FIND_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_NO_ENHKEY_USAGE_FLAG: CERT_FIND_FLAGS = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_OR_ENHKEY_USAGE_FLAG: CERT_FIND_FLAGS = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_VALID_ENHKEY_USAGE_FLAG: CERT_FIND_FLAGS = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_OPTIONAL_CTL_USAGE_FLAG: CERT_FIND_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_EXT_ONLY_CTL_USAGE_FLAG: CERT_FIND_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_PROP_ONLY_CTL_USAGE_FLAG: CERT_FIND_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_NO_CTL_USAGE_FLAG: CERT_FIND_FLAGS = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_OR_CTL_USAGE_FLAG: CERT_FIND_FLAGS = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIND_VALID_CTL_USAGE_FLAG: CERT_FIND_FLAGS = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CERT_FIND_TYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CTL_FIND_ANY: CERT_FIND_TYPE = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CTL_FIND_SHA1_HASH: CERT_FIND_TYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CTL_FIND_MD5_HASH: CERT_FIND_TYPE = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CTL_FIND_USAGE: CERT_FIND_TYPE = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CTL_FIND_SAME_USAGE_FLAG: CERT_FIND_TYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CTL_FIND_EXISTING: CERT_FIND_TYPE = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CTL_FIND_SUBJECT: CERT_FIND_TYPE = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIRST_RESERVED_PROP_ID: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FIRST_USER_PROP_ID: u32 = 32768u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_FORTEZZA_DATA_PROP {
+ pub SerialNumber: [u8; 8],
+ pub CertIndex: i32,
+ pub CertLabel: [u8; 36],
+}
+impl ::core::marker::Copy for CERT_FORTEZZA_DATA_PROP {}
+impl ::core::clone::Clone for CERT_FORTEZZA_DATA_PROP {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FORTEZZA_DATA_PROP_ID: u32 = 18u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_FRIENDLY_NAME_PROP_ID: u32 = 11u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_GENERAL_SUBTREE {
+ pub Base: CERT_ALT_NAME_ENTRY,
+ pub dwMinimum: u32,
+ pub fMaximum: super::super::Foundation::BOOL,
+ pub dwMaximum: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_GENERAL_SUBTREE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_GENERAL_SUBTREE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_GROUP_POLICY_SYSTEM_STORE_REGPATH: &str = "Software\\Policies\\Microsoft\\SystemCertificates";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_HASHED_URL {
+ pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub Hash: CRYPTOAPI_BLOB,
+ pub pwszUrl: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for CERT_HASHED_URL {}
+impl ::core::clone::Clone for CERT_HASHED_URL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_HASH_PROP_ID: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_HCRYPTPROV_OR_NCRYPT_KEY_HANDLE_PROP_ID: u32 = 79u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_HCRYPTPROV_TRANSFER_PROP_ID: u32 = 100u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_ID {
+ pub dwIdChoice: CERT_ID_OPTION,
+ pub Anonymous: CERT_ID_0,
+}
+impl ::core::marker::Copy for CERT_ID {}
+impl ::core::clone::Clone for CERT_ID {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub union CERT_ID_0 {
+ pub IssuerSerialNumber: CERT_ISSUER_SERIAL_NUMBER,
+ pub KeyId: CRYPTOAPI_BLOB,
+ pub HashId: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CERT_ID_0 {}
+impl ::core::clone::Clone for CERT_ID_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CERT_ID_OPTION = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ID_ISSUER_SERIAL_NUMBER: CERT_ID_OPTION = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ID_KEY_IDENTIFIER: CERT_ID_OPTION = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ID_SHA1_HASH: CERT_ID_OPTION = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_IE30_RESERVED_PROP_ID: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_IE_DIRTY_FLAGS_REGPATH: &str = "Software\\Microsoft\\Cryptography\\IEDirtyFlags";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_INFO {
+ pub dwVersion: u32,
+ pub SerialNumber: CRYPTOAPI_BLOB,
+ pub SignatureAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub Issuer: CRYPTOAPI_BLOB,
+ pub NotBefore: super::super::Foundation::FILETIME,
+ pub NotAfter: super::super::Foundation::FILETIME,
+ pub Subject: CRYPTOAPI_BLOB,
+ pub SubjectPublicKeyInfo: CERT_PUBLIC_KEY_INFO,
+ pub IssuerUniqueId: CRYPT_BIT_BLOB,
+ pub SubjectUniqueId: CRYPT_BIT_BLOB,
+ pub cExtension: u32,
+ pub rgExtension: *mut CERT_EXTENSION,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_INFO_EXTENSION_FLAG: u32 = 11u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_INFO_ISSUER_FLAG: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_INFO_ISSUER_UNIQUE_ID_FLAG: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_INFO_NOT_AFTER_FLAG: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_INFO_NOT_BEFORE_FLAG: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_INFO_SERIAL_NUMBER_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_INFO_SIGNATURE_ALGORITHM_FLAG: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_INFO_SUBJECT_FLAG: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_INFO_SUBJECT_PUBLIC_KEY_INFO_FLAG: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_INFO_SUBJECT_UNIQUE_ID_FLAG: u32 = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_INFO_VERSION_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ISOLATED_KEY_PROP_ID: u32 = 118u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ISSUER_CHAIN_PUB_KEY_CNG_ALG_BIT_LENGTH_PROP_ID: u32 = 96u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ISSUER_CHAIN_SIGN_HASH_CNG_ALG_PROP_ID: u32 = 95u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ISSUER_PUBLIC_KEY_MD5_HASH_PROP_ID: u32 = 24u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ISSUER_PUB_KEY_BIT_LENGTH_PROP_ID: u32 = 94u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_ISSUER_SERIAL_NUMBER {
+ pub Issuer: CRYPTOAPI_BLOB,
+ pub SerialNumber: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CERT_ISSUER_SERIAL_NUMBER {}
+impl ::core::clone::Clone for CERT_ISSUER_SERIAL_NUMBER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ISSUER_SERIAL_NUMBER_MD5_HASH_PROP_ID: u32 = 28u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_KEYGEN_REQUEST_INFO {
+ pub dwVersion: u32,
+ pub SubjectPublicKeyInfo: CERT_PUBLIC_KEY_INFO,
+ pub pwszChallengeString: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for CERT_KEYGEN_REQUEST_INFO {}
+impl ::core::clone::Clone for CERT_KEYGEN_REQUEST_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_KEYGEN_REQUEST_V1: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_KEY_AGREEMENT_KEY_USAGE: u32 = 8u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_KEY_ATTRIBUTES_INFO {
+ pub KeyId: CRYPTOAPI_BLOB,
+ pub IntendedKeyUsage: CRYPT_BIT_BLOB,
+ pub pPrivateKeyUsagePeriod: *mut CERT_PRIVATE_KEY_VALIDITY,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_KEY_ATTRIBUTES_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_KEY_ATTRIBUTES_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_KEY_CERT_SIGN_KEY_USAGE: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_KEY_CLASSIFICATION_PROP_ID: u32 = 120u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_KEY_CONTEXT {
+ pub cbSize: u32,
+ pub Anonymous: CERT_KEY_CONTEXT_0,
+ pub dwKeySpec: u32,
+}
+impl ::core::marker::Copy for CERT_KEY_CONTEXT {}
+impl ::core::clone::Clone for CERT_KEY_CONTEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub union CERT_KEY_CONTEXT_0 {
+ pub hCryptProv: usize,
+ pub hNCryptKey: NCRYPT_KEY_HANDLE,
+}
+impl ::core::marker::Copy for CERT_KEY_CONTEXT_0 {}
+impl ::core::clone::Clone for CERT_KEY_CONTEXT_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_KEY_CONTEXT_PROP_ID: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_KEY_ENCIPHERMENT_KEY_USAGE: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_KEY_IDENTIFIER_PROP_ID: u32 = 20u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_KEY_PROV_HANDLE_PROP_ID: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_KEY_PROV_INFO_PROP_ID: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_KEY_REPAIR_ATTEMPTED_PROP_ID: u32 = 103u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CERT_KEY_SPEC = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const AT_KEYEXCHANGE: CERT_KEY_SPEC = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const AT_SIGNATURE: CERT_KEY_SPEC = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NCRYPT_KEY_SPEC: CERT_KEY_SPEC = 4294967295u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_KEY_SPEC_PROP_ID: u32 = 6u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_KEY_USAGE_RESTRICTION_INFO {
+ pub cCertPolicyId: u32,
+ pub rgCertPolicyId: *mut CERT_POLICY_ID,
+ pub RestrictedKeyUsage: CRYPT_BIT_BLOB,
+}
+impl ::core::marker::Copy for CERT_KEY_USAGE_RESTRICTION_INFO {}
+impl ::core::clone::Clone for CERT_KEY_USAGE_RESTRICTION_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_LAST_RESERVED_PROP_ID: u32 = 32767u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_LAST_USER_PROP_ID: u32 = 65535u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_LDAP_STORE_AREC_EXCLUSIVE_FLAG: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_LDAP_STORE_OPENED_FLAG: u32 = 262144u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_LDAP_STORE_OPENED_PARA {
+ pub pvLdapSessionHandle: *mut ::core::ffi::c_void,
+ pub pwszLdapUrl: ::windows_sys::core::PCWSTR,
+}
+impl ::core::marker::Copy for CERT_LDAP_STORE_OPENED_PARA {}
+impl ::core::clone::Clone for CERT_LDAP_STORE_OPENED_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_LDAP_STORE_SIGN_FLAG: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_LDAP_STORE_UNBIND_FLAG: u32 = 524288u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_LOCAL_MACHINE_SYSTEM_STORE_REGPATH: &str = "Software\\Microsoft\\SystemCertificates";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_LOGOTYPE_AUDIO {
+ pub LogotypeDetails: CERT_LOGOTYPE_DETAILS,
+ pub pLogotypeAudioInfo: *mut CERT_LOGOTYPE_AUDIO_INFO,
+}
+impl ::core::marker::Copy for CERT_LOGOTYPE_AUDIO {}
+impl ::core::clone::Clone for CERT_LOGOTYPE_AUDIO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_LOGOTYPE_AUDIO_INFO {
+ pub dwFileSize: u32,
+ pub dwPlayTime: u32,
+ pub dwChannels: u32,
+ pub dwSampleRate: u32,
+ pub pwszLanguage: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for CERT_LOGOTYPE_AUDIO_INFO {}
+impl ::core::clone::Clone for CERT_LOGOTYPE_AUDIO_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CERT_LOGOTYPE_CHOICE = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_LOGOTYPE_NO_IMAGE_RESOLUTION_CHOICE: CERT_LOGOTYPE_CHOICE = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_LOGOTYPE_BITS_IMAGE_RESOLUTION_CHOICE: CERT_LOGOTYPE_CHOICE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_LOGOTYPE_TABLE_SIZE_IMAGE_RESOLUTION_CHOICE: CERT_LOGOTYPE_CHOICE = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_LOGOTYPE_DATA {
+ pub cLogotypeImage: u32,
+ pub rgLogotypeImage: *mut CERT_LOGOTYPE_IMAGE,
+ pub cLogotypeAudio: u32,
+ pub rgLogotypeAudio: *mut CERT_LOGOTYPE_AUDIO,
+}
+impl ::core::marker::Copy for CERT_LOGOTYPE_DATA {}
+impl ::core::clone::Clone for CERT_LOGOTYPE_DATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_LOGOTYPE_DETAILS {
+ pub pwszMimeType: ::windows_sys::core::PWSTR,
+ pub cHashedUrl: u32,
+ pub rgHashedUrl: *mut CERT_HASHED_URL,
+}
+impl ::core::marker::Copy for CERT_LOGOTYPE_DETAILS {}
+impl ::core::clone::Clone for CERT_LOGOTYPE_DETAILS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_LOGOTYPE_EXT_INFO {
+ pub cCommunityLogo: u32,
+ pub rgCommunityLogo: *mut CERT_LOGOTYPE_INFO,
+ pub pIssuerLogo: *mut CERT_LOGOTYPE_INFO,
+ pub pSubjectLogo: *mut CERT_LOGOTYPE_INFO,
+ pub cOtherLogo: u32,
+ pub rgOtherLogo: *mut CERT_OTHER_LOGOTYPE_INFO,
+}
+impl ::core::marker::Copy for CERT_LOGOTYPE_EXT_INFO {}
+impl ::core::clone::Clone for CERT_LOGOTYPE_EXT_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_LOGOTYPE_IMAGE {
+ pub LogotypeDetails: CERT_LOGOTYPE_DETAILS,
+ pub pLogotypeImageInfo: *mut CERT_LOGOTYPE_IMAGE_INFO,
+}
+impl ::core::marker::Copy for CERT_LOGOTYPE_IMAGE {}
+impl ::core::clone::Clone for CERT_LOGOTYPE_IMAGE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_LOGOTYPE_IMAGE_INFO {
+ pub dwLogotypeImageInfoChoice: CERT_LOGOTYPE_IMAGE_INFO_TYPE,
+ pub dwFileSize: u32,
+ pub dwXSize: u32,
+ pub dwYSize: u32,
+ pub dwLogotypeImageResolutionChoice: CERT_LOGOTYPE_CHOICE,
+ pub Anonymous: CERT_LOGOTYPE_IMAGE_INFO_0,
+ pub pwszLanguage: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for CERT_LOGOTYPE_IMAGE_INFO {}
+impl ::core::clone::Clone for CERT_LOGOTYPE_IMAGE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub union CERT_LOGOTYPE_IMAGE_INFO_0 {
+ pub dwNumBits: u32,
+ pub dwTableSize: u32,
+}
+impl ::core::marker::Copy for CERT_LOGOTYPE_IMAGE_INFO_0 {}
+impl ::core::clone::Clone for CERT_LOGOTYPE_IMAGE_INFO_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CERT_LOGOTYPE_IMAGE_INFO_TYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_LOGOTYPE_GRAY_SCALE_IMAGE_INFO_CHOICE: CERT_LOGOTYPE_IMAGE_INFO_TYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_LOGOTYPE_COLOR_IMAGE_INFO_CHOICE: CERT_LOGOTYPE_IMAGE_INFO_TYPE = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_LOGOTYPE_INFO {
+ pub dwLogotypeInfoChoice: CERT_LOGOTYPE_OPTION,
+ pub Anonymous: CERT_LOGOTYPE_INFO_0,
+}
+impl ::core::marker::Copy for CERT_LOGOTYPE_INFO {}
+impl ::core::clone::Clone for CERT_LOGOTYPE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub union CERT_LOGOTYPE_INFO_0 {
+ pub pLogotypeDirectInfo: *mut CERT_LOGOTYPE_DATA,
+ pub pLogotypeIndirectInfo: *mut CERT_LOGOTYPE_REFERENCE,
+}
+impl ::core::marker::Copy for CERT_LOGOTYPE_INFO_0 {}
+impl ::core::clone::Clone for CERT_LOGOTYPE_INFO_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CERT_LOGOTYPE_OPTION = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_LOGOTYPE_DIRECT_INFO_CHOICE: CERT_LOGOTYPE_OPTION = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_LOGOTYPE_INDIRECT_INFO_CHOICE: CERT_LOGOTYPE_OPTION = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_LOGOTYPE_REFERENCE {
+ pub cHashedUrl: u32,
+ pub rgHashedUrl: *mut CERT_HASHED_URL,
+}
+impl ::core::marker::Copy for CERT_LOGOTYPE_REFERENCE {}
+impl ::core::clone::Clone for CERT_LOGOTYPE_REFERENCE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_MD5_HASH_PROP_ID: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NAME_ATTR_TYPE: u32 = 3u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_NAME_CONSTRAINTS_INFO {
+ pub cPermittedSubtree: u32,
+ pub rgPermittedSubtree: *mut CERT_GENERAL_SUBTREE,
+ pub cExcludedSubtree: u32,
+ pub rgExcludedSubtree: *mut CERT_GENERAL_SUBTREE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_NAME_CONSTRAINTS_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_NAME_CONSTRAINTS_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NAME_DISABLE_IE4_UTF8_FLAG: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NAME_DNS_TYPE: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NAME_EMAIL_TYPE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NAME_FRIENDLY_DISPLAY_TYPE: u32 = 5u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_NAME_INFO {
+ pub cRDN: u32,
+ pub rgRDN: *mut CERT_RDN,
+}
+impl ::core::marker::Copy for CERT_NAME_INFO {}
+impl ::core::clone::Clone for CERT_NAME_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NAME_ISSUER_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NAME_RDN_TYPE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NAME_SEARCH_ALL_NAMES_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NAME_SIMPLE_DISPLAY_TYPE: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NAME_STR_COMMA_FLAG: u32 = 67108864u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NAME_STR_CRLF_FLAG: u32 = 134217728u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NAME_STR_DISABLE_IE4_UTF8_FLAG: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NAME_STR_DISABLE_UTF8_DIR_STR_FLAG: u32 = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NAME_STR_ENABLE_PUNYCODE_FLAG: u32 = 2097152u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NAME_STR_ENABLE_T61_UNICODE_FLAG: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NAME_STR_ENABLE_UTF8_UNICODE_FLAG: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NAME_STR_FORCE_UTF8_DIR_STR_FLAG: u32 = 524288u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NAME_STR_FORWARD_FLAG: u32 = 16777216u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NAME_STR_NO_PLUS_FLAG: u32 = 536870912u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NAME_STR_NO_QUOTING_FLAG: u32 = 268435456u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NAME_STR_REVERSE_FLAG: u32 = 33554432u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NAME_STR_SEMICOLON_FLAG: u32 = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NAME_UPN_TYPE: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NAME_URL_TYPE: u32 = 7u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_NAME_VALUE {
+ pub dwValueType: u32,
+ pub Value: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CERT_NAME_VALUE {}
+impl ::core::clone::Clone for CERT_NAME_VALUE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NCRYPT_KEY_HANDLE_PROP_ID: u32 = 78u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NCRYPT_KEY_HANDLE_TRANSFER_PROP_ID: u32 = 99u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NEW_KEY_PROP_ID: u32 = 74u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NEXT_UPDATE_LOCATION_PROP_ID: u32 = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NONCOMPLIANT_ROOT_URL_PROP_ID: u32 = 123u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NON_REPUDIATION_KEY_USAGE: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NOT_BEFORE_ENHKEY_USAGE_PROP_ID: u32 = 127u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NOT_BEFORE_FILETIME_PROP_ID: u32 = 126u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NO_AUTO_EXPIRE_CHECK_PROP_ID: u32 = 77u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_NO_EXPIRE_NOTIFICATION_PROP_ID: u32 = 97u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_OCM_SUBCOMPONENTS_LOCAL_MACHINE_REGPATH: &str = "SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Setup\\OC Manager\\Subcomponents";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_OCM_SUBCOMPONENTS_ROOT_AUTO_UPDATE_VALUE_NAME: &str = "RootAutoUpdate";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_OCSP_CACHE_PREFIX_PROP_ID: u32 = 75u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_OCSP_MUST_STAPLE_PROP_ID: u32 = 121u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_OCSP_RESPONSE_PROP_ID: u32 = 70u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_OFFLINE_CRL_SIGN_KEY_USAGE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CERT_OPEN_STORE_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_BACKUP_RESTORE_FLAG: CERT_OPEN_STORE_FLAGS = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_CREATE_NEW_FLAG: CERT_OPEN_STORE_FLAGS = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_DEFER_CLOSE_UNTIL_LAST_FREE_FLAG: CERT_OPEN_STORE_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_DELETE_FLAG: CERT_OPEN_STORE_FLAGS = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_ENUM_ARCHIVED_FLAG: CERT_OPEN_STORE_FLAGS = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_MAXIMUM_ALLOWED_FLAG: CERT_OPEN_STORE_FLAGS = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_NO_CRYPT_RELEASE_FLAG: CERT_OPEN_STORE_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_OPEN_EXISTING_FLAG: CERT_OPEN_STORE_FLAGS = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_READONLY_FLAG: CERT_OPEN_STORE_FLAGS = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_SET_LOCALIZED_NAME_FLAG: CERT_OPEN_STORE_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_SHARE_CONTEXT_FLAG: CERT_OPEN_STORE_FLAGS = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_UPDATE_KEYID_FLAG: CERT_OPEN_STORE_FLAGS = 1024u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_OR_CRL_BLOB {
+ pub dwChoice: u32,
+ pub cbEncoded: u32,
+ pub pbEncoded: *mut u8,
+}
+impl ::core::marker::Copy for CERT_OR_CRL_BLOB {}
+impl ::core::clone::Clone for CERT_OR_CRL_BLOB {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_OR_CRL_BUNDLE {
+ pub cItem: u32,
+ pub rgItem: *mut CERT_OR_CRL_BLOB,
+}
+impl ::core::marker::Copy for CERT_OR_CRL_BUNDLE {}
+impl ::core::clone::Clone for CERT_OR_CRL_BUNDLE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_OTHER_LOGOTYPE_INFO {
+ pub pszObjId: ::windows_sys::core::PSTR,
+ pub LogotypeInfo: CERT_LOGOTYPE_INFO,
+}
+impl ::core::marker::Copy for CERT_OTHER_LOGOTYPE_INFO {}
+impl ::core::clone::Clone for CERT_OTHER_LOGOTYPE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_OTHER_NAME {
+ pub pszObjId: ::windows_sys::core::PSTR,
+ pub Value: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CERT_OTHER_NAME {}
+impl ::core::clone::Clone for CERT_OTHER_NAME {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_PAIR {
+ pub Forward: CRYPTOAPI_BLOB,
+ pub Reverse: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CERT_PAIR {}
+impl ::core::clone::Clone for CERT_PAIR {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PHYSICAL_STORE_ADD_ENABLE_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PHYSICAL_STORE_AUTH_ROOT_NAME: &str = ".AuthRoot";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PHYSICAL_STORE_DEFAULT_NAME: &str = ".Default";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PHYSICAL_STORE_DS_USER_CERTIFICATE_NAME: &str = ".UserCertificate";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PHYSICAL_STORE_ENTERPRISE_NAME: &str = ".Enterprise";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PHYSICAL_STORE_GROUP_POLICY_NAME: &str = ".GroupPolicy";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_PHYSICAL_STORE_INFO {
+ pub cbSize: u32,
+ pub pszOpenStoreProvider: ::windows_sys::core::PSTR,
+ pub dwOpenEncodingType: u32,
+ pub dwOpenFlags: u32,
+ pub OpenParameters: CRYPTOAPI_BLOB,
+ pub dwFlags: u32,
+ pub dwPriority: u32,
+}
+impl ::core::marker::Copy for CERT_PHYSICAL_STORE_INFO {}
+impl ::core::clone::Clone for CERT_PHYSICAL_STORE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PHYSICAL_STORE_INSERT_COMPUTER_NAME_ENABLE_FLAG: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PHYSICAL_STORE_LOCAL_MACHINE_GROUP_POLICY_NAME: &str = ".LocalMachineGroupPolicy";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PHYSICAL_STORE_LOCAL_MACHINE_NAME: &str = ".LocalMachine";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PHYSICAL_STORE_OPEN_DISABLE_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PHYSICAL_STORE_PREDEFINED_ENUM_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PHYSICAL_STORE_REMOTE_OPEN_DISABLE_FLAG: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PHYSICAL_STORE_SMART_CARD_NAME: &str = ".SmartCard";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PIN_RULES_AUTO_UPDATE_ENCODED_CTL_VALUE_NAME: &str = "PinRulesEncodedCtl";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PIN_RULES_AUTO_UPDATE_LAST_SYNC_TIME_VALUE_NAME: &str = "PinRulesLastSyncTime";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PIN_RULES_AUTO_UPDATE_LIST_IDENTIFIER: &str = "PinRules_AutoUpdate_1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PIN_RULES_AUTO_UPDATE_SYNC_DELTA_TIME_VALUE_NAME: &str = "PinRulesSyncDeltaTime";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PIN_RULES_CAB_FILENAME: &str = "pinrulesstl.cab";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PIN_RULES_CTL_FILENAME: &str = "pinrules.stl";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PIN_RULES_CTL_FILENAME_A: &str = "pinrules.stl";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PIN_SHA256_HASH_PROP_ID: u32 = 124u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_POLICIES_INFO {
+ pub cPolicyInfo: u32,
+ pub rgPolicyInfo: *mut CERT_POLICY_INFO,
+}
+impl ::core::marker::Copy for CERT_POLICIES_INFO {}
+impl ::core::clone::Clone for CERT_POLICIES_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_POLICY95_QUALIFIER1 {
+ pub pszPracticesReference: ::windows_sys::core::PWSTR,
+ pub pszNoticeIdentifier: ::windows_sys::core::PSTR,
+ pub pszNSINoticeIdentifier: ::windows_sys::core::PSTR,
+ pub cCPSURLs: u32,
+ pub rgCPSURLs: *mut CPS_URLS,
+}
+impl ::core::marker::Copy for CERT_POLICY95_QUALIFIER1 {}
+impl ::core::clone::Clone for CERT_POLICY95_QUALIFIER1 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_POLICY_CONSTRAINTS_INFO {
+ pub fRequireExplicitPolicy: super::super::Foundation::BOOL,
+ pub dwRequireExplicitPolicySkipCerts: u32,
+ pub fInhibitPolicyMapping: super::super::Foundation::BOOL,
+ pub dwInhibitPolicyMappingSkipCerts: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_POLICY_CONSTRAINTS_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_POLICY_CONSTRAINTS_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_POLICY_ID {
+ pub cCertPolicyElementId: u32,
+ pub rgpszCertPolicyElementId: *mut ::windows_sys::core::PSTR,
+}
+impl ::core::marker::Copy for CERT_POLICY_ID {}
+impl ::core::clone::Clone for CERT_POLICY_ID {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_POLICY_INFO {
+ pub pszPolicyIdentifier: ::windows_sys::core::PSTR,
+ pub cPolicyQualifier: u32,
+ pub rgPolicyQualifier: *mut CERT_POLICY_QUALIFIER_INFO,
+}
+impl ::core::marker::Copy for CERT_POLICY_INFO {}
+impl ::core::clone::Clone for CERT_POLICY_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_POLICY_MAPPING {
+ pub pszIssuerDomainPolicy: ::windows_sys::core::PSTR,
+ pub pszSubjectDomainPolicy: ::windows_sys::core::PSTR,
+}
+impl ::core::marker::Copy for CERT_POLICY_MAPPING {}
+impl ::core::clone::Clone for CERT_POLICY_MAPPING {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_POLICY_MAPPINGS_INFO {
+ pub cPolicyMapping: u32,
+ pub rgPolicyMapping: *mut CERT_POLICY_MAPPING,
+}
+impl ::core::marker::Copy for CERT_POLICY_MAPPINGS_INFO {}
+impl ::core::clone::Clone for CERT_POLICY_MAPPINGS_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_POLICY_QUALIFIER_INFO {
+ pub pszPolicyQualifierId: ::windows_sys::core::PSTR,
+ pub Qualifier: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CERT_POLICY_QUALIFIER_INFO {}
+impl ::core::clone::Clone for CERT_POLICY_QUALIFIER_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_POLICY_QUALIFIER_NOTICE_REFERENCE {
+ pub pszOrganization: ::windows_sys::core::PSTR,
+ pub cNoticeNumbers: u32,
+ pub rgNoticeNumbers: *mut i32,
+}
+impl ::core::marker::Copy for CERT_POLICY_QUALIFIER_NOTICE_REFERENCE {}
+impl ::core::clone::Clone for CERT_POLICY_QUALIFIER_NOTICE_REFERENCE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_POLICY_QUALIFIER_USER_NOTICE {
+ pub pNoticeReference: *mut CERT_POLICY_QUALIFIER_NOTICE_REFERENCE,
+ pub pszDisplayText: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for CERT_POLICY_QUALIFIER_USER_NOTICE {}
+impl ::core::clone::Clone for CERT_POLICY_QUALIFIER_USER_NOTICE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_PRIVATE_KEY_VALIDITY {
+ pub NotBefore: super::super::Foundation::FILETIME,
+ pub NotAfter: super::super::Foundation::FILETIME,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_PRIVATE_KEY_VALIDITY {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_PRIVATE_KEY_VALIDITY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PROT_ROOT_DISABLE_CURRENT_USER_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PROT_ROOT_DISABLE_LM_AUTH_FLAG: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PROT_ROOT_DISABLE_NOT_DEFINED_NAME_CONSTRAINT_FLAG: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PROT_ROOT_DISABLE_NT_AUTH_REQUIRED_FLAG: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PROT_ROOT_DISABLE_PEER_TRUST: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PROT_ROOT_FLAGS_VALUE_NAME: &str = "Flags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PROT_ROOT_INHIBIT_ADD_AT_INIT_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PROT_ROOT_INHIBIT_PURGE_LM_FLAG: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PROT_ROOT_ONLY_LM_GPT_FLAG: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PROT_ROOT_PEER_USAGES_VALUE_NAME: &str = "PeerUsages";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PROT_ROOT_PEER_USAGES_VALUE_NAME_A: &str = "PeerUsages";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PUBKEY_ALG_PARA_PROP_ID: u32 = 22u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PUBKEY_HASH_RESERVED_PROP_ID: u32 = 8u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_PUBLIC_KEY_INFO {
+ pub Algorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub PublicKey: CRYPT_BIT_BLOB,
+}
+impl ::core::marker::Copy for CERT_PUBLIC_KEY_INFO {}
+impl ::core::clone::Clone for CERT_PUBLIC_KEY_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PUB_KEY_CNG_ALG_BIT_LENGTH_PROP_ID: u32 = 93u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_PVK_FILE_PROP_ID: u32 = 12u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_QC_STATEMENT {
+ pub pszStatementId: ::windows_sys::core::PSTR,
+ pub StatementInfo: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CERT_QC_STATEMENT {}
+impl ::core::clone::Clone for CERT_QC_STATEMENT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_QC_STATEMENTS_EXT_INFO {
+ pub cStatement: u32,
+ pub rgStatement: *mut CERT_QC_STATEMENT,
+}
+impl ::core::marker::Copy for CERT_QC_STATEMENTS_EXT_INFO {}
+impl ::core::clone::Clone for CERT_QC_STATEMENTS_EXT_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CERT_QUERY_CONTENT_TYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_CERT: CERT_QUERY_CONTENT_TYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_CTL: CERT_QUERY_CONTENT_TYPE = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_CRL: CERT_QUERY_CONTENT_TYPE = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_SERIALIZED_STORE: CERT_QUERY_CONTENT_TYPE = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_SERIALIZED_CERT: CERT_QUERY_CONTENT_TYPE = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_SERIALIZED_CTL: CERT_QUERY_CONTENT_TYPE = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_SERIALIZED_CRL: CERT_QUERY_CONTENT_TYPE = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_PKCS7_SIGNED: CERT_QUERY_CONTENT_TYPE = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_PKCS7_UNSIGNED: CERT_QUERY_CONTENT_TYPE = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_PKCS7_SIGNED_EMBED: CERT_QUERY_CONTENT_TYPE = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_PKCS10: CERT_QUERY_CONTENT_TYPE = 11u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_PFX: CERT_QUERY_CONTENT_TYPE = 12u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_CERT_PAIR: CERT_QUERY_CONTENT_TYPE = 13u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_PFX_AND_LOAD: CERT_QUERY_CONTENT_TYPE = 14u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CERT_QUERY_CONTENT_TYPE_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_FLAG_CERT: CERT_QUERY_CONTENT_TYPE_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_FLAG_CTL: CERT_QUERY_CONTENT_TYPE_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_FLAG_CRL: CERT_QUERY_CONTENT_TYPE_FLAGS = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_FLAG_SERIALIZED_STORE: CERT_QUERY_CONTENT_TYPE_FLAGS = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_FLAG_SERIALIZED_CERT: CERT_QUERY_CONTENT_TYPE_FLAGS = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_FLAG_SERIALIZED_CTL: CERT_QUERY_CONTENT_TYPE_FLAGS = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_FLAG_SERIALIZED_CRL: CERT_QUERY_CONTENT_TYPE_FLAGS = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_FLAG_PKCS7_SIGNED: CERT_QUERY_CONTENT_TYPE_FLAGS = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_FLAG_PKCS7_UNSIGNED: CERT_QUERY_CONTENT_TYPE_FLAGS = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_FLAG_PKCS7_SIGNED_EMBED: CERT_QUERY_CONTENT_TYPE_FLAGS = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_FLAG_PKCS10: CERT_QUERY_CONTENT_TYPE_FLAGS = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_FLAG_PFX: CERT_QUERY_CONTENT_TYPE_FLAGS = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_FLAG_CERT_PAIR: CERT_QUERY_CONTENT_TYPE_FLAGS = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_FLAG_PFX_AND_LOAD: CERT_QUERY_CONTENT_TYPE_FLAGS = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_FLAG_ALL: CERT_QUERY_CONTENT_TYPE_FLAGS = 16382u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_CONTENT_FLAG_ALL_ISSUER_CERT: CERT_QUERY_CONTENT_TYPE_FLAGS = 818u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CERT_QUERY_ENCODING_TYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_ASN_ENCODING: CERT_QUERY_ENCODING_TYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS_7_ASN_ENCODING: CERT_QUERY_ENCODING_TYPE = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CERT_QUERY_FORMAT_TYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_FORMAT_BINARY: CERT_QUERY_FORMAT_TYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_FORMAT_BASE64_ENCODED: CERT_QUERY_FORMAT_TYPE = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_FORMAT_ASN_ASCII_HEX_ENCODED: CERT_QUERY_FORMAT_TYPE = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CERT_QUERY_FORMAT_TYPE_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_FORMAT_FLAG_BINARY: CERT_QUERY_FORMAT_TYPE_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_FORMAT_FLAG_BASE64_ENCODED: CERT_QUERY_FORMAT_TYPE_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_FORMAT_FLAG_ASN_ASCII_HEX_ENCODED: CERT_QUERY_FORMAT_TYPE_FLAGS = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_FORMAT_FLAG_ALL: CERT_QUERY_FORMAT_TYPE_FLAGS = 14u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CERT_QUERY_OBJECT_TYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_OBJECT_FILE: CERT_QUERY_OBJECT_TYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_QUERY_OBJECT_BLOB: CERT_QUERY_OBJECT_TYPE = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_RDN {
+ pub cRDNAttr: u32,
+ pub rgRDNAttr: *mut CERT_RDN_ATTR,
+}
+impl ::core::marker::Copy for CERT_RDN {}
+impl ::core::clone::Clone for CERT_RDN {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_RDN_ATTR {
+ pub pszObjId: ::windows_sys::core::PSTR,
+ pub dwValueType: CERT_RDN_ATTR_VALUE_TYPE,
+ pub Value: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CERT_RDN_ATTR {}
+impl ::core::clone::Clone for CERT_RDN_ATTR {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CERT_RDN_ATTR_VALUE_TYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RDN_ANY_TYPE: CERT_RDN_ATTR_VALUE_TYPE = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RDN_NUMERIC_STRING: CERT_RDN_ATTR_VALUE_TYPE = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RDN_PRINTABLE_STRING: CERT_RDN_ATTR_VALUE_TYPE = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RDN_T61_STRING: CERT_RDN_ATTR_VALUE_TYPE = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RDN_VIDEOTEX_STRING: CERT_RDN_ATTR_VALUE_TYPE = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RDN_IA5_STRING: CERT_RDN_ATTR_VALUE_TYPE = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RDN_GRAPHIC_STRING: CERT_RDN_ATTR_VALUE_TYPE = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RDN_ISO646_STRING: CERT_RDN_ATTR_VALUE_TYPE = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RDN_GENERAL_STRING: CERT_RDN_ATTR_VALUE_TYPE = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RDN_INT4_STRING: CERT_RDN_ATTR_VALUE_TYPE = 11u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RDN_UNICODE_STRING: CERT_RDN_ATTR_VALUE_TYPE = 12u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RDN_BMP_STRING: CERT_RDN_ATTR_VALUE_TYPE = 12u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RDN_ENCODED_BLOB: CERT_RDN_ATTR_VALUE_TYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RDN_OCTET_STRING: CERT_RDN_ATTR_VALUE_TYPE = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RDN_TELETEX_STRING: CERT_RDN_ATTR_VALUE_TYPE = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RDN_UNIVERSAL_STRING: CERT_RDN_ATTR_VALUE_TYPE = 11u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RDN_UTF8_STRING: CERT_RDN_ATTR_VALUE_TYPE = 13u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RDN_VISIBLE_STRING: CERT_RDN_ATTR_VALUE_TYPE = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RDN_DISABLE_CHECK_TYPE_FLAG: u32 = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RDN_DISABLE_IE4_UTF8_FLAG: u32 = 16777216u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RDN_ENABLE_PUNYCODE_FLAG: u32 = 33554432u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RDN_ENABLE_T61_UNICODE_FLAG: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RDN_ENABLE_UTF8_UNICODE_FLAG: u32 = 536870912u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RDN_FLAGS_MASK: u32 = 4278190080u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RDN_FORCE_UTF8_UNICODE_FLAG: u32 = 268435456u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RDN_TYPE_MASK: u32 = 255u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_REGISTRY_STORE_CLIENT_GPT_FLAG: u32 = 2147483648u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_System_Registry\"`*"]
+#[cfg(feature = "Win32_System_Registry")]
+pub struct CERT_REGISTRY_STORE_CLIENT_GPT_PARA {
+ pub hKeyBase: super::super::System::Registry::HKEY,
+ pub pwszRegPath: ::windows_sys::core::PWSTR,
+}
+#[cfg(feature = "Win32_System_Registry")]
+impl ::core::marker::Copy for CERT_REGISTRY_STORE_CLIENT_GPT_PARA {}
+#[cfg(feature = "Win32_System_Registry")]
+impl ::core::clone::Clone for CERT_REGISTRY_STORE_CLIENT_GPT_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_REGISTRY_STORE_EXTERNAL_FLAG: u32 = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_REGISTRY_STORE_LM_GPT_FLAG: u32 = 16777216u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_REGISTRY_STORE_MY_IE_DIRTY_FLAG: u32 = 524288u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_REGISTRY_STORE_REMOTE_FLAG: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_REGISTRY_STORE_ROAMING_FLAG: u32 = 262144u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_System_Registry\"`*"]
+#[cfg(feature = "Win32_System_Registry")]
+pub struct CERT_REGISTRY_STORE_ROAMING_PARA {
+ pub hKey: super::super::System::Registry::HKEY,
+ pub pwszStoreDirectory: ::windows_sys::core::PWSTR,
+}
+#[cfg(feature = "Win32_System_Registry")]
+impl ::core::marker::Copy for CERT_REGISTRY_STORE_ROAMING_PARA {}
+#[cfg(feature = "Win32_System_Registry")]
+impl ::core::clone::Clone for CERT_REGISTRY_STORE_ROAMING_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_REGISTRY_STORE_SERIALIZED_FLAG: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RENEWAL_PROP_ID: u32 = 64u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_REQUEST_INFO {
+ pub dwVersion: u32,
+ pub Subject: CRYPTOAPI_BLOB,
+ pub SubjectPublicKeyInfo: CERT_PUBLIC_KEY_INFO,
+ pub cAttribute: u32,
+ pub rgAttribute: *mut CRYPT_ATTRIBUTE,
+}
+impl ::core::marker::Copy for CERT_REQUEST_INFO {}
+impl ::core::clone::Clone for CERT_REQUEST_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_REQUEST_ORIGINATOR_PROP_ID: u32 = 71u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_REQUEST_V1: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RETRIEVE_BIOMETRIC_PREDEFINED_BASE_TYPE: ::windows_sys::core::PCSTR = 1000i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RETRIEVE_COMMUNITY_LOGO: ::windows_sys::core::PCSTR = 3i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RETRIEVE_ISSUER_LOGO: ::windows_sys::core::PCSTR = 1i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RETRIEVE_SUBJECT_LOGO: ::windows_sys::core::PCSTR = 2i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RETR_BEHAVIOR_FILE_VALUE_NAME: &str = "AllowFileUrlScheme";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RETR_BEHAVIOR_INET_AUTH_VALUE_NAME: &str = "EnableInetUnknownAuth";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RETR_BEHAVIOR_INET_STATUS_VALUE_NAME: &str = "EnableInetLocal";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RETR_BEHAVIOR_LDAP_VALUE_NAME: &str = "DisableLDAPSignAndEncrypt";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_REVOCATION_CHAIN_PARA {
+ pub cbSize: u32,
+ pub hChainEngine: HCERTCHAINENGINE,
+ pub hAdditionalStore: HCERTSTORE,
+ pub dwChainFlags: u32,
+ pub dwUrlRetrievalTimeout: u32,
+ pub pftCurrentTime: *mut super::super::Foundation::FILETIME,
+ pub pftCacheResync: *mut super::super::Foundation::FILETIME,
+ pub cbMaxUrlRetrievalByteCount: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_REVOCATION_CHAIN_PARA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_REVOCATION_CHAIN_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_REVOCATION_CRL_INFO {
+ pub cbSize: u32,
+ pub pBaseCrlContext: *mut CRL_CONTEXT,
+ pub pDeltaCrlContext: *mut CRL_CONTEXT,
+ pub pCrlEntry: *mut CRL_ENTRY,
+ pub fDeltaCrlEntry: super::super::Foundation::BOOL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_REVOCATION_CRL_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_REVOCATION_CRL_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_REVOCATION_INFO {
+ pub cbSize: u32,
+ pub dwRevocationResult: u32,
+ pub pszRevocationOid: ::windows_sys::core::PCSTR,
+ pub pvOidSpecificInfo: *mut ::core::ffi::c_void,
+ pub fHasFreshnessTime: super::super::Foundation::BOOL,
+ pub dwFreshnessTime: u32,
+ pub pCrlInfo: *mut CERT_REVOCATION_CRL_INFO,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_REVOCATION_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_REVOCATION_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_REVOCATION_PARA {
+ pub cbSize: u32,
+ pub pIssuerCert: *const CERT_CONTEXT,
+ pub cCertStore: u32,
+ pub rgCertStore: *mut HCERTSTORE,
+ pub hCrlStore: HCERTSTORE,
+ pub pftTimeToUse: *mut super::super::Foundation::FILETIME,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_REVOCATION_PARA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_REVOCATION_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_REVOCATION_STATUS {
+ pub cbSize: u32,
+ pub dwIndex: u32,
+ pub dwError: u32,
+ pub dwReason: CERT_REVOCATION_STATUS_REASON,
+ pub fHasFreshnessTime: super::super::Foundation::BOOL,
+ pub dwFreshnessTime: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_REVOCATION_STATUS {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_REVOCATION_STATUS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CERT_REVOCATION_STATUS_REASON = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_REASON_UNSPECIFIED: CERT_REVOCATION_STATUS_REASON = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_REASON_KEY_COMPROMISE: CERT_REVOCATION_STATUS_REASON = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_REASON_CA_COMPROMISE: CERT_REVOCATION_STATUS_REASON = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_REASON_AFFILIATION_CHANGED: CERT_REVOCATION_STATUS_REASON = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_REASON_SUPERSEDED: CERT_REVOCATION_STATUS_REASON = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_REASON_CESSATION_OF_OPERATION: CERT_REVOCATION_STATUS_REASON = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_REASON_CERTIFICATE_HOLD: CERT_REVOCATION_STATUS_REASON = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_REASON_REMOVE_FROM_CRL: CERT_REVOCATION_STATUS_REASON = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ROOT_PROGRAM_CERT_POLICIES_PROP_ID: u32 = 83u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ROOT_PROGRAM_CHAIN_POLICIES_PROP_ID: u32 = 105u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CERT_ROOT_PROGRAM_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ROOT_PROGRAM_FLAG_LSC: CERT_ROOT_PROGRAM_FLAGS = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ROOT_PROGRAM_FLAG_ORG: CERT_ROOT_PROGRAM_FLAGS = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ROOT_PROGRAM_FLAG_SUBJECT_LOGO: CERT_ROOT_PROGRAM_FLAGS = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ROOT_PROGRAM_FLAG_ADDRESS: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ROOT_PROGRAM_FLAG_OU: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_ROOT_PROGRAM_NAME_CONSTRAINTS_PROP_ID: u32 = 84u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_RSA_PUBLIC_KEY_OBJID: &str = "1.2.840.113549.1.1.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SCARD_PIN_ID_PROP_ID: u32 = 90u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SCARD_PIN_INFO_PROP_ID: u32 = 91u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SCEP_CA_CERT_PROP_ID: u32 = 111u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SCEP_ENCRYPT_HASH_CNG_ALG_PROP_ID: u32 = 114u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SCEP_FLAGS_PROP_ID: u32 = 115u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SCEP_GUID_PROP_ID: u32 = 116u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SCEP_NONCE_PROP_ID: u32 = 113u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SCEP_RA_ENCRYPTION_CERT_PROP_ID: u32 = 110u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SCEP_RA_SIGNATURE_CERT_PROP_ID: u32 = 109u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SCEP_SERVER_CERTS_PROP_ID: u32 = 108u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SCEP_SIGNER_CERT_PROP_ID: u32 = 112u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SELECT_ALLOW_DUPLICATES: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SELECT_ALLOW_EXPIRED: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SELECT_BY_FRIENDLYNAME: u32 = 13u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SELECT_BY_ISSUER_DISPLAYNAME: u32 = 12u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SELECT_BY_THUMBPRINT: u32 = 14u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_SELECT_CHAIN_PARA {
+ pub hChainEngine: HCERTCHAINENGINE,
+ pub pTime: *mut super::super::Foundation::FILETIME,
+ pub hAdditionalStore: HCERTSTORE,
+ pub pChainPara: *mut CERT_CHAIN_PARA,
+ pub dwFlags: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_SELECT_CHAIN_PARA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_SELECT_CHAIN_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_SELECT_CRITERIA {
+ pub dwType: CERT_SELECT_CRITERIA_TYPE,
+ pub cPara: u32,
+ pub ppPara: *mut *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for CERT_SELECT_CRITERIA {}
+impl ::core::clone::Clone for CERT_SELECT_CRITERIA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CERT_SELECT_CRITERIA_TYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SELECT_BY_ENHKEY_USAGE: CERT_SELECT_CRITERIA_TYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SELECT_BY_KEY_USAGE: CERT_SELECT_CRITERIA_TYPE = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SELECT_BY_POLICY_OID: CERT_SELECT_CRITERIA_TYPE = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SELECT_BY_PROV_NAME: CERT_SELECT_CRITERIA_TYPE = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SELECT_BY_EXTENSION: CERT_SELECT_CRITERIA_TYPE = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SELECT_BY_SUBJECT_HOST_NAME: CERT_SELECT_CRITERIA_TYPE = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SELECT_BY_ISSUER_ATTR: CERT_SELECT_CRITERIA_TYPE = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SELECT_BY_SUBJECT_ATTR: CERT_SELECT_CRITERIA_TYPE = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SELECT_BY_ISSUER_NAME: CERT_SELECT_CRITERIA_TYPE = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SELECT_BY_PUBLIC_KEY: CERT_SELECT_CRITERIA_TYPE = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SELECT_BY_TLS_SIGNATURES: CERT_SELECT_CRITERIA_TYPE = 11u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SELECT_DISALLOW_SELFSIGNED: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SELECT_HARDWARE_ONLY: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SELECT_HAS_KEY_FOR_KEY_EXCHANGE: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SELECT_HAS_KEY_FOR_SIGNATURE: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SELECT_HAS_PRIVATE_KEY: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SELECT_IGNORE_AUTOSELECT: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SELECT_MAX_PARA: u32 = 500u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SELECT_TRUSTED_ROOT: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SEND_AS_TRUSTED_ISSUER_PROP_ID: u32 = 102u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SERIALIZABLE_KEY_CONTEXT_PROP_ID: u32 = 117u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SERIAL_CHAIN_PROP_ID: u32 = 119u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SERVER_OCSP_RESPONSE_ASYNC_FLAG: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_SERVER_OCSP_RESPONSE_CONTEXT {
+ pub cbSize: u32,
+ pub pbEncodedOcspResponse: *mut u8,
+ pub cbEncodedOcspResponse: u32,
+}
+impl ::core::marker::Copy for CERT_SERVER_OCSP_RESPONSE_CONTEXT {}
+impl ::core::clone::Clone for CERT_SERVER_OCSP_RESPONSE_CONTEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_SERVER_OCSP_RESPONSE_OPEN_PARA {
+ pub cbSize: u32,
+ pub dwFlags: u32,
+ pub pcbUsedSize: *mut u32,
+ pub pwszOcspDirectory: ::windows_sys::core::PWSTR,
+ pub pfnUpdateCallback: PFN_CERT_SERVER_OCSP_RESPONSE_UPDATE_CALLBACK,
+ pub pvUpdateCallbackArg: *mut ::core::ffi::c_void,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_SERVER_OCSP_RESPONSE_OPEN_PARA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_SERVER_OCSP_RESPONSE_OPEN_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SERVER_OCSP_RESPONSE_OPEN_PARA_READ_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SERVER_OCSP_RESPONSE_OPEN_PARA_WRITE_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SET_PROPERTY_IGNORE_PERSIST_ERROR_FLAG: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SET_PROPERTY_INHIBIT_PERSIST_FLAG: u32 = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SHA1_HASH_PROP_ID: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SHA256_HASH_PROP_ID: u32 = 107u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SIGNATURE_HASH_PROP_ID: u32 = 15u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_SIGNED_CONTENT_INFO {
+ pub ToBeSigned: CRYPTOAPI_BLOB,
+ pub SignatureAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub Signature: CRYPT_BIT_BLOB,
+}
+impl ::core::marker::Copy for CERT_SIGNED_CONTENT_INFO {}
+impl ::core::clone::Clone for CERT_SIGNED_CONTENT_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SIGN_HASH_CNG_ALG_PROP_ID: u32 = 89u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_SIMPLE_CHAIN {
+ pub cbSize: u32,
+ pub TrustStatus: CERT_TRUST_STATUS,
+ pub cElement: u32,
+ pub rgpElement: *mut *mut CERT_CHAIN_ELEMENT,
+ pub pTrustListInfo: *mut CERT_TRUST_LIST_INFO,
+ pub fHasRevocationFreshnessTime: super::super::Foundation::BOOL,
+ pub dwRevocationFreshnessTime: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_SIMPLE_CHAIN {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_SIMPLE_CHAIN {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SMART_CARD_DATA_PROP_ID: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SMART_CARD_READER_NON_REMOVABLE_PROP_ID: u32 = 106u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SMART_CARD_READER_PROP_ID: u32 = 101u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SMART_CARD_ROOT_INFO_PROP_ID: u32 = 76u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SOURCE_LOCATION_PROP_ID: u32 = 72u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SOURCE_URL_PROP_ID: u32 = 73u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SRV_OCSP_RESP_MAX_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME: &str = "SrvOcspRespMaxBeforeNextUpdateSeconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SRV_OCSP_RESP_MAX_SYNC_CERT_FILE_SECONDS_VALUE_NAME: &str = "SrvOcspRespMaxSyncCertFileSeconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SRV_OCSP_RESP_MIN_AFTER_NEXT_UPDATE_SECONDS_VALUE_NAME: &str = "SrvOcspRespMinAfterNextUpdateSeconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SRV_OCSP_RESP_MIN_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME: &str = "SrvOcspRespMinBeforeNextUpdateSeconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SRV_OCSP_RESP_MIN_SYNC_CERT_FILE_SECONDS_DEFAULT: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SRV_OCSP_RESP_MIN_SYNC_CERT_FILE_SECONDS_VALUE_NAME: &str = "SrvOcspRespMinSyncCertFileSeconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SRV_OCSP_RESP_MIN_VALIDITY_SECONDS_VALUE_NAME: &str = "SrvOcspRespMinValiditySeconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SRV_OCSP_RESP_URL_RETRIEVAL_TIMEOUT_MILLISECONDS_VALUE_NAME: &str = "SrvOcspRespUrlRetrievalTimeoutMilliseconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_ADD_ALWAYS: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_ADD_NEW: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_ADD_NEWER: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_ADD_NEWER_INHERIT_PROPERTIES: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_ADD_REPLACE_EXISTING: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_ADD_REPLACE_EXISTING_INHERIT_PROPERTIES: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_ADD_USE_EXISTING: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_BASE_CRL_FLAG: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_CERTIFICATE_CONTEXT: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_CRL_CONTEXT: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_CTL_CONTEXT: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_CTRL_AUTO_RESYNC: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_CTRL_CANCEL_NOTIFY: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_CTRL_COMMIT: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_CTRL_NOTIFY_CHANGE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_CTRL_RESYNC: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_DELTA_CRL_FLAG: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_LOCALIZED_NAME_PROP_ID: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_MANIFOLD_FLAG: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_NO_CRL_FLAG: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_NO_ISSUER_FLAG: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_CLOSE_FUNC: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_COLLECTION: ::windows_sys::core::PCSTR = 11i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_CONTROL_FUNC: u32 = 13u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_DELETE_CERT_FUNC: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_DELETE_CRL_FUNC: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_DELETE_CTL_FUNC: u32 = 11u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_FILE: ::windows_sys::core::PCSTR = 3i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_FILENAME: i32 = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_FILENAME_A: ::windows_sys::core::PCSTR = 7i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_FILENAME_W: ::windows_sys::core::PCSTR = 8i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_FIND_CERT_FUNC: u32 = 14u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_FIND_CRL_FUNC: u32 = 17u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_FIND_CTL_FUNC: u32 = 20u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_STORE_PROV_FIND_INFO {
+ pub cbSize: u32,
+ pub dwMsgAndCertEncodingType: u32,
+ pub dwFindFlags: u32,
+ pub dwFindType: u32,
+ pub pvFindPara: *const ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for CERT_STORE_PROV_FIND_INFO {}
+impl ::core::clone::Clone for CERT_STORE_PROV_FIND_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CERT_STORE_PROV_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_EXTERNAL_FLAG: CERT_STORE_PROV_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_DELETED_FLAG: CERT_STORE_PROV_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_NO_PERSIST_FLAG: CERT_STORE_PROV_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_SYSTEM_STORE_FLAG: CERT_STORE_PROV_FLAGS = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_LM_SYSTEM_STORE_FLAG: CERT_STORE_PROV_FLAGS = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_FREE_FIND_CERT_FUNC: u32 = 15u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_FREE_FIND_CRL_FUNC: u32 = 18u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_FREE_FIND_CTL_FUNC: u32 = 21u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_GET_CERT_PROPERTY_FUNC: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_GET_CRL_PROPERTY_FUNC: u32 = 19u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_GET_CTL_PROPERTY_FUNC: u32 = 22u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_GP_SYSTEM_STORE_FLAG: u32 = 32u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_STORE_PROV_INFO {
+ pub cbSize: u32,
+ pub cStoreProvFunc: u32,
+ pub rgpvStoreProvFunc: *mut *mut ::core::ffi::c_void,
+ pub hStoreProv: HCERTSTOREPROV,
+ pub dwStoreProvFlags: CERT_STORE_PROV_FLAGS,
+ pub hStoreProvFuncAddr2: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for CERT_STORE_PROV_INFO {}
+impl ::core::clone::Clone for CERT_STORE_PROV_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_LDAP: i32 = 16i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_LDAP_W: ::windows_sys::core::PCSTR = 16i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_MEMORY: ::windows_sys::core::PCSTR = 2i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_MSG: ::windows_sys::core::PCSTR = 1i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_PHYSICAL: i32 = 14i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_PHYSICAL_W: ::windows_sys::core::PCSTR = 14i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_PKCS12: ::windows_sys::core::PCSTR = 17i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_PKCS7: ::windows_sys::core::PCSTR = 5i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_READ_CERT_FUNC: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_READ_CRL_FUNC: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_READ_CTL_FUNC: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_REG: ::windows_sys::core::PCSTR = 4i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_SERIALIZED: ::windows_sys::core::PCSTR = 6i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_SET_CERT_PROPERTY_FUNC: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_SET_CRL_PROPERTY_FUNC: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_SET_CTL_PROPERTY_FUNC: u32 = 12u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_SHARED_USER_FLAG: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_SMART_CARD: i32 = 15i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_SMART_CARD_W: ::windows_sys::core::PCSTR = 15i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_SYSTEM: i32 = 10i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_SYSTEM_A: ::windows_sys::core::PCSTR = 9i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_SYSTEM_REGISTRY: i32 = 13i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_SYSTEM_REGISTRY_A: ::windows_sys::core::PCSTR = 12i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_SYSTEM_REGISTRY_W: ::windows_sys::core::PCSTR = 13i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_SYSTEM_W: ::windows_sys::core::PCSTR = 10i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_WRITE_ADD_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_WRITE_CERT_FUNC: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_WRITE_CRL_FUNC: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_PROV_WRITE_CTL_FUNC: u32 = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_REVOCATION_FLAG: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CERT_STORE_SAVE_AS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_SAVE_AS_PKCS7: CERT_STORE_SAVE_AS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_SAVE_AS_STORE: CERT_STORE_SAVE_AS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_SAVE_AS_PKCS12: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CERT_STORE_SAVE_TO = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_SAVE_TO_FILE: CERT_STORE_SAVE_TO = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_SAVE_TO_FILENAME: CERT_STORE_SAVE_TO = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_SAVE_TO_FILENAME_A: CERT_STORE_SAVE_TO = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_SAVE_TO_FILENAME_W: CERT_STORE_SAVE_TO = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_SAVE_TO_MEMORY: CERT_STORE_SAVE_TO = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_SHARE_STORE_FLAG: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_SIGNATURE_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_TIME_VALIDITY_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STORE_UNSAFE_PHYSICAL_FLAG: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CERT_STRING_TYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SIMPLE_NAME_STR: CERT_STRING_TYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_OID_NAME_STR: CERT_STRING_TYPE = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_X500_NAME_STR: CERT_STRING_TYPE = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STRONG_SIGN_ECDSA_ALGORITHM: &str = "ECDSA";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CERT_STRONG_SIGN_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STRONG_SIGN_ENABLE_CRL_CHECK: CERT_STRONG_SIGN_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STRONG_SIGN_ENABLE_OCSP_CHECK: CERT_STRONG_SIGN_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STRONG_SIGN_OID_INFO_CHOICE: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_STRONG_SIGN_PARA {
+ pub cbSize: u32,
+ pub dwInfoChoice: u32,
+ pub Anonymous: CERT_STRONG_SIGN_PARA_0,
+}
+impl ::core::marker::Copy for CERT_STRONG_SIGN_PARA {}
+impl ::core::clone::Clone for CERT_STRONG_SIGN_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub union CERT_STRONG_SIGN_PARA_0 {
+ pub pvInfo: *mut ::core::ffi::c_void,
+ pub pSerializedInfo: *mut CERT_STRONG_SIGN_SERIALIZED_INFO,
+ pub pszOID: ::windows_sys::core::PSTR,
+}
+impl ::core::marker::Copy for CERT_STRONG_SIGN_PARA_0 {}
+impl ::core::clone::Clone for CERT_STRONG_SIGN_PARA_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_STRONG_SIGN_SERIALIZED_INFO {
+ pub dwFlags: CERT_STRONG_SIGN_FLAGS,
+ pub pwszCNGSignHashAlgids: ::windows_sys::core::PWSTR,
+ pub pwszCNGPubKeyMinBitLengths: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for CERT_STRONG_SIGN_SERIALIZED_INFO {}
+impl ::core::clone::Clone for CERT_STRONG_SIGN_SERIALIZED_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_STRONG_SIGN_SERIALIZED_INFO_CHOICE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SUBJECT_DISABLE_CRL_PROP_ID: u32 = 86u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SUBJECT_INFO_ACCESS_PROP_ID: u32 = 80u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SUBJECT_NAME_MD5_HASH_PROP_ID: u32 = 29u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SUBJECT_OCSP_AUTHORITY_INFO_ACCESS_PROP_ID: u32 = 85u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SUBJECT_PUBLIC_KEY_MD5_HASH_PROP_ID: u32 = 25u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SUBJECT_PUB_KEY_BIT_LENGTH_PROP_ID: u32 = 92u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_SUPPORTED_ALGORITHM_INFO {
+ pub Algorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub IntendedKeyUsage: CRYPT_BIT_BLOB,
+ pub IntendedCertPolicies: CERT_POLICIES_INFO,
+}
+impl ::core::marker::Copy for CERT_SUPPORTED_ALGORITHM_INFO {}
+impl ::core::clone::Clone for CERT_SUPPORTED_ALGORITHM_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SYSTEM_STORE_CURRENT_SERVICE_ID: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SYSTEM_STORE_CURRENT_USER_GROUP_POLICY_ID: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SYSTEM_STORE_CURRENT_USER_ID: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SYSTEM_STORE_DEFER_READ_FLAG: u32 = 536870912u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CERT_SYSTEM_STORE_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SYSTEM_STORE_LOCATION_MASK: CERT_SYSTEM_STORE_FLAGS = 16711680u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SYSTEM_STORE_RELOCATE_FLAG: CERT_SYSTEM_STORE_FLAGS = 2147483648u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_SYSTEM_STORE_INFO {
+ pub cbSize: u32,
+}
+impl ::core::marker::Copy for CERT_SYSTEM_STORE_INFO {}
+impl ::core::clone::Clone for CERT_SYSTEM_STORE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SYSTEM_STORE_LOCAL_MACHINE_ENTERPRISE_ID: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SYSTEM_STORE_LOCAL_MACHINE_GROUP_POLICY_ID: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SYSTEM_STORE_LOCAL_MACHINE_ID: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SYSTEM_STORE_LOCAL_MACHINE_WCOS_ID: u32 = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SYSTEM_STORE_LOCATION_SHIFT: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SYSTEM_STORE_MASK: u32 = 4294901760u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_System_Registry\"`*"]
+#[cfg(feature = "Win32_System_Registry")]
+pub struct CERT_SYSTEM_STORE_RELOCATE_PARA {
+ pub Anonymous1: CERT_SYSTEM_STORE_RELOCATE_PARA_0,
+ pub Anonymous2: CERT_SYSTEM_STORE_RELOCATE_PARA_1,
+}
+#[cfg(feature = "Win32_System_Registry")]
+impl ::core::marker::Copy for CERT_SYSTEM_STORE_RELOCATE_PARA {}
+#[cfg(feature = "Win32_System_Registry")]
+impl ::core::clone::Clone for CERT_SYSTEM_STORE_RELOCATE_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_System_Registry\"`*"]
+#[cfg(feature = "Win32_System_Registry")]
+pub union CERT_SYSTEM_STORE_RELOCATE_PARA_0 {
+ pub hKeyBase: super::super::System::Registry::HKEY,
+ pub pvBase: *mut ::core::ffi::c_void,
+}
+#[cfg(feature = "Win32_System_Registry")]
+impl ::core::marker::Copy for CERT_SYSTEM_STORE_RELOCATE_PARA_0 {}
+#[cfg(feature = "Win32_System_Registry")]
+impl ::core::clone::Clone for CERT_SYSTEM_STORE_RELOCATE_PARA_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_System_Registry\"`*"]
+#[cfg(feature = "Win32_System_Registry")]
+pub union CERT_SYSTEM_STORE_RELOCATE_PARA_1 {
+ pub pvSystemStore: *mut ::core::ffi::c_void,
+ pub pszSystemStore: ::windows_sys::core::PCSTR,
+ pub pwszSystemStore: ::windows_sys::core::PCWSTR,
+}
+#[cfg(feature = "Win32_System_Registry")]
+impl ::core::marker::Copy for CERT_SYSTEM_STORE_RELOCATE_PARA_1 {}
+#[cfg(feature = "Win32_System_Registry")]
+impl ::core::clone::Clone for CERT_SYSTEM_STORE_RELOCATE_PARA_1 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SYSTEM_STORE_SERVICES_ID: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SYSTEM_STORE_UNPROTECTED_FLAG: u32 = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SYSTEM_STORE_USERS_ID: u32 = 6u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_TEMPLATE_EXT {
+ pub pszObjId: ::windows_sys::core::PSTR,
+ pub dwMajorVersion: u32,
+ pub fMinorVersion: super::super::Foundation::BOOL,
+ pub dwMinorVersion: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_TEMPLATE_EXT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_TEMPLATE_EXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TIMESTAMP_HASH_USE_TYPE: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_TPM_SPECIFICATION_INFO {
+ pub pwszFamily: ::windows_sys::core::PWSTR,
+ pub dwLevel: u32,
+ pub dwRevision: u32,
+}
+impl ::core::marker::Copy for CERT_TPM_SPECIFICATION_INFO {}
+impl ::core::clone::Clone for CERT_TPM_SPECIFICATION_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_AUTO_UPDATE_CA_REVOCATION: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_AUTO_UPDATE_END_REVOCATION: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_CTL_IS_NOT_SIGNATURE_VALID: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_CTL_IS_NOT_TIME_VALID: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_CTL_IS_NOT_VALID_FOR_USAGE: u32 = 524288u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_HAS_ALLOW_WEAK_SIGNATURE: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_HAS_AUTO_UPDATE_WEAK_SIGNATURE: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_HAS_CRL_VALIDITY_EXTENDED: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_HAS_EXACT_MATCH_ISSUER: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_HAS_EXCLUDED_NAME_CONSTRAINT: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_HAS_ISSUANCE_CHAIN_POLICY: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_HAS_KEY_MATCH_ISSUER: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_HAS_NAME_MATCH_ISSUER: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_HAS_NOT_SUPPORTED_CRITICAL_EXT: u32 = 134217728u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_HAS_NOT_SUPPORTED_NAME_CONSTRAINT: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_HAS_PREFERRED_ISSUER: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_HAS_VALID_NAME_CONSTRAINTS: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_HAS_WEAK_HYGIENE: u32 = 2097152u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_HAS_WEAK_SIGNATURE: u32 = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_INVALID_BASIC_CONSTRAINTS: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_INVALID_EXTENSION: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_INVALID_NAME_CONSTRAINTS: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_INVALID_POLICY_CONSTRAINTS: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_IS_CA_TRUSTED: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_IS_COMPLEX_CHAIN: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_IS_CYCLIC: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_IS_EXPLICIT_DISTRUST: u32 = 67108864u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_IS_FROM_EXCLUSIVE_TRUST_STORE: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_IS_KEY_ROLLOVER: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_IS_NOT_SIGNATURE_VALID: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_IS_NOT_TIME_NESTED: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_IS_NOT_TIME_VALID: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_IS_NOT_VALID_FOR_USAGE: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_IS_OFFLINE_REVOCATION: u32 = 16777216u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_IS_PARTIAL_CHAIN: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_IS_PEER_TRUSTED: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_IS_REVOKED: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_IS_SELF_SIGNED: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_IS_UNTRUSTED_ROOT: u32 = 32u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CERT_TRUST_LIST_INFO {
+ pub cbSize: u32,
+ pub pCtlEntry: *mut CTL_ENTRY,
+ pub pCtlContext: *mut CTL_CONTEXT,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CERT_TRUST_LIST_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CERT_TRUST_LIST_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_NO_ERROR: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_NO_ISSUANCE_CHAIN_POLICY: u32 = 33554432u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_NO_OCSP_FAILOVER_TO_CRL: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_NO_TIME_CHECK: u32 = 33554432u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_PUB_ALLOW_END_USER_TRUST: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_PUB_ALLOW_ENTERPRISE_ADMIN_TRUST: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_PUB_ALLOW_MACHINE_ADMIN_TRUST: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_PUB_ALLOW_TRUST_MASK: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_PUB_AUTHENTICODE_FLAGS_VALUE_NAME: &str = "AuthenticodeFlags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_PUB_CHECK_PUBLISHER_REV_FLAG: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_PUB_CHECK_TIMESTAMP_REV_FLAG: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_REVOCATION_STATUS_UNKNOWN: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_SSL_HANDSHAKE_OCSP: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_SSL_RECONNECT_OCSP: u32 = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_SSL_TIME_VALID: u32 = 16777216u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_TRUST_SSL_TIME_VALID_OCSP: u32 = 524288u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_TRUST_STATUS {
+ pub dwErrorStatus: u32,
+ pub dwInfoStatus: u32,
+}
+impl ::core::marker::Copy for CERT_TRUST_STATUS {}
+impl ::core::clone::Clone for CERT_TRUST_STATUS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_UNICODE_ATTR_ERR_INDEX_MASK: u32 = 63u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_UNICODE_ATTR_ERR_INDEX_SHIFT: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_UNICODE_IS_RDN_ATTRS_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_UNICODE_RDN_ERR_INDEX_MASK: u32 = 1023u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_UNICODE_RDN_ERR_INDEX_SHIFT: u32 = 22u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_UNICODE_VALUE_ERR_INDEX_MASK: u32 = 65535u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_UNICODE_VALUE_ERR_INDEX_SHIFT: u32 = 0u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_USAGE_MATCH {
+ pub dwType: u32,
+ pub Usage: CTL_USAGE,
+}
+impl ::core::marker::Copy for CERT_USAGE_MATCH {}
+impl ::core::clone::Clone for CERT_USAGE_MATCH {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_V1: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_V2: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_V3: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_VERIFY_ALLOW_MORE_USAGE_FLAG: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_VERIFY_CACHE_ONLY_BASED_REVOCATION: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_VERIFY_INHIBIT_CTL_UPDATE_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_VERIFY_NO_TIME_CHECK_FLAG: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_VERIFY_REV_ACCUMULATIVE_TIMEOUT_FLAG: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_VERIFY_REV_CHAIN_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_VERIFY_REV_NO_OCSP_FAILOVER_TO_CRL_FLAG: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_VERIFY_REV_SERVER_OCSP_FLAG: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_VERIFY_REV_SERVER_OCSP_WIRE_ONLY_FLAG: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_VERIFY_TRUSTED_SIGNERS_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_VERIFY_UPDATED_CTL_FLAG: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_X942_DH_PARAMETERS {
+ pub p: CRYPTOAPI_BLOB,
+ pub g: CRYPTOAPI_BLOB,
+ pub q: CRYPTOAPI_BLOB,
+ pub j: CRYPTOAPI_BLOB,
+ pub pValidationParams: *mut CERT_X942_DH_VALIDATION_PARAMS,
+}
+impl ::core::marker::Copy for CERT_X942_DH_PARAMETERS {}
+impl ::core::clone::Clone for CERT_X942_DH_PARAMETERS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CERT_X942_DH_VALIDATION_PARAMS {
+ pub seed: CRYPT_BIT_BLOB,
+ pub pgenCounter: u32,
+}
+impl ::core::marker::Copy for CERT_X942_DH_VALIDATION_PARAMS {}
+impl ::core::clone::Clone for CERT_X942_DH_VALIDATION_PARAMS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_XML_NAME_STR: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CESSetupProperty = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_CESSETUPPROP_USE_IISAPPPOOLIDENTITY: CESSetupProperty = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_CESSETUPPROP_CACONFIG: CESSetupProperty = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_CESSETUPPROP_AUTHENTICATION: CESSetupProperty = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_CESSETUPPROP_SSLCERTHASH: CESSetupProperty = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_CESSETUPPROP_URL: CESSetupProperty = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_CESSETUPPROP_RENEWALONLY: CESSetupProperty = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_CESSETUPPROP_ALLOW_KEYBASED_RENEWAL: CESSetupProperty = 6i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CLAIMLIST {
+ pub count: u32,
+ pub claims: *mut ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for CLAIMLIST {}
+impl ::core::clone::Clone for CLAIMLIST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMC_ADD_ATTRIBUTES: ::windows_sys::core::PCSTR = 63i32 as _;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CMC_ADD_ATTRIBUTES_INFO {
+ pub dwCmcDataReference: u32,
+ pub cCertReference: u32,
+ pub rgdwCertReference: *mut u32,
+ pub cAttribute: u32,
+ pub rgAttribute: *mut CRYPT_ATTRIBUTE,
+}
+impl ::core::marker::Copy for CMC_ADD_ATTRIBUTES_INFO {}
+impl ::core::clone::Clone for CMC_ADD_ATTRIBUTES_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMC_ADD_EXTENSIONS: ::windows_sys::core::PCSTR = 62i32 as _;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CMC_ADD_EXTENSIONS_INFO {
+ pub dwCmcDataReference: u32,
+ pub cCertReference: u32,
+ pub rgdwCertReference: *mut u32,
+ pub cExtension: u32,
+ pub rgExtension: *mut CERT_EXTENSION,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CMC_ADD_EXTENSIONS_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CMC_ADD_EXTENSIONS_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMC_DATA: ::windows_sys::core::PCSTR = 59i32 as _;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CMC_DATA_INFO {
+ pub cTaggedAttribute: u32,
+ pub rgTaggedAttribute: *mut CMC_TAGGED_ATTRIBUTE,
+ pub cTaggedRequest: u32,
+ pub rgTaggedRequest: *mut CMC_TAGGED_REQUEST,
+ pub cTaggedContentInfo: u32,
+ pub rgTaggedContentInfo: *mut CMC_TAGGED_CONTENT_INFO,
+ pub cTaggedOtherMsg: u32,
+ pub rgTaggedOtherMsg: *mut CMC_TAGGED_OTHER_MSG,
+}
+impl ::core::marker::Copy for CMC_DATA_INFO {}
+impl ::core::clone::Clone for CMC_DATA_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMC_FAIL_BAD_ALG: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMC_FAIL_BAD_CERT_ID: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMC_FAIL_BAD_IDENTITY: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMC_FAIL_BAD_MESSAGE_CHECK: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMC_FAIL_BAD_REQUEST: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMC_FAIL_BAD_TIME: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMC_FAIL_INTERNAL_CA_ERROR: u32 = 11u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMC_FAIL_MUST_ARCHIVE_KEYS: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMC_FAIL_NO_KEY_REUSE: u32 = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMC_FAIL_POP_FAILED: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMC_FAIL_POP_REQUIRED: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMC_FAIL_TRY_LATER: u32 = 12u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMC_FAIL_UNSUPORTED_EXT: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMC_OTHER_INFO_FAIL_CHOICE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMC_OTHER_INFO_NO_CHOICE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMC_OTHER_INFO_PEND_CHOICE: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CMC_PEND_INFO {
+ pub PendToken: CRYPTOAPI_BLOB,
+ pub PendTime: super::super::Foundation::FILETIME,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CMC_PEND_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CMC_PEND_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMC_RESPONSE: ::windows_sys::core::PCSTR = 60i32 as _;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CMC_RESPONSE_INFO {
+ pub cTaggedAttribute: u32,
+ pub rgTaggedAttribute: *mut CMC_TAGGED_ATTRIBUTE,
+ pub cTaggedContentInfo: u32,
+ pub rgTaggedContentInfo: *mut CMC_TAGGED_CONTENT_INFO,
+ pub cTaggedOtherMsg: u32,
+ pub rgTaggedOtherMsg: *mut CMC_TAGGED_OTHER_MSG,
+}
+impl ::core::marker::Copy for CMC_RESPONSE_INFO {}
+impl ::core::clone::Clone for CMC_RESPONSE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMC_STATUS: ::windows_sys::core::PCSTR = 61i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMC_STATUS_CONFIRM_REQUIRED: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMC_STATUS_FAILED: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CMC_STATUS_INFO {
+ pub dwStatus: u32,
+ pub cBodyList: u32,
+ pub rgdwBodyList: *mut u32,
+ pub pwszStatusString: ::windows_sys::core::PWSTR,
+ pub dwOtherInfoChoice: u32,
+ pub Anonymous: CMC_STATUS_INFO_0,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CMC_STATUS_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CMC_STATUS_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union CMC_STATUS_INFO_0 {
+ pub dwFailInfo: u32,
+ pub pPendInfo: *mut CMC_PEND_INFO,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CMC_STATUS_INFO_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CMC_STATUS_INFO_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMC_STATUS_NO_SUPPORT: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMC_STATUS_PENDING: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMC_STATUS_SUCCESS: u32 = 0u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CMC_TAGGED_ATTRIBUTE {
+ pub dwBodyPartID: u32,
+ pub Attribute: CRYPT_ATTRIBUTE,
+}
+impl ::core::marker::Copy for CMC_TAGGED_ATTRIBUTE {}
+impl ::core::clone::Clone for CMC_TAGGED_ATTRIBUTE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CMC_TAGGED_CERT_REQUEST {
+ pub dwBodyPartID: u32,
+ pub SignedCertRequest: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CMC_TAGGED_CERT_REQUEST {}
+impl ::core::clone::Clone for CMC_TAGGED_CERT_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMC_TAGGED_CERT_REQUEST_CHOICE: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CMC_TAGGED_CONTENT_INFO {
+ pub dwBodyPartID: u32,
+ pub EncodedContentInfo: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CMC_TAGGED_CONTENT_INFO {}
+impl ::core::clone::Clone for CMC_TAGGED_CONTENT_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CMC_TAGGED_OTHER_MSG {
+ pub dwBodyPartID: u32,
+ pub pszObjId: ::windows_sys::core::PSTR,
+ pub Value: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CMC_TAGGED_OTHER_MSG {}
+impl ::core::clone::Clone for CMC_TAGGED_OTHER_MSG {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CMC_TAGGED_REQUEST {
+ pub dwTaggedRequestChoice: u32,
+ pub Anonymous: CMC_TAGGED_REQUEST_0,
+}
+impl ::core::marker::Copy for CMC_TAGGED_REQUEST {}
+impl ::core::clone::Clone for CMC_TAGGED_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub union CMC_TAGGED_REQUEST_0 {
+ pub pTaggedCertRequest: *mut CMC_TAGGED_CERT_REQUEST,
+}
+impl ::core::marker::Copy for CMC_TAGGED_REQUEST_0 {}
+impl ::core::clone::Clone for CMC_TAGGED_REQUEST_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub const CMSCEPSetup: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2857327618, data2: 36476, data3: 18884, data4: [148, 250, 103, 165, 204, 94, 173, 180] };
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_ATTR_CERT_COUNT_PARAM: u32 = 31u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_ATTR_CERT_PARAM: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_AUTHENTICATED_ATTRIBUTES_FLAG: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_BARE_CONTENT_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_BARE_CONTENT_PARAM: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CERT_COUNT_PARAM: u32 = 11u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CERT_PARAM: u32 = 12u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CMS_ENCAPSULATED_CONTENT_FLAG: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CMS_ENCAPSULATED_CTL_FLAG: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CMS_RECIPIENT_COUNT_PARAM: u32 = 33u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CMS_RECIPIENT_ENCRYPTED_KEY_INDEX_PARAM: u32 = 35u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CMS_RECIPIENT_INDEX_PARAM: u32 = 34u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CMSG_CMS_RECIPIENT_INFO {
+ pub dwRecipientChoice: u32,
+ pub Anonymous: CMSG_CMS_RECIPIENT_INFO_0,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CMSG_CMS_RECIPIENT_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CMSG_CMS_RECIPIENT_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union CMSG_CMS_RECIPIENT_INFO_0 {
+ pub pKeyTrans: *mut CMSG_KEY_TRANS_RECIPIENT_INFO,
+ pub pKeyAgree: *mut CMSG_KEY_AGREE_RECIPIENT_INFO,
+ pub pMailList: *mut CMSG_MAIL_LIST_RECIPIENT_INFO,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CMSG_CMS_RECIPIENT_INFO_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CMSG_CMS_RECIPIENT_INFO_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CMS_RECIPIENT_INFO_PARAM: u32 = 36u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CMSG_CMS_SIGNER_INFO {
+ pub dwVersion: u32,
+ pub SignerId: CERT_ID,
+ pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub HashEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub EncryptedHash: CRYPTOAPI_BLOB,
+ pub AuthAttrs: CRYPT_ATTRIBUTES,
+ pub UnauthAttrs: CRYPT_ATTRIBUTES,
+}
+impl ::core::marker::Copy for CMSG_CMS_SIGNER_INFO {}
+impl ::core::clone::Clone for CMSG_CMS_SIGNER_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CMS_SIGNER_INFO_PARAM: u32 = 39u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CMSG_CNG_CONTENT_DECRYPT_INFO {
+ pub cbSize: u32,
+ pub ContentEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub pfnAlloc: PFN_CMSG_ALLOC,
+ pub pfnFree: PFN_CMSG_FREE,
+ pub hNCryptKey: NCRYPT_KEY_HANDLE,
+ pub pbContentEncryptKey: *mut u8,
+ pub cbContentEncryptKey: u32,
+ pub hCNGContentEncryptKey: BCRYPT_KEY_HANDLE,
+ pub pbCNGContentEncryptKeyObject: *mut u8,
+}
+impl ::core::marker::Copy for CMSG_CNG_CONTENT_DECRYPT_INFO {}
+impl ::core::clone::Clone for CMSG_CNG_CONTENT_DECRYPT_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_COMPUTED_HASH_PARAM: u32 = 22u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CONTENTS_OCTETS_FLAG: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CONTENT_ENCRYPT_FREE_OBJID_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CONTENT_ENCRYPT_FREE_PARA_FLAG: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CMSG_CONTENT_ENCRYPT_INFO {
+ pub cbSize: u32,
+ pub hCryptProv: HCRYPTPROV_LEGACY,
+ pub ContentEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub pvEncryptionAuxInfo: *mut ::core::ffi::c_void,
+ pub cRecipients: u32,
+ pub rgCmsRecipients: *mut CMSG_RECIPIENT_ENCODE_INFO,
+ pub pfnAlloc: PFN_CMSG_ALLOC,
+ pub pfnFree: PFN_CMSG_FREE,
+ pub dwEncryptFlags: u32,
+ pub Anonymous: CMSG_CONTENT_ENCRYPT_INFO_0,
+ pub dwFlags: u32,
+ pub fCNG: super::super::Foundation::BOOL,
+ pub pbCNGContentEncryptKeyObject: *mut u8,
+ pub pbContentEncryptKey: *mut u8,
+ pub cbContentEncryptKey: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CMSG_CONTENT_ENCRYPT_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CMSG_CONTENT_ENCRYPT_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union CMSG_CONTENT_ENCRYPT_INFO_0 {
+ pub hContentEncryptKey: usize,
+ pub hCNGContentEncryptKey: BCRYPT_KEY_HANDLE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CMSG_CONTENT_ENCRYPT_INFO_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CMSG_CONTENT_ENCRYPT_INFO_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CONTENT_ENCRYPT_PAD_ENCODED_LEN_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CONTENT_ENCRYPT_RELEASE_CONTEXT_FLAG: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CONTENT_PARAM: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CRL_COUNT_PARAM: u32 = 13u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CRL_PARAM: u32 = 14u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CRYPT_RELEASE_CONTEXT_FLAG: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CTRL_ADD_ATTR_CERT: u32 = 14u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CTRL_ADD_CERT: u32 = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CTRL_ADD_CMS_SIGNER_INFO: u32 = 20u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CTRL_ADD_CRL: u32 = 12u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CTRL_ADD_SIGNER: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CTRL_ADD_SIGNER_UNAUTH_ATTR: u32 = 8u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CMSG_CTRL_ADD_SIGNER_UNAUTH_ATTR_PARA {
+ pub cbSize: u32,
+ pub dwSignerIndex: u32,
+ pub blob: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CMSG_CTRL_ADD_SIGNER_UNAUTH_ATTR_PARA {}
+impl ::core::clone::Clone for CMSG_CTRL_ADD_SIGNER_UNAUTH_ATTR_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CTRL_DECRYPT: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CMSG_CTRL_DECRYPT_PARA {
+ pub cbSize: u32,
+ pub Anonymous: CMSG_CTRL_DECRYPT_PARA_0,
+ pub dwKeySpec: u32,
+ pub dwRecipientIndex: u32,
+}
+impl ::core::marker::Copy for CMSG_CTRL_DECRYPT_PARA {}
+impl ::core::clone::Clone for CMSG_CTRL_DECRYPT_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub union CMSG_CTRL_DECRYPT_PARA_0 {
+ pub hCryptProv: usize,
+ pub hNCryptKey: NCRYPT_KEY_HANDLE,
+}
+impl ::core::marker::Copy for CMSG_CTRL_DECRYPT_PARA_0 {}
+impl ::core::clone::Clone for CMSG_CTRL_DECRYPT_PARA_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CTRL_DEL_ATTR_CERT: u32 = 15u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CTRL_DEL_CERT: u32 = 11u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CTRL_DEL_CRL: u32 = 13u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CTRL_DEL_SIGNER: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CTRL_DEL_SIGNER_UNAUTH_ATTR: u32 = 9u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CMSG_CTRL_DEL_SIGNER_UNAUTH_ATTR_PARA {
+ pub cbSize: u32,
+ pub dwSignerIndex: u32,
+ pub dwUnauthAttrIndex: u32,
+}
+impl ::core::marker::Copy for CMSG_CTRL_DEL_SIGNER_UNAUTH_ATTR_PARA {}
+impl ::core::clone::Clone for CMSG_CTRL_DEL_SIGNER_UNAUTH_ATTR_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CTRL_ENABLE_STRONG_SIGNATURE: u32 = 21u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CTRL_KEY_AGREE_DECRYPT: u32 = 17u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CMSG_CTRL_KEY_AGREE_DECRYPT_PARA {
+ pub cbSize: u32,
+ pub Anonymous: CMSG_CTRL_KEY_AGREE_DECRYPT_PARA_0,
+ pub dwKeySpec: u32,
+ pub pKeyAgree: *mut CMSG_KEY_AGREE_RECIPIENT_INFO,
+ pub dwRecipientIndex: u32,
+ pub dwRecipientEncryptedKeyIndex: u32,
+ pub OriginatorPublicKey: CRYPT_BIT_BLOB,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CMSG_CTRL_KEY_AGREE_DECRYPT_PARA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CMSG_CTRL_KEY_AGREE_DECRYPT_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union CMSG_CTRL_KEY_AGREE_DECRYPT_PARA_0 {
+ pub hCryptProv: usize,
+ pub hNCryptKey: NCRYPT_KEY_HANDLE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CMSG_CTRL_KEY_AGREE_DECRYPT_PARA_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CMSG_CTRL_KEY_AGREE_DECRYPT_PARA_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CTRL_KEY_TRANS_DECRYPT: u32 = 16u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CMSG_CTRL_KEY_TRANS_DECRYPT_PARA {
+ pub cbSize: u32,
+ pub Anonymous: CMSG_CTRL_KEY_TRANS_DECRYPT_PARA_0,
+ pub dwKeySpec: u32,
+ pub pKeyTrans: *mut CMSG_KEY_TRANS_RECIPIENT_INFO,
+ pub dwRecipientIndex: u32,
+}
+impl ::core::marker::Copy for CMSG_CTRL_KEY_TRANS_DECRYPT_PARA {}
+impl ::core::clone::Clone for CMSG_CTRL_KEY_TRANS_DECRYPT_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub union CMSG_CTRL_KEY_TRANS_DECRYPT_PARA_0 {
+ pub hCryptProv: usize,
+ pub hNCryptKey: NCRYPT_KEY_HANDLE,
+}
+impl ::core::marker::Copy for CMSG_CTRL_KEY_TRANS_DECRYPT_PARA_0 {}
+impl ::core::clone::Clone for CMSG_CTRL_KEY_TRANS_DECRYPT_PARA_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CTRL_MAIL_LIST_DECRYPT: u32 = 18u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CMSG_CTRL_MAIL_LIST_DECRYPT_PARA {
+ pub cbSize: u32,
+ pub hCryptProv: usize,
+ pub pMailList: *mut CMSG_MAIL_LIST_RECIPIENT_INFO,
+ pub dwRecipientIndex: u32,
+ pub dwKeyChoice: u32,
+ pub Anonymous: CMSG_CTRL_MAIL_LIST_DECRYPT_PARA_0,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CMSG_CTRL_MAIL_LIST_DECRYPT_PARA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CMSG_CTRL_MAIL_LIST_DECRYPT_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union CMSG_CTRL_MAIL_LIST_DECRYPT_PARA_0 {
+ pub hKeyEncryptionKey: usize,
+ pub pvKeyEncryptionKey: *mut ::core::ffi::c_void,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CMSG_CTRL_MAIL_LIST_DECRYPT_PARA_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CMSG_CTRL_MAIL_LIST_DECRYPT_PARA_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CTRL_VERIFY_HASH: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CTRL_VERIFY_SIGNATURE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_CTRL_VERIFY_SIGNATURE_EX: u32 = 19u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CMSG_CTRL_VERIFY_SIGNATURE_EX_PARA {
+ pub cbSize: u32,
+ pub hCryptProv: HCRYPTPROV_LEGACY,
+ pub dwSignerIndex: u32,
+ pub dwSignerType: u32,
+ pub pvSigner: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for CMSG_CTRL_VERIFY_SIGNATURE_EX_PARA {}
+impl ::core::clone::Clone for CMSG_CTRL_VERIFY_SIGNATURE_EX_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_DEFAULT_INSTALLABLE_FUNC_OID: ::windows_sys::core::PCSTR = 1i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_DETACHED_FLAG: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_ENCODED_MESSAGE: u32 = 29u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_ENCODED_SIGNER: u32 = 28u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_ENCODE_HASHED_SUBJECT_IDENTIFIER_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_ENCODE_SORTED_CTL_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_ENCODING_TYPE_MASK: u32 = 4294901760u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_ENCRYPTED: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_ENCRYPTED_DIGEST: u32 = 27u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CMSG_ENCRYPTED_ENCODE_INFO {
+ pub cbSize: u32,
+ pub ContentEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub pvEncryptionAuxInfo: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for CMSG_ENCRYPTED_ENCODE_INFO {}
+impl ::core::clone::Clone for CMSG_ENCRYPTED_ENCODE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_ENCRYPT_PARAM: u32 = 26u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_ENVELOPED_DATA_CMS_VERSION: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_ENVELOPED_DATA_PKCS_1_5_VERSION: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_ENVELOPED_DATA_V0: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_ENVELOPED_DATA_V2: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CMSG_ENVELOPED_ENCODE_INFO {
+ pub cbSize: u32,
+ pub hCryptProv: HCRYPTPROV_LEGACY,
+ pub ContentEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub pvEncryptionAuxInfo: *mut ::core::ffi::c_void,
+ pub cRecipients: u32,
+ pub rgpRecipients: *mut *mut CERT_INFO,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CMSG_ENVELOPED_ENCODE_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CMSG_ENVELOPED_ENCODE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_ENVELOPED_RECIPIENT_V0: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_ENVELOPED_RECIPIENT_V2: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_ENVELOPED_RECIPIENT_V3: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_ENVELOPED_RECIPIENT_V4: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_ENVELOPE_ALGORITHM_PARAM: u32 = 15u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_HASHED_DATA_CMS_VERSION: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_HASHED_DATA_PKCS_1_5_VERSION: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_HASHED_DATA_V0: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_HASHED_DATA_V2: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CMSG_HASHED_ENCODE_INFO {
+ pub cbSize: u32,
+ pub hCryptProv: HCRYPTPROV_LEGACY,
+ pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub pvHashAuxInfo: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for CMSG_HASHED_ENCODE_INFO {}
+impl ::core::clone::Clone for CMSG_HASHED_ENCODE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_HASH_ALGORITHM_PARAM: u32 = 20u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_HASH_DATA_PARAM: u32 = 21u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_INDEFINITE_LENGTH: u32 = 4294967295u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_INNER_CONTENT_TYPE_PARAM: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_KEY_AGREE_ENCRYPT_FREE_MATERIAL_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_KEY_AGREE_ENCRYPT_FREE_OBJID_FLAG: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_KEY_AGREE_ENCRYPT_FREE_PARA_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_KEY_AGREE_ENCRYPT_FREE_PUBKEY_ALG_FLAG: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_KEY_AGREE_ENCRYPT_FREE_PUBKEY_BITS_FLAG: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_KEY_AGREE_ENCRYPT_FREE_PUBKEY_PARA_FLAG: u32 = 8u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CMSG_KEY_AGREE_ENCRYPT_INFO {
+ pub cbSize: u32,
+ pub dwRecipientIndex: u32,
+ pub KeyEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub UserKeyingMaterial: CRYPTOAPI_BLOB,
+ pub dwOriginatorChoice: CMSG_KEY_AGREE_ORIGINATOR,
+ pub Anonymous: CMSG_KEY_AGREE_ENCRYPT_INFO_0,
+ pub cKeyAgreeKeyEncryptInfo: u32,
+ pub rgpKeyAgreeKeyEncryptInfo: *mut *mut CMSG_KEY_AGREE_KEY_ENCRYPT_INFO,
+ pub dwFlags: u32,
+}
+impl ::core::marker::Copy for CMSG_KEY_AGREE_ENCRYPT_INFO {}
+impl ::core::clone::Clone for CMSG_KEY_AGREE_ENCRYPT_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub union CMSG_KEY_AGREE_ENCRYPT_INFO_0 {
+ pub OriginatorCertId: CERT_ID,
+ pub OriginatorPublicKeyInfo: CERT_PUBLIC_KEY_INFO,
+}
+impl ::core::marker::Copy for CMSG_KEY_AGREE_ENCRYPT_INFO_0 {}
+impl ::core::clone::Clone for CMSG_KEY_AGREE_ENCRYPT_INFO_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CMSG_KEY_AGREE_KEY_ENCRYPT_INFO {
+ pub cbSize: u32,
+ pub EncryptedKey: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CMSG_KEY_AGREE_KEY_ENCRYPT_INFO {}
+impl ::core::clone::Clone for CMSG_KEY_AGREE_KEY_ENCRYPT_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CMSG_KEY_AGREE_OPTION = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_KEY_AGREE_EPHEMERAL_KEY_CHOICE: CMSG_KEY_AGREE_OPTION = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_KEY_AGREE_STATIC_KEY_CHOICE: CMSG_KEY_AGREE_OPTION = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CMSG_KEY_AGREE_ORIGINATOR = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_KEY_AGREE_ORIGINATOR_CERT: CMSG_KEY_AGREE_ORIGINATOR = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_KEY_AGREE_ORIGINATOR_PUBLIC_KEY: CMSG_KEY_AGREE_ORIGINATOR = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_KEY_AGREE_RECIPIENT: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO {
+ pub cbSize: u32,
+ pub KeyEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub pvKeyEncryptionAuxInfo: *mut ::core::ffi::c_void,
+ pub KeyWrapAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub pvKeyWrapAuxInfo: *mut ::core::ffi::c_void,
+ pub hCryptProv: HCRYPTPROV_LEGACY,
+ pub dwKeySpec: u32,
+ pub dwKeyChoice: CMSG_KEY_AGREE_OPTION,
+ pub Anonymous: CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO_0,
+ pub UserKeyingMaterial: CRYPTOAPI_BLOB,
+ pub cRecipientEncryptedKeys: u32,
+ pub rgpRecipientEncryptedKeys: *mut *mut CMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO_0 {
+ pub pEphemeralAlgorithm: *mut CRYPT_ALGORITHM_IDENTIFIER,
+ pub pSenderId: *mut CERT_ID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CMSG_KEY_AGREE_RECIPIENT_INFO {
+ pub dwVersion: u32,
+ pub dwOriginatorChoice: CMSG_KEY_AGREE_ORIGINATOR,
+ pub Anonymous: CMSG_KEY_AGREE_RECIPIENT_INFO_0,
+ pub UserKeyingMaterial: CRYPTOAPI_BLOB,
+ pub KeyEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub cRecipientEncryptedKeys: u32,
+ pub rgpRecipientEncryptedKeys: *mut *mut CMSG_RECIPIENT_ENCRYPTED_KEY_INFO,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CMSG_KEY_AGREE_RECIPIENT_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CMSG_KEY_AGREE_RECIPIENT_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union CMSG_KEY_AGREE_RECIPIENT_INFO_0 {
+ pub OriginatorCertId: CERT_ID,
+ pub OriginatorPublicKeyInfo: CERT_PUBLIC_KEY_INFO,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CMSG_KEY_AGREE_RECIPIENT_INFO_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CMSG_KEY_AGREE_RECIPIENT_INFO_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_KEY_AGREE_VERSION: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_KEY_TRANS_CMS_VERSION: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_KEY_TRANS_ENCRYPT_FREE_OBJID_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_KEY_TRANS_ENCRYPT_FREE_PARA_FLAG: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CMSG_KEY_TRANS_ENCRYPT_INFO {
+ pub cbSize: u32,
+ pub dwRecipientIndex: u32,
+ pub KeyEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub EncryptedKey: CRYPTOAPI_BLOB,
+ pub dwFlags: u32,
+}
+impl ::core::marker::Copy for CMSG_KEY_TRANS_ENCRYPT_INFO {}
+impl ::core::clone::Clone for CMSG_KEY_TRANS_ENCRYPT_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_KEY_TRANS_PKCS_1_5_VERSION: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_KEY_TRANS_RECIPIENT: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CMSG_KEY_TRANS_RECIPIENT_ENCODE_INFO {
+ pub cbSize: u32,
+ pub KeyEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub pvKeyEncryptionAuxInfo: *mut ::core::ffi::c_void,
+ pub hCryptProv: HCRYPTPROV_LEGACY,
+ pub RecipientPublicKey: CRYPT_BIT_BLOB,
+ pub RecipientId: CERT_ID,
+}
+impl ::core::marker::Copy for CMSG_KEY_TRANS_RECIPIENT_ENCODE_INFO {}
+impl ::core::clone::Clone for CMSG_KEY_TRANS_RECIPIENT_ENCODE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CMSG_KEY_TRANS_RECIPIENT_INFO {
+ pub dwVersion: u32,
+ pub RecipientId: CERT_ID,
+ pub KeyEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub EncryptedKey: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CMSG_KEY_TRANS_RECIPIENT_INFO {}
+impl ::core::clone::Clone for CMSG_KEY_TRANS_RECIPIENT_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_LENGTH_ONLY_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_MAIL_LIST_ENCRYPT_FREE_OBJID_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_MAIL_LIST_ENCRYPT_FREE_PARA_FLAG: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CMSG_MAIL_LIST_ENCRYPT_INFO {
+ pub cbSize: u32,
+ pub dwRecipientIndex: u32,
+ pub KeyEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub EncryptedKey: CRYPTOAPI_BLOB,
+ pub dwFlags: u32,
+}
+impl ::core::marker::Copy for CMSG_MAIL_LIST_ENCRYPT_INFO {}
+impl ::core::clone::Clone for CMSG_MAIL_LIST_ENCRYPT_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_MAIL_LIST_HANDLE_KEY_CHOICE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_MAIL_LIST_RECIPIENT: u32 = 3u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO {
+ pub cbSize: u32,
+ pub KeyEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub pvKeyEncryptionAuxInfo: *mut ::core::ffi::c_void,
+ pub hCryptProv: usize,
+ pub dwKeyChoice: u32,
+ pub Anonymous: CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO_0,
+ pub KeyId: CRYPTOAPI_BLOB,
+ pub Date: super::super::Foundation::FILETIME,
+ pub pOtherAttr: *mut CRYPT_ATTRIBUTE_TYPE_VALUE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO_0 {
+ pub hKeyEncryptionKey: usize,
+ pub pvKeyEncryptionKey: *mut ::core::ffi::c_void,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CMSG_MAIL_LIST_RECIPIENT_INFO {
+ pub dwVersion: u32,
+ pub KeyId: CRYPTOAPI_BLOB,
+ pub KeyEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub EncryptedKey: CRYPTOAPI_BLOB,
+ pub Date: super::super::Foundation::FILETIME,
+ pub pOtherAttr: *mut CRYPT_ATTRIBUTE_TYPE_VALUE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CMSG_MAIL_LIST_RECIPIENT_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CMSG_MAIL_LIST_RECIPIENT_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_MAIL_LIST_VERSION: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_MAX_LENGTH_FLAG: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_OID_CAPI1_EXPORT_KEY_AGREE_FUNC: &str = "CryptMsgDllExportKeyAgree";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_OID_CAPI1_EXPORT_KEY_TRANS_FUNC: &str = "CryptMsgDllExportKeyTrans";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_OID_CAPI1_EXPORT_MAIL_LIST_FUNC: &str = "CryptMsgDllExportMailList";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_OID_CAPI1_GEN_CONTENT_ENCRYPT_KEY_FUNC: &str = "CryptMsgDllGenContentEncryptKey";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_OID_CAPI1_IMPORT_KEY_AGREE_FUNC: &str = "CryptMsgDllImportKeyAgree";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_OID_CAPI1_IMPORT_KEY_TRANS_FUNC: &str = "CryptMsgDllImportKeyTrans";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_OID_CAPI1_IMPORT_MAIL_LIST_FUNC: &str = "CryptMsgDllImportMailList";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_OID_CNG_EXPORT_KEY_AGREE_FUNC: &str = "CryptMsgDllCNGExportKeyAgree";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_OID_CNG_EXPORT_KEY_TRANS_FUNC: &str = "CryptMsgDllCNGExportKeyTrans";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_OID_CNG_GEN_CONTENT_ENCRYPT_KEY_FUNC: &str = "CryptMsgDllCNGGenContentEncryptKey";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_OID_CNG_IMPORT_CONTENT_ENCRYPT_KEY_FUNC: &str = "CryptMsgDllCNGImportContentEncryptKey";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_OID_CNG_IMPORT_KEY_AGREE_FUNC: &str = "CryptMsgDllCNGImportKeyAgree";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_OID_CNG_IMPORT_KEY_TRANS_FUNC: &str = "CryptMsgDllCNGImportKeyTrans";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_OID_EXPORT_ENCRYPT_KEY_FUNC: &str = "CryptMsgDllExportEncryptKey";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_OID_EXPORT_KEY_AGREE_FUNC: &str = "CryptMsgDllExportKeyAgree";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_OID_EXPORT_KEY_TRANS_FUNC: &str = "CryptMsgDllExportKeyTrans";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_OID_EXPORT_MAIL_LIST_FUNC: &str = "CryptMsgDllExportMailList";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_OID_GEN_CONTENT_ENCRYPT_KEY_FUNC: &str = "CryptMsgDllGenContentEncryptKey";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_OID_GEN_ENCRYPT_KEY_FUNC: &str = "CryptMsgDllGenEncryptKey";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_OID_IMPORT_ENCRYPT_KEY_FUNC: &str = "CryptMsgDllImportEncryptKey";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_OID_IMPORT_KEY_AGREE_FUNC: &str = "CryptMsgDllImportKeyAgree";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_OID_IMPORT_KEY_TRANS_FUNC: &str = "CryptMsgDllImportKeyTrans";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_OID_IMPORT_MAIL_LIST_FUNC: &str = "CryptMsgDllImportMailList";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CMSG_RC2_AUX_INFO {
+ pub cbSize: u32,
+ pub dwBitLen: u32,
+}
+impl ::core::marker::Copy for CMSG_RC2_AUX_INFO {}
+impl ::core::clone::Clone for CMSG_RC2_AUX_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CMSG_RC4_AUX_INFO {
+ pub cbSize: u32,
+ pub dwBitLen: u32,
+}
+impl ::core::marker::Copy for CMSG_RC4_AUX_INFO {}
+impl ::core::clone::Clone for CMSG_RC4_AUX_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_RC4_NO_SALT_FLAG: u32 = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_RECIPIENT_COUNT_PARAM: u32 = 17u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CMSG_RECIPIENT_ENCODE_INFO {
+ pub dwRecipientChoice: u32,
+ pub Anonymous: CMSG_RECIPIENT_ENCODE_INFO_0,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CMSG_RECIPIENT_ENCODE_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CMSG_RECIPIENT_ENCODE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union CMSG_RECIPIENT_ENCODE_INFO_0 {
+ pub pKeyTrans: *mut CMSG_KEY_TRANS_RECIPIENT_ENCODE_INFO,
+ pub pKeyAgree: *mut CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO,
+ pub pMailList: *mut CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CMSG_RECIPIENT_ENCODE_INFO_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CMSG_RECIPIENT_ENCODE_INFO_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO {
+ pub cbSize: u32,
+ pub RecipientPublicKey: CRYPT_BIT_BLOB,
+ pub RecipientId: CERT_ID,
+ pub Date: super::super::Foundation::FILETIME,
+ pub pOtherAttr: *mut CRYPT_ATTRIBUTE_TYPE_VALUE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CMSG_RECIPIENT_ENCRYPTED_KEY_ENCODE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CMSG_RECIPIENT_ENCRYPTED_KEY_INFO {
+ pub RecipientId: CERT_ID,
+ pub EncryptedKey: CRYPTOAPI_BLOB,
+ pub Date: super::super::Foundation::FILETIME,
+ pub pOtherAttr: *mut CRYPT_ATTRIBUTE_TYPE_VALUE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CMSG_RECIPIENT_ENCRYPTED_KEY_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CMSG_RECIPIENT_ENCRYPTED_KEY_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_RECIPIENT_INDEX_PARAM: u32 = 18u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_RECIPIENT_INFO_PARAM: u32 = 19u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CMSG_SIGNED_AND_ENVELOPED_ENCODE_INFO {
+ pub cbSize: u32,
+ pub SignedInfo: CMSG_SIGNED_ENCODE_INFO,
+ pub EnvelopedInfo: CMSG_ENVELOPED_ENCODE_INFO,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CMSG_SIGNED_AND_ENVELOPED_ENCODE_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CMSG_SIGNED_AND_ENVELOPED_ENCODE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_SIGNED_DATA_CMS_VERSION: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_SIGNED_DATA_NO_SIGN_FLAG: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_SIGNED_DATA_PKCS_1_5_VERSION: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_SIGNED_DATA_V1: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_SIGNED_DATA_V3: u32 = 3u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CMSG_SIGNED_ENCODE_INFO {
+ pub cbSize: u32,
+ pub cSigners: u32,
+ pub rgSigners: *mut CMSG_SIGNER_ENCODE_INFO,
+ pub cCertEncoded: u32,
+ pub rgCertEncoded: *mut CRYPTOAPI_BLOB,
+ pub cCrlEncoded: u32,
+ pub rgCrlEncoded: *mut CRYPTOAPI_BLOB,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CMSG_SIGNED_ENCODE_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CMSG_SIGNED_ENCODE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_SIGNER_AUTH_ATTR_PARAM: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_SIGNER_CERT_ID_PARAM: u32 = 38u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_SIGNER_CERT_INFO_PARAM: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_SIGNER_COUNT_PARAM: u32 = 5u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CMSG_SIGNER_ENCODE_INFO {
+ pub cbSize: u32,
+ pub pCertInfo: *mut CERT_INFO,
+ pub Anonymous: CMSG_SIGNER_ENCODE_INFO_0,
+ pub dwKeySpec: u32,
+ pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub pvHashAuxInfo: *mut ::core::ffi::c_void,
+ pub cAuthAttr: u32,
+ pub rgAuthAttr: *mut CRYPT_ATTRIBUTE,
+ pub cUnauthAttr: u32,
+ pub rgUnauthAttr: *mut CRYPT_ATTRIBUTE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CMSG_SIGNER_ENCODE_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CMSG_SIGNER_ENCODE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union CMSG_SIGNER_ENCODE_INFO_0 {
+ pub hCryptProv: usize,
+ pub hNCryptKey: NCRYPT_KEY_HANDLE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CMSG_SIGNER_ENCODE_INFO_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CMSG_SIGNER_ENCODE_INFO_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_SIGNER_HASH_ALGORITHM_PARAM: u32 = 8u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CMSG_SIGNER_INFO {
+ pub dwVersion: u32,
+ pub Issuer: CRYPTOAPI_BLOB,
+ pub SerialNumber: CRYPTOAPI_BLOB,
+ pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub HashEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub EncryptedHash: CRYPTOAPI_BLOB,
+ pub AuthAttrs: CRYPT_ATTRIBUTES,
+ pub UnauthAttrs: CRYPT_ATTRIBUTES,
+}
+impl ::core::marker::Copy for CMSG_SIGNER_INFO {}
+impl ::core::clone::Clone for CMSG_SIGNER_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_SIGNER_INFO_CMS_VERSION: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_SIGNER_INFO_PARAM: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_SIGNER_INFO_PKCS_1_5_VERSION: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_SIGNER_INFO_V1: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_SIGNER_INFO_V3: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_SIGNER_ONLY_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_SIGNER_UNAUTH_ATTR_PARAM: u32 = 10u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CMSG_SP3_COMPATIBLE_AUX_INFO {
+ pub cbSize: u32,
+ pub dwFlags: u32,
+}
+impl ::core::marker::Copy for CMSG_SP3_COMPATIBLE_AUX_INFO {}
+impl ::core::clone::Clone for CMSG_SP3_COMPATIBLE_AUX_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_SP3_COMPATIBLE_ENCRYPT_FLAG: u32 = 2147483648u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CMSG_STREAM_INFO {
+ pub cbContent: u32,
+ pub pfnStreamOutput: PFN_CMSG_STREAM_OUTPUT,
+ pub pvArg: *mut ::core::ffi::c_void,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CMSG_STREAM_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CMSG_STREAM_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_TRUSTED_SIGNER_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_TYPE_PARAM: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_UNPROTECTED_ATTR_PARAM: u32 = 37u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_USE_SIGNER_INDEX_FLAG: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_VERIFY_COUNTER_SIGN_ENABLE_STRONG_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_VERIFY_SIGNER_CERT: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_VERIFY_SIGNER_CHAIN: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_VERIFY_SIGNER_NULL: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_VERIFY_SIGNER_PUBKEY: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_VERSION_PARAM: u32 = 30u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CMS_DH_KEY_INFO {
+ pub dwVersion: u32,
+ pub Algid: u32,
+ pub pszContentEncObjId: ::windows_sys::core::PSTR,
+ pub PubInfo: CRYPTOAPI_BLOB,
+ pub pReserved: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for CMS_DH_KEY_INFO {}
+impl ::core::clone::Clone for CMS_DH_KEY_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CMS_KEY_INFO {
+ pub dwVersion: u32,
+ pub Algid: u32,
+ pub pbOID: *mut u8,
+ pub cbOID: u32,
+}
+impl ::core::marker::Copy for CMS_KEY_INFO {}
+impl ::core::clone::Clone for CMS_KEY_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMS_SIGNER_INFO: ::windows_sys::core::PCSTR = 501i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CNG_RSA_PRIVATE_KEY_BLOB: ::windows_sys::core::PCSTR = 83i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CNG_RSA_PUBLIC_KEY_BLOB: ::windows_sys::core::PCSTR = 72i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CONTEXT_OID_CAPI2_ANY: ::windows_sys::core::PCSTR = 5i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CONTEXT_OID_CERTIFICATE: ::windows_sys::core::PCSTR = 1i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CONTEXT_OID_CREATE_OBJECT_CONTEXT_FUNC: &str = "ContextDllCreateObjectContext";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CONTEXT_OID_CRL: ::windows_sys::core::PCSTR = 2i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CONTEXT_OID_CTL: ::windows_sys::core::PCSTR = 3i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CONTEXT_OID_OCSP_RESP: ::windows_sys::core::PCSTR = 6i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CONTEXT_OID_PKCS7: ::windows_sys::core::PCSTR = 4i32 as _;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CPS_URLS {
+ pub pszURL: ::windows_sys::core::PWSTR,
+ pub pAlgorithm: *mut CRYPT_ALGORITHM_IDENTIFIER,
+ pub pDigest: *mut CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CPS_URLS {}
+impl ::core::clone::Clone for CPS_URLS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CREDENTIAL_OID_PASSWORD_CREDENTIALS: i32 = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CREDENTIAL_OID_PASSWORD_CREDENTIALS_A: ::windows_sys::core::PCSTR = 1i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CREDENTIAL_OID_PASSWORD_CREDENTIALS_W: ::windows_sys::core::PCSTR = 2i32 as _;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRL_CONTEXT {
+ pub dwCertEncodingType: u32,
+ pub pbCrlEncoded: *mut u8,
+ pub cbCrlEncoded: u32,
+ pub pCrlInfo: *mut CRL_INFO,
+ pub hCertStore: HCERTSTORE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRL_CONTEXT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRL_CONTEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRL_DIST_POINT {
+ pub DistPointName: CRL_DIST_POINT_NAME,
+ pub ReasonFlags: CRYPT_BIT_BLOB,
+ pub CRLIssuer: CERT_ALT_NAME_INFO,
+}
+impl ::core::marker::Copy for CRL_DIST_POINT {}
+impl ::core::clone::Clone for CRL_DIST_POINT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRL_DIST_POINTS_INFO {
+ pub cDistPoint: u32,
+ pub rgDistPoint: *mut CRL_DIST_POINT,
+}
+impl ::core::marker::Copy for CRL_DIST_POINTS_INFO {}
+impl ::core::clone::Clone for CRL_DIST_POINTS_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_DIST_POINT_ERR_CRL_ISSUER_BIT: i32 = -2147483648i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_DIST_POINT_ERR_INDEX_MASK: u32 = 127u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_DIST_POINT_ERR_INDEX_SHIFT: u32 = 24u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_DIST_POINT_FULL_NAME: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_DIST_POINT_ISSUER_RDN_NAME: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRL_DIST_POINT_NAME {
+ pub dwDistPointNameChoice: u32,
+ pub Anonymous: CRL_DIST_POINT_NAME_0,
+}
+impl ::core::marker::Copy for CRL_DIST_POINT_NAME {}
+impl ::core::clone::Clone for CRL_DIST_POINT_NAME {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub union CRL_DIST_POINT_NAME_0 {
+ pub FullName: CERT_ALT_NAME_INFO,
+}
+impl ::core::marker::Copy for CRL_DIST_POINT_NAME_0 {}
+impl ::core::clone::Clone for CRL_DIST_POINT_NAME_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_DIST_POINT_NO_NAME: u32 = 0u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRL_ENTRY {
+ pub SerialNumber: CRYPTOAPI_BLOB,
+ pub RevocationDate: super::super::Foundation::FILETIME,
+ pub cExtension: u32,
+ pub rgExtension: *mut CERT_EXTENSION,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRL_ENTRY {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRL_ENTRY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_FIND_ANY: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_FIND_EXISTING: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_FIND_ISSUED_BY: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_FIND_ISSUED_BY_AKI_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_FIND_ISSUED_BY_BASE_FLAG: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_FIND_ISSUED_BY_DELTA_FLAG: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_FIND_ISSUED_BY_SIGNATURE_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_FIND_ISSUED_FOR: u32 = 3u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRL_FIND_ISSUED_FOR_PARA {
+ pub pSubjectCert: *const CERT_CONTEXT,
+ pub pIssuerCert: *const CERT_CONTEXT,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRL_FIND_ISSUED_FOR_PARA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRL_FIND_ISSUED_FOR_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_FIND_ISSUED_FOR_SET_STRONG_PROPERTIES_FLAG: u32 = 16u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRL_INFO {
+ pub dwVersion: u32,
+ pub SignatureAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub Issuer: CRYPTOAPI_BLOB,
+ pub ThisUpdate: super::super::Foundation::FILETIME,
+ pub NextUpdate: super::super::Foundation::FILETIME,
+ pub cCRLEntry: u32,
+ pub rgCRLEntry: *mut CRL_ENTRY,
+ pub cExtension: u32,
+ pub rgExtension: *mut CERT_EXTENSION,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRL_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRL_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRL_ISSUING_DIST_POINT {
+ pub DistPointName: CRL_DIST_POINT_NAME,
+ pub fOnlyContainsUserCerts: super::super::Foundation::BOOL,
+ pub fOnlyContainsCACerts: super::super::Foundation::BOOL,
+ pub OnlySomeReasonFlags: CRYPT_BIT_BLOB,
+ pub fIndirectCRL: super::super::Foundation::BOOL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRL_ISSUING_DIST_POINT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRL_ISSUING_DIST_POINT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_REASON_AA_COMPROMISE: u32 = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_REASON_AA_COMPROMISE_FLAG: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_REASON_AFFILIATION_CHANGED_FLAG: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_REASON_CA_COMPROMISE_FLAG: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_REASON_CERTIFICATE_HOLD_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_REASON_CESSATION_OF_OPERATION_FLAG: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_REASON_KEY_COMPROMISE_FLAG: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_REASON_PRIVILEGE_WITHDRAWN: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_REASON_PRIVILEGE_WITHDRAWN_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_REASON_SUPERSEDED_FLAG: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_REASON_UNUSED_FLAG: u32 = 128u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRL_REVOCATION_INFO {
+ pub pCrlEntry: *mut CRL_ENTRY,
+ pub pCrlContext: *mut CRL_CONTEXT,
+ pub pCrlIssuerChain: *mut CERT_CHAIN_CONTEXT,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRL_REVOCATION_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRL_REVOCATION_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_V1: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRL_V2: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CROSS_CERT_DIST_POINTS_INFO {
+ pub dwSyncDeltaTime: u32,
+ pub cDistPoint: u32,
+ pub rgDistPoint: *mut CERT_ALT_NAME_INFO,
+}
+impl ::core::marker::Copy for CROSS_CERT_DIST_POINTS_INFO {}
+impl ::core::clone::Clone for CROSS_CERT_DIST_POINTS_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CROSS_CERT_DIST_POINT_ERR_INDEX_MASK: u32 = 255u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CROSS_CERT_DIST_POINT_ERR_INDEX_SHIFT: u32 = 24u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_CACHED_OCSP_SWITCH_TO_CRL_COUNT_DEFAULT: u32 = 50u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_CACHED_OCSP_SWITCH_TO_CRL_COUNT_VALUE_NAME: &str = "CryptnetCachedOcspSwitchToCrlCount";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_CRL_BEFORE_OCSP_ENABLE: u32 = 4294967295u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_CRL_PRE_FETCH_DISABLE_INFORMATION_EVENTS_VALUE_NAME: &str = "DisableInformationEvents";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_CRL_PRE_FETCH_LOG_FILE_NAME_VALUE_NAME: &str = "LogFileName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_CRL_PRE_FETCH_MAX_AGE_SECONDS_VALUE_NAME: &str = "MaxAgeSeconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_CRL_PRE_FETCH_MIN_AFTER_NEXT_UPDATE_SECONDS_VALUE_NAME: &str = "MinAfterNextUpdateSeconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_CRL_PRE_FETCH_MIN_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME: &str = "MinBeforeNextUpdateSeconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_CRL_PRE_FETCH_PROCESS_NAME_LIST_VALUE_NAME: &str = "ProcessNameList";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_CRL_PRE_FETCH_PUBLISH_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME: &str = "PublishBeforeNextUpdateSeconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_CRL_PRE_FETCH_PUBLISH_RANDOM_INTERVAL_SECONDS_VALUE_NAME: &str = "PublishRandomIntervalSeconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_CRL_PRE_FETCH_TIMEOUT_SECONDS_VALUE_NAME: &str = "TimeoutSeconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_CRL_PRE_FETCH_URL_LIST_VALUE_NAME: &str = "PreFetchUrlList";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_MAX_CACHED_OCSP_PER_CRL_COUNT_DEFAULT: u32 = 500u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_MAX_CACHED_OCSP_PER_CRL_COUNT_VALUE_NAME: &str = "CryptnetMaxCachedOcspPerCrlCount";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_OCSP_AFTER_CRL_DISABLE: u32 = 4294967295u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_PRE_FETCH_AFTER_CURRENT_TIME_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME: &str = "CryptnetPreFetchAfterCurrentTimePreFetchPeriodSeconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_PRE_FETCH_AFTER_PUBLISH_PRE_FETCH_DIVISOR_DEFAULT: u32 = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_PRE_FETCH_AFTER_PUBLISH_PRE_FETCH_DIVISOR_VALUE_NAME: &str = "CryptnetPreFetchAfterPublishPreFetchDivisor";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_PRE_FETCH_BEFORE_NEXT_UPDATE_PRE_FETCH_DIVISOR_DEFAULT: u32 = 20u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_PRE_FETCH_BEFORE_NEXT_UPDATE_PRE_FETCH_DIVISOR_VALUE_NAME: &str = "CryptnetPreFetchBeforeNextUpdatePreFetchDivisor";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_PRE_FETCH_MAX_AFTER_NEXT_UPDATE_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME: &str = "CryptnetPreFetchMaxAfterNextUpdatePreFetchPeriodSeconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_PRE_FETCH_MAX_MAX_AGE_SECONDS_VALUE_NAME: &str = "CryptnetPreFetchMaxMaxAgeSeconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_PRE_FETCH_MIN_AFTER_NEXT_UPDATE_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME: &str = "CryptnetPreFetchMinAfterNextUpdatePreFetchPeriodSeconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_PRE_FETCH_MIN_BEFORE_NEXT_UPDATE_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME: &str = "CryptnetPreFetchMinBeforeNextUpdatePreFetchSeconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_PRE_FETCH_MIN_MAX_AGE_SECONDS_VALUE_NAME: &str = "CryptnetPreFetchMinMaxAgeSeconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_PRE_FETCH_MIN_OCSP_VALIDITY_PERIOD_SECONDS_VALUE_NAME: &str = "CryptnetPreFetchMinOcspValidityPeriodSeconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_PRE_FETCH_RETRIEVAL_TIMEOUT_SECONDS_VALUE_NAME: &str = "CryptnetPreFetchRetrievalTimeoutSeconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_PRE_FETCH_SCAN_AFTER_TRIGGER_DELAY_SECONDS_DEFAULT: u32 = 60u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_PRE_FETCH_SCAN_AFTER_TRIGGER_DELAY_SECONDS_VALUE_NAME: &str = "CryptnetPreFetchScanAfterTriggerDelaySeconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_PRE_FETCH_TRIGGER_DISABLE: u32 = 4294967295u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_PRE_FETCH_TRIGGER_PERIOD_SECONDS_VALUE_NAME: &str = "CryptnetPreFetchTriggerPeriodSeconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_PRE_FETCH_VALIDITY_PERIOD_AFTER_NEXT_UPDATE_PRE_FETCH_DIVISOR_DEFAULT: u32 = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_PRE_FETCH_VALIDITY_PERIOD_AFTER_NEXT_UPDATE_PRE_FETCH_DIVISOR_VALUE_NAME: &str = "CryptnetPreFetchValidityPeriodAfterNextUpdatePreFetchDivisor";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_URL_CACHE_DEFAULT_FLUSH: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_URL_CACHE_DEFAULT_FLUSH_EXEMPT_SECONDS_VALUE_NAME: &str = "CryptnetDefaultFlushExemptSeconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_URL_CACHE_DISABLE_FLUSH: u32 = 4294967295u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRYPTNET_URL_CACHE_FLUSH_INFO {
+ pub cbSize: u32,
+ pub dwExemptSeconds: u32,
+ pub ExpireTime: super::super::Foundation::FILETIME,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRYPTNET_URL_CACHE_FLUSH_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRYPTNET_URL_CACHE_FLUSH_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_URL_CACHE_PRE_FETCH_AUTOROOT_CAB: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_URL_CACHE_PRE_FETCH_BLOB: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_URL_CACHE_PRE_FETCH_CRL: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_URL_CACHE_PRE_FETCH_DISALLOWED_CERT_CAB: u32 = 6u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRYPTNET_URL_CACHE_PRE_FETCH_INFO {
+ pub cbSize: u32,
+ pub dwObjectType: u32,
+ pub dwError: u32,
+ pub dwReserved: u32,
+ pub ThisUpdateTime: super::super::Foundation::FILETIME,
+ pub NextUpdateTime: super::super::Foundation::FILETIME,
+ pub PublishTime: super::super::Foundation::FILETIME,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRYPTNET_URL_CACHE_PRE_FETCH_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRYPTNET_URL_CACHE_PRE_FETCH_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_URL_CACHE_PRE_FETCH_NONE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_URL_CACHE_PRE_FETCH_OCSP: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_URL_CACHE_PRE_FETCH_PIN_RULES_CAB: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_URL_CACHE_RESPONSE_HTTP: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRYPTNET_URL_CACHE_RESPONSE_INFO {
+ pub cbSize: u32,
+ pub wResponseType: u16,
+ pub wResponseFlags: u16,
+ pub LastModifiedTime: super::super::Foundation::FILETIME,
+ pub dwMaxAge: u32,
+ pub pwszETag: ::windows_sys::core::PCWSTR,
+ pub dwProxyId: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRYPTNET_URL_CACHE_RESPONSE_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRYPTNET_URL_CACHE_RESPONSE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_URL_CACHE_RESPONSE_NONE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTNET_URL_CACHE_RESPONSE_VALIDATED: u32 = 32768u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPTOAPI_BLOB {
+ pub cbData: u32,
+ pub pbData: *mut u8,
+}
+impl ::core::marker::Copy for CRYPTOAPI_BLOB {}
+impl ::core::clone::Clone for CRYPTOAPI_BLOB {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTPROTECTMEMORY_BLOCK_SIZE: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTPROTECTMEMORY_CROSS_PROCESS: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTPROTECTMEMORY_SAME_LOGON: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTPROTECTMEMORY_SAME_PROCESS: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTPROTECT_AUDIT: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTPROTECT_CRED_REGENERATE: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTPROTECT_CRED_SYNC: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTPROTECT_FIRST_RESERVED_FLAGVAL: u32 = 268435455u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTPROTECT_LAST_RESERVED_FLAGVAL: u32 = 4294967295u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTPROTECT_LOCAL_MACHINE: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTPROTECT_NO_RECOVERY: u32 = 32u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRYPTPROTECT_PROMPTSTRUCT {
+ pub cbSize: u32,
+ pub dwPromptFlags: u32,
+ pub hwndApp: super::super::Foundation::HWND,
+ pub szPrompt: ::windows_sys::core::PCWSTR,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRYPTPROTECT_PROMPTSTRUCT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRYPTPROTECT_PROMPTSTRUCT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTPROTECT_PROMPT_ON_PROTECT: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTPROTECT_PROMPT_ON_UNPROTECT: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTPROTECT_PROMPT_REQUIRE_STRONG: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTPROTECT_PROMPT_RESERVED: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTPROTECT_PROMPT_STRONG: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTPROTECT_UI_FORBIDDEN: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPTPROTECT_VERIFY_PROTECTION: u32 = 64u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_3DES_KEY_STATE {
+ pub Key: [u8; 24],
+ pub IV: [u8; 8],
+ pub Feedback: [u8; 8],
+}
+impl ::core::marker::Copy for CRYPT_3DES_KEY_STATE {}
+impl ::core::clone::Clone for CRYPT_3DES_KEY_STATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ACCUMULATIVE_TIMEOUT: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ACQUIRE_ALLOW_NCRYPT_KEY_FLAG: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_ACQUIRE_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ACQUIRE_CACHE_FLAG: CRYPT_ACQUIRE_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ACQUIRE_COMPARE_KEY_FLAG: CRYPT_ACQUIRE_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ACQUIRE_NO_HEALING: CRYPT_ACQUIRE_FLAGS = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ACQUIRE_SILENT_FLAG: CRYPT_ACQUIRE_FLAGS = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ACQUIRE_USE_PROV_INFO_FLAG: CRYPT_ACQUIRE_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ACQUIRE_NCRYPT_KEY_FLAGS_MASK: u32 = 458752u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ACQUIRE_ONLY_NCRYPT_KEY_FLAG: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ACQUIRE_PREFER_NCRYPT_KEY_FLAG: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ACQUIRE_WINDOW_HANDLE_FLAG: u32 = 128u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_AES_128_KEY_STATE {
+ pub Key: [u8; 16],
+ pub IV: [u8; 16],
+ pub EncryptionState: [u8; 176],
+ pub DecryptionState: [u8; 176],
+ pub Feedback: [u8; 16],
+}
+impl ::core::marker::Copy for CRYPT_AES_128_KEY_STATE {}
+impl ::core::clone::Clone for CRYPT_AES_128_KEY_STATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_AES_256_KEY_STATE {
+ pub Key: [u8; 32],
+ pub IV: [u8; 16],
+ pub EncryptionState: [u8; 240],
+ pub DecryptionState: [u8; 240],
+ pub Feedback: [u8; 16],
+}
+impl ::core::marker::Copy for CRYPT_AES_256_KEY_STATE {}
+impl ::core::clone::Clone for CRYPT_AES_256_KEY_STATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_AIA_RETRIEVAL: u32 = 524288u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_ALGORITHM_IDENTIFIER {
+ pub pszObjId: ::windows_sys::core::PSTR,
+ pub Parameters: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CRYPT_ALGORITHM_IDENTIFIER {}
+impl ::core::clone::Clone for CRYPT_ALGORITHM_IDENTIFIER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ARCHIVE: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ASN_ENCODING: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ASYNC_RETRIEVAL: u32 = 16u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_ASYNC_RETRIEVAL_COMPLETION {
+ pub pfnCompletion: PFN_CRYPT_ASYNC_RETRIEVAL_COMPLETION_FUNC,
+ pub pvCompletion: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for CRYPT_ASYNC_RETRIEVAL_COMPLETION {}
+impl ::core::clone::Clone for CRYPT_ASYNC_RETRIEVAL_COMPLETION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_ATTRIBUTE {
+ pub pszObjId: ::windows_sys::core::PSTR,
+ pub cValue: u32,
+ pub rgValue: *mut CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CRYPT_ATTRIBUTE {}
+impl ::core::clone::Clone for CRYPT_ATTRIBUTE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_ATTRIBUTES {
+ pub cAttr: u32,
+ pub rgAttr: *mut CRYPT_ATTRIBUTE,
+}
+impl ::core::marker::Copy for CRYPT_ATTRIBUTES {}
+impl ::core::clone::Clone for CRYPT_ATTRIBUTES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_ATTRIBUTE_TYPE_VALUE {
+ pub pszObjId: ::windows_sys::core::PSTR,
+ pub Value: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CRYPT_ATTRIBUTE_TYPE_VALUE {}
+impl ::core::clone::Clone for CRYPT_ATTRIBUTE_TYPE_VALUE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_BIT_BLOB {
+ pub cbData: u32,
+ pub pbData: *mut u8,
+ pub cUnusedBits: u32,
+}
+impl ::core::marker::Copy for CRYPT_BIT_BLOB {}
+impl ::core::clone::Clone for CRYPT_BIT_BLOB {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_BLOB_ARRAY {
+ pub cBlob: u32,
+ pub rgBlob: *mut CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CRYPT_BLOB_ARRAY {}
+impl ::core::clone::Clone for CRYPT_BLOB_ARRAY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_CACHE_ONLY_RETRIEVAL: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_CHECK_FRESHNESS_TIME_VALIDITY: u32 = 1024u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_CONTENT_INFO {
+ pub pszObjId: ::windows_sys::core::PSTR,
+ pub Content: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CRYPT_CONTENT_INFO {}
+impl ::core::clone::Clone for CRYPT_CONTENT_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_CONTENT_INFO_SEQUENCE_OF_ANY {
+ pub pszObjId: ::windows_sys::core::PSTR,
+ pub cValue: u32,
+ pub rgValue: *mut CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CRYPT_CONTENT_INFO_SEQUENCE_OF_ANY {}
+impl ::core::clone::Clone for CRYPT_CONTENT_INFO_SEQUENCE_OF_ANY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_CONTEXTS {
+ pub cContexts: u32,
+ pub rgpszContexts: *mut ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for CRYPT_CONTEXTS {}
+impl ::core::clone::Clone for CRYPT_CONTEXTS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_CONTEXT_CONFIG {
+ pub dwFlags: CRYPT_CONTEXT_CONFIG_FLAGS,
+ pub dwReserved: u32,
+}
+impl ::core::marker::Copy for CRYPT_CONTEXT_CONFIG {}
+impl ::core::clone::Clone for CRYPT_CONTEXT_CONFIG {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_CONTEXT_CONFIG_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_EXCLUSIVE: CRYPT_CONTEXT_CONFIG_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OVERRIDE: CRYPT_CONTEXT_CONFIG_FLAGS = 65536u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_CONTEXT_FUNCTIONS {
+ pub cFunctions: u32,
+ pub rgpszFunctions: *mut ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for CRYPT_CONTEXT_FUNCTIONS {}
+impl ::core::clone::Clone for CRYPT_CONTEXT_FUNCTIONS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_CONTEXT_FUNCTION_CONFIG {
+ pub dwFlags: u32,
+ pub dwReserved: u32,
+}
+impl ::core::marker::Copy for CRYPT_CONTEXT_FUNCTION_CONFIG {}
+impl ::core::clone::Clone for CRYPT_CONTEXT_FUNCTION_CONFIG {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_CONTEXT_FUNCTION_PROVIDERS {
+ pub cProviders: u32,
+ pub rgpszProviders: *mut ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for CRYPT_CONTEXT_FUNCTION_PROVIDERS {}
+impl ::core::clone::Clone for CRYPT_CONTEXT_FUNCTION_PROVIDERS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_CREATE_NEW_FLUSH_ENTRY: u32 = 268435456u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_CREDENTIALS {
+ pub cbSize: u32,
+ pub pszCredentialsOid: ::windows_sys::core::PCSTR,
+ pub pvCredentials: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for CRYPT_CREDENTIALS {}
+impl ::core::clone::Clone for CRYPT_CREDENTIALS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_CSP_PROVIDER {
+ pub dwKeySpec: u32,
+ pub pwszProviderName: ::windows_sys::core::PWSTR,
+ pub Signature: CRYPT_BIT_BLOB,
+}
+impl ::core::marker::Copy for CRYPT_CSP_PROVIDER {}
+impl ::core::clone::Clone for CRYPT_CSP_PROVIDER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_DECODE_ALLOC_FLAG: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_DECODE_ENABLE_PUNYCODE_FLAG: u32 = 33554432u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_DECODE_ENABLE_UTF8PERCENT_FLAG: u32 = 67108864u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_DECODE_NOCOPY_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_DECODE_NO_SIGNATURE_BYTE_REVERSAL_FLAG: u32 = 8u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_DECODE_PARA {
+ pub cbSize: u32,
+ pub pfnAlloc: PFN_CRYPT_ALLOC,
+ pub pfnFree: PFN_CRYPT_FREE,
+}
+impl ::core::marker::Copy for CRYPT_DECODE_PARA {}
+impl ::core::clone::Clone for CRYPT_DECODE_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_DECODE_SHARE_OID_STRING_FLAG: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_DECODE_TO_BE_SIGNED_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_DECRYPT: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_DECRYPT_MESSAGE_PARA {
+ pub cbSize: u32,
+ pub dwMsgAndCertEncodingType: u32,
+ pub cCertStore: u32,
+ pub rghCertStore: *mut HCERTSTORE,
+}
+impl ::core::marker::Copy for CRYPT_DECRYPT_MESSAGE_PARA {}
+impl ::core::clone::Clone for CRYPT_DECRYPT_MESSAGE_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_DECRYPT_RSA_NO_PADDING_CHECK: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_DEFAULT_CONTAINER_OPTIONAL: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_DEFAULT_CONTEXT: &str = "Default";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_DEFAULT_CONTEXT_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_DEFAULT_CONTEXT_AUTO_RELEASE_FLAG: CRYPT_DEFAULT_CONTEXT_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_DEFAULT_CONTEXT_PROCESS_FLAG: CRYPT_DEFAULT_CONTEXT_FLAGS = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_DEFAULT_CONTEXT_MULTI_OID_PARA {
+ pub cOID: u32,
+ pub rgpszOID: *mut ::windows_sys::core::PSTR,
+}
+impl ::core::marker::Copy for CRYPT_DEFAULT_CONTEXT_MULTI_OID_PARA {}
+impl ::core::clone::Clone for CRYPT_DEFAULT_CONTEXT_MULTI_OID_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_DEFAULT_CONTEXT_TYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_DEFAULT_CONTEXT_CERT_SIGN_OID: CRYPT_DEFAULT_CONTEXT_TYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_DEFAULT_CONTEXT_MULTI_CERT_SIGN_OID: CRYPT_DEFAULT_CONTEXT_TYPE = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_DEFAULT_OID: &str = "DEFAULT";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_DELETEKEYSET: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_DELETE_DEFAULT: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_DELETE_KEYSET: u32 = 16u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_DES_KEY_STATE {
+ pub Key: [u8; 8],
+ pub IV: [u8; 8],
+ pub Feedback: [u8; 8],
+}
+impl ::core::marker::Copy for CRYPT_DES_KEY_STATE {}
+impl ::core::clone::Clone for CRYPT_DES_KEY_STATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_DONT_CACHE_RESULT: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_DONT_CHECK_TIME_VALIDITY: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_DONT_VERIFY_SIGNATURE: u32 = 256u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_ECC_CMS_SHARED_INFO {
+ pub Algorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub EntityUInfo: CRYPTOAPI_BLOB,
+ pub rgbSuppPubInfo: [u8; 4],
+}
+impl ::core::marker::Copy for CRYPT_ECC_CMS_SHARED_INFO {}
+impl ::core::clone::Clone for CRYPT_ECC_CMS_SHARED_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ECC_CMS_SHARED_INFO_SUPPPUBINFO_BYTE_LENGTH: u32 = 4u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_ECC_PRIVATE_KEY_INFO {
+ pub dwVersion: u32,
+ pub PrivateKey: CRYPTOAPI_BLOB,
+ pub szCurveOid: ::windows_sys::core::PSTR,
+ pub PublicKey: CRYPT_BIT_BLOB,
+}
+impl ::core::marker::Copy for CRYPT_ECC_PRIVATE_KEY_INFO {}
+impl ::core::clone::Clone for CRYPT_ECC_PRIVATE_KEY_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ECC_PRIVATE_KEY_INFO_v1: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ENABLE_FILE_RETRIEVAL: u32 = 134217728u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ENABLE_SSL_REVOCATION_RETRIEVAL: u32 = 8388608u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ENCODE_DECODE_NONE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ENCODE_ENABLE_UTF8PERCENT_FLAG: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ENCODE_NO_SIGNATURE_BYTE_REVERSAL_FLAG: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_ENCODE_OBJECT_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ENCODE_ALLOC_FLAG: CRYPT_ENCODE_OBJECT_FLAGS = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ENCODE_ENABLE_PUNYCODE_FLAG: CRYPT_ENCODE_OBJECT_FLAGS = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_UNICODE_NAME_ENCODE_DISABLE_CHECK_TYPE_FLAG: CRYPT_ENCODE_OBJECT_FLAGS = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_UNICODE_NAME_ENCODE_ENABLE_T61_UNICODE_FLAG: CRYPT_ENCODE_OBJECT_FLAGS = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_UNICODE_NAME_ENCODE_ENABLE_UTF8_UNICODE_FLAG: CRYPT_ENCODE_OBJECT_FLAGS = 536870912u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_ENCODE_PARA {
+ pub cbSize: u32,
+ pub pfnAlloc: PFN_CRYPT_ALLOC,
+ pub pfnFree: PFN_CRYPT_FREE,
+}
+impl ::core::marker::Copy for CRYPT_ENCODE_PARA {}
+impl ::core::clone::Clone for CRYPT_ENCODE_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ENCRYPT: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_ENCRYPTED_PRIVATE_KEY_INFO {
+ pub EncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub EncryptedPrivateKey: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CRYPT_ENCRYPTED_PRIVATE_KEY_INFO {}
+impl ::core::clone::Clone for CRYPT_ENCRYPTED_PRIVATE_KEY_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ENCRYPT_ALG_OID_GROUP_ID: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_ENCRYPT_MESSAGE_PARA {
+ pub cbSize: u32,
+ pub dwMsgEncodingType: u32,
+ pub hCryptProv: HCRYPTPROV_LEGACY,
+ pub ContentEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub pvEncryptionAuxInfo: *mut ::core::ffi::c_void,
+ pub dwFlags: u32,
+ pub dwInnerContentType: u32,
+}
+impl ::core::marker::Copy for CRYPT_ENCRYPT_MESSAGE_PARA {}
+impl ::core::clone::Clone for CRYPT_ENCRYPT_MESSAGE_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ENHKEY_USAGE_OID_GROUP_ID: u32 = 7u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_ENROLLMENT_NAME_VALUE_PAIR {
+ pub pwszName: ::windows_sys::core::PWSTR,
+ pub pwszValue: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for CRYPT_ENROLLMENT_NAME_VALUE_PAIR {}
+impl ::core::clone::Clone for CRYPT_ENROLLMENT_NAME_VALUE_PAIR {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_EXPORT: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_EXPORT_KEY: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_EXT_OR_ATTR_OID_GROUP_ID: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_FAILED: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_FASTSGC: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_FIND_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_FIND_USER_KEYSET_FLAG: CRYPT_FIND_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_FIND_MACHINE_KEYSET_FLAG: CRYPT_FIND_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_FIND_SILENT_KEYSET_FLAG: CRYPT_FIND_FLAGS = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_FIRST: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_FIRST_ALG_OID_GROUP_ID: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_FLAG_IPSEC: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_FLAG_PCT1: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_FLAG_SIGNING: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_FLAG_SSL2: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_FLAG_SSL3: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_FLAG_TLS1: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_FORMAT_COMMA: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_FORMAT_CRLF: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_FORMAT_OID: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_FORMAT_RDN_CRLF: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_FORMAT_RDN_REVERSE: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_FORMAT_RDN_SEMICOLON: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_FORMAT_RDN_UNQUOTE: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_FORMAT_SEMICOLON: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_FORMAT_SIMPLE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_FORMAT_STR_MULTI_LINE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_FORMAT_STR_NO_HEX: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_FORMAT_X509: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_GET_INSTALLED_OID_FUNC_FLAG: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRYPT_GET_TIME_VALID_OBJECT_EXTRA_INFO {
+ pub cbSize: u32,
+ pub iDeltaCrlIndicator: i32,
+ pub pftCacheResync: *mut super::super::Foundation::FILETIME,
+ pub pLastSyncTime: *mut super::super::Foundation::FILETIME,
+ pub pMaxAgeTime: *mut super::super::Foundation::FILETIME,
+ pub pChainPara: *mut CERT_REVOCATION_CHAIN_PARA,
+ pub pDeltaCrlIndicator: *mut CRYPTOAPI_BLOB,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRYPT_GET_TIME_VALID_OBJECT_EXTRA_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRYPT_GET_TIME_VALID_OBJECT_EXTRA_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_GET_URL_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_GET_URL_FROM_PROPERTY: CRYPT_GET_URL_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_GET_URL_FROM_EXTENSION: CRYPT_GET_URL_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_GET_URL_FROM_UNAUTH_ATTRIBUTE: CRYPT_GET_URL_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_GET_URL_FROM_AUTH_ATTRIBUTE: CRYPT_GET_URL_FLAGS = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_HASH_ALG_OID_GROUP_ID: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_HASH_INFO {
+ pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub Hash: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CRYPT_HASH_INFO {}
+impl ::core::clone::Clone for CRYPT_HASH_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_HASH_MESSAGE_PARA {
+ pub cbSize: u32,
+ pub dwMsgEncodingType: u32,
+ pub hCryptProv: HCRYPTPROV_LEGACY,
+ pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub pvHashAuxInfo: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for CRYPT_HASH_MESSAGE_PARA {}
+impl ::core::clone::Clone for CRYPT_HASH_MESSAGE_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_HTTP_POST_RETRIEVAL: u32 = 1048576u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_IMAGE_REF {
+ pub pszImage: ::windows_sys::core::PWSTR,
+ pub dwFlags: CRYPT_IMAGE_REF_FLAGS,
+}
+impl ::core::marker::Copy for CRYPT_IMAGE_REF {}
+impl ::core::clone::Clone for CRYPT_IMAGE_REF {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_IMAGE_REF_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_MIN_DEPENDENCIES: CRYPT_IMAGE_REF_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_PROCESS_ISOLATE: CRYPT_IMAGE_REF_FLAGS = 65536u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_IMAGE_REG {
+ pub pszImage: ::windows_sys::core::PWSTR,
+ pub cInterfaces: u32,
+ pub rgpInterfaces: *mut *mut CRYPT_INTERFACE_REG,
+}
+impl ::core::marker::Copy for CRYPT_IMAGE_REG {}
+impl ::core::clone::Clone for CRYPT_IMAGE_REG {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_IMPL_HARDWARE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_IMPL_MIXED: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_IMPL_REMOVABLE: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_IMPL_SOFTWARE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_IMPL_UNKNOWN: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_IMPORT_KEY: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_IMPORT_PUBLIC_KEY_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_INFO_PUBKEY_SIGN_KEY_FLAG: CRYPT_IMPORT_PUBLIC_KEY_FLAGS = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_INFO_PUBKEY_ENCRYPT_KEY_FLAG: CRYPT_IMPORT_PUBLIC_KEY_FLAGS = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_INSTALL_OID_FUNC_BEFORE_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_INSTALL_OID_INFO_BEFORE_FLAG: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_INTERFACE_REG {
+ pub dwInterface: BCRYPT_INTERFACE,
+ pub dwFlags: BCRYPT_TABLE,
+ pub cFunctions: u32,
+ pub rgpszFunctions: *mut ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for CRYPT_INTERFACE_REG {}
+impl ::core::clone::Clone for CRYPT_INTERFACE_REG {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_KDF_OID_GROUP_ID: u32 = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_KEEP_TIME_VALID: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_KEYID_ALLOC_FLAG: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_KEYID_DELETE_FLAG: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_KEYID_MACHINE_FLAG: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_KEYID_SET_NEW_FLAG: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_KEY_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_EXPORTABLE: CRYPT_KEY_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_USER_PROTECTED: CRYPT_KEY_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ARCHIVABLE: CRYPT_KEY_FLAGS = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_CREATE_IV: CRYPT_KEY_FLAGS = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_CREATE_SALT: CRYPT_KEY_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_DATA_KEY: CRYPT_KEY_FLAGS = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_FORCE_KEY_PROTECTION_HIGH: CRYPT_KEY_FLAGS = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_KEK: CRYPT_KEY_FLAGS = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_INITIATOR: CRYPT_KEY_FLAGS = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_NO_SALT: CRYPT_KEY_FLAGS = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_ONLINE: CRYPT_KEY_FLAGS = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_PREGEN: CRYPT_KEY_FLAGS = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_RECIPIENT: CRYPT_KEY_FLAGS = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_SF: CRYPT_KEY_FLAGS = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_SGCKEY: CRYPT_KEY_FLAGS = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_VOLATILE: CRYPT_KEY_FLAGS = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_MACHINE_KEYSET: CRYPT_KEY_FLAGS = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_USER_KEYSET: CRYPT_KEY_FLAGS = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS12_PREFER_CNG_KSP: CRYPT_KEY_FLAGS = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS12_ALWAYS_CNG_KSP: CRYPT_KEY_FLAGS = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS12_ALLOW_OVERWRITE_KEY: CRYPT_KEY_FLAGS = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS12_NO_PERSIST_KEY: CRYPT_KEY_FLAGS = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS12_INCLUDE_EXTENDED_PROPERTIES: CRYPT_KEY_FLAGS = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OAEP: CRYPT_KEY_FLAGS = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_BLOB_VER3: CRYPT_KEY_FLAGS = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_DESTROYKEY: CRYPT_KEY_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_SSL2_FALLBACK: CRYPT_KEY_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_Y_ONLY: CRYPT_KEY_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_IPSEC_HMAC_KEY: CRYPT_KEY_FLAGS = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SET_KEY_PROV_HANDLE_PROP_ID: CRYPT_KEY_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CERT_SET_KEY_CONTEXT_PROP_ID: CRYPT_KEY_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_KEY_PARAM_ID = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_ALGID: CRYPT_KEY_PARAM_ID = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_CERTIFICATE: CRYPT_KEY_PARAM_ID = 26u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_PERMISSIONS: CRYPT_KEY_PARAM_ID = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_SALT: CRYPT_KEY_PARAM_ID = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_SALT_EX: CRYPT_KEY_PARAM_ID = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_BLOCKLEN: CRYPT_KEY_PARAM_ID = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_GET_USE_COUNT: CRYPT_KEY_PARAM_ID = 42u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_KEYLEN: CRYPT_KEY_PARAM_ID = 9u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_KEY_PROV_INFO {
+ pub pwszContainerName: ::windows_sys::core::PWSTR,
+ pub pwszProvName: ::windows_sys::core::PWSTR,
+ pub dwProvType: u32,
+ pub dwFlags: CRYPT_KEY_FLAGS,
+ pub cProvParam: u32,
+ pub rgProvParam: *mut CRYPT_KEY_PROV_PARAM,
+ pub dwKeySpec: u32,
+}
+impl ::core::marker::Copy for CRYPT_KEY_PROV_INFO {}
+impl ::core::clone::Clone for CRYPT_KEY_PROV_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_KEY_PROV_PARAM {
+ pub dwParam: u32,
+ pub pbData: *mut u8,
+ pub cbData: u32,
+ pub dwFlags: u32,
+}
+impl ::core::marker::Copy for CRYPT_KEY_PROV_PARAM {}
+impl ::core::clone::Clone for CRYPT_KEY_PROV_PARAM {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_KEY_SIGN_MESSAGE_PARA {
+ pub cbSize: u32,
+ pub dwMsgAndCertEncodingType: CERT_QUERY_ENCODING_TYPE,
+ pub Anonymous: CRYPT_KEY_SIGN_MESSAGE_PARA_0,
+ pub dwKeySpec: CERT_KEY_SPEC,
+ pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub pvHashAuxInfo: *mut ::core::ffi::c_void,
+ pub PubKeyAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+}
+impl ::core::marker::Copy for CRYPT_KEY_SIGN_MESSAGE_PARA {}
+impl ::core::clone::Clone for CRYPT_KEY_SIGN_MESSAGE_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub union CRYPT_KEY_SIGN_MESSAGE_PARA_0 {
+ pub hCryptProv: usize,
+ pub hNCryptKey: NCRYPT_KEY_HANDLE,
+}
+impl ::core::marker::Copy for CRYPT_KEY_SIGN_MESSAGE_PARA_0 {}
+impl ::core::clone::Clone for CRYPT_KEY_SIGN_MESSAGE_PARA_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_KEY_VERIFY_MESSAGE_PARA {
+ pub cbSize: u32,
+ pub dwMsgEncodingType: u32,
+ pub hCryptProv: HCRYPTPROV_LEGACY,
+}
+impl ::core::marker::Copy for CRYPT_KEY_VERIFY_MESSAGE_PARA {}
+impl ::core::clone::Clone for CRYPT_KEY_VERIFY_MESSAGE_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_LAST_ALG_OID_GROUP_ID: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_LAST_OID_GROUP_ID: u32 = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_LDAP_AREC_EXCLUSIVE_RETRIEVAL: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_LDAP_INSERT_ENTRY_ATTRIBUTE: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_LDAP_SCOPE_BASE_ONLY_RETRIEVAL: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_LDAP_SIGN_RETRIEVAL: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_LITTLE_ENDIAN: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_LOCALIZED_NAME_ENCODING_TYPE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_LOCALIZED_NAME_OID: &str = "LocalizedNames";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_MAC: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_MACHINE_DEFAULT: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_MASK_GEN_ALGORITHM {
+ pub pszObjId: ::windows_sys::core::PSTR,
+ pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+}
+impl ::core::marker::Copy for CRYPT_MASK_GEN_ALGORITHM {}
+impl ::core::clone::Clone for CRYPT_MASK_GEN_ALGORITHM {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_MATCH_ANY_ENCODING_TYPE: u32 = 4294967295u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_MESSAGE_BARE_CONTENT_OUT_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_MESSAGE_ENCAPSULATED_CONTENT_OUT_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_MESSAGE_KEYID_RECIPIENT_FLAG: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_MESSAGE_KEYID_SIGNER_FLAG: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_MESSAGE_SILENT_KEYSET_FLAG: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_MODE_CBC: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_MODE_CBCI: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_MODE_CBCOFM: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_MODE_CBCOFMI: u32 = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_MODE_CFB: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_MODE_CFBP: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_MODE_CTS: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_MODE_ECB: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_MODE_OFB: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_MODE_OFBP: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_MSG_TYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_DATA: CRYPT_MSG_TYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_SIGNED: CRYPT_MSG_TYPE = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_ENVELOPED: CRYPT_MSG_TYPE = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_SIGNED_AND_ENVELOPED: CRYPT_MSG_TYPE = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CMSG_HASHED: CRYPT_MSG_TYPE = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_NDR_ENCODING: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_NEWKEYSET: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_NEXT: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_NOHASHOID: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_NOT_MODIFIED_RETRIEVAL: u32 = 4194304u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_NO_AUTH_RETRIEVAL: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_NO_OCSP_FAILOVER_TO_CRL_RETRIEVAL: u32 = 33554432u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OBJECT_LOCATOR_FIRST_RESERVED_USER_NAME_TYPE: u32 = 33u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OBJECT_LOCATOR_LAST_RESERVED_NAME_TYPE: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OBJECT_LOCATOR_LAST_RESERVED_USER_NAME_TYPE: u32 = 65535u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRYPT_OBJECT_LOCATOR_PROVIDER_TABLE {
+ pub cbSize: u32,
+ pub pfnGet: PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_GET,
+ pub pfnRelease: PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_RELEASE,
+ pub pfnFreePassword: PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE_PASSWORD,
+ pub pfnFree: PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE,
+ pub pfnFreeIdentifier: PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE_IDENTIFIER,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRYPT_OBJECT_LOCATOR_PROVIDER_TABLE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRYPT_OBJECT_LOCATOR_PROVIDER_TABLE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_OBJECT_LOCATOR_RELEASE_REASON = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OBJECT_LOCATOR_RELEASE_SYSTEM_SHUTDOWN: CRYPT_OBJECT_LOCATOR_RELEASE_REASON = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OBJECT_LOCATOR_RELEASE_SERVICE_STOP: CRYPT_OBJECT_LOCATOR_RELEASE_REASON = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OBJECT_LOCATOR_RELEASE_PROCESS_EXIT: CRYPT_OBJECT_LOCATOR_RELEASE_REASON = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OBJECT_LOCATOR_RELEASE_DLL_UNLOAD: CRYPT_OBJECT_LOCATOR_RELEASE_REASON = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OBJECT_LOCATOR_SPN_NAME_TYPE: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_OBJID_TABLE {
+ pub dwAlgId: u32,
+ pub pszObjId: ::windows_sys::core::PCSTR,
+}
+impl ::core::marker::Copy for CRYPT_OBJID_TABLE {}
+impl ::core::clone::Clone for CRYPT_OBJID_TABLE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OCSP_ONLY_RETRIEVAL: u32 = 16777216u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OFFLINE_CHECK_RETRIEVAL: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_CREATE_COM_OBJECT_FUNC: &str = "CryptDllCreateCOMObject";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_DECODE_OBJECT_EX_FUNC: &str = "CryptDllDecodeObjectEx";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_DECODE_OBJECT_FUNC: &str = "CryptDllDecodeObject";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_DISABLE_SEARCH_DS_FLAG: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_ENCODE_OBJECT_EX_FUNC: &str = "CryptDllEncodeObjectEx";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_ENCODE_OBJECT_FUNC: &str = "CryptDllEncodeObject";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_ENUM_PHYSICAL_STORE_FUNC: &str = "CertDllEnumPhysicalStore";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_ENUM_SYSTEM_STORE_FUNC: &str = "CertDllEnumSystemStore";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_EXPORT_PRIVATE_KEY_INFO_FUNC: &str = "CryptDllExportPrivateKeyInfoEx";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_EXPORT_PUBLIC_KEY_INFO_EX2_FUNC: &str = "CryptDllExportPublicKeyInfoEx2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_EXPORT_PUBLIC_KEY_INFO_FROM_BCRYPT_HANDLE_FUNC: &str = "CryptDllExportPublicKeyInfoFromBCryptKeyHandle";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_EXPORT_PUBLIC_KEY_INFO_FUNC: &str = "CryptDllExportPublicKeyInfoEx";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_EXTRACT_ENCODED_SIGNATURE_PARAMETERS_FUNC: &str = "CryptDllExtractEncodedSignatureParameters";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_FIND_LOCALIZED_NAME_FUNC: &str = "CryptDllFindLocalizedName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_FIND_OID_INFO_FUNC: &str = "CryptDllFindOIDInfo";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_FORMAT_OBJECT_FUNC: &str = "CryptDllFormatObject";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_OID_FUNC_ENTRY {
+ pub pszOID: ::windows_sys::core::PCSTR,
+ pub pvFuncAddr: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for CRYPT_OID_FUNC_ENTRY {}
+impl ::core::clone::Clone for CRYPT_OID_FUNC_ENTRY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_IMPORT_PRIVATE_KEY_INFO_FUNC: &str = "CryptDllImportPrivateKeyInfoEx";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_IMPORT_PUBLIC_KEY_INFO_EX2_FUNC: &str = "CryptDllImportPublicKeyInfoEx2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_IMPORT_PUBLIC_KEY_INFO_FUNC: &str = "CryptDllImportPublicKeyInfoEx";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_OID_INFO {
+ pub cbSize: u32,
+ pub pszOID: ::windows_sys::core::PCSTR,
+ pub pwszName: ::windows_sys::core::PCWSTR,
+ pub dwGroupId: u32,
+ pub Anonymous: CRYPT_OID_INFO_0,
+ pub ExtraInfo: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CRYPT_OID_INFO {}
+impl ::core::clone::Clone for CRYPT_OID_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub union CRYPT_OID_INFO_0 {
+ pub dwValue: u32,
+ pub Algid: u32,
+ pub dwLength: u32,
+}
+impl ::core::marker::Copy for CRYPT_OID_INFO_0 {}
+impl ::core::clone::Clone for CRYPT_OID_INFO_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_INFO_ALGID_KEY: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_INFO_CNG_ALGID_KEY: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_INFO_CNG_SIGN_KEY: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_INFO_ECC_PARAMETERS_ALGORITHM: &str = "CryptOIDInfoECCParameters";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_INFO_ECC_WRAP_PARAMETERS_ALGORITHM: &str = "CryptOIDInfoECCWrapParameters";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_INFO_HASH_PARAMETERS_ALGORITHM: &str = "CryptOIDInfoHashParameters";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_INFO_MGF1_PARAMETERS_ALGORITHM: &str = "CryptOIDInfoMgf1Parameters";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_INFO_NAME_KEY: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_INFO_NO_PARAMETERS_ALGORITHM: &str = "CryptOIDInfoNoParameters";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_INFO_NO_SIGN_ALGORITHM: &str = "CryptOIDInfoNoSign";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_INFO_OAEP_PARAMETERS_ALGORITHM: &str = "CryptOIDInfoOAEPParameters";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_INFO_OID_GROUP_BIT_LEN_MASK: u32 = 268369920u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_INFO_OID_GROUP_BIT_LEN_SHIFT: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_INFO_OID_KEY: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_INFO_OID_KEY_FLAGS_MASK: u32 = 4294901760u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_INFO_SIGN_KEY: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_INHIBIT_SIGNATURE_FORMAT_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_NO_NULL_ALGORITHM_PARA_FLAG: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_OPEN_STORE_PROV_FUNC: &str = "CertDllOpenStoreProv";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_OPEN_SYSTEM_STORE_PROV_FUNC: &str = "CertDllOpenSystemStoreProv";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_PREFER_CNG_ALGID_FLAG: u32 = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_PUBKEY_ENCRYPT_ONLY_FLAG: u32 = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_PUBKEY_SIGN_ONLY_FLAG: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_REGISTER_PHYSICAL_STORE_FUNC: &str = "CertDllRegisterPhysicalStore";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_REGISTER_SYSTEM_STORE_FUNC: &str = "CertDllRegisterSystemStore";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_REGPATH: &str = "Software\\Microsoft\\Cryptography\\OID";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_REG_DLL_VALUE_NAME: &str = "Dll";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_REG_ENCODING_TYPE_PREFIX: &str = "EncodingType ";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_REG_FLAGS_VALUE_NAME: &str = "CryptFlags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_REG_FUNC_NAME_VALUE_NAME: &str = "FuncName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_REG_FUNC_NAME_VALUE_NAME_A: &str = "FuncName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_SIGN_AND_ENCODE_HASH_FUNC: &str = "CryptDllSignAndEncodeHash";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_SYSTEM_STORE_LOCATION_VALUE_NAME: &str = "SystemStoreLocation";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_UNREGISTER_PHYSICAL_STORE_FUNC: &str = "CertDllUnregisterPhysicalStore";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_UNREGISTER_SYSTEM_STORE_FUNC: &str = "CertDllUnregisterSystemStore";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_USE_CURVE_NAME_FOR_ENCODE_FLAG: u32 = 536870912u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_USE_CURVE_PARAMETERS_FOR_ENCODE_FLAG: u32 = 268435456u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_USE_PUBKEY_PARA_FOR_PKCS7_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_VERIFY_CERTIFICATE_CHAIN_POLICY_FUNC: &str = "CertDllVerifyCertificateChainPolicy";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_VERIFY_CTL_USAGE_FUNC: &str = "CertDllVerifyCTLUsage";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_VERIFY_ENCODED_SIGNATURE_FUNC: &str = "CryptDllVerifyEncodedSignature";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OID_VERIFY_REVOCATION_FUNC: &str = "CertDllVerifyRevocation";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OVERWRITE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_OWF_REPL_LM_HASH: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_PARAM_ASYNC_RETRIEVAL_COMPLETION: ::windows_sys::core::PCSTR = 1i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_PARAM_CANCEL_ASYNC_RETRIEVAL: ::windows_sys::core::PCSTR = 2i32 as _;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_PASSWORD_CREDENTIALSA {
+ pub cbSize: u32,
+ pub pszUsername: ::windows_sys::core::PSTR,
+ pub pszPassword: ::windows_sys::core::PSTR,
+}
+impl ::core::marker::Copy for CRYPT_PASSWORD_CREDENTIALSA {}
+impl ::core::clone::Clone for CRYPT_PASSWORD_CREDENTIALSA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_PASSWORD_CREDENTIALSW {
+ pub cbSize: u32,
+ pub pszUsername: ::windows_sys::core::PWSTR,
+ pub pszPassword: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for CRYPT_PASSWORD_CREDENTIALSW {}
+impl ::core::clone::Clone for CRYPT_PASSWORD_CREDENTIALSW {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_PKCS12_PBE_PARAMS {
+ pub iIterations: i32,
+ pub cbSalt: u32,
+}
+impl ::core::marker::Copy for CRYPT_PKCS12_PBE_PARAMS {}
+impl ::core::clone::Clone for CRYPT_PKCS12_PBE_PARAMS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRYPT_PKCS8_EXPORT_PARAMS {
+ pub hCryptProv: usize,
+ pub dwKeySpec: u32,
+ pub pszPrivateKeyObjId: ::windows_sys::core::PSTR,
+ pub pEncryptPrivateKeyFunc: PCRYPT_ENCRYPT_PRIVATE_KEY_FUNC,
+ pub pVoidEncryptFunc: *mut ::core::ffi::c_void,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRYPT_PKCS8_EXPORT_PARAMS {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRYPT_PKCS8_EXPORT_PARAMS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRYPT_PKCS8_IMPORT_PARAMS {
+ pub PrivateKey: CRYPTOAPI_BLOB,
+ pub pResolvehCryptProvFunc: PCRYPT_RESOLVE_HCRYPTPROV_FUNC,
+ pub pVoidResolveFunc: *mut ::core::ffi::c_void,
+ pub pDecryptPrivateKeyFunc: PCRYPT_DECRYPT_PRIVATE_KEY_FUNC,
+ pub pVoidDecryptFunc: *mut ::core::ffi::c_void,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRYPT_PKCS8_IMPORT_PARAMS {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRYPT_PKCS8_IMPORT_PARAMS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_POLICY_OID_GROUP_ID: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_PRIORITY_BOTTOM: u32 = 4294967295u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_PRIORITY_TOP: u32 = 0u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_PRIVATE_KEY_INFO {
+ pub Version: u32,
+ pub Algorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub PrivateKey: CRYPTOAPI_BLOB,
+ pub pAttributes: *mut CRYPT_ATTRIBUTES,
+}
+impl ::core::marker::Copy for CRYPT_PRIVATE_KEY_INFO {}
+impl ::core::clone::Clone for CRYPT_PRIVATE_KEY_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_PROPERTY_REF {
+ pub pszProperty: ::windows_sys::core::PWSTR,
+ pub cbValue: u32,
+ pub pbValue: *mut u8,
+}
+impl ::core::marker::Copy for CRYPT_PROPERTY_REF {}
+impl ::core::clone::Clone for CRYPT_PROPERTY_REF {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_PROVIDERS {
+ pub cProviders: u32,
+ pub rgpszProviders: *mut ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for CRYPT_PROVIDERS {}
+impl ::core::clone::Clone for CRYPT_PROVIDERS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_PROVIDER_REF {
+ pub dwInterface: u32,
+ pub pszFunction: ::windows_sys::core::PWSTR,
+ pub pszProvider: ::windows_sys::core::PWSTR,
+ pub cProperties: u32,
+ pub rgpProperties: *mut *mut CRYPT_PROPERTY_REF,
+ pub pUM: *mut CRYPT_IMAGE_REF,
+ pub pKM: *mut CRYPT_IMAGE_REF,
+}
+impl ::core::marker::Copy for CRYPT_PROVIDER_REF {}
+impl ::core::clone::Clone for CRYPT_PROVIDER_REF {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_PROVIDER_REFS {
+ pub cProviders: u32,
+ pub rgpProviders: *mut *mut CRYPT_PROVIDER_REF,
+}
+impl ::core::marker::Copy for CRYPT_PROVIDER_REFS {}
+impl ::core::clone::Clone for CRYPT_PROVIDER_REFS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_PROVIDER_REG {
+ pub cAliases: u32,
+ pub rgpszAliases: *mut ::windows_sys::core::PWSTR,
+ pub pUM: *mut CRYPT_IMAGE_REG,
+ pub pKM: *mut CRYPT_IMAGE_REG,
+}
+impl ::core::marker::Copy for CRYPT_PROVIDER_REG {}
+impl ::core::clone::Clone for CRYPT_PROVIDER_REG {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_PROXY_CACHE_RETRIEVAL: u32 = 2097152u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_PSOURCE_ALGORITHM {
+ pub pszObjId: ::windows_sys::core::PSTR,
+ pub EncodingParameters: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CRYPT_PSOURCE_ALGORITHM {}
+impl ::core::clone::Clone for CRYPT_PSOURCE_ALGORITHM {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_PSTORE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_PUBKEY_ALG_OID_GROUP_ID: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_RANDOM_QUERY_STRING_RETRIEVAL: u32 = 67108864u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_RC2_128BIT_VERSION: u32 = 58u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_RC2_40BIT_VERSION: u32 = 160u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_RC2_56BIT_VERSION: u32 = 52u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_RC2_64BIT_VERSION: u32 = 120u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRYPT_RC2_CBC_PARAMETERS {
+ pub dwVersion: u32,
+ pub fIV: super::super::Foundation::BOOL,
+ pub rgbIV: [u8; 8],
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRYPT_RC2_CBC_PARAMETERS {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRYPT_RC2_CBC_PARAMETERS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_RC4_KEY_STATE {
+ pub Key: [u8; 16],
+ pub SBox: [u8; 256],
+ pub i: u8,
+ pub j: u8,
+}
+impl ::core::marker::Copy for CRYPT_RC4_KEY_STATE {}
+impl ::core::clone::Clone for CRYPT_RC4_KEY_STATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_RDN_ATTR_OID_GROUP_ID: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_READ: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_REGISTER_FIRST_INDEX: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_REGISTER_LAST_INDEX: u32 = 4294967295u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRYPT_RETRIEVE_AUX_INFO {
+ pub cbSize: u32,
+ pub pLastSyncTime: *mut super::super::Foundation::FILETIME,
+ pub dwMaxUrlRetrievalByteCount: u32,
+ pub pPreFetchInfo: *mut CRYPTNET_URL_CACHE_PRE_FETCH_INFO,
+ pub pFlushInfo: *mut CRYPTNET_URL_CACHE_FLUSH_INFO,
+ pub ppResponseInfo: *mut *mut CRYPTNET_URL_CACHE_RESPONSE_INFO,
+ pub pwszCacheFileNamePrefix: ::windows_sys::core::PWSTR,
+ pub pftCacheResync: *mut super::super::Foundation::FILETIME,
+ pub fProxyCacheRetrieval: super::super::Foundation::BOOL,
+ pub dwHttpStatusCode: u32,
+ pub ppwszErrorResponseHeaders: *mut ::windows_sys::core::PWSTR,
+ pub ppErrorContentBlob: *mut *mut CRYPTOAPI_BLOB,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRYPT_RETRIEVE_AUX_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRYPT_RETRIEVE_AUX_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_RETRIEVE_MAX_ERROR_CONTENT_LENGTH: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_RETRIEVE_MULTIPLE_OBJECTS: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_RSAES_OAEP_PARAMETERS {
+ pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub MaskGenAlgorithm: CRYPT_MASK_GEN_ALGORITHM,
+ pub PSourceAlgorithm: CRYPT_PSOURCE_ALGORITHM,
+}
+impl ::core::marker::Copy for CRYPT_RSAES_OAEP_PARAMETERS {}
+impl ::core::clone::Clone for CRYPT_RSAES_OAEP_PARAMETERS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_RSA_SSA_PSS_PARAMETERS {
+ pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub MaskGenAlgorithm: CRYPT_MASK_GEN_ALGORITHM,
+ pub dwSaltLength: u32,
+ pub dwTrailerField: u32,
+}
+impl ::core::marker::Copy for CRYPT_RSA_SSA_PSS_PARAMETERS {}
+impl ::core::clone::Clone for CRYPT_RSA_SSA_PSS_PARAMETERS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_SECRETDIGEST: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_SEC_DESCR: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_SEQUENCE_OF_ANY {
+ pub cValue: u32,
+ pub rgValue: *mut CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CRYPT_SEQUENCE_OF_ANY {}
+impl ::core::clone::Clone for CRYPT_SEQUENCE_OF_ANY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_SERVER: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_SET_HASH_PARAM = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const HP_HMAC_INFO: CRYPT_SET_HASH_PARAM = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const HP_HASHVAL: CRYPT_SET_HASH_PARAM = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_SET_PROV_PARAM_ID = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_CLIENT_HWND: CRYPT_SET_PROV_PARAM_ID = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_DELETEKEY: CRYPT_SET_PROV_PARAM_ID = 24u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_KEYEXCHANGE_ALG: CRYPT_SET_PROV_PARAM_ID = 14u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_KEYEXCHANGE_PIN: CRYPT_SET_PROV_PARAM_ID = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_KEYEXCHANGE_KEYSIZE: CRYPT_SET_PROV_PARAM_ID = 12u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_KEYSET_SEC_DESCR: CRYPT_SET_PROV_PARAM_ID = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_PIN_PROMPT_STRING: CRYPT_SET_PROV_PARAM_ID = 44u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_ROOT_CERTSTORE: CRYPT_SET_PROV_PARAM_ID = 46u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_SIGNATURE_ALG: CRYPT_SET_PROV_PARAM_ID = 15u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_SIGNATURE_PIN: CRYPT_SET_PROV_PARAM_ID = 33u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_SIGNATURE_KEYSIZE: CRYPT_SET_PROV_PARAM_ID = 13u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_UI_PROMPT: CRYPT_SET_PROV_PARAM_ID = 21u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_USE_HARDWARE_RNG: CRYPT_SET_PROV_PARAM_ID = 38u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_USER_CERTSTORE: CRYPT_SET_PROV_PARAM_ID = 42u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_SECURE_KEYEXCHANGE_PIN: CRYPT_SET_PROV_PARAM_ID = 47u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_SECURE_SIGNATURE_PIN: CRYPT_SET_PROV_PARAM_ID = 48u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_SMARTCARD_READER: CRYPT_SET_PROV_PARAM_ID = 43u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_SGC: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_SGC_ENUM: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_SIGN_ALG_OID_GROUP_ID: u32 = 4u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRYPT_SIGN_MESSAGE_PARA {
+ pub cbSize: u32,
+ pub dwMsgEncodingType: u32,
+ pub pSigningCert: *const CERT_CONTEXT,
+ pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub pvHashAuxInfo: *mut ::core::ffi::c_void,
+ pub cMsgCert: u32,
+ pub rgpMsgCert: *mut *mut CERT_CONTEXT,
+ pub cMsgCrl: u32,
+ pub rgpMsgCrl: *mut *mut CRL_CONTEXT,
+ pub cAuthAttr: u32,
+ pub rgAuthAttr: *mut CRYPT_ATTRIBUTE,
+ pub cUnauthAttr: u32,
+ pub rgUnauthAttr: *mut CRYPT_ATTRIBUTE,
+ pub dwFlags: u32,
+ pub dwInnerContentType: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRYPT_SIGN_MESSAGE_PARA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRYPT_SIGN_MESSAGE_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_SILENT: u32 = 64u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_SMART_CARD_ROOT_INFO {
+ pub rgbCardID: [u8; 16],
+ pub luid: ROOT_INFO_LUID,
+}
+impl ::core::marker::Copy for CRYPT_SMART_CARD_ROOT_INFO {}
+impl ::core::clone::Clone for CRYPT_SMART_CARD_ROOT_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_SMIME_CAPABILITIES {
+ pub cCapability: u32,
+ pub rgCapability: *mut CRYPT_SMIME_CAPABILITY,
+}
+impl ::core::marker::Copy for CRYPT_SMIME_CAPABILITIES {}
+impl ::core::clone::Clone for CRYPT_SMIME_CAPABILITIES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_SMIME_CAPABILITY {
+ pub pszObjId: ::windows_sys::core::PSTR,
+ pub Parameters: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CRYPT_SMIME_CAPABILITY {}
+impl ::core::clone::Clone for CRYPT_SMIME_CAPABILITY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_SORTED_CTL_ENCODE_HASHED_SUBJECT_IDENTIFIER_FLAG: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_STICKY_CACHE_RETRIEVAL: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_STRING = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_STRING_BASE64HEADER: CRYPT_STRING = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_STRING_BASE64: CRYPT_STRING = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_STRING_BINARY: CRYPT_STRING = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_STRING_BASE64REQUESTHEADER: CRYPT_STRING = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_STRING_HEX: CRYPT_STRING = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_STRING_HEXASCII: CRYPT_STRING = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_STRING_BASE64X509CRLHEADER: CRYPT_STRING = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_STRING_HEXADDR: CRYPT_STRING = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_STRING_HEXASCIIADDR: CRYPT_STRING = 11u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_STRING_HEXRAW: CRYPT_STRING = 12u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_STRING_STRICT: CRYPT_STRING = 536870912u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_STRING_BASE64_ANY: CRYPT_STRING = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_STRING_ANY: CRYPT_STRING = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_STRING_HEX_ANY: CRYPT_STRING = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_STRING_BASE64URI: u32 = 13u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_STRING_ENCODEMASK: u32 = 255u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_STRING_HASHDATA: u32 = 268435456u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_STRING_NOCR: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_STRING_NOCRLF: u32 = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_STRING_PERCENTESCAPE: u32 = 134217728u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_STRING_RESERVED100: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_STRING_RESERVED200: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_SUCCEED: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_TEMPLATE_OID_GROUP_ID: u32 = 9u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_TIMESTAMP_ACCURACY {
+ pub dwSeconds: u32,
+ pub dwMillis: u32,
+ pub dwMicros: u32,
+}
+impl ::core::marker::Copy for CRYPT_TIMESTAMP_ACCURACY {}
+impl ::core::clone::Clone for CRYPT_TIMESTAMP_ACCURACY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRYPT_TIMESTAMP_CONTEXT {
+ pub cbEncoded: u32,
+ pub pbEncoded: *mut u8,
+ pub pTimeStamp: *mut CRYPT_TIMESTAMP_INFO,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRYPT_TIMESTAMP_CONTEXT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRYPT_TIMESTAMP_CONTEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRYPT_TIMESTAMP_INFO {
+ pub dwVersion: u32,
+ pub pszTSAPolicyId: ::windows_sys::core::PSTR,
+ pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub HashedMessage: CRYPTOAPI_BLOB,
+ pub SerialNumber: CRYPTOAPI_BLOB,
+ pub ftTime: super::super::Foundation::FILETIME,
+ pub pvAccuracy: *mut CRYPT_TIMESTAMP_ACCURACY,
+ pub fOrdering: super::super::Foundation::BOOL,
+ pub Nonce: CRYPTOAPI_BLOB,
+ pub Tsa: CRYPTOAPI_BLOB,
+ pub cExtension: u32,
+ pub rgExtension: *mut CERT_EXTENSION,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRYPT_TIMESTAMP_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRYPT_TIMESTAMP_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRYPT_TIMESTAMP_PARA {
+ pub pszTSAPolicyId: ::windows_sys::core::PCSTR,
+ pub fRequestCerts: super::super::Foundation::BOOL,
+ pub Nonce: CRYPTOAPI_BLOB,
+ pub cExtension: u32,
+ pub rgExtension: *mut CERT_EXTENSION,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRYPT_TIMESTAMP_PARA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRYPT_TIMESTAMP_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRYPT_TIMESTAMP_REQUEST {
+ pub dwVersion: CRYPT_TIMESTAMP_VERSION,
+ pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub HashedMessage: CRYPTOAPI_BLOB,
+ pub pszTSAPolicyId: ::windows_sys::core::PSTR,
+ pub Nonce: CRYPTOAPI_BLOB,
+ pub fCertReq: super::super::Foundation::BOOL,
+ pub cExtension: u32,
+ pub rgExtension: *mut CERT_EXTENSION,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRYPT_TIMESTAMP_REQUEST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRYPT_TIMESTAMP_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_TIMESTAMP_RESPONSE {
+ pub dwStatus: CRYPT_TIMESTAMP_RESPONSE_STATUS,
+ pub cFreeText: u32,
+ pub rgFreeText: *mut ::windows_sys::core::PWSTR,
+ pub FailureInfo: CRYPT_BIT_BLOB,
+ pub ContentInfo: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CRYPT_TIMESTAMP_RESPONSE {}
+impl ::core::clone::Clone for CRYPT_TIMESTAMP_RESPONSE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_TIMESTAMP_RESPONSE_STATUS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIMESTAMP_STATUS_GRANTED: CRYPT_TIMESTAMP_RESPONSE_STATUS = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIMESTAMP_STATUS_GRANTED_WITH_MODS: CRYPT_TIMESTAMP_RESPONSE_STATUS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIMESTAMP_STATUS_REJECTED: CRYPT_TIMESTAMP_RESPONSE_STATUS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIMESTAMP_STATUS_WAITING: CRYPT_TIMESTAMP_RESPONSE_STATUS = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIMESTAMP_STATUS_REVOCATION_WARNING: CRYPT_TIMESTAMP_RESPONSE_STATUS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIMESTAMP_STATUS_REVOKED: CRYPT_TIMESTAMP_RESPONSE_STATUS = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_TIMESTAMP_VERSION = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIMESTAMP_VERSION: CRYPT_TIMESTAMP_VERSION = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_TIME_STAMP_REQUEST_INFO {
+ pub pszTimeStampAlgorithm: ::windows_sys::core::PSTR,
+ pub pszContentType: ::windows_sys::core::PSTR,
+ pub Content: CRYPTOAPI_BLOB,
+ pub cAttribute: u32,
+ pub rgAttribute: *mut CRYPT_ATTRIBUTE,
+}
+impl ::core::marker::Copy for CRYPT_TIME_STAMP_REQUEST_INFO {}
+impl ::core::clone::Clone for CRYPT_TIME_STAMP_REQUEST_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_TYPE2_FORMAT: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_UI_PROMPT: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_UNICODE_NAME_DECODE_DISABLE_IE4_UTF8_FLAG: u32 = 16777216u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_UNICODE_NAME_ENCODE_FORCE_UTF8_UNICODE_FLAG: u32 = 268435456u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_UPDATE_KEY: u32 = 8u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_URL_ARRAY {
+ pub cUrl: u32,
+ pub rgwszUrl: *mut ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for CRYPT_URL_ARRAY {}
+impl ::core::clone::Clone for CRYPT_URL_ARRAY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_URL_INFO {
+ pub cbSize: u32,
+ pub dwSyncDeltaTime: u32,
+ pub cGroup: u32,
+ pub rgcGroupEntry: *mut u32,
+}
+impl ::core::marker::Copy for CRYPT_URL_INFO {}
+impl ::core::clone::Clone for CRYPT_URL_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_USERDATA: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_USER_DEFAULT: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_USER_PROTECTED_STRONG: u32 = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_VERIFYCONTEXT: u32 = 4026531840u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_VERIFY_CERT_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_VERIFY_CERT_SIGN_DISABLE_MD2_MD4_FLAG: CRYPT_VERIFY_CERT_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_VERIFY_CERT_SIGN_SET_STRONG_PROPERTIES_FLAG: CRYPT_VERIFY_CERT_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_VERIFY_CERT_SIGN_RETURN_STRONG_PROPERTIES_FLAG: CRYPT_VERIFY_CERT_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_VERIFY_CERT_SIGN_CHECK_WEAK_HASH_FLAG: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_VERIFY_CERT_SIGN_ISSUER_CERT: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_VERIFY_CERT_SIGN_ISSUER_CHAIN: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_VERIFY_CERT_SIGN_ISSUER_NULL: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_VERIFY_CERT_SIGN_ISSUER_PUBKEY: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_VERIFY_CERT_SIGN_STRONG_PROPERTIES_INFO {
+ pub CertSignHashCNGAlgPropData: CRYPTOAPI_BLOB,
+ pub CertIssuerPubKeyBitLengthPropData: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CRYPT_VERIFY_CERT_SIGN_STRONG_PROPERTIES_INFO {}
+impl ::core::clone::Clone for CRYPT_VERIFY_CERT_SIGN_STRONG_PROPERTIES_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_VERIFY_CERT_SIGN_SUBJECT_BLOB: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_VERIFY_CERT_SIGN_SUBJECT_CERT: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_VERIFY_CERT_SIGN_SUBJECT_CRL: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_VERIFY_CERT_SIGN_SUBJECT_OCSP_BASIC_SIGNED_RESPONSE: u32 = 4u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_VERIFY_CERT_SIGN_WEAK_HASH_INFO {
+ pub cCNGHashAlgid: u32,
+ pub rgpwszCNGHashAlgid: *mut ::windows_sys::core::PWSTR,
+ pub dwWeakIndex: u32,
+}
+impl ::core::marker::Copy for CRYPT_VERIFY_CERT_SIGN_WEAK_HASH_INFO {}
+impl ::core::clone::Clone for CRYPT_VERIFY_CERT_SIGN_WEAK_HASH_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_VERIFY_CONTEXT_SIGNATURE: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_VERIFY_DATA_HASH: u32 = 64u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CRYPT_VERIFY_MESSAGE_PARA {
+ pub cbSize: u32,
+ pub dwMsgAndCertEncodingType: u32,
+ pub hCryptProv: HCRYPTPROV_LEGACY,
+ pub pfnGetSignerCertificate: PFN_CRYPT_GET_SIGNER_CERTIFICATE,
+ pub pvGetArg: *mut ::core::ffi::c_void,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CRYPT_VERIFY_MESSAGE_PARA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CRYPT_VERIFY_MESSAGE_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_WIRE_ONLY_RETRIEVAL: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_WRITE: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_X931_FORMAT: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_X942_COUNTER_BYTE_LENGTH: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_X942_KEY_LENGTH_BYTE_LENGTH: u32 = 4u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_X942_OTHER_INFO {
+ pub pszContentEncryptionObjId: ::windows_sys::core::PSTR,
+ pub rgbCounter: [u8; 4],
+ pub rgbKeyLength: [u8; 4],
+ pub PubInfo: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CRYPT_X942_OTHER_INFO {}
+impl ::core::clone::Clone for CRYPT_X942_OTHER_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_XML_ALGORITHM {
+ pub cbSize: u32,
+ pub wszAlgorithm: ::windows_sys::core::PCWSTR,
+ pub Encoded: CRYPT_XML_BLOB,
+}
+impl ::core::marker::Copy for CRYPT_XML_ALGORITHM {}
+impl ::core::clone::Clone for CRYPT_XML_ALGORITHM {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_XML_ALGORITHM_INFO {
+ pub cbSize: u32,
+ pub wszAlgorithmURI: ::windows_sys::core::PWSTR,
+ pub wszName: ::windows_sys::core::PWSTR,
+ pub dwGroupId: CRYPT_XML_GROUP_ID,
+ pub wszCNGAlgid: ::windows_sys::core::PWSTR,
+ pub wszCNGExtraAlgid: ::windows_sys::core::PWSTR,
+ pub dwSignFlags: u32,
+ pub dwVerifyFlags: u32,
+ pub pvPaddingInfo: *mut ::core::ffi::c_void,
+ pub pvExtraInfo: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for CRYPT_XML_ALGORITHM_INFO {}
+impl ::core::clone::Clone for CRYPT_XML_ALGORITHM_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_ALGORITHM_INFO_FIND_BY_CNG_ALGID: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_ALGORITHM_INFO_FIND_BY_CNG_SIGN_ALGID: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_ALGORITHM_INFO_FIND_BY_NAME: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_ALGORITHM_INFO_FIND_BY_URI: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_XML_BLOB {
+ pub dwCharset: CRYPT_XML_CHARSET,
+ pub cbData: u32,
+ pub pbData: *mut u8,
+}
+impl ::core::marker::Copy for CRYPT_XML_BLOB {}
+impl ::core::clone::Clone for CRYPT_XML_BLOB {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_BLOB_MAX: u32 = 2147483640u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_XML_CHARSET = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_CHARSET_AUTO: CRYPT_XML_CHARSET = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_CHARSET_UTF8: CRYPT_XML_CHARSET = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_CHARSET_UTF16LE: CRYPT_XML_CHARSET = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_CHARSET_UTF16BE: CRYPT_XML_CHARSET = 3i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_XML_CRYPTOGRAPHIC_INTERFACE {
+ pub cbSize: u32,
+ pub fpCryptXmlEncodeAlgorithm: CryptXmlDllEncodeAlgorithm,
+ pub fpCryptXmlCreateDigest: CryptXmlDllCreateDigest,
+ pub fpCryptXmlDigestData: CryptXmlDllDigestData,
+ pub fpCryptXmlFinalizeDigest: CryptXmlDllFinalizeDigest,
+ pub fpCryptXmlCloseDigest: CryptXmlDllCloseDigest,
+ pub fpCryptXmlSignData: CryptXmlDllSignData,
+ pub fpCryptXmlVerifySignature: CryptXmlDllVerifySignature,
+ pub fpCryptXmlGetAlgorithmInfo: CryptXmlDllGetAlgorithmInfo,
+}
+impl ::core::marker::Copy for CRYPT_XML_CRYPTOGRAPHIC_INTERFACE {}
+impl ::core::clone::Clone for CRYPT_XML_CRYPTOGRAPHIC_INTERFACE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_XML_DATA_BLOB {
+ pub cbData: u32,
+ pub pbData: *mut u8,
+}
+impl ::core::marker::Copy for CRYPT_XML_DATA_BLOB {}
+impl ::core::clone::Clone for CRYPT_XML_DATA_BLOB {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_XML_DATA_PROVIDER {
+ pub pvCallbackState: *mut ::core::ffi::c_void,
+ pub cbBufferSize: u32,
+ pub pfnRead: PFN_CRYPT_XML_DATA_PROVIDER_READ,
+ pub pfnClose: PFN_CRYPT_XML_DATA_PROVIDER_CLOSE,
+}
+impl ::core::marker::Copy for CRYPT_XML_DATA_PROVIDER {}
+impl ::core::clone::Clone for CRYPT_XML_DATA_PROVIDER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_DIGEST_REFERENCE_DATA_TRANSFORMED: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_DIGEST_VALUE_MAX: u32 = 128u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_XML_DOC_CTXT {
+ pub cbSize: u32,
+ pub hDocCtxt: *mut ::core::ffi::c_void,
+ pub pTransformsConfig: *mut CRYPT_XML_TRANSFORM_CHAIN_CONFIG,
+ pub cSignature: u32,
+ pub rgpSignature: *mut *mut CRYPT_XML_SIGNATURE,
+}
+impl ::core::marker::Copy for CRYPT_XML_DOC_CTXT {}
+impl ::core::clone::Clone for CRYPT_XML_DOC_CTXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_E_ALGORITHM: ::windows_sys::core::HRESULT = -2146885372i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_E_BASE: ::windows_sys::core::HRESULT = -2146885376i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_E_ENCODING: ::windows_sys::core::HRESULT = -2146885373i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_E_HANDLE: ::windows_sys::core::HRESULT = -2146885370i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_E_HASH_FAILED: ::windows_sys::core::HRESULT = -2146885365i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_E_INVALID_DIGEST: ::windows_sys::core::HRESULT = -2146885367i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_E_INVALID_KEYVALUE: ::windows_sys::core::HRESULT = -2146885361i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_E_INVALID_SIGNATURE: ::windows_sys::core::HRESULT = -2146885366i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_E_LARGE: ::windows_sys::core::HRESULT = -2146885375i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_E_LAST: ::windows_sys::core::HRESULT = -2146885358i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_E_NON_UNIQUE_ID: ::windows_sys::core::HRESULT = -2146885358i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_E_OPERATION: ::windows_sys::core::HRESULT = -2146885369i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_E_SIGNER: ::windows_sys::core::HRESULT = -2146885359i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_E_SIGN_FAILED: ::windows_sys::core::HRESULT = -2146885364i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_E_TOO_MANY_SIGNATURES: ::windows_sys::core::HRESULT = -2146885362i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_E_TOO_MANY_TRANSFORMS: ::windows_sys::core::HRESULT = -2146885374i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_E_TRANSFORM: ::windows_sys::core::HRESULT = -2146885371i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_E_UNEXPECTED_XML: ::windows_sys::core::HRESULT = -2146885360i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_E_UNRESOLVED_REFERENCE: ::windows_sys::core::HRESULT = -2146885368i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_E_VERIFY_FAILED: ::windows_sys::core::HRESULT = -2146885363i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_XML_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_FLAG_DISABLE_EXTENSIONS: CRYPT_XML_FLAGS = 268435456u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_FLAG_NO_SERIALIZE: CRYPT_XML_FLAGS = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_SIGN_ADD_KEYVALUE: CRYPT_XML_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_FLAG_ADD_OBJECT_CREATE_COPY: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_FLAG_ALWAYS_RETURN_ENCODED_OBJECT: u32 = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_FLAG_CREATE_REFERENCE_AS_OBJECT: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_FLAG_ECDSA_DSIG11: u32 = 67108864u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_FLAG_ENFORCE_ID_NAME_FORMAT: u32 = 134217728u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_FLAG_ENFORCE_ID_NCNAME_FORMAT: u32 = 536870912u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_XML_GROUP_ID = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_GROUP_ID_HASH: CRYPT_XML_GROUP_ID = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_GROUP_ID_SIGN: CRYPT_XML_GROUP_ID = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_ID_MAX: u32 = 256u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_XML_ISSUER_SERIAL {
+ pub wszIssuer: ::windows_sys::core::PCWSTR,
+ pub wszSerial: ::windows_sys::core::PCWSTR,
+}
+impl ::core::marker::Copy for CRYPT_XML_ISSUER_SERIAL {}
+impl ::core::clone::Clone for CRYPT_XML_ISSUER_SERIAL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_XML_KEYINFO_PARAM {
+ pub wszId: ::windows_sys::core::PCWSTR,
+ pub wszKeyName: ::windows_sys::core::PCWSTR,
+ pub SKI: CRYPTOAPI_BLOB,
+ pub wszSubjectName: ::windows_sys::core::PCWSTR,
+ pub cCertificate: u32,
+ pub rgCertificate: *mut CRYPTOAPI_BLOB,
+ pub cCRL: u32,
+ pub rgCRL: *mut CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CRYPT_XML_KEYINFO_PARAM {}
+impl ::core::clone::Clone for CRYPT_XML_KEYINFO_PARAM {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_XML_KEYINFO_SPEC = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_KEYINFO_SPEC_NONE: CRYPT_XML_KEYINFO_SPEC = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_KEYINFO_SPEC_ENCODED: CRYPT_XML_KEYINFO_SPEC = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_KEYINFO_SPEC_PARAM: CRYPT_XML_KEYINFO_SPEC = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_XML_KEYINFO_TYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_KEYINFO_TYPE_KEYNAME: CRYPT_XML_KEYINFO_TYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_KEYINFO_TYPE_KEYVALUE: CRYPT_XML_KEYINFO_TYPE = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_KEYINFO_TYPE_RETRIEVAL: CRYPT_XML_KEYINFO_TYPE = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_KEYINFO_TYPE_X509DATA: CRYPT_XML_KEYINFO_TYPE = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_KEYINFO_TYPE_CUSTOM: CRYPT_XML_KEYINFO_TYPE = 5u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_XML_KEY_DSA_KEY_VALUE {
+ pub P: CRYPT_XML_DATA_BLOB,
+ pub Q: CRYPT_XML_DATA_BLOB,
+ pub G: CRYPT_XML_DATA_BLOB,
+ pub Y: CRYPT_XML_DATA_BLOB,
+ pub J: CRYPT_XML_DATA_BLOB,
+ pub Seed: CRYPT_XML_DATA_BLOB,
+ pub Counter: CRYPT_XML_DATA_BLOB,
+}
+impl ::core::marker::Copy for CRYPT_XML_KEY_DSA_KEY_VALUE {}
+impl ::core::clone::Clone for CRYPT_XML_KEY_DSA_KEY_VALUE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_XML_KEY_ECDSA_KEY_VALUE {
+ pub wszNamedCurve: ::windows_sys::core::PCWSTR,
+ pub X: CRYPT_XML_DATA_BLOB,
+ pub Y: CRYPT_XML_DATA_BLOB,
+ pub ExplicitPara: CRYPT_XML_BLOB,
+}
+impl ::core::marker::Copy for CRYPT_XML_KEY_ECDSA_KEY_VALUE {}
+impl ::core::clone::Clone for CRYPT_XML_KEY_ECDSA_KEY_VALUE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_XML_KEY_INFO {
+ pub cbSize: u32,
+ pub wszId: ::windows_sys::core::PCWSTR,
+ pub cKeyInfo: u32,
+ pub rgKeyInfo: *mut CRYPT_XML_KEY_INFO_ITEM,
+ pub hVerifyKey: BCRYPT_KEY_HANDLE,
+}
+impl ::core::marker::Copy for CRYPT_XML_KEY_INFO {}
+impl ::core::clone::Clone for CRYPT_XML_KEY_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_XML_KEY_INFO_ITEM {
+ pub dwType: CRYPT_XML_KEYINFO_TYPE,
+ pub Anonymous: CRYPT_XML_KEY_INFO_ITEM_0,
+}
+impl ::core::marker::Copy for CRYPT_XML_KEY_INFO_ITEM {}
+impl ::core::clone::Clone for CRYPT_XML_KEY_INFO_ITEM {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub union CRYPT_XML_KEY_INFO_ITEM_0 {
+ pub wszKeyName: ::windows_sys::core::PCWSTR,
+ pub KeyValue: CRYPT_XML_KEY_VALUE,
+ pub RetrievalMethod: CRYPT_XML_BLOB,
+ pub X509Data: CRYPT_XML_X509DATA,
+ pub Custom: CRYPT_XML_BLOB,
+}
+impl ::core::marker::Copy for CRYPT_XML_KEY_INFO_ITEM_0 {}
+impl ::core::clone::Clone for CRYPT_XML_KEY_INFO_ITEM_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_XML_KEY_RSA_KEY_VALUE {
+ pub Modulus: CRYPT_XML_DATA_BLOB,
+ pub Exponent: CRYPT_XML_DATA_BLOB,
+}
+impl ::core::marker::Copy for CRYPT_XML_KEY_RSA_KEY_VALUE {}
+impl ::core::clone::Clone for CRYPT_XML_KEY_RSA_KEY_VALUE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_XML_KEY_VALUE {
+ pub dwType: CRYPT_XML_KEY_VALUE_TYPE,
+ pub Anonymous: CRYPT_XML_KEY_VALUE_0,
+}
+impl ::core::marker::Copy for CRYPT_XML_KEY_VALUE {}
+impl ::core::clone::Clone for CRYPT_XML_KEY_VALUE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub union CRYPT_XML_KEY_VALUE_0 {
+ pub DSAKeyValue: CRYPT_XML_KEY_DSA_KEY_VALUE,
+ pub RSAKeyValue: CRYPT_XML_KEY_RSA_KEY_VALUE,
+ pub ECDSAKeyValue: CRYPT_XML_KEY_ECDSA_KEY_VALUE,
+ pub Custom: CRYPT_XML_BLOB,
+}
+impl ::core::marker::Copy for CRYPT_XML_KEY_VALUE_0 {}
+impl ::core::clone::Clone for CRYPT_XML_KEY_VALUE_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_XML_KEY_VALUE_TYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_KEY_VALUE_TYPE_DSA: CRYPT_XML_KEY_VALUE_TYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_KEY_VALUE_TYPE_RSA: CRYPT_XML_KEY_VALUE_TYPE = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_KEY_VALUE_TYPE_ECDSA: CRYPT_XML_KEY_VALUE_TYPE = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_KEY_VALUE_TYPE_CUSTOM: CRYPT_XML_KEY_VALUE_TYPE = 4u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_XML_OBJECT {
+ pub cbSize: u32,
+ pub hObject: *mut ::core::ffi::c_void,
+ pub wszId: ::windows_sys::core::PCWSTR,
+ pub wszMimeType: ::windows_sys::core::PCWSTR,
+ pub wszEncoding: ::windows_sys::core::PCWSTR,
+ pub Manifest: CRYPT_XML_REFERENCES,
+ pub Encoded: CRYPT_XML_BLOB,
+}
+impl ::core::marker::Copy for CRYPT_XML_OBJECT {}
+impl ::core::clone::Clone for CRYPT_XML_OBJECT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_OBJECTS_MAX: u32 = 256u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_XML_PROPERTY {
+ pub dwPropId: CRYPT_XML_PROPERTY_ID,
+ pub pvValue: *const ::core::ffi::c_void,
+ pub cbValue: u32,
+}
+impl ::core::marker::Copy for CRYPT_XML_PROPERTY {}
+impl ::core::clone::Clone for CRYPT_XML_PROPERTY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_XML_PROPERTY_ID = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_PROPERTY_MAX_HEAP_SIZE: CRYPT_XML_PROPERTY_ID = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_PROPERTY_SIGNATURE_LOCATION: CRYPT_XML_PROPERTY_ID = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_PROPERTY_MAX_SIGNATURES: CRYPT_XML_PROPERTY_ID = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_PROPERTY_DOC_DECLARATION: CRYPT_XML_PROPERTY_ID = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_PROPERTY_XML_OUTPUT_CHARSET: CRYPT_XML_PROPERTY_ID = 5i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_XML_REFERENCE {
+ pub cbSize: u32,
+ pub hReference: *mut ::core::ffi::c_void,
+ pub wszId: ::windows_sys::core::PCWSTR,
+ pub wszUri: ::windows_sys::core::PCWSTR,
+ pub wszType: ::windows_sys::core::PCWSTR,
+ pub DigestMethod: CRYPT_XML_ALGORITHM,
+ pub DigestValue: CRYPTOAPI_BLOB,
+ pub cTransform: u32,
+ pub rgTransform: *mut CRYPT_XML_ALGORITHM,
+}
+impl ::core::marker::Copy for CRYPT_XML_REFERENCE {}
+impl ::core::clone::Clone for CRYPT_XML_REFERENCE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_XML_REFERENCES {
+ pub cReference: u32,
+ pub rgpReference: *mut *mut CRYPT_XML_REFERENCE,
+}
+impl ::core::marker::Copy for CRYPT_XML_REFERENCES {}
+impl ::core::clone::Clone for CRYPT_XML_REFERENCES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_REFERENCES_MAX: u32 = 32760u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_XML_SIGNATURE {
+ pub cbSize: u32,
+ pub hSignature: *mut ::core::ffi::c_void,
+ pub wszId: ::windows_sys::core::PCWSTR,
+ pub SignedInfo: CRYPT_XML_SIGNED_INFO,
+ pub SignatureValue: CRYPTOAPI_BLOB,
+ pub pKeyInfo: *mut CRYPT_XML_KEY_INFO,
+ pub cObject: u32,
+ pub rgpObject: *mut *mut CRYPT_XML_OBJECT,
+}
+impl ::core::marker::Copy for CRYPT_XML_SIGNATURE {}
+impl ::core::clone::Clone for CRYPT_XML_SIGNATURE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_SIGNATURES_MAX: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_SIGNATURE_VALUE_MAX: u32 = 2048u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_XML_SIGNED_INFO {
+ pub cbSize: u32,
+ pub wszId: ::windows_sys::core::PCWSTR,
+ pub Canonicalization: CRYPT_XML_ALGORITHM,
+ pub SignatureMethod: CRYPT_XML_ALGORITHM,
+ pub cReference: u32,
+ pub rgpReference: *mut *mut CRYPT_XML_REFERENCE,
+ pub Encoded: CRYPT_XML_BLOB,
+}
+impl ::core::marker::Copy for CRYPT_XML_SIGNED_INFO {}
+impl ::core::clone::Clone for CRYPT_XML_SIGNED_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_XML_STATUS {
+ pub cbSize: u32,
+ pub dwErrorStatus: CRYPT_XML_STATUS_ERROR_STATUS,
+ pub dwInfoStatus: CRYPT_XML_STATUS_INFO_STATUS,
+}
+impl ::core::marker::Copy for CRYPT_XML_STATUS {}
+impl ::core::clone::Clone for CRYPT_XML_STATUS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_XML_STATUS_ERROR_STATUS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_STATUS_ERROR_NOT_RESOLVED: CRYPT_XML_STATUS_ERROR_STATUS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_STATUS_ERROR_DIGEST_INVALID: CRYPT_XML_STATUS_ERROR_STATUS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_STATUS_ERROR_NOT_SUPPORTED_ALGORITHM: CRYPT_XML_STATUS_ERROR_STATUS = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_STATUS_ERROR_NOT_SUPPORTED_TRANSFORM: CRYPT_XML_STATUS_ERROR_STATUS = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_STATUS_ERROR_SIGNATURE_INVALID: CRYPT_XML_STATUS_ERROR_STATUS = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_STATUS_ERROR_KEYINFO_NOT_PARSED: CRYPT_XML_STATUS_ERROR_STATUS = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_XML_STATUS_INFO_STATUS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_STATUS_INTERNAL_REFERENCE: CRYPT_XML_STATUS_INFO_STATUS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_STATUS_KEY_AVAILABLE: CRYPT_XML_STATUS_INFO_STATUS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_STATUS_DIGESTING: CRYPT_XML_STATUS_INFO_STATUS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_STATUS_DIGEST_VALID: CRYPT_XML_STATUS_INFO_STATUS = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_STATUS_SIGNATURE_VALID: CRYPT_XML_STATUS_INFO_STATUS = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_STATUS_OPENED_TO_ENCODE: CRYPT_XML_STATUS_INFO_STATUS = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_STATUS_NO_ERROR: u32 = 0u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_XML_TRANSFORM_CHAIN_CONFIG {
+ pub cbSize: u32,
+ pub cTransformInfo: u32,
+ pub rgpTransformInfo: *mut *mut CRYPT_XML_TRANSFORM_INFO,
+}
+impl ::core::marker::Copy for CRYPT_XML_TRANSFORM_CHAIN_CONFIG {}
+impl ::core::clone::Clone for CRYPT_XML_TRANSFORM_CHAIN_CONFIG {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_XML_TRANSFORM_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_TRANSFORM_ON_STREAM: CRYPT_XML_TRANSFORM_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_TRANSFORM_ON_NODESET: CRYPT_XML_TRANSFORM_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_TRANSFORM_URI_QUERY_STRING: CRYPT_XML_TRANSFORM_FLAGS = 3u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_XML_TRANSFORM_INFO {
+ pub cbSize: u32,
+ pub wszAlgorithm: ::windows_sys::core::PCWSTR,
+ pub cbBufferSize: u32,
+ pub dwFlags: CRYPT_XML_TRANSFORM_FLAGS,
+ pub pfnCreateTransform: PFN_CRYPT_XML_CREATE_TRANSFORM,
+}
+impl ::core::marker::Copy for CRYPT_XML_TRANSFORM_INFO {}
+impl ::core::clone::Clone for CRYPT_XML_TRANSFORM_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_TRANSFORM_MAX: u32 = 16u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_XML_X509DATA {
+ pub cX509Data: u32,
+ pub rgX509Data: *mut CRYPT_XML_X509DATA_ITEM,
+}
+impl ::core::marker::Copy for CRYPT_XML_X509DATA {}
+impl ::core::clone::Clone for CRYPT_XML_X509DATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CRYPT_XML_X509DATA_ITEM {
+ pub dwType: CRYPT_XML_X509DATA_TYPE,
+ pub Anonymous: CRYPT_XML_X509DATA_ITEM_0,
+}
+impl ::core::marker::Copy for CRYPT_XML_X509DATA_ITEM {}
+impl ::core::clone::Clone for CRYPT_XML_X509DATA_ITEM {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub union CRYPT_XML_X509DATA_ITEM_0 {
+ pub IssuerSerial: CRYPT_XML_ISSUER_SERIAL,
+ pub SKI: CRYPT_XML_DATA_BLOB,
+ pub wszSubjectName: ::windows_sys::core::PCWSTR,
+ pub Certificate: CRYPT_XML_DATA_BLOB,
+ pub CRL: CRYPT_XML_DATA_BLOB,
+ pub Custom: CRYPT_XML_BLOB,
+}
+impl ::core::marker::Copy for CRYPT_XML_X509DATA_ITEM_0 {}
+impl ::core::clone::Clone for CRYPT_XML_X509DATA_ITEM_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CRYPT_XML_X509DATA_TYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_X509DATA_TYPE_ISSUER_SERIAL: CRYPT_XML_X509DATA_TYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_X509DATA_TYPE_SKI: CRYPT_XML_X509DATA_TYPE = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_X509DATA_TYPE_SUBJECT_NAME: CRYPT_XML_X509DATA_TYPE = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_X509DATA_TYPE_CERTIFICATE: CRYPT_XML_X509DATA_TYPE = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_X509DATA_TYPE_CRL: CRYPT_XML_X509DATA_TYPE = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CRYPT_XML_X509DATA_TYPE_CUSTOM: CRYPT_XML_X509DATA_TYPE = 6u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CTL_ANY_SUBJECT_INFO {
+ pub SubjectAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub SubjectIdentifier: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for CTL_ANY_SUBJECT_INFO {}
+impl ::core::clone::Clone for CTL_ANY_SUBJECT_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CTL_ANY_SUBJECT_TYPE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CTL_CERT_SUBJECT_TYPE: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CTL_CONTEXT {
+ pub dwMsgAndCertEncodingType: u32,
+ pub pbCtlEncoded: *mut u8,
+ pub cbCtlEncoded: u32,
+ pub pCtlInfo: *mut CTL_INFO,
+ pub hCertStore: HCERTSTORE,
+ pub hCryptMsg: *mut ::core::ffi::c_void,
+ pub pbCtlContent: *mut u8,
+ pub cbCtlContent: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CTL_CONTEXT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CTL_CONTEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CTL_ENTRY {
+ pub SubjectIdentifier: CRYPTOAPI_BLOB,
+ pub cAttribute: u32,
+ pub rgAttribute: *mut CRYPT_ATTRIBUTE,
+}
+impl ::core::marker::Copy for CTL_ENTRY {}
+impl ::core::clone::Clone for CTL_ENTRY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CTL_ENTRY_FROM_PROP_CHAIN_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CTL_FIND_NO_LIST_ID_CBDATA: u32 = 4294967295u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CTL_FIND_SUBJECT_PARA {
+ pub cbSize: u32,
+ pub pUsagePara: *mut CTL_FIND_USAGE_PARA,
+ pub dwSubjectType: u32,
+ pub pvSubject: *mut ::core::ffi::c_void,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CTL_FIND_SUBJECT_PARA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CTL_FIND_SUBJECT_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CTL_FIND_USAGE_PARA {
+ pub cbSize: u32,
+ pub SubjectUsage: CTL_USAGE,
+ pub ListIdentifier: CRYPTOAPI_BLOB,
+ pub pSigner: *mut CERT_INFO,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CTL_FIND_USAGE_PARA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CTL_FIND_USAGE_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CTL_INFO {
+ pub dwVersion: u32,
+ pub SubjectUsage: CTL_USAGE,
+ pub ListIdentifier: CRYPTOAPI_BLOB,
+ pub SequenceNumber: CRYPTOAPI_BLOB,
+ pub ThisUpdate: super::super::Foundation::FILETIME,
+ pub NextUpdate: super::super::Foundation::FILETIME,
+ pub SubjectAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub cCTLEntry: u32,
+ pub rgCTLEntry: *mut CTL_ENTRY,
+ pub cExtension: u32,
+ pub rgExtension: *mut CERT_EXTENSION,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CTL_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CTL_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CTL_USAGE {
+ pub cUsageIdentifier: u32,
+ pub rgpszUsageIdentifier: *mut ::windows_sys::core::PSTR,
+}
+impl ::core::marker::Copy for CTL_USAGE {}
+impl ::core::clone::Clone for CTL_USAGE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CTL_USAGE_MATCH {
+ pub dwType: u32,
+ pub Usage: CTL_USAGE,
+}
+impl ::core::marker::Copy for CTL_USAGE_MATCH {}
+impl ::core::clone::Clone for CTL_USAGE_MATCH {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CTL_V1: u32 = 0u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct CTL_VERIFY_USAGE_PARA {
+ pub cbSize: u32,
+ pub ListIdentifier: CRYPTOAPI_BLOB,
+ pub cCtlStore: u32,
+ pub rghCtlStore: *mut HCERTSTORE,
+ pub cSignerStore: u32,
+ pub rghSignerStore: *mut HCERTSTORE,
+}
+impl ::core::marker::Copy for CTL_VERIFY_USAGE_PARA {}
+impl ::core::clone::Clone for CTL_VERIFY_USAGE_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CTL_VERIFY_USAGE_STATUS {
+ pub cbSize: u32,
+ pub dwError: u32,
+ pub dwFlags: u32,
+ pub ppCtl: *mut *mut CTL_CONTEXT,
+ pub dwCtlEntryIndex: u32,
+ pub ppSigner: *mut *mut CERT_CONTEXT,
+ pub dwSignerIndex: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CTL_VERIFY_USAGE_STATUS {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CTL_VERIFY_USAGE_STATUS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const CUR_BLOB_VERSION: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CertKeyType = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KeyTypeOther: CertKeyType = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KeyTypeVirtualSmartCard: CertKeyType = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KeyTypePhysicalSmartCard: CertKeyType = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KeyTypePassport: CertKeyType = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KeyTypePassportRemote: CertKeyType = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KeyTypePassportSmartCard: CertKeyType = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KeyTypeHardware: CertKeyType = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KeyTypeSoftware: CertKeyType = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KeyTypeSelfSigned: CertKeyType = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CryptXmlDllCloseDigest = ::core::option::Option<unsafe extern "system" fn(hdigest: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CryptXmlDllCreateDigest = ::core::option::Option<unsafe extern "system" fn(pdigestmethod: *const CRYPT_XML_ALGORITHM, pcbsize: *mut u32, phdigest: *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CryptXmlDllCreateKey = ::core::option::Option<unsafe extern "system" fn(pencoded: *const CRYPT_XML_BLOB, phkey: *mut BCRYPT_KEY_HANDLE) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CryptXmlDllDigestData = ::core::option::Option<unsafe extern "system" fn(hdigest: *const ::core::ffi::c_void, pbdata: *const u8, cbdata: u32) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CryptXmlDllEncodeAlgorithm = ::core::option::Option<unsafe extern "system" fn(palginfo: *const CRYPT_XML_ALGORITHM_INFO, dwcharset: CRYPT_XML_CHARSET, pvcallbackstate: *mut ::core::ffi::c_void, pfnwrite: PFN_CRYPT_XML_WRITE_CALLBACK) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CryptXmlDllEncodeKeyValue = ::core::option::Option<unsafe extern "system" fn(hkey: NCRYPT_KEY_HANDLE, dwcharset: CRYPT_XML_CHARSET, pvcallbackstate: *mut ::core::ffi::c_void, pfnwrite: PFN_CRYPT_XML_WRITE_CALLBACK) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CryptXmlDllFinalizeDigest = ::core::option::Option<unsafe extern "system" fn(hdigest: *const ::core::ffi::c_void, pbdigest: *mut u8, cbdigest: u32) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CryptXmlDllGetAlgorithmInfo = ::core::option::Option<unsafe extern "system" fn(pxmlalgorithm: *const CRYPT_XML_ALGORITHM, ppalginfo: *mut *mut CRYPT_XML_ALGORITHM_INFO) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CryptXmlDllGetInterface = ::core::option::Option<unsafe extern "system" fn(dwflags: u32, pmethod: *const CRYPT_XML_ALGORITHM_INFO, pinterface: *mut CRYPT_XML_CRYPTOGRAPHIC_INTERFACE) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CryptXmlDllSignData = ::core::option::Option<unsafe extern "system" fn(psignaturemethod: *const CRYPT_XML_ALGORITHM, hcryptprovorncryptkey: HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, dwkeyspec: u32, pbinput: *const u8, cbinput: u32, pboutput: *mut u8, cboutput: u32, pcbresult: *mut u32) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type CryptXmlDllVerifySignature = ::core::option::Option<unsafe extern "system" fn(psignaturemethod: *const CRYPT_XML_ALGORITHM, hkey: BCRYPT_KEY_HANDLE, pbinput: *const u8, cbinput: u32, pbsignature: *const u8, cbsignature: u32) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type DSAFIPSVERSION_ENUM = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const DSA_FIPS186_2: DSAFIPSVERSION_ENUM = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const DSA_FIPS186_3: DSAFIPSVERSION_ENUM = 1i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct DSSSEED {
+ pub counter: u32,
+ pub seed: [u8; 20],
+}
+impl ::core::marker::Copy for DSSSEED {}
+impl ::core::clone::Clone for DSSSEED {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type Direction = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const DirectionEncrypt: Direction = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const DirectionDecrypt: Direction = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ECC_CMS_SHARED_INFO: ::windows_sys::core::PCSTR = 77i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type ECC_CURVE_ALG_ID_ENUM = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_NO_CURVE_GENERATION_ALG_ID: ECC_CURVE_ALG_ID_ENUM = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type ECC_CURVE_TYPE_ENUM = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_PRIME_SHORT_WEIERSTRASS_CURVE: ECC_CURVE_TYPE_ENUM = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_PRIME_TWISTED_EDWARDS_CURVE: ECC_CURVE_TYPE_ENUM = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_ECC_PRIME_MONTGOMERY_CURVE: ECC_CURVE_TYPE_ENUM = 3i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct ENDPOINTADDRESS {
+ pub serviceUrl: ::windows_sys::core::PCWSTR,
+ pub policyUrl: ::windows_sys::core::PCWSTR,
+ pub rawCertificate: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for ENDPOINTADDRESS {}
+impl ::core::clone::Clone for ENDPOINTADDRESS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct ENDPOINTADDRESS2 {
+ pub serviceUrl: ::windows_sys::core::PCWSTR,
+ pub policyUrl: ::windows_sys::core::PCWSTR,
+ pub identityType: u32,
+ pub identityBytes: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for ENDPOINTADDRESS2 {}
+impl ::core::clone::Clone for ENDPOINTADDRESS2 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct EV_EXTRA_CERT_CHAIN_POLICY_PARA {
+ pub cbSize: u32,
+ pub dwRootProgramQualifierFlags: CERT_ROOT_PROGRAM_FLAGS,
+}
+impl ::core::marker::Copy for EV_EXTRA_CERT_CHAIN_POLICY_PARA {}
+impl ::core::clone::Clone for EV_EXTRA_CERT_CHAIN_POLICY_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct EV_EXTRA_CERT_CHAIN_POLICY_STATUS {
+ pub cbSize: u32,
+ pub dwQualifiers: u32,
+ pub dwIssuanceUsageIndex: u32,
+}
+impl ::core::marker::Copy for EV_EXTRA_CERT_CHAIN_POLICY_STATUS {}
+impl ::core::clone::Clone for EV_EXTRA_CERT_CHAIN_POLICY_STATUS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const EXPORT_PRIVATE_KEYS: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const EXPO_OFFLOAD_FUNC_NAME: &str = "OffloadModExpo";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const EXPO_OFFLOAD_REG_VALUE: &str = "ExpoOffload";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const E_ICARD_ARGUMENT: ::windows_sys::core::HRESULT = -1073413883i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const E_ICARD_COMMUNICATION: ::windows_sys::core::HRESULT = -1073413888i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const E_ICARD_DATA_ACCESS: ::windows_sys::core::HRESULT = -1073413887i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const E_ICARD_EXPORT: ::windows_sys::core::HRESULT = -1073413886i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const E_ICARD_FAIL: ::windows_sys::core::HRESULT = -1073413867i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const E_ICARD_FAILED_REQUIRED_CLAIMS: ::windows_sys::core::HRESULT = -1073413756i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const E_ICARD_IDENTITY: ::windows_sys::core::HRESULT = -1073413885i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const E_ICARD_IMPORT: ::windows_sys::core::HRESULT = -1073413884i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const E_ICARD_INFORMATIONCARD: ::windows_sys::core::HRESULT = -1073413881i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const E_ICARD_INVALID_PROOF_KEY: ::windows_sys::core::HRESULT = -1073413758i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const E_ICARD_LOGOVALIDATION: ::windows_sys::core::HRESULT = -1073413879i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const E_ICARD_MISSING_APPLIESTO: ::windows_sys::core::HRESULT = -1073413759i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const E_ICARD_PASSWORDVALIDATION: ::windows_sys::core::HRESULT = -1073413878i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const E_ICARD_POLICY: ::windows_sys::core::HRESULT = -1073413877i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const E_ICARD_PROCESSDIED: ::windows_sys::core::HRESULT = -1073413876i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const E_ICARD_REFRESH_REQUIRED: ::windows_sys::core::HRESULT = -1073413760i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const E_ICARD_REQUEST: ::windows_sys::core::HRESULT = -1073413882i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const E_ICARD_SERVICE: ::windows_sys::core::HRESULT = -1073413874i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const E_ICARD_SERVICEBUSY: ::windows_sys::core::HRESULT = -1073413875i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const E_ICARD_SHUTTINGDOWN: ::windows_sys::core::HRESULT = -1073413873i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const E_ICARD_STOREKEY: ::windows_sys::core::HRESULT = -1073413880i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const E_ICARD_STORE_IMPORT: ::windows_sys::core::HRESULT = -1073413868i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const E_ICARD_TOKENCREATION: ::windows_sys::core::HRESULT = -1073413872i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const E_ICARD_TRUSTEXCHANGE: ::windows_sys::core::HRESULT = -1073413871i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const E_ICARD_UI_INITIALIZATION: ::windows_sys::core::HRESULT = -1073413862i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const E_ICARD_UNKNOWN_REFERENCE: ::windows_sys::core::HRESULT = -1073413757i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const E_ICARD_UNTRUSTED: ::windows_sys::core::HRESULT = -1073413870i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const E_ICARD_USERCANCELLED: ::windows_sys::core::HRESULT = -1073413869i32;
+#[repr(C, packed(1))]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct GENERIC_XML_TOKEN {
+ pub createDate: super::super::Foundation::FILETIME,
+ pub expiryDate: super::super::Foundation::FILETIME,
+ pub xmlToken: ::windows_sys::core::PWSTR,
+ pub internalTokenReference: ::windows_sys::core::PWSTR,
+ pub externalTokenReference: ::windows_sys::core::PWSTR,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for GENERIC_XML_TOKEN {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for GENERIC_XML_TOKEN {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type HASHALGORITHM_ENUM = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const DSA_HASH_ALGORITHM_SHA1: HASHALGORITHM_ENUM = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const DSA_HASH_ALGORITHM_SHA256: HASHALGORITHM_ENUM = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const DSA_HASH_ALGORITHM_SHA512: HASHALGORITHM_ENUM = 2i32;
+pub type HCERTCHAINENGINE = isize;
+pub type HCERTSTORE = *mut ::core::ffi::c_void;
+pub type HCERTSTOREPROV = *mut ::core::ffi::c_void;
+pub type HCRYPTASYNC = isize;
+pub type HCRYPTPROV_LEGACY = usize;
+pub type HCRYPTPROV_OR_NCRYPT_KEY_HANDLE = usize;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct HMAC_Info {
+ pub HashAlgid: u32,
+ pub pbInnerString: *mut u8,
+ pub cbInnerString: u32,
+ pub pbOuterString: *mut u8,
+ pub cbOuterString: u32,
+}
+impl ::core::marker::Copy for HMAC_Info {}
+impl ::core::clone::Clone for HMAC_Info {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const HP_ALGID: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const HP_HASHSIZE: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const HP_TLS1PRF_LABEL: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const HP_TLS1PRF_SEED: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type HTTPSPOLICY_CALLBACK_DATA_AUTH_TYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const AUTHTYPE_CLIENT: HTTPSPOLICY_CALLBACK_DATA_AUTH_TYPE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const AUTHTYPE_SERVER: HTTPSPOLICY_CALLBACK_DATA_AUTH_TYPE = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct HTTPSPolicyCallbackData {
+ pub Anonymous: HTTPSPolicyCallbackData_0,
+ pub dwAuthType: HTTPSPOLICY_CALLBACK_DATA_AUTH_TYPE,
+ pub fdwChecks: u32,
+ pub pwszServerName: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for HTTPSPolicyCallbackData {}
+impl ::core::clone::Clone for HTTPSPolicyCallbackData {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub union HTTPSPolicyCallbackData_0 {
+ pub cbStruct: u32,
+ pub cbSize: u32,
+}
+impl ::core::marker::Copy for HTTPSPolicyCallbackData_0 {}
+impl ::core::clone::Clone for HTTPSPolicyCallbackData_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+#[repr(transparent)]
+pub struct HandleType(pub i32);
+impl HandleType {
+ pub const Asymmetric: Self = Self(1i32);
+ pub const Symmetric: Self = Self(2i32);
+ pub const Transform: Self = Self(3i32);
+ pub const Hash: Self = Self(4i32);
+}
+impl ::core::marker::Copy for HandleType {}
+impl ::core::clone::Clone for HandleType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type ICertSrvSetup = *mut ::core::ffi::c_void;
+pub type ICertSrvSetupKeyInformation = *mut ::core::ffi::c_void;
+pub type ICertSrvSetupKeyInformationCollection = *mut ::core::ffi::c_void;
+pub type ICertificateEnrollmentPolicyServerSetup = *mut ::core::ffi::c_void;
+pub type ICertificateEnrollmentServerSetup = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const IFX_RSA_KEYGEN_VUL_AFFECTED_LEVEL_1: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const IFX_RSA_KEYGEN_VUL_AFFECTED_LEVEL_2: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const IFX_RSA_KEYGEN_VUL_NOT_AFFECTED: u32 = 0u32;
+pub type IMSCEPSetup = *mut ::core::ffi::c_void;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct INFORMATIONCARD_ASYMMETRIC_CRYPTO_PARAMETERS {
+ pub keySize: i32,
+ pub keyExchangeAlgorithm: ::windows_sys::core::PWSTR,
+ pub signatureAlgorithm: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for INFORMATIONCARD_ASYMMETRIC_CRYPTO_PARAMETERS {}
+impl ::core::clone::Clone for INFORMATIONCARD_ASYMMETRIC_CRYPTO_PARAMETERS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct INFORMATIONCARD_CRYPTO_HANDLE {
+ pub r#type: HandleType,
+ pub expiration: i64,
+ pub cryptoParameters: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for INFORMATIONCARD_CRYPTO_HANDLE {}
+impl ::core::clone::Clone for INFORMATIONCARD_CRYPTO_HANDLE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct INFORMATIONCARD_HASH_CRYPTO_PARAMETERS {
+ pub hashSize: i32,
+ pub transform: INFORMATIONCARD_TRANSFORM_CRYPTO_PARAMETERS,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for INFORMATIONCARD_HASH_CRYPTO_PARAMETERS {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for INFORMATIONCARD_HASH_CRYPTO_PARAMETERS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct INFORMATIONCARD_SYMMETRIC_CRYPTO_PARAMETERS {
+ pub keySize: i32,
+ pub blockSize: i32,
+ pub feedbackSize: i32,
+}
+impl ::core::marker::Copy for INFORMATIONCARD_SYMMETRIC_CRYPTO_PARAMETERS {}
+impl ::core::clone::Clone for INFORMATIONCARD_SYMMETRIC_CRYPTO_PARAMETERS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct INFORMATIONCARD_TRANSFORM_CRYPTO_PARAMETERS {
+ pub inputBlockSize: i32,
+ pub outputBlockSize: i32,
+ pub canTransformMultipleBlocks: super::super::Foundation::BOOL,
+ pub canReuseTransform: super::super::Foundation::BOOL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for INFORMATIONCARD_TRANSFORM_CRYPTO_PARAMETERS {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for INFORMATIONCARD_TRANSFORM_CRYPTO_PARAMETERS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const INTERNATIONAL_USAGE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KDF_ALGORITHMID: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KDF_CONTEXT: u32 = 14u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KDF_GENERIC_PARAMETER: u32 = 17u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KDF_HASH_ALGORITHM: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KDF_HKDF_INFO: u32 = 20u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KDF_HKDF_SALT: u32 = 19u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KDF_HMAC_KEY: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KDF_ITERATION_COUNT: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KDF_KEYBITLENGTH: u32 = 18u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KDF_LABEL: u32 = 13u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KDF_PARTYUINFO: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KDF_PARTYVINFO: u32 = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KDF_SALT: u32 = 15u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KDF_SECRET_APPEND: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KDF_SECRET_HANDLE: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KDF_SECRET_PREPEND: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KDF_SUPPPRIVINFO: u32 = 12u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KDF_SUPPPUBINFO: u32 = 11u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KDF_TLS_PRF_LABEL: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KDF_TLS_PRF_PROTOCOL: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KDF_TLS_PRF_SEED: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KDF_USE_SECRET_AS_HMAC_KEY_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KEYSTATEBLOB: u32 = 12u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KEY_LENGTH_MASK: u32 = 4294901760u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct KEY_TYPE_SUBTYPE {
+ pub dwKeySpec: u32,
+ pub Type: ::windows_sys::core::GUID,
+ pub Subtype: ::windows_sys::core::GUID,
+}
+impl ::core::marker::Copy for KEY_TYPE_SUBTYPE {}
+impl ::core::clone::Clone for KEY_TYPE_SUBTYPE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_ADMIN_PIN: u32 = 31u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_CLEAR_KEY: u32 = 27u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_CLIENT_RANDOM: u32 = 21u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_CMS_DH_KEY_INFO: u32 = 38u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_CMS_KEY_INFO: u32 = 37u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_EFFECTIVE_KEYLEN: u32 = 19u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_G: u32 = 12u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_HIGHEST_VERSION: u32 = 41u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_INFO: u32 = 18u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_IV: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_KEYEXCHANGE_PIN: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_KEYVAL: u32 = 30u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_MODE: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_MODE_BITS: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_OAEP_PARAMS: u32 = 36u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_P: u32 = 11u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_PADDING: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_PIN_ID: u32 = 43u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_PIN_INFO: u32 = 44u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_PRECOMP_MD5: u32 = 24u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_PRECOMP_SHA: u32 = 25u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_PREHASH: u32 = 34u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_PUB_EX_LEN: u32 = 28u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_PUB_EX_VAL: u32 = 29u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_PUB_PARAMS: u32 = 39u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_Q: u32 = 13u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_RA: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_RB: u32 = 17u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_ROUNDS: u32 = 35u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_RP: u32 = 23u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_SCHANNEL_ALG: u32 = 20u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_SERVER_RANDOM: u32 = 22u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_SIGNATURE_PIN: u32 = 33u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_VERIFY_PARAMS: u32 = 40u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_X: u32 = 14u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const KP_Y: u32 = 15u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const LEGACY_DH_PRIVATE_BLOB: &str = "CAPIDHPRIVATEBLOB";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const LEGACY_DH_PUBLIC_BLOB: &str = "CAPIDHPUBLICBLOB";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const LEGACY_DSA_PRIVATE_BLOB: &str = "CAPIDSAPRIVATEBLOB";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const LEGACY_DSA_PUBLIC_BLOB: &str = "CAPIDSAPUBLICBLOB";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const LEGACY_DSA_V2_PRIVATE_BLOB: &str = "V2CAPIDSAPRIVATEBLOB";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const LEGACY_DSA_V2_PUBLIC_BLOB: &str = "V2CAPIDSAPUBLICBLOB";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const LEGACY_RSAPRIVATE_BLOB: &str = "CAPIPRIVATEBLOB";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const LEGACY_RSAPUBLIC_BLOB: &str = "CAPIPUBLICBLOB";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MAXUIDLEN: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MICROSOFT_ROOT_CERT_CHAIN_POLICY_CHECK_APPLICATION_ROOT_FLAG: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MICROSOFT_ROOT_CERT_CHAIN_POLICY_DISABLE_FLIGHT_ROOT_FLAG: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MICROSOFT_ROOT_CERT_CHAIN_POLICY_ENABLE_TEST_ROOT_FLAG: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type MSCEPSetupProperty = i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_CEPSETUPPROP_USELOCALSYSTEM: MSCEPSetupProperty = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_CEPSETUPPROP_USECHALLENGE: MSCEPSetupProperty = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_CEPSETUPPROP_RANAME_CN: MSCEPSetupProperty = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_CEPSETUPPROP_RANAME_EMAIL: MSCEPSetupProperty = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_CEPSETUPPROP_RANAME_COMPANY: MSCEPSetupProperty = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_CEPSETUPPROP_RANAME_DEPT: MSCEPSetupProperty = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_CEPSETUPPROP_RANAME_CITY: MSCEPSetupProperty = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_CEPSETUPPROP_RANAME_STATE: MSCEPSetupProperty = 7i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_CEPSETUPPROP_RANAME_COUNTRY: MSCEPSetupProperty = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_CEPSETUPPROP_SIGNINGKEYINFORMATION: MSCEPSetupProperty = 9i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_CEPSETUPPROP_EXCHANGEKEYINFORMATION: MSCEPSetupProperty = 10i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_CEPSETUPPROP_CAINFORMATION: MSCEPSetupProperty = 11i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_CEPSETUPPROP_MSCEPURL: MSCEPSetupProperty = 12i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ENUM_CEPSETUPPROP_CHALLENGEURL: MSCEPSetupProperty = 13i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_DEF_DH_SCHANNEL_PROV: &str = "Microsoft DH SChannel Cryptographic Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_DEF_DH_SCHANNEL_PROV_A: &str = "Microsoft DH SChannel Cryptographic Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_DEF_DH_SCHANNEL_PROV_W: &str = "Microsoft DH SChannel Cryptographic Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_DEF_DSS_DH_PROV: &str = "Microsoft Base DSS and Diffie-Hellman Cryptographic Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_DEF_DSS_DH_PROV_A: &str = "Microsoft Base DSS and Diffie-Hellman Cryptographic Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_DEF_DSS_DH_PROV_W: &str = "Microsoft Base DSS and Diffie-Hellman Cryptographic Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_DEF_DSS_PROV: &str = "Microsoft Base DSS Cryptographic Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_DEF_DSS_PROV_A: &str = "Microsoft Base DSS Cryptographic Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_DEF_DSS_PROV_W: &str = "Microsoft Base DSS Cryptographic Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_DEF_PROV: &str = "Microsoft Base Cryptographic Provider v1.0";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_DEF_PROV_A: &str = "Microsoft Base Cryptographic Provider v1.0";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_DEF_PROV_W: &str = "Microsoft Base Cryptographic Provider v1.0";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_DEF_RSA_SCHANNEL_PROV: &str = "Microsoft RSA SChannel Cryptographic Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_DEF_RSA_SCHANNEL_PROV_A: &str = "Microsoft RSA SChannel Cryptographic Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_DEF_RSA_SCHANNEL_PROV_W: &str = "Microsoft RSA SChannel Cryptographic Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_DEF_RSA_SIG_PROV: &str = "Microsoft RSA Signature Cryptographic Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_DEF_RSA_SIG_PROV_A: &str = "Microsoft RSA Signature Cryptographic Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_DEF_RSA_SIG_PROV_W: &str = "Microsoft RSA Signature Cryptographic Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_ENHANCED_PROV: &str = "Microsoft Enhanced Cryptographic Provider v1.0";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_ENHANCED_PROV_A: &str = "Microsoft Enhanced Cryptographic Provider v1.0";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_ENHANCED_PROV_W: &str = "Microsoft Enhanced Cryptographic Provider v1.0";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_ENH_DSS_DH_PROV: &str = "Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_ENH_DSS_DH_PROV_A: &str = "Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_ENH_DSS_DH_PROV_W: &str = "Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_ENH_RSA_AES_PROV: &str = "Microsoft Enhanced RSA and AES Cryptographic Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_ENH_RSA_AES_PROV_A: &str = "Microsoft Enhanced RSA and AES Cryptographic Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_ENH_RSA_AES_PROV_W: &str = "Microsoft Enhanced RSA and AES Cryptographic Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_ENH_RSA_AES_PROV_XP: &str = "Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_ENH_RSA_AES_PROV_XP_A: &str = "Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_ENH_RSA_AES_PROV_XP_W: &str = "Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_KEY_PROTECTION_PROVIDER: &str = "Microsoft Key Protection Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_KEY_STORAGE_PROVIDER: &str = "Microsoft Software Key Storage Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_NGC_KEY_STORAGE_PROVIDER: &str = "Microsoft Passport Key Storage Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_PLATFORM_CRYPTO_PROVIDER: &str = "Microsoft Platform Crypto Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_PLATFORM_KEY_STORAGE_PROVIDER: &str = "Microsoft Platform Crypto Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_PRIMITIVE_PROVIDER: &str = "Microsoft Primitive Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_SCARD_PROV: &str = "Microsoft Base Smart Card Crypto Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_SCARD_PROV_A: &str = "Microsoft Base Smart Card Crypto Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_SCARD_PROV_W: &str = "Microsoft Base Smart Card Crypto Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_SMART_CARD_KEY_STORAGE_PROVIDER: &str = "Microsoft Smart Card Key Storage Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_STRONG_PROV: &str = "Microsoft Strong Cryptographic Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_STRONG_PROV_A: &str = "Microsoft Strong Cryptographic Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const MS_STRONG_PROV_W: &str = "Microsoft Strong Cryptographic Provider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_ATTESTATIONSTATEMENT_BLOB: u32 = 51u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_ATTESTATION_CLAIM_CHALLENGE_REQUIRED: u32 = 53u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_ATTESTATION_CLAIM_TYPE: u32 = 52u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_CERT_BLOB: u32 = 47u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_CLAIM_IDBINDING_NONCE: u32 = 48u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_CLAIM_KEYATTESTATION_NONCE: u32 = 49u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_DATA: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_ECC_CURVE_NAME: u32 = 60u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_ECC_PARAMETERS: u32 = 61u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_EMPTY: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_KEY_PROPERTY_FLAGS: u32 = 50u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_PKCS_ALG_ID: u32 = 43u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_PKCS_ALG_OID: u32 = 41u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_PKCS_ALG_PARAM: u32 = 42u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_PKCS_ATTRS: u32 = 44u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_PKCS_KEY_NAME: u32 = 45u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_PKCS_OID: u32 = 40u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_PKCS_SECRET: u32 = 46u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_PROTECTION_DESCRIPTOR_STRING: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_PROTECTION_FLAGS: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_SSL_CLEAR_KEY: u32 = 23u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_SSL_CLIENT_RANDOM: u32 = 20u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_SSL_HIGHEST_VERSION: u32 = 22u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_SSL_KEY_ARG_DATA: u32 = 24u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_SSL_SERVER_RANDOM: u32 = 21u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_SSL_SESSION_HASH: u32 = 25u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_TPM_PLATFORM_CLAIM_NONCE: u32 = 81u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_TPM_PLATFORM_CLAIM_PCR_MASK: u32 = 80u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_TPM_PLATFORM_CLAIM_STATIC_CREATE: u32 = 82u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_TPM_SEAL_NO_DA_PROTECTION: u32 = 73u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_TPM_SEAL_PASSWORD: u32 = 70u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_TPM_SEAL_POLICYINFO: u32 = 71u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_TPM_SEAL_TICKET: u32 = 72u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_VERSION: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPTBUFFER_VSM_KEY_ATTESTATION_CLAIM_RESTRICTIONS: u32 = 54u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_3DES_112_ALGORITHM: &str = "3DES_112";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_3DES_ALGORITHM: &str = "3DES";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_AES_ALGORITHM: &str = "AES";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_AES_ALGORITHM_GROUP: &str = "AES";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ALGORITHM_GROUP_PROPERTY: &str = "Algorithm Group";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type NCRYPT_ALGORITHM_NAME_CLASS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ASYMMETRIC_ENCRYPTION_INTERFACE: NCRYPT_ALGORITHM_NAME_CLASS = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_SECRET_AGREEMENT_INTERFACE: NCRYPT_ALGORITHM_NAME_CLASS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_SIGNATURE_INTERFACE: NCRYPT_ALGORITHM_NAME_CLASS = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ALGORITHM_PROPERTY: &str = "Algorithm Name";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct NCRYPT_ALLOC_PARA {
+ pub cbSize: u32,
+ pub pfnAlloc: PFN_NCRYPT_ALLOC,
+ pub pfnFree: PFN_NCRYPT_FREE,
+}
+impl ::core::marker::Copy for NCRYPT_ALLOC_PARA {}
+impl ::core::clone::Clone for NCRYPT_ALLOC_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ALLOW_ALL_USAGES: u32 = 16777215u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ALLOW_ARCHIVING_FLAG: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ALLOW_DECRYPT_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ALLOW_EXPORT_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ALLOW_KEY_AGREEMENT_FLAG: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ALLOW_KEY_IMPORT_FLAG: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ALLOW_PLAINTEXT_ARCHIVING_FLAG: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ALLOW_PLAINTEXT_EXPORT_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ALLOW_SIGNING_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ALLOW_SILENT_KEY_ACCESS: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ALTERNATE_KEY_STORAGE_LOCATION_PROPERTY: &str = "PCP_ALTERNATE_KEY_STORAGE_LOCATION";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ASSOCIATED_ECDH_KEY: &str = "SmartCardAssociatedECDHKey";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ATTESTATION_FLAG: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_AUTHORITY_KEY_FLAG: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_AUTH_TAG_LENGTH: &str = "AuthTagLength";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_BLOCK_LENGTH_PROPERTY: &str = "Block Length";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_CAPI_KDF_ALGORITHM: &str = "CAPI_KDF";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_CERTIFICATE_PROPERTY: &str = "SmartCardKeyCertificate";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_CHAINING_MODE_PROPERTY: &str = "Chaining Mode";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_CHANGEPASSWORD_PROPERTY: &str = "PCP_CHANGEPASSWORD";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_CIPHER_BLOCK_PADDING_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_CIPHER_KEY_BLOB: &str = "CipherKeyBlob";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_CIPHER_KEY_BLOB_MAGIC: u32 = 1380470851u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_CIPHER_NO_PADDING_FLAG: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_CIPHER_OTHER_PADDING_FLAG: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct NCRYPT_CIPHER_PADDING_INFO {
+ pub cbSize: u32,
+ pub dwFlags: u32,
+ pub pbIV: *mut u8,
+ pub cbIV: u32,
+ pub pbOtherInfo: *mut u8,
+ pub cbOtherInfo: u32,
+}
+impl ::core::marker::Copy for NCRYPT_CIPHER_PADDING_INFO {}
+impl ::core::clone::Clone for NCRYPT_CIPHER_PADDING_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_CLAIM_AUTHORITY_AND_SUBJECT: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_CLAIM_AUTHORITY_ONLY: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_CLAIM_PLATFORM: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_CLAIM_SUBJECT_ONLY: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_CLAIM_UNKNOWN: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_CLAIM_VSM_KEY_ATTESTATION_STATEMENT: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_CLAIM_WEB_AUTH_SUBJECT_ONLY: u32 = 258u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_DESCR_DELIMITER_AND: &str = "AND";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_DESCR_DELIMITER_OR: &str = "OR";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_DESCR_EQUAL: &str = "=";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_DESX_ALGORITHM: &str = "DESX";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_DES_ALGORITHM: &str = "DES";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_DES_ALGORITHM_GROUP: &str = "DES";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_DH_ALGORITHM: &str = "DH";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_DH_ALGORITHM_GROUP: &str = "DH";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_DH_PARAMETERS_PROPERTY: &str = "DHParameters";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_DISMISS_UI_TIMEOUT_SEC_PROPERTY: &str = "SmartCardDismissUITimeoutSeconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_DO_NOT_FINALIZE_FLAG: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_DSA_ALGORITHM: &str = "DSA";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_DSA_ALGORITHM_GROUP: &str = "DSA";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ECC_CURVE_NAME_LIST_PROPERTY: &str = "ECCCurveNameList";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ECC_CURVE_NAME_PROPERTY: &str = "ECCCurveName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ECC_PARAMETERS_PROPERTY: &str = "ECCParameters";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ECDH_ALGORITHM: &str = "ECDH";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ECDH_ALGORITHM_GROUP: &str = "ECDH";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ECDH_P256_ALGORITHM: &str = "ECDH_P256";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ECDH_P384_ALGORITHM: &str = "ECDH_P384";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ECDH_P521_ALGORITHM: &str = "ECDH_P521";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ECDSA_ALGORITHM: &str = "ECDSA";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ECDSA_ALGORITHM_GROUP: &str = "ECDSA";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ECDSA_P256_ALGORITHM: &str = "ECDSA_P256";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ECDSA_P384_ALGORITHM: &str = "ECDSA_P384";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ECDSA_P521_ALGORITHM: &str = "ECDSA_P521";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct NCRYPT_EXPORTED_ISOLATED_KEY_ENVELOPE {
+ pub Header: NCRYPT_EXPORTED_ISOLATED_KEY_HEADER,
+}
+impl ::core::marker::Copy for NCRYPT_EXPORTED_ISOLATED_KEY_ENVELOPE {}
+impl ::core::clone::Clone for NCRYPT_EXPORTED_ISOLATED_KEY_ENVELOPE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct NCRYPT_EXPORTED_ISOLATED_KEY_HEADER {
+ pub Version: u32,
+ pub KeyUsage: u32,
+ pub _bitfield: u32,
+ pub cbAlgName: u32,
+ pub cbNonce: u32,
+ pub cbAuthTag: u32,
+ pub cbWrappingKey: u32,
+ pub cbIsolatedKey: u32,
+}
+impl ::core::marker::Copy for NCRYPT_EXPORTED_ISOLATED_KEY_HEADER {}
+impl ::core::clone::Clone for NCRYPT_EXPORTED_ISOLATED_KEY_HEADER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_EXPORTED_ISOLATED_KEY_HEADER_CURRENT_VERSION: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_EXPORTED_ISOLATED_KEY_HEADER_V0: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_EXPORT_LEGACY_FLAG: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_EXPORT_POLICY_PROPERTY: &str = "Export Policy";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type NCRYPT_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_PAD_NONE: NCRYPT_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_PAD_OAEP: NCRYPT_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_PAD_PKCS1: NCRYPT_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const BCRYPT_PAD_PSS: NCRYPT_FLAGS = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_SILENT_FLAG: NCRYPT_FLAGS = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_NO_PADDING_FLAG: NCRYPT_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PAD_OAEP_FLAG: NCRYPT_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PAD_PKCS1_FLAG: NCRYPT_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_REGISTER_NOTIFY_FLAG: NCRYPT_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_UNREGISTER_NOTIFY_FLAG: NCRYPT_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_MACHINE_KEY_FLAG: NCRYPT_FLAGS = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_UNPROTECT_NO_DECRYPT: NCRYPT_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_OVERWRITE_KEY_FLAG: NCRYPT_FLAGS = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_NO_KEY_VALIDATION: NCRYPT_FLAGS = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_WRITE_KEY_TO_LEGACY_STORE_FLAG: NCRYPT_FLAGS = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PAD_PSS_FLAG: NCRYPT_FLAGS = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PERSIST_FLAG: NCRYPT_FLAGS = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PERSIST_ONLY_FLAG: NCRYPT_FLAGS = 1073741824u32;
+pub type NCRYPT_HANDLE = usize;
+pub type NCRYPT_HASH_HANDLE = usize;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_HMAC_SHA256_ALGORITHM: &str = "HMAC-SHA256";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_IGNORE_DEVICE_STATE_FLAG: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_IMPL_HARDWARE_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_IMPL_HARDWARE_RNG_FLAG: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_IMPL_REMOVABLE_FLAG: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_IMPL_SOFTWARE_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_IMPL_TYPE_PROPERTY: &str = "Impl Type";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_IMPL_VIRTUAL_ISOLATION_FLAG: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_INITIALIZATION_VECTOR: &str = "IV";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct NCRYPT_ISOLATED_KEY_ATTESTED_ATTRIBUTES {
+ pub Version: u32,
+ pub Flags: u32,
+ pub cbPublicKeyBlob: u32,
+}
+impl ::core::marker::Copy for NCRYPT_ISOLATED_KEY_ATTESTED_ATTRIBUTES {}
+impl ::core::clone::Clone for NCRYPT_ISOLATED_KEY_ATTESTED_ATTRIBUTES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ISOLATED_KEY_ATTESTED_ATTRIBUTES_CURRENT_VERSION: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ISOLATED_KEY_ATTESTED_ATTRIBUTES_V0: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ISOLATED_KEY_ENVELOPE_BLOB: &str = "ISOLATED_KEY_ENVELOPE";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ISOLATED_KEY_FLAG_CREATED_IN_ISOLATION: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ISOLATED_KEY_FLAG_IMPORT_ONLY: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_KDF_KEY_BLOB: &str = "KDFKeyBlob";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_KDF_KEY_BLOB_MAGIC: u32 = 826688587u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_KDF_SECRET_VALUE: &str = "KDFKeySecret";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct NCRYPT_KEY_ACCESS_POLICY_BLOB {
+ pub dwVersion: u32,
+ pub dwPolicyFlags: u32,
+ pub cbUserSid: u32,
+ pub cbApplicationSid: u32,
+}
+impl ::core::marker::Copy for NCRYPT_KEY_ACCESS_POLICY_BLOB {}
+impl ::core::clone::Clone for NCRYPT_KEY_ACCESS_POLICY_BLOB {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_KEY_ACCESS_POLICY_PROPERTY: &str = "Key Access Policy";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_KEY_ACCESS_POLICY_VERSION: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_KEY_ATTEST_MAGIC: u32 = 1146110283u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct NCRYPT_KEY_ATTEST_PADDING_INFO {
+ pub magic: u32,
+ pub pbKeyBlob: *mut u8,
+ pub cbKeyBlob: u32,
+ pub pbKeyAuth: *mut u8,
+ pub cbKeyAuth: u32,
+}
+impl ::core::marker::Copy for NCRYPT_KEY_ATTEST_PADDING_INFO {}
+impl ::core::clone::Clone for NCRYPT_KEY_ATTEST_PADDING_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct NCRYPT_KEY_BLOB_HEADER {
+ pub cbSize: u32,
+ pub dwMagic: u32,
+ pub cbAlgName: u32,
+ pub cbKeyData: u32,
+}
+impl ::core::marker::Copy for NCRYPT_KEY_BLOB_HEADER {}
+impl ::core::clone::Clone for NCRYPT_KEY_BLOB_HEADER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_KEY_DERIVATION_GROUP: &str = "KEY_DERIVATION";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_KEY_DERIVATION_INTERFACE: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_KEY_DERIVATION_OPERATION: u32 = 64u32;
+pub type NCRYPT_KEY_HANDLE = usize;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_KEY_PROTECTION_ALGORITHM_CERTIFICATE: &str = "CERTIFICATE";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_KEY_PROTECTION_ALGORITHM_LOCAL: &str = "LOCAL";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_KEY_PROTECTION_ALGORITHM_LOCKEDCREDENTIALS: &str = "LOCKEDCREDENTIALS";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_KEY_PROTECTION_ALGORITHM_SDDL: &str = "SDDL";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_KEY_PROTECTION_ALGORITHM_SID: &str = "SID";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_KEY_PROTECTION_ALGORITHM_WEBCREDENTIALS: &str = "WEBCREDENTIALS";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_KEY_PROTECTION_CERT_CERTBLOB: &str = "CertBlob";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_KEY_PROTECTION_CERT_HASHID: &str = "HashId";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_KEY_PROTECTION_INTERFACE: u32 = 65540u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_KEY_PROTECTION_LOCAL_LOGON: &str = "logon";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_KEY_PROTECTION_LOCAL_MACHINE: &str = "machine";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_KEY_PROTECTION_LOCAL_USER: &str = "user";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_KEY_STORAGE_ALGORITHM: &str = "KEY_STORAGE";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_KEY_TYPE_PROPERTY: &str = "Key Type";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_KEY_USAGE_PROPERTY: &str = "Key Usage";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_LAST_MODIFIED_PROPERTY: &str = "Modified";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_LENGTHS_PROPERTY: &str = "Lengths";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_LENGTH_PROPERTY: &str = "Length";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_MAX_ALG_ID_LENGTH: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_MAX_KEY_NAME_LENGTH: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_MAX_NAME_LENGTH_PROPERTY: &str = "Max Name Length";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_MAX_PROPERTY_DATA: u32 = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_MAX_PROPERTY_NAME: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_MD2_ALGORITHM: &str = "MD2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_MD4_ALGORITHM: &str = "MD4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_MD5_ALGORITHM: &str = "MD5";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_NAMED_DESCRIPTOR_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_NAME_PROPERTY: &str = "Name";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_NO_CACHED_PASSWORD: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_OPAQUETRANSPORT_BLOB: &str = "OpaqueTransport";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type NCRYPT_OPERATION = u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_CIPHER_OPERATION: NCRYPT_OPERATION = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_HASH_OPERATION: NCRYPT_OPERATION = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ASYMMETRIC_ENCRYPTION_OPERATION: NCRYPT_OPERATION = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_SECRET_AGREEMENT_OPERATION: NCRYPT_OPERATION = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_SIGNATURE_OPERATION: NCRYPT_OPERATION = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PAD_CIPHER_FLAG: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PBKDF2_ALGORITHM: &str = "PBKDF2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_ALTERNATE_KEY_STORAGE_LOCATION_PROPERTY: &str = "PCP_ALTERNATE_KEY_STORAGE_LOCATION";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_CHANGEPASSWORD_PROPERTY: &str = "PCP_CHANGEPASSWORD";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_ECC_EKCERT_PROPERTY: &str = "PCP_ECC_EKCERT";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_ECC_EKNVCERT_PROPERTY: &str = "PCP_ECC_EKNVCERT";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_ECC_EKPUB_PROPERTY: &str = "PCP_ECC_EKPUB";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_EKCERT_PROPERTY: &str = "PCP_EKCERT";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_EKNVCERT_PROPERTY: &str = "PCP_EKNVCERT";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_EKPUB_PROPERTY: &str = "PCP_EKPUB";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_ENCRYPTION_KEY: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_EXPORT_ALLOWED_PROPERTY: &str = "PCP_EXPORT_ALLOWED";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_HMACVERIFICATION_KEY: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_HMAC_AUTH_NONCE: &str = "PCP_HMAC_AUTH_NONCE";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_HMAC_AUTH_POLICYINFO: &str = "PCP_HMAC_AUTH_POLICYINFO";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_HMAC_AUTH_POLICYREF: &str = "PCP_HMAC_AUTH_POLICYREF";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_HMAC_AUTH_SIGNATURE: &str = "PCP_HMAC_AUTH_SIGNATURE";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct NCRYPT_PCP_HMAC_AUTH_SIGNATURE_INFO {
+ pub dwVersion: u32,
+ pub iExpiration: i32,
+ pub pabNonce: [u8; 32],
+ pub pabPolicyRef: [u8; 32],
+ pub pabHMAC: [u8; 32],
+}
+impl ::core::marker::Copy for NCRYPT_PCP_HMAC_AUTH_SIGNATURE_INFO {}
+impl ::core::clone::Clone for NCRYPT_PCP_HMAC_AUTH_SIGNATURE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_HMAC_AUTH_TICKET: &str = "PCP_HMAC_AUTH_TICKET";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_IDENTITY_KEY: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_INTERMEDIATE_CA_EKCERT_PROPERTY: &str = "PCP_INTERMEDIATE_CA_EKCERT";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_KEYATTESTATION_PROPERTY: &str = "PCP_TPM12_KEYATTESTATION";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_KEY_CREATIONHASH_PROPERTY: &str = "PCP_KEY_CREATIONHASH";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_KEY_CREATIONTICKET_PROPERTY: &str = "PCP_KEY_CREATIONTICKET";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_KEY_USAGE_POLICY_PROPERTY: &str = "PCP_KEY_USAGE_POLICY";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_MIGRATIONPASSWORD_PROPERTY: &str = "PCP_MIGRATIONPASSWORD";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_NO_DA_PROTECTION_PROPERTY: &str = "PCP_NO_DA_PROTECTION";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_PASSWORD_REQUIRED_PROPERTY: &str = "PCP_PASSWORD_REQUIRED";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_PCRTABLE_ALGORITHM_PROPERTY: &str = "PCP_PCRTABLE_ALGORITHM";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_PCRTABLE_PROPERTY: &str = "PCP_PCRTABLE";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_PLATFORMHANDLE_PROPERTY: &str = "PCP_PLATFORMHANDLE";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_PLATFORM_BINDING_PCRALGID_PROPERTY: &str = "PCP_PLATFORM_BINDING_PCRALGID";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_PLATFORM_BINDING_PCRDIGESTLIST_PROPERTY: &str = "PCP_PLATFORM_BINDING_PCRDIGESTLIST";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_PLATFORM_BINDING_PCRDIGEST_PROPERTY: &str = "PCP_PLATFORM_BINDING_PCRDIGEST";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_PLATFORM_BINDING_PCRMASK_PROPERTY: &str = "PCP_PLATFORM_BINDING_PCRMASK";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_PLATFORM_TYPE_PROPERTY: &str = "PCP_PLATFORM_TYPE";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_PROVIDERHANDLE_PROPERTY: &str = "PCP_PROVIDERMHANDLE";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_PROVIDER_VERSION_PROPERTY: &str = "PCP_PROVIDER_VERSION";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_PSS_SALT_SIZE_PROPERTY: &str = "PSS Salt Size";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct NCRYPT_PCP_RAW_POLICYDIGEST {
+ pub dwVersion: u32,
+ pub cbDigest: u32,
+}
+impl ::core::marker::Copy for NCRYPT_PCP_RAW_POLICYDIGEST {}
+impl ::core::clone::Clone for NCRYPT_PCP_RAW_POLICYDIGEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_RAW_POLICYDIGEST_PROPERTY: &str = "PCP_RAW_POLICYDIGEST";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_RSA_EKCERT_PROPERTY: &str = "PCP_RSA_EKCERT";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_RSA_EKNVCERT_PROPERTY: &str = "PCP_RSA_EKNVCERT";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_RSA_EKPUB_PROPERTY: &str = "PCP_RSA_EKPUB";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_RSA_SCHEME_HASH_ALG_PROPERTY: &str = "PCP_RSA_SCHEME_HASH_ALG";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_RSA_SCHEME_PROPERTY: &str = "PCP_RSA_SCHEME";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_SESSIONID_PROPERTY: &str = "PCP_SESSIONID";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_SIGNATURE_KEY: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_SRKPUB_PROPERTY: &str = "PCP_SRKPUB";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_STORAGEPARENT_PROPERTY: &str = "PCP_STORAGEPARENT";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_STORAGE_KEY: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_SYMMETRIC_KEYBITS_PROPERTY: &str = "PCP_SYMMETRIC_KEYBITS";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_TPM12_IDACTIVATION_PROPERTY: &str = "PCP_TPM12_IDACTIVATION";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_TPM12_IDBINDING_DYNAMIC_PROPERTY: &str = "PCP_TPM12_IDBINDING_DYNAMIC";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_TPM12_IDBINDING_PROPERTY: &str = "PCP_TPM12_IDBINDING";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_TPM2BNAME_PROPERTY: &str = "PCP_TPM2BNAME";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct NCRYPT_PCP_TPM_FW_VERSION_INFO {
+ pub major1: u16,
+ pub major2: u16,
+ pub minor1: u16,
+ pub minor2: u16,
+}
+impl ::core::marker::Copy for NCRYPT_PCP_TPM_FW_VERSION_INFO {}
+impl ::core::clone::Clone for NCRYPT_PCP_TPM_FW_VERSION_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_TPM_FW_VERSION_PROPERTY: &str = "PCP_TPM_FW_VERSION";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_TPM_IFX_RSA_KEYGEN_PROHIBITED_PROPERTY: &str = "PCP_TPM_IFX_RSA_KEYGEN_PROHIBITED";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_TPM_IFX_RSA_KEYGEN_VULNERABILITY_PROPERTY: &str = "PCP_TPM_IFX_RSA_KEYGEN_VULNERABILITY";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_TPM_MANUFACTURER_ID_PROPERTY: &str = "PCP_TPM_MANUFACTURER_ID";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_TPM_VERSION_PROPERTY: &str = "PCP_TPM_VERSION";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct NCRYPT_PCP_TPM_WEB_AUTHN_ATTESTATION_STATEMENT {
+ pub Magic: u32,
+ pub Version: u32,
+ pub HeaderSize: u32,
+ pub cbCertifyInfo: u32,
+ pub cbSignature: u32,
+ pub cbTpmPublic: u32,
+}
+impl ::core::marker::Copy for NCRYPT_PCP_TPM_WEB_AUTHN_ATTESTATION_STATEMENT {}
+impl ::core::clone::Clone for NCRYPT_PCP_TPM_WEB_AUTHN_ATTESTATION_STATEMENT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PCP_USAGEAUTH_PROPERTY: &str = "PCP_USAGEAUTH";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PIN_CACHE_APPLICATION_IMAGE_PROPERTY: &str = "PinCacheApplicationImage";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PIN_CACHE_APPLICATION_STATUS_PROPERTY: &str = "PinCacheApplicationStatus";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PIN_CACHE_APPLICATION_TICKET_BYTE_LENGTH: u32 = 90u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PIN_CACHE_APPLICATION_TICKET_PROPERTY: &str = "PinCacheApplicationTicket";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PIN_CACHE_CLEAR_FOR_CALLING_PROCESS_OPTION: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PIN_CACHE_CLEAR_PROPERTY: &str = "PinCacheClear";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PIN_CACHE_DISABLE_DPL_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PIN_CACHE_FLAGS_PROPERTY: &str = "PinCacheFlags";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PIN_CACHE_FREE_APPLICATION_TICKET_PROPERTY: &str = "PinCacheFreeApplicationTicket";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PIN_CACHE_IS_GESTURE_REQUIRED_PROPERTY: &str = "PinCacheIsGestureRequired";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PIN_CACHE_PIN_PROPERTY: &str = "PinCachePin";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PIN_CACHE_REQUIRE_GESTURE_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PIN_PROMPT_PROPERTY: &str = "SmartCardPinPrompt";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PIN_PROPERTY: &str = "SmartCardPin";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PKCS7_ENVELOPE_BLOB: &str = "PKCS7_ENVELOPE";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PKCS8_PRIVATE_KEY_BLOB: &str = "PKCS8_PRIVATEKEY";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PLATFORM_ATTEST_MAGIC: u32 = 1146110288u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct NCRYPT_PLATFORM_ATTEST_PADDING_INFO {
+ pub magic: u32,
+ pub pcrMask: u32,
+}
+impl ::core::marker::Copy for NCRYPT_PLATFORM_ATTEST_PADDING_INFO {}
+impl ::core::clone::Clone for NCRYPT_PLATFORM_ATTEST_PADDING_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PREFER_VIRTUAL_ISOLATION_FLAG: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PROTECTED_KEY_BLOB: &str = "ProtectedKeyBlob";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PROTECTED_KEY_BLOB_MAGIC: u32 = 1263817296u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PROTECTION_INFO_TYPE_DESCRIPTOR_STRING: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct NCRYPT_PROTECT_STREAM_INFO {
+ pub pfnStreamOutput: PFNCryptStreamOutputCallback,
+ pub pvCallbackCtxt: *mut ::core::ffi::c_void,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for NCRYPT_PROTECT_STREAM_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for NCRYPT_PROTECT_STREAM_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct NCRYPT_PROTECT_STREAM_INFO_EX {
+ pub pfnStreamOutput: PFNCryptStreamOutputCallbackEx,
+ pub pvCallbackCtxt: *mut ::core::ffi::c_void,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for NCRYPT_PROTECT_STREAM_INFO_EX {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for NCRYPT_PROTECT_STREAM_INFO_EX {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PROTECT_TO_LOCAL_SYSTEM: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PROVIDER_HANDLE_PROPERTY: &str = "Provider Handle";
+pub type NCRYPT_PROV_HANDLE = usize;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_PUBLIC_LENGTH_PROPERTY: &str = "PublicKeyLength";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_RC2_ALGORITHM: &str = "RC2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_RC2_ALGORITHM_GROUP: &str = "RC2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_READER_ICON_PROPERTY: &str = "SmartCardReaderIcon";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_READER_PROPERTY: &str = "SmartCardReader";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_ROOT_CERTSTORE_PROPERTY: &str = "SmartcardRootCertStore";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_RSA_ALGORITHM: &str = "RSA";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_RSA_ALGORITHM_GROUP: &str = "RSA";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_RSA_SIGN_ALGORITHM: &str = "RSA_SIGN";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_SCARD_NGC_KEY_NAME: &str = "SmartCardNgcKeyName";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_SCARD_PIN_ID: &str = "SmartCardPinId";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_SCARD_PIN_INFO: &str = "SmartCardPinInfo";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_SEALING_FLAG: u32 = 256u32;
+pub type NCRYPT_SECRET_HANDLE = usize;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_SECURE_PIN_PROPERTY: &str = "SmartCardSecurePin";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_SECURITY_DESCR_PROPERTY: &str = "Security Descr";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_SECURITY_DESCR_SUPPORT_PROPERTY: &str = "Security Descr Support";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_SHA1_ALGORITHM: &str = "SHA1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_SHA256_ALGORITHM: &str = "SHA256";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_SHA384_ALGORITHM: &str = "SHA384";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_SHA512_ALGORITHM: &str = "SHA512";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_SIGNATURE_LENGTH_PROPERTY: &str = "SignatureLength";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_SMARTCARD_GUID_PROPERTY: &str = "SmartCardGuid";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_SP800108_CTR_HMAC_ALGORITHM: &str = "SP800_108_CTR_HMAC";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_SP80056A_CONCAT_ALGORITHM: &str = "SP800_56A_CONCAT";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct NCRYPT_SUPPORTED_LENGTHS {
+ pub dwMinLength: u32,
+ pub dwMaxLength: u32,
+ pub dwIncrement: u32,
+ pub dwDefaultLength: u32,
+}
+impl ::core::marker::Copy for NCRYPT_SUPPORTED_LENGTHS {}
+impl ::core::clone::Clone for NCRYPT_SUPPORTED_LENGTHS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_TPM12_PROVIDER: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_TPM_LOADABLE_KEY_BLOB: &str = "PcpTpmProtectedKeyBlob";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct NCRYPT_TPM_LOADABLE_KEY_BLOB_HEADER {
+ pub magic: u32,
+ pub cbHeader: u32,
+ pub cbPublic: u32,
+ pub cbPrivate: u32,
+ pub cbName: u32,
+}
+impl ::core::marker::Copy for NCRYPT_TPM_LOADABLE_KEY_BLOB_HEADER {}
+impl ::core::clone::Clone for NCRYPT_TPM_LOADABLE_KEY_BLOB_HEADER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_TPM_LOADABLE_KEY_BLOB_MAGIC: u32 = 1297371211u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_TPM_PAD_PSS_IGNORE_SALT: u32 = 32u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct NCRYPT_TPM_PLATFORM_ATTESTATION_STATEMENT {
+ pub Magic: u32,
+ pub Version: u32,
+ pub pcrAlg: u32,
+ pub cbSignature: u32,
+ pub cbQuote: u32,
+ pub cbPcrs: u32,
+}
+impl ::core::marker::Copy for NCRYPT_TPM_PLATFORM_ATTESTATION_STATEMENT {}
+impl ::core::clone::Clone for NCRYPT_TPM_PLATFORM_ATTESTATION_STATEMENT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_TPM_PLATFORM_ATTESTATION_STATEMENT_CURRENT_VERSION: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_TPM_PLATFORM_ATTESTATION_STATEMENT_V0: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_TPM_PSS_SALT_SIZE_HASHSIZE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_TPM_PSS_SALT_SIZE_MAXIMUM: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_TPM_PSS_SALT_SIZE_UNKNOWN: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_TREAT_NIST_AS_GENERIC_ECC_FLAG: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_UI_APPCONTAINER_ACCESS_MEDIUM_FLAG: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_UI_FINGERPRINT_PROTECTION_FLAG: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_UI_FORCE_HIGH_PROTECTION_FLAG: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct NCRYPT_UI_POLICY {
+ pub dwVersion: u32,
+ pub dwFlags: u32,
+ pub pszCreationTitle: ::windows_sys::core::PCWSTR,
+ pub pszFriendlyName: ::windows_sys::core::PCWSTR,
+ pub pszDescription: ::windows_sys::core::PCWSTR,
+}
+impl ::core::marker::Copy for NCRYPT_UI_POLICY {}
+impl ::core::clone::Clone for NCRYPT_UI_POLICY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_UI_POLICY_PROPERTY: &str = "UI Policy";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_UI_PROTECT_KEY_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_UNIQUE_NAME_PROPERTY: &str = "Unique Name";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_USER_CERTSTORE_PROPERTY: &str = "SmartCardUserCertStore";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_USE_CONTEXT_PROPERTY: &str = "Use Context";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_USE_COUNT_ENABLED_PROPERTY: &str = "Enabled Use Count";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_USE_COUNT_PROPERTY: &str = "Use Count";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_USE_PER_BOOT_KEY_FLAG: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_USE_PER_BOOT_KEY_PROPERTY: &str = "Per Boot Key";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_USE_VIRTUAL_ISOLATION_FLAG: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_USE_VIRTUAL_ISOLATION_PROPERTY: &str = "Virtual Iso";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_VERSION_PROPERTY: &str = "Version";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct NCRYPT_VSM_KEY_ATTESTATION_CLAIM_RESTRICTIONS {
+ pub Version: u32,
+ pub TrustletId: u64,
+ pub MinSvn: u32,
+ pub FlagsMask: u32,
+ pub FlagsExpected: u32,
+ pub _bitfield: u32,
+}
+impl ::core::marker::Copy for NCRYPT_VSM_KEY_ATTESTATION_CLAIM_RESTRICTIONS {}
+impl ::core::clone::Clone for NCRYPT_VSM_KEY_ATTESTATION_CLAIM_RESTRICTIONS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_VSM_KEY_ATTESTATION_CLAIM_RESTRICTIONS_CURRENT_VERSION: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_VSM_KEY_ATTESTATION_CLAIM_RESTRICTIONS_V0: u32 = 0u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct NCRYPT_VSM_KEY_ATTESTATION_STATEMENT {
+ pub Magic: u32,
+ pub Version: u32,
+ pub cbSignature: u32,
+ pub cbReport: u32,
+ pub cbAttributes: u32,
+}
+impl ::core::marker::Copy for NCRYPT_VSM_KEY_ATTESTATION_STATEMENT {}
+impl ::core::clone::Clone for NCRYPT_VSM_KEY_ATTESTATION_STATEMENT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_VSM_KEY_ATTESTATION_STATEMENT_CURRENT_VERSION: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_VSM_KEY_ATTESTATION_STATEMENT_V0: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NCRYPT_WINDOW_HANDLE_PROPERTY: &str = "HWND Handle";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct NCryptAlgorithmName {
+ pub pszName: ::windows_sys::core::PWSTR,
+ pub dwClass: NCRYPT_ALGORITHM_NAME_CLASS,
+ pub dwAlgOperations: NCRYPT_OPERATION,
+ pub dwFlags: u32,
+}
+impl ::core::marker::Copy for NCryptAlgorithmName {}
+impl ::core::clone::Clone for NCryptAlgorithmName {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct NCryptKeyName {
+ pub pszName: ::windows_sys::core::PWSTR,
+ pub pszAlgid: ::windows_sys::core::PWSTR,
+ pub dwLegacyKeySpec: CERT_KEY_SPEC,
+ pub dwFlags: u32,
+}
+impl ::core::marker::Copy for NCryptKeyName {}
+impl ::core::clone::Clone for NCryptKeyName {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct NCryptProviderName {
+ pub pszName: ::windows_sys::core::PWSTR,
+ pub pszComment: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for NCryptProviderName {}
+impl ::core::clone::Clone for NCryptProviderName {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NETSCAPE_SIGN_CA_CERT_TYPE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NETSCAPE_SIGN_CERT_TYPE: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NETSCAPE_SMIME_CA_CERT_TYPE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NETSCAPE_SMIME_CERT_TYPE: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NETSCAPE_SSL_CA_CERT_TYPE: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NETSCAPE_SSL_CLIENT_AUTH_CERT_TYPE: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const NETSCAPE_SSL_SERVER_AUTH_CERT_TYPE: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const OCSP_BASIC_BY_KEY_RESPONDER_ID: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const OCSP_BASIC_BY_NAME_RESPONDER_ID: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const OCSP_BASIC_GOOD_CERT_STATUS: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const OCSP_BASIC_RESPONSE: ::windows_sys::core::PCSTR = 69i32 as _;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct OCSP_BASIC_RESPONSE_ENTRY {
+ pub CertId: OCSP_CERT_ID,
+ pub dwCertStatus: u32,
+ pub Anonymous: OCSP_BASIC_RESPONSE_ENTRY_0,
+ pub ThisUpdate: super::super::Foundation::FILETIME,
+ pub NextUpdate: super::super::Foundation::FILETIME,
+ pub cExtension: u32,
+ pub rgExtension: *mut CERT_EXTENSION,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for OCSP_BASIC_RESPONSE_ENTRY {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for OCSP_BASIC_RESPONSE_ENTRY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union OCSP_BASIC_RESPONSE_ENTRY_0 {
+ pub pRevokedInfo: *mut OCSP_BASIC_REVOKED_INFO,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for OCSP_BASIC_RESPONSE_ENTRY_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for OCSP_BASIC_RESPONSE_ENTRY_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct OCSP_BASIC_RESPONSE_INFO {
+ pub dwVersion: u32,
+ pub dwResponderIdChoice: u32,
+ pub Anonymous: OCSP_BASIC_RESPONSE_INFO_0,
+ pub ProducedAt: super::super::Foundation::FILETIME,
+ pub cResponseEntry: u32,
+ pub rgResponseEntry: *mut OCSP_BASIC_RESPONSE_ENTRY,
+ pub cExtension: u32,
+ pub rgExtension: *mut CERT_EXTENSION,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for OCSP_BASIC_RESPONSE_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for OCSP_BASIC_RESPONSE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union OCSP_BASIC_RESPONSE_INFO_0 {
+ pub ByNameResponderId: CRYPTOAPI_BLOB,
+ pub ByKeyResponderId: CRYPTOAPI_BLOB,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for OCSP_BASIC_RESPONSE_INFO_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for OCSP_BASIC_RESPONSE_INFO_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const OCSP_BASIC_RESPONSE_V1: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const OCSP_BASIC_REVOKED_CERT_STATUS: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct OCSP_BASIC_REVOKED_INFO {
+ pub RevocationDate: super::super::Foundation::FILETIME,
+ pub dwCrlReasonCode: CERT_REVOCATION_STATUS_REASON,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for OCSP_BASIC_REVOKED_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for OCSP_BASIC_REVOKED_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const OCSP_BASIC_SIGNED_RESPONSE: ::windows_sys::core::PCSTR = 68i32 as _;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct OCSP_BASIC_SIGNED_RESPONSE_INFO {
+ pub ToBeSigned: CRYPTOAPI_BLOB,
+ pub SignatureInfo: OCSP_SIGNATURE_INFO,
+}
+impl ::core::marker::Copy for OCSP_BASIC_SIGNED_RESPONSE_INFO {}
+impl ::core::clone::Clone for OCSP_BASIC_SIGNED_RESPONSE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const OCSP_BASIC_UNKNOWN_CERT_STATUS: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct OCSP_CERT_ID {
+ pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub IssuerNameHash: CRYPTOAPI_BLOB,
+ pub IssuerKeyHash: CRYPTOAPI_BLOB,
+ pub SerialNumber: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for OCSP_CERT_ID {}
+impl ::core::clone::Clone for OCSP_CERT_ID {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const OCSP_INTERNAL_ERROR_RESPONSE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const OCSP_MALFORMED_REQUEST_RESPONSE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const OCSP_REQUEST: ::windows_sys::core::PCSTR = 66i32 as _;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct OCSP_REQUEST_ENTRY {
+ pub CertId: OCSP_CERT_ID,
+ pub cExtension: u32,
+ pub rgExtension: *mut CERT_EXTENSION,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for OCSP_REQUEST_ENTRY {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for OCSP_REQUEST_ENTRY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct OCSP_REQUEST_INFO {
+ pub dwVersion: u32,
+ pub pRequestorName: *mut CERT_ALT_NAME_ENTRY,
+ pub cRequestEntry: u32,
+ pub rgRequestEntry: *mut OCSP_REQUEST_ENTRY,
+ pub cExtension: u32,
+ pub rgExtension: *mut CERT_EXTENSION,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for OCSP_REQUEST_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for OCSP_REQUEST_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const OCSP_REQUEST_V1: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const OCSP_RESPONSE: ::windows_sys::core::PCSTR = 67i32 as _;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct OCSP_RESPONSE_INFO {
+ pub dwStatus: u32,
+ pub pszObjId: ::windows_sys::core::PSTR,
+ pub Value: CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for OCSP_RESPONSE_INFO {}
+impl ::core::clone::Clone for OCSP_RESPONSE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct OCSP_SIGNATURE_INFO {
+ pub SignatureAlgorithm: CRYPT_ALGORITHM_IDENTIFIER,
+ pub Signature: CRYPT_BIT_BLOB,
+ pub cCertEncoded: u32,
+ pub rgCertEncoded: *mut CRYPTOAPI_BLOB,
+}
+impl ::core::marker::Copy for OCSP_SIGNATURE_INFO {}
+impl ::core::clone::Clone for OCSP_SIGNATURE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const OCSP_SIGNED_REQUEST: ::windows_sys::core::PCSTR = 65i32 as _;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct OCSP_SIGNED_REQUEST_INFO {
+ pub ToBeSigned: CRYPTOAPI_BLOB,
+ pub pOptionalSignatureInfo: *mut OCSP_SIGNATURE_INFO,
+}
+impl ::core::marker::Copy for OCSP_SIGNED_REQUEST_INFO {}
+impl ::core::clone::Clone for OCSP_SIGNED_REQUEST_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const OCSP_SIG_REQUIRED_RESPONSE: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const OCSP_SUCCESSFUL_RESPONSE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const OCSP_TRY_LATER_RESPONSE: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const OCSP_UNAUTHORIZED_RESPONSE: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const OPAQUEKEYBLOB: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PCRYPT_DECRYPT_PRIVATE_KEY_FUNC = ::core::option::Option<unsafe extern "system" fn(algorithm: CRYPT_ALGORITHM_IDENTIFIER, encryptedprivatekey: CRYPTOAPI_BLOB, pbcleartextkey: *mut u8, pcbcleartextkey: *mut u32, pvoiddecryptfunc: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PCRYPT_ENCRYPT_PRIVATE_KEY_FUNC = ::core::option::Option<unsafe extern "system" fn(palgorithm: *mut CRYPT_ALGORITHM_IDENTIFIER, pcleartextprivatekey: *const CRYPTOAPI_BLOB, pbencryptedkey: *mut u8, pcbencryptedkey: *mut u32, pvoidencryptfunc: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PCRYPT_RESOLVE_HCRYPTPROV_FUNC = ::core::option::Option<unsafe extern "system" fn(pprivatekeyinfo: *mut CRYPT_PRIVATE_KEY_INFO, phcryptprov: *mut usize, pvoidresolvefunc: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFNCryptStreamOutputCallback = ::core::option::Option<unsafe extern "system" fn(pvcallbackctxt: *const ::core::ffi::c_void, pbdata: *const u8, cbdata: usize, ffinal: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFNCryptStreamOutputCallbackEx = ::core::option::Option<unsafe extern "system" fn(pvcallbackctxt: *const ::core::ffi::c_void, pbdata: *const u8, cbdata: usize, hdescriptor: super::NCRYPT_DESCRIPTOR_HANDLE, ffinal: super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CANCEL_ASYNC_RETRIEVAL_FUNC = ::core::option::Option<unsafe extern "system" fn(hasyncretrieve: HCRYPTASYNC) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_CHAIN_FIND_BY_ISSUER_CALLBACK = ::core::option::Option<unsafe extern "system" fn(pcert: *const CERT_CONTEXT, pvfindarg: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_CREATE_CONTEXT_SORT_FUNC = ::core::option::Option<unsafe extern "system" fn(cbtotalencoded: u32, cbremainencoded: u32, centry: u32, pvsort: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_DLL_OPEN_STORE_PROV_FUNC = ::core::option::Option<unsafe extern "system" fn(lpszstoreprovider: ::windows_sys::core::PCSTR, dwencodingtype: CERT_QUERY_ENCODING_TYPE, hcryptprov: HCRYPTPROV_LEGACY, dwflags: CERT_OPEN_STORE_FLAGS, pvpara: *const ::core::ffi::c_void, hcertstore: HCERTSTORE, pstoreprovinfo: *mut CERT_STORE_PROV_INFO) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_ENUM_PHYSICAL_STORE = ::core::option::Option<unsafe extern "system" fn(pvsystemstore: *const ::core::ffi::c_void, dwflags: u32, pwszstorename: ::windows_sys::core::PCWSTR, pstoreinfo: *const CERT_PHYSICAL_STORE_INFO, pvreserved: *mut ::core::ffi::c_void, pvarg: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_ENUM_SYSTEM_STORE = ::core::option::Option<unsafe extern "system" fn(pvsystemstore: *const ::core::ffi::c_void, dwflags: CERT_SYSTEM_STORE_FLAGS, pstoreinfo: *const CERT_SYSTEM_STORE_INFO, pvreserved: *mut ::core::ffi::c_void, pvarg: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_ENUM_SYSTEM_STORE_LOCATION = ::core::option::Option<unsafe extern "system" fn(pwszstorelocation: ::windows_sys::core::PCWSTR, dwflags: u32, pvreserved: *mut ::core::ffi::c_void, pvarg: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_IS_WEAK_HASH = ::core::option::Option<unsafe extern "system" fn(dwhashusetype: u32, pwszcnghashalgid: ::windows_sys::core::PCWSTR, dwchainflags: u32, psignerchaincontext: *const CERT_CHAIN_CONTEXT, ptimestamp: *const super::super::Foundation::FILETIME, pwszfilename: ::windows_sys::core::PCWSTR) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_SERVER_OCSP_RESPONSE_UPDATE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(pchaincontext: *const CERT_CHAIN_CONTEXT, pserverocspresponsecontext: *const CERT_SERVER_OCSP_RESPONSE_CONTEXT, pnewcrlcontext: *const CRL_CONTEXT, pprevcrlcontext: *const CRL_CONTEXT, pvarg: *mut ::core::ffi::c_void, dwwriteocspfileerror: u32)>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type PFN_CERT_STORE_PROV_CLOSE = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, dwflags: u32)>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_STORE_PROV_CONTROL = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, dwflags: u32, dwctrltype: u32, pvctrlpara: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_STORE_PROV_DELETE_CERT = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pcertcontext: *const CERT_CONTEXT, dwflags: u32) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_STORE_PROV_DELETE_CRL = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pcrlcontext: *const CRL_CONTEXT, dwflags: u32) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_STORE_PROV_DELETE_CTL = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pctlcontext: *const CTL_CONTEXT, dwflags: u32) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_STORE_PROV_FIND_CERT = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pfindinfo: *const CERT_STORE_PROV_FIND_INFO, pprevcertcontext: *const CERT_CONTEXT, dwflags: u32, ppvstoreprovfindinfo: *mut *mut ::core::ffi::c_void, ppprovcertcontext: *mut *mut CERT_CONTEXT) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_STORE_PROV_FIND_CRL = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pfindinfo: *const CERT_STORE_PROV_FIND_INFO, pprevcrlcontext: *const CRL_CONTEXT, dwflags: u32, ppvstoreprovfindinfo: *mut *mut ::core::ffi::c_void, ppprovcrlcontext: *mut *mut CRL_CONTEXT) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_STORE_PROV_FIND_CTL = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pfindinfo: *const CERT_STORE_PROV_FIND_INFO, pprevctlcontext: *const CTL_CONTEXT, dwflags: u32, ppvstoreprovfindinfo: *mut *mut ::core::ffi::c_void, ppprovctlcontext: *mut *mut CTL_CONTEXT) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_STORE_PROV_FREE_FIND_CERT = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pcertcontext: *const CERT_CONTEXT, pvstoreprovfindinfo: *const ::core::ffi::c_void, dwflags: u32) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_STORE_PROV_FREE_FIND_CRL = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pcrlcontext: *const CRL_CONTEXT, pvstoreprovfindinfo: *const ::core::ffi::c_void, dwflags: u32) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_STORE_PROV_FREE_FIND_CTL = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pctlcontext: *const CTL_CONTEXT, pvstoreprovfindinfo: *const ::core::ffi::c_void, dwflags: u32) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_STORE_PROV_GET_CERT_PROPERTY = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pcertcontext: *const CERT_CONTEXT, dwpropid: u32, dwflags: u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_STORE_PROV_GET_CRL_PROPERTY = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pcrlcontext: *const CRL_CONTEXT, dwpropid: u32, dwflags: u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_STORE_PROV_GET_CTL_PROPERTY = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pctlcontext: *const CTL_CONTEXT, dwpropid: u32, dwflags: u32, pvdata: *mut ::core::ffi::c_void, pcbdata: *mut u32) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_STORE_PROV_READ_CERT = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pstorecertcontext: *const CERT_CONTEXT, dwflags: u32, ppprovcertcontext: *mut *mut CERT_CONTEXT) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_STORE_PROV_READ_CRL = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pstorecrlcontext: *const CRL_CONTEXT, dwflags: u32, ppprovcrlcontext: *mut *mut CRL_CONTEXT) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_STORE_PROV_READ_CTL = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pstorectlcontext: *const CTL_CONTEXT, dwflags: u32, ppprovctlcontext: *mut *mut CTL_CONTEXT) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_STORE_PROV_SET_CERT_PROPERTY = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pcertcontext: *const CERT_CONTEXT, dwpropid: u32, dwflags: u32, pvdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_STORE_PROV_SET_CRL_PROPERTY = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pcrlcontext: *const CRL_CONTEXT, dwpropid: u32, dwflags: u32, pvdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_STORE_PROV_SET_CTL_PROPERTY = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pctlcontext: *const CTL_CONTEXT, dwpropid: u32, dwflags: u32, pvdata: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_STORE_PROV_WRITE_CERT = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pcertcontext: *const CERT_CONTEXT, dwflags: u32) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_STORE_PROV_WRITE_CRL = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pcrlcontext: *const CRL_CONTEXT, dwflags: u32) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CERT_STORE_PROV_WRITE_CTL = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, pctlcontext: *const CTL_CONTEXT, dwflags: u32) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type PFN_CMSG_ALLOC = ::core::option::Option<unsafe extern "system" fn(cb: usize) -> *mut ::core::ffi::c_void>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CMSG_CNG_IMPORT_CONTENT_ENCRYPT_KEY = ::core::option::Option<unsafe extern "system" fn(pcngcontentdecryptinfo: *mut CMSG_CNG_CONTENT_DECRYPT_INFO, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CMSG_CNG_IMPORT_KEY_AGREE = ::core::option::Option<unsafe extern "system" fn(pcngcontentdecryptinfo: *mut CMSG_CNG_CONTENT_DECRYPT_INFO, pkeyagreedecryptpara: *const CMSG_CTRL_KEY_AGREE_DECRYPT_PARA, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CMSG_CNG_IMPORT_KEY_TRANS = ::core::option::Option<unsafe extern "system" fn(pcngcontentdecryptinfo: *mut CMSG_CNG_CONTENT_DECRYPT_INFO, pkeytransdecryptpara: *const CMSG_CTRL_KEY_TRANS_DECRYPT_PARA, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CMSG_EXPORT_ENCRYPT_KEY = ::core::option::Option<unsafe extern "system" fn(hcryptprov: usize, hencryptkey: usize, ppublickeyinfo: *const CERT_PUBLIC_KEY_INFO, pbdata: *mut u8, pcbdata: *mut u32) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CMSG_EXPORT_KEY_AGREE = ::core::option::Option<unsafe extern "system" fn(pcontentencryptinfo: *const CMSG_CONTENT_ENCRYPT_INFO, pkeyagreeencodeinfo: *const CMSG_KEY_AGREE_RECIPIENT_ENCODE_INFO, pkeyagreeencryptinfo: *mut CMSG_KEY_AGREE_ENCRYPT_INFO, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CMSG_EXPORT_KEY_TRANS = ::core::option::Option<unsafe extern "system" fn(pcontentencryptinfo: *const CMSG_CONTENT_ENCRYPT_INFO, pkeytransencodeinfo: *const CMSG_KEY_TRANS_RECIPIENT_ENCODE_INFO, pkeytransencryptinfo: *mut CMSG_KEY_TRANS_ENCRYPT_INFO, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CMSG_EXPORT_MAIL_LIST = ::core::option::Option<unsafe extern "system" fn(pcontentencryptinfo: *const CMSG_CONTENT_ENCRYPT_INFO, pmaillistencodeinfo: *const CMSG_MAIL_LIST_RECIPIENT_ENCODE_INFO, pmaillistencryptinfo: *mut CMSG_MAIL_LIST_ENCRYPT_INFO, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type PFN_CMSG_FREE = ::core::option::Option<unsafe extern "system" fn(pv: *mut ::core::ffi::c_void)>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CMSG_GEN_CONTENT_ENCRYPT_KEY = ::core::option::Option<unsafe extern "system" fn(pcontentencryptinfo: *mut CMSG_CONTENT_ENCRYPT_INFO, dwflags: u32, pvreserved: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CMSG_GEN_ENCRYPT_KEY = ::core::option::Option<unsafe extern "system" fn(phcryptprov: *mut usize, paiencrypt: *const CRYPT_ALGORITHM_IDENTIFIER, pvencryptauxinfo: *const ::core::ffi::c_void, ppublickeyinfo: *const CERT_PUBLIC_KEY_INFO, pfnalloc: PFN_CMSG_ALLOC, phencryptkey: *mut usize, ppbencryptparameters: *mut *mut u8, pcbencryptparameters: *mut u32) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CMSG_IMPORT_ENCRYPT_KEY = ::core::option::Option<unsafe extern "system" fn(hcryptprov: usize, dwkeyspec: u32, paiencrypt: *const CRYPT_ALGORITHM_IDENTIFIER, paipubkey: *const CRYPT_ALGORITHM_IDENTIFIER, pbencodedkey: *const u8, cbencodedkey: u32, phencryptkey: *mut usize) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CMSG_IMPORT_KEY_AGREE = ::core::option::Option<unsafe extern "system" fn(pcontentencryptionalgorithm: *const CRYPT_ALGORITHM_IDENTIFIER, pkeyagreedecryptpara: *const CMSG_CTRL_KEY_AGREE_DECRYPT_PARA, dwflags: u32, pvreserved: *mut ::core::ffi::c_void, phcontentencryptkey: *mut usize) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CMSG_IMPORT_KEY_TRANS = ::core::option::Option<unsafe extern "system" fn(pcontentencryptionalgorithm: *const CRYPT_ALGORITHM_IDENTIFIER, pkeytransdecryptpara: *const CMSG_CTRL_KEY_TRANS_DECRYPT_PARA, dwflags: u32, pvreserved: *mut ::core::ffi::c_void, phcontentencryptkey: *mut usize) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CMSG_IMPORT_MAIL_LIST = ::core::option::Option<unsafe extern "system" fn(pcontentencryptionalgorithm: *const CRYPT_ALGORITHM_IDENTIFIER, pmaillistdecryptpara: *const CMSG_CTRL_MAIL_LIST_DECRYPT_PARA, dwflags: u32, pvreserved: *mut ::core::ffi::c_void, phcontentencryptkey: *mut usize) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CMSG_STREAM_OUTPUT = ::core::option::Option<unsafe extern "system" fn(pvarg: *const ::core::ffi::c_void, pbdata: *const u8, cbdata: u32, ffinal: super::super::Foundation::BOOL) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type PFN_CRYPT_ALLOC = ::core::option::Option<unsafe extern "system" fn(cbsize: usize) -> *mut ::core::ffi::c_void>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type PFN_CRYPT_ASYNC_PARAM_FREE_FUNC = ::core::option::Option<unsafe extern "system" fn(pszparamoid: ::windows_sys::core::PCSTR, pvparam: *const ::core::ffi::c_void)>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type PFN_CRYPT_ASYNC_RETRIEVAL_COMPLETION_FUNC = ::core::option::Option<unsafe extern "system" fn(pvcompletion: *mut ::core::ffi::c_void, dwcompletioncode: u32, pszurl: ::windows_sys::core::PCSTR, pszobjectoid: ::windows_sys::core::PCSTR, pvobject: *const ::core::ffi::c_void)>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CRYPT_CANCEL_RETRIEVAL = ::core::option::Option<unsafe extern "system" fn(dwflags: u32, pvarg: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CRYPT_ENUM_KEYID_PROP = ::core::option::Option<unsafe extern "system" fn(pkeyidentifier: *const CRYPTOAPI_BLOB, dwflags: u32, pvreserved: *mut ::core::ffi::c_void, pvarg: *mut ::core::ffi::c_void, cprop: u32, rgdwpropid: *const u32, rgpvdata: *const *const ::core::ffi::c_void, rgcbdata: *const u32) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CRYPT_ENUM_OID_FUNC = ::core::option::Option<unsafe extern "system" fn(dwencodingtype: u32, pszfuncname: ::windows_sys::core::PCSTR, pszoid: ::windows_sys::core::PCSTR, cvalue: u32, rgdwvaluetype: *const u32, rgpwszvaluename: *const ::windows_sys::core::PWSTR, rgpbvaluedata: *const *const u8, rgcbvaluedata: *const u32, pvarg: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CRYPT_ENUM_OID_INFO = ::core::option::Option<unsafe extern "system" fn(pinfo: *const CRYPT_OID_INFO, pvarg: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CRYPT_EXPORT_PUBLIC_KEY_INFO_EX2_FUNC = ::core::option::Option<unsafe extern "system" fn(hncryptkey: NCRYPT_KEY_HANDLE, dwcertencodingtype: u32, pszpublickeyobjid: ::windows_sys::core::PCSTR, dwflags: u32, pvauxinfo: *const ::core::ffi::c_void, pinfo: *mut CERT_PUBLIC_KEY_INFO, pcbinfo: *mut u32) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CRYPT_EXPORT_PUBLIC_KEY_INFO_FROM_BCRYPT_HANDLE_FUNC = ::core::option::Option<unsafe extern "system" fn(hbcryptkey: BCRYPT_KEY_HANDLE, dwcertencodingtype: u32, pszpublickeyobjid: ::windows_sys::core::PCSTR, dwflags: u32, pvauxinfo: *const ::core::ffi::c_void, pinfo: *mut CERT_PUBLIC_KEY_INFO, pcbinfo: *mut u32) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CRYPT_EXTRACT_ENCODED_SIGNATURE_PARAMETERS_FUNC = ::core::option::Option<unsafe extern "system" fn(dwcertencodingtype: u32, psignaturealgorithm: *const CRYPT_ALGORITHM_IDENTIFIER, ppvdecodedsignpara: *mut *mut ::core::ffi::c_void, ppwszcnghashalgid: *mut ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type PFN_CRYPT_FREE = ::core::option::Option<unsafe extern "system" fn(pv: *const ::core::ffi::c_void)>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CRYPT_GET_SIGNER_CERTIFICATE = ::core::option::Option<unsafe extern "system" fn(pvgetarg: *mut ::core::ffi::c_void, dwcertencodingtype: u32, psignerid: *const CERT_INFO, hmsgcertstore: HCERTSTORE) -> *mut CERT_CONTEXT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FLUSH = ::core::option::Option<unsafe extern "system" fn(pcontext: *const ::core::ffi::c_void, rgidentifierornamelist: *const *const CRYPTOAPI_BLOB, dwidentifierornamelistcount: u32) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE = ::core::option::Option<unsafe extern "system" fn(pplugincontext: *const ::core::ffi::c_void, pbdata: *const u8)>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE_IDENTIFIER = ::core::option::Option<unsafe extern "system" fn(pplugincontext: *const ::core::ffi::c_void, pidentifier: *const CRYPTOAPI_BLOB)>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE_PASSWORD = ::core::option::Option<unsafe extern "system" fn(pplugincontext: *const ::core::ffi::c_void, pwszpassword: ::windows_sys::core::PCWSTR)>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_GET = ::core::option::Option<unsafe extern "system" fn(pplugincontext: *const ::core::ffi::c_void, pidentifier: *const CRYPTOAPI_BLOB, dwnametype: u32, pnameblob: *const CRYPTOAPI_BLOB, ppbcontent: *mut *mut u8, pcbcontent: *mut u32, ppwszpassword: *mut ::windows_sys::core::PWSTR, ppidentifier: *mut *mut CRYPTOAPI_BLOB) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_INITIALIZE = ::core::option::Option<unsafe extern "system" fn(pfnflush: PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FLUSH, pcontext: *const ::core::ffi::c_void, pdwexpectedobjectcount: *mut u32, ppfunctable: *mut *mut CRYPT_OBJECT_LOCATOR_PROVIDER_TABLE, ppplugincontext: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_RELEASE = ::core::option::Option<unsafe extern "system" fn(dwreason: CRYPT_OBJECT_LOCATOR_RELEASE_REASON, pplugincontext: *const ::core::ffi::c_void)>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CRYPT_SIGN_AND_ENCODE_HASH_FUNC = ::core::option::Option<unsafe extern "system" fn(hkey: NCRYPT_KEY_HANDLE, dwcertencodingtype: u32, psignaturealgorithm: *const CRYPT_ALGORITHM_IDENTIFIER, pvdecodedsignpara: *const ::core::ffi::c_void, pwszcngpubkeyalgid: ::windows_sys::core::PCWSTR, pwszcnghashalgid: ::windows_sys::core::PCWSTR, pbcomputedhash: *const u8, cbcomputedhash: u32, pbsignature: *mut u8, pcbsignature: *mut u32) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CRYPT_VERIFY_ENCODED_SIGNATURE_FUNC = ::core::option::Option<unsafe extern "system" fn(dwcertencodingtype: u32, ppubkeyinfo: *const CERT_PUBLIC_KEY_INFO, psignaturealgorithm: *const CRYPT_ALGORITHM_IDENTIFIER, pvdecodedsignpara: *const ::core::ffi::c_void, pwszcngpubkeyalgid: ::windows_sys::core::PCWSTR, pwszcnghashalgid: ::windows_sys::core::PCWSTR, pbcomputedhash: *const u8, cbcomputedhash: u32, pbsignature: *const u8, cbsignature: u32) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type PFN_CRYPT_XML_CREATE_TRANSFORM = ::core::option::Option<unsafe extern "system" fn(ptransform: *const CRYPT_XML_ALGORITHM, pproviderin: *const CRYPT_XML_DATA_PROVIDER, pproviderout: *mut CRYPT_XML_DATA_PROVIDER) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type PFN_CRYPT_XML_DATA_PROVIDER_CLOSE = ::core::option::Option<unsafe extern "system" fn(pvcallbackstate: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type PFN_CRYPT_XML_DATA_PROVIDER_READ = ::core::option::Option<unsafe extern "system" fn(pvcallbackstate: *mut ::core::ffi::c_void, pbdata: *mut u8, cbdata: u32, pcbread: *mut u32) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_CRYPT_XML_ENUM_ALG_INFO = ::core::option::Option<unsafe extern "system" fn(pinfo: *const CRYPT_XML_ALGORITHM_INFO, pvarg: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type PFN_CRYPT_XML_WRITE_CALLBACK = ::core::option::Option<unsafe extern "system" fn(pvcallbackstate: *mut ::core::ffi::c_void, pbdata: *const u8, cbdata: u32) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_EXPORT_PRIV_KEY_FUNC = ::core::option::Option<unsafe extern "system" fn(hcryptprov: usize, dwkeyspec: u32, pszprivatekeyobjid: ::windows_sys::core::PCSTR, dwflags: u32, pvauxinfo: *const ::core::ffi::c_void, pprivatekeyinfo: *mut CRYPT_PRIVATE_KEY_INFO, pcbprivatekeyinfo: *mut u32) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type PFN_FREE_ENCODED_OBJECT_FUNC = ::core::option::Option<unsafe extern "system" fn(pszobjectoid: ::windows_sys::core::PCSTR, pobject: *mut CRYPT_BLOB_ARRAY, pvfreecontext: *mut ::core::ffi::c_void)>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_IMPORT_PRIV_KEY_FUNC = ::core::option::Option<unsafe extern "system" fn(hcryptprov: usize, pprivatekeyinfo: *const CRYPT_PRIVATE_KEY_INFO, dwflags: u32, pvauxinfo: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_IMPORT_PUBLIC_KEY_INFO_EX2_FUNC = ::core::option::Option<unsafe extern "system" fn(dwcertencodingtype: u32, pinfo: *const CERT_PUBLIC_KEY_INFO, dwflags: u32, pvauxinfo: *const ::core::ffi::c_void, phkey: *mut BCRYPT_KEY_HANDLE) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type PFN_NCRYPT_ALLOC = ::core::option::Option<unsafe extern "system" fn(cbsize: usize) -> *mut ::core::ffi::c_void>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub type PFN_NCRYPT_FREE = ::core::option::Option<unsafe extern "system" fn(pv: *const ::core::ffi::c_void)>;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS12_CONFIG_REGPATH: &str = "Software\\Microsoft\\Windows\\CurrentVersion\\PFX";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS12_DISABLE_ENCRYPT_CERTIFICATES: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS12_ENCRYPT_CERTIFICATES: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS12_ENCRYPT_CERTIFICATES_VALUE_NAME: &str = "EncryptCertificates";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS12_EXPORT_ECC_CURVE_OID: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS12_EXPORT_ECC_CURVE_PARAMETERS: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS12_EXPORT_PBES2_PARAMS: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS12_EXPORT_RESERVED_MASK: u32 = 4294901760u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS12_EXPORT_SILENT: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS12_IMPORT_RESERVED_MASK: u32 = 4294901760u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS12_IMPORT_SILENT: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS12_ONLY_CERTIFICATES: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS12_ONLY_CERTIFICATES_CONTAINER_NAME: &str = "PfxContainer";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS12_ONLY_CERTIFICATES_PROVIDER_NAME: &str = "PfxProvider";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS12_ONLY_CERTIFICATES_PROVIDER_TYPE: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS12_ONLY_NOT_ENCRYPTED_CERTIFICATES: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS12_PBES2_ALG_AES256_SHA256: &str = "AES256-SHA256";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct PKCS12_PBES2_EXPORT_PARAMS {
+ pub dwSize: u32,
+ pub hNcryptDescriptor: *mut ::core::ffi::c_void,
+ pub pwszPbes2Alg: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for PKCS12_PBES2_EXPORT_PARAMS {}
+impl ::core::clone::Clone for PKCS12_PBES2_EXPORT_PARAMS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS12_PBKDF2_ID_HMAC_SHA1: &str = "1.2.840.113549.2.7";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS12_PBKDF2_ID_HMAC_SHA256: &str = "1.2.840.113549.2.9";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS12_PBKDF2_ID_HMAC_SHA384: &str = "1.2.840.113549.2.10";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS12_PBKDF2_ID_HMAC_SHA512: &str = "1.2.840.113549.2.11";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS12_PROTECT_TO_DOMAIN_SIDS: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS12_VIRTUAL_ISOLATION_KEY: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS5_PADDING: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS7_SIGNER_INFO: ::windows_sys::core::PCSTR = 500i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS_7_NDR_ENCODING: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS_ATTRIBUTE: ::windows_sys::core::PCSTR = 22i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS_ATTRIBUTES: ::windows_sys::core::PCSTR = 48i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS_CONTENT_INFO: ::windows_sys::core::PCSTR = 33i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS_CONTENT_INFO_SEQUENCE_OF_ANY: ::windows_sys::core::PCSTR = 23i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS_CTL: ::windows_sys::core::PCSTR = 37i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS_ENCRYPTED_PRIVATE_KEY_INFO: ::windows_sys::core::PCSTR = 45i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS_PRIVATE_KEY_INFO: ::windows_sys::core::PCSTR = 44i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS_RC2_CBC_PARAMETERS: ::windows_sys::core::PCSTR = 41i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS_RSAES_OAEP_PARAMETERS: ::windows_sys::core::PCSTR = 76i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS_RSA_PRIVATE_KEY: ::windows_sys::core::PCSTR = 43i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS_RSA_SSA_PSS_PARAMETERS: ::windows_sys::core::PCSTR = 75i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS_RSA_SSA_PSS_TRAILER_FIELD_BC: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS_SMIME_CAPABILITIES: ::windows_sys::core::PCSTR = 42i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS_SORTED_CTL: ::windows_sys::core::PCSTR = 49i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS_TIME_REQUEST: ::windows_sys::core::PCSTR = 18i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PKCS_UTC_TIME: ::windows_sys::core::PCSTR = 17i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PLAINTEXTKEYBLOB: u32 = 8u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct POLICY_ELEMENT {
+ pub targetEndpointAddress: ::windows_sys::core::PCWSTR,
+ pub issuerEndpointAddress: ::windows_sys::core::PCWSTR,
+ pub issuedTokenParameters: ::windows_sys::core::PCWSTR,
+ pub privacyNoticeLink: ::windows_sys::core::PCWSTR,
+ pub privacyNoticeVersion: u32,
+ pub useManagedPresentation: super::super::Foundation::BOOL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for POLICY_ELEMENT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for POLICY_ELEMENT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_ADMIN_PIN: u32 = 31u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_APPLI_CERT: u32 = 18u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_CERTCHAIN: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_CHANGE_PASSWORD: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_CONTAINER: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_CONTEXT_INFO: u32 = 11u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_CRYPT_COUNT_KEY_USE: u32 = 41u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_DISMISS_PIN_UI_SEC: u32 = 49u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_ENUMALGS: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_ENUMALGS_EX: u32 = 22u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_ENUMCONTAINERS: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_ENUMELECTROOTS: u32 = 26u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_ENUMEX_SIGNING_PROT: u32 = 40u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_ENUMMANDROOTS: u32 = 25u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_IMPTYPE: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_KEYSET_TYPE: u32 = 27u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_KEYSPEC: u32 = 39u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_KEYSTORAGE: u32 = 17u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_KEYX_KEYSIZE_INC: u32 = 35u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_KEY_TYPE_SUBTYPE: u32 = 10u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_NAME: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_PROVTYPE: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_SESSION_KEYSIZE: u32 = 20u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_SGC_INFO: u32 = 37u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_SIG_KEYSIZE_INC: u32 = 34u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_SMARTCARD_GUID: u32 = 45u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_SMARTCARD_READER_ICON: u32 = 47u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_SYM_KEYSIZE: u32 = 19u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_UNIQUE_CONTAINER: u32 = 36u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PP_VERSION: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PRIVATEKEYBLOB: u32 = 7u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct PRIVKEYVER3 {
+ pub magic: u32,
+ pub bitlenP: u32,
+ pub bitlenQ: u32,
+ pub bitlenJ: u32,
+ pub bitlenX: u32,
+ pub DSSSeed: DSSSEED,
+}
+impl ::core::marker::Copy for PRIVKEYVER3 {}
+impl ::core::clone::Clone for PRIVKEYVER3 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PROV_DH_SCHANNEL: u32 = 18u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PROV_DSS: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PROV_DSS_DH: u32 = 13u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PROV_EC_ECDSA_FULL: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PROV_EC_ECDSA_SIG: u32 = 14u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PROV_EC_ECNRA_FULL: u32 = 17u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PROV_EC_ECNRA_SIG: u32 = 15u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct PROV_ENUMALGS {
+ pub aiAlgid: u32,
+ pub dwBitLen: u32,
+ pub dwNameLen: u32,
+ pub szName: [super::super::Foundation::CHAR; 20],
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for PROV_ENUMALGS {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for PROV_ENUMALGS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct PROV_ENUMALGS_EX {
+ pub aiAlgid: u32,
+ pub dwDefaultLen: u32,
+ pub dwMinLen: u32,
+ pub dwMaxLen: u32,
+ pub dwProtocols: u32,
+ pub dwNameLen: u32,
+ pub szName: [super::super::Foundation::CHAR; 20],
+ pub dwLongNameLen: u32,
+ pub szLongName: [super::super::Foundation::CHAR; 40],
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for PROV_ENUMALGS_EX {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for PROV_ENUMALGS_EX {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PROV_FORTEZZA: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PROV_INTEL_SEC: u32 = 22u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PROV_MS_EXCHANGE: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PROV_REPLACE_OWF: u32 = 23u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PROV_RNG: u32 = 21u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PROV_RSA_AES: u32 = 24u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PROV_RSA_FULL: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PROV_RSA_SCHANNEL: u32 = 12u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PROV_RSA_SIG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PROV_SPYRUS_LYNKS: u32 = 20u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PROV_SSL: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PROV_STT_ACQ: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PROV_STT_BRND: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PROV_STT_ISS: u32 = 11u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PROV_STT_MER: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PROV_STT_ROOT: u32 = 10u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct PUBKEY {
+ pub magic: u32,
+ pub bitlen: u32,
+}
+impl ::core::marker::Copy for PUBKEY {}
+impl ::core::clone::Clone for PUBKEY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct PUBKEYVER3 {
+ pub magic: u32,
+ pub bitlenP: u32,
+ pub bitlenQ: u32,
+ pub bitlenJ: u32,
+ pub DSSSeed: DSSSEED,
+}
+impl ::core::marker::Copy for PUBKEYVER3 {}
+impl ::core::clone::Clone for PUBKEYVER3 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PUBLICKEYBLOB: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const PUBLICKEYBLOBEX: u32 = 10u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct PUBLICKEYSTRUC {
+ pub bType: u8,
+ pub bVersion: u8,
+ pub reserved: u16,
+ pub aiKeyAlg: u32,
+}
+impl ::core::marker::Copy for PUBLICKEYSTRUC {}
+impl ::core::clone::Clone for PUBLICKEYSTRUC {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+#[repr(transparent)]
+pub struct PaddingMode(pub i32);
+impl PaddingMode {
+ pub const None: Self = Self(1i32);
+ pub const PKCS7: Self = Self(2i32);
+ pub const Zeros: Self = Self(3i32);
+ pub const ANSIX923: Self = Self(4i32);
+ pub const ISO10126: Self = Self(5i32);
+}
+impl ::core::marker::Copy for PaddingMode {}
+impl ::core::clone::Clone for PaddingMode {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const RANDOM_PADDING: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct RECIPIENTPOLICY {
+ pub recipient: ENDPOINTADDRESS,
+ pub issuer: ENDPOINTADDRESS,
+ pub tokenType: ::windows_sys::core::PCWSTR,
+ pub requiredClaims: CLAIMLIST,
+ pub optionalClaims: CLAIMLIST,
+ pub privacyUrl: ::windows_sys::core::PCWSTR,
+ pub privacyVersion: u32,
+}
+impl ::core::marker::Copy for RECIPIENTPOLICY {}
+impl ::core::clone::Clone for RECIPIENTPOLICY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct RECIPIENTPOLICY2 {
+ pub recipient: ENDPOINTADDRESS2,
+ pub issuer: ENDPOINTADDRESS2,
+ pub tokenType: ::windows_sys::core::PCWSTR,
+ pub requiredClaims: CLAIMLIST,
+ pub optionalClaims: CLAIMLIST,
+ pub privacyUrl: ::windows_sys::core::PCWSTR,
+ pub privacyVersion: u32,
+}
+impl ::core::marker::Copy for RECIPIENTPOLICY2 {}
+impl ::core::clone::Clone for RECIPIENTPOLICY2 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const RECIPIENTPOLICYV1: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const RECIPIENTPOLICYV2: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const REPORT_NOT_ABLE_TO_EXPORT_PRIVATE_KEY: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const REPORT_NO_PRIVATE_KEY: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const REVOCATION_OID_CRL_REVOCATION: ::windows_sys::core::PCSTR = 1i32 as _;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct ROOT_INFO_LUID {
+ pub LowPart: u32,
+ pub HighPart: i32,
+}
+impl ::core::marker::Copy for ROOT_INFO_LUID {}
+impl ::core::clone::Clone for ROOT_INFO_LUID {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const RSA1024BIT_KEY: u32 = 67108864u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct RSAPUBKEY {
+ pub magic: u32,
+ pub bitlen: u32,
+ pub pubexp: u32,
+}
+impl ::core::marker::Copy for RSAPUBKEY {}
+impl ::core::clone::Clone for RSAPUBKEY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const RSA_CSP_PUBLICKEYBLOB: ::windows_sys::core::PCSTR = 19i32 as _;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct SCHANNEL_ALG {
+ pub dwUse: u32,
+ pub Algid: u32,
+ pub cBits: u32,
+ pub dwFlags: u32,
+ pub dwReserved: u32,
+}
+impl ::core::marker::Copy for SCHANNEL_ALG {}
+impl ::core::clone::Clone for SCHANNEL_ALG {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const SCHANNEL_ENC_KEY: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const SCHANNEL_MAC_KEY: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const SCHEME_OID_RETRIEVE_ENCODED_OBJECTW_FUNC: &str = "SchemeDllRetrieveEncodedObjectW";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const SCHEME_OID_RETRIEVE_ENCODED_OBJECT_FUNC: &str = "SchemeDllRetrieveEncodedObject";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const SIGNATURE_RESOURCE_NUMBER: u32 = 666u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const SIMPLEBLOB: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const SITE_PIN_RULES_ALL_SUBDOMAINS_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const SORTED_CTL_EXT_HASHED_SUBJECT_IDENTIFIER_FLAG: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct SSL_ECCKEY_BLOB {
+ pub dwCurveType: u32,
+ pub cbKey: u32,
+}
+impl ::core::marker::Copy for SSL_ECCKEY_BLOB {}
+impl ::core::clone::Clone for SSL_ECCKEY_BLOB {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const SSL_ECCPUBLIC_BLOB: &str = "SSLECCPUBLICBLOB";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const SSL_F12_ERROR_TEXT_LENGTH: u32 = 256u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct SSL_F12_EXTRA_CERT_CHAIN_POLICY_STATUS {
+ pub cbSize: u32,
+ pub dwErrorLevel: u32,
+ pub dwErrorCategory: u32,
+ pub dwReserved: u32,
+ pub wszErrorText: [u16; 256],
+}
+impl ::core::marker::Copy for SSL_F12_EXTRA_CERT_CHAIN_POLICY_STATUS {}
+impl ::core::clone::Clone for SSL_F12_EXTRA_CERT_CHAIN_POLICY_STATUS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const SSL_HPKP_HEADER_COUNT: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct SSL_HPKP_HEADER_EXTRA_CERT_CHAIN_POLICY_PARA {
+ pub cbSize: u32,
+ pub dwReserved: u32,
+ pub pwszServerName: ::windows_sys::core::PWSTR,
+ pub rgpszHpkpValue: [::windows_sys::core::PSTR; 2],
+}
+impl ::core::marker::Copy for SSL_HPKP_HEADER_EXTRA_CERT_CHAIN_POLICY_PARA {}
+impl ::core::clone::Clone for SSL_HPKP_HEADER_EXTRA_CERT_CHAIN_POLICY_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const SSL_HPKP_PKP_HEADER_INDEX: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const SSL_HPKP_PKP_RO_HEADER_INDEX: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const SSL_KEY_PIN_ERROR_TEXT_LENGTH: u32 = 512u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct SSL_KEY_PIN_EXTRA_CERT_CHAIN_POLICY_PARA {
+ pub cbSize: u32,
+ pub dwReserved: u32,
+ pub pwszServerName: ::windows_sys::core::PCWSTR,
+}
+impl ::core::marker::Copy for SSL_KEY_PIN_EXTRA_CERT_CHAIN_POLICY_PARA {}
+impl ::core::clone::Clone for SSL_KEY_PIN_EXTRA_CERT_CHAIN_POLICY_PARA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub struct SSL_KEY_PIN_EXTRA_CERT_CHAIN_POLICY_STATUS {
+ pub cbSize: u32,
+ pub lError: i32,
+ pub wszErrorText: [u16; 512],
+}
+impl ::core::marker::Copy for SSL_KEY_PIN_EXTRA_CERT_CHAIN_POLICY_STATUS {}
+impl ::core::clone::Clone for SSL_KEY_PIN_EXTRA_CERT_CHAIN_POLICY_STATUS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const SSL_OBJECT_LOCATOR_CERT_VALIDATION_CONFIG_FUNC: &str = "SslObjectLocatorInitializeCertValidationConfig";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const SSL_OBJECT_LOCATOR_ISSUER_LIST_FUNC: &str = "SslObjectLocatorInitializeIssuerList";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const SSL_OBJECT_LOCATOR_PFX_FUNC: &str = "SslObjectLocatorInitializePfx";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const SYMMETRICWRAPKEYBLOB: u32 = 11u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIMESTAMP_DONT_HASH_DATA: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIMESTAMP_FAILURE_BAD_ALG: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIMESTAMP_FAILURE_BAD_FORMAT: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIMESTAMP_FAILURE_BAD_REQUEST: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIMESTAMP_FAILURE_EXTENSION_NOT_SUPPORTED: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIMESTAMP_FAILURE_INFO_NOT_AVAILABLE: u32 = 17u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIMESTAMP_FAILURE_POLICY_NOT_SUPPORTED: u32 = 15u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIMESTAMP_FAILURE_SYSTEM_FAILURE: u32 = 25u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIMESTAMP_FAILURE_TIME_NOT_AVAILABLE: u32 = 14u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIMESTAMP_INFO: ::windows_sys::core::PCSTR = 80i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIMESTAMP_NO_AUTH_RETRIEVAL: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIMESTAMP_REQUEST: ::windows_sys::core::PCSTR = 78i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIMESTAMP_RESPONSE: ::windows_sys::core::PCSTR = 79i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIMESTAMP_VERIFY_CONTEXT_SIGNATURE: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIME_VALID_OID_FLUSH_CRL: ::windows_sys::core::PCSTR = 2i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIME_VALID_OID_FLUSH_CRL_FROM_CERT: ::windows_sys::core::PCSTR = 3i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIME_VALID_OID_FLUSH_CTL: ::windows_sys::core::PCSTR = 1i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIME_VALID_OID_FLUSH_FRESHEST_CRL_FROM_CERT: ::windows_sys::core::PCSTR = 4i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIME_VALID_OID_FLUSH_FRESHEST_CRL_FROM_CRL: ::windows_sys::core::PCSTR = 5i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIME_VALID_OID_FLUSH_OBJECT_FUNC: &str = "TimeValidDllFlushObject";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIME_VALID_OID_GET_CRL: ::windows_sys::core::PCSTR = 2i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIME_VALID_OID_GET_CRL_FROM_CERT: ::windows_sys::core::PCSTR = 3i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIME_VALID_OID_GET_CTL: ::windows_sys::core::PCSTR = 1i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIME_VALID_OID_GET_FRESHEST_CRL_FROM_CERT: ::windows_sys::core::PCSTR = 4i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIME_VALID_OID_GET_FRESHEST_CRL_FROM_CRL: ::windows_sys::core::PCSTR = 5i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TIME_VALID_OID_GET_OBJECT_FUNC: &str = "TimeValidDllGetObject";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const TPM_RSA_SRK_SEAL_KEY: &str = "MICROSOFT_PCP_KSP_RSA_SEAL_KEY_3BD1C4BF-004E-4E2F-8A4D-0BF633DCB074";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const URL_OID_CERTIFICATE_CRL_DIST_POINT: ::windows_sys::core::PCSTR = 2i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const URL_OID_CERTIFICATE_CRL_DIST_POINT_AND_OCSP: ::windows_sys::core::PCSTR = 11i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const URL_OID_CERTIFICATE_FRESHEST_CRL: ::windows_sys::core::PCSTR = 6i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const URL_OID_CERTIFICATE_ISSUER: ::windows_sys::core::PCSTR = 1i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const URL_OID_CERTIFICATE_OCSP: ::windows_sys::core::PCSTR = 9i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const URL_OID_CERTIFICATE_OCSP_AND_CRL_DIST_POINT: ::windows_sys::core::PCSTR = 10i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const URL_OID_CERTIFICATE_ONLY_OCSP: ::windows_sys::core::PCSTR = 13i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const URL_OID_CRL_FRESHEST_CRL: ::windows_sys::core::PCSTR = 7i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const URL_OID_CRL_ISSUER: ::windows_sys::core::PCSTR = 5i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const URL_OID_CROSS_CERT_DIST_POINT: ::windows_sys::core::PCSTR = 8i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const URL_OID_CROSS_CERT_SUBJECT_INFO_ACCESS: ::windows_sys::core::PCSTR = 12i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const URL_OID_CTL_ISSUER: ::windows_sys::core::PCSTR = 3i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const URL_OID_CTL_NEXT_UPDATE: ::windows_sys::core::PCSTR = 4i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const URL_OID_GET_OBJECT_URL_FUNC: &str = "UrlDllGetObjectUrl";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const USAGE_MATCH_TYPE_AND: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const USAGE_MATCH_TYPE_OR: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_ALGORITHM_IDENTIFIER: ::windows_sys::core::PCSTR = 74i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_ALTERNATE_NAME: ::windows_sys::core::PCSTR = 12i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_ANY_STRING: i32 = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_AUTHORITY_INFO_ACCESS: ::windows_sys::core::PCSTR = 32i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_AUTHORITY_KEY_ID: ::windows_sys::core::PCSTR = 9i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_AUTHORITY_KEY_ID2: ::windows_sys::core::PCSTR = 31i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_BASIC_CONSTRAINTS: ::windows_sys::core::PCSTR = 13i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_BASIC_CONSTRAINTS2: ::windows_sys::core::PCSTR = 15i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_BIOMETRIC_EXT: ::windows_sys::core::PCSTR = 71i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_BITS: ::windows_sys::core::PCSTR = 26i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_BITS_WITHOUT_TRAILING_ZEROES: ::windows_sys::core::PCSTR = 51i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_CERT: ::windows_sys::core::PCSTR = 1i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_CERTIFICATE_TEMPLATE: ::windows_sys::core::PCSTR = 64i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_CERT_BUNDLE: ::windows_sys::core::PCSTR = 81i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_CERT_CRL_TO_BE_SIGNED: ::windows_sys::core::PCSTR = 3i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_CERT_PAIR: ::windows_sys::core::PCSTR = 53i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_CERT_POLICIES: ::windows_sys::core::PCSTR = 16i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_CERT_REQUEST_TO_BE_SIGNED: ::windows_sys::core::PCSTR = 4i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_CERT_TO_BE_SIGNED: ::windows_sys::core::PCSTR = 2i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_CHOICE_OF_TIME: ::windows_sys::core::PCSTR = 30i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_CRL_DIST_POINTS: ::windows_sys::core::PCSTR = 35i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_CRL_REASON_CODE: i32 = 29i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_CROSS_CERT_DIST_POINTS: ::windows_sys::core::PCSTR = 58i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_DH_PARAMETERS: ::windows_sys::core::PCSTR = 47i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_DH_PUBLICKEY: i32 = 38i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_DSS_PARAMETERS: ::windows_sys::core::PCSTR = 39i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_DSS_PUBLICKEY: i32 = 38i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_DSS_SIGNATURE: ::windows_sys::core::PCSTR = 40i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_ECC_PARAMETERS: ::windows_sys::core::PCSTR = 85i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_ECC_PRIVATE_KEY: ::windows_sys::core::PCSTR = 82i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_ECC_SIGNATURE: ::windows_sys::core::PCSTR = 47i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_ENHANCED_KEY_USAGE: ::windows_sys::core::PCSTR = 36i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_ENUMERATED: ::windows_sys::core::PCSTR = 29i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_EXTENSIONS: ::windows_sys::core::PCSTR = 5i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_INTEGER: ::windows_sys::core::PCSTR = 27i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_ISSUING_DIST_POINT: ::windows_sys::core::PCSTR = 54i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_KEYGEN_REQUEST_TO_BE_SIGNED: ::windows_sys::core::PCSTR = 21i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_KEY_ATTRIBUTES: ::windows_sys::core::PCSTR = 10i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_KEY_USAGE: ::windows_sys::core::PCSTR = 14i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_KEY_USAGE_RESTRICTION: ::windows_sys::core::PCSTR = 11i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_LOGOTYPE_EXT: ::windows_sys::core::PCSTR = 70i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_MULTI_BYTE_INTEGER: ::windows_sys::core::PCSTR = 28i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_MULTI_BYTE_UINT: ::windows_sys::core::PCSTR = 38i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_NAME: ::windows_sys::core::PCSTR = 7i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_NAME_CONSTRAINTS: ::windows_sys::core::PCSTR = 55i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_NAME_VALUE: ::windows_sys::core::PCSTR = 6i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_NDR_ENCODING: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_OBJECT_IDENTIFIER: ::windows_sys::core::PCSTR = 73i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_OCTET_STRING: ::windows_sys::core::PCSTR = 25i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_PKIX_POLICY_QUALIFIER_USERNOTICE: ::windows_sys::core::PCSTR = 46i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_POLICY_CONSTRAINTS: ::windows_sys::core::PCSTR = 57i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_POLICY_MAPPINGS: ::windows_sys::core::PCSTR = 56i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_PUBLIC_KEY_INFO: ::windows_sys::core::PCSTR = 8i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_QC_STATEMENTS_EXT: ::windows_sys::core::PCSTR = 42i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_SEQUENCE_OF_ANY: ::windows_sys::core::PCSTR = 34i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_SUBJECT_DIR_ATTRS: ::windows_sys::core::PCSTR = 84i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_SUBJECT_INFO_ACCESS: i32 = 32i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_UNICODE_ANY_STRING: i32 = 24i32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_UNICODE_NAME: ::windows_sys::core::PCSTR = 20i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X509_UNICODE_NAME_VALUE: ::windows_sys::core::PCSTR = 24i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X942_DH_PARAMETERS: ::windows_sys::core::PCSTR = 50i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const X942_OTHER_INFO: ::windows_sys::core::PCSTR = 52i32 as _;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const ZERO_PADDING: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const cPRIV_KEY_CACHE_MAX_ITEMS_DEFAULT: u32 = 20u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const cPRIV_KEY_CACHE_PURGE_INTERVAL_SECONDS_DEFAULT: u32 = 86400u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const dwFORCE_KEY_PROTECTION_DISABLED: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const dwFORCE_KEY_PROTECTION_HIGH: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const dwFORCE_KEY_PROTECTION_USER_SELECT: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szFORCE_KEY_PROTECTION: &str = "ForceKeyProtection";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szKEY_CACHE_ENABLED: &str = "CachePrivateKeys";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szKEY_CACHE_SECONDS: &str = "PrivateKeyLifetimeSeconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szKEY_CRYPTOAPI_PRIVATE_KEY_OPTIONS: &str = "Software\\Policies\\Microsoft\\Cryptography";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOIDVerisign_FailInfo: &str = "2.16.840.1.113733.1.9.4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOIDVerisign_MessageType: &str = "2.16.840.1.113733.1.9.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOIDVerisign_PkiStatus: &str = "2.16.840.1.113733.1.9.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOIDVerisign_RecipientNonce: &str = "2.16.840.1.113733.1.9.6";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOIDVerisign_SenderNonce: &str = "2.16.840.1.113733.1.9.5";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOIDVerisign_TransactionID: &str = "2.16.840.1.113733.1.9.7";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ANSI_X942: &str = "1.2.840.10046";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ANSI_X942_DH: &str = "1.2.840.10046.2.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ANY_APPLICATION_POLICY: &str = "1.3.6.1.4.1.311.10.12.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ANY_CERT_POLICY: &str = "2.5.29.32.0";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ANY_ENHANCED_KEY_USAGE: &str = "2.5.29.37.0";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_APPLICATION_CERT_POLICIES: &str = "1.3.6.1.4.1.311.21.10";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_APPLICATION_POLICY_CONSTRAINTS: &str = "1.3.6.1.4.1.311.21.12";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_APPLICATION_POLICY_MAPPINGS: &str = "1.3.6.1.4.1.311.21.11";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ARCHIVED_KEY_ATTR: &str = "1.3.6.1.4.1.311.21.13";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ARCHIVED_KEY_CERT_HASH: &str = "1.3.6.1.4.1.311.21.16";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ATTEST_WHQL_CRYPTO: &str = "1.3.6.1.4.1.311.10.3.5.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ATTR_PLATFORM_SPECIFICATION: &str = "2.23.133.2.17";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ATTR_SUPPORTED_ALGORITHMS: &str = "2.5.4.52";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ATTR_TPM_SECURITY_ASSERTIONS: &str = "2.23.133.2.18";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ATTR_TPM_SPECIFICATION: &str = "2.23.133.2.16";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_AUTHORITY_INFO_ACCESS: &str = "1.3.6.1.5.5.7.1.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_AUTHORITY_KEY_IDENTIFIER: &str = "2.5.29.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_AUTHORITY_KEY_IDENTIFIER2: &str = "2.5.29.35";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_AUTHORITY_REVOCATION_LIST: &str = "2.5.4.38";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_AUTO_ENROLL_CTL_USAGE: &str = "1.3.6.1.4.1.311.20.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_BACKGROUND_OTHER_LOGOTYPE: &str = "1.3.6.1.5.5.7.20.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_BASIC_CONSTRAINTS: &str = "2.5.29.10";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_BASIC_CONSTRAINTS2: &str = "2.5.29.19";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_BIOMETRIC_EXT: &str = "1.3.6.1.5.5.7.1.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_BIOMETRIC_SIGNING: &str = "1.3.6.1.4.1.311.10.3.41";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_BUSINESS_CATEGORY: &str = "2.5.4.15";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CA_CERTIFICATE: &str = "2.5.4.37";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CERTIFICATE_REVOCATION_LIST: &str = "2.5.4.39";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CERTIFICATE_TEMPLATE: &str = "1.3.6.1.4.1.311.21.7";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CERTSRV_CA_VERSION: &str = "1.3.6.1.4.1.311.21.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CERTSRV_CROSSCA_VERSION: &str = "1.3.6.1.4.1.311.21.22";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CERTSRV_PREVIOUS_CERT_HASH: &str = "1.3.6.1.4.1.311.21.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CERT_DISALLOWED_FILETIME_PROP_ID: &str = "1.3.6.1.4.1.311.10.11.104";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CERT_EXTENSIONS: &str = "1.3.6.1.4.1.311.2.1.14";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CERT_ISSUER_SERIAL_NUMBER_MD5_HASH_PROP_ID: &str = "1.3.6.1.4.1.311.10.11.28";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CERT_KEY_IDENTIFIER_PROP_ID: &str = "1.3.6.1.4.1.311.10.11.20";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CERT_MANIFOLD: &str = "1.3.6.1.4.1.311.20.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CERT_MD5_HASH_PROP_ID: &str = "1.3.6.1.4.1.311.10.11.4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CERT_POLICIES: &str = "2.5.29.32";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CERT_POLICIES_95: &str = "2.5.29.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CERT_POLICIES_95_QUALIFIER1: &str = "2.16.840.1.113733.1.7.1.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CERT_PROP_ID_PREFIX: &str = "1.3.6.1.4.1.311.10.11.";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CERT_SIGNATURE_HASH_PROP_ID: &str = "1.3.6.1.4.1.311.10.11.15";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CERT_STRONG_KEY_OS_1: &str = "1.3.6.1.4.1.311.72.2.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CERT_STRONG_KEY_OS_CURRENT: &str = "1.3.6.1.4.1.311.72.2.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CERT_STRONG_KEY_OS_PREFIX: &str = "1.3.6.1.4.1.311.72.2.";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CERT_STRONG_SIGN_OS_1: &str = "1.3.6.1.4.1.311.72.1.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CERT_STRONG_SIGN_OS_CURRENT: &str = "1.3.6.1.4.1.311.72.1.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CERT_STRONG_SIGN_OS_PREFIX: &str = "1.3.6.1.4.1.311.72.1.";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CERT_SUBJECT_NAME_MD5_HASH_PROP_ID: &str = "1.3.6.1.4.1.311.10.11.29";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CMC: &str = "1.3.6.1.5.5.7.7";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CMC_ADD_ATTRIBUTES: &str = "1.3.6.1.4.1.311.10.10.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CMC_ADD_EXTENSIONS: &str = "1.3.6.1.5.5.7.7.8";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CMC_DATA_RETURN: &str = "1.3.6.1.5.5.7.7.4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CMC_DECRYPTED_POP: &str = "1.3.6.1.5.5.7.7.10";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CMC_ENCRYPTED_POP: &str = "1.3.6.1.5.5.7.7.9";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CMC_GET_CERT: &str = "1.3.6.1.5.5.7.7.15";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CMC_GET_CRL: &str = "1.3.6.1.5.5.7.7.16";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CMC_IDENTIFICATION: &str = "1.3.6.1.5.5.7.7.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CMC_IDENTITY_PROOF: &str = "1.3.6.1.5.5.7.7.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CMC_ID_CONFIRM_CERT_ACCEPTANCE: &str = "1.3.6.1.5.5.7.7.24";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CMC_ID_POP_LINK_RANDOM: &str = "1.3.6.1.5.5.7.7.22";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CMC_ID_POP_LINK_WITNESS: &str = "1.3.6.1.5.5.7.7.23";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CMC_LRA_POP_WITNESS: &str = "1.3.6.1.5.5.7.7.11";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CMC_QUERY_PENDING: &str = "1.3.6.1.5.5.7.7.21";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CMC_RECIPIENT_NONCE: &str = "1.3.6.1.5.5.7.7.7";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CMC_REG_INFO: &str = "1.3.6.1.5.5.7.7.18";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CMC_RESPONSE_INFO: &str = "1.3.6.1.5.5.7.7.19";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CMC_REVOKE_REQUEST: &str = "1.3.6.1.5.5.7.7.17";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CMC_SENDER_NONCE: &str = "1.3.6.1.5.5.7.7.6";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CMC_STATUS_INFO: &str = "1.3.6.1.5.5.7.7.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CMC_TRANSACTION_ID: &str = "1.3.6.1.5.5.7.7.5";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CN_ECDSA_SHA256: &str = "1.2.156.11235.1.1.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_COMMON_NAME: &str = "2.5.4.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_COUNTRY_NAME: &str = "2.5.4.6";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CRL_DIST_POINTS: &str = "2.5.29.31";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CRL_NEXT_PUBLISH: &str = "1.3.6.1.4.1.311.21.4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CRL_NUMBER: &str = "2.5.29.20";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CRL_REASON_CODE: &str = "2.5.29.21";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CRL_SELF_CDP: &str = "1.3.6.1.4.1.311.21.14";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CRL_VIRTUAL_BASE: &str = "1.3.6.1.4.1.311.21.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CROSS_CERTIFICATE_PAIR: &str = "2.5.4.40";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CROSS_CERT_DIST_POINTS: &str = "1.3.6.1.4.1.311.10.9.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CTL: &str = "1.3.6.1.4.1.311.10.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CT_CERT_SCTLIST: &str = "1.3.6.1.4.1.11129.2.4.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CT_PKI_DATA: &str = "1.3.6.1.5.5.7.12.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_CT_PKI_RESPONSE: &str = "1.3.6.1.5.5.7.12.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_DELTA_CRL_INDICATOR: &str = "2.5.29.27";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_DESCRIPTION: &str = "2.5.4.13";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_DESTINATION_INDICATOR: &str = "2.5.4.27";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_DEVICE_SERIAL_NUMBER: &str = "2.5.4.5";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_DH_SINGLE_PASS_STDDH_SHA1_KDF: &str = "1.3.133.16.840.63.0.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_DH_SINGLE_PASS_STDDH_SHA256_KDF: &str = "1.3.132.1.11.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_DH_SINGLE_PASS_STDDH_SHA384_KDF: &str = "1.3.132.1.11.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_DISALLOWED_HASH: &str = "1.3.6.1.4.1.311.10.11.15";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_DISALLOWED_LIST: &str = "1.3.6.1.4.1.311.10.3.30";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_DN_QUALIFIER: &str = "2.5.4.46";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_DOMAIN_COMPONENT: &str = "0.9.2342.19200300.100.1.25";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_DRM: &str = "1.3.6.1.4.1.311.10.5.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_DRM_INDIVIDUALIZATION: &str = "1.3.6.1.4.1.311.10.5.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_DS: &str = "2.5";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_DSALG: &str = "2.5.8";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_DSALG_CRPT: &str = "2.5.8.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_DSALG_HASH: &str = "2.5.8.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_DSALG_RSA: &str = "2.5.8.1.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_DSALG_SIGN: &str = "2.5.8.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_DS_EMAIL_REPLICATION: &str = "1.3.6.1.4.1.311.21.19";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_DYNAMIC_CODE_GEN_SIGNER: &str = "1.3.6.1.4.1.311.76.5.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_BRAINPOOLP160R1: &str = "1.3.36.3.3.2.8.1.1.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_BRAINPOOLP160T1: &str = "1.3.36.3.3.2.8.1.1.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_BRAINPOOLP192R1: &str = "1.3.36.3.3.2.8.1.1.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_BRAINPOOLP192T1: &str = "1.3.36.3.3.2.8.1.1.4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_BRAINPOOLP224R1: &str = "1.3.36.3.3.2.8.1.1.5";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_BRAINPOOLP224T1: &str = "1.3.36.3.3.2.8.1.1.6";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_BRAINPOOLP256R1: &str = "1.3.36.3.3.2.8.1.1.7";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_BRAINPOOLP256T1: &str = "1.3.36.3.3.2.8.1.1.8";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_BRAINPOOLP320R1: &str = "1.3.36.3.3.2.8.1.1.9";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_BRAINPOOLP320T1: &str = "1.3.36.3.3.2.8.1.1.10";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_BRAINPOOLP384R1: &str = "1.3.36.3.3.2.8.1.1.11";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_BRAINPOOLP384T1: &str = "1.3.36.3.3.2.8.1.1.12";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_BRAINPOOLP512R1: &str = "1.3.36.3.3.2.8.1.1.13";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_BRAINPOOLP512T1: &str = "1.3.36.3.3.2.8.1.1.14";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_EC192WAPI: &str = "1.2.156.11235.1.1.2.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_NISTP192: &str = "1.2.840.10045.3.1.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_NISTP224: &str = "1.3.132.0.33";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_NISTP256: &str = "1.2.840.10045.3.1.7";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_NISTP384: &str = "1.3.132.0.34";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_NISTP521: &str = "1.3.132.0.35";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_P256: &str = "1.2.840.10045.3.1.7";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_P384: &str = "1.3.132.0.34";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_P521: &str = "1.3.132.0.35";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_SECP160K1: &str = "1.3.132.0.9";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_SECP160R1: &str = "1.3.132.0.8";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_SECP160R2: &str = "1.3.132.0.30";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_SECP192K1: &str = "1.3.132.0.31";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_SECP192R1: &str = "1.2.840.10045.3.1.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_SECP224K1: &str = "1.3.132.0.32";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_SECP224R1: &str = "1.3.132.0.33";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_SECP256K1: &str = "1.3.132.0.10";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_SECP256R1: &str = "1.2.840.10045.3.1.7";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_SECP384R1: &str = "1.3.132.0.34";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_SECP521R1: &str = "1.3.132.0.35";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_WTLS12: &str = "1.3.132.0.33";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_WTLS7: &str = "1.3.132.0.30";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_WTLS9: &str = "2.23.43.1.4.9";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_X962P192V1: &str = "1.2.840.10045.3.1.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_X962P192V2: &str = "1.2.840.10045.3.1.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_X962P192V3: &str = "1.2.840.10045.3.1.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_X962P239V1: &str = "1.2.840.10045.3.1.4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_X962P239V2: &str = "1.2.840.10045.3.1.5";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_X962P239V3: &str = "1.2.840.10045.3.1.6";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_CURVE_X962P256V1: &str = "1.2.840.10045.3.1.7";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECC_PUBLIC_KEY: &str = "1.2.840.10045.2.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECDSA_SHA1: &str = "1.2.840.10045.4.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECDSA_SHA256: &str = "1.2.840.10045.4.3.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECDSA_SHA384: &str = "1.2.840.10045.4.3.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECDSA_SHA512: &str = "1.2.840.10045.4.3.4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ECDSA_SPECIFIED: &str = "1.2.840.10045.4.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_EFS_RECOVERY: &str = "1.3.6.1.4.1.311.10.3.4.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_EMBEDDED_NT_CRYPTO: &str = "1.3.6.1.4.1.311.10.3.8";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ENCLAVE_SIGNING: &str = "1.3.6.1.4.1.311.10.3.42";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ENCRYPTED_KEY_HASH: &str = "1.3.6.1.4.1.311.21.21";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ENHANCED_KEY_USAGE: &str = "2.5.29.37";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ENROLLMENT_AGENT: &str = "1.3.6.1.4.1.311.20.2.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ENROLLMENT_CSP_PROVIDER: &str = "1.3.6.1.4.1.311.13.2.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ENROLLMENT_NAME_VALUE_PAIR: &str = "1.3.6.1.4.1.311.13.2.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ENROLL_AIK_INFO: &str = "1.3.6.1.4.1.311.21.39";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ENROLL_ATTESTATION_CHALLENGE: &str = "1.3.6.1.4.1.311.21.28";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ENROLL_ATTESTATION_STATEMENT: &str = "1.3.6.1.4.1.311.21.24";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ENROLL_CAXCHGCERT_HASH: &str = "1.3.6.1.4.1.311.21.27";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ENROLL_CERTTYPE_EXTENSION: &str = "1.3.6.1.4.1.311.20.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ENROLL_EKPUB_CHALLENGE: &str = "1.3.6.1.4.1.311.21.26";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ENROLL_EKVERIFYCERT: &str = "1.3.6.1.4.1.311.21.31";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ENROLL_EKVERIFYCREDS: &str = "1.3.6.1.4.1.311.21.32";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ENROLL_EKVERIFYKEY: &str = "1.3.6.1.4.1.311.21.30";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ENROLL_EK_CA_KEYID: &str = "1.3.6.1.4.1.311.21.43";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ENROLL_EK_INFO: &str = "1.3.6.1.4.1.311.21.23";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ENROLL_ENCRYPTION_ALGORITHM: &str = "1.3.6.1.4.1.311.21.29";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ENROLL_KEY_AFFINITY: &str = "1.3.6.1.4.1.311.21.41";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ENROLL_KSP_NAME: &str = "1.3.6.1.4.1.311.21.25";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ENROLL_SCEP_CHALLENGE_ANSWER: &str = "1.3.6.1.4.1.311.21.35";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ENROLL_SCEP_CLIENT_REQUEST: &str = "1.3.6.1.4.1.311.21.37";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ENROLL_SCEP_ERROR: &str = "1.3.6.1.4.1.311.21.33";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ENROLL_SCEP_SERVER_MESSAGE: &str = "1.3.6.1.4.1.311.21.38";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ENROLL_SCEP_SERVER_SECRET: &str = "1.3.6.1.4.1.311.21.40";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ENROLL_SCEP_SERVER_STATE: &str = "1.3.6.1.4.1.311.21.34";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ENROLL_SCEP_SIGNER_HASH: &str = "1.3.6.1.4.1.311.21.42";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ENTERPRISE_OID_ROOT: &str = "1.3.6.1.4.1.311.21.8";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_EV_RDN_COUNTRY: &str = "1.3.6.1.4.1.311.60.2.1.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_EV_RDN_LOCALE: &str = "1.3.6.1.4.1.311.60.2.1.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_EV_RDN_STATE_OR_PROVINCE: &str = "1.3.6.1.4.1.311.60.2.1.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_EV_WHQL_CRYPTO: &str = "1.3.6.1.4.1.311.10.3.39";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_FACSIMILE_TELEPHONE_NUMBER: &str = "2.5.4.23";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_FRESHEST_CRL: &str = "2.5.29.46";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_GIVEN_NAME: &str = "2.5.4.42";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_HPKP_DOMAIN_NAME_CTL: &str = "1.3.6.1.4.1.311.10.3.60";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_HPKP_HEADER_VALUE_CTL: &str = "1.3.6.1.4.1.311.10.3.61";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_INFOSEC: &str = "2.16.840.1.101.2.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_INFOSEC_SuiteAConfidentiality: &str = "2.16.840.1.101.2.1.1.14";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_INFOSEC_SuiteAIntegrity: &str = "2.16.840.1.101.2.1.1.15";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_INFOSEC_SuiteAKMandSig: &str = "2.16.840.1.101.2.1.1.18";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_INFOSEC_SuiteAKeyManagement: &str = "2.16.840.1.101.2.1.1.17";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_INFOSEC_SuiteASignature: &str = "2.16.840.1.101.2.1.1.13";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_INFOSEC_SuiteATokenProtection: &str = "2.16.840.1.101.2.1.1.16";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_INFOSEC_mosaicConfidentiality: &str = "2.16.840.1.101.2.1.1.4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_INFOSEC_mosaicIntegrity: &str = "2.16.840.1.101.2.1.1.6";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_INFOSEC_mosaicKMandSig: &str = "2.16.840.1.101.2.1.1.12";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_INFOSEC_mosaicKMandUpdSig: &str = "2.16.840.1.101.2.1.1.20";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_INFOSEC_mosaicKeyManagement: &str = "2.16.840.1.101.2.1.1.10";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_INFOSEC_mosaicSignature: &str = "2.16.840.1.101.2.1.1.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_INFOSEC_mosaicTokenProtection: &str = "2.16.840.1.101.2.1.1.8";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_INFOSEC_mosaicUpdatedInteg: &str = "2.16.840.1.101.2.1.1.21";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_INFOSEC_mosaicUpdatedSig: &str = "2.16.840.1.101.2.1.1.19";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_INFOSEC_sdnsConfidentiality: &str = "2.16.840.1.101.2.1.1.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_INFOSEC_sdnsIntegrity: &str = "2.16.840.1.101.2.1.1.5";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_INFOSEC_sdnsKMandSig: &str = "2.16.840.1.101.2.1.1.11";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_INFOSEC_sdnsKeyManagement: &str = "2.16.840.1.101.2.1.1.9";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_INFOSEC_sdnsSignature: &str = "2.16.840.1.101.2.1.1.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_INFOSEC_sdnsTokenProtection: &str = "2.16.840.1.101.2.1.1.7";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_INHIBIT_ANY_POLICY: &str = "2.5.29.54";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_INITIALS: &str = "2.5.4.43";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_INTERNATIONALIZED_EMAIL_ADDRESS: &str = "1.3.6.1.4.1.311.20.2.4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_INTERNATIONAL_ISDN_NUMBER: &str = "2.5.4.25";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_IPSEC_KP_IKE_INTERMEDIATE: &str = "1.3.6.1.5.5.8.2.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ISSUED_CERT_HASH: &str = "1.3.6.1.4.1.311.21.17";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ISSUER_ALT_NAME: &str = "2.5.29.8";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ISSUER_ALT_NAME2: &str = "2.5.29.18";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ISSUING_DIST_POINT: &str = "2.5.29.28";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_IUM_SIGNING: &str = "1.3.6.1.4.1.311.10.3.37";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_KEYID_RDN: &str = "1.3.6.1.4.1.311.10.7.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_KEY_ATTRIBUTES: &str = "2.5.29.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_KEY_USAGE: &str = "2.5.29.15";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_KEY_USAGE_RESTRICTION: &str = "2.5.29.4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_KP_CA_EXCHANGE: &str = "1.3.6.1.4.1.311.21.5";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_KP_CSP_SIGNATURE: &str = "1.3.6.1.4.1.311.10.3.16";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_KP_CTL_USAGE_SIGNING: &str = "1.3.6.1.4.1.311.10.3.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_KP_DOCUMENT_SIGNING: &str = "1.3.6.1.4.1.311.10.3.12";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_KP_EFS: &str = "1.3.6.1.4.1.311.10.3.4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_KP_FLIGHT_SIGNING: &str = "1.3.6.1.4.1.311.10.3.27";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_KP_KERNEL_MODE_CODE_SIGNING: &str = "1.3.6.1.4.1.311.61.1.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_KP_KERNEL_MODE_HAL_EXTENSION_SIGNING: &str = "1.3.6.1.4.1.311.61.5.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_KP_KERNEL_MODE_TRUSTED_BOOT_SIGNING: &str = "1.3.6.1.4.1.311.61.4.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_KP_KEY_RECOVERY: &str = "1.3.6.1.4.1.311.10.3.11";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_KP_KEY_RECOVERY_AGENT: &str = "1.3.6.1.4.1.311.21.6";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_KP_LIFETIME_SIGNING: &str = "1.3.6.1.4.1.311.10.3.13";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_KP_MOBILE_DEVICE_SOFTWARE: &str = "1.3.6.1.4.1.311.10.3.14";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_KP_PRIVACY_CA: &str = "1.3.6.1.4.1.311.21.36";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_KP_QUALIFIED_SUBORDINATION: &str = "1.3.6.1.4.1.311.10.3.10";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_KP_SMARTCARD_LOGON: &str = "1.3.6.1.4.1.311.20.2.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_KP_SMART_DISPLAY: &str = "1.3.6.1.4.1.311.10.3.15";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_KP_TIME_STAMP_SIGNING: &str = "1.3.6.1.4.1.311.10.3.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_KP_TPM_AIK_CERTIFICATE: &str = "2.23.133.8.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_KP_TPM_EK_CERTIFICATE: &str = "2.23.133.8.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_KP_TPM_PLATFORM_CERTIFICATE: &str = "2.23.133.8.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_LEGACY_POLICY_MAPPINGS: &str = "2.5.29.5";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_LICENSES: &str = "1.3.6.1.4.1.311.10.6.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_LICENSE_SERVER: &str = "1.3.6.1.4.1.311.10.6.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_LOCALITY_NAME: &str = "2.5.4.7";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_LOCAL_MACHINE_KEYSET: &str = "1.3.6.1.4.1.311.17.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_LOGOTYPE_EXT: &str = "1.3.6.1.5.5.7.1.12";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_LOYALTY_OTHER_LOGOTYPE: &str = "1.3.6.1.5.5.7.20.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_MEMBER: &str = "2.5.4.31";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_MICROSOFT_PUBLISHER_SIGNER: &str = "1.3.6.1.4.1.311.76.8.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_NAME_CONSTRAINTS: &str = "2.5.29.30";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_NETSCAPE: &str = "2.16.840.1.113730";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_NETSCAPE_BASE_URL: &str = "2.16.840.1.113730.1.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_NETSCAPE_CA_POLICY_URL: &str = "2.16.840.1.113730.1.8";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_NETSCAPE_CA_REVOCATION_URL: &str = "2.16.840.1.113730.1.4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_NETSCAPE_CERT_EXTENSION: &str = "2.16.840.1.113730.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_NETSCAPE_CERT_RENEWAL_URL: &str = "2.16.840.1.113730.1.7";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_NETSCAPE_CERT_SEQUENCE: &str = "2.16.840.1.113730.2.5";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_NETSCAPE_CERT_TYPE: &str = "2.16.840.1.113730.1.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_NETSCAPE_COMMENT: &str = "2.16.840.1.113730.1.13";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_NETSCAPE_DATA_TYPE: &str = "2.16.840.1.113730.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_NETSCAPE_REVOCATION_URL: &str = "2.16.840.1.113730.1.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_NETSCAPE_SSL_SERVER_NAME: &str = "2.16.840.1.113730.1.12";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_NEXT_UPDATE_LOCATION: &str = "1.3.6.1.4.1.311.10.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_NIST_AES128_CBC: &str = "2.16.840.1.101.3.4.1.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_NIST_AES128_WRAP: &str = "2.16.840.1.101.3.4.1.5";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_NIST_AES192_CBC: &str = "2.16.840.1.101.3.4.1.22";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_NIST_AES192_WRAP: &str = "2.16.840.1.101.3.4.1.25";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_NIST_AES256_CBC: &str = "2.16.840.1.101.3.4.1.42";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_NIST_AES256_WRAP: &str = "2.16.840.1.101.3.4.1.45";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_NIST_sha256: &str = "2.16.840.1.101.3.4.2.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_NIST_sha384: &str = "2.16.840.1.101.3.4.2.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_NIST_sha512: &str = "2.16.840.1.101.3.4.2.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_NT5_CRYPTO: &str = "1.3.6.1.4.1.311.10.3.6";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_NTDS_REPLICATION: &str = "1.3.6.1.4.1.311.25.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_NT_PRINCIPAL_NAME: &str = "1.3.6.1.4.1.311.20.2.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OEM_WHQL_CRYPTO: &str = "1.3.6.1.4.1.311.10.3.7";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIW: &str = "1.3.14";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWDIR: &str = "1.3.14.7.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWDIR_CRPT: &str = "1.3.14.7.2.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWDIR_HASH: &str = "1.3.14.7.2.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWDIR_SIGN: &str = "1.3.14.7.2.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWDIR_md2: &str = "1.3.14.7.2.2.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWDIR_md2RSA: &str = "1.3.14.7.2.3.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWSEC: &str = "1.3.14.3.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWSEC_desCBC: &str = "1.3.14.3.2.7";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWSEC_desCFB: &str = "1.3.14.3.2.9";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWSEC_desECB: &str = "1.3.14.3.2.6";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWSEC_desEDE: &str = "1.3.14.3.2.17";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWSEC_desMAC: &str = "1.3.14.3.2.10";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWSEC_desOFB: &str = "1.3.14.3.2.8";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWSEC_dhCommMod: &str = "1.3.14.3.2.16";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWSEC_dsa: &str = "1.3.14.3.2.12";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWSEC_dsaComm: &str = "1.3.14.3.2.20";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWSEC_dsaCommSHA: &str = "1.3.14.3.2.21";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWSEC_dsaCommSHA1: &str = "1.3.14.3.2.28";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWSEC_dsaSHA1: &str = "1.3.14.3.2.27";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWSEC_keyHashSeal: &str = "1.3.14.3.2.23";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWSEC_md2RSASign: &str = "1.3.14.3.2.24";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWSEC_md4RSA: &str = "1.3.14.3.2.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWSEC_md4RSA2: &str = "1.3.14.3.2.4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWSEC_md5RSA: &str = "1.3.14.3.2.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWSEC_md5RSASign: &str = "1.3.14.3.2.25";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWSEC_mdc2: &str = "1.3.14.3.2.19";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWSEC_mdc2RSA: &str = "1.3.14.3.2.14";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWSEC_rsaSign: &str = "1.3.14.3.2.11";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWSEC_rsaXchg: &str = "1.3.14.3.2.22";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWSEC_sha: &str = "1.3.14.3.2.18";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWSEC_sha1: &str = "1.3.14.3.2.26";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWSEC_sha1RSASign: &str = "1.3.14.3.2.29";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWSEC_shaDSA: &str = "1.3.14.3.2.13";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OIWSEC_shaRSA: &str = "1.3.14.3.2.15";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ORGANIZATIONAL_UNIT_NAME: &str = "2.5.4.11";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ORGANIZATION_NAME: &str = "2.5.4.10";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OS_VERSION: &str = "1.3.6.1.4.1.311.13.2.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_OWNER: &str = "2.5.4.32";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PHYSICAL_DELIVERY_OFFICE_NAME: &str = "2.5.4.19";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PIN_RULES_CTL: &str = "1.3.6.1.4.1.311.10.3.32";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PIN_RULES_DOMAIN_NAME: &str = "1.3.6.1.4.1.311.10.3.34";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PIN_RULES_EXT: &str = "1.3.6.1.4.1.311.10.3.33";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PIN_RULES_LOG_END_DATE_EXT: &str = "1.3.6.1.4.1.311.10.3.35";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PIN_RULES_SIGNER: &str = "1.3.6.1.4.1.311.10.3.31";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS: &str = "1.2.840.113549.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_1: &str = "1.2.840.113549.1.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_10: &str = "1.2.840.113549.1.10";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_12: &str = "1.2.840.113549.1.12";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_12_EXTENDED_ATTRIBUTES: &str = "1.3.6.1.4.1.311.17.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_12_FRIENDLY_NAME_ATTR: &str = "1.2.840.113549.1.9.20";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_12_KEY_PROVIDER_NAME_ATTR: &str = "1.3.6.1.4.1.311.17.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_12_LOCAL_KEY_ID: &str = "1.2.840.113549.1.9.21";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_12_PROTECTED_PASSWORD_SECRET_BAG_TYPE_ID: &str = "1.3.6.1.4.1.311.17.4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_12_PbeIds: &str = "1.2.840.113549.1.12.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_12_pbeWithSHA1And128BitRC2: &str = "1.2.840.113549.1.12.1.5";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_12_pbeWithSHA1And128BitRC4: &str = "1.2.840.113549.1.12.1.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_12_pbeWithSHA1And2KeyTripleDES: &str = "1.2.840.113549.1.12.1.4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_12_pbeWithSHA1And3KeyTripleDES: &str = "1.2.840.113549.1.12.1.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_12_pbeWithSHA1And40BitRC2: &str = "1.2.840.113549.1.12.1.6";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_12_pbeWithSHA1And40BitRC4: &str = "1.2.840.113549.1.12.1.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_2: &str = "1.2.840.113549.1.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_3: &str = "1.2.840.113549.1.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_4: &str = "1.2.840.113549.1.4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_5: &str = "1.2.840.113549.1.5";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_5_PBES2: &str = "1.2.840.113549.1.5.13";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_5_PBKDF2: &str = "1.2.840.113549.1.5.12";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_6: &str = "1.2.840.113549.1.6";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_7: &str = "1.2.840.113549.1.7";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_7_DATA: &str = "1.2.840.113549.1.7.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_7_DIGESTED: &str = "1.2.840.113549.1.7.5";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_7_ENCRYPTED: &str = "1.2.840.113549.1.7.6";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_7_ENVELOPED: &str = "1.2.840.113549.1.7.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_7_SIGNED: &str = "1.2.840.113549.1.7.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_7_SIGNEDANDENVELOPED: &str = "1.2.840.113549.1.7.4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_8: &str = "1.2.840.113549.1.8";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_9: &str = "1.2.840.113549.1.9";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_9_CONTENT_TYPE: &str = "1.2.840.113549.1.9.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKCS_9_MESSAGE_DIGEST: &str = "1.2.840.113549.1.9.4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKINIT_KP_KDC: &str = "1.3.6.1.5.2.3.5";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKIX: &str = "1.3.6.1.5.5.7";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKIX_ACC_DESCR: &str = "1.3.6.1.5.5.7.48";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKIX_CA_ISSUERS: &str = "1.3.6.1.5.5.7.48.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKIX_CA_REPOSITORY: &str = "1.3.6.1.5.5.7.48.5";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKIX_KP: &str = "1.3.6.1.5.5.7.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKIX_KP_CLIENT_AUTH: &str = "1.3.6.1.5.5.7.3.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKIX_KP_CODE_SIGNING: &str = "1.3.6.1.5.5.7.3.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKIX_KP_EMAIL_PROTECTION: &str = "1.3.6.1.5.5.7.3.4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKIX_KP_IPSEC_END_SYSTEM: &str = "1.3.6.1.5.5.7.3.5";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKIX_KP_IPSEC_TUNNEL: &str = "1.3.6.1.5.5.7.3.6";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKIX_KP_IPSEC_USER: &str = "1.3.6.1.5.5.7.3.7";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKIX_KP_OCSP_SIGNING: &str = "1.3.6.1.5.5.7.3.9";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKIX_KP_SERVER_AUTH: &str = "1.3.6.1.5.5.7.3.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKIX_KP_TIMESTAMP_SIGNING: &str = "1.3.6.1.5.5.7.3.8";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKIX_NO_SIGNATURE: &str = "1.3.6.1.5.5.7.6.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKIX_OCSP: &str = "1.3.6.1.5.5.7.48.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKIX_OCSP_BASIC_SIGNED_RESPONSE: &str = "1.3.6.1.5.5.7.48.1.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKIX_OCSP_NOCHECK: &str = "1.3.6.1.5.5.7.48.1.5";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKIX_OCSP_NONCE: &str = "1.3.6.1.5.5.7.48.1.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKIX_PE: &str = "1.3.6.1.5.5.7.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKIX_POLICY_QUALIFIER_CPS: &str = "1.3.6.1.5.5.7.2.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKIX_POLICY_QUALIFIER_USERNOTICE: &str = "1.3.6.1.5.5.7.2.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PKIX_TIME_STAMPING: &str = "1.3.6.1.5.5.7.48.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PLATFORM_MANIFEST_BINARY_ID: &str = "1.3.6.1.4.1.311.10.3.28";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_POLICY_CONSTRAINTS: &str = "2.5.29.36";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_POLICY_MAPPINGS: &str = "2.5.29.33";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_POSTAL_ADDRESS: &str = "2.5.4.16";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_POSTAL_CODE: &str = "2.5.4.17";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_POST_OFFICE_BOX: &str = "2.5.4.18";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PREFERRED_DELIVERY_METHOD: &str = "2.5.4.28";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PRESENTATION_ADDRESS: &str = "2.5.4.29";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PRIVATEKEY_USAGE_PERIOD: &str = "2.5.29.16";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PRODUCT_UPDATE: &str = "1.3.6.1.4.1.311.31.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PROTECTED_PROCESS_LIGHT_SIGNER: &str = "1.3.6.1.4.1.311.10.3.22";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_PROTECTED_PROCESS_SIGNER: &str = "1.3.6.1.4.1.311.10.3.24";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_QC_EU_COMPLIANCE: &str = "0.4.0.1862.1.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_QC_SSCD: &str = "0.4.0.1862.1.4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_QC_STATEMENTS_EXT: &str = "1.3.6.1.5.5.7.1.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RDN_DUMMY_SIGNER: &str = "1.3.6.1.4.1.311.21.9";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RDN_TCG_PLATFORM_MANUFACTURER: &str = "2.23.133.2.4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RDN_TCG_PLATFORM_MODEL: &str = "2.23.133.2.5";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RDN_TCG_PLATFORM_VERSION: &str = "2.23.133.2.6";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RDN_TPM_MANUFACTURER: &str = "2.23.133.2.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RDN_TPM_MODEL: &str = "2.23.133.2.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RDN_TPM_VERSION: &str = "2.23.133.2.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_REASON_CODE_HOLD: &str = "2.5.29.23";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_REGISTERED_ADDRESS: &str = "2.5.4.26";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_REMOVE_CERTIFICATE: &str = "1.3.6.1.4.1.311.10.8.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RENEWAL_CERTIFICATE: &str = "1.3.6.1.4.1.311.13.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_REQUEST_CLIENT_INFO: &str = "1.3.6.1.4.1.311.21.20";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_REQUIRE_CERT_CHAIN_POLICY: &str = "1.3.6.1.4.1.311.21.15";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_REVOKED_LIST_SIGNER: &str = "1.3.6.1.4.1.311.10.3.19";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RFC3161_counterSign: &str = "1.3.6.1.4.1.311.3.3.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ROLE_OCCUPANT: &str = "2.5.4.33";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ROOT_LIST_SIGNER: &str = "1.3.6.1.4.1.311.10.3.9";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ROOT_PROGRAM_AUTO_UPDATE_CA_REVOCATION: &str = "1.3.6.1.4.1.311.60.3.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ROOT_PROGRAM_AUTO_UPDATE_END_REVOCATION: &str = "1.3.6.1.4.1.311.60.3.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ROOT_PROGRAM_FLAGS: &str = "1.3.6.1.4.1.311.60.1.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_ROOT_PROGRAM_NO_OCSP_FAILOVER_TO_CRL: &str = "1.3.6.1.4.1.311.60.3.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA: &str = "1.2.840.113549";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSAES_OAEP: &str = "1.2.840.113549.1.1.7";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_DES_EDE3_CBC: &str = "1.2.840.113549.3.7";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_DH: &str = "1.2.840.113549.1.3.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_ENCRYPT: &str = "1.2.840.113549.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_HASH: &str = "1.2.840.113549.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_MD2: &str = "1.2.840.113549.2.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_MD2RSA: &str = "1.2.840.113549.1.1.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_MD4: &str = "1.2.840.113549.2.4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_MD4RSA: &str = "1.2.840.113549.1.1.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_MD5: &str = "1.2.840.113549.2.5";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_MD5RSA: &str = "1.2.840.113549.1.1.4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_MGF1: &str = "1.2.840.113549.1.1.8";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_PSPECIFIED: &str = "1.2.840.113549.1.1.9";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_RC2CBC: &str = "1.2.840.113549.3.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_RC4: &str = "1.2.840.113549.3.4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_RC5_CBCPad: &str = "1.2.840.113549.3.9";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_RSA: &str = "1.2.840.113549.1.1.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_SETOAEP_RSA: &str = "1.2.840.113549.1.1.6";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_SHA1RSA: &str = "1.2.840.113549.1.1.5";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_SHA256RSA: &str = "1.2.840.113549.1.1.11";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_SHA384RSA: &str = "1.2.840.113549.1.1.12";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_SHA512RSA: &str = "1.2.840.113549.1.1.13";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_SMIMECapabilities: &str = "1.2.840.113549.1.9.15";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_SMIMEalg: &str = "1.2.840.113549.1.9.16.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_SMIMEalgCMS3DESwrap: &str = "1.2.840.113549.1.9.16.3.6";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_SMIMEalgCMSRC2wrap: &str = "1.2.840.113549.1.9.16.3.7";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_SMIMEalgESDH: &str = "1.2.840.113549.1.9.16.3.5";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_SSA_PSS: &str = "1.2.840.113549.1.1.10";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_certExtensions: &str = "1.2.840.113549.1.9.14";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_challengePwd: &str = "1.2.840.113549.1.9.7";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_contentType: &str = "1.2.840.113549.1.9.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_counterSign: &str = "1.2.840.113549.1.9.6";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_data: &str = "1.2.840.113549.1.7.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_digestedData: &str = "1.2.840.113549.1.7.5";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_emailAddr: &str = "1.2.840.113549.1.9.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_encryptedData: &str = "1.2.840.113549.1.7.6";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_envelopedData: &str = "1.2.840.113549.1.7.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_extCertAttrs: &str = "1.2.840.113549.1.9.9";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_hashedData: &str = "1.2.840.113549.1.7.5";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_messageDigest: &str = "1.2.840.113549.1.9.4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_preferSignedData: &str = "1.2.840.113549.1.9.15.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_signEnvData: &str = "1.2.840.113549.1.7.4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_signedData: &str = "1.2.840.113549.1.7.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_signingTime: &str = "1.2.840.113549.1.9.5";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_unstructAddr: &str = "1.2.840.113549.1.9.8";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_RSA_unstructName: &str = "1.2.840.113549.1.9.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_SEARCH_GUIDE: &str = "2.5.4.14";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_SEE_ALSO: &str = "2.5.4.34";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_SERIALIZED: &str = "1.3.6.1.4.1.311.10.3.3.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_SERVER_GATED_CRYPTO: &str = "1.3.6.1.4.1.311.10.3.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_SGC_NETSCAPE: &str = "2.16.840.1.113730.4.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_SITE_PIN_RULES_FLAGS_ATTR: &str = "1.3.6.1.4.1.311.10.4.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_SITE_PIN_RULES_INDEX_ATTR: &str = "1.3.6.1.4.1.311.10.4.2";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_SORTED_CTL: &str = "1.3.6.1.4.1.311.10.1.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_STATE_OR_PROVINCE_NAME: &str = "2.5.4.8";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_STREET_ADDRESS: &str = "2.5.4.9";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_SUBJECT_ALT_NAME: &str = "2.5.29.7";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_SUBJECT_ALT_NAME2: &str = "2.5.29.17";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_SUBJECT_DIR_ATTRS: &str = "2.5.29.9";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_SUBJECT_INFO_ACCESS: &str = "1.3.6.1.5.5.7.1.11";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_SUBJECT_KEY_IDENTIFIER: &str = "2.5.29.14";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_SUPPORTED_APPLICATION_CONTEXT: &str = "2.5.4.30";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_SUR_NAME: &str = "2.5.4.4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_SYNC_ROOT_CTL_EXT: &str = "1.3.6.1.4.1.311.10.3.50";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_TELEPHONE_NUMBER: &str = "2.5.4.20";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_TELETEXT_TERMINAL_IDENTIFIER: &str = "2.5.4.22";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_TELEX_NUMBER: &str = "2.5.4.21";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_TIMESTAMP_TOKEN: &str = "1.2.840.113549.1.9.16.1.4";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_TITLE: &str = "2.5.4.12";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_TLS_FEATURES_EXT: &str = "1.3.6.1.5.5.7.1.24";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_USER_CERTIFICATE: &str = "2.5.4.36";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_USER_PASSWORD: &str = "2.5.4.35";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_VERISIGN_BITSTRING_6_13: &str = "2.16.840.1.113733.1.6.13";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_VERISIGN_ISS_STRONG_CRYPTO: &str = "2.16.840.1.113733.1.8.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_VERISIGN_ONSITE_JURISDICTION_HASH: &str = "2.16.840.1.113733.1.6.11";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_VERISIGN_PRIVATE_6_9: &str = "2.16.840.1.113733.1.6.9";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_WHQL_CRYPTO: &str = "1.3.6.1.4.1.311.10.3.5";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_WINDOWS_KITS_SIGNER: &str = "1.3.6.1.4.1.311.10.3.20";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_WINDOWS_RT_SIGNER: &str = "1.3.6.1.4.1.311.10.3.21";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_WINDOWS_SOFTWARE_EXTENSION_SIGNER: &str = "1.3.6.1.4.1.311.10.3.26";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_WINDOWS_STORE_SIGNER: &str = "1.3.6.1.4.1.311.76.3.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_WINDOWS_TCB_SIGNER: &str = "1.3.6.1.4.1.311.10.3.23";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_WINDOWS_THIRD_PARTY_COMPONENT_SIGNER: &str = "1.3.6.1.4.1.311.10.3.25";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_X21_ADDRESS: &str = "2.5.4.24";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_X957: &str = "1.2.840.10040";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_X957_DSA: &str = "1.2.840.10040.4.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_X957_SHA1DSA: &str = "1.2.840.10040.4.3";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szOID_YESNO_TRUST_ATTR: &str = "1.3.6.1.4.1.311.10.4.1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szPRIV_KEY_CACHE_MAX_ITEMS: &str = "PrivKeyCacheMaxItems";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const szPRIV_KEY_CACHE_PURGE_INTERVAL_SECONDS: &str = "PrivKeyCachePurgeIntervalSeconds";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const sz_CERT_STORE_PROV_COLLECTION: &str = "Collection";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const sz_CERT_STORE_PROV_FILENAME: &str = "File";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const sz_CERT_STORE_PROV_FILENAME_W: &str = "File";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const sz_CERT_STORE_PROV_LDAP: &str = "Ldap";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const sz_CERT_STORE_PROV_LDAP_W: &str = "Ldap";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const sz_CERT_STORE_PROV_MEMORY: &str = "Memory";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const sz_CERT_STORE_PROV_PHYSICAL: &str = "Physical";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const sz_CERT_STORE_PROV_PHYSICAL_W: &str = "Physical";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const sz_CERT_STORE_PROV_PKCS12: &str = "PKCS12";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const sz_CERT_STORE_PROV_PKCS7: &str = "PKCS7";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const sz_CERT_STORE_PROV_SERIALIZED: &str = "Serialized";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const sz_CERT_STORE_PROV_SMART_CARD: &str = "SmartCard";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const sz_CERT_STORE_PROV_SMART_CARD_W: &str = "SmartCard";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const sz_CERT_STORE_PROV_SYSTEM: &str = "System";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const sz_CERT_STORE_PROV_SYSTEM_REGISTRY: &str = "SystemRegistry";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const sz_CERT_STORE_PROV_SYSTEM_REGISTRY_W: &str = "SystemRegistry";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const sz_CERT_STORE_PROV_SYSTEM_W: &str = "System";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const wszURI_CANONICALIZATION_C14N: &str = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const wszURI_CANONICALIZATION_C14NC: &str = "http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const wszURI_CANONICALIZATION_EXSLUSIVE_C14N: &str = "http://www.w3.org/2001/10/xml-exc-c14n#";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const wszURI_CANONICALIZATION_EXSLUSIVE_C14NC: &str = "http://www.w3.org/2001/10/xml-exc-c14n#WithComments";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const wszURI_TRANSFORM_XPATH: &str = "http://www.w3.org/TR/1999/REC-xpath-19991116";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const wszURI_XMLNS_DIGSIG_BASE64: &str = "http://www.w3.org/2000/09/xmldsig#base64";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const wszURI_XMLNS_DIGSIG_DSA_SHA1: &str = "http://www.w3.org/2000/09/xmldsig#dsa-sha1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const wszURI_XMLNS_DIGSIG_ECDSA_SHA1: &str = "http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const wszURI_XMLNS_DIGSIG_ECDSA_SHA256: &str = "http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const wszURI_XMLNS_DIGSIG_ECDSA_SHA384: &str = "http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha384";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const wszURI_XMLNS_DIGSIG_ECDSA_SHA512: &str = "http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha512";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const wszURI_XMLNS_DIGSIG_HMAC_SHA1: &str = "http://www.w3.org/2000/09/xmldsig#hmac-sha1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const wszURI_XMLNS_DIGSIG_HMAC_SHA256: &str = "http://www.w3.org/2001/04/xmldsig-more#hmac-sha256";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const wszURI_XMLNS_DIGSIG_HMAC_SHA384: &str = "http://www.w3.org/2001/04/xmldsig-more#hmac-sha384";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const wszURI_XMLNS_DIGSIG_HMAC_SHA512: &str = "http://www.w3.org/2001/04/xmldsig-more#hmac-sha512";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const wszURI_XMLNS_DIGSIG_RSA_SHA1: &str = "http://www.w3.org/2000/09/xmldsig#rsa-sha1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const wszURI_XMLNS_DIGSIG_RSA_SHA256: &str = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const wszURI_XMLNS_DIGSIG_RSA_SHA384: &str = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha384";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const wszURI_XMLNS_DIGSIG_RSA_SHA512: &str = "http://www.w3.org/2001/04/xmldsig-more#rsa-sha512";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const wszURI_XMLNS_DIGSIG_SHA1: &str = "http://www.w3.org/2000/09/xmldsig#sha1";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const wszURI_XMLNS_DIGSIG_SHA256: &str = "http://www.w3.org/2001/04/xmlenc#sha256";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const wszURI_XMLNS_DIGSIG_SHA384: &str = "http://www.w3.org/2001/04/xmldsig-more#sha384";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const wszURI_XMLNS_DIGSIG_SHA512: &str = "http://www.w3.org/2001/04/xmlenc#sha512";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const wszURI_XMLNS_TRANSFORM_BASE64: &str = "http://www.w3.org/2000/09/xmldsig#base64";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const wszURI_XMLNS_TRANSFORM_ENVELOPED: &str = "http://www.w3.org/2000/09/xmldsig#enveloped-signature";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const wszXMLNS_DIGSIG: &str = "http://www.w3.org/2000/09/xmldsig#";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const wszXMLNS_DIGSIG_Id: &str = "Id";
+#[doc = "*Required features: `\"Win32_Security_Cryptography\"`*"]
+pub const wszXMLNS_DIGSIG_SignatureProperties: &str = "http://www.w3.org/2000/09/xmldsig#SignatureProperties";
diff --git a/vendor/windows-sys/src/Windows/Win32/Security/DiagnosticDataQuery/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/DiagnosticDataQuery/mod.rs
new file mode 100644
index 000000000..449f28170
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/Security/DiagnosticDataQuery/mod.rs
@@ -0,0 +1,278 @@
+#[link(name = "windows")]
+extern "system" {
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqCancelDiagnosticRecordOperation(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqCloseSession(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqCreateSession(accesslevel: DdqAccessLevel, hsession: *mut super::HDIAGNOSTIC_DATA_QUERY_SESSION) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqExtractDiagnosticReport(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, reportstoretype: u32, reportkey: ::windows_sys::core::PCWSTR, destinationpath: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqFreeDiagnosticRecordLocaleTags(htagdescription: super::HDIAGNOSTIC_EVENT_TAG_DESCRIPTION) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqFreeDiagnosticRecordPage(hrecord: super::HDIAGNOSTIC_RECORD) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqFreeDiagnosticRecordProducerCategories(hcategorydescription: super::HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqFreeDiagnosticRecordProducers(hproducerdescription: super::HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqFreeDiagnosticReport(hreport: super::HDIAGNOSTIC_REPORT) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqGetDiagnosticDataAccessLevelAllowed(accesslevel: *mut DdqAccessLevel) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn DdqGetDiagnosticRecordAtIndex(hrecord: super::HDIAGNOSTIC_RECORD, index: u32, record: *mut DIAGNOSTIC_DATA_RECORD) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqGetDiagnosticRecordBinaryDistribution(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, producernames: *const ::windows_sys::core::PWSTR, producernamecount: u32, topnbinaries: u32, binarystats: *mut *mut DIAGNOSTIC_DATA_EVENT_BINARY_STATS, statcount: *mut u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqGetDiagnosticRecordCategoryAtIndex(hcategorydescription: super::HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION, index: u32, categorydescription: *mut DIAGNOSTIC_DATA_EVENT_CATEGORY_DESCRIPTION) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqGetDiagnosticRecordCategoryCount(hcategorydescription: super::HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION, categorydescriptioncount: *mut u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqGetDiagnosticRecordCount(hrecord: super::HDIAGNOSTIC_RECORD, recordcount: *mut u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqGetDiagnosticRecordLocaleTagAtIndex(htagdescription: super::HDIAGNOSTIC_EVENT_TAG_DESCRIPTION, index: u32, tagdescription: *mut DIAGNOSTIC_DATA_EVENT_TAG_DESCRIPTION) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqGetDiagnosticRecordLocaleTagCount(htagdescription: super::HDIAGNOSTIC_EVENT_TAG_DESCRIPTION, tagdescriptioncount: *mut u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqGetDiagnosticRecordLocaleTags(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, locale: ::windows_sys::core::PCWSTR, htagdescription: *mut super::HDIAGNOSTIC_EVENT_TAG_DESCRIPTION) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn DdqGetDiagnosticRecordPage(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, searchcriteria: *const DIAGNOSTIC_DATA_SEARCH_CRITERIA, offset: u32, pagerecordcount: u32, baserowid: i64, hrecord: *mut super::HDIAGNOSTIC_RECORD) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqGetDiagnosticRecordPayload(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, rowid: i64, payload: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqGetDiagnosticRecordProducerAtIndex(hproducerdescription: super::HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION, index: u32, producerdescription: *mut DIAGNOSTIC_DATA_EVENT_PRODUCER_DESCRIPTION) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqGetDiagnosticRecordProducerCategories(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, producername: ::windows_sys::core::PCWSTR, hcategorydescription: *mut super::HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqGetDiagnosticRecordProducerCount(hproducerdescription: super::HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION, producerdescriptioncount: *mut u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqGetDiagnosticRecordProducers(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, hproducerdescription: *mut super::HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn DdqGetDiagnosticRecordStats(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, searchcriteria: *const DIAGNOSTIC_DATA_SEARCH_CRITERIA, recordcount: *mut u32, minrowid: *mut i64, maxrowid: *mut i64) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqGetDiagnosticRecordSummary(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, producernames: *const ::windows_sys::core::PWSTR, producernamecount: u32, generalstats: *mut DIAGNOSTIC_DATA_GENERAL_STATS) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqGetDiagnosticRecordTagDistribution(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, producernames: *const ::windows_sys::core::PWSTR, producernamecount: u32, tagstats: *mut *mut DIAGNOSTIC_DATA_EVENT_TAG_STATS, statcount: *mut u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqGetDiagnosticReport(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, reportstoretype: u32, hreport: *mut super::HDIAGNOSTIC_REPORT) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn DdqGetDiagnosticReportAtIndex(hreport: super::HDIAGNOSTIC_REPORT, index: u32, report: *mut DIAGNOSTIC_REPORT_DATA) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqGetDiagnosticReportCount(hreport: super::HDIAGNOSTIC_REPORT, reportcount: *mut u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqGetDiagnosticReportStoreReportCount(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, reportstoretype: u32, reportcount: *mut u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqGetSessionAccessLevel(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, accesslevel: *mut DdqAccessLevel) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqGetTranscriptConfiguration(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, currentconfig: *mut DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn DdqIsDiagnosticRecordSampledIn(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, providergroup: *const ::windows_sys::core::GUID, providerid: *const ::windows_sys::core::GUID, providername: ::windows_sys::core::PCWSTR, eventid: *const u32, eventname: ::windows_sys::core::PCWSTR, eventversion: *const u32, eventkeywords: *const u64, issampledin: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+ pub fn DdqSetTranscriptConfiguration(hsession: super::HDIAGNOSTIC_DATA_QUERY_SESSION, desiredconfig: *const DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION) -> ::windows_sys::core::HRESULT;
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+pub struct DIAGNOSTIC_DATA_EVENT_BINARY_STATS {
+ pub moduleName: ::windows_sys::core::PWSTR,
+ pub friendlyModuleName: ::windows_sys::core::PWSTR,
+ pub eventCount: u32,
+ pub uploadSizeBytes: u64,
+}
+impl ::core::marker::Copy for DIAGNOSTIC_DATA_EVENT_BINARY_STATS {}
+impl ::core::clone::Clone for DIAGNOSTIC_DATA_EVENT_BINARY_STATS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+pub struct DIAGNOSTIC_DATA_EVENT_CATEGORY_DESCRIPTION {
+ pub id: i32,
+ pub name: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for DIAGNOSTIC_DATA_EVENT_CATEGORY_DESCRIPTION {}
+impl ::core::clone::Clone for DIAGNOSTIC_DATA_EVENT_CATEGORY_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+pub struct DIAGNOSTIC_DATA_EVENT_PRODUCER_DESCRIPTION {
+ pub name: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for DIAGNOSTIC_DATA_EVENT_PRODUCER_DESCRIPTION {}
+impl ::core::clone::Clone for DIAGNOSTIC_DATA_EVENT_PRODUCER_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+pub struct DIAGNOSTIC_DATA_EVENT_TAG_DESCRIPTION {
+ pub privacyTag: i32,
+ pub name: ::windows_sys::core::PWSTR,
+ pub description: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for DIAGNOSTIC_DATA_EVENT_TAG_DESCRIPTION {}
+impl ::core::clone::Clone for DIAGNOSTIC_DATA_EVENT_TAG_DESCRIPTION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+pub struct DIAGNOSTIC_DATA_EVENT_TAG_STATS {
+ pub privacyTag: i32,
+ pub eventCount: u32,
+}
+impl ::core::marker::Copy for DIAGNOSTIC_DATA_EVENT_TAG_STATS {}
+impl ::core::clone::Clone for DIAGNOSTIC_DATA_EVENT_TAG_STATS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+pub struct DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION {
+ pub hoursOfHistoryToKeep: u32,
+ pub maxStoreMegabytes: u32,
+ pub requestedMaxStoreMegabytes: u32,
+}
+impl ::core::marker::Copy for DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION {}
+impl ::core::clone::Clone for DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+pub struct DIAGNOSTIC_DATA_GENERAL_STATS {
+ pub optInLevel: u32,
+ pub transcriptSizeBytes: u64,
+ pub oldestEventTimestamp: u64,
+ pub totalEventCountLast24Hours: u32,
+ pub averageDailyEvents: f32,
+}
+impl ::core::marker::Copy for DIAGNOSTIC_DATA_GENERAL_STATS {}
+impl ::core::clone::Clone for DIAGNOSTIC_DATA_GENERAL_STATS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DIAGNOSTIC_DATA_RECORD {
+ pub rowId: i64,
+ pub timestamp: u64,
+ pub eventKeywords: u64,
+ pub fullEventName: ::windows_sys::core::PWSTR,
+ pub providerGroupGuid: ::windows_sys::core::PWSTR,
+ pub producerName: ::windows_sys::core::PWSTR,
+ pub privacyTags: *mut i32,
+ pub privacyTagCount: u32,
+ pub categoryIds: *mut i32,
+ pub categoryIdCount: u32,
+ pub isCoreData: super::super::Foundation::BOOL,
+ pub extra1: ::windows_sys::core::PWSTR,
+ pub extra2: ::windows_sys::core::PWSTR,
+ pub extra3: ::windows_sys::core::PWSTR,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DIAGNOSTIC_DATA_RECORD {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DIAGNOSTIC_DATA_RECORD {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DIAGNOSTIC_DATA_SEARCH_CRITERIA {
+ pub producerNames: *mut ::windows_sys::core::PWSTR,
+ pub producerNameCount: u32,
+ pub textToMatch: ::windows_sys::core::PCWSTR,
+ pub categoryIds: *const i32,
+ pub categoryIdCount: u32,
+ pub privacyTags: *const i32,
+ pub privacyTagCount: u32,
+ pub coreDataOnly: super::super::Foundation::BOOL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DIAGNOSTIC_DATA_SEARCH_CRITERIA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DIAGNOSTIC_DATA_SEARCH_CRITERIA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct DIAGNOSTIC_REPORT_DATA {
+ pub signature: DIAGNOSTIC_REPORT_SIGNATURE,
+ pub bucketId: ::windows_sys::core::GUID,
+ pub reportId: ::windows_sys::core::GUID,
+ pub creationTime: super::super::Foundation::FILETIME,
+ pub sizeInBytes: u64,
+ pub cabId: ::windows_sys::core::PWSTR,
+ pub reportStatus: u32,
+ pub reportIntegratorId: ::windows_sys::core::GUID,
+ pub fileNames: *mut ::windows_sys::core::PWSTR,
+ pub fileCount: u32,
+ pub friendlyEventName: ::windows_sys::core::PWSTR,
+ pub applicationName: ::windows_sys::core::PWSTR,
+ pub applicationPath: ::windows_sys::core::PWSTR,
+ pub description: ::windows_sys::core::PWSTR,
+ pub bucketIdString: ::windows_sys::core::PWSTR,
+ pub legacyBucketId: u64,
+ pub reportKey: ::windows_sys::core::PWSTR,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for DIAGNOSTIC_REPORT_DATA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for DIAGNOSTIC_REPORT_DATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+pub struct DIAGNOSTIC_REPORT_PARAMETER {
+ pub name: [u16; 129],
+ pub value: [u16; 260],
+}
+impl ::core::marker::Copy for DIAGNOSTIC_REPORT_PARAMETER {}
+impl ::core::clone::Clone for DIAGNOSTIC_REPORT_PARAMETER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+pub struct DIAGNOSTIC_REPORT_SIGNATURE {
+ pub eventName: [u16; 65],
+ pub parameters: [DIAGNOSTIC_REPORT_PARAMETER; 10],
+}
+impl ::core::marker::Copy for DIAGNOSTIC_REPORT_SIGNATURE {}
+impl ::core::clone::Clone for DIAGNOSTIC_REPORT_SIGNATURE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+pub type DdqAccessLevel = i32;
+#[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+pub const NoData: DdqAccessLevel = 0i32;
+#[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+pub const CurrentUserData: DdqAccessLevel = 1i32;
+#[doc = "*Required features: `\"Win32_Security_DiagnosticDataQuery\"`*"]
+pub const AllUserData: DdqAccessLevel = 2i32;
diff --git a/vendor/windows-sys/src/Windows/Win32/Security/DirectoryServices/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/DirectoryServices/mod.rs
new file mode 100644
index 000000000..a9a0eb577
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/Security/DirectoryServices/mod.rs
@@ -0,0 +1,47 @@
+#[link(name = "windows")]
+extern "system" {
+ #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authorization_UI\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization_UI"))]
+ pub fn DSCreateISecurityInfoObject(pwszobjectpath: ::windows_sys::core::PCWSTR, pwszobjectclass: ::windows_sys::core::PCWSTR, dwflags: u32, ppsi: *mut super::Authorization::UI::ISecurityInformation, pfnreadsd: PFNREADOBJECTSECURITY, pfnwritesd: PFNWRITEOBJECTSECURITY, lpcontext: super::super::Foundation::LPARAM) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authorization_UI\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization_UI"))]
+ pub fn DSCreateISecurityInfoObjectEx(pwszobjectpath: ::windows_sys::core::PCWSTR, pwszobjectclass: ::windows_sys::core::PCWSTR, pwszserver: ::windows_sys::core::PCWSTR, pwszusername: ::windows_sys::core::PCWSTR, pwszpassword: ::windows_sys::core::PCWSTR, dwflags: u32, ppsi: *mut super::Authorization::UI::ISecurityInformation, pfnreadsd: PFNREADOBJECTSECURITY, pfnwritesd: PFNWRITEOBJECTSECURITY, lpcontext: super::super::Foundation::LPARAM) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))]
+ pub fn DSCreateSecurityPage(pwszobjectpath: ::windows_sys::core::PCWSTR, pwszobjectclass: ::windows_sys::core::PCWSTR, dwflags: u32, phpage: *mut super::super::UI::Controls::HPROPSHEETPAGE, pfnreadsd: PFNREADOBJECTSECURITY, pfnwritesd: PFNWRITEOBJECTSECURITY, lpcontext: super::super::Foundation::LPARAM) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn DSEditSecurity(hwndowner: super::super::Foundation::HWND, pwszobjectpath: ::windows_sys::core::PCWSTR, pwszobjectclass: ::windows_sys::core::PCWSTR, dwflags: u32, pwszcaption: ::windows_sys::core::PCWSTR, pfnreadsd: PFNREADOBJECTSECURITY, pfnwritesd: PFNWRITEOBJECTSECURITY, lpcontext: super::super::Foundation::LPARAM) -> ::windows_sys::core::HRESULT;
+}
+#[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`*"]
+pub const DSSI_IS_ROOT: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`*"]
+pub const DSSI_NO_ACCESS_CHECK: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`*"]
+pub const DSSI_NO_EDIT_OWNER: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`*"]
+pub const DSSI_NO_EDIT_SACL: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`*"]
+pub const DSSI_NO_FILTER: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`*"]
+pub const DSSI_NO_READONLY_MESSAGE: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`*"]
+pub const DSSI_READ_ONLY: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authorization_UI\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization_UI"))]
+pub type PFNDSCREATEISECINFO = ::core::option::Option<unsafe extern "system" fn(param0: ::windows_sys::core::PCWSTR, param1: ::windows_sys::core::PCWSTR, param2: u32, param3: *mut super::Authorization::UI::ISecurityInformation, param4: PFNREADOBJECTSECURITY, param5: PFNWRITEOBJECTSECURITY, param6: super::super::Foundation::LPARAM) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authorization_UI\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization_UI"))]
+pub type PFNDSCREATEISECINFOEX = ::core::option::Option<unsafe extern "system" fn(param0: ::windows_sys::core::PCWSTR, param1: ::windows_sys::core::PCWSTR, param2: ::windows_sys::core::PCWSTR, param3: ::windows_sys::core::PCWSTR, param4: ::windows_sys::core::PCWSTR, param5: u32, param6: *mut super::Authorization::UI::ISecurityInformation, param7: PFNREADOBJECTSECURITY, param8: PFNWRITEOBJECTSECURITY, param9: super::super::Foundation::LPARAM) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))]
+pub type PFNDSCREATESECPAGE = ::core::option::Option<unsafe extern "system" fn(param0: ::windows_sys::core::PCWSTR, param1: ::windows_sys::core::PCWSTR, param2: u32, param3: *mut super::super::UI::Controls::HPROPSHEETPAGE, param4: PFNREADOBJECTSECURITY, param5: PFNWRITEOBJECTSECURITY, param6: super::super::Foundation::LPARAM) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFNDSEDITSECURITY = ::core::option::Option<unsafe extern "system" fn(param0: super::super::Foundation::HWND, param1: ::windows_sys::core::PCWSTR, param2: ::windows_sys::core::PCWSTR, param3: u32, param4: ::windows_sys::core::PCWSTR, param5: PFNREADOBJECTSECURITY, param6: PFNWRITEOBJECTSECURITY, param7: super::super::Foundation::LPARAM) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFNREADOBJECTSECURITY = ::core::option::Option<unsafe extern "system" fn(param0: ::windows_sys::core::PCWSTR, param1: u32, param2: *mut super::PSECURITY_DESCRIPTOR, param3: super::super::Foundation::LPARAM) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_DirectoryServices\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFNWRITEOBJECTSECURITY = ::core::option::Option<unsafe extern "system" fn(param0: ::windows_sys::core::PCWSTR, param1: u32, param2: super::PSECURITY_DESCRIPTOR, param3: super::super::Foundation::LPARAM) -> ::windows_sys::core::HRESULT>;
diff --git a/vendor/windows-sys/src/Windows/Win32/Security/EnterpriseData/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/EnterpriseData/mod.rs
new file mode 100644
index 000000000..0cc73d0be
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/Security/EnterpriseData/mod.rs
@@ -0,0 +1,87 @@
+#[link(name = "windows")]
+extern "system" {
+ #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"]
+ pub fn ProtectFileToEnterpriseIdentity(fileorfolderpath: ::windows_sys::core::PCWSTR, identity: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SrpCloseThreadNetworkContext(threadnetworkcontext: *mut HTHREAD_NETWORK_CONTEXT) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SrpCreateThreadNetworkContext(enterpriseid: ::windows_sys::core::PCWSTR, threadnetworkcontext: *mut HTHREAD_NETWORK_CONTEXT) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"]
+ pub fn SrpDisablePermissiveModeFileEncryption() -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_Packaging_Appx\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Appx"))]
+ pub fn SrpDoesPolicyAllowAppExecution(packageid: *const super::super::Storage::Packaging::Appx::PACKAGE_ID, isallowed: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"]
+ pub fn SrpEnablePermissiveModeFileEncryption(enterpriseid: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SrpGetEnterpriseIds(tokenhandle: super::super::Foundation::HANDLE, numberofbytes: *mut u32, enterpriseids: *mut ::windows_sys::core::PWSTR, enterpriseidcount: *mut u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SrpGetEnterprisePolicy(tokenhandle: super::super::Foundation::HANDLE, policyflags: *mut ENTERPRISE_DATA_POLICIES) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"]
+ pub fn SrpHostingInitialize(version: SRPHOSTING_VERSION, r#type: SRPHOSTING_TYPE, pvdata: *const ::core::ffi::c_void, cbdata: u32) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"]
+ pub fn SrpHostingTerminate(r#type: SRPHOSTING_TYPE);
+ #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SrpIsTokenService(tokenhandle: super::super::Foundation::HANDLE, istokenservice: *mut u8) -> super::super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SrpSetTokenEnterpriseId(tokenhandle: super::super::Foundation::HANDLE, enterpriseid: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"]
+ pub fn UnprotectFile(fileorfolderpath: ::windows_sys::core::PCWSTR, options: *const FILE_UNPROTECT_OPTIONS) -> ::windows_sys::core::HRESULT;
+}
+#[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"]
+pub type ENTERPRISE_DATA_POLICIES = u32;
+#[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"]
+pub const ENTERPRISE_POLICY_NONE: ENTERPRISE_DATA_POLICIES = 0u32;
+#[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"]
+pub const ENTERPRISE_POLICY_ALLOWED: ENTERPRISE_DATA_POLICIES = 1u32;
+#[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"]
+pub const ENTERPRISE_POLICY_ENLIGHTENED: ENTERPRISE_DATA_POLICIES = 2u32;
+#[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"]
+pub const ENTERPRISE_POLICY_EXEMPT: ENTERPRISE_DATA_POLICIES = 4u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"]
+pub struct FILE_UNPROTECT_OPTIONS {
+ pub audit: bool,
+}
+impl ::core::marker::Copy for FILE_UNPROTECT_OPTIONS {}
+impl ::core::clone::Clone for FILE_UNPROTECT_OPTIONS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct HTHREAD_NETWORK_CONTEXT {
+ pub ThreadId: u32,
+ pub ThreadContext: super::super::Foundation::HANDLE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for HTHREAD_NETWORK_CONTEXT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for HTHREAD_NETWORK_CONTEXT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type IProtectionPolicyManagerInterop = *mut ::core::ffi::c_void;
+pub type IProtectionPolicyManagerInterop2 = *mut ::core::ffi::c_void;
+pub type IProtectionPolicyManagerInterop3 = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"]
+pub type SRPHOSTING_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"]
+pub const SRPHOSTING_TYPE_NONE: SRPHOSTING_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"]
+pub const SRPHOSTING_TYPE_WINHTTP: SRPHOSTING_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"]
+pub const SRPHOSTING_TYPE_WININET: SRPHOSTING_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"]
+pub type SRPHOSTING_VERSION = i32;
+#[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`*"]
+pub const SRPHOSTING_VERSION1: SRPHOSTING_VERSION = 1i32;
diff --git a/vendor/windows-sys/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs
new file mode 100644
index 000000000..fd2383449
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs
@@ -0,0 +1,1853 @@
+#[link(name = "windows")]
+extern "system" {
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn EapHostPeerBeginSession(dwflags: u32, eaptype: EAP_METHOD_TYPE, pattributearray: *const EAP_ATTRIBUTES, htokenimpersonateuser: super::super::Foundation::HANDLE, dwsizeofconnectiondata: u32, pconnectiondata: *const u8, dwsizeofuserdata: u32, puserdata: *const u8, dwmaxsendpacketsize: u32, pconnectionid: *const ::windows_sys::core::GUID, func: NotificationHandler, pcontextdata: *mut ::core::ffi::c_void, psessionid: *mut u32, ppeaperror: *mut *mut EAP_ERROR) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+ pub fn EapHostPeerClearConnection(pconnectionid: *mut ::windows_sys::core::GUID, ppeaperror: *mut *mut EAP_ERROR) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"]
+ #[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com"))]
+ pub fn EapHostPeerConfigBlob2Xml(dwflags: u32, eapmethodtype: EAP_METHOD_TYPE, dwsizeofconfigin: u32, pconfigin: *const u8, ppconfigdoc: *mut super::super::Data::Xml::MsXml::IXMLDOMDocument2, ppeaperror: *mut *mut EAP_ERROR) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"]
+ #[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com"))]
+ pub fn EapHostPeerConfigXml2Blob(dwflags: u32, pconfigdoc: super::super::Data::Xml::MsXml::IXMLDOMNode, pdwsizeofconfigout: *mut u32, ppconfigout: *mut *mut u8, peapmethodtype: *mut EAP_METHOD_TYPE, ppeaperror: *mut *mut EAP_ERROR) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`*"]
+ #[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com"))]
+ pub fn EapHostPeerCredentialsXml2Blob(dwflags: u32, pcredentialsdoc: super::super::Data::Xml::MsXml::IXMLDOMNode, dwsizeofconfigin: u32, pconfigin: *const u8, pdwsizeofcredentialsout: *mut u32, ppcredentialsout: *mut *mut u8, peapmethodtype: *mut EAP_METHOD_TYPE, ppeaperror: *mut *mut EAP_ERROR) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+ pub fn EapHostPeerEndSession(sessionhandle: u32, ppeaperror: *mut *mut EAP_ERROR) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+ pub fn EapHostPeerFreeEapError(peaperror: *mut EAP_ERROR);
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+ pub fn EapHostPeerFreeErrorMemory(peaperror: *mut EAP_ERROR);
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+ pub fn EapHostPeerFreeMemory(pdata: *mut u8);
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+ pub fn EapHostPeerFreeRuntimeMemory(pdata: *mut u8);
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+ pub fn EapHostPeerGetAuthStatus(sessionhandle: u32, authparam: EapHostPeerAuthParams, pcbauthdata: *mut u32, ppauthdata: *mut *mut u8, ppeaperror: *mut *mut EAP_ERROR) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn EapHostPeerGetDataToUnplumbCredentials(pconnectionidthatlastsavedcreds: *mut ::windows_sys::core::GUID, phcredentialimpersonationtoken: *mut isize, sessionhandle: u32, ppeaperror: *mut *mut EAP_ERROR, fsavetocredman: *mut super::super::Foundation::BOOL) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+ pub fn EapHostPeerGetEncryptedPassword(dwsizeofpassword: u32, szpassword: ::windows_sys::core::PCWSTR, ppszencpassword: *mut ::windows_sys::core::PWSTR) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn EapHostPeerGetIdentity(dwversion: u32, dwflags: u32, eapmethodtype: EAP_METHOD_TYPE, dwsizeofconnectiondata: u32, pconnectiondata: *const u8, dwsizeofuserdata: u32, puserdata: *const u8, htokenimpersonateuser: super::super::Foundation::HANDLE, pfinvokeui: *mut super::super::Foundation::BOOL, pdwsizeofuserdataout: *mut u32, ppuserdataout: *mut *mut u8, ppwszidentity: *mut ::windows_sys::core::PWSTR, ppeaperror: *mut *mut EAP_ERROR, ppvreserved: *mut *mut u8) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn EapHostPeerGetMethodProperties(dwversion: u32, dwflags: u32, eapmethodtype: EAP_METHOD_TYPE, huserimpersonationtoken: super::super::Foundation::HANDLE, dweapconndatasize: u32, pbeapconndata: *const u8, dwuserdatasize: u32, pbuserdata: *const u8, pmethodpropertyarray: *mut EAP_METHOD_PROPERTY_ARRAY, ppeaperror: *mut *mut EAP_ERROR) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+ pub fn EapHostPeerGetMethods(peapmethodinfoarray: *mut EAP_METHOD_INFO_ARRAY, ppeaperror: *mut *mut EAP_ERROR) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+ pub fn EapHostPeerGetResponseAttributes(sessionhandle: u32, pattribs: *mut EAP_ATTRIBUTES, ppeaperror: *mut *mut EAP_ERROR) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn EapHostPeerGetResult(sessionhandle: u32, reason: EapHostPeerMethodResultReason, ppresult: *mut EapHostPeerMethodResult, ppeaperror: *mut *mut EAP_ERROR) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+ pub fn EapHostPeerGetSendPacket(sessionhandle: u32, pcbsendpacket: *mut u32, ppsendpacket: *mut *mut u8, ppeaperror: *mut *mut EAP_ERROR) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+ pub fn EapHostPeerGetUIContext(sessionhandle: u32, pdwsizeofuicontextdata: *mut u32, ppuicontextdata: *mut *mut u8, ppeaperror: *mut *mut EAP_ERROR) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+ pub fn EapHostPeerInitialize() -> u32;
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn EapHostPeerInvokeConfigUI(hwndparent: super::super::Foundation::HWND, dwflags: u32, eapmethodtype: EAP_METHOD_TYPE, dwsizeofconfigin: u32, pconfigin: *const u8, pdwsizeofconfigout: *mut u32, ppconfigout: *mut *mut u8, ppeaperror: *mut *mut EAP_ERROR) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn EapHostPeerInvokeIdentityUI(dwversion: u32, eapmethodtype: EAP_METHOD_TYPE, dwflags: u32, hwndparent: super::super::Foundation::HWND, dwsizeofconnectiondata: u32, pconnectiondata: *const u8, dwsizeofuserdata: u32, puserdata: *const u8, pdwsizeofuserdataout: *mut u32, ppuserdataout: *mut *mut u8, ppwszidentity: *mut ::windows_sys::core::PWSTR, ppeaperror: *mut *mut EAP_ERROR, ppvreserved: *mut *mut ::core::ffi::c_void) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn EapHostPeerInvokeInteractiveUI(hwndparent: super::super::Foundation::HWND, dwsizeofuicontextdata: u32, puicontextdata: *const u8, pdwsizeofdatafrominteractiveui: *mut u32, ppdatafrominteractiveui: *mut *mut u8, ppeaperror: *mut *mut EAP_ERROR) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+ pub fn EapHostPeerProcessReceivedPacket(sessionhandle: u32, cbreceivepacket: u32, preceivepacket: *const u8, peapoutput: *mut EapHostPeerResponseAction, ppeaperror: *mut *mut EAP_ERROR) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn EapHostPeerQueryCredentialInputFields(huserimpersonationtoken: super::super::Foundation::HANDLE, eapmethodtype: EAP_METHOD_TYPE, dwflags: u32, dweapconndatasize: u32, pbeapconndata: *const u8, peapconfiginputfieldarray: *mut EAP_CONFIG_INPUT_FIELD_ARRAY, ppeaperror: *mut *mut EAP_ERROR) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+ pub fn EapHostPeerQueryInteractiveUIInputFields(dwversion: u32, dwflags: u32, dwsizeofuicontextdata: u32, puicontextdata: *const u8, peapinteractiveuidata: *mut EAP_INTERACTIVE_UI_DATA, ppeaperror: *mut *mut EAP_ERROR, ppvreserved: *mut *mut ::core::ffi::c_void) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+ pub fn EapHostPeerQueryUIBlobFromInteractiveUIInputFields(dwversion: u32, dwflags: u32, dwsizeofuicontextdata: u32, puicontextdata: *const u8, peapinteractiveuidata: *const EAP_INTERACTIVE_UI_DATA, pdwsizeofdatafrominteractiveui: *mut u32, ppdatafrominteractiveui: *mut *mut u8, ppeaperror: *mut *mut EAP_ERROR, ppvreserved: *mut *mut ::core::ffi::c_void) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn EapHostPeerQueryUserBlobFromCredentialInputFields(huserimpersonationtoken: super::super::Foundation::HANDLE, eapmethodtype: EAP_METHOD_TYPE, dwflags: u32, dweapconndatasize: u32, pbeapconndata: *const u8, peapconfiginputfieldarray: *const EAP_CONFIG_INPUT_FIELD_ARRAY, pdwuserblobsize: *mut u32, ppbuserblob: *mut *mut u8, ppeaperror: *mut *mut EAP_ERROR) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+ pub fn EapHostPeerSetResponseAttributes(sessionhandle: u32, pattribs: *const EAP_ATTRIBUTES, peapoutput: *mut EapHostPeerResponseAction, ppeaperror: *mut *mut EAP_ERROR) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+ pub fn EapHostPeerSetUIContext(sessionhandle: u32, dwsizeofuicontextdata: u32, puicontextdata: *const u8, peapoutput: *mut EapHostPeerResponseAction, ppeaperror: *mut *mut EAP_ERROR) -> u32;
+ #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+ pub fn EapHostPeerUninitialize();
+}
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const CERTIFICATE_HASH_LENGTH: u32 = 20u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAPCODE_Failure: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAPCODE_Request: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAPCODE_Response: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAPCODE_Success: u32 = 3u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct EAPHOST_AUTH_INFO {
+ pub status: EAPHOST_AUTH_STATUS,
+ pub dwErrorCode: u32,
+ pub dwReasonCode: u32,
+}
+impl ::core::marker::Copy for EAPHOST_AUTH_INFO {}
+impl ::core::clone::Clone for EAPHOST_AUTH_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub type EAPHOST_AUTH_STATUS = i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapHostInvalidSession: EAPHOST_AUTH_STATUS = 0i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapHostAuthNotStarted: EAPHOST_AUTH_STATUS = 1i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapHostAuthIdentityExchange: EAPHOST_AUTH_STATUS = 2i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapHostAuthNegotiatingType: EAPHOST_AUTH_STATUS = 3i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapHostAuthInProgress: EAPHOST_AUTH_STATUS = 4i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapHostAuthSucceeded: EAPHOST_AUTH_STATUS = 5i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapHostAuthFailed: EAPHOST_AUTH_STATUS = 6i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct EAPHOST_IDENTITY_UI_PARAMS {
+ pub eapMethodType: EAP_METHOD_TYPE,
+ pub dwFlags: u32,
+ pub dwSizeofConnectionData: u32,
+ pub pConnectionData: *mut u8,
+ pub dwSizeofUserData: u32,
+ pub pUserData: *mut u8,
+ pub dwSizeofUserDataOut: u32,
+ pub pUserDataOut: *mut u8,
+ pub pwszIdentity: ::windows_sys::core::PWSTR,
+ pub dwError: u32,
+ pub pEapError: *mut EAP_ERROR,
+}
+impl ::core::marker::Copy for EAPHOST_IDENTITY_UI_PARAMS {}
+impl ::core::clone::Clone for EAPHOST_IDENTITY_UI_PARAMS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct EAPHOST_INTERACTIVE_UI_PARAMS {
+ pub dwSizeofContextData: u32,
+ pub pContextData: *mut u8,
+ pub dwSizeofInteractiveUIData: u32,
+ pub pInteractiveUIData: *mut u8,
+ pub dwError: u32,
+ pub pEapError: *mut EAP_ERROR,
+}
+impl ::core::marker::Copy for EAPHOST_INTERACTIVE_UI_PARAMS {}
+impl ::core::clone::Clone for EAPHOST_INTERACTIVE_UI_PARAMS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAPHOST_METHOD_API_VERSION: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAPHOST_PEER_API_VERSION: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct EAP_ATTRIBUTE {
+ pub eaType: EAP_ATTRIBUTE_TYPE,
+ pub dwLength: u32,
+ pub pValue: *mut u8,
+}
+impl ::core::marker::Copy for EAP_ATTRIBUTE {}
+impl ::core::clone::Clone for EAP_ATTRIBUTE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct EAP_ATTRIBUTES {
+ pub dwNumberOfAttributes: u32,
+ pub pAttribs: *mut EAP_ATTRIBUTE,
+}
+impl ::core::marker::Copy for EAP_ATTRIBUTES {}
+impl ::core::clone::Clone for EAP_ATTRIBUTES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub type EAP_ATTRIBUTE_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatMinimum: EAP_ATTRIBUTE_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatUserName: EAP_ATTRIBUTE_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatUserPassword: EAP_ATTRIBUTE_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatMD5CHAPPassword: EAP_ATTRIBUTE_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatNASIPAddress: EAP_ATTRIBUTE_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatNASPort: EAP_ATTRIBUTE_TYPE = 5i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatServiceType: EAP_ATTRIBUTE_TYPE = 6i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatFramedProtocol: EAP_ATTRIBUTE_TYPE = 7i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatFramedIPAddress: EAP_ATTRIBUTE_TYPE = 8i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatFramedIPNetmask: EAP_ATTRIBUTE_TYPE = 9i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatFramedRouting: EAP_ATTRIBUTE_TYPE = 10i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatFilterId: EAP_ATTRIBUTE_TYPE = 11i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatFramedMTU: EAP_ATTRIBUTE_TYPE = 12i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatFramedCompression: EAP_ATTRIBUTE_TYPE = 13i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatLoginIPHost: EAP_ATTRIBUTE_TYPE = 14i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatLoginService: EAP_ATTRIBUTE_TYPE = 15i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatLoginTCPPort: EAP_ATTRIBUTE_TYPE = 16i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatUnassigned17: EAP_ATTRIBUTE_TYPE = 17i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatReplyMessage: EAP_ATTRIBUTE_TYPE = 18i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatCallbackNumber: EAP_ATTRIBUTE_TYPE = 19i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatCallbackId: EAP_ATTRIBUTE_TYPE = 20i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatUnassigned21: EAP_ATTRIBUTE_TYPE = 21i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatFramedRoute: EAP_ATTRIBUTE_TYPE = 22i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatFramedIPXNetwork: EAP_ATTRIBUTE_TYPE = 23i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatState: EAP_ATTRIBUTE_TYPE = 24i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatClass: EAP_ATTRIBUTE_TYPE = 25i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatVendorSpecific: EAP_ATTRIBUTE_TYPE = 26i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatSessionTimeout: EAP_ATTRIBUTE_TYPE = 27i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatIdleTimeout: EAP_ATTRIBUTE_TYPE = 28i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatTerminationAction: EAP_ATTRIBUTE_TYPE = 29i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatCalledStationId: EAP_ATTRIBUTE_TYPE = 30i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatCallingStationId: EAP_ATTRIBUTE_TYPE = 31i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatNASIdentifier: EAP_ATTRIBUTE_TYPE = 32i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatProxyState: EAP_ATTRIBUTE_TYPE = 33i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatLoginLATService: EAP_ATTRIBUTE_TYPE = 34i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatLoginLATNode: EAP_ATTRIBUTE_TYPE = 35i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatLoginLATGroup: EAP_ATTRIBUTE_TYPE = 36i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatFramedAppleTalkLink: EAP_ATTRIBUTE_TYPE = 37i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatFramedAppleTalkNetwork: EAP_ATTRIBUTE_TYPE = 38i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatFramedAppleTalkZone: EAP_ATTRIBUTE_TYPE = 39i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatAcctStatusType: EAP_ATTRIBUTE_TYPE = 40i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatAcctDelayTime: EAP_ATTRIBUTE_TYPE = 41i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatAcctInputOctets: EAP_ATTRIBUTE_TYPE = 42i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatAcctOutputOctets: EAP_ATTRIBUTE_TYPE = 43i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatAcctSessionId: EAP_ATTRIBUTE_TYPE = 44i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatAcctAuthentic: EAP_ATTRIBUTE_TYPE = 45i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatAcctSessionTime: EAP_ATTRIBUTE_TYPE = 46i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatAcctInputPackets: EAP_ATTRIBUTE_TYPE = 47i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatAcctOutputPackets: EAP_ATTRIBUTE_TYPE = 48i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatAcctTerminateCause: EAP_ATTRIBUTE_TYPE = 49i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatAcctMultiSessionId: EAP_ATTRIBUTE_TYPE = 50i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatAcctLinkCount: EAP_ATTRIBUTE_TYPE = 51i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatAcctEventTimeStamp: EAP_ATTRIBUTE_TYPE = 55i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatMD5CHAPChallenge: EAP_ATTRIBUTE_TYPE = 60i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatNASPortType: EAP_ATTRIBUTE_TYPE = 61i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatPortLimit: EAP_ATTRIBUTE_TYPE = 62i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatLoginLATPort: EAP_ATTRIBUTE_TYPE = 63i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatTunnelType: EAP_ATTRIBUTE_TYPE = 64i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatTunnelMediumType: EAP_ATTRIBUTE_TYPE = 65i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatTunnelClientEndpoint: EAP_ATTRIBUTE_TYPE = 66i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatTunnelServerEndpoint: EAP_ATTRIBUTE_TYPE = 67i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatARAPPassword: EAP_ATTRIBUTE_TYPE = 70i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatARAPFeatures: EAP_ATTRIBUTE_TYPE = 71i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatARAPZoneAccess: EAP_ATTRIBUTE_TYPE = 72i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatARAPSecurity: EAP_ATTRIBUTE_TYPE = 73i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatARAPSecurityData: EAP_ATTRIBUTE_TYPE = 74i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatPasswordRetry: EAP_ATTRIBUTE_TYPE = 75i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatPrompt: EAP_ATTRIBUTE_TYPE = 76i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatConnectInfo: EAP_ATTRIBUTE_TYPE = 77i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatConfigurationToken: EAP_ATTRIBUTE_TYPE = 78i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatEAPMessage: EAP_ATTRIBUTE_TYPE = 79i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatSignature: EAP_ATTRIBUTE_TYPE = 80i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatARAPChallengeResponse: EAP_ATTRIBUTE_TYPE = 84i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatAcctInterimInterval: EAP_ATTRIBUTE_TYPE = 85i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatNASIPv6Address: EAP_ATTRIBUTE_TYPE = 95i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatFramedInterfaceId: EAP_ATTRIBUTE_TYPE = 96i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatFramedIPv6Prefix: EAP_ATTRIBUTE_TYPE = 97i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatLoginIPv6Host: EAP_ATTRIBUTE_TYPE = 98i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatFramedIPv6Route: EAP_ATTRIBUTE_TYPE = 99i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatFramedIPv6Pool: EAP_ATTRIBUTE_TYPE = 100i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatARAPGuestLogon: EAP_ATTRIBUTE_TYPE = 8096i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatCertificateOID: EAP_ATTRIBUTE_TYPE = 8097i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatEAPConfiguration: EAP_ATTRIBUTE_TYPE = 8098i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatPEAPEmbeddedEAPTypeId: EAP_ATTRIBUTE_TYPE = 8099i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatPEAPFastRoamedSession: EAP_ATTRIBUTE_TYPE = 8100i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatFastRoamedSession: EAP_ATTRIBUTE_TYPE = 8100i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatEAPTLV: EAP_ATTRIBUTE_TYPE = 8102i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatCredentialsChanged: EAP_ATTRIBUTE_TYPE = 8103i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatInnerEapMethodType: EAP_ATTRIBUTE_TYPE = 8104i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatClearTextPassword: EAP_ATTRIBUTE_TYPE = 8107i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatQuarantineSoH: EAP_ATTRIBUTE_TYPE = 8150i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatCertificateThumbprint: EAP_ATTRIBUTE_TYPE = 8250i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatPeerId: EAP_ATTRIBUTE_TYPE = 9000i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatServerId: EAP_ATTRIBUTE_TYPE = 9001i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatMethodId: EAP_ATTRIBUTE_TYPE = 9002i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatEMSK: EAP_ATTRIBUTE_TYPE = 9003i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatSessionId: EAP_ATTRIBUTE_TYPE = 9004i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eatReserved: EAP_ATTRIBUTE_TYPE = -1i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct EAP_AUTHENTICATOR_METHOD_ROUTINES {
+ pub dwSizeInBytes: u32,
+ pub pEapType: *mut EAP_METHOD_TYPE,
+ pub EapMethodAuthenticatorInitialize: isize,
+ pub EapMethodAuthenticatorBeginSession: isize,
+ pub EapMethodAuthenticatorUpdateInnerMethodParams: isize,
+ pub EapMethodAuthenticatorReceivePacket: isize,
+ pub EapMethodAuthenticatorSendPacket: isize,
+ pub EapMethodAuthenticatorGetAttributes: isize,
+ pub EapMethodAuthenticatorSetAttributes: isize,
+ pub EapMethodAuthenticatorGetResult: isize,
+ pub EapMethodAuthenticatorEndSession: isize,
+ pub EapMethodAuthenticatorShutdown: isize,
+}
+impl ::core::marker::Copy for EAP_AUTHENTICATOR_METHOD_ROUTINES {}
+impl ::core::clone::Clone for EAP_AUTHENTICATOR_METHOD_ROUTINES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub type EAP_AUTHENTICATOR_SEND_TIMEOUT = i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_AUTHENTICATOR_SEND_TIMEOUT_NONE: EAP_AUTHENTICATOR_SEND_TIMEOUT = 0i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_AUTHENTICATOR_SEND_TIMEOUT_BASIC: EAP_AUTHENTICATOR_SEND_TIMEOUT = 1i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_AUTHENTICATOR_SEND_TIMEOUT_INTERACTIVE: EAP_AUTHENTICATOR_SEND_TIMEOUT = 2i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_AUTHENTICATOR_VALUENAME_CONFIGUI: &str = "AuthenticatorConfigUIPath";
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_AUTHENTICATOR_VALUENAME_DLL_PATH: &str = "AuthenticatorDllPath";
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_AUTHENTICATOR_VALUENAME_FRIENDLY_NAME: &str = "AuthenticatorFriendlyName";
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_AUTHENTICATOR_VALUENAME_PROPERTIES: &str = "Properties";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct EAP_CONFIG_INPUT_FIELD_ARRAY {
+ pub dwVersion: u32,
+ pub dwNumberOfFields: u32,
+ pub pFields: *mut EAP_CONFIG_INPUT_FIELD_DATA,
+}
+impl ::core::marker::Copy for EAP_CONFIG_INPUT_FIELD_ARRAY {}
+impl ::core::clone::Clone for EAP_CONFIG_INPUT_FIELD_ARRAY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct EAP_CONFIG_INPUT_FIELD_DATA {
+ pub dwSize: u32,
+ pub Type: EAP_CONFIG_INPUT_FIELD_TYPE,
+ pub dwFlagProps: u32,
+ pub pwszLabel: ::windows_sys::core::PWSTR,
+ pub pwszData: ::windows_sys::core::PWSTR,
+ pub dwMinDataLength: u32,
+ pub dwMaxDataLength: u32,
+}
+impl ::core::marker::Copy for EAP_CONFIG_INPUT_FIELD_DATA {}
+impl ::core::clone::Clone for EAP_CONFIG_INPUT_FIELD_DATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_CONFIG_INPUT_FIELD_PROPS_DEFAULT: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_CONFIG_INPUT_FIELD_PROPS_NON_DISPLAYABLE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_CONFIG_INPUT_FIELD_PROPS_NON_PERSIST: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub type EAP_CONFIG_INPUT_FIELD_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapConfigInputUsername: EAP_CONFIG_INPUT_FIELD_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapConfigInputPassword: EAP_CONFIG_INPUT_FIELD_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapConfigInputNetworkUsername: EAP_CONFIG_INPUT_FIELD_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapConfigInputNetworkPassword: EAP_CONFIG_INPUT_FIELD_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapConfigInputPin: EAP_CONFIG_INPUT_FIELD_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapConfigInputPSK: EAP_CONFIG_INPUT_FIELD_TYPE = 5i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapConfigInputEdit: EAP_CONFIG_INPUT_FIELD_TYPE = 6i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapConfigSmartCardUsername: EAP_CONFIG_INPUT_FIELD_TYPE = 7i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapConfigSmartCardError: EAP_CONFIG_INPUT_FIELD_TYPE = 8i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_CREDENTIAL_VERSION: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct EAP_CRED_EXPIRY_REQ {
+ pub curCreds: EAP_CONFIG_INPUT_FIELD_ARRAY,
+ pub newCreds: EAP_CONFIG_INPUT_FIELD_ARRAY,
+}
+impl ::core::marker::Copy for EAP_CRED_EXPIRY_REQ {}
+impl ::core::clone::Clone for EAP_CRED_EXPIRY_REQ {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct EAP_ERROR {
+ pub dwWinError: u32,
+ pub r#type: EAP_METHOD_TYPE,
+ pub dwReasonCode: u32,
+ pub rootCauseGuid: ::windows_sys::core::GUID,
+ pub repairGuid: ::windows_sys::core::GUID,
+ pub helpLinkGuid: ::windows_sys::core::GUID,
+ pub pRootCauseString: ::windows_sys::core::PWSTR,
+ pub pRepairString: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for EAP_ERROR {}
+impl ::core::clone::Clone for EAP_ERROR {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_AUTHENTICATION_FAILED: u32 = 2151809045u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_CERT_STORE_INACCESSIBLE: u32 = 2151809040u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_EAPHOST_EAPQEC_INACCESSIBLE: u32 = 2151809043u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_EAPHOST_FIRST: i32 = -2143158272i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_EAPHOST_IDENTITY_UNKNOWN: u32 = 2151809044u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_EAPHOST_LAST: i32 = -2143158017i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_EAPHOST_METHOD_INVALID_PACKET: u32 = 2151809047u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_EAPHOST_METHOD_NOT_INSTALLED: u32 = 2151809041u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_EAPHOST_METHOD_OPERATION_NOT_SUPPORTED: u32 = 2151809056u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_EAPHOST_REMOTE_INVALID_PACKET: u32 = 2151809048u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_EAPHOST_THIRDPARTY_METHOD_HOST_RESET: u32 = 2151809042u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_EAPHOST_XML_MALFORMED: u32 = 2151809049u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_METHOD_CONFIG_DOES_NOT_SUPPORT_SSO: u32 = 2151809050u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_NO_SMART_CARD_READER: u32 = 2151809299u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_SERVER_CERT_EXPIRED: u32 = 2151809538u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_SERVER_CERT_INVALID: u32 = 2151809537u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_SERVER_CERT_NOT_FOUND: u32 = 2151809536u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_SERVER_CERT_OTHER_ERROR: u32 = 2151809540u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_SERVER_CERT_REVOKED: u32 = 2151809539u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_SERVER_FIRST: i32 = -2143157760i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_SERVER_LAST: i32 = -2143157505i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_SERVER_ROOT_CERT_FIRST: i32 = -2143157248i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_SERVER_ROOT_CERT_INVALID: u32 = 2151810049u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_SERVER_ROOT_CERT_LAST: i32 = -2143156993i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_SERVER_ROOT_CERT_NAME_REQUIRED: u32 = 2151810054u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_SERVER_ROOT_CERT_NOT_FOUND: u32 = 2151810048u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_SIM_NOT_VALID: u32 = 2151810304u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_USER_CERT_EXPIRED: u32 = 2151809282u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_USER_CERT_INVALID: u32 = 2151809281u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_USER_CERT_NOT_FOUND: u32 = 2151809280u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_USER_CERT_OTHER_ERROR: u32 = 2151809284u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_USER_CERT_REJECTED: u32 = 2151809285u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_USER_CERT_REVOKED: u32 = 2151809283u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_USER_CREDENTIALS_REJECTED: u32 = 2151809297u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_USER_FIRST: i32 = -2143158016i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_USER_LAST: i32 = -2143157761i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_USER_NAME_PASSWORD_REJECTED: u32 = 2151809298u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_USER_ROOT_CERT_EXPIRED: u32 = 2151809794u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_USER_ROOT_CERT_FIRST: i32 = -2143157504i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_USER_ROOT_CERT_INVALID: u32 = 2151809793u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_USER_ROOT_CERT_LAST: i32 = -2143157249i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_E_USER_ROOT_CERT_NOT_FOUND: u32 = 2151809792u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_FLAG_CONFG_READONLY: u32 = 524288u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_FLAG_FULL_AUTH: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_FLAG_GUEST_ACCESS: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_FLAG_LOGON: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_FLAG_MACHINE_AUTH: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_FLAG_NON_INTERACTIVE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_FLAG_ONLY_EAP_TLS: u32 = 16777216u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_FLAG_PREFER_ALT_CREDENTIALS: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_FLAG_PREVIEW: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_FLAG_PRE_LOGON: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_FLAG_RESUME_FROM_HIBERNATE: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_FLAG_Reserved1: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_FLAG_Reserved2: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_FLAG_Reserved3: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_FLAG_Reserved4: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_FLAG_Reserved5: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_FLAG_Reserved6: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_FLAG_Reserved7: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_FLAG_Reserved8: u32 = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_FLAG_Reserved9: u32 = 4194304u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_FLAG_SERVER_VALIDATION_REQUIRED: u32 = 33554432u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_FLAG_SUPRESS_UI: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_FLAG_USER_AUTH: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_FLAG_VPN: u32 = 8388608u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_GROUP_MASK: i32 = 65280i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct EAP_INTERACTIVE_UI_DATA {
+ pub dwVersion: u32,
+ pub dwSize: u32,
+ pub dwDataType: EAP_INTERACTIVE_UI_DATA_TYPE,
+ pub cbUiData: u32,
+ pub pbUiData: EAP_UI_DATA_FORMAT,
+}
+impl ::core::marker::Copy for EAP_INTERACTIVE_UI_DATA {}
+impl ::core::clone::Clone for EAP_INTERACTIVE_UI_DATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub type EAP_INTERACTIVE_UI_DATA_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapCredReq: EAP_INTERACTIVE_UI_DATA_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapCredResp: EAP_INTERACTIVE_UI_DATA_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapCredExpiryReq: EAP_INTERACTIVE_UI_DATA_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapCredExpiryResp: EAP_INTERACTIVE_UI_DATA_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapCredLogonReq: EAP_INTERACTIVE_UI_DATA_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapCredLogonResp: EAP_INTERACTIVE_UI_DATA_TYPE = 5i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_INTERACTIVE_UI_DATA_VERSION: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_INVALID_PACKET: u32 = 2151809048u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_I_EAPHOST_EAP_NEGOTIATION_FAILED: u32 = 1078067222u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_I_EAPHOST_FIRST: i32 = -2143158272i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_I_EAPHOST_LAST: i32 = -2143158017i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_I_USER_ACCOUNT_OTHER_ERROR: u32 = 1078067472u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_I_USER_FIRST: i32 = 1078067456i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_I_USER_LAST: i32 = 1078067711i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_METHOD_AUTHENTICATOR_CONFIG_IS_IDENTITY_PRIVACY: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub type EAP_METHOD_AUTHENTICATOR_RESPONSE_ACTION = i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_METHOD_AUTHENTICATOR_RESPONSE_DISCARD: EAP_METHOD_AUTHENTICATOR_RESPONSE_ACTION = 0i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_METHOD_AUTHENTICATOR_RESPONSE_SEND: EAP_METHOD_AUTHENTICATOR_RESPONSE_ACTION = 1i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_METHOD_AUTHENTICATOR_RESPONSE_RESULT: EAP_METHOD_AUTHENTICATOR_RESPONSE_ACTION = 2i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_METHOD_AUTHENTICATOR_RESPONSE_RESPOND: EAP_METHOD_AUTHENTICATOR_RESPONSE_ACTION = 3i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_METHOD_AUTHENTICATOR_RESPONSE_AUTHENTICATE: EAP_METHOD_AUTHENTICATOR_RESPONSE_ACTION = 4i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_METHOD_AUTHENTICATOR_RESPONSE_HANDLE_IDENTITY: EAP_METHOD_AUTHENTICATOR_RESPONSE_ACTION = 5i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct EAP_METHOD_AUTHENTICATOR_RESULT {
+ pub fIsSuccess: super::super::Foundation::BOOL,
+ pub dwFailureReason: u32,
+ pub pAuthAttribs: *mut EAP_ATTRIBUTES,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for EAP_METHOD_AUTHENTICATOR_RESULT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for EAP_METHOD_AUTHENTICATOR_RESULT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct EAP_METHOD_INFO {
+ pub eaptype: EAP_METHOD_TYPE,
+ pub pwszAuthorName: ::windows_sys::core::PWSTR,
+ pub pwszFriendlyName: ::windows_sys::core::PWSTR,
+ pub eapProperties: u32,
+ pub pInnerMethodInfo: *mut EAP_METHOD_INFO,
+}
+impl ::core::marker::Copy for EAP_METHOD_INFO {}
+impl ::core::clone::Clone for EAP_METHOD_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct EAP_METHOD_INFO_ARRAY {
+ pub dwNumberOfMethods: u32,
+ pub pEapMethods: *mut EAP_METHOD_INFO,
+}
+impl ::core::marker::Copy for EAP_METHOD_INFO_ARRAY {}
+impl ::core::clone::Clone for EAP_METHOD_INFO_ARRAY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct EAP_METHOD_INFO_ARRAY_EX {
+ pub dwNumberOfMethods: u32,
+ pub pEapMethods: *mut EAP_METHOD_INFO_EX,
+}
+impl ::core::marker::Copy for EAP_METHOD_INFO_ARRAY_EX {}
+impl ::core::clone::Clone for EAP_METHOD_INFO_ARRAY_EX {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct EAP_METHOD_INFO_EX {
+ pub eaptype: EAP_METHOD_TYPE,
+ pub pwszAuthorName: ::windows_sys::core::PWSTR,
+ pub pwszFriendlyName: ::windows_sys::core::PWSTR,
+ pub eapProperties: u32,
+ pub pInnerMethodInfoArray: *mut EAP_METHOD_INFO_ARRAY_EX,
+}
+impl ::core::marker::Copy for EAP_METHOD_INFO_EX {}
+impl ::core::clone::Clone for EAP_METHOD_INFO_EX {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_METHOD_INVALID_PACKET: u32 = 2151809047u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct EAP_METHOD_PROPERTY {
+ pub eapMethodPropertyType: EAP_METHOD_PROPERTY_TYPE,
+ pub eapMethodPropertyValueType: EAP_METHOD_PROPERTY_VALUE_TYPE,
+ pub eapMethodPropertyValue: EAP_METHOD_PROPERTY_VALUE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for EAP_METHOD_PROPERTY {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for EAP_METHOD_PROPERTY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct EAP_METHOD_PROPERTY_ARRAY {
+ pub dwNumberOfProperties: u32,
+ pub pMethodProperty: *mut EAP_METHOD_PROPERTY,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for EAP_METHOD_PROPERTY_ARRAY {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for EAP_METHOD_PROPERTY_ARRAY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub type EAP_METHOD_PROPERTY_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropCipherSuiteNegotiation: EAP_METHOD_PROPERTY_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropMutualAuth: EAP_METHOD_PROPERTY_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropIntegrity: EAP_METHOD_PROPERTY_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropReplayProtection: EAP_METHOD_PROPERTY_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropConfidentiality: EAP_METHOD_PROPERTY_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropKeyDerivation: EAP_METHOD_PROPERTY_TYPE = 5i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropKeyStrength64: EAP_METHOD_PROPERTY_TYPE = 6i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropKeyStrength128: EAP_METHOD_PROPERTY_TYPE = 7i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropKeyStrength256: EAP_METHOD_PROPERTY_TYPE = 8i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropKeyStrength512: EAP_METHOD_PROPERTY_TYPE = 9i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropKeyStrength1024: EAP_METHOD_PROPERTY_TYPE = 10i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropDictionaryAttackResistance: EAP_METHOD_PROPERTY_TYPE = 11i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropFastReconnect: EAP_METHOD_PROPERTY_TYPE = 12i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropCryptoBinding: EAP_METHOD_PROPERTY_TYPE = 13i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropSessionIndependence: EAP_METHOD_PROPERTY_TYPE = 14i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropFragmentation: EAP_METHOD_PROPERTY_TYPE = 15i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropChannelBinding: EAP_METHOD_PROPERTY_TYPE = 16i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropNap: EAP_METHOD_PROPERTY_TYPE = 17i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropStandalone: EAP_METHOD_PROPERTY_TYPE = 18i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropMppeEncryption: EAP_METHOD_PROPERTY_TYPE = 19i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropTunnelMethod: EAP_METHOD_PROPERTY_TYPE = 20i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropSupportsConfig: EAP_METHOD_PROPERTY_TYPE = 21i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropCertifiedMethod: EAP_METHOD_PROPERTY_TYPE = 22i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropHiddenMethod: EAP_METHOD_PROPERTY_TYPE = 23i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropMachineAuth: EAP_METHOD_PROPERTY_TYPE = 24i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropUserAuth: EAP_METHOD_PROPERTY_TYPE = 25i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropIdentityPrivacy: EAP_METHOD_PROPERTY_TYPE = 26i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropMethodChaining: EAP_METHOD_PROPERTY_TYPE = 27i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropSharedStateEquivalence: EAP_METHOD_PROPERTY_TYPE = 28i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptLegacyMethodPropertyFlag: EAP_METHOD_PROPERTY_TYPE = 31i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const emptPropVendorSpecific: EAP_METHOD_PROPERTY_TYPE = 255i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union EAP_METHOD_PROPERTY_VALUE {
+ pub empvBool: EAP_METHOD_PROPERTY_VALUE_BOOL,
+ pub empvDword: EAP_METHOD_PROPERTY_VALUE_DWORD,
+ pub empvString: EAP_METHOD_PROPERTY_VALUE_STRING,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for EAP_METHOD_PROPERTY_VALUE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for EAP_METHOD_PROPERTY_VALUE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct EAP_METHOD_PROPERTY_VALUE_BOOL {
+ pub length: u32,
+ pub value: super::super::Foundation::BOOL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for EAP_METHOD_PROPERTY_VALUE_BOOL {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for EAP_METHOD_PROPERTY_VALUE_BOOL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct EAP_METHOD_PROPERTY_VALUE_DWORD {
+ pub length: u32,
+ pub value: u32,
+}
+impl ::core::marker::Copy for EAP_METHOD_PROPERTY_VALUE_DWORD {}
+impl ::core::clone::Clone for EAP_METHOD_PROPERTY_VALUE_DWORD {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct EAP_METHOD_PROPERTY_VALUE_STRING {
+ pub length: u32,
+ pub value: *mut u8,
+}
+impl ::core::marker::Copy for EAP_METHOD_PROPERTY_VALUE_STRING {}
+impl ::core::clone::Clone for EAP_METHOD_PROPERTY_VALUE_STRING {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub type EAP_METHOD_PROPERTY_VALUE_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const empvtBool: EAP_METHOD_PROPERTY_VALUE_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const empvtDword: EAP_METHOD_PROPERTY_VALUE_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const empvtString: EAP_METHOD_PROPERTY_VALUE_TYPE = 2i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct EAP_METHOD_TYPE {
+ pub eapType: EAP_TYPE,
+ pub dwAuthorId: u32,
+}
+impl ::core::marker::Copy for EAP_METHOD_TYPE {}
+impl ::core::clone::Clone for EAP_METHOD_TYPE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_PEER_FLAG_GUEST_ACCESS: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_PEER_FLAG_HEALTH_STATE_CHANGE: u32 = 32768u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct EAP_PEER_METHOD_ROUTINES {
+ pub dwVersion: u32,
+ pub pEapType: *mut EAP_TYPE,
+ pub EapPeerInitialize: isize,
+ pub EapPeerGetIdentity: isize,
+ pub EapPeerBeginSession: isize,
+ pub EapPeerSetCredentials: isize,
+ pub EapPeerProcessRequestPacket: isize,
+ pub EapPeerGetResponsePacket: isize,
+ pub EapPeerGetResult: isize,
+ pub EapPeerGetUIContext: isize,
+ pub EapPeerSetUIContext: isize,
+ pub EapPeerGetResponseAttributes: isize,
+ pub EapPeerSetResponseAttributes: isize,
+ pub EapPeerEndSession: isize,
+ pub EapPeerShutdown: isize,
+}
+impl ::core::marker::Copy for EAP_PEER_METHOD_ROUTINES {}
+impl ::core::clone::Clone for EAP_PEER_METHOD_ROUTINES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_PEER_VALUENAME_CONFIGUI: &str = "PeerConfigUIPath";
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_PEER_VALUENAME_DLL_PATH: &str = "PeerDllPath";
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_PEER_VALUENAME_FRIENDLY_NAME: &str = "PeerFriendlyName";
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_PEER_VALUENAME_IDENTITY: &str = "PeerIdentityPath";
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_PEER_VALUENAME_INTERACTIVEUI: &str = "PeerInteractiveUIPath";
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_PEER_VALUENAME_INVOKE_NAMEDLG: &str = "PeerInvokeUsernameDialog";
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_PEER_VALUENAME_INVOKE_PWDDLG: &str = "PeerInvokePasswordDialog";
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_PEER_VALUENAME_PROPERTIES: &str = "Properties";
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_PEER_VALUENAME_REQUIRE_CONFIGUI: &str = "PeerRequireConfigUI";
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_REGISTRY_LOCATION: &str = "System\\CurrentControlSet\\Services\\EapHost\\Methods";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct EAP_TYPE {
+ pub r#type: u8,
+ pub dwVendorId: u32,
+ pub dwVendorType: u32,
+}
+impl ::core::marker::Copy for EAP_TYPE {}
+impl ::core::clone::Clone for EAP_TYPE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub union EAP_UI_DATA_FORMAT {
+ pub credData: *mut EAP_CONFIG_INPUT_FIELD_ARRAY,
+ pub credExpiryData: *mut EAP_CRED_EXPIRY_REQ,
+ pub credLogonData: *mut EAP_CONFIG_INPUT_FIELD_ARRAY,
+}
+impl ::core::marker::Copy for EAP_UI_DATA_FORMAT {}
+impl ::core::clone::Clone for EAP_UI_DATA_FORMAT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_UI_INPUT_FIELD_PROPS_DEFAULT: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_UI_INPUT_FIELD_PROPS_NON_DISPLAYABLE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_UI_INPUT_FIELD_PROPS_NON_PERSIST: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_UI_INPUT_FIELD_PROPS_READ_ONLY: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_VALUENAME_PROPERTIES: &str = "Properties";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct EapCertificateCredential {
+ pub certHash: [u8; 20],
+ pub password: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for EapCertificateCredential {}
+impl ::core::clone::Clone for EapCertificateCredential {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub type EapCode = i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapCodeMinimum: EapCode = 1i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapCodeRequest: EapCode = 1i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapCodeResponse: EapCode = 2i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapCodeSuccess: EapCode = 3i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapCodeFailure: EapCode = 4i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapCodeMaximum: EapCode = 4i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct EapCredential {
+ pub credType: EapCredentialType,
+ pub credData: EapCredentialTypeData,
+}
+impl ::core::marker::Copy for EapCredential {}
+impl ::core::clone::Clone for EapCredential {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub type EapCredentialType = i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_EMPTY_CREDENTIAL: EapCredentialType = 0i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_USERNAME_PASSWORD_CREDENTIAL: EapCredentialType = 1i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_WINLOGON_CREDENTIAL: EapCredentialType = 2i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_CERTIFICATE_CREDENTIAL: EapCredentialType = 3i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAP_SIM_CREDENTIAL: EapCredentialType = 4i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub union EapCredentialTypeData {
+ pub username_password: EapUsernamePasswordCredential,
+ pub certificate: EapCertificateCredential,
+ pub sim: EapSimCredential,
+}
+impl ::core::marker::Copy for EapCredentialTypeData {}
+impl ::core::clone::Clone for EapCredentialTypeData {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub type EapHostPeerAuthParams = i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapHostPeerAuthStatus: EapHostPeerAuthParams = 1i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapHostPeerIdentity: EapHostPeerAuthParams = 2i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapHostPeerIdentityExtendedInfo: EapHostPeerAuthParams = 3i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapHostNapInfo: EapHostPeerAuthParams = 4i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct EapHostPeerMethodResult {
+ pub fIsSuccess: super::super::Foundation::BOOL,
+ pub dwFailureReasonCode: u32,
+ pub fSaveConnectionData: super::super::Foundation::BOOL,
+ pub dwSizeofConnectionData: u32,
+ pub pConnectionData: *mut u8,
+ pub fSaveUserData: super::super::Foundation::BOOL,
+ pub dwSizeofUserData: u32,
+ pub pUserData: *mut u8,
+ pub pAttribArray: *mut EAP_ATTRIBUTES,
+ pub isolationState: ISOLATION_STATE,
+ pub pEapMethodInfo: *mut EAP_METHOD_INFO,
+ pub pEapError: *mut EAP_ERROR,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for EapHostPeerMethodResult {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for EapHostPeerMethodResult {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub type EapHostPeerMethodResultReason = i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapHostPeerMethodResultAltSuccessReceived: EapHostPeerMethodResultReason = 1i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapHostPeerMethodResultTimeout: EapHostPeerMethodResultReason = 2i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapHostPeerMethodResultFromMethod: EapHostPeerMethodResultReason = 3i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub type EapHostPeerResponseAction = i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapHostPeerResponseDiscard: EapHostPeerResponseAction = 0i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapHostPeerResponseSend: EapHostPeerResponseAction = 1i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapHostPeerResponseResult: EapHostPeerResponseAction = 2i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapHostPeerResponseInvokeUi: EapHostPeerResponseAction = 3i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapHostPeerResponseRespond: EapHostPeerResponseAction = 4i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapHostPeerResponseStartAuthentication: EapHostPeerResponseAction = 5i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapHostPeerResponseNone: EapHostPeerResponseAction = 6i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct EapPacket {
+ pub Code: u8,
+ pub Id: u8,
+ pub Length: [u8; 2],
+ pub Data: [u8; 1],
+}
+impl ::core::marker::Copy for EapPacket {}
+impl ::core::clone::Clone for EapPacket {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct EapPeerMethodOutput {
+ pub action: EapPeerMethodResponseAction,
+ pub fAllowNotifications: super::super::Foundation::BOOL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for EapPeerMethodOutput {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for EapPeerMethodOutput {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub type EapPeerMethodResponseAction = i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapPeerMethodResponseActionDiscard: EapPeerMethodResponseAction = 0i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapPeerMethodResponseActionSend: EapPeerMethodResponseAction = 1i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapPeerMethodResponseActionResult: EapPeerMethodResponseAction = 2i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapPeerMethodResponseActionInvokeUI: EapPeerMethodResponseAction = 3i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapPeerMethodResponseActionRespond: EapPeerMethodResponseAction = 4i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapPeerMethodResponseActionNone: EapPeerMethodResponseAction = 5i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+pub struct EapPeerMethodResult {
+ pub fIsSuccess: super::super::Foundation::BOOL,
+ pub dwFailureReasonCode: u32,
+ pub fSaveConnectionData: super::super::Foundation::BOOL,
+ pub dwSizeofConnectionData: u32,
+ pub pConnectionData: *mut u8,
+ pub fSaveUserData: super::super::Foundation::BOOL,
+ pub dwSizeofUserData: u32,
+ pub pUserData: *mut u8,
+ pub pAttribArray: *mut EAP_ATTRIBUTES,
+ pub pEapError: *mut EAP_ERROR,
+ pub pNgcKerbTicket: *mut NgcTicketContext,
+ pub fSaveToCredMan: super::super::Foundation::BOOL,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::marker::Copy for EapPeerMethodResult {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::clone::Clone for EapPeerMethodResult {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub type EapPeerMethodResultReason = i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapPeerMethodResultUnknown: EapPeerMethodResultReason = 1i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapPeerMethodResultSuccess: EapPeerMethodResultReason = 2i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EapPeerMethodResultFailure: EapPeerMethodResultReason = 3i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct EapSimCredential {
+ pub iccID: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for EapSimCredential {}
+impl ::core::clone::Clone for EapSimCredential {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct EapUsernamePasswordCredential {
+ pub username: ::windows_sys::core::PWSTR,
+ pub password: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for EapUsernamePasswordCredential {}
+impl ::core::clone::Clone for EapUsernamePasswordCredential {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const FACILITY_EAP_MESSAGE: u32 = 2114u32;
+pub const GUID_EapHost_Cause_CertStoreInaccessible: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 4] };
+pub const GUID_EapHost_Cause_EapNegotiationFailed: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 28] };
+pub const GUID_EapHost_Cause_EapQecInaccessible: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 3, 18] };
+pub const GUID_EapHost_Cause_Generic_AuthFailure: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 1, 4] };
+pub const GUID_EapHost_Cause_IdentityUnknown: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 2, 4] };
+pub const GUID_EapHost_Cause_MethodDLLNotFound: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 1] };
+pub const GUID_EapHost_Cause_MethodDoesNotSupportOperation: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 30] };
+pub const GUID_EapHost_Cause_Method_Config_Does_Not_Support_Sso: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3659054386, data2: 79, data3: 16890, data4: [174, 8, 11, 200, 94, 88, 69, 172] };
+pub const GUID_EapHost_Cause_No_SmartCardReader_Found: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 43] };
+pub const GUID_EapHost_Cause_Server_CertExpired: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 5] };
+pub const GUID_EapHost_Cause_Server_CertInvalid: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 6] };
+pub const GUID_EapHost_Cause_Server_CertNotFound: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 7] };
+pub const GUID_EapHost_Cause_Server_CertOtherError: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 1, 8] };
+pub const GUID_EapHost_Cause_Server_CertRevoked: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 8] };
+pub const GUID_EapHost_Cause_Server_Root_CertNameRequired: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 18] };
+pub const GUID_EapHost_Cause_Server_Root_CertNotFound: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 1, 18] };
+pub const GUID_EapHost_Cause_SimNotValid: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 3, 4] };
+pub const GUID_EapHost_Cause_ThirdPartyMethod_Host_Reset: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 2, 18] };
+pub const GUID_EapHost_Cause_User_Account_OtherProblem: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 1, 14] };
+pub const GUID_EapHost_Cause_User_CertExpired: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 9] };
+pub const GUID_EapHost_Cause_User_CertInvalid: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 10] };
+pub const GUID_EapHost_Cause_User_CertNotFound: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 11] };
+pub const GUID_EapHost_Cause_User_CertOtherError: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 12] };
+pub const GUID_EapHost_Cause_User_CertRejected: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 13] };
+pub const GUID_EapHost_Cause_User_CertRevoked: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 14] };
+pub const GUID_EapHost_Cause_User_CredsRejected: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 2, 14] };
+pub const GUID_EapHost_Cause_User_Root_CertExpired: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 15] };
+pub const GUID_EapHost_Cause_User_Root_CertInvalid: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 16] };
+pub const GUID_EapHost_Cause_User_Root_CertNotFound: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 17] };
+pub const GUID_EapHost_Cause_XmlMalformed: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 29] };
+pub const GUID_EapHost_Default: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 0, data2: 0, data3: 0, data4: [0, 0, 0, 0, 0, 0, 0, 0] };
+pub const GUID_EapHost_Help_ObtainingCerts: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 4113952419, data2: 7133, data3: 18122, data4: [162, 252, 166, 101, 89, 57, 183, 232] };
+pub const GUID_EapHost_Help_Troubleshooting: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 858815183, data2: 1688, data3: 16826, data4: [176, 20, 234, 10, 46, 184, 208, 168] };
+pub const GUID_EapHost_Repair_ContactAdmin_AuthFailure: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 31] };
+pub const GUID_EapHost_Repair_ContactAdmin_CertNameAbsent: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 41] };
+pub const GUID_EapHost_Repair_ContactAdmin_CertStoreInaccessible: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 36] };
+pub const GUID_EapHost_Repair_ContactAdmin_IdentityUnknown: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 32] };
+pub const GUID_EapHost_Repair_ContactAdmin_InvalidUserAccount: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 37] };
+pub const GUID_EapHost_Repair_ContactAdmin_InvalidUserCert: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 44] };
+pub const GUID_EapHost_Repair_ContactAdmin_MethodNotFound: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 34] };
+pub const GUID_EapHost_Repair_ContactAdmin_NegotiationFailed: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 33] };
+pub const GUID_EapHost_Repair_ContactAdmin_NoSmartCardReader: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 42] };
+pub const GUID_EapHost_Repair_ContactAdmin_RootCertInvalid: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 38] };
+pub const GUID_EapHost_Repair_ContactAdmin_RootCertNotFound: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 39] };
+pub const GUID_EapHost_Repair_ContactAdmin_RootExpired: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 40] };
+pub const GUID_EapHost_Repair_ContactSysadmin: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 2] };
+pub const GUID_EapHost_Repair_Method_Not_Support_Sso: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 45] };
+pub const GUID_EapHost_Repair_No_ValidSim_Found: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 46] };
+pub const GUID_EapHost_Repair_RestartNap: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 35] };
+pub const GUID_EapHost_Repair_Retry_Authentication: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 1, 27] };
+pub const GUID_EapHost_Repair_Server_ClientSelectServerCert: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 24] };
+pub const GUID_EapHost_Repair_User_AuthFailure: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 25] };
+pub const GUID_EapHost_Repair_User_GetNewCert: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 26] };
+pub const GUID_EapHost_Repair_User_SelectValidCert: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 2517826663, data2: 24912, data3: 16905, data4: [168, 94, 168, 216, 0, 0, 0, 27] };
+pub type IAccountingProviderConfig = *mut ::core::ffi::c_void;
+pub type IAuthenticationProviderConfig = *mut ::core::ffi::c_void;
+pub type IEAPProviderConfig = *mut ::core::ffi::c_void;
+pub type IEAPProviderConfig2 = *mut ::core::ffi::c_void;
+pub type IEAPProviderConfig3 = *mut ::core::ffi::c_void;
+pub type IRouterProtocolConfig = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub type ISOLATION_STATE = i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const ISOLATION_STATE_UNKNOWN: ISOLATION_STATE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const ISOLATION_STATE_NOT_RESTRICTED: ISOLATION_STATE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const ISOLATION_STATE_IN_PROBATION: ISOLATION_STATE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const ISOLATION_STATE_RESTRICTED_ACCESS: ISOLATION_STATE = 3i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct LEGACY_IDENTITY_UI_PARAMS {
+ pub eapType: u32,
+ pub dwFlags: u32,
+ pub dwSizeofConnectionData: u32,
+ pub pConnectionData: *mut u8,
+ pub dwSizeofUserData: u32,
+ pub pUserData: *mut u8,
+ pub dwSizeofUserDataOut: u32,
+ pub pUserDataOut: *mut u8,
+ pub pwszIdentity: ::windows_sys::core::PWSTR,
+ pub dwError: u32,
+}
+impl ::core::marker::Copy for LEGACY_IDENTITY_UI_PARAMS {}
+impl ::core::clone::Clone for LEGACY_IDENTITY_UI_PARAMS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct LEGACY_INTERACTIVE_UI_PARAMS {
+ pub eapType: u32,
+ pub dwSizeofContextData: u32,
+ pub pContextData: *mut u8,
+ pub dwSizeofInteractiveUIData: u32,
+ pub pInteractiveUIData: *mut u8,
+ pub dwError: u32,
+}
+impl ::core::marker::Copy for LEGACY_INTERACTIVE_UI_PARAMS {}
+impl ::core::clone::Clone for LEGACY_INTERACTIVE_UI_PARAMS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const MAXEAPCODE: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const MAX_EAP_CONFIG_INPUT_FIELD_LENGTH: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const MAX_EAP_CONFIG_INPUT_FIELD_VALUE_LENGTH: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const NCRYPT_PIN_CACHE_PIN_BYTE_LENGTH: u32 = 90u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+pub struct NgcTicketContext {
+ pub wszTicket: [u16; 45],
+ pub hKey: super::Cryptography::NCRYPT_KEY_HANDLE,
+ pub hImpersonateToken: super::super::Foundation::HANDLE,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::marker::Copy for NgcTicketContext {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::clone::Clone for NgcTicketContext {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub type NotificationHandler = ::core::option::Option<unsafe extern "system" fn(connectionid: ::windows_sys::core::GUID, pcontextdata: *mut ::core::ffi::c_void)>;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub type PPP_EAP_ACTION = i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAPACTION_NoAction: PPP_EAP_ACTION = 0i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAPACTION_Authenticate: PPP_EAP_ACTION = 1i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAPACTION_Done: PPP_EAP_ACTION = 2i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAPACTION_SendAndDone: PPP_EAP_ACTION = 3i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAPACTION_Send: PPP_EAP_ACTION = 4i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAPACTION_SendWithTimeout: PPP_EAP_ACTION = 5i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAPACTION_SendWithTimeoutInteractive: PPP_EAP_ACTION = 6i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAPACTION_IndicateTLV: PPP_EAP_ACTION = 7i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const EAPACTION_IndicateIdentity: PPP_EAP_ACTION = 8i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct PPP_EAP_INFO {
+ pub dwSizeInBytes: u32,
+ pub dwEapTypeId: u32,
+ pub RasEapInitialize: isize,
+ pub RasEapBegin: isize,
+ pub RasEapEnd: isize,
+ pub RasEapMakeMessage: isize,
+}
+impl ::core::marker::Copy for PPP_EAP_INFO {}
+impl ::core::clone::Clone for PPP_EAP_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct PPP_EAP_INPUT {
+ pub dwSizeInBytes: u32,
+ pub fFlags: u32,
+ pub fAuthenticator: super::super::Foundation::BOOL,
+ pub pwszIdentity: ::windows_sys::core::PWSTR,
+ pub pwszPassword: ::windows_sys::core::PWSTR,
+ pub bInitialId: u8,
+ pub pUserAttributes: *mut RAS_AUTH_ATTRIBUTE,
+ pub fAuthenticationComplete: super::super::Foundation::BOOL,
+ pub dwAuthResultCode: u32,
+ pub hTokenImpersonateUser: super::super::Foundation::HANDLE,
+ pub fSuccessPacketReceived: super::super::Foundation::BOOL,
+ pub fDataReceivedFromInteractiveUI: super::super::Foundation::BOOL,
+ pub pDataFromInteractiveUI: *mut u8,
+ pub dwSizeOfDataFromInteractiveUI: u32,
+ pub pConnectionData: *mut u8,
+ pub dwSizeOfConnectionData: u32,
+ pub pUserData: *mut u8,
+ pub dwSizeOfUserData: u32,
+ pub hReserved: super::super::Foundation::HANDLE,
+ pub guidConnectionId: ::windows_sys::core::GUID,
+ pub isVpn: super::super::Foundation::BOOL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for PPP_EAP_INPUT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for PPP_EAP_INPUT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+pub struct PPP_EAP_OUTPUT {
+ pub dwSizeInBytes: u32,
+ pub Action: PPP_EAP_ACTION,
+ pub dwAuthResultCode: u32,
+ pub pUserAttributes: *mut RAS_AUTH_ATTRIBUTE,
+ pub fInvokeInteractiveUI: super::super::Foundation::BOOL,
+ pub pUIContextData: *mut u8,
+ pub dwSizeOfUIContextData: u32,
+ pub fSaveConnectionData: super::super::Foundation::BOOL,
+ pub pConnectionData: *mut u8,
+ pub dwSizeOfConnectionData: u32,
+ pub fSaveUserData: super::super::Foundation::BOOL,
+ pub pUserData: *mut u8,
+ pub dwSizeOfUserData: u32,
+ pub pNgcKerbTicket: *mut NgcTicketContext,
+ pub fSaveToCredMan: super::super::Foundation::BOOL,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::marker::Copy for PPP_EAP_OUTPUT {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::clone::Clone for PPP_EAP_OUTPUT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct PPP_EAP_PACKET {
+ pub Code: u8,
+ pub Id: u8,
+ pub Length: [u8; 2],
+ pub Data: [u8; 1],
+}
+impl ::core::marker::Copy for PPP_EAP_PACKET {}
+impl ::core::clone::Clone for PPP_EAP_PACKET {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub struct RAS_AUTH_ATTRIBUTE {
+ pub raaType: RAS_AUTH_ATTRIBUTE_TYPE,
+ pub dwLength: u32,
+ pub Value: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for RAS_AUTH_ATTRIBUTE {}
+impl ::core::clone::Clone for RAS_AUTH_ATTRIBUTE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub type RAS_AUTH_ATTRIBUTE_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatMinimum: RAS_AUTH_ATTRIBUTE_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatUserName: RAS_AUTH_ATTRIBUTE_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatUserPassword: RAS_AUTH_ATTRIBUTE_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatMD5CHAPPassword: RAS_AUTH_ATTRIBUTE_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatNASIPAddress: RAS_AUTH_ATTRIBUTE_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatNASPort: RAS_AUTH_ATTRIBUTE_TYPE = 5i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatServiceType: RAS_AUTH_ATTRIBUTE_TYPE = 6i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatFramedProtocol: RAS_AUTH_ATTRIBUTE_TYPE = 7i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatFramedIPAddress: RAS_AUTH_ATTRIBUTE_TYPE = 8i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatFramedIPNetmask: RAS_AUTH_ATTRIBUTE_TYPE = 9i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatFramedRouting: RAS_AUTH_ATTRIBUTE_TYPE = 10i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatFilterId: RAS_AUTH_ATTRIBUTE_TYPE = 11i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatFramedMTU: RAS_AUTH_ATTRIBUTE_TYPE = 12i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatFramedCompression: RAS_AUTH_ATTRIBUTE_TYPE = 13i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatLoginIPHost: RAS_AUTH_ATTRIBUTE_TYPE = 14i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatLoginService: RAS_AUTH_ATTRIBUTE_TYPE = 15i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatLoginTCPPort: RAS_AUTH_ATTRIBUTE_TYPE = 16i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatUnassigned17: RAS_AUTH_ATTRIBUTE_TYPE = 17i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatReplyMessage: RAS_AUTH_ATTRIBUTE_TYPE = 18i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatCallbackNumber: RAS_AUTH_ATTRIBUTE_TYPE = 19i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatCallbackId: RAS_AUTH_ATTRIBUTE_TYPE = 20i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatUnassigned21: RAS_AUTH_ATTRIBUTE_TYPE = 21i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatFramedRoute: RAS_AUTH_ATTRIBUTE_TYPE = 22i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatFramedIPXNetwork: RAS_AUTH_ATTRIBUTE_TYPE = 23i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatState: RAS_AUTH_ATTRIBUTE_TYPE = 24i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatClass: RAS_AUTH_ATTRIBUTE_TYPE = 25i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatVendorSpecific: RAS_AUTH_ATTRIBUTE_TYPE = 26i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatSessionTimeout: RAS_AUTH_ATTRIBUTE_TYPE = 27i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatIdleTimeout: RAS_AUTH_ATTRIBUTE_TYPE = 28i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatTerminationAction: RAS_AUTH_ATTRIBUTE_TYPE = 29i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatCalledStationId: RAS_AUTH_ATTRIBUTE_TYPE = 30i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatCallingStationId: RAS_AUTH_ATTRIBUTE_TYPE = 31i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatNASIdentifier: RAS_AUTH_ATTRIBUTE_TYPE = 32i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatProxyState: RAS_AUTH_ATTRIBUTE_TYPE = 33i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatLoginLATService: RAS_AUTH_ATTRIBUTE_TYPE = 34i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatLoginLATNode: RAS_AUTH_ATTRIBUTE_TYPE = 35i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatLoginLATGroup: RAS_AUTH_ATTRIBUTE_TYPE = 36i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatFramedAppleTalkLink: RAS_AUTH_ATTRIBUTE_TYPE = 37i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatFramedAppleTalkNetwork: RAS_AUTH_ATTRIBUTE_TYPE = 38i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatFramedAppleTalkZone: RAS_AUTH_ATTRIBUTE_TYPE = 39i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatAcctStatusType: RAS_AUTH_ATTRIBUTE_TYPE = 40i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatAcctDelayTime: RAS_AUTH_ATTRIBUTE_TYPE = 41i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatAcctInputOctets: RAS_AUTH_ATTRIBUTE_TYPE = 42i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatAcctOutputOctets: RAS_AUTH_ATTRIBUTE_TYPE = 43i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatAcctSessionId: RAS_AUTH_ATTRIBUTE_TYPE = 44i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatAcctAuthentic: RAS_AUTH_ATTRIBUTE_TYPE = 45i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatAcctSessionTime: RAS_AUTH_ATTRIBUTE_TYPE = 46i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatAcctInputPackets: RAS_AUTH_ATTRIBUTE_TYPE = 47i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatAcctOutputPackets: RAS_AUTH_ATTRIBUTE_TYPE = 48i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatAcctTerminateCause: RAS_AUTH_ATTRIBUTE_TYPE = 49i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatAcctMultiSessionId: RAS_AUTH_ATTRIBUTE_TYPE = 50i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatAcctLinkCount: RAS_AUTH_ATTRIBUTE_TYPE = 51i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatAcctEventTimeStamp: RAS_AUTH_ATTRIBUTE_TYPE = 55i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatMD5CHAPChallenge: RAS_AUTH_ATTRIBUTE_TYPE = 60i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatNASPortType: RAS_AUTH_ATTRIBUTE_TYPE = 61i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatPortLimit: RAS_AUTH_ATTRIBUTE_TYPE = 62i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatLoginLATPort: RAS_AUTH_ATTRIBUTE_TYPE = 63i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatTunnelType: RAS_AUTH_ATTRIBUTE_TYPE = 64i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatTunnelMediumType: RAS_AUTH_ATTRIBUTE_TYPE = 65i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatTunnelClientEndpoint: RAS_AUTH_ATTRIBUTE_TYPE = 66i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatTunnelServerEndpoint: RAS_AUTH_ATTRIBUTE_TYPE = 67i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatARAPPassword: RAS_AUTH_ATTRIBUTE_TYPE = 70i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatARAPFeatures: RAS_AUTH_ATTRIBUTE_TYPE = 71i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatARAPZoneAccess: RAS_AUTH_ATTRIBUTE_TYPE = 72i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatARAPSecurity: RAS_AUTH_ATTRIBUTE_TYPE = 73i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatARAPSecurityData: RAS_AUTH_ATTRIBUTE_TYPE = 74i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatPasswordRetry: RAS_AUTH_ATTRIBUTE_TYPE = 75i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatPrompt: RAS_AUTH_ATTRIBUTE_TYPE = 76i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatConnectInfo: RAS_AUTH_ATTRIBUTE_TYPE = 77i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatConfigurationToken: RAS_AUTH_ATTRIBUTE_TYPE = 78i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatEAPMessage: RAS_AUTH_ATTRIBUTE_TYPE = 79i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatSignature: RAS_AUTH_ATTRIBUTE_TYPE = 80i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatARAPChallengeResponse: RAS_AUTH_ATTRIBUTE_TYPE = 84i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatAcctInterimInterval: RAS_AUTH_ATTRIBUTE_TYPE = 85i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatNASIPv6Address: RAS_AUTH_ATTRIBUTE_TYPE = 95i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatFramedInterfaceId: RAS_AUTH_ATTRIBUTE_TYPE = 96i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatFramedIPv6Prefix: RAS_AUTH_ATTRIBUTE_TYPE = 97i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatLoginIPv6Host: RAS_AUTH_ATTRIBUTE_TYPE = 98i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatFramedIPv6Route: RAS_AUTH_ATTRIBUTE_TYPE = 99i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatFramedIPv6Pool: RAS_AUTH_ATTRIBUTE_TYPE = 100i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatARAPGuestLogon: RAS_AUTH_ATTRIBUTE_TYPE = 8096i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatCertificateOID: RAS_AUTH_ATTRIBUTE_TYPE = 8097i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatEAPConfiguration: RAS_AUTH_ATTRIBUTE_TYPE = 8098i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatPEAPEmbeddedEAPTypeId: RAS_AUTH_ATTRIBUTE_TYPE = 8099i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatInnerEAPTypeId: RAS_AUTH_ATTRIBUTE_TYPE = 8099i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatPEAPFastRoamedSession: RAS_AUTH_ATTRIBUTE_TYPE = 8100i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatFastRoamedSession: RAS_AUTH_ATTRIBUTE_TYPE = 8100i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatEAPTLV: RAS_AUTH_ATTRIBUTE_TYPE = 8102i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatCredentialsChanged: RAS_AUTH_ATTRIBUTE_TYPE = 8103i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatCertificateThumbprint: RAS_AUTH_ATTRIBUTE_TYPE = 8250i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatPeerId: RAS_AUTH_ATTRIBUTE_TYPE = 9000i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatServerId: RAS_AUTH_ATTRIBUTE_TYPE = 9001i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatMethodId: RAS_AUTH_ATTRIBUTE_TYPE = 9002i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatEMSK: RAS_AUTH_ATTRIBUTE_TYPE = 9003i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatSessionId: RAS_AUTH_ATTRIBUTE_TYPE = 9004i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatReserved: RAS_AUTH_ATTRIBUTE_TYPE = -1i32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_FLAG_8021X_AUTH: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_FLAG_ALTERNATIVE_USER_DB: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_FLAG_CONFG_READONLY: u32 = 524288u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_FLAG_FIRST_LINK: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_FLAG_GUEST_ACCESS: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_FLAG_HOSTED_IN_PEAP: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_FLAG_LOGON: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_FLAG_MACHINE_AUTH: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_FLAG_NON_INTERACTIVE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_FLAG_PEAP_FORCE_FULL_AUTH: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_FLAG_PEAP_UPFRONT: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_FLAG_PREVIEW: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_FLAG_PRE_LOGON: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_FLAG_RESERVED: u32 = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_FLAG_RESUME_FROM_HIBERNATE: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_FLAG_ROUTER: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_FLAG_SAVE_CREDMAN: u32 = 2097152u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_FLAG_SERVER_VALIDATION_REQUIRED: u32 = 33554432u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_REGISTRY_LOCATION: &str = "System\\CurrentControlSet\\Services\\Rasman\\PPP\\EAP";
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_ROLE_AUTHENTICATEE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_ROLE_AUTHENTICATOR: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_ROLE_EXCLUDE_IN_EAP: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_ROLE_EXCLUDE_IN_PEAP: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_ROLE_EXCLUDE_IN_VPN: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_VALUENAME_CONFIGUI: &str = "ConfigUIPath";
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_VALUENAME_CONFIG_CLSID: &str = "ConfigCLSID";
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_VALUENAME_DEFAULT_DATA: &str = "ConfigData";
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_VALUENAME_ENCRYPTION: &str = "MPPEEncryptionSupported";
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_VALUENAME_FILTER_INNERMETHODS: &str = "FilterInnerMethods";
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_VALUENAME_FRIENDLY_NAME: &str = "FriendlyName";
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_VALUENAME_IDENTITY: &str = "IdentityPath";
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_VALUENAME_INTERACTIVEUI: &str = "InteractiveUIPath";
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_VALUENAME_INVOKE_NAMEDLG: &str = "InvokeUsernameDialog";
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_VALUENAME_INVOKE_PWDDLG: &str = "InvokePasswordDialog";
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_VALUENAME_ISTUNNEL_METHOD: &str = "IsTunnelMethod";
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_VALUENAME_PATH: &str = "Path";
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_VALUENAME_PER_POLICY_CONFIG: &str = "PerPolicyConfig";
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_VALUENAME_REQUIRE_CONFIGUI: &str = "RequireConfigUI";
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_VALUENAME_ROLES_SUPPORTED: &str = "RolesSupported";
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const RAS_EAP_VALUENAME_STANDALONE_SUPPORTED: &str = "StandaloneSupported";
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropCertifiedMethod: u32 = 4194304u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropChannelBinding: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropCipherSuiteNegotiation: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropConfidentiality: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropCryptoBinding: u32 = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropDictionaryAttackResistance: u32 = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropFastReconnect: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropFragmentation: u32 = 32768u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropHiddenMethod: u32 = 8388608u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropIdentityPrivacy: u32 = 67108864u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropIntegrity: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropKeyDerivation: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropKeyStrength1024: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropKeyStrength128: u32 = 128u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropKeyStrength256: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropKeyStrength512: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropKeyStrength64: u32 = 64u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropMachineAuth: u32 = 16777216u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropMethodChaining: u32 = 134217728u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropMppeEncryption: u32 = 524288u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropMutualAuth: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropNap: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropReplayProtection: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropReserved: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropSessionIndependence: u32 = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropSharedStateEquivalence: u32 = 268435456u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropStandalone: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropSupportsConfig: u32 = 2097152u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropTunnelMethod: u32 = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const eapPropUserAuth: u32 = 33554432u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatARAPChallenge: u32 = 33u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatARAPNewPassword: u32 = 20u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatARAPOldPassword: u32 = 19u32;
+#[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`*"]
+pub const raatARAPPasswordChangeReason: u32 = 21u32;
diff --git a/vendor/windows-sys/src/Windows/Win32/Security/Isolation/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/Isolation/mod.rs
new file mode 100644
index 000000000..7f92f96c6
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/Security/Isolation/mod.rs
@@ -0,0 +1,48 @@
+#[link(name = "windows")]
+extern "system" {
+ #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CreateAppContainerProfile(pszappcontainername: ::windows_sys::core::PCWSTR, pszdisplayname: ::windows_sys::core::PCWSTR, pszdescription: ::windows_sys::core::PCWSTR, pcapabilities: *const super::SID_AND_ATTRIBUTES, dwcapabilitycount: u32, ppsidappcontainersid: *mut super::super::Foundation::PSID) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Isolation\"`*"]
+ pub fn DeleteAppContainerProfile(pszappcontainername: ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn DeriveAppContainerSidFromAppContainerName(pszappcontainername: ::windows_sys::core::PCWSTR, ppsidappcontainersid: *mut super::super::Foundation::PSID) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn DeriveRestrictedAppContainerSidFromAppContainerSidAndRestrictedName(psidappcontainersid: super::super::Foundation::PSID, pszrestrictedappcontainername: ::windows_sys::core::PCWSTR, ppsidrestrictedappcontainersid: *mut super::super::Foundation::PSID) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Isolation\"`*"]
+ pub fn GetAppContainerFolderPath(pszappcontainersid: ::windows_sys::core::PCWSTR, ppszpath: *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetAppContainerNamedObjectPath(token: super::super::Foundation::HANDLE, appcontainersid: super::super::Foundation::PSID, objectpathlength: u32, objectpath: ::windows_sys::core::PWSTR, returnlength: *mut u32) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_System_Registry\"`*"]
+ #[cfg(feature = "Win32_System_Registry")]
+ pub fn GetAppContainerRegistryLocation(desiredaccess: u32, phappcontainerkey: *mut super::super::System::Registry::HKEY) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn IsProcessInIsolatedContainer(isprocessinisolatedcontainer: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn IsProcessInIsolatedWindowsEnvironment(isprocessinisolatedwindowsenvironment: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn IsProcessInWDAGContainer(reserved: *const ::core::ffi::c_void, isprocessinwdagcontainer: *mut super::super::Foundation::BOOL) -> ::windows_sys::core::HRESULT;
+}
+pub type IIsolatedAppLauncher = *mut ::core::ffi::c_void;
+pub const IsolatedAppLauncher: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 3162580016, data2: 59230, data3: 20433, data4: [150, 65, 31, 159, 30, 45, 154, 31] };
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_Isolation\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct IsolatedAppLauncherTelemetryParameters {
+ pub EnableForLaunch: super::super::Foundation::BOOL,
+ pub CorrelationGUID: ::windows_sys::core::GUID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for IsolatedAppLauncherTelemetryParameters {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for IsolatedAppLauncherTelemetryParameters {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
diff --git a/vendor/windows-sys/src/Windows/Win32/Security/LicenseProtection/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/LicenseProtection/mod.rs
new file mode 100644
index 000000000..e7df096f0
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/Security/LicenseProtection/mod.rs
@@ -0,0 +1,20 @@
+#[link(name = "windows")]
+extern "system" {
+ #[doc = "*Required features: `\"Win32_Security_LicenseProtection\"`*"]
+ pub fn RegisterLicenseKeyWithExpiration(licensekey: ::windows_sys::core::PCWSTR, validityindays: u32, status: *mut LicenseProtectionStatus) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_LicenseProtection\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn ValidateLicenseKeyProtection(licensekey: ::windows_sys::core::PCWSTR, notvalidbefore: *mut super::super::Foundation::FILETIME, notvalidafter: *mut super::super::Foundation::FILETIME, status: *mut LicenseProtectionStatus) -> ::windows_sys::core::HRESULT;
+}
+#[doc = "*Required features: `\"Win32_Security_LicenseProtection\"`*"]
+pub type LicenseProtectionStatus = i32;
+#[doc = "*Required features: `\"Win32_Security_LicenseProtection\"`*"]
+pub const Success: LicenseProtectionStatus = 0i32;
+#[doc = "*Required features: `\"Win32_Security_LicenseProtection\"`*"]
+pub const LicenseKeyNotFound: LicenseProtectionStatus = 1i32;
+#[doc = "*Required features: `\"Win32_Security_LicenseProtection\"`*"]
+pub const LicenseKeyUnprotected: LicenseProtectionStatus = 2i32;
+#[doc = "*Required features: `\"Win32_Security_LicenseProtection\"`*"]
+pub const LicenseKeyCorrupted: LicenseProtectionStatus = 3i32;
+#[doc = "*Required features: `\"Win32_Security_LicenseProtection\"`*"]
+pub const LicenseKeyAlreadyExists: LicenseProtectionStatus = 4i32;
diff --git a/vendor/windows-sys/src/Windows/Win32/Security/NetworkAccessProtection/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/NetworkAccessProtection/mod.rs
new file mode 100644
index 000000000..31c8b8ed9
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/Security/NetworkAccessProtection/mod.rs
@@ -0,0 +1,301 @@
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const ComponentTypeEnforcementClientRp: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const ComponentTypeEnforcementClientSoH: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CorrelationId {
+ pub connId: ::windows_sys::core::GUID,
+ pub timeStamp: super::super::Foundation::FILETIME,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CorrelationId {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CorrelationId {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub struct CountedString {
+ pub length: u16,
+ pub string: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for CountedString {}
+impl ::core::clone::Clone for CountedString {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub type ExtendedIsolationState = i32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const extendedIsolationStateNoData: ExtendedIsolationState = 0i32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const extendedIsolationStateTransition: ExtendedIsolationState = 1i32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const extendedIsolationStateInfected: ExtendedIsolationState = 2i32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const extendedIsolationStateUnknown: ExtendedIsolationState = 3i32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub type FailureCategory = i32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const failureCategoryNone: FailureCategory = 0i32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const failureCategoryOther: FailureCategory = 1i32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const failureCategoryClientComponent: FailureCategory = 2i32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const failureCategoryClientCommunication: FailureCategory = 3i32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const failureCategoryServerComponent: FailureCategory = 4i32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const failureCategoryServerCommunication: FailureCategory = 5i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct FailureCategoryMapping {
+ pub mappingCompliance: [super::super::Foundation::BOOL; 5],
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for FailureCategoryMapping {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for FailureCategoryMapping {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub struct FixupInfo {
+ pub state: FixupState,
+ pub percentage: u8,
+ pub resultCodes: ResultCodes,
+ pub fixupMsgId: u32,
+}
+impl ::core::marker::Copy for FixupInfo {}
+impl ::core::clone::Clone for FixupInfo {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub type FixupState = i32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const fixupStateSuccess: FixupState = 0i32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const fixupStateInProgress: FixupState = 1i32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const fixupStateCouldNotUpdate: FixupState = 2i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub struct Ipv4Address {
+ pub addr: [u8; 4],
+}
+impl ::core::marker::Copy for Ipv4Address {}
+impl ::core::clone::Clone for Ipv4Address {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub struct Ipv6Address {
+ pub addr: [u8; 16],
+}
+impl ::core::marker::Copy for Ipv6Address {}
+impl ::core::clone::Clone for Ipv6Address {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct IsolationInfo {
+ pub isolationState: IsolationState,
+ pub probEndTime: super::super::Foundation::FILETIME,
+ pub failureUrl: CountedString,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for IsolationInfo {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for IsolationInfo {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct IsolationInfoEx {
+ pub isolationState: IsolationState,
+ pub extendedIsolationState: ExtendedIsolationState,
+ pub probEndTime: super::super::Foundation::FILETIME,
+ pub failureUrl: CountedString,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for IsolationInfoEx {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for IsolationInfoEx {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub type IsolationState = i32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const isolationStateNotRestricted: IsolationState = 1i32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const isolationStateInProbation: IsolationState = 2i32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const isolationStateRestrictedAccess: IsolationState = 3i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct NapComponentRegistrationInfo {
+ pub id: u32,
+ pub friendlyName: CountedString,
+ pub description: CountedString,
+ pub version: CountedString,
+ pub vendorName: CountedString,
+ pub infoClsid: ::windows_sys::core::GUID,
+ pub configClsid: ::windows_sys::core::GUID,
+ pub registrationDate: super::super::Foundation::FILETIME,
+ pub componentType: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for NapComponentRegistrationInfo {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for NapComponentRegistrationInfo {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub type NapNotifyType = i32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const napNotifyTypeUnknown: NapNotifyType = 0i32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const napNotifyTypeServiceState: NapNotifyType = 1i32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const napNotifyTypeQuarState: NapNotifyType = 2i32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub type NapTracingLevel = i32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const tracingLevelUndefined: NapTracingLevel = 0i32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const tracingLevelBasic: NapTracingLevel = 1i32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const tracingLevelAdvanced: NapTracingLevel = 2i32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const tracingLevelDebug: NapTracingLevel = 3i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub struct NetworkSoH {
+ pub size: u16,
+ pub data: *mut u8,
+}
+impl ::core::marker::Copy for NetworkSoH {}
+impl ::core::clone::Clone for NetworkSoH {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub struct PrivateData {
+ pub size: u16,
+ pub data: *mut u8,
+}
+impl ::core::marker::Copy for PrivateData {}
+impl ::core::clone::Clone for PrivateData {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub type RemoteConfigurationType = i32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const remoteConfigTypeMachine: RemoteConfigurationType = 1i32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const remoteConfigTypeConfigBlob: RemoteConfigurationType = 2i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub struct ResultCodes {
+ pub count: u16,
+ pub results: *mut ::windows_sys::core::HRESULT,
+}
+impl ::core::marker::Copy for ResultCodes {}
+impl ::core::clone::Clone for ResultCodes {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub struct SoH {
+ pub count: u16,
+ pub attributes: *mut SoHAttribute,
+}
+impl ::core::marker::Copy for SoH {}
+impl ::core::clone::Clone for SoH {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub struct SoHAttribute {
+ pub r#type: u16,
+ pub size: u16,
+ pub value: *mut u8,
+}
+impl ::core::marker::Copy for SoHAttribute {}
+impl ::core::clone::Clone for SoHAttribute {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub struct SystemHealthAgentState {
+ pub id: u32,
+ pub shaResultCodes: ResultCodes,
+ pub failureCategory: FailureCategory,
+ pub fixupInfo: FixupInfo,
+}
+impl ::core::marker::Copy for SystemHealthAgentState {}
+impl ::core::clone::Clone for SystemHealthAgentState {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const failureCategoryCount: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const freshSoHRequest: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const maxConnectionCountPerEnforcer: u32 = 20u32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const maxEnforcerCount: u32 = 20u32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const maxNetworkSoHSize: u32 = 4000u32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const maxPrivateDataSize: u32 = 200u32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const maxSoHAttributeCount: u32 = 100u32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const maxSoHAttributeSize: u32 = 4000u32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const maxStringLength: u32 = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const maxSystemHealthEntityCount: u32 = 20u32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const minNetworkSoHSize: u32 = 12u32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const percentageNotSupported: u32 = 101u32;
+#[doc = "*Required features: `\"Win32_Security_NetworkAccessProtection\"`*"]
+pub const shaFixup: u32 = 1u32;
diff --git a/vendor/windows-sys/src/Windows/Win32/Security/Tpm/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/Tpm/mod.rs
new file mode 100644
index 000000000..6275ccb8b
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/Security/Tpm/mod.rs
@@ -0,0 +1,86 @@
+pub type ITpmVirtualSmartCardManager = *mut ::core::ffi::c_void;
+pub type ITpmVirtualSmartCardManager2 = *mut ::core::ffi::c_void;
+pub type ITpmVirtualSmartCardManager3 = *mut ::core::ffi::c_void;
+pub type ITpmVirtualSmartCardManagerStatusCallback = *mut ::core::ffi::c_void;
+pub const RemoteTpmVirtualSmartCardManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 355377832, data2: 28892, data3: 19545, data4: [139, 42, 50, 170, 60, 160, 220, 172] };
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub type TPMVSCMGR_ERROR = i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_ERROR_IMPERSONATION: TPMVSCMGR_ERROR = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_ERROR_PIN_COMPLEXITY: TPMVSCMGR_ERROR = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_ERROR_READER_COUNT_LIMIT: TPMVSCMGR_ERROR = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_ERROR_TERMINAL_SERVICES_SESSION: TPMVSCMGR_ERROR = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_ERROR_VTPMSMARTCARD_INITIALIZE: TPMVSCMGR_ERROR = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_ERROR_VTPMSMARTCARD_CREATE: TPMVSCMGR_ERROR = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_ERROR_VTPMSMARTCARD_DESTROY: TPMVSCMGR_ERROR = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_ERROR_VGIDSSIMULATOR_INITIALIZE: TPMVSCMGR_ERROR = 7i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_ERROR_VGIDSSIMULATOR_CREATE: TPMVSCMGR_ERROR = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_ERROR_VGIDSSIMULATOR_DESTROY: TPMVSCMGR_ERROR = 9i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_ERROR_VGIDSSIMULATOR_WRITE_PROPERTY: TPMVSCMGR_ERROR = 10i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_ERROR_VGIDSSIMULATOR_READ_PROPERTY: TPMVSCMGR_ERROR = 11i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_ERROR_VREADER_INITIALIZE: TPMVSCMGR_ERROR = 12i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_ERROR_VREADER_CREATE: TPMVSCMGR_ERROR = 13i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_ERROR_VREADER_DESTROY: TPMVSCMGR_ERROR = 14i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_ERROR_GENERATE_LOCATE_READER: TPMVSCMGR_ERROR = 15i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_ERROR_GENERATE_FILESYSTEM: TPMVSCMGR_ERROR = 16i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_ERROR_CARD_CREATE: TPMVSCMGR_ERROR = 17i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_ERROR_CARD_DESTROY: TPMVSCMGR_ERROR = 18i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub type TPMVSCMGR_STATUS = i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_STATUS_VTPMSMARTCARD_INITIALIZING: TPMVSCMGR_STATUS = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_STATUS_VTPMSMARTCARD_CREATING: TPMVSCMGR_STATUS = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_STATUS_VTPMSMARTCARD_DESTROYING: TPMVSCMGR_STATUS = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_STATUS_VGIDSSIMULATOR_INITIALIZING: TPMVSCMGR_STATUS = 3i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_STATUS_VGIDSSIMULATOR_CREATING: TPMVSCMGR_STATUS = 4i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_STATUS_VGIDSSIMULATOR_DESTROYING: TPMVSCMGR_STATUS = 5i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_STATUS_VREADER_INITIALIZING: TPMVSCMGR_STATUS = 6i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_STATUS_VREADER_CREATING: TPMVSCMGR_STATUS = 7i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_STATUS_VREADER_DESTROYING: TPMVSCMGR_STATUS = 8i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_STATUS_GENERATE_WAITING: TPMVSCMGR_STATUS = 9i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_STATUS_GENERATE_AUTHENTICATING: TPMVSCMGR_STATUS = 10i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_STATUS_GENERATE_RUNNING: TPMVSCMGR_STATUS = 11i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_STATUS_CARD_CREATED: TPMVSCMGR_STATUS = 12i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSCMGR_STATUS_CARD_DESTROYED: TPMVSCMGR_STATUS = 13i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub type TPMVSC_ATTESTATION_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSC_ATTESTATION_NONE: TPMVSC_ATTESTATION_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSC_ATTESTATION_AIK_ONLY: TPMVSC_ATTESTATION_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSC_ATTESTATION_AIK_AND_CERTIFICATE: TPMVSC_ATTESTATION_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security_Tpm\"`*"]
+pub const TPMVSC_DEFAULT_ADMIN_ALGORITHM_ID: u32 = 130u32;
+pub const TpmVirtualSmartCardManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID { data1: 379686534, data2: 32622, data3: 19488, data4: [173, 137, 79, 252, 13, 183, 169, 106] };
diff --git a/vendor/windows-sys/src/Windows/Win32/Security/WinTrust/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/WinTrust/mod.rs
new file mode 100644
index 000000000..941839c94
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/Security/WinTrust/mod.rs
@@ -0,0 +1,1515 @@
+#[link(name = "windows")]
+extern "system" {
+ #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn OpenPersonalTrustDBDialog(hwndparent: super::super::Foundation::HWND) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn OpenPersonalTrustDBDialogEx(hwndparent: super::super::Foundation::HWND, dwflags: u32, pvreserved: *mut *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+ pub fn WTHelperCertCheckValidSignature(pprovdata: *mut CRYPT_PROVIDER_DATA) -> ::windows_sys::core::HRESULT;
+ #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+ pub fn WTHelperCertIsSelfSigned(dwencoding: u32, pcert: *mut super::Cryptography::CERT_INFO) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+ pub fn WTHelperGetProvCertFromChain(psgnr: *mut CRYPT_PROVIDER_SGNR, idxcert: u32) -> *mut CRYPT_PROVIDER_CERT;
+ #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+ pub fn WTHelperGetProvPrivateDataFromChain(pprovdata: *mut CRYPT_PROVIDER_DATA, pgproviderid: *mut ::windows_sys::core::GUID) -> *mut CRYPT_PROVIDER_PRIVDATA;
+ #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+ pub fn WTHelperGetProvSignerFromChain(pprovdata: *mut CRYPT_PROVIDER_DATA, idxsigner: u32, fcountersigner: super::super::Foundation::BOOL, idxcountersigner: u32) -> *mut CRYPT_PROVIDER_SGNR;
+ #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+ pub fn WTHelperProvDataFromStateData(hstatedata: super::super::Foundation::HANDLE) -> *mut CRYPT_PROVIDER_DATA;
+ #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WinVerifyTrust(hwnd: super::super::Foundation::HWND, pgactionid: *mut ::windows_sys::core::GUID, pwvtdata: *mut ::core::ffi::c_void) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+ pub fn WinVerifyTrustEx(hwnd: super::super::Foundation::HWND, pgactionid: *mut ::windows_sys::core::GUID, pwintrustdata: *mut WINTRUST_DATA) -> i32;
+ #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WintrustAddActionID(pgactionid: *const ::windows_sys::core::GUID, fdwflags: u32, psprovinfo: *const CRYPT_REGISTER_ACTIONID) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WintrustAddDefaultForUsage(pszusageoid: ::windows_sys::core::PCSTR, psdefusage: *const CRYPT_PROVIDER_REGDEFUSAGE) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WintrustGetDefaultForUsage(dwaction: WINTRUST_GET_DEFAULT_FOR_USAGE_ACTION, pszusageoid: ::windows_sys::core::PCSTR, psusage: *mut CRYPT_PROVIDER_DEFUSAGE) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+ pub fn WintrustGetRegPolicyFlags(pdwpolicyflags: *mut WINTRUST_POLICY_FLAGS);
+ #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+ #[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+ pub fn WintrustLoadFunctionPointers(pgactionid: *mut ::windows_sys::core::GUID, ppfns: *mut CRYPT_PROVIDER_FUNCTIONS) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WintrustRemoveActionID(pgactionid: *const ::windows_sys::core::GUID) -> super::super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WintrustSetDefaultIncludePEPageHashes(fincludepepagehashes: super::super::Foundation::BOOL);
+ #[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn WintrustSetRegPolicyFlags(dwpolicyflags: WINTRUST_POLICY_FLAGS) -> super::super::Foundation::BOOL;
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub struct CAT_MEMBERINFO {
+ pub pwszSubjGuid: ::windows_sys::core::PWSTR,
+ pub dwCertVersion: u32,
+}
+impl ::core::marker::Copy for CAT_MEMBERINFO {}
+impl ::core::clone::Clone for CAT_MEMBERINFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub struct CAT_MEMBERINFO2 {
+ pub SubjectGuid: ::windows_sys::core::GUID,
+ pub dwCertVersion: u32,
+}
+impl ::core::marker::Copy for CAT_MEMBERINFO2 {}
+impl ::core::clone::Clone for CAT_MEMBERINFO2 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const CAT_MEMBERINFO2_OBJID: &str = "1.3.6.1.4.1.311.12.2.3";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const CAT_MEMBERINFO2_STRUCT: ::windows_sys::core::PCSTR = 2223i32 as _;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const CAT_MEMBERINFO_OBJID: &str = "1.3.6.1.4.1.311.12.2.2";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const CAT_MEMBERINFO_STRUCT: ::windows_sys::core::PCSTR = 2222i32 as _;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(feature = "Win32_Security_Cryptography")]
+pub struct CAT_NAMEVALUE {
+ pub pwszTag: ::windows_sys::core::PWSTR,
+ pub fdwFlags: u32,
+ pub Value: super::Cryptography::CRYPTOAPI_BLOB,
+}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::marker::Copy for CAT_NAMEVALUE {}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::clone::Clone for CAT_NAMEVALUE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const CAT_NAMEVALUE_OBJID: &str = "1.3.6.1.4.1.311.12.2.1";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const CAT_NAMEVALUE_STRUCT: ::windows_sys::core::PCSTR = 2221i32 as _;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const CCPI_RESULT_ALLOW: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const CCPI_RESULT_AUDIT: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const CCPI_RESULT_DENY: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const CERT_CONFIDENCE_AUTHIDEXT: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const CERT_CONFIDENCE_HIGHEST: u32 = 286330880u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const CERT_CONFIDENCE_HYGIENE: u32 = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const CERT_CONFIDENCE_SIG: u32 = 268435456u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const CERT_CONFIDENCE_TIME: u32 = 16777216u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const CERT_CONFIDENCE_TIMENEST: u32 = 1048576u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+pub struct CONFIG_CI_PROV_INFO {
+ pub cbSize: u32,
+ pub dwPolicies: u32,
+ pub pPolicies: *mut super::Cryptography::CRYPTOAPI_BLOB,
+ pub result: CONFIG_CI_PROV_INFO_RESULT,
+ pub dwScenario: u32,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::marker::Copy for CONFIG_CI_PROV_INFO {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::clone::Clone for CONFIG_CI_PROV_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct CONFIG_CI_PROV_INFO_RESULT {
+ pub hr: ::windows_sys::core::HRESULT,
+ pub dwResult: u32,
+ pub dwPolicyIndex: u32,
+ pub fIsExplicitDeny: super::super::Foundation::BOOLEAN,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for CONFIG_CI_PROV_INFO_RESULT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for CONFIG_CI_PROV_INFO_RESULT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const CPD_CHOICE_SIP: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const CPD_RETURN_LOWER_QUALITY_CHAINS: u32 = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const CPD_REVOCATION_CHECK_CHAIN: u32 = 262144u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const CPD_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT: u32 = 524288u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const CPD_REVOCATION_CHECK_END_CERT: u32 = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const CPD_REVOCATION_CHECK_NONE: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const CPD_UISTATE_MODE_ALLOW: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const CPD_UISTATE_MODE_BLOCK: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const CPD_UISTATE_MODE_MASK: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const CPD_UISTATE_MODE_PROMPT: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const CPD_USE_NT5_CHAIN_FLAG: u32 = 2147483648u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+pub struct CRYPT_PROVIDER_CERT {
+ pub cbStruct: u32,
+ pub pCert: *const super::Cryptography::CERT_CONTEXT,
+ pub fCommercial: super::super::Foundation::BOOL,
+ pub fTrustedRoot: super::super::Foundation::BOOL,
+ pub fSelfSigned: super::super::Foundation::BOOL,
+ pub fTestCert: super::super::Foundation::BOOL,
+ pub dwRevokedReason: u32,
+ pub dwConfidence: u32,
+ pub dwError: u32,
+ pub pTrustListContext: *mut super::Cryptography::CTL_CONTEXT,
+ pub fTrustListSignerCert: super::super::Foundation::BOOL,
+ pub pCtlContext: *mut super::Cryptography::CTL_CONTEXT,
+ pub dwCtlError: u32,
+ pub fIsCyclic: super::super::Foundation::BOOL,
+ pub pChainElement: *mut super::Cryptography::CERT_CHAIN_ELEMENT,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::marker::Copy for CRYPT_PROVIDER_CERT {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::clone::Clone for CRYPT_PROVIDER_CERT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+pub struct CRYPT_PROVIDER_DATA {
+ pub cbStruct: u32,
+ pub pWintrustData: *mut WINTRUST_DATA,
+ pub fOpenedFile: super::super::Foundation::BOOL,
+ pub hWndParent: super::super::Foundation::HWND,
+ pub pgActionID: *mut ::windows_sys::core::GUID,
+ pub hProv: usize,
+ pub dwError: u32,
+ pub dwRegSecuritySettings: u32,
+ pub dwRegPolicySettings: u32,
+ pub psPfns: *mut CRYPT_PROVIDER_FUNCTIONS,
+ pub cdwTrustStepErrors: u32,
+ pub padwTrustStepErrors: *mut u32,
+ pub chStores: u32,
+ pub pahStores: *mut super::Cryptography::HCERTSTORE,
+ pub dwEncoding: u32,
+ pub hMsg: *mut ::core::ffi::c_void,
+ pub csSigners: u32,
+ pub pasSigners: *mut CRYPT_PROVIDER_SGNR,
+ pub csProvPrivData: u32,
+ pub pasProvPrivData: *mut CRYPT_PROVIDER_PRIVDATA,
+ pub dwSubjectChoice: u32,
+ pub Anonymous: CRYPT_PROVIDER_DATA_0,
+ pub pszUsageOID: ::windows_sys::core::PSTR,
+ pub fRecallWithState: super::super::Foundation::BOOL,
+ pub sftSystemTime: super::super::Foundation::FILETIME,
+ pub pszCTLSignerUsageOID: ::windows_sys::core::PSTR,
+ pub dwProvFlags: u32,
+ pub dwFinalError: u32,
+ pub pRequestUsage: *mut super::Cryptography::CERT_USAGE_MATCH,
+ pub dwTrustPubSettings: u32,
+ pub dwUIStateFlags: u32,
+ pub pSigState: *mut CRYPT_PROVIDER_SIGSTATE,
+ pub pSigSettings: *mut WINTRUST_SIGNATURE_SETTINGS,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+impl ::core::marker::Copy for CRYPT_PROVIDER_DATA {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+impl ::core::clone::Clone for CRYPT_PROVIDER_DATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+pub union CRYPT_PROVIDER_DATA_0 {
+ pub pPDSip: *mut PROVDATA_SIP,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+impl ::core::marker::Copy for CRYPT_PROVIDER_DATA_0 {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+impl ::core::clone::Clone for CRYPT_PROVIDER_DATA_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub struct CRYPT_PROVIDER_DEFUSAGE {
+ pub cbStruct: u32,
+ pub gActionID: ::windows_sys::core::GUID,
+ pub pDefPolicyCallbackData: *mut ::core::ffi::c_void,
+ pub pDefSIPClientData: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for CRYPT_PROVIDER_DEFUSAGE {}
+impl ::core::clone::Clone for CRYPT_PROVIDER_DEFUSAGE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+pub struct CRYPT_PROVIDER_FUNCTIONS {
+ pub cbStruct: u32,
+ pub pfnAlloc: PFN_CPD_MEM_ALLOC,
+ pub pfnFree: PFN_CPD_MEM_FREE,
+ pub pfnAddStore2Chain: PFN_CPD_ADD_STORE,
+ pub pfnAddSgnr2Chain: PFN_CPD_ADD_SGNR,
+ pub pfnAddCert2Chain: PFN_CPD_ADD_CERT,
+ pub pfnAddPrivData2Chain: PFN_CPD_ADD_PRIVDATA,
+ pub pfnInitialize: PFN_PROVIDER_INIT_CALL,
+ pub pfnObjectTrust: PFN_PROVIDER_OBJTRUST_CALL,
+ pub pfnSignatureTrust: PFN_PROVIDER_SIGTRUST_CALL,
+ pub pfnCertificateTrust: PFN_PROVIDER_CERTTRUST_CALL,
+ pub pfnFinalPolicy: PFN_PROVIDER_FINALPOLICY_CALL,
+ pub pfnCertCheckPolicy: PFN_PROVIDER_CERTCHKPOLICY_CALL,
+ pub pfnTestFinalPolicy: PFN_PROVIDER_TESTFINALPOLICY_CALL,
+ pub psUIpfns: *mut CRYPT_PROVUI_FUNCS,
+ pub pfnCleanupPolicy: PFN_PROVIDER_CLEANUP_CALL,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+impl ::core::marker::Copy for CRYPT_PROVIDER_FUNCTIONS {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+impl ::core::clone::Clone for CRYPT_PROVIDER_FUNCTIONS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub struct CRYPT_PROVIDER_PRIVDATA {
+ pub cbStruct: u32,
+ pub gProviderID: ::windows_sys::core::GUID,
+ pub cbProvData: u32,
+ pub pvProvData: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for CRYPT_PROVIDER_PRIVDATA {}
+impl ::core::clone::Clone for CRYPT_PROVIDER_PRIVDATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub struct CRYPT_PROVIDER_REGDEFUSAGE {
+ pub cbStruct: u32,
+ pub pgActionID: *mut ::windows_sys::core::GUID,
+ pub pwszDllName: ::windows_sys::core::PWSTR,
+ pub pwszLoadCallbackDataFunctionName: ::windows_sys::core::PSTR,
+ pub pwszFreeCallbackDataFunctionName: ::windows_sys::core::PSTR,
+}
+impl ::core::marker::Copy for CRYPT_PROVIDER_REGDEFUSAGE {}
+impl ::core::clone::Clone for CRYPT_PROVIDER_REGDEFUSAGE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+pub struct CRYPT_PROVIDER_SGNR {
+ pub cbStruct: u32,
+ pub sftVerifyAsOf: super::super::Foundation::FILETIME,
+ pub csCertChain: u32,
+ pub pasCertChain: *mut CRYPT_PROVIDER_CERT,
+ pub dwSignerType: u32,
+ pub psSigner: *mut super::Cryptography::CMSG_SIGNER_INFO,
+ pub dwError: u32,
+ pub csCounterSigners: u32,
+ pub pasCounterSigners: *mut CRYPT_PROVIDER_SGNR,
+ pub pChainContext: *mut super::Cryptography::CERT_CHAIN_CONTEXT,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::marker::Copy for CRYPT_PROVIDER_SGNR {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::clone::Clone for CRYPT_PROVIDER_SGNR {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+pub struct CRYPT_PROVIDER_SIGSTATE {
+ pub cbStruct: u32,
+ pub rhSecondarySigs: *mut *mut ::core::ffi::c_void,
+ pub hPrimarySig: *mut ::core::ffi::c_void,
+ pub fFirstAttemptMade: super::super::Foundation::BOOL,
+ pub fNoMoreSigs: super::super::Foundation::BOOL,
+ pub cSecondarySigs: u32,
+ pub dwCurrentIndex: u32,
+ pub fSupportMultiSig: super::super::Foundation::BOOL,
+ pub dwCryptoPolicySupport: u32,
+ pub iAttemptCount: u32,
+ pub fCheckedSealing: super::super::Foundation::BOOL,
+ pub pSealingSignature: *mut SEALING_SIGNATURE_ATTRIBUTE,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::marker::Copy for CRYPT_PROVIDER_SIGSTATE {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::clone::Clone for CRYPT_PROVIDER_SIGSTATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub struct CRYPT_PROVUI_DATA {
+ pub cbStruct: u32,
+ pub dwFinalError: u32,
+ pub pYesButtonText: ::windows_sys::core::PWSTR,
+ pub pNoButtonText: ::windows_sys::core::PWSTR,
+ pub pMoreInfoButtonText: ::windows_sys::core::PWSTR,
+ pub pAdvancedLinkText: ::windows_sys::core::PWSTR,
+ pub pCopyActionText: ::windows_sys::core::PWSTR,
+ pub pCopyActionTextNoTS: ::windows_sys::core::PWSTR,
+ pub pCopyActionTextNotSigned: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for CRYPT_PROVUI_DATA {}
+impl ::core::clone::Clone for CRYPT_PROVUI_DATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+pub struct CRYPT_PROVUI_FUNCS {
+ pub cbStruct: u32,
+ pub psUIData: *mut CRYPT_PROVUI_DATA,
+ pub pfnOnMoreInfoClick: PFN_PROVUI_CALL,
+ pub pfnOnMoreInfoClickDefault: PFN_PROVUI_CALL,
+ pub pfnOnAdvancedClick: PFN_PROVUI_CALL,
+ pub pfnOnAdvancedClickDefault: PFN_PROVUI_CALL,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+impl ::core::marker::Copy for CRYPT_PROVUI_FUNCS {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+impl ::core::clone::Clone for CRYPT_PROVUI_FUNCS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub struct CRYPT_REGISTER_ACTIONID {
+ pub cbStruct: u32,
+ pub sInitProvider: CRYPT_TRUST_REG_ENTRY,
+ pub sObjectProvider: CRYPT_TRUST_REG_ENTRY,
+ pub sSignatureProvider: CRYPT_TRUST_REG_ENTRY,
+ pub sCertificateProvider: CRYPT_TRUST_REG_ENTRY,
+ pub sCertificatePolicyProvider: CRYPT_TRUST_REG_ENTRY,
+ pub sFinalPolicyProvider: CRYPT_TRUST_REG_ENTRY,
+ pub sTestPolicyProvider: CRYPT_TRUST_REG_ENTRY,
+ pub sCleanupProvider: CRYPT_TRUST_REG_ENTRY,
+}
+impl ::core::marker::Copy for CRYPT_REGISTER_ACTIONID {}
+impl ::core::clone::Clone for CRYPT_REGISTER_ACTIONID {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub struct CRYPT_TRUST_REG_ENTRY {
+ pub cbStruct: u32,
+ pub pwszDLLName: ::windows_sys::core::PWSTR,
+ pub pwszFunctionName: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for CRYPT_TRUST_REG_ENTRY {}
+impl ::core::clone::Clone for CRYPT_TRUST_REG_ENTRY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const DRIVER_CLEANUPPOLICY_FUNCTION: &str = "DriverCleanupPolicy";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const DRIVER_FINALPOLPROV_FUNCTION: &str = "DriverFinalPolicy";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const DRIVER_INITPROV_FUNCTION: &str = "DriverInitializePolicy";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+pub struct DRIVER_VER_INFO {
+ pub cbStruct: u32,
+ pub dwReserved1: usize,
+ pub dwReserved2: usize,
+ pub dwPlatform: u32,
+ pub dwVersion: u32,
+ pub wszVersion: [u16; 260],
+ pub wszSignedBy: [u16; 260],
+ pub pcSignerCertContext: *const super::Cryptography::CERT_CONTEXT,
+ pub sOSVersionLow: DRIVER_VER_MAJORMINOR,
+ pub sOSVersionHigh: DRIVER_VER_MAJORMINOR,
+ pub dwBuildNumberLow: u32,
+ pub dwBuildNumberHigh: u32,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::marker::Copy for DRIVER_VER_INFO {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::clone::Clone for DRIVER_VER_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub struct DRIVER_VER_MAJORMINOR {
+ pub dwMajor: u32,
+ pub dwMinor: u32,
+}
+impl ::core::marker::Copy for DRIVER_VER_MAJORMINOR {}
+impl ::core::clone::Clone for DRIVER_VER_MAJORMINOR {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const GENERIC_CHAIN_CERTTRUST_FUNCTION: &str = "GenericChainCertificateTrust";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const GENERIC_CHAIN_FINALPOLICY_FUNCTION: &str = "GenericChainFinalProv";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const HTTPS_CERTTRUST_FUNCTION: &str = "HTTPSCertificateTrust";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const HTTPS_CHKCERT_FUNCTION: &str = "HTTPSCheckCertProv";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const HTTPS_FINALPOLICY_FUNCTION: &str = "HTTPSFinalProv";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct INTENT_TO_SEAL_ATTRIBUTE {
+ pub version: u32,
+ pub seal: super::super::Foundation::BOOLEAN,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for INTENT_TO_SEAL_ATTRIBUTE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for INTENT_TO_SEAL_ATTRIBUTE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const INTENT_TO_SEAL_ATTRIBUTE_STRUCT: ::windows_sys::core::PCSTR = 2010i32 as _;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const OFFICE_CLEANUPPOLICY_FUNCTION: &str = "OfficeCleanupPolicy";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const OFFICE_INITPROV_FUNCTION: &str = "OfficeInitializePolicy";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const OFFICE_POLICY_PROVIDER_DLL_NAME: &str = "WINTRUST.DLL";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_ALLOCANDFILLDEFUSAGE = ::core::option::Option<unsafe extern "system" fn(pszusageoid: ::windows_sys::core::PCSTR, psdefusage: *const CRYPT_PROVIDER_DEFUSAGE) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+pub type PFN_CPD_ADD_CERT = ::core::option::Option<unsafe extern "system" fn(pprovdata: *const CRYPT_PROVIDER_DATA, idxsigner: u32, fcountersigner: super::super::Foundation::BOOL, idxcountersigner: u32, pcert2add: *const super::Cryptography::CERT_CONTEXT) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+pub type PFN_CPD_ADD_PRIVDATA = ::core::option::Option<unsafe extern "system" fn(pprovdata: *const CRYPT_PROVIDER_DATA, pprivdata2add: *const CRYPT_PROVIDER_PRIVDATA) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+pub type PFN_CPD_ADD_SGNR = ::core::option::Option<unsafe extern "system" fn(pprovdata: *const CRYPT_PROVIDER_DATA, fcountersigner: super::super::Foundation::BOOL, idxsigner: u32, psgnr2add: *const CRYPT_PROVIDER_SGNR) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+pub type PFN_CPD_ADD_STORE = ::core::option::Option<unsafe extern "system" fn(pprovdata: *const CRYPT_PROVIDER_DATA, hstore2add: super::Cryptography::HCERTSTORE) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub type PFN_CPD_MEM_ALLOC = ::core::option::Option<unsafe extern "system" fn(cbsize: u32) -> *mut ::core::ffi::c_void>;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub type PFN_CPD_MEM_FREE = ::core::option::Option<unsafe extern "system" fn(pvmem2free: *const ::core::ffi::c_void)>;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFN_FREEDEFUSAGE = ::core::option::Option<unsafe extern "system" fn(pszusageoid: ::windows_sys::core::PCSTR, psdefusage: *const CRYPT_PROVIDER_DEFUSAGE) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+pub type PFN_PROVIDER_CERTCHKPOLICY_CALL = ::core::option::Option<unsafe extern "system" fn(pprovdata: *const CRYPT_PROVIDER_DATA, idxsigner: u32, fcountersignerchain: super::super::Foundation::BOOL, idxcountersigner: u32) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+pub type PFN_PROVIDER_CERTTRUST_CALL = ::core::option::Option<unsafe extern "system" fn(pprovdata: *mut CRYPT_PROVIDER_DATA) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+pub type PFN_PROVIDER_CLEANUP_CALL = ::core::option::Option<unsafe extern "system" fn(pprovdata: *mut CRYPT_PROVIDER_DATA) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+pub type PFN_PROVIDER_FINALPOLICY_CALL = ::core::option::Option<unsafe extern "system" fn(pprovdata: *mut CRYPT_PROVIDER_DATA) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+pub type PFN_PROVIDER_INIT_CALL = ::core::option::Option<unsafe extern "system" fn(pprovdata: *mut CRYPT_PROVIDER_DATA) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+pub type PFN_PROVIDER_OBJTRUST_CALL = ::core::option::Option<unsafe extern "system" fn(pprovdata: *mut CRYPT_PROVIDER_DATA) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+pub type PFN_PROVIDER_SIGTRUST_CALL = ::core::option::Option<unsafe extern "system" fn(pprovdata: *mut CRYPT_PROVIDER_DATA) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+pub type PFN_PROVIDER_TESTFINALPOLICY_CALL = ::core::option::Option<unsafe extern "system" fn(pprovdata: *mut CRYPT_PROVIDER_DATA) -> ::windows_sys::core::HRESULT>;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+pub type PFN_PROVUI_CALL = ::core::option::Option<unsafe extern "system" fn(hwndsecuritydialog: super::super::Foundation::HWND, pprovdata: *const CRYPT_PROVIDER_DATA) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+pub type PFN_WTD_GENERIC_CHAIN_POLICY_CALLBACK = ::core::option::Option<unsafe extern "system" fn(pprovdata: *mut CRYPT_PROVIDER_DATA, dwsteperror: u32, dwregpolicysettings: u32, csigner: u32, rgpsigner: *mut *mut WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO, pvpolicyarg: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+pub struct PROVDATA_SIP {
+ pub cbStruct: u32,
+ pub gSubject: ::windows_sys::core::GUID,
+ pub pSip: *mut super::Cryptography::Sip::SIP_DISPATCH_INFO,
+ pub pCATSip: *mut super::Cryptography::Sip::SIP_DISPATCH_INFO,
+ pub psSipSubjectInfo: *mut super::Cryptography::Sip::SIP_SUBJECTINFO,
+ pub psSipCATSubjectInfo: *mut super::Cryptography::Sip::SIP_SUBJECTINFO,
+ pub psIndirectData: *mut super::Cryptography::Sip::SIP_INDIRECT_DATA,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+impl ::core::marker::Copy for PROVDATA_SIP {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+impl ::core::clone::Clone for PROVDATA_SIP {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(feature = "Win32_Security_Cryptography")]
+pub struct SEALING_SIGNATURE_ATTRIBUTE {
+ pub version: u32,
+ pub signerIndex: u32,
+ pub signatureAlgorithm: super::Cryptography::CRYPT_ALGORITHM_IDENTIFIER,
+ pub encryptedDigest: super::Cryptography::CRYPTOAPI_BLOB,
+}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::marker::Copy for SEALING_SIGNATURE_ATTRIBUTE {}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::clone::Clone for SEALING_SIGNATURE_ATTRIBUTE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SEALING_SIGNATURE_ATTRIBUTE_STRUCT: ::windows_sys::core::PCSTR = 2011i32 as _;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(feature = "Win32_Security_Cryptography")]
+pub struct SEALING_TIMESTAMP_ATTRIBUTE {
+ pub version: u32,
+ pub signerIndex: u32,
+ pub sealTimeStampToken: super::Cryptography::CRYPTOAPI_BLOB,
+}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::marker::Copy for SEALING_TIMESTAMP_ATTRIBUTE {}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::clone::Clone for SEALING_TIMESTAMP_ATTRIBUTE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SEALING_TIMESTAMP_ATTRIBUTE_STRUCT: ::windows_sys::core::PCSTR = 2012i32 as _;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SGNR_TYPE_TIMESTAMP: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_CAB_DATA_OBJID: &str = "1.3.6.1.4.1.311.2.1.25";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_CAB_DATA_STRUCT: ::windows_sys::core::PCSTR = 2008i32 as _;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_CERT_EXTENSIONS_OBJID: &str = "1.3.6.1.4.1.311.2.1.14";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_COMMERCIAL_SP_KEY_PURPOSE_OBJID: &str = "1.3.6.1.4.1.311.2.1.22";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_COMMON_NAME_OBJID: &str = "2.5.4.3";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_ENCRYPTED_DIGEST_RETRY_COUNT_OBJID: &str = "1.3.6.1.4.1.311.2.6.2";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_FILE_LINK_CHOICE: u32 = 3u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SPC_FINANCIAL_CRITERIA {
+ pub fFinancialInfoAvailable: super::super::Foundation::BOOL,
+ pub fMeetsCriteria: super::super::Foundation::BOOL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SPC_FINANCIAL_CRITERIA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SPC_FINANCIAL_CRITERIA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_FINANCIAL_CRITERIA_OBJID: &str = "1.3.6.1.4.1.311.2.1.27";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_FINANCIAL_CRITERIA_STRUCT: ::windows_sys::core::PCSTR = 2002i32 as _;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_GLUE_RDN_OBJID: &str = "1.3.6.1.4.1.311.2.1.25";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(feature = "Win32_Security_Cryptography")]
+pub struct SPC_IMAGE {
+ pub pImageLink: *mut SPC_LINK,
+ pub Bitmap: super::Cryptography::CRYPTOAPI_BLOB,
+ pub Metafile: super::Cryptography::CRYPTOAPI_BLOB,
+ pub EnhancedMetafile: super::Cryptography::CRYPTOAPI_BLOB,
+ pub GifFile: super::Cryptography::CRYPTOAPI_BLOB,
+}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::marker::Copy for SPC_IMAGE {}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::clone::Clone for SPC_IMAGE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(feature = "Win32_Security_Cryptography")]
+pub struct SPC_INDIRECT_DATA_CONTENT {
+ pub Data: super::Cryptography::CRYPT_ATTRIBUTE_TYPE_VALUE,
+ pub DigestAlgorithm: super::Cryptography::CRYPT_ALGORITHM_IDENTIFIER,
+ pub Digest: super::Cryptography::CRYPTOAPI_BLOB,
+}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::marker::Copy for SPC_INDIRECT_DATA_CONTENT {}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::clone::Clone for SPC_INDIRECT_DATA_CONTENT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_INDIRECT_DATA_CONTENT_STRUCT: ::windows_sys::core::PCSTR = 2003i32 as _;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_INDIRECT_DATA_OBJID: &str = "1.3.6.1.4.1.311.2.1.4";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_INDIVIDUAL_SP_KEY_PURPOSE_OBJID: &str = "1.3.6.1.4.1.311.2.1.21";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_JAVA_CLASS_DATA_OBJID: &str = "1.3.6.1.4.1.311.2.1.20";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_JAVA_CLASS_DATA_STRUCT: ::windows_sys::core::PCSTR = 2009i32 as _;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(feature = "Win32_Security_Cryptography")]
+pub struct SPC_LINK {
+ pub dwLinkChoice: u32,
+ pub Anonymous: SPC_LINK_0,
+}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::marker::Copy for SPC_LINK {}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::clone::Clone for SPC_LINK {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(feature = "Win32_Security_Cryptography")]
+pub union SPC_LINK_0 {
+ pub pwszUrl: ::windows_sys::core::PWSTR,
+ pub Moniker: SPC_SERIALIZED_OBJECT,
+ pub pwszFile: ::windows_sys::core::PWSTR,
+}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::marker::Copy for SPC_LINK_0 {}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::clone::Clone for SPC_LINK_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_LINK_OBJID: &str = "1.3.6.1.4.1.311.2.1.28";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_LINK_STRUCT: ::windows_sys::core::PCSTR = 2005i32 as _;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_MINIMAL_CRITERIA_OBJID: &str = "1.3.6.1.4.1.311.2.1.26";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_MINIMAL_CRITERIA_STRUCT: ::windows_sys::core::PCSTR = 2001i32 as _;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_MONIKER_LINK_CHOICE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_NATURAL_AUTH_PLUGIN_OBJID: &str = "1.3.6.1.4.1.311.96.1.1";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(feature = "Win32_Security_Cryptography")]
+pub struct SPC_PE_IMAGE_DATA {
+ pub Flags: super::Cryptography::CRYPT_BIT_BLOB,
+ pub pFile: *mut SPC_LINK,
+}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::marker::Copy for SPC_PE_IMAGE_DATA {}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::clone::Clone for SPC_PE_IMAGE_DATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_PE_IMAGE_DATA_OBJID: &str = "1.3.6.1.4.1.311.2.1.15";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_PE_IMAGE_DATA_STRUCT: ::windows_sys::core::PCSTR = 2004i32 as _;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_PE_IMAGE_PAGE_HASHES_V1_OBJID: &str = "1.3.6.1.4.1.311.2.3.1";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_PE_IMAGE_PAGE_HASHES_V2_OBJID: &str = "1.3.6.1.4.1.311.2.3.2";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_RAW_FILE_DATA_OBJID: &str = "1.3.6.1.4.1.311.2.1.18";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_RELAXED_PE_MARKER_CHECK_OBJID: &str = "1.3.6.1.4.1.311.2.6.1";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(feature = "Win32_Security_Cryptography")]
+pub struct SPC_SERIALIZED_OBJECT {
+ pub ClassId: [u8; 16],
+ pub SerializedData: super::Cryptography::CRYPTOAPI_BLOB,
+}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::marker::Copy for SPC_SERIALIZED_OBJECT {}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::clone::Clone for SPC_SERIALIZED_OBJECT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub struct SPC_SIGINFO {
+ pub dwSipVersion: u32,
+ pub gSIPGuid: ::windows_sys::core::GUID,
+ pub dwReserved1: u32,
+ pub dwReserved2: u32,
+ pub dwReserved3: u32,
+ pub dwReserved4: u32,
+ pub dwReserved5: u32,
+}
+impl ::core::marker::Copy for SPC_SIGINFO {}
+impl ::core::clone::Clone for SPC_SIGINFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_SIGINFO_OBJID: &str = "1.3.6.1.4.1.311.2.1.30";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_SIGINFO_STRUCT: ::windows_sys::core::PCSTR = 2130i32 as _;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(feature = "Win32_Security_Cryptography")]
+pub struct SPC_SP_AGENCY_INFO {
+ pub pPolicyInformation: *mut SPC_LINK,
+ pub pwszPolicyDisplayText: ::windows_sys::core::PWSTR,
+ pub pLogoImage: *mut SPC_IMAGE,
+ pub pLogoLink: *mut SPC_LINK,
+}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::marker::Copy for SPC_SP_AGENCY_INFO {}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::clone::Clone for SPC_SP_AGENCY_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_SP_AGENCY_INFO_OBJID: &str = "1.3.6.1.4.1.311.2.1.10";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_SP_AGENCY_INFO_STRUCT: ::windows_sys::core::PCSTR = 2000i32 as _;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(feature = "Win32_Security_Cryptography")]
+pub struct SPC_SP_OPUS_INFO {
+ pub pwszProgramName: ::windows_sys::core::PCWSTR,
+ pub pMoreInfo: *mut SPC_LINK,
+ pub pPublisherInfo: *mut SPC_LINK,
+}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::marker::Copy for SPC_SP_OPUS_INFO {}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::clone::Clone for SPC_SP_OPUS_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_SP_OPUS_INFO_OBJID: &str = "1.3.6.1.4.1.311.2.1.12";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_SP_OPUS_INFO_STRUCT: ::windows_sys::core::PCSTR = 2007i32 as _;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub struct SPC_STATEMENT_TYPE {
+ pub cKeyPurposeId: u32,
+ pub rgpszKeyPurposeId: *mut ::windows_sys::core::PSTR,
+}
+impl ::core::marker::Copy for SPC_STATEMENT_TYPE {}
+impl ::core::clone::Clone for SPC_STATEMENT_TYPE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_STATEMENT_TYPE_OBJID: &str = "1.3.6.1.4.1.311.2.1.11";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_STATEMENT_TYPE_STRUCT: ::windows_sys::core::PCSTR = 2006i32 as _;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_STRUCTURED_STORAGE_DATA_OBJID: &str = "1.3.6.1.4.1.311.2.1.19";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_TIME_STAMP_REQUEST_OBJID: &str = "1.3.6.1.4.1.311.3.2.1";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_URL_LINK_CHOICE: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_UUID_LENGTH: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SPC_WINDOWS_HELLO_COMPATIBILITY_OBJID: &str = "1.3.6.1.4.1.311.10.41.1";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SP_CHKCERT_FUNCTION: &str = "SoftpubCheckCert";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SP_CLEANUPPOLICY_FUNCTION: &str = "SoftpubCleanup";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SP_FINALPOLICY_FUNCTION: &str = "SoftpubAuthenticode";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SP_GENERIC_CERT_INIT_FUNCTION: &str = "SoftpubDefCertInit";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SP_INIT_FUNCTION: &str = "SoftpubInitialize";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SP_OBJTRUST_FUNCTION: &str = "SoftpubLoadMessage";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SP_POLICY_PROVIDER_DLL_NAME: &str = "WINTRUST.DLL";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SP_SIGTRUST_FUNCTION: &str = "SoftpubLoadSignature";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const SP_TESTDUMPPOLICY_FUNCTION_TEST: &str = "SoftpubDumpStructure";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const TRUSTERROR_MAX_STEPS: u32 = 38u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const TRUSTERROR_STEP_CATALOGFILE: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const TRUSTERROR_STEP_CERTSTORE: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const TRUSTERROR_STEP_FILEIO: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const TRUSTERROR_STEP_FINAL_CERTCHKPROV: u32 = 35u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const TRUSTERROR_STEP_FINAL_CERTPROV: u32 = 34u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const TRUSTERROR_STEP_FINAL_INITPROV: u32 = 31u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const TRUSTERROR_STEP_FINAL_OBJPROV: u32 = 32u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const TRUSTERROR_STEP_FINAL_POLICYPROV: u32 = 36u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const TRUSTERROR_STEP_FINAL_SIGPROV: u32 = 33u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const TRUSTERROR_STEP_FINAL_UIPROV: u32 = 37u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const TRUSTERROR_STEP_FINAL_WVTINIT: u32 = 30u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const TRUSTERROR_STEP_MESSAGE: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const TRUSTERROR_STEP_MSG_CERTCHAIN: u32 = 15u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const TRUSTERROR_STEP_MSG_COUNTERSIGCERT: u32 = 17u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const TRUSTERROR_STEP_MSG_COUNTERSIGINFO: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const TRUSTERROR_STEP_MSG_INNERCNT: u32 = 11u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const TRUSTERROR_STEP_MSG_INNERCNTTYPE: u32 = 10u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const TRUSTERROR_STEP_MSG_SIGNERCERT: u32 = 14u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const TRUSTERROR_STEP_MSG_SIGNERCOUNT: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const TRUSTERROR_STEP_MSG_SIGNERINFO: u32 = 13u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const TRUSTERROR_STEP_MSG_STORE: u32 = 12u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const TRUSTERROR_STEP_SIP: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const TRUSTERROR_STEP_SIPSUBJINFO: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const TRUSTERROR_STEP_VERIFY_MSGHASH: u32 = 18u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const TRUSTERROR_STEP_VERIFY_MSGINDIRECTDATA: u32 = 19u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const TRUSTERROR_STEP_WVTPARAMS: u32 = 0u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub struct WINTRUST_BLOB_INFO {
+ pub cbStruct: u32,
+ pub gSubject: ::windows_sys::core::GUID,
+ pub pcwszDisplayName: ::windows_sys::core::PCWSTR,
+ pub cbMemObject: u32,
+ pub pbMemObject: *mut u8,
+ pub cbMemSignedMsg: u32,
+ pub pbMemSignedMsg: *mut u8,
+}
+impl ::core::marker::Copy for WINTRUST_BLOB_INFO {}
+impl ::core::clone::Clone for WINTRUST_BLOB_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+pub struct WINTRUST_CATALOG_INFO {
+ pub cbStruct: u32,
+ pub dwCatalogVersion: u32,
+ pub pcwszCatalogFilePath: ::windows_sys::core::PCWSTR,
+ pub pcwszMemberTag: ::windows_sys::core::PCWSTR,
+ pub pcwszMemberFilePath: ::windows_sys::core::PCWSTR,
+ pub hMemberFile: super::super::Foundation::HANDLE,
+ pub pbCalculatedFileHash: *mut u8,
+ pub cbCalculatedFileHash: u32,
+ pub pcCatalogContext: *mut super::Cryptography::CTL_CONTEXT,
+ pub hCatAdmin: isize,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::marker::Copy for WINTRUST_CATALOG_INFO {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::clone::Clone for WINTRUST_CATALOG_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+pub struct WINTRUST_CERT_INFO {
+ pub cbStruct: u32,
+ pub pcwszDisplayName: ::windows_sys::core::PCWSTR,
+ pub psCertContext: *mut super::Cryptography::CERT_CONTEXT,
+ pub chStores: u32,
+ pub pahStores: *mut super::Cryptography::HCERTSTORE,
+ pub dwFlags: u32,
+ pub psftVerifyAsOf: *mut super::super::Foundation::FILETIME,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::marker::Copy for WINTRUST_CERT_INFO {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::clone::Clone for WINTRUST_CERT_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WINTRUST_CONFIG_REGPATH: &str = "Software\\Microsoft\\Cryptography\\Wintrust\\Config";
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+pub struct WINTRUST_DATA {
+ pub cbStruct: u32,
+ pub pPolicyCallbackData: *mut ::core::ffi::c_void,
+ pub pSIPClientData: *mut ::core::ffi::c_void,
+ pub dwUIChoice: WINTRUST_DATA_UICHOICE,
+ pub fdwRevocationChecks: WINTRUST_DATA_REVOCATION_CHECKS,
+ pub dwUnionChoice: WINTRUST_DATA_UNION_CHOICE,
+ pub Anonymous: WINTRUST_DATA_0,
+ pub dwStateAction: WINTRUST_DATA_STATE_ACTION,
+ pub hWVTStateData: super::super::Foundation::HANDLE,
+ pub pwszURLReference: ::windows_sys::core::PWSTR,
+ pub dwProvFlags: WINTRUST_DATA_PROVIDER_FLAGS,
+ pub dwUIContext: WINTRUST_DATA_UICONTEXT,
+ pub pSignatureSettings: *mut WINTRUST_SIGNATURE_SETTINGS,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::marker::Copy for WINTRUST_DATA {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::clone::Clone for WINTRUST_DATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+pub union WINTRUST_DATA_0 {
+ pub pFile: *mut WINTRUST_FILE_INFO,
+ pub pCatalog: *mut WINTRUST_CATALOG_INFO,
+ pub pBlob: *mut WINTRUST_BLOB_INFO,
+ pub pSgnr: *mut WINTRUST_SGNR_INFO,
+ pub pCert: *mut WINTRUST_CERT_INFO,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::marker::Copy for WINTRUST_DATA_0 {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::clone::Clone for WINTRUST_DATA_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub type WINTRUST_DATA_PROVIDER_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_USE_IE4_TRUST_FLAG: WINTRUST_DATA_PROVIDER_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_NO_IE4_CHAIN_FLAG: WINTRUST_DATA_PROVIDER_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_NO_POLICY_USAGE_FLAG: WINTRUST_DATA_PROVIDER_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_REVOCATION_CHECK_NONE: WINTRUST_DATA_PROVIDER_FLAGS = 16u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_REVOCATION_CHECK_END_CERT: WINTRUST_DATA_PROVIDER_FLAGS = 32u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_REVOCATION_CHECK_CHAIN: WINTRUST_DATA_PROVIDER_FLAGS = 64u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT: WINTRUST_DATA_PROVIDER_FLAGS = 128u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_SAFER_FLAG: WINTRUST_DATA_PROVIDER_FLAGS = 256u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_HASH_ONLY_FLAG: WINTRUST_DATA_PROVIDER_FLAGS = 512u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_USE_DEFAULT_OSVER_CHECK: WINTRUST_DATA_PROVIDER_FLAGS = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_LIFETIME_SIGNING_FLAG: WINTRUST_DATA_PROVIDER_FLAGS = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_CACHE_ONLY_URL_RETRIEVAL: WINTRUST_DATA_PROVIDER_FLAGS = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_DISABLE_MD2_MD4: WINTRUST_DATA_PROVIDER_FLAGS = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_MOTW: WINTRUST_DATA_PROVIDER_FLAGS = 16384u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub type WINTRUST_DATA_REVOCATION_CHECKS = u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_REVOKE_NONE: WINTRUST_DATA_REVOCATION_CHECKS = 0u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_REVOKE_WHOLECHAIN: WINTRUST_DATA_REVOCATION_CHECKS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub type WINTRUST_DATA_STATE_ACTION = u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_STATEACTION_IGNORE: WINTRUST_DATA_STATE_ACTION = 0u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_STATEACTION_VERIFY: WINTRUST_DATA_STATE_ACTION = 1u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_STATEACTION_CLOSE: WINTRUST_DATA_STATE_ACTION = 2u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_STATEACTION_AUTO_CACHE: WINTRUST_DATA_STATE_ACTION = 3u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_STATEACTION_AUTO_CACHE_FLUSH: WINTRUST_DATA_STATE_ACTION = 4u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub type WINTRUST_DATA_UICHOICE = u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_UI_ALL: WINTRUST_DATA_UICHOICE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_UI_NONE: WINTRUST_DATA_UICHOICE = 2u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_UI_NOBAD: WINTRUST_DATA_UICHOICE = 3u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_UI_NOGOOD: WINTRUST_DATA_UICHOICE = 4u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub type WINTRUST_DATA_UICONTEXT = u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_UICONTEXT_EXECUTE: WINTRUST_DATA_UICONTEXT = 0u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_UICONTEXT_INSTALL: WINTRUST_DATA_UICONTEXT = 1u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub type WINTRUST_DATA_UNION_CHOICE = u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_CHOICE_FILE: WINTRUST_DATA_UNION_CHOICE = 1u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_CHOICE_CATALOG: WINTRUST_DATA_UNION_CHOICE = 2u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_CHOICE_BLOB: WINTRUST_DATA_UNION_CHOICE = 3u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_CHOICE_SIGNER: WINTRUST_DATA_UNION_CHOICE = 4u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_CHOICE_CERT: WINTRUST_DATA_UNION_CHOICE = 5u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WINTRUST_FILE_INFO {
+ pub cbStruct: u32,
+ pub pcwszFilePath: ::windows_sys::core::PCWSTR,
+ pub hFile: super::super::Foundation::HANDLE,
+ pub pgKnownSubject: *mut ::windows_sys::core::GUID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WINTRUST_FILE_INFO {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WINTRUST_FILE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub type WINTRUST_GET_DEFAULT_FOR_USAGE_ACTION = u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const DWACTION_ALLOCANDFILL: WINTRUST_GET_DEFAULT_FOR_USAGE_ACTION = 1u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const DWACTION_FREE: WINTRUST_GET_DEFAULT_FOR_USAGE_ACTION = 2u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WINTRUST_MAX_HASH_BYTES_TO_MAP_DEFAULT: u32 = 1048576u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WINTRUST_MAX_HASH_BYTES_TO_MAP_VALUE_NAME: &str = "MaxHashBytesToMap";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WINTRUST_MAX_HEADER_BYTES_TO_MAP_DEFAULT: u32 = 10485760u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WINTRUST_MAX_HEADER_BYTES_TO_MAP_VALUE_NAME: &str = "MaxHeaderBytesToMap";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub type WINTRUST_POLICY_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTPF_TRUSTTEST: WINTRUST_POLICY_FLAGS = 32u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTPF_TESTCANBEVALID: WINTRUST_POLICY_FLAGS = 128u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTPF_IGNOREEXPIRATION: WINTRUST_POLICY_FLAGS = 256u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTPF_IGNOREREVOKATION: WINTRUST_POLICY_FLAGS = 512u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTPF_OFFLINEOK_IND: WINTRUST_POLICY_FLAGS = 1024u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTPF_OFFLINEOK_COM: WINTRUST_POLICY_FLAGS = 2048u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTPF_OFFLINEOKNBU_IND: WINTRUST_POLICY_FLAGS = 4096u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTPF_OFFLINEOKNBU_COM: WINTRUST_POLICY_FLAGS = 8192u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTPF_VERIFY_V1_OFF: WINTRUST_POLICY_FLAGS = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTPF_IGNOREREVOCATIONONTS: WINTRUST_POLICY_FLAGS = 131072u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTPF_ALLOWONLYPERTRUST: WINTRUST_POLICY_FLAGS = 262144u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(feature = "Win32_Security_Cryptography")]
+pub struct WINTRUST_SGNR_INFO {
+ pub cbStruct: u32,
+ pub pcwszDisplayName: ::windows_sys::core::PCWSTR,
+ pub psSignerInfo: *mut super::Cryptography::CMSG_SIGNER_INFO,
+ pub chStores: u32,
+ pub pahStores: *mut super::Cryptography::HCERTSTORE,
+}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::marker::Copy for WINTRUST_SGNR_INFO {}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::clone::Clone for WINTRUST_SGNR_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(feature = "Win32_Security_Cryptography")]
+pub struct WINTRUST_SIGNATURE_SETTINGS {
+ pub cbStruct: u32,
+ pub dwIndex: u32,
+ pub dwFlags: WINTRUST_SIGNATURE_SETTINGS_FLAGS,
+ pub cSecondarySigs: u32,
+ pub dwVerifiedSigIndex: u32,
+ pub pCryptoPolicy: *mut super::Cryptography::CERT_STRONG_SIGN_PARA,
+}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::marker::Copy for WINTRUST_SIGNATURE_SETTINGS {}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::clone::Clone for WINTRUST_SIGNATURE_SETTINGS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub type WINTRUST_SIGNATURE_SETTINGS_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WSS_VERIFY_SPECIFIC: WINTRUST_SIGNATURE_SETTINGS_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WSS_GET_SECONDARY_SIG_COUNT: WINTRUST_SIGNATURE_SETTINGS_FLAGS = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub struct WIN_CERTIFICATE {
+ pub dwLength: u32,
+ pub wRevision: u16,
+ pub wCertificateType: u16,
+ pub bCertificate: [u8; 1],
+}
+impl ::core::marker::Copy for WIN_CERTIFICATE {}
+impl ::core::clone::Clone for WIN_CERTIFICATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WIN_CERT_REVISION_1_0: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WIN_CERT_REVISION_2_0: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WIN_CERT_TYPE_PKCS_SIGNED_DATA: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WIN_CERT_TYPE_RESERVED_1: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WIN_CERT_TYPE_TS_STACK_SIGNED: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WIN_CERT_TYPE_X509: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WIN_SPUB_TRUSTED_PUBLISHER_DATA {
+ pub hClientToken: super::super::Foundation::HANDLE,
+ pub lpCertificate: *mut WIN_CERTIFICATE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WIN_SPUB_TRUSTED_PUBLISHER_DATA {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WIN_SPUB_TRUSTED_PUBLISHER_DATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WIN_TRUST_ACTDATA_CONTEXT_WITH_SUBJECT {
+ pub hClientToken: super::super::Foundation::HANDLE,
+ pub SubjectType: *mut ::windows_sys::core::GUID,
+ pub Subject: *mut ::core::ffi::c_void,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WIN_TRUST_ACTDATA_CONTEXT_WITH_SUBJECT {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WIN_TRUST_ACTDATA_CONTEXT_WITH_SUBJECT {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub struct WIN_TRUST_ACTDATA_SUBJECT_ONLY {
+ pub SubjectType: *mut ::windows_sys::core::GUID,
+ pub Subject: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for WIN_TRUST_ACTDATA_SUBJECT_ONLY {}
+impl ::core::clone::Clone for WIN_TRUST_ACTDATA_SUBJECT_ONLY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WIN_TRUST_SUBJECT_FILE {
+ pub hFile: super::super::Foundation::HANDLE,
+ pub lpPath: ::windows_sys::core::PCWSTR,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WIN_TRUST_SUBJECT_FILE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WIN_TRUST_SUBJECT_FILE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WIN_TRUST_SUBJECT_FILE_AND_DISPLAY {
+ pub hFile: super::super::Foundation::HANDLE,
+ pub lpPath: ::windows_sys::core::PCWSTR,
+ pub lpDisplayName: ::windows_sys::core::PCWSTR,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WIN_TRUST_SUBJECT_FILE_AND_DISPLAY {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WIN_TRUST_SUBJECT_FILE_AND_DISPLAY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WSS_CERTTRUST_SUPPORT: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WSS_INPUT_FLAG_MASK: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WSS_OBJTRUST_SUPPORT: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WSS_OUTPUT_FLAG_MASK: u32 = 3758096384u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WSS_OUT_FILE_SUPPORTS_SEAL: u32 = 536870912u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WSS_OUT_HAS_SEALING_INTENT: u32 = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WSS_OUT_SEALING_STATUS_VERIFIED: u32 = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WSS_SIGTRUST_SUPPORT: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WSS_VERIFY_SEALING: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTCI_DONT_OPEN_STORES: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTCI_OPEN_ONLY_ROOT: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTCI_USE_LOCAL_MACHINE: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_CODE_INTEGRITY_DRIVER_MODE: u32 = 32768u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(feature = "Win32_Security_Cryptography")]
+pub struct WTD_GENERIC_CHAIN_POLICY_CREATE_INFO {
+ pub Anonymous: WTD_GENERIC_CHAIN_POLICY_CREATE_INFO_0,
+ pub hChainEngine: super::Cryptography::HCERTCHAINENGINE,
+ pub pChainPara: *mut super::Cryptography::CERT_CHAIN_PARA,
+ pub dwFlags: u32,
+ pub pvReserved: *mut ::core::ffi::c_void,
+}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::marker::Copy for WTD_GENERIC_CHAIN_POLICY_CREATE_INFO {}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::clone::Clone for WTD_GENERIC_CHAIN_POLICY_CREATE_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(feature = "Win32_Security_Cryptography")]
+pub union WTD_GENERIC_CHAIN_POLICY_CREATE_INFO_0 {
+ pub cbStruct: u32,
+ pub cbSize: u32,
+}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::marker::Copy for WTD_GENERIC_CHAIN_POLICY_CREATE_INFO_0 {}
+#[cfg(feature = "Win32_Security_Cryptography")]
+impl ::core::clone::Clone for WTD_GENERIC_CHAIN_POLICY_CREATE_INFO_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+pub struct WTD_GENERIC_CHAIN_POLICY_DATA {
+ pub Anonymous: WTD_GENERIC_CHAIN_POLICY_DATA_0,
+ pub pSignerChainInfo: *mut WTD_GENERIC_CHAIN_POLICY_CREATE_INFO,
+ pub pCounterSignerChainInfo: *mut WTD_GENERIC_CHAIN_POLICY_CREATE_INFO,
+ pub pfnPolicyCallback: PFN_WTD_GENERIC_CHAIN_POLICY_CALLBACK,
+ pub pvPolicyArg: *mut ::core::ffi::c_void,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+impl ::core::marker::Copy for WTD_GENERIC_CHAIN_POLICY_DATA {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+impl ::core::clone::Clone for WTD_GENERIC_CHAIN_POLICY_DATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+pub union WTD_GENERIC_CHAIN_POLICY_DATA_0 {
+ pub cbStruct: u32,
+ pub cbSize: u32,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+impl ::core::marker::Copy for WTD_GENERIC_CHAIN_POLICY_DATA_0 {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))]
+impl ::core::clone::Clone for WTD_GENERIC_CHAIN_POLICY_DATA_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+pub struct WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO {
+ pub Anonymous: WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO_0,
+ pub pChainContext: *mut super::Cryptography::CERT_CHAIN_CONTEXT,
+ pub dwSignerType: u32,
+ pub pMsgSignerInfo: *mut super::Cryptography::CMSG_SIGNER_INFO,
+ pub dwError: u32,
+ pub cCounterSigner: u32,
+ pub rgpCounterSigner: *mut *mut WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::marker::Copy for WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::clone::Clone for WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+pub union WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO_0 {
+ pub cbStruct: u32,
+ pub cbSize: u32,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::marker::Copy for WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO_0 {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))]
+impl ::core::clone::Clone for WTD_GENERIC_CHAIN_POLICY_SIGNER_INFO_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WTD_PROV_FLAGS_MASK: u32 = 65535u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WT_ADD_ACTION_ID_RET_RESULT_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WT_CURRENT_VERSION: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WT_PROVIDER_CERTTRUST_FUNCTION: &str = "WintrustCertificateTrust";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WT_PROVIDER_DLL_NAME: &str = "WINTRUST.DLL";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WT_TRUSTDBDIALOG_NO_UI_FLAG: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WT_TRUSTDBDIALOG_ONLY_PUB_TAB_FLAG: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WT_TRUSTDBDIALOG_WRITE_IEAK_STORE_FLAG: u32 = 512u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const WT_TRUSTDBDIALOG_WRITE_LEGACY_REG_FLAG: u32 = 256u32;
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const szOID_ENHANCED_HASH: &str = "1.3.6.1.4.1.311.2.5.1";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const szOID_INTENT_TO_SEAL: &str = "1.3.6.1.4.1.311.2.4.2";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const szOID_NESTED_SIGNATURE: &str = "1.3.6.1.4.1.311.2.4.1";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const szOID_PKCS_9_SEQUENCE_NUMBER: &str = "1.2.840.113549.1.9.25.4";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const szOID_SEALING_SIGNATURE: &str = "1.3.6.1.4.1.311.2.4.3";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const szOID_SEALING_TIMESTAMP: &str = "1.3.6.1.4.1.311.2.4.4";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const szOID_TRUSTED_CLIENT_AUTH_CA_LIST: &str = "1.3.6.1.4.1.311.2.2.2";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const szOID_TRUSTED_CODESIGNING_CA_LIST: &str = "1.3.6.1.4.1.311.2.2.1";
+#[doc = "*Required features: `\"Win32_Security_WinTrust\"`*"]
+pub const szOID_TRUSTED_SERVER_AUTH_CA_LIST: &str = "1.3.6.1.4.1.311.2.2.3";
diff --git a/vendor/windows-sys/src/Windows/Win32/Security/WinWlx/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/WinWlx/mod.rs
new file mode 100644
index 000000000..5e44182d7
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/Security/WinWlx/mod.rs
@@ -0,0 +1,559 @@
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PFNMSGECALLBACK = ::core::option::Option<unsafe extern "system" fn(bverbose: super::super::Foundation::BOOL, lpmessage: ::windows_sys::core::PCWSTR) -> u32>;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PWLX_ASSIGN_SHELL_PROTECTION = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, htoken: super::super::Foundation::HANDLE, hprocess: super::super::Foundation::HANDLE, hthread: super::super::Foundation::HANDLE) -> i32>;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PWLX_CHANGE_PASSWORD_NOTIFY = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, pmprinfo: *mut WLX_MPR_NOTIFY_INFO, dwchangeinfo: u32) -> i32>;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PWLX_CHANGE_PASSWORD_NOTIFY_EX = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, pmprinfo: *mut WLX_MPR_NOTIFY_INFO, dwchangeinfo: u32, providername: ::windows_sys::core::PCWSTR, reserved: *mut ::core::ffi::c_void) -> i32>;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`, `\"Win32_System_StationsAndDesktops\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops"))]
+pub type PWLX_CLOSE_USER_DESKTOP = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, pdesktop: *mut WLX_DESKTOP, htoken: super::super::Foundation::HANDLE) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`, `\"Win32_System_StationsAndDesktops\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops"))]
+pub type PWLX_CREATE_USER_DESKTOP = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, htoken: super::super::Foundation::HANDLE, flags: u32, pszdesktopname: ::windows_sys::core::PCWSTR, ppdesktop: *mut *mut WLX_DESKTOP) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
+pub type PWLX_DIALOG_BOX = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, hinst: super::super::Foundation::HANDLE, lpsztemplate: ::windows_sys::core::PCWSTR, hwndowner: super::super::Foundation::HWND, dlgprc: super::super::UI::WindowsAndMessaging::DLGPROC) -> i32>;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
+pub type PWLX_DIALOG_BOX_INDIRECT = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, hinst: super::super::Foundation::HANDLE, hdialogtemplate: *mut super::super::UI::WindowsAndMessaging::DLGTEMPLATE, hwndowner: super::super::Foundation::HWND, dlgprc: super::super::UI::WindowsAndMessaging::DLGPROC) -> i32>;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
+pub type PWLX_DIALOG_BOX_INDIRECT_PARAM = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, hinst: super::super::Foundation::HANDLE, hdialogtemplate: *mut super::super::UI::WindowsAndMessaging::DLGTEMPLATE, hwndowner: super::super::Foundation::HWND, dlgprc: super::super::UI::WindowsAndMessaging::DLGPROC, dwinitparam: super::super::Foundation::LPARAM) -> i32>;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
+pub type PWLX_DIALOG_BOX_PARAM = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, hinst: super::super::Foundation::HANDLE, lpsztemplate: ::windows_sys::core::PCWSTR, hwndowner: super::super::Foundation::HWND, dlgprc: super::super::UI::WindowsAndMessaging::DLGPROC, dwinitparam: super::super::Foundation::LPARAM) -> i32>;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PWLX_DISCONNECT = ::core::option::Option<unsafe extern "system" fn() -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PWLX_GET_OPTION = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, option: u32, value: *mut usize) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`, `\"Win32_System_StationsAndDesktops\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops"))]
+pub type PWLX_GET_SOURCE_DESKTOP = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, ppdesktop: *mut *mut WLX_DESKTOP) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PWLX_MESSAGE_BOX = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, hwndowner: super::super::Foundation::HWND, lpsztext: ::windows_sys::core::PCWSTR, lpsztitle: ::windows_sys::core::PCWSTR, fustyle: u32) -> i32>;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PWLX_QUERY_CLIENT_CREDENTIALS = ::core::option::Option<unsafe extern "system" fn(pcred: *mut WLX_CLIENT_CREDENTIALS_INFO_V1_0) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PWLX_QUERY_CONSOLESWITCH_CREDENTIALS = ::core::option::Option<unsafe extern "system" fn(pcred: *mut WLX_CONSOLESWITCH_CREDENTIALS_INFO_V1_0) -> u32>;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PWLX_QUERY_IC_CREDENTIALS = ::core::option::Option<unsafe extern "system" fn(pcred: *mut WLX_CLIENT_CREDENTIALS_INFO_V1_0) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PWLX_QUERY_TERMINAL_SERVICES_DATA = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, ptsdata: *mut WLX_TERMINAL_SERVICES_DATA, username: ::windows_sys::core::PCWSTR, domain: ::windows_sys::core::PCWSTR) -> u32>;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PWLX_QUERY_TS_LOGON_CREDENTIALS = ::core::option::Option<unsafe extern "system" fn(pcred: *mut WLX_CLIENT_CREDENTIALS_INFO_V2_0) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PWLX_SAS_NOTIFY = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, dwsastype: u32)>;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PWLX_SET_CONTEXT_POINTER = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, pwlxcontext: *mut ::core::ffi::c_void)>;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PWLX_SET_OPTION = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, option: u32, value: usize, oldvalue: *mut usize) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`, `\"Win32_System_StationsAndDesktops\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops"))]
+pub type PWLX_SET_RETURN_DESKTOP = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, pdesktop: *mut WLX_DESKTOP) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PWLX_SET_TIMEOUT = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE, timeout: u32) -> super::super::Foundation::BOOL>;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PWLX_SWITCH_DESKTOP_TO_USER = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE) -> i32>;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PWLX_SWITCH_DESKTOP_TO_WINLOGON = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE) -> i32>;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PWLX_USE_CTRL_ALT_DEL = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE)>;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PWLX_WIN31_MIGRATE = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE)>;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const STATUSMSG_OPTION_NOANIMATION: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const STATUSMSG_OPTION_SETFOREGROUND: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WLX_CLIENT_CREDENTIALS_INFO_V1_0 {
+ pub dwType: u32,
+ pub pszUserName: ::windows_sys::core::PWSTR,
+ pub pszDomain: ::windows_sys::core::PWSTR,
+ pub pszPassword: ::windows_sys::core::PWSTR,
+ pub fPromptForPassword: super::super::Foundation::BOOL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WLX_CLIENT_CREDENTIALS_INFO_V1_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WLX_CLIENT_CREDENTIALS_INFO_V1_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WLX_CLIENT_CREDENTIALS_INFO_V2_0 {
+ pub dwType: u32,
+ pub pszUserName: ::windows_sys::core::PWSTR,
+ pub pszDomain: ::windows_sys::core::PWSTR,
+ pub pszPassword: ::windows_sys::core::PWSTR,
+ pub fPromptForPassword: super::super::Foundation::BOOL,
+ pub fDisconnectOnLogonFailure: super::super::Foundation::BOOL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WLX_CLIENT_CREDENTIALS_INFO_V2_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WLX_CLIENT_CREDENTIALS_INFO_V2_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_CONSOLESWITCHCREDENTIAL_TYPE_V1_0: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct WLX_CONSOLESWITCH_CREDENTIALS_INFO_V1_0 {
+ pub dwType: u32,
+ pub UserToken: super::super::Foundation::HANDLE,
+ pub LogonId: super::super::Foundation::LUID,
+ pub Quotas: super::QUOTA_LIMITS,
+ pub UserName: ::windows_sys::core::PWSTR,
+ pub Domain: ::windows_sys::core::PWSTR,
+ pub LogonTime: i64,
+ pub SmartCardLogon: super::super::Foundation::BOOL,
+ pub ProfileLength: u32,
+ pub MessageType: u32,
+ pub LogonCount: u16,
+ pub BadPasswordCount: u16,
+ pub ProfileLogonTime: i64,
+ pub LogoffTime: i64,
+ pub KickOffTime: i64,
+ pub PasswordLastSet: i64,
+ pub PasswordCanChange: i64,
+ pub PasswordMustChange: i64,
+ pub LogonScript: ::windows_sys::core::PWSTR,
+ pub HomeDirectory: ::windows_sys::core::PWSTR,
+ pub FullName: ::windows_sys::core::PWSTR,
+ pub ProfilePath: ::windows_sys::core::PWSTR,
+ pub HomeDirectoryDrive: ::windows_sys::core::PWSTR,
+ pub LogonServer: ::windows_sys::core::PWSTR,
+ pub UserFlags: u32,
+ pub PrivateDataLen: u32,
+ pub PrivateData: *mut u8,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for WLX_CONSOLESWITCH_CREDENTIALS_INFO_V1_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for WLX_CONSOLESWITCH_CREDENTIALS_INFO_V1_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_CREATE_INSTANCE_ONLY: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_CREATE_USER: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_CREDENTIAL_TYPE_V1_0: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_CREDENTIAL_TYPE_V2_0: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_CURRENT_VERSION: u32 = 65540u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_System_StationsAndDesktops\"`*"]
+#[cfg(feature = "Win32_System_StationsAndDesktops")]
+pub struct WLX_DESKTOP {
+ pub Size: u32,
+ pub Flags: u32,
+ pub hDesktop: super::super::System::StationsAndDesktops::HDESK,
+ pub pszDesktopName: ::windows_sys::core::PWSTR,
+}
+#[cfg(feature = "Win32_System_StationsAndDesktops")]
+impl ::core::marker::Copy for WLX_DESKTOP {}
+#[cfg(feature = "Win32_System_StationsAndDesktops")]
+impl ::core::clone::Clone for WLX_DESKTOP {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_DESKTOP_HANDLE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_DESKTOP_NAME: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_DIRECTORY_LENGTH: u32 = 256u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
+pub struct WLX_DISPATCH_VERSION_1_0 {
+ pub WlxUseCtrlAltDel: PWLX_USE_CTRL_ALT_DEL,
+ pub WlxSetContextPointer: PWLX_SET_CONTEXT_POINTER,
+ pub WlxSasNotify: PWLX_SAS_NOTIFY,
+ pub WlxSetTimeout: PWLX_SET_TIMEOUT,
+ pub WlxAssignShellProtection: PWLX_ASSIGN_SHELL_PROTECTION,
+ pub WlxMessageBox: PWLX_MESSAGE_BOX,
+ pub WlxDialogBox: PWLX_DIALOG_BOX,
+ pub WlxDialogBoxParam: PWLX_DIALOG_BOX_PARAM,
+ pub WlxDialogBoxIndirect: PWLX_DIALOG_BOX_INDIRECT,
+ pub WlxDialogBoxIndirectParam: PWLX_DIALOG_BOX_INDIRECT_PARAM,
+ pub WlxSwitchDesktopToUser: PWLX_SWITCH_DESKTOP_TO_USER,
+ pub WlxSwitchDesktopToWinlogon: PWLX_SWITCH_DESKTOP_TO_WINLOGON,
+ pub WlxChangePasswordNotify: PWLX_CHANGE_PASSWORD_NOTIFY,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
+impl ::core::marker::Copy for WLX_DISPATCH_VERSION_1_0 {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))]
+impl ::core::clone::Clone for WLX_DISPATCH_VERSION_1_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`, `\"Win32_System_StationsAndDesktops\"`, `\"Win32_UI_WindowsAndMessaging\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops", feature = "Win32_UI_WindowsAndMessaging"))]
+pub struct WLX_DISPATCH_VERSION_1_1 {
+ pub WlxUseCtrlAltDel: PWLX_USE_CTRL_ALT_DEL,
+ pub WlxSetContextPointer: PWLX_SET_CONTEXT_POINTER,
+ pub WlxSasNotify: PWLX_SAS_NOTIFY,
+ pub WlxSetTimeout: PWLX_SET_TIMEOUT,
+ pub WlxAssignShellProtection: PWLX_ASSIGN_SHELL_PROTECTION,
+ pub WlxMessageBox: PWLX_MESSAGE_BOX,
+ pub WlxDialogBox: PWLX_DIALOG_BOX,
+ pub WlxDialogBoxParam: PWLX_DIALOG_BOX_PARAM,
+ pub WlxDialogBoxIndirect: PWLX_DIALOG_BOX_INDIRECT,
+ pub WlxDialogBoxIndirectParam: PWLX_DIALOG_BOX_INDIRECT_PARAM,
+ pub WlxSwitchDesktopToUser: PWLX_SWITCH_DESKTOP_TO_USER,
+ pub WlxSwitchDesktopToWinlogon: PWLX_SWITCH_DESKTOP_TO_WINLOGON,
+ pub WlxChangePasswordNotify: PWLX_CHANGE_PASSWORD_NOTIFY,
+ pub WlxGetSourceDesktop: PWLX_GET_SOURCE_DESKTOP,
+ pub WlxSetReturnDesktop: PWLX_SET_RETURN_DESKTOP,
+ pub WlxCreateUserDesktop: PWLX_CREATE_USER_DESKTOP,
+ pub WlxChangePasswordNotifyEx: PWLX_CHANGE_PASSWORD_NOTIFY_EX,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops", feature = "Win32_UI_WindowsAndMessaging"))]
+impl ::core::marker::Copy for WLX_DISPATCH_VERSION_1_1 {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops", feature = "Win32_UI_WindowsAndMessaging"))]
+impl ::core::clone::Clone for WLX_DISPATCH_VERSION_1_1 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`, `\"Win32_System_StationsAndDesktops\"`, `\"Win32_UI_WindowsAndMessaging\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops", feature = "Win32_UI_WindowsAndMessaging"))]
+pub struct WLX_DISPATCH_VERSION_1_2 {
+ pub WlxUseCtrlAltDel: PWLX_USE_CTRL_ALT_DEL,
+ pub WlxSetContextPointer: PWLX_SET_CONTEXT_POINTER,
+ pub WlxSasNotify: PWLX_SAS_NOTIFY,
+ pub WlxSetTimeout: PWLX_SET_TIMEOUT,
+ pub WlxAssignShellProtection: PWLX_ASSIGN_SHELL_PROTECTION,
+ pub WlxMessageBox: PWLX_MESSAGE_BOX,
+ pub WlxDialogBox: PWLX_DIALOG_BOX,
+ pub WlxDialogBoxParam: PWLX_DIALOG_BOX_PARAM,
+ pub WlxDialogBoxIndirect: PWLX_DIALOG_BOX_INDIRECT,
+ pub WlxDialogBoxIndirectParam: PWLX_DIALOG_BOX_INDIRECT_PARAM,
+ pub WlxSwitchDesktopToUser: PWLX_SWITCH_DESKTOP_TO_USER,
+ pub WlxSwitchDesktopToWinlogon: PWLX_SWITCH_DESKTOP_TO_WINLOGON,
+ pub WlxChangePasswordNotify: PWLX_CHANGE_PASSWORD_NOTIFY,
+ pub WlxGetSourceDesktop: PWLX_GET_SOURCE_DESKTOP,
+ pub WlxSetReturnDesktop: PWLX_SET_RETURN_DESKTOP,
+ pub WlxCreateUserDesktop: PWLX_CREATE_USER_DESKTOP,
+ pub WlxChangePasswordNotifyEx: PWLX_CHANGE_PASSWORD_NOTIFY_EX,
+ pub WlxCloseUserDesktop: PWLX_CLOSE_USER_DESKTOP,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops", feature = "Win32_UI_WindowsAndMessaging"))]
+impl ::core::marker::Copy for WLX_DISPATCH_VERSION_1_2 {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops", feature = "Win32_UI_WindowsAndMessaging"))]
+impl ::core::clone::Clone for WLX_DISPATCH_VERSION_1_2 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`, `\"Win32_System_StationsAndDesktops\"`, `\"Win32_UI_WindowsAndMessaging\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops", feature = "Win32_UI_WindowsAndMessaging"))]
+pub struct WLX_DISPATCH_VERSION_1_3 {
+ pub WlxUseCtrlAltDel: PWLX_USE_CTRL_ALT_DEL,
+ pub WlxSetContextPointer: PWLX_SET_CONTEXT_POINTER,
+ pub WlxSasNotify: PWLX_SAS_NOTIFY,
+ pub WlxSetTimeout: PWLX_SET_TIMEOUT,
+ pub WlxAssignShellProtection: PWLX_ASSIGN_SHELL_PROTECTION,
+ pub WlxMessageBox: PWLX_MESSAGE_BOX,
+ pub WlxDialogBox: PWLX_DIALOG_BOX,
+ pub WlxDialogBoxParam: PWLX_DIALOG_BOX_PARAM,
+ pub WlxDialogBoxIndirect: PWLX_DIALOG_BOX_INDIRECT,
+ pub WlxDialogBoxIndirectParam: PWLX_DIALOG_BOX_INDIRECT_PARAM,
+ pub WlxSwitchDesktopToUser: PWLX_SWITCH_DESKTOP_TO_USER,
+ pub WlxSwitchDesktopToWinlogon: PWLX_SWITCH_DESKTOP_TO_WINLOGON,
+ pub WlxChangePasswordNotify: PWLX_CHANGE_PASSWORD_NOTIFY,
+ pub WlxGetSourceDesktop: PWLX_GET_SOURCE_DESKTOP,
+ pub WlxSetReturnDesktop: PWLX_SET_RETURN_DESKTOP,
+ pub WlxCreateUserDesktop: PWLX_CREATE_USER_DESKTOP,
+ pub WlxChangePasswordNotifyEx: PWLX_CHANGE_PASSWORD_NOTIFY_EX,
+ pub WlxCloseUserDesktop: PWLX_CLOSE_USER_DESKTOP,
+ pub WlxSetOption: PWLX_SET_OPTION,
+ pub WlxGetOption: PWLX_GET_OPTION,
+ pub WlxWin31Migrate: PWLX_WIN31_MIGRATE,
+ pub WlxQueryClientCredentials: PWLX_QUERY_CLIENT_CREDENTIALS,
+ pub WlxQueryInetConnectorCredentials: PWLX_QUERY_IC_CREDENTIALS,
+ pub WlxDisconnect: PWLX_DISCONNECT,
+ pub WlxQueryTerminalServicesData: PWLX_QUERY_TERMINAL_SERVICES_DATA,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops", feature = "Win32_UI_WindowsAndMessaging"))]
+impl ::core::marker::Copy for WLX_DISPATCH_VERSION_1_3 {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops", feature = "Win32_UI_WindowsAndMessaging"))]
+impl ::core::clone::Clone for WLX_DISPATCH_VERSION_1_3 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`, `\"Win32_System_StationsAndDesktops\"`, `\"Win32_UI_WindowsAndMessaging\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops", feature = "Win32_UI_WindowsAndMessaging"))]
+pub struct WLX_DISPATCH_VERSION_1_4 {
+ pub WlxUseCtrlAltDel: PWLX_USE_CTRL_ALT_DEL,
+ pub WlxSetContextPointer: PWLX_SET_CONTEXT_POINTER,
+ pub WlxSasNotify: PWLX_SAS_NOTIFY,
+ pub WlxSetTimeout: PWLX_SET_TIMEOUT,
+ pub WlxAssignShellProtection: PWLX_ASSIGN_SHELL_PROTECTION,
+ pub WlxMessageBox: PWLX_MESSAGE_BOX,
+ pub WlxDialogBox: PWLX_DIALOG_BOX,
+ pub WlxDialogBoxParam: PWLX_DIALOG_BOX_PARAM,
+ pub WlxDialogBoxIndirect: PWLX_DIALOG_BOX_INDIRECT,
+ pub WlxDialogBoxIndirectParam: PWLX_DIALOG_BOX_INDIRECT_PARAM,
+ pub WlxSwitchDesktopToUser: PWLX_SWITCH_DESKTOP_TO_USER,
+ pub WlxSwitchDesktopToWinlogon: PWLX_SWITCH_DESKTOP_TO_WINLOGON,
+ pub WlxChangePasswordNotify: PWLX_CHANGE_PASSWORD_NOTIFY,
+ pub WlxGetSourceDesktop: PWLX_GET_SOURCE_DESKTOP,
+ pub WlxSetReturnDesktop: PWLX_SET_RETURN_DESKTOP,
+ pub WlxCreateUserDesktop: PWLX_CREATE_USER_DESKTOP,
+ pub WlxChangePasswordNotifyEx: PWLX_CHANGE_PASSWORD_NOTIFY_EX,
+ pub WlxCloseUserDesktop: PWLX_CLOSE_USER_DESKTOP,
+ pub WlxSetOption: PWLX_SET_OPTION,
+ pub WlxGetOption: PWLX_GET_OPTION,
+ pub WlxWin31Migrate: PWLX_WIN31_MIGRATE,
+ pub WlxQueryClientCredentials: PWLX_QUERY_CLIENT_CREDENTIALS,
+ pub WlxQueryInetConnectorCredentials: PWLX_QUERY_IC_CREDENTIALS,
+ pub WlxDisconnect: PWLX_DISCONNECT,
+ pub WlxQueryTerminalServicesData: PWLX_QUERY_TERMINAL_SERVICES_DATA,
+ pub WlxQueryConsoleSwitchCredentials: PWLX_QUERY_CONSOLESWITCH_CREDENTIALS,
+ pub WlxQueryTsLogonCredentials: PWLX_QUERY_TS_LOGON_CREDENTIALS,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops", feature = "Win32_UI_WindowsAndMessaging"))]
+impl ::core::marker::Copy for WLX_DISPATCH_VERSION_1_4 {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops", feature = "Win32_UI_WindowsAndMessaging"))]
+impl ::core::clone::Clone for WLX_DISPATCH_VERSION_1_4 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_DLG_INPUT_TIMEOUT: u32 = 102u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_DLG_SAS: u32 = 101u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_DLG_SCREEN_SAVER_TIMEOUT: u32 = 103u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_DLG_USER_LOGOFF: u32 = 104u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_LOGON_OPT_NO_PROFILE: u32 = 1u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub struct WLX_MPR_NOTIFY_INFO {
+ pub pszUserName: ::windows_sys::core::PWSTR,
+ pub pszDomain: ::windows_sys::core::PWSTR,
+ pub pszPassword: ::windows_sys::core::PWSTR,
+ pub pszOldPassword: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for WLX_MPR_NOTIFY_INFO {}
+impl ::core::clone::Clone for WLX_MPR_NOTIFY_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`, `\"Win32_Foundation\"`, `\"Win32_System_StationsAndDesktops\"`*"]
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops"))]
+pub struct WLX_NOTIFICATION_INFO {
+ pub Size: u32,
+ pub Flags: u32,
+ pub UserName: ::windows_sys::core::PWSTR,
+ pub Domain: ::windows_sys::core::PWSTR,
+ pub WindowStation: ::windows_sys::core::PWSTR,
+ pub hToken: super::super::Foundation::HANDLE,
+ pub hDesktop: super::super::System::StationsAndDesktops::HDESK,
+ pub pStatusCallback: PFNMSGECALLBACK,
+}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops"))]
+impl ::core::marker::Copy for WLX_NOTIFICATION_INFO {}
+#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_StationsAndDesktops"))]
+impl ::core::clone::Clone for WLX_NOTIFICATION_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_OPTION_CONTEXT_POINTER: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_OPTION_DISPATCH_TABLE_SIZE: u32 = 65539u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_OPTION_FORCE_LOGOFF_TIME: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_OPTION_IGNORE_AUTO_LOGON: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_OPTION_NO_SWITCH_ON_SAS: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_OPTION_SMART_CARD_INFO: u32 = 65538u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_OPTION_SMART_CARD_PRESENT: u32 = 65537u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_OPTION_USE_CTRL_ALT_DEL: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_OPTION_USE_SMART_CARD: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_PROFILE_TYPE_V1_0: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_PROFILE_TYPE_V2_0: u32 = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub struct WLX_PROFILE_V1_0 {
+ pub dwType: u32,
+ pub pszProfile: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for WLX_PROFILE_V1_0 {}
+impl ::core::clone::Clone for WLX_PROFILE_V1_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub struct WLX_PROFILE_V2_0 {
+ pub dwType: u32,
+ pub pszProfile: ::windows_sys::core::PWSTR,
+ pub pszPolicy: ::windows_sys::core::PWSTR,
+ pub pszNetworkDefaultUserProfile: ::windows_sys::core::PWSTR,
+ pub pszServerName: ::windows_sys::core::PWSTR,
+ pub pszEnvironment: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for WLX_PROFILE_V2_0 {}
+impl ::core::clone::Clone for WLX_PROFILE_V2_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_SAS_ACTION_DELAYED_FORCE_LOGOFF: u32 = 16u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_SAS_ACTION_FORCE_LOGOFF: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_SAS_ACTION_LOCK_WKSTA: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_SAS_ACTION_LOGOFF: u32 = 4u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_SAS_ACTION_LOGON: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_SAS_ACTION_NONE: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_SAS_ACTION_PWD_CHANGED: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_SAS_ACTION_RECONNECTED: u32 = 15u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_SAS_ACTION_SHUTDOWN_HIBERNATE: u32 = 14u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_SAS_ACTION_SHUTDOWN_SLEEP: u32 = 12u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_SAS_ACTION_SHUTDOWN_SLEEP2: u32 = 13u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_SAS_ACTION_SWITCH_CONSOLE: u32 = 17u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_SAS_ACTION_TASKLIST: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_SAS_ACTION_UNLOCK_WKSTA: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_SAS_TYPE_AUTHENTICATED: u32 = 7u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_SAS_TYPE_CTRL_ALT_DEL: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_SAS_TYPE_MAX_MSFT_VALUE: u32 = 127u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_SAS_TYPE_SCRNSVR_ACTIVITY: u32 = 3u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_SAS_TYPE_SCRNSVR_TIMEOUT: u32 = 2u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_SAS_TYPE_SC_FIRST_READER_ARRIVED: u32 = 8u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_SAS_TYPE_SC_INSERT: u32 = 5u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_SAS_TYPE_SC_LAST_READER_REMOVED: u32 = 9u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_SAS_TYPE_SC_REMOVE: u32 = 6u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_SAS_TYPE_SWITCHUSER: u32 = 10u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_SAS_TYPE_TIMEOUT: u32 = 0u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_SAS_TYPE_USER_LOGOFF: u32 = 4u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub struct WLX_SC_NOTIFICATION_INFO {
+ pub pszCard: ::windows_sys::core::PWSTR,
+ pub pszReader: ::windows_sys::core::PWSTR,
+ pub pszContainer: ::windows_sys::core::PWSTR,
+ pub pszCryptoProvider: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for WLX_SC_NOTIFICATION_INFO {}
+impl ::core::clone::Clone for WLX_SC_NOTIFICATION_INFO {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub type WLX_SHUTDOWN_TYPE = u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_SAS_ACTION_SHUTDOWN: WLX_SHUTDOWN_TYPE = 5u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_SAS_ACTION_SHUTDOWN_REBOOT: WLX_SHUTDOWN_TYPE = 11u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_SAS_ACTION_SHUTDOWN_POWER_OFF: WLX_SHUTDOWN_TYPE = 10u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub struct WLX_TERMINAL_SERVICES_DATA {
+ pub ProfilePath: [u16; 257],
+ pub HomeDir: [u16; 257],
+ pub HomeDirDrive: [u16; 4],
+}
+impl ::core::marker::Copy for WLX_TERMINAL_SERVICES_DATA {}
+impl ::core::clone::Clone for WLX_TERMINAL_SERVICES_DATA {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_VERSION_1_0: u32 = 65536u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_VERSION_1_1: u32 = 65537u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_VERSION_1_2: u32 = 65538u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_VERSION_1_3: u32 = 65539u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_VERSION_1_4: u32 = 65540u32;
+#[doc = "*Required features: `\"Win32_Security_WinWlx\"`*"]
+pub const WLX_WM_SAS: u32 = 1625u32;
diff --git a/vendor/windows-sys/src/Windows/Win32/Security/mod.rs b/vendor/windows-sys/src/Windows/Win32/Security/mod.rs
new file mode 100644
index 000000000..4850752dd
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/Win32/Security/mod.rs
@@ -0,0 +1,2215 @@
+#[cfg(feature = "Win32_Security_AppLocker")]
+pub mod AppLocker;
+#[cfg(feature = "Win32_Security_Authentication")]
+pub mod Authentication;
+#[cfg(feature = "Win32_Security_Authorization")]
+pub mod Authorization;
+#[cfg(feature = "Win32_Security_ConfigurationSnapin")]
+pub mod ConfigurationSnapin;
+#[cfg(feature = "Win32_Security_Credentials")]
+pub mod Credentials;
+#[cfg(feature = "Win32_Security_Cryptography")]
+pub mod Cryptography;
+#[cfg(feature = "Win32_Security_DiagnosticDataQuery")]
+pub mod DiagnosticDataQuery;
+#[cfg(feature = "Win32_Security_DirectoryServices")]
+pub mod DirectoryServices;
+#[cfg(feature = "Win32_Security_EnterpriseData")]
+pub mod EnterpriseData;
+#[cfg(feature = "Win32_Security_ExtensibleAuthenticationProtocol")]
+pub mod ExtensibleAuthenticationProtocol;
+#[cfg(feature = "Win32_Security_Isolation")]
+pub mod Isolation;
+#[cfg(feature = "Win32_Security_LicenseProtection")]
+pub mod LicenseProtection;
+#[cfg(feature = "Win32_Security_NetworkAccessProtection")]
+pub mod NetworkAccessProtection;
+#[cfg(feature = "Win32_Security_Tpm")]
+pub mod Tpm;
+#[cfg(feature = "Win32_Security_WinTrust")]
+pub mod WinTrust;
+#[cfg(feature = "Win32_Security_WinWlx")]
+pub mod WinWlx;
+#[link(name = "windows")]
+extern "system" {
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AccessCheck(psecuritydescriptor: PSECURITY_DESCRIPTOR, clienttoken: super::Foundation::HANDLE, desiredaccess: u32, genericmapping: *const GENERIC_MAPPING, privilegeset: *mut PRIVILEGE_SET, privilegesetlength: *mut u32, grantedaccess: *mut u32, accessstatus: *mut i32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AccessCheckAndAuditAlarmA(subsystemname: ::windows_sys::core::PCSTR, handleid: *const ::core::ffi::c_void, objecttypename: ::windows_sys::core::PCSTR, objectname: ::windows_sys::core::PCSTR, securitydescriptor: PSECURITY_DESCRIPTOR, desiredaccess: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: super::Foundation::BOOL, grantedaccess: *mut u32, accessstatus: *mut i32, pfgenerateonclose: *mut i32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AccessCheckAndAuditAlarmW(subsystemname: ::windows_sys::core::PCWSTR, handleid: *const ::core::ffi::c_void, objecttypename: ::windows_sys::core::PCWSTR, objectname: ::windows_sys::core::PCWSTR, securitydescriptor: PSECURITY_DESCRIPTOR, desiredaccess: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: super::Foundation::BOOL, grantedaccess: *mut u32, accessstatus: *mut i32, pfgenerateonclose: *mut i32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AccessCheckByType(psecuritydescriptor: PSECURITY_DESCRIPTOR, principalselfsid: super::Foundation::PSID, clienttoken: super::Foundation::HANDLE, desiredaccess: u32, objecttypelist: *mut OBJECT_TYPE_LIST, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, privilegeset: *mut PRIVILEGE_SET, privilegesetlength: *mut u32, grantedaccess: *mut u32, accessstatus: *mut i32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AccessCheckByTypeAndAuditAlarmA(subsystemname: ::windows_sys::core::PCSTR, handleid: *const ::core::ffi::c_void, objecttypename: ::windows_sys::core::PCSTR, objectname: ::windows_sys::core::PCSTR, securitydescriptor: PSECURITY_DESCRIPTOR, principalselfsid: super::Foundation::PSID, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: *mut OBJECT_TYPE_LIST, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: super::Foundation::BOOL, grantedaccess: *mut u32, accessstatus: *mut i32, pfgenerateonclose: *mut i32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AccessCheckByTypeAndAuditAlarmW(subsystemname: ::windows_sys::core::PCWSTR, handleid: *const ::core::ffi::c_void, objecttypename: ::windows_sys::core::PCWSTR, objectname: ::windows_sys::core::PCWSTR, securitydescriptor: PSECURITY_DESCRIPTOR, principalselfsid: super::Foundation::PSID, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: *mut OBJECT_TYPE_LIST, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: super::Foundation::BOOL, grantedaccess: *mut u32, accessstatus: *mut i32, pfgenerateonclose: *mut i32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AccessCheckByTypeResultList(psecuritydescriptor: PSECURITY_DESCRIPTOR, principalselfsid: super::Foundation::PSID, clienttoken: super::Foundation::HANDLE, desiredaccess: u32, objecttypelist: *mut OBJECT_TYPE_LIST, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, privilegeset: *mut PRIVILEGE_SET, privilegesetlength: *mut u32, grantedaccesslist: *mut u32, accessstatuslist: *mut u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AccessCheckByTypeResultListAndAuditAlarmA(subsystemname: ::windows_sys::core::PCSTR, handleid: *const ::core::ffi::c_void, objecttypename: ::windows_sys::core::PCSTR, objectname: ::windows_sys::core::PCSTR, securitydescriptor: PSECURITY_DESCRIPTOR, principalselfsid: super::Foundation::PSID, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: *mut OBJECT_TYPE_LIST, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: super::Foundation::BOOL, grantedaccess: *mut u32, accessstatuslist: *mut u32, pfgenerateonclose: *mut i32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AccessCheckByTypeResultListAndAuditAlarmByHandleA(subsystemname: ::windows_sys::core::PCSTR, handleid: *const ::core::ffi::c_void, clienttoken: super::Foundation::HANDLE, objecttypename: ::windows_sys::core::PCSTR, objectname: ::windows_sys::core::PCSTR, securitydescriptor: PSECURITY_DESCRIPTOR, principalselfsid: super::Foundation::PSID, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: *mut OBJECT_TYPE_LIST, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: super::Foundation::BOOL, grantedaccess: *mut u32, accessstatuslist: *mut u32, pfgenerateonclose: *mut i32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AccessCheckByTypeResultListAndAuditAlarmByHandleW(subsystemname: ::windows_sys::core::PCWSTR, handleid: *const ::core::ffi::c_void, clienttoken: super::Foundation::HANDLE, objecttypename: ::windows_sys::core::PCWSTR, objectname: ::windows_sys::core::PCWSTR, securitydescriptor: PSECURITY_DESCRIPTOR, principalselfsid: super::Foundation::PSID, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: *mut OBJECT_TYPE_LIST, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: super::Foundation::BOOL, grantedaccesslist: *mut u32, accessstatuslist: *mut u32, pfgenerateonclose: *mut i32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AccessCheckByTypeResultListAndAuditAlarmW(subsystemname: ::windows_sys::core::PCWSTR, handleid: *const ::core::ffi::c_void, objecttypename: ::windows_sys::core::PCWSTR, objectname: ::windows_sys::core::PCWSTR, securitydescriptor: PSECURITY_DESCRIPTOR, principalselfsid: super::Foundation::PSID, desiredaccess: u32, audittype: AUDIT_EVENT_TYPE, flags: u32, objecttypelist: *mut OBJECT_TYPE_LIST, objecttypelistlength: u32, genericmapping: *const GENERIC_MAPPING, objectcreation: super::Foundation::BOOL, grantedaccesslist: *mut u32, accessstatuslist: *mut u32, pfgenerateonclose: *mut i32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AddAccessAllowedAce(pacl: *mut ACL, dwacerevision: u32, accessmask: u32, psid: super::Foundation::PSID) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AddAccessAllowedAceEx(pacl: *mut ACL, dwacerevision: u32, aceflags: ACE_FLAGS, accessmask: u32, psid: super::Foundation::PSID) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AddAccessAllowedObjectAce(pacl: *mut ACL, dwacerevision: u32, aceflags: ACE_FLAGS, accessmask: u32, objecttypeguid: *const ::windows_sys::core::GUID, inheritedobjecttypeguid: *const ::windows_sys::core::GUID, psid: super::Foundation::PSID) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AddAccessDeniedAce(pacl: *mut ACL, dwacerevision: u32, accessmask: u32, psid: super::Foundation::PSID) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AddAccessDeniedAceEx(pacl: *mut ACL, dwacerevision: u32, aceflags: ACE_FLAGS, accessmask: u32, psid: super::Foundation::PSID) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AddAccessDeniedObjectAce(pacl: *mut ACL, dwacerevision: u32, aceflags: ACE_FLAGS, accessmask: u32, objecttypeguid: *const ::windows_sys::core::GUID, inheritedobjecttypeguid: *const ::windows_sys::core::GUID, psid: super::Foundation::PSID) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AddAce(pacl: *mut ACL, dwacerevision: u32, dwstartingaceindex: u32, pacelist: *const ::core::ffi::c_void, nacelistlength: u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AddAuditAccessAce(pacl: *mut ACL, dwacerevision: u32, dwaccessmask: u32, psid: super::Foundation::PSID, bauditsuccess: super::Foundation::BOOL, bauditfailure: super::Foundation::BOOL) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AddAuditAccessAceEx(pacl: *mut ACL, dwacerevision: u32, aceflags: ACE_FLAGS, dwaccessmask: u32, psid: super::Foundation::PSID, bauditsuccess: super::Foundation::BOOL, bauditfailure: super::Foundation::BOOL) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AddAuditAccessObjectAce(pacl: *mut ACL, dwacerevision: u32, aceflags: ACE_FLAGS, accessmask: u32, objecttypeguid: *const ::windows_sys::core::GUID, inheritedobjecttypeguid: *const ::windows_sys::core::GUID, psid: super::Foundation::PSID, bauditsuccess: super::Foundation::BOOL, bauditfailure: super::Foundation::BOOL) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AddConditionalAce(pacl: *mut ACL, dwacerevision: u32, aceflags: ACE_FLAGS, acetype: u8, accessmask: u32, psid: super::Foundation::PSID, conditionstr: ::windows_sys::core::PCWSTR, returnlength: *mut u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AddMandatoryAce(pacl: *mut ACL, dwacerevision: ACE_REVISION, aceflags: ACE_FLAGS, mandatorypolicy: u32, plabelsid: super::Foundation::PSID) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AddResourceAttributeAce(pacl: *mut ACL, dwacerevision: u32, aceflags: ACE_FLAGS, accessmask: u32, psid: super::Foundation::PSID, pattributeinfo: *const CLAIM_SECURITY_ATTRIBUTES_INFORMATION, preturnlength: *mut u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AddScopedPolicyIDAce(pacl: *mut ACL, dwacerevision: u32, aceflags: ACE_FLAGS, accessmask: u32, psid: super::Foundation::PSID) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AdjustTokenGroups(tokenhandle: super::Foundation::HANDLE, resettodefault: super::Foundation::BOOL, newstate: *const TOKEN_GROUPS, bufferlength: u32, previousstate: *mut TOKEN_GROUPS, returnlength: *mut u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AdjustTokenPrivileges(tokenhandle: super::Foundation::HANDLE, disableallprivileges: super::Foundation::BOOL, newstate: *const TOKEN_PRIVILEGES, bufferlength: u32, previousstate: *mut TOKEN_PRIVILEGES, returnlength: *mut u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AllocateAndInitializeSid(pidentifierauthority: *const SID_IDENTIFIER_AUTHORITY, nsubauthoritycount: u8, nsubauthority0: u32, nsubauthority1: u32, nsubauthority2: u32, nsubauthority3: u32, nsubauthority4: u32, nsubauthority5: u32, nsubauthority6: u32, nsubauthority7: u32, psid: *mut super::Foundation::PSID) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AllocateLocallyUniqueId(luid: *mut super::Foundation::LUID) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AreAllAccessesGranted(grantedaccess: u32, desiredaccess: u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn AreAnyAccessesGranted(grantedaccess: u32, desiredaccess: u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CheckTokenCapability(tokenhandle: super::Foundation::HANDLE, capabilitysidtocheck: super::Foundation::PSID, hascapability: *mut super::Foundation::BOOL) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CheckTokenMembership(tokenhandle: super::Foundation::HANDLE, sidtocheck: super::Foundation::PSID, ismember: *mut super::Foundation::BOOL) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CheckTokenMembershipEx(tokenhandle: super::Foundation::HANDLE, sidtocheck: super::Foundation::PSID, flags: u32, ismember: *mut super::Foundation::BOOL) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn ConvertToAutoInheritPrivateObjectSecurity(parentdescriptor: PSECURITY_DESCRIPTOR, currentsecuritydescriptor: PSECURITY_DESCRIPTOR, newsecuritydescriptor: *mut PSECURITY_DESCRIPTOR, objecttype: *const ::windows_sys::core::GUID, isdirectoryobject: super::Foundation::BOOLEAN, genericmapping: *const GENERIC_MAPPING) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CopySid(ndestinationsidlength: u32, pdestinationsid: super::Foundation::PSID, psourcesid: super::Foundation::PSID) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CreatePrivateObjectSecurity(parentdescriptor: PSECURITY_DESCRIPTOR, creatordescriptor: PSECURITY_DESCRIPTOR, newdescriptor: *mut PSECURITY_DESCRIPTOR, isdirectoryobject: super::Foundation::BOOL, token: super::Foundation::HANDLE, genericmapping: *const GENERIC_MAPPING) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CreatePrivateObjectSecurityEx(parentdescriptor: PSECURITY_DESCRIPTOR, creatordescriptor: PSECURITY_DESCRIPTOR, newdescriptor: *mut PSECURITY_DESCRIPTOR, objecttype: *const ::windows_sys::core::GUID, iscontainerobject: super::Foundation::BOOL, autoinheritflags: SECURITY_AUTO_INHERIT_FLAGS, token: super::Foundation::HANDLE, genericmapping: *const GENERIC_MAPPING) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CreatePrivateObjectSecurityWithMultipleInheritance(parentdescriptor: PSECURITY_DESCRIPTOR, creatordescriptor: PSECURITY_DESCRIPTOR, newdescriptor: *mut PSECURITY_DESCRIPTOR, objecttypes: *const *const ::windows_sys::core::GUID, guidcount: u32, iscontainerobject: super::Foundation::BOOL, autoinheritflags: SECURITY_AUTO_INHERIT_FLAGS, token: super::Foundation::HANDLE, genericmapping: *const GENERIC_MAPPING) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CreateRestrictedToken(existingtokenhandle: super::Foundation::HANDLE, flags: CREATE_RESTRICTED_TOKEN_FLAGS, disablesidcount: u32, sidstodisable: *const SID_AND_ATTRIBUTES, deleteprivilegecount: u32, privilegestodelete: *const LUID_AND_ATTRIBUTES, restrictedsidcount: u32, sidstorestrict: *const SID_AND_ATTRIBUTES, newtokenhandle: *mut super::Foundation::HANDLE) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn CreateWellKnownSid(wellknownsidtype: WELL_KNOWN_SID_TYPE, domainsid: super::Foundation::PSID, psid: super::Foundation::PSID, cbsid: *mut u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn DeleteAce(pacl: *mut ACL, dwaceindex: u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn DeriveCapabilitySidsFromName(capname: ::windows_sys::core::PCWSTR, capabilitygroupsids: *mut *mut super::Foundation::PSID, capabilitygroupsidcount: *mut u32, capabilitysids: *mut *mut super::Foundation::PSID, capabilitysidcount: *mut u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn DestroyPrivateObjectSecurity(objectdescriptor: *const PSECURITY_DESCRIPTOR) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn DuplicateToken(existingtokenhandle: super::Foundation::HANDLE, impersonationlevel: SECURITY_IMPERSONATION_LEVEL, duplicatetokenhandle: *mut super::Foundation::HANDLE) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn DuplicateTokenEx(hexistingtoken: super::Foundation::HANDLE, dwdesiredaccess: TOKEN_ACCESS_MASK, lptokenattributes: *const SECURITY_ATTRIBUTES, impersonationlevel: SECURITY_IMPERSONATION_LEVEL, tokentype: TOKEN_TYPE, phnewtoken: *mut super::Foundation::HANDLE) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn EqualDomainSid(psid1: super::Foundation::PSID, psid2: super::Foundation::PSID, pfequal: *mut super::Foundation::BOOL) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn EqualPrefixSid(psid1: super::Foundation::PSID, psid2: super::Foundation::PSID) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn EqualSid(psid1: super::Foundation::PSID, psid2: super::Foundation::PSID) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn FindFirstFreeAce(pacl: *const ACL, pace: *mut *mut ::core::ffi::c_void) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn FreeSid(psid: super::Foundation::PSID) -> *mut ::core::ffi::c_void;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetAce(pacl: *const ACL, dwaceindex: u32, pace: *mut *mut ::core::ffi::c_void) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetAclInformation(pacl: *const ACL, paclinformation: *mut ::core::ffi::c_void, naclinformationlength: u32, dwaclinformationclass: ACL_INFORMATION_CLASS) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetAppContainerAce(acl: *const ACL, startingaceindex: u32, appcontainerace: *mut *mut ::core::ffi::c_void, appcontaineraceindex: *mut u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetCachedSigningLevel(file: super::Foundation::HANDLE, flags: *mut u32, signinglevel: *mut u32, thumbprint: *mut u8, thumbprintsize: *mut u32, thumbprintalgorithm: *mut u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetFileSecurityA(lpfilename: ::windows_sys::core::PCSTR, requestedinformation: u32, psecuritydescriptor: PSECURITY_DESCRIPTOR, nlength: u32, lpnlengthneeded: *mut u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetFileSecurityW(lpfilename: ::windows_sys::core::PCWSTR, requestedinformation: u32, psecuritydescriptor: PSECURITY_DESCRIPTOR, nlength: u32, lpnlengthneeded: *mut u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetKernelObjectSecurity(handle: super::Foundation::HANDLE, requestedinformation: u32, psecuritydescriptor: PSECURITY_DESCRIPTOR, nlength: u32, lpnlengthneeded: *mut u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetLengthSid(psid: super::Foundation::PSID) -> u32;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetPrivateObjectSecurity(objectdescriptor: PSECURITY_DESCRIPTOR, securityinformation: u32, resultantdescriptor: PSECURITY_DESCRIPTOR, descriptorlength: u32, returnlength: *mut u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetSecurityDescriptorControl(psecuritydescriptor: PSECURITY_DESCRIPTOR, pcontrol: *mut u16, lpdwrevision: *mut u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetSecurityDescriptorDacl(psecuritydescriptor: PSECURITY_DESCRIPTOR, lpbdaclpresent: *mut i32, pdacl: *mut *mut ACL, lpbdacldefaulted: *mut i32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetSecurityDescriptorGroup(psecuritydescriptor: PSECURITY_DESCRIPTOR, pgroup: *mut super::Foundation::PSID, lpbgroupdefaulted: *mut i32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`*"]
+ pub fn GetSecurityDescriptorLength(psecuritydescriptor: PSECURITY_DESCRIPTOR) -> u32;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetSecurityDescriptorOwner(psecuritydescriptor: PSECURITY_DESCRIPTOR, powner: *mut super::Foundation::PSID, lpbownerdefaulted: *mut i32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`*"]
+ pub fn GetSecurityDescriptorRMControl(securitydescriptor: PSECURITY_DESCRIPTOR, rmcontrol: *mut u8) -> u32;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetSecurityDescriptorSacl(psecuritydescriptor: PSECURITY_DESCRIPTOR, lpbsaclpresent: *mut i32, psacl: *mut *mut ACL, lpbsacldefaulted: *mut i32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetSidIdentifierAuthority(psid: super::Foundation::PSID) -> *mut SID_IDENTIFIER_AUTHORITY;
+ #[doc = "*Required features: `\"Win32_Security\"`*"]
+ pub fn GetSidLengthRequired(nsubauthoritycount: u8) -> u32;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetSidSubAuthority(psid: super::Foundation::PSID, nsubauthority: u32) -> *mut u32;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetSidSubAuthorityCount(psid: super::Foundation::PSID) -> *mut u8;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetTokenInformation(tokenhandle: super::Foundation::HANDLE, tokeninformationclass: TOKEN_INFORMATION_CLASS, tokeninformation: *mut ::core::ffi::c_void, tokeninformationlength: u32, returnlength: *mut u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetUserObjectSecurity(hobj: super::Foundation::HANDLE, psirequested: *const u32, psid: PSECURITY_DESCRIPTOR, nlength: u32, lpnlengthneeded: *mut u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn GetWindowsAccountDomainSid(psid: super::Foundation::PSID, pdomainsid: super::Foundation::PSID, cbdomainsid: *mut u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn ImpersonateAnonymousToken(threadhandle: super::Foundation::HANDLE) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn ImpersonateLoggedOnUser(htoken: super::Foundation::HANDLE) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn ImpersonateSelf(impersonationlevel: SECURITY_IMPERSONATION_LEVEL) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn InitializeAcl(pacl: *mut ACL, nacllength: u32, dwaclrevision: u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn InitializeSecurityDescriptor(psecuritydescriptor: PSECURITY_DESCRIPTOR, dwrevision: u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn InitializeSid(sid: super::Foundation::PSID, pidentifierauthority: *const SID_IDENTIFIER_AUTHORITY, nsubauthoritycount: u8) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn IsTokenRestricted(tokenhandle: super::Foundation::HANDLE) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn IsValidAcl(pacl: *const ACL) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn IsValidSecurityDescriptor(psecuritydescriptor: PSECURITY_DESCRIPTOR) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn IsValidSid(psid: super::Foundation::PSID) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn IsWellKnownSid(psid: super::Foundation::PSID, wellknownsidtype: WELL_KNOWN_SID_TYPE) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn LogonUserA(lpszusername: ::windows_sys::core::PCSTR, lpszdomain: ::windows_sys::core::PCSTR, lpszpassword: ::windows_sys::core::PCSTR, dwlogontype: LOGON32_LOGON, dwlogonprovider: LOGON32_PROVIDER, phtoken: *mut super::Foundation::HANDLE) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn LogonUserExA(lpszusername: ::windows_sys::core::PCSTR, lpszdomain: ::windows_sys::core::PCSTR, lpszpassword: ::windows_sys::core::PCSTR, dwlogontype: LOGON32_LOGON, dwlogonprovider: LOGON32_PROVIDER, phtoken: *mut super::Foundation::HANDLE, pplogonsid: *mut super::Foundation::PSID, ppprofilebuffer: *mut *mut ::core::ffi::c_void, pdwprofilelength: *mut u32, pquotalimits: *mut QUOTA_LIMITS) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn LogonUserExW(lpszusername: ::windows_sys::core::PCWSTR, lpszdomain: ::windows_sys::core::PCWSTR, lpszpassword: ::windows_sys::core::PCWSTR, dwlogontype: LOGON32_LOGON, dwlogonprovider: LOGON32_PROVIDER, phtoken: *mut super::Foundation::HANDLE, pplogonsid: *mut super::Foundation::PSID, ppprofilebuffer: *mut *mut ::core::ffi::c_void, pdwprofilelength: *mut u32, pquotalimits: *mut QUOTA_LIMITS) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn LogonUserW(lpszusername: ::windows_sys::core::PCWSTR, lpszdomain: ::windows_sys::core::PCWSTR, lpszpassword: ::windows_sys::core::PCWSTR, dwlogontype: LOGON32_LOGON, dwlogonprovider: LOGON32_PROVIDER, phtoken: *mut super::Foundation::HANDLE) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn LookupAccountNameA(lpsystemname: ::windows_sys::core::PCSTR, lpaccountname: ::windows_sys::core::PCSTR, sid: super::Foundation::PSID, cbsid: *mut u32, referenceddomainname: ::windows_sys::core::PSTR, cchreferenceddomainname: *mut u32, peuse: *mut SID_NAME_USE) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn LookupAccountNameW(lpsystemname: ::windows_sys::core::PCWSTR, lpaccountname: ::windows_sys::core::PCWSTR, sid: super::Foundation::PSID, cbsid: *mut u32, referenceddomainname: ::windows_sys::core::PWSTR, cchreferenceddomainname: *mut u32, peuse: *mut SID_NAME_USE) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn LookupAccountSidA(lpsystemname: ::windows_sys::core::PCSTR, sid: super::Foundation::PSID, name: ::windows_sys::core::PSTR, cchname: *mut u32, referenceddomainname: ::windows_sys::core::PSTR, cchreferenceddomainname: *mut u32, peuse: *mut SID_NAME_USE) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn LookupAccountSidW(lpsystemname: ::windows_sys::core::PCWSTR, sid: super::Foundation::PSID, name: ::windows_sys::core::PWSTR, cchname: *mut u32, referenceddomainname: ::windows_sys::core::PWSTR, cchreferenceddomainname: *mut u32, peuse: *mut SID_NAME_USE) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn LookupPrivilegeDisplayNameA(lpsystemname: ::windows_sys::core::PCSTR, lpname: ::windows_sys::core::PCSTR, lpdisplayname: ::windows_sys::core::PSTR, cchdisplayname: *mut u32, lplanguageid: *mut u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn LookupPrivilegeDisplayNameW(lpsystemname: ::windows_sys::core::PCWSTR, lpname: ::windows_sys::core::PCWSTR, lpdisplayname: ::windows_sys::core::PWSTR, cchdisplayname: *mut u32, lplanguageid: *mut u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn LookupPrivilegeNameA(lpsystemname: ::windows_sys::core::PCSTR, lpluid: *const super::Foundation::LUID, lpname: ::windows_sys::core::PSTR, cchname: *mut u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn LookupPrivilegeNameW(lpsystemname: ::windows_sys::core::PCWSTR, lpluid: *const super::Foundation::LUID, lpname: ::windows_sys::core::PWSTR, cchname: *mut u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn LookupPrivilegeValueA(lpsystemname: ::windows_sys::core::PCSTR, lpname: ::windows_sys::core::PCSTR, lpluid: *mut super::Foundation::LUID) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn LookupPrivilegeValueW(lpsystemname: ::windows_sys::core::PCWSTR, lpname: ::windows_sys::core::PCWSTR, lpluid: *mut super::Foundation::LUID) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn MakeAbsoluteSD(pselfrelativesecuritydescriptor: PSECURITY_DESCRIPTOR, pabsolutesecuritydescriptor: PSECURITY_DESCRIPTOR, lpdwabsolutesecuritydescriptorsize: *mut u32, pdacl: *mut ACL, lpdwdaclsize: *mut u32, psacl: *mut ACL, lpdwsaclsize: *mut u32, powner: super::Foundation::PSID, lpdwownersize: *mut u32, pprimarygroup: super::Foundation::PSID, lpdwprimarygroupsize: *mut u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn MakeSelfRelativeSD(pabsolutesecuritydescriptor: PSECURITY_DESCRIPTOR, pselfrelativesecuritydescriptor: PSECURITY_DESCRIPTOR, lpdwbufferlength: *mut u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`*"]
+ pub fn MapGenericMask(accessmask: *mut u32, genericmapping: *const GENERIC_MAPPING);
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn ObjectCloseAuditAlarmA(subsystemname: ::windows_sys::core::PCSTR, handleid: *const ::core::ffi::c_void, generateonclose: super::Foundation::BOOL) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn ObjectCloseAuditAlarmW(subsystemname: ::windows_sys::core::PCWSTR, handleid: *const ::core::ffi::c_void, generateonclose: super::Foundation::BOOL) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn ObjectDeleteAuditAlarmA(subsystemname: ::windows_sys::core::PCSTR, handleid: *const ::core::ffi::c_void, generateonclose: super::Foundation::BOOL) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn ObjectDeleteAuditAlarmW(subsystemname: ::windows_sys::core::PCWSTR, handleid: *const ::core::ffi::c_void, generateonclose: super::Foundation::BOOL) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn ObjectOpenAuditAlarmA(subsystemname: ::windows_sys::core::PCSTR, handleid: *const ::core::ffi::c_void, objecttypename: ::windows_sys::core::PCSTR, objectname: ::windows_sys::core::PCSTR, psecuritydescriptor: PSECURITY_DESCRIPTOR, clienttoken: super::Foundation::HANDLE, desiredaccess: u32, grantedaccess: u32, privileges: *const PRIVILEGE_SET, objectcreation: super::Foundation::BOOL, accessgranted: super::Foundation::BOOL, generateonclose: *mut i32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn ObjectOpenAuditAlarmW(subsystemname: ::windows_sys::core::PCWSTR, handleid: *const ::core::ffi::c_void, objecttypename: ::windows_sys::core::PCWSTR, objectname: ::windows_sys::core::PCWSTR, psecuritydescriptor: PSECURITY_DESCRIPTOR, clienttoken: super::Foundation::HANDLE, desiredaccess: u32, grantedaccess: u32, privileges: *const PRIVILEGE_SET, objectcreation: super::Foundation::BOOL, accessgranted: super::Foundation::BOOL, generateonclose: *mut i32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn ObjectPrivilegeAuditAlarmA(subsystemname: ::windows_sys::core::PCSTR, handleid: *const ::core::ffi::c_void, clienttoken: super::Foundation::HANDLE, desiredaccess: u32, privileges: *const PRIVILEGE_SET, accessgranted: super::Foundation::BOOL) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn ObjectPrivilegeAuditAlarmW(subsystemname: ::windows_sys::core::PCWSTR, handleid: *const ::core::ffi::c_void, clienttoken: super::Foundation::HANDLE, desiredaccess: u32, privileges: *const PRIVILEGE_SET, accessgranted: super::Foundation::BOOL) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn PrivilegeCheck(clienttoken: super::Foundation::HANDLE, requiredprivileges: *mut PRIVILEGE_SET, pfresult: *mut i32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn PrivilegedServiceAuditAlarmA(subsystemname: ::windows_sys::core::PCSTR, servicename: ::windows_sys::core::PCSTR, clienttoken: super::Foundation::HANDLE, privileges: *const PRIVILEGE_SET, accessgranted: super::Foundation::BOOL) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn PrivilegedServiceAuditAlarmW(subsystemname: ::windows_sys::core::PCWSTR, servicename: ::windows_sys::core::PCWSTR, clienttoken: super::Foundation::HANDLE, privileges: *const PRIVILEGE_SET, accessgranted: super::Foundation::BOOL) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`*"]
+ pub fn QuerySecurityAccessMask(securityinformation: u32, desiredaccess: *mut u32);
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn RevertToSelf() -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn RtlConvertSidToUnicodeString(unicodestring: *mut super::Foundation::UNICODE_STRING, sid: super::Foundation::PSID, allocatedestinationstring: super::Foundation::BOOLEAN) -> super::Foundation::NTSTATUS;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn RtlNormalizeSecurityDescriptor(securitydescriptor: *mut PSECURITY_DESCRIPTOR, securitydescriptorlength: u32, newsecuritydescriptor: *mut PSECURITY_DESCRIPTOR, newsecuritydescriptorlength: *mut u32, checkonly: super::Foundation::BOOLEAN) -> super::Foundation::BOOLEAN;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SetAclInformation(pacl: *mut ACL, paclinformation: *const ::core::ffi::c_void, naclinformationlength: u32, dwaclinformationclass: ACL_INFORMATION_CLASS) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SetCachedSigningLevel(sourcefiles: *const super::Foundation::HANDLE, sourcefilecount: u32, flags: u32, targetfile: super::Foundation::HANDLE) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SetFileSecurityA(lpfilename: ::windows_sys::core::PCSTR, securityinformation: u32, psecuritydescriptor: PSECURITY_DESCRIPTOR) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SetFileSecurityW(lpfilename: ::windows_sys::core::PCWSTR, securityinformation: u32, psecuritydescriptor: PSECURITY_DESCRIPTOR) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SetKernelObjectSecurity(handle: super::Foundation::HANDLE, securityinformation: u32, securitydescriptor: PSECURITY_DESCRIPTOR) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SetPrivateObjectSecurity(securityinformation: u32, modificationdescriptor: PSECURITY_DESCRIPTOR, objectssecuritydescriptor: *mut PSECURITY_DESCRIPTOR, genericmapping: *const GENERIC_MAPPING, token: super::Foundation::HANDLE) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SetPrivateObjectSecurityEx(securityinformation: u32, modificationdescriptor: PSECURITY_DESCRIPTOR, objectssecuritydescriptor: *mut PSECURITY_DESCRIPTOR, autoinheritflags: SECURITY_AUTO_INHERIT_FLAGS, genericmapping: *const GENERIC_MAPPING, token: super::Foundation::HANDLE) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`*"]
+ pub fn SetSecurityAccessMask(securityinformation: u32, desiredaccess: *mut u32);
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SetSecurityDescriptorControl(psecuritydescriptor: PSECURITY_DESCRIPTOR, controlbitsofinterest: u16, controlbitstoset: u16) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SetSecurityDescriptorDacl(psecuritydescriptor: PSECURITY_DESCRIPTOR, bdaclpresent: super::Foundation::BOOL, pdacl: *const ACL, bdacldefaulted: super::Foundation::BOOL) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SetSecurityDescriptorGroup(psecuritydescriptor: PSECURITY_DESCRIPTOR, pgroup: super::Foundation::PSID, bgroupdefaulted: super::Foundation::BOOL) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SetSecurityDescriptorOwner(psecuritydescriptor: PSECURITY_DESCRIPTOR, powner: super::Foundation::PSID, bownerdefaulted: super::Foundation::BOOL) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`*"]
+ pub fn SetSecurityDescriptorRMControl(securitydescriptor: PSECURITY_DESCRIPTOR, rmcontrol: *const u8) -> u32;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SetSecurityDescriptorSacl(psecuritydescriptor: PSECURITY_DESCRIPTOR, bsaclpresent: super::Foundation::BOOL, psacl: *const ACL, bsacldefaulted: super::Foundation::BOOL) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SetTokenInformation(tokenhandle: super::Foundation::HANDLE, tokeninformationclass: TOKEN_INFORMATION_CLASS, tokeninformation: *const ::core::ffi::c_void, tokeninformationlength: u32) -> super::Foundation::BOOL;
+ #[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+ #[cfg(feature = "Win32_Foundation")]
+ pub fn SetUserObjectSecurity(hobj: super::Foundation::HANDLE, psirequested: *const OBJECT_SECURITY_INFORMATION, psid: PSECURITY_DESCRIPTOR) -> super::Foundation::BOOL;
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct ACCESS_ALLOWED_ACE {
+ pub Header: ACE_HEADER,
+ pub Mask: u32,
+ pub SidStart: u32,
+}
+impl ::core::marker::Copy for ACCESS_ALLOWED_ACE {}
+impl ::core::clone::Clone for ACCESS_ALLOWED_ACE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct ACCESS_ALLOWED_CALLBACK_ACE {
+ pub Header: ACE_HEADER,
+ pub Mask: u32,
+ pub SidStart: u32,
+}
+impl ::core::marker::Copy for ACCESS_ALLOWED_CALLBACK_ACE {}
+impl ::core::clone::Clone for ACCESS_ALLOWED_CALLBACK_ACE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct ACCESS_ALLOWED_CALLBACK_OBJECT_ACE {
+ pub Header: ACE_HEADER,
+ pub Mask: u32,
+ pub Flags: SYSTEM_AUDIT_OBJECT_ACE_FLAGS,
+ pub ObjectType: ::windows_sys::core::GUID,
+ pub InheritedObjectType: ::windows_sys::core::GUID,
+ pub SidStart: u32,
+}
+impl ::core::marker::Copy for ACCESS_ALLOWED_CALLBACK_OBJECT_ACE {}
+impl ::core::clone::Clone for ACCESS_ALLOWED_CALLBACK_OBJECT_ACE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct ACCESS_ALLOWED_OBJECT_ACE {
+ pub Header: ACE_HEADER,
+ pub Mask: u32,
+ pub Flags: SYSTEM_AUDIT_OBJECT_ACE_FLAGS,
+ pub ObjectType: ::windows_sys::core::GUID,
+ pub InheritedObjectType: ::windows_sys::core::GUID,
+ pub SidStart: u32,
+}
+impl ::core::marker::Copy for ACCESS_ALLOWED_OBJECT_ACE {}
+impl ::core::clone::Clone for ACCESS_ALLOWED_OBJECT_ACE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct ACCESS_DENIED_ACE {
+ pub Header: ACE_HEADER,
+ pub Mask: u32,
+ pub SidStart: u32,
+}
+impl ::core::marker::Copy for ACCESS_DENIED_ACE {}
+impl ::core::clone::Clone for ACCESS_DENIED_ACE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct ACCESS_DENIED_CALLBACK_ACE {
+ pub Header: ACE_HEADER,
+ pub Mask: u32,
+ pub SidStart: u32,
+}
+impl ::core::marker::Copy for ACCESS_DENIED_CALLBACK_ACE {}
+impl ::core::clone::Clone for ACCESS_DENIED_CALLBACK_ACE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct ACCESS_DENIED_CALLBACK_OBJECT_ACE {
+ pub Header: ACE_HEADER,
+ pub Mask: u32,
+ pub Flags: SYSTEM_AUDIT_OBJECT_ACE_FLAGS,
+ pub ObjectType: ::windows_sys::core::GUID,
+ pub InheritedObjectType: ::windows_sys::core::GUID,
+ pub SidStart: u32,
+}
+impl ::core::marker::Copy for ACCESS_DENIED_CALLBACK_OBJECT_ACE {}
+impl ::core::clone::Clone for ACCESS_DENIED_CALLBACK_OBJECT_ACE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct ACCESS_DENIED_OBJECT_ACE {
+ pub Header: ACE_HEADER,
+ pub Mask: u32,
+ pub Flags: SYSTEM_AUDIT_OBJECT_ACE_FLAGS,
+ pub ObjectType: ::windows_sys::core::GUID,
+ pub InheritedObjectType: ::windows_sys::core::GUID,
+ pub SidStart: u32,
+}
+impl ::core::marker::Copy for ACCESS_DENIED_OBJECT_ACE {}
+impl ::core::clone::Clone for ACCESS_DENIED_OBJECT_ACE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct ACCESS_REASONS {
+ pub Data: [u32; 32],
+}
+impl ::core::marker::Copy for ACCESS_REASONS {}
+impl ::core::clone::Clone for ACCESS_REASONS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub type ACE_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const CONTAINER_INHERIT_ACE: ACE_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const FAILED_ACCESS_ACE_FLAG: ACE_FLAGS = 128u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const INHERIT_ONLY_ACE: ACE_FLAGS = 8u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const INHERITED_ACE: ACE_FLAGS = 16u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const NO_PROPAGATE_INHERIT_ACE: ACE_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const OBJECT_INHERIT_ACE: ACE_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SUCCESSFUL_ACCESS_ACE_FLAG: ACE_FLAGS = 64u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SUB_CONTAINERS_AND_OBJECTS_INHERIT: ACE_FLAGS = 3u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SUB_CONTAINERS_ONLY_INHERIT: ACE_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SUB_OBJECTS_ONLY_INHERIT: ACE_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const INHERIT_NO_PROPAGATE: ACE_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const INHERIT_ONLY: ACE_FLAGS = 8u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const NO_INHERITANCE: ACE_FLAGS = 0u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct ACE_HEADER {
+ pub AceType: u8,
+ pub AceFlags: u8,
+ pub AceSize: u16,
+}
+impl ::core::marker::Copy for ACE_HEADER {}
+impl ::core::clone::Clone for ACE_HEADER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub type ACE_REVISION = u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const ACL_REVISION: ACE_REVISION = 2u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const ACL_REVISION_DS: ACE_REVISION = 4u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct ACL {
+ pub AclRevision: u8,
+ pub Sbz1: u8,
+ pub AclSize: u16,
+ pub AceCount: u16,
+ pub Sbz2: u16,
+}
+impl ::core::marker::Copy for ACL {}
+impl ::core::clone::Clone for ACL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub type ACL_INFORMATION_CLASS = i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const AclRevisionInformation: ACL_INFORMATION_CLASS = 1i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const AclSizeInformation: ACL_INFORMATION_CLASS = 2i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct ACL_REVISION_INFORMATION {
+ pub AclRevision: u32,
+}
+impl ::core::marker::Copy for ACL_REVISION_INFORMATION {}
+impl ::core::clone::Clone for ACL_REVISION_INFORMATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct ACL_SIZE_INFORMATION {
+ pub AceCount: u32,
+ pub AclBytesInUse: u32,
+ pub AclBytesFree: u32,
+}
+impl ::core::marker::Copy for ACL_SIZE_INFORMATION {}
+impl ::core::clone::Clone for ACL_SIZE_INFORMATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub type AUDIT_EVENT_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const AuditEventObjectAccess: AUDIT_EVENT_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const AuditEventDirectoryServiceAccess: AUDIT_EVENT_TYPE = 1i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct CLAIM_SECURITY_ATTRIBUTES_INFORMATION {
+ pub Version: u16,
+ pub Reserved: u16,
+ pub AttributeCount: u32,
+ pub Attribute: CLAIM_SECURITY_ATTRIBUTES_INFORMATION_0,
+}
+impl ::core::marker::Copy for CLAIM_SECURITY_ATTRIBUTES_INFORMATION {}
+impl ::core::clone::Clone for CLAIM_SECURITY_ATTRIBUTES_INFORMATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub union CLAIM_SECURITY_ATTRIBUTES_INFORMATION_0 {
+ pub pAttributeV1: *mut CLAIM_SECURITY_ATTRIBUTE_V1,
+}
+impl ::core::marker::Copy for CLAIM_SECURITY_ATTRIBUTES_INFORMATION_0 {}
+impl ::core::clone::Clone for CLAIM_SECURITY_ATTRIBUTES_INFORMATION_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub type CLAIM_SECURITY_ATTRIBUTE_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const CLAIM_SECURITY_ATTRIBUTE_NON_INHERITABLE: CLAIM_SECURITY_ATTRIBUTE_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const CLAIM_SECURITY_ATTRIBUTE_VALUE_CASE_SENSITIVE: CLAIM_SECURITY_ATTRIBUTE_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const CLAIM_SECURITY_ATTRIBUTE_USE_FOR_DENY_ONLY: CLAIM_SECURITY_ATTRIBUTE_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const CLAIM_SECURITY_ATTRIBUTE_DISABLED_BY_DEFAULT: CLAIM_SECURITY_ATTRIBUTE_FLAGS = 8u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const CLAIM_SECURITY_ATTRIBUTE_DISABLED: CLAIM_SECURITY_ATTRIBUTE_FLAGS = 16u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const CLAIM_SECURITY_ATTRIBUTE_MANDATORY: CLAIM_SECURITY_ATTRIBUTE_FLAGS = 32u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct CLAIM_SECURITY_ATTRIBUTE_FQBN_VALUE {
+ pub Version: u64,
+ pub Name: ::windows_sys::core::PWSTR,
+}
+impl ::core::marker::Copy for CLAIM_SECURITY_ATTRIBUTE_FQBN_VALUE {}
+impl ::core::clone::Clone for CLAIM_SECURITY_ATTRIBUTE_FQBN_VALUE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct CLAIM_SECURITY_ATTRIBUTE_OCTET_STRING_VALUE {
+ pub pValue: *mut ::core::ffi::c_void,
+ pub ValueLength: u32,
+}
+impl ::core::marker::Copy for CLAIM_SECURITY_ATTRIBUTE_OCTET_STRING_VALUE {}
+impl ::core::clone::Clone for CLAIM_SECURITY_ATTRIBUTE_OCTET_STRING_VALUE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct CLAIM_SECURITY_ATTRIBUTE_RELATIVE_V1 {
+ pub Name: u32,
+ pub ValueType: CLAIM_SECURITY_ATTRIBUTE_VALUE_TYPE,
+ pub Reserved: u16,
+ pub Flags: CLAIM_SECURITY_ATTRIBUTE_FLAGS,
+ pub ValueCount: u32,
+ pub Values: CLAIM_SECURITY_ATTRIBUTE_RELATIVE_V1_0,
+}
+impl ::core::marker::Copy for CLAIM_SECURITY_ATTRIBUTE_RELATIVE_V1 {}
+impl ::core::clone::Clone for CLAIM_SECURITY_ATTRIBUTE_RELATIVE_V1 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub union CLAIM_SECURITY_ATTRIBUTE_RELATIVE_V1_0 {
+ pub pInt64: [u32; 1],
+ pub pUint64: [u32; 1],
+ pub ppString: [u32; 1],
+ pub pFqbn: [u32; 1],
+ pub pOctetString: [u32; 1],
+}
+impl ::core::marker::Copy for CLAIM_SECURITY_ATTRIBUTE_RELATIVE_V1_0 {}
+impl ::core::clone::Clone for CLAIM_SECURITY_ATTRIBUTE_RELATIVE_V1_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct CLAIM_SECURITY_ATTRIBUTE_V1 {
+ pub Name: ::windows_sys::core::PWSTR,
+ pub ValueType: CLAIM_SECURITY_ATTRIBUTE_VALUE_TYPE,
+ pub Reserved: u16,
+ pub Flags: u32,
+ pub ValueCount: u32,
+ pub Values: CLAIM_SECURITY_ATTRIBUTE_V1_0,
+}
+impl ::core::marker::Copy for CLAIM_SECURITY_ATTRIBUTE_V1 {}
+impl ::core::clone::Clone for CLAIM_SECURITY_ATTRIBUTE_V1 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub union CLAIM_SECURITY_ATTRIBUTE_V1_0 {
+ pub pInt64: *mut i64,
+ pub pUint64: *mut u64,
+ pub ppString: *mut ::windows_sys::core::PWSTR,
+ pub pFqbn: *mut CLAIM_SECURITY_ATTRIBUTE_FQBN_VALUE,
+ pub pOctetString: *mut CLAIM_SECURITY_ATTRIBUTE_OCTET_STRING_VALUE,
+}
+impl ::core::marker::Copy for CLAIM_SECURITY_ATTRIBUTE_V1_0 {}
+impl ::core::clone::Clone for CLAIM_SECURITY_ATTRIBUTE_V1_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub type CLAIM_SECURITY_ATTRIBUTE_VALUE_TYPE = u16;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const CLAIM_SECURITY_ATTRIBUTE_TYPE_INT64: CLAIM_SECURITY_ATTRIBUTE_VALUE_TYPE = 1u16;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const CLAIM_SECURITY_ATTRIBUTE_TYPE_UINT64: CLAIM_SECURITY_ATTRIBUTE_VALUE_TYPE = 2u16;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const CLAIM_SECURITY_ATTRIBUTE_TYPE_STRING: CLAIM_SECURITY_ATTRIBUTE_VALUE_TYPE = 3u16;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const CLAIM_SECURITY_ATTRIBUTE_TYPE_OCTET_STRING: CLAIM_SECURITY_ATTRIBUTE_VALUE_TYPE = 16u16;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const CLAIM_SECURITY_ATTRIBUTE_TYPE_FQBN: CLAIM_SECURITY_ATTRIBUTE_VALUE_TYPE = 4u16;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const CLAIM_SECURITY_ATTRIBUTE_TYPE_SID: CLAIM_SECURITY_ATTRIBUTE_VALUE_TYPE = 5u16;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const CLAIM_SECURITY_ATTRIBUTE_TYPE_BOOLEAN: CLAIM_SECURITY_ATTRIBUTE_VALUE_TYPE = 6u16;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub type CREATE_RESTRICTED_TOKEN_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const DISABLE_MAX_PRIVILEGE: CREATE_RESTRICTED_TOKEN_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SANDBOX_INERT: CREATE_RESTRICTED_TOKEN_FLAGS = 2u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const LUA_TOKEN: CREATE_RESTRICTED_TOKEN_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WRITE_RESTRICTED: CREATE_RESTRICTED_TOKEN_FLAGS = 8u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const CVT_SECONDS: u32 = 1u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub type ENUM_PERIOD = i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const ENUM_PERIOD_INVALID: ENUM_PERIOD = -1i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const ENUM_PERIOD_SECONDS: ENUM_PERIOD = 0i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const ENUM_PERIOD_MINUTES: ENUM_PERIOD = 1i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const ENUM_PERIOD_HOURS: ENUM_PERIOD = 2i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const ENUM_PERIOD_DAYS: ENUM_PERIOD = 3i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const ENUM_PERIOD_WEEKS: ENUM_PERIOD = 4i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const ENUM_PERIOD_MONTHS: ENUM_PERIOD = 5i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const ENUM_PERIOD_YEARS: ENUM_PERIOD = 6i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct GENERIC_MAPPING {
+ pub GenericRead: u32,
+ pub GenericWrite: u32,
+ pub GenericExecute: u32,
+ pub GenericAll: u32,
+}
+impl ::core::marker::Copy for GENERIC_MAPPING {}
+impl ::core::clone::Clone for GENERIC_MAPPING {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type HDIAGNOSTIC_DATA_QUERY_SESSION = isize;
+pub type HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION = isize;
+pub type HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION = isize;
+pub type HDIAGNOSTIC_EVENT_TAG_DESCRIPTION = isize;
+pub type HDIAGNOSTIC_RECORD = isize;
+pub type HDIAGNOSTIC_REPORT = isize;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct LLFILETIME {
+ pub Anonymous: LLFILETIME_0,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for LLFILETIME {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for LLFILETIME {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub union LLFILETIME_0 {
+ pub ll: i64,
+ pub ft: super::Foundation::FILETIME,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for LLFILETIME_0 {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for LLFILETIME_0 {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub type LOGON32_LOGON = u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const LOGON32_LOGON_BATCH: LOGON32_LOGON = 4u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const LOGON32_LOGON_INTERACTIVE: LOGON32_LOGON = 2u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const LOGON32_LOGON_NETWORK: LOGON32_LOGON = 3u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const LOGON32_LOGON_NETWORK_CLEARTEXT: LOGON32_LOGON = 8u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const LOGON32_LOGON_NEW_CREDENTIALS: LOGON32_LOGON = 9u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const LOGON32_LOGON_SERVICE: LOGON32_LOGON = 5u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const LOGON32_LOGON_UNLOCK: LOGON32_LOGON = 7u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub type LOGON32_PROVIDER = u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const LOGON32_PROVIDER_DEFAULT: LOGON32_PROVIDER = 0u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const LOGON32_PROVIDER_WINNT50: LOGON32_PROVIDER = 3u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const LOGON32_PROVIDER_WINNT40: LOGON32_PROVIDER = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct LUID_AND_ATTRIBUTES {
+ pub Luid: super::Foundation::LUID,
+ pub Attributes: TOKEN_PRIVILEGES_ATTRIBUTES,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for LUID_AND_ATTRIBUTES {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for LUID_AND_ATTRIBUTES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub type MANDATORY_LEVEL = i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const MandatoryLevelUntrusted: MANDATORY_LEVEL = 0i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const MandatoryLevelLow: MANDATORY_LEVEL = 1i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const MandatoryLevelMedium: MANDATORY_LEVEL = 2i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const MandatoryLevelHigh: MANDATORY_LEVEL = 3i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const MandatoryLevelSystem: MANDATORY_LEVEL = 4i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const MandatoryLevelSecureProcess: MANDATORY_LEVEL = 5i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const MandatoryLevelCount: MANDATORY_LEVEL = 6i32;
+pub type NCRYPT_DESCRIPTOR_HANDLE = isize;
+pub type NCRYPT_STREAM_HANDLE = isize;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub type OBJECT_SECURITY_INFORMATION = u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const ATTRIBUTE_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 32u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const BACKUP_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 65536u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const DACL_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 4u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const GROUP_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 2u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const LABEL_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 16u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const OWNER_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 1u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const PROTECTED_DACL_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 2147483648u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const PROTECTED_SACL_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 1073741824u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SACL_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 8u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SCOPE_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 64u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const UNPROTECTED_DACL_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 536870912u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const UNPROTECTED_SACL_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 268435456u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct OBJECT_TYPE_LIST {
+ pub Level: u16,
+ pub Sbz: u16,
+ pub ObjectType: *mut ::windows_sys::core::GUID,
+}
+impl ::core::marker::Copy for OBJECT_TYPE_LIST {}
+impl ::core::clone::Clone for OBJECT_TYPE_LIST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub type PLSA_AP_CALL_PACKAGE_UNTRUSTED = ::core::option::Option<unsafe extern "system" fn(clientrequest: *const *const ::core::ffi::c_void, protocolsubmitbuffer: *const ::core::ffi::c_void, clientbufferbase: *const ::core::ffi::c_void, submitbufferlength: u32, protocolreturnbuffer: *mut *mut ::core::ffi::c_void, returnbufferlength: *mut u32, protocolstatus: *mut i32) -> super::Foundation::NTSTATUS>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct PRIVILEGE_SET {
+ pub PrivilegeCount: u32,
+ pub Control: u32,
+ pub Privilege: [LUID_AND_ATTRIBUTES; 1],
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for PRIVILEGE_SET {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for PRIVILEGE_SET {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type PSECURITY_DESCRIPTOR = *mut ::core::ffi::c_void;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct QUOTA_LIMITS {
+ pub PagedPoolLimit: usize,
+ pub NonPagedPoolLimit: usize,
+ pub MinimumWorkingSetSize: usize,
+ pub MaximumWorkingSetSize: usize,
+ pub PagefileLimit: usize,
+ pub TimeLimit: i64,
+}
+impl ::core::marker::Copy for QUOTA_LIMITS {}
+impl ::core::clone::Clone for QUOTA_LIMITS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type SAFER_LEVEL_HANDLE = isize;
+pub type SC_HANDLE = isize;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SECURITY_ATTRIBUTES {
+ pub nLength: u32,
+ pub lpSecurityDescriptor: *mut ::core::ffi::c_void,
+ pub bInheritHandle: super::Foundation::BOOL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SECURITY_ATTRIBUTES {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SECURITY_ATTRIBUTES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub type SECURITY_AUTO_INHERIT_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SEF_AVOID_OWNER_CHECK: SECURITY_AUTO_INHERIT_FLAGS = 16u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SEF_AVOID_OWNER_RESTRICTION: SECURITY_AUTO_INHERIT_FLAGS = 4096u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SEF_AVOID_PRIVILEGE_CHECK: SECURITY_AUTO_INHERIT_FLAGS = 8u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SEF_DACL_AUTO_INHERIT: SECURITY_AUTO_INHERIT_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SEF_DEFAULT_DESCRIPTOR_FOR_OBJECT: SECURITY_AUTO_INHERIT_FLAGS = 4u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SEF_DEFAULT_GROUP_FROM_PARENT: SECURITY_AUTO_INHERIT_FLAGS = 64u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SEF_DEFAULT_OWNER_FROM_PARENT: SECURITY_AUTO_INHERIT_FLAGS = 32u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SEF_MACL_NO_EXECUTE_UP: SECURITY_AUTO_INHERIT_FLAGS = 1024u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SEF_MACL_NO_READ_UP: SECURITY_AUTO_INHERIT_FLAGS = 512u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SEF_MACL_NO_WRITE_UP: SECURITY_AUTO_INHERIT_FLAGS = 256u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SEF_SACL_AUTO_INHERIT: SECURITY_AUTO_INHERIT_FLAGS = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SECURITY_CAPABILITIES {
+ pub AppContainerSid: super::Foundation::PSID,
+ pub Capabilities: *mut SID_AND_ATTRIBUTES,
+ pub CapabilityCount: u32,
+ pub Reserved: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SECURITY_CAPABILITIES {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SECURITY_CAPABILITIES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SECURITY_DESCRIPTOR {
+ pub Revision: u8,
+ pub Sbz1: u8,
+ pub Control: u16,
+ pub Owner: super::Foundation::PSID,
+ pub Group: super::Foundation::PSID,
+ pub Sacl: *mut ACL,
+ pub Dacl: *mut ACL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SECURITY_DESCRIPTOR {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SECURITY_DESCRIPTOR {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub type SECURITY_IMPERSONATION_LEVEL = i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SecurityAnonymous: SECURITY_IMPERSONATION_LEVEL = 0i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SecurityIdentification: SECURITY_IMPERSONATION_LEVEL = 1i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SecurityImpersonation: SECURITY_IMPERSONATION_LEVEL = 2i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SecurityDelegation: SECURITY_IMPERSONATION_LEVEL = 3i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SECURITY_QUALITY_OF_SERVICE {
+ pub Length: u32,
+ pub ImpersonationLevel: SECURITY_IMPERSONATION_LEVEL,
+ pub ContextTrackingMode: u8,
+ pub EffectiveOnly: super::Foundation::BOOLEAN,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SECURITY_QUALITY_OF_SERVICE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SECURITY_QUALITY_OF_SERVICE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub type SEC_THREAD_START = ::core::option::Option<unsafe extern "system" fn(lpthreadparameter: *mut ::core::ffi::c_void) -> u32>;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SE_ACCESS_REPLY {
+ pub Size: u32,
+ pub ResultListCount: u32,
+ pub GrantedAccess: *mut u32,
+ pub AccessStatus: *mut u32,
+ pub AccessReason: *mut ACCESS_REASONS,
+ pub Privileges: *mut *mut PRIVILEGE_SET,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SE_ACCESS_REPLY {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SE_ACCESS_REPLY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SE_ACCESS_REQUEST {
+ pub Size: u32,
+ pub SeSecurityDescriptor: *mut SE_SECURITY_DESCRIPTOR,
+ pub DesiredAccess: u32,
+ pub PreviouslyGrantedAccess: u32,
+ pub PrincipalSelfSid: super::Foundation::PSID,
+ pub GenericMapping: *mut GENERIC_MAPPING,
+ pub ObjectTypeListCount: u32,
+ pub ObjectTypeList: *mut OBJECT_TYPE_LIST,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SE_ACCESS_REQUEST {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SE_ACCESS_REQUEST {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SE_IMPERSONATION_STATE {
+ pub Token: *mut ::core::ffi::c_void,
+ pub CopyOnOpen: super::Foundation::BOOLEAN,
+ pub EffectiveOnly: super::Foundation::BOOLEAN,
+ pub Level: SECURITY_IMPERSONATION_LEVEL,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SE_IMPERSONATION_STATE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SE_IMPERSONATION_STATE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct SE_SECURITY_DESCRIPTOR {
+ pub Size: u32,
+ pub Flags: u32,
+ pub SecurityDescriptor: PSECURITY_DESCRIPTOR,
+}
+impl ::core::marker::Copy for SE_SECURITY_DESCRIPTOR {}
+impl ::core::clone::Clone for SE_SECURITY_DESCRIPTOR {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub union SE_SID {
+ pub Sid: SID,
+ pub Buffer: [u8; 68],
+}
+impl ::core::marker::Copy for SE_SID {}
+impl ::core::clone::Clone for SE_SID {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct SID {
+ pub Revision: u8,
+ pub SubAuthorityCount: u8,
+ pub IdentifierAuthority: SID_IDENTIFIER_AUTHORITY,
+ pub SubAuthority: [u32; 1],
+}
+impl ::core::marker::Copy for SID {}
+impl ::core::clone::Clone for SID {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SID_AND_ATTRIBUTES {
+ pub Sid: super::Foundation::PSID,
+ pub Attributes: u32,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SID_AND_ATTRIBUTES {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SID_AND_ATTRIBUTES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct SID_AND_ATTRIBUTES_HASH {
+ pub SidCount: u32,
+ pub SidAttr: *mut SID_AND_ATTRIBUTES,
+ pub Hash: [usize; 32],
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for SID_AND_ATTRIBUTES_HASH {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for SID_AND_ATTRIBUTES_HASH {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct SID_IDENTIFIER_AUTHORITY {
+ pub Value: [u8; 6],
+}
+impl ::core::marker::Copy for SID_IDENTIFIER_AUTHORITY {}
+impl ::core::clone::Clone for SID_IDENTIFIER_AUTHORITY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub type SID_NAME_USE = i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SidTypeUser: SID_NAME_USE = 1i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SidTypeGroup: SID_NAME_USE = 2i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SidTypeDomain: SID_NAME_USE = 3i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SidTypeAlias: SID_NAME_USE = 4i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SidTypeWellKnownGroup: SID_NAME_USE = 5i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SidTypeDeletedAccount: SID_NAME_USE = 6i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SidTypeInvalid: SID_NAME_USE = 7i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SidTypeUnknown: SID_NAME_USE = 8i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SidTypeComputer: SID_NAME_USE = 9i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SidTypeLabel: SID_NAME_USE = 10i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SidTypeLogonSession: SID_NAME_USE = 11i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct SYSTEM_ACCESS_FILTER_ACE {
+ pub Header: ACE_HEADER,
+ pub Mask: u32,
+ pub SidStart: u32,
+}
+impl ::core::marker::Copy for SYSTEM_ACCESS_FILTER_ACE {}
+impl ::core::clone::Clone for SYSTEM_ACCESS_FILTER_ACE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct SYSTEM_ALARM_ACE {
+ pub Header: ACE_HEADER,
+ pub Mask: u32,
+ pub SidStart: u32,
+}
+impl ::core::marker::Copy for SYSTEM_ALARM_ACE {}
+impl ::core::clone::Clone for SYSTEM_ALARM_ACE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct SYSTEM_ALARM_CALLBACK_ACE {
+ pub Header: ACE_HEADER,
+ pub Mask: u32,
+ pub SidStart: u32,
+}
+impl ::core::marker::Copy for SYSTEM_ALARM_CALLBACK_ACE {}
+impl ::core::clone::Clone for SYSTEM_ALARM_CALLBACK_ACE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct SYSTEM_ALARM_CALLBACK_OBJECT_ACE {
+ pub Header: ACE_HEADER,
+ pub Mask: u32,
+ pub Flags: SYSTEM_AUDIT_OBJECT_ACE_FLAGS,
+ pub ObjectType: ::windows_sys::core::GUID,
+ pub InheritedObjectType: ::windows_sys::core::GUID,
+ pub SidStart: u32,
+}
+impl ::core::marker::Copy for SYSTEM_ALARM_CALLBACK_OBJECT_ACE {}
+impl ::core::clone::Clone for SYSTEM_ALARM_CALLBACK_OBJECT_ACE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct SYSTEM_ALARM_OBJECT_ACE {
+ pub Header: ACE_HEADER,
+ pub Mask: u32,
+ pub Flags: u32,
+ pub ObjectType: ::windows_sys::core::GUID,
+ pub InheritedObjectType: ::windows_sys::core::GUID,
+ pub SidStart: u32,
+}
+impl ::core::marker::Copy for SYSTEM_ALARM_OBJECT_ACE {}
+impl ::core::clone::Clone for SYSTEM_ALARM_OBJECT_ACE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct SYSTEM_AUDIT_ACE {
+ pub Header: ACE_HEADER,
+ pub Mask: u32,
+ pub SidStart: u32,
+}
+impl ::core::marker::Copy for SYSTEM_AUDIT_ACE {}
+impl ::core::clone::Clone for SYSTEM_AUDIT_ACE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct SYSTEM_AUDIT_CALLBACK_ACE {
+ pub Header: ACE_HEADER,
+ pub Mask: u32,
+ pub SidStart: u32,
+}
+impl ::core::marker::Copy for SYSTEM_AUDIT_CALLBACK_ACE {}
+impl ::core::clone::Clone for SYSTEM_AUDIT_CALLBACK_ACE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct SYSTEM_AUDIT_CALLBACK_OBJECT_ACE {
+ pub Header: ACE_HEADER,
+ pub Mask: u32,
+ pub Flags: SYSTEM_AUDIT_OBJECT_ACE_FLAGS,
+ pub ObjectType: ::windows_sys::core::GUID,
+ pub InheritedObjectType: ::windows_sys::core::GUID,
+ pub SidStart: u32,
+}
+impl ::core::marker::Copy for SYSTEM_AUDIT_CALLBACK_OBJECT_ACE {}
+impl ::core::clone::Clone for SYSTEM_AUDIT_CALLBACK_OBJECT_ACE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct SYSTEM_AUDIT_OBJECT_ACE {
+ pub Header: ACE_HEADER,
+ pub Mask: u32,
+ pub Flags: SYSTEM_AUDIT_OBJECT_ACE_FLAGS,
+ pub ObjectType: ::windows_sys::core::GUID,
+ pub InheritedObjectType: ::windows_sys::core::GUID,
+ pub SidStart: u32,
+}
+impl ::core::marker::Copy for SYSTEM_AUDIT_OBJECT_ACE {}
+impl ::core::clone::Clone for SYSTEM_AUDIT_OBJECT_ACE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub type SYSTEM_AUDIT_OBJECT_ACE_FLAGS = u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const ACE_OBJECT_TYPE_PRESENT: SYSTEM_AUDIT_OBJECT_ACE_FLAGS = 1u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const ACE_INHERITED_OBJECT_TYPE_PRESENT: SYSTEM_AUDIT_OBJECT_ACE_FLAGS = 2u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct SYSTEM_MANDATORY_LABEL_ACE {
+ pub Header: ACE_HEADER,
+ pub Mask: u32,
+ pub SidStart: u32,
+}
+impl ::core::marker::Copy for SYSTEM_MANDATORY_LABEL_ACE {}
+impl ::core::clone::Clone for SYSTEM_MANDATORY_LABEL_ACE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct SYSTEM_PROCESS_TRUST_LABEL_ACE {
+ pub Header: ACE_HEADER,
+ pub Mask: u32,
+ pub SidStart: u32,
+}
+impl ::core::marker::Copy for SYSTEM_PROCESS_TRUST_LABEL_ACE {}
+impl ::core::clone::Clone for SYSTEM_PROCESS_TRUST_LABEL_ACE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct SYSTEM_RESOURCE_ATTRIBUTE_ACE {
+ pub Header: ACE_HEADER,
+ pub Mask: u32,
+ pub SidStart: u32,
+}
+impl ::core::marker::Copy for SYSTEM_RESOURCE_ATTRIBUTE_ACE {}
+impl ::core::clone::Clone for SYSTEM_RESOURCE_ATTRIBUTE_ACE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct SYSTEM_SCOPED_POLICY_ID_ACE {
+ pub Header: ACE_HEADER,
+ pub Mask: u32,
+ pub SidStart: u32,
+}
+impl ::core::marker::Copy for SYSTEM_SCOPED_POLICY_ID_ACE {}
+impl ::core::clone::Clone for SYSTEM_SCOPED_POLICY_ID_ACE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct TOKEN_ACCESS_INFORMATION {
+ pub SidHash: *mut SID_AND_ATTRIBUTES_HASH,
+ pub RestrictedSidHash: *mut SID_AND_ATTRIBUTES_HASH,
+ pub Privileges: *mut TOKEN_PRIVILEGES,
+ pub AuthenticationId: super::Foundation::LUID,
+ pub TokenType: TOKEN_TYPE,
+ pub ImpersonationLevel: SECURITY_IMPERSONATION_LEVEL,
+ pub MandatoryPolicy: TOKEN_MANDATORY_POLICY,
+ pub Flags: u32,
+ pub AppContainerNumber: u32,
+ pub PackageSid: super::Foundation::PSID,
+ pub CapabilitiesHash: *mut SID_AND_ATTRIBUTES_HASH,
+ pub TrustLevelSid: super::Foundation::PSID,
+ pub SecurityAttributes: *mut ::core::ffi::c_void,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for TOKEN_ACCESS_INFORMATION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for TOKEN_ACCESS_INFORMATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub type TOKEN_ACCESS_MASK = u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TOKEN_DELETE: TOKEN_ACCESS_MASK = 65536u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TOKEN_READ_CONTROL: TOKEN_ACCESS_MASK = 131072u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TOKEN_WRITE_DAC: TOKEN_ACCESS_MASK = 262144u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TOKEN_WRITE_OWNER: TOKEN_ACCESS_MASK = 524288u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TOKEN_ACCESS_SYSTEM_SECURITY: TOKEN_ACCESS_MASK = 16777216u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TOKEN_ASSIGN_PRIMARY: TOKEN_ACCESS_MASK = 1u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TOKEN_DUPLICATE: TOKEN_ACCESS_MASK = 2u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TOKEN_IMPERSONATE: TOKEN_ACCESS_MASK = 4u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TOKEN_QUERY: TOKEN_ACCESS_MASK = 8u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TOKEN_QUERY_SOURCE: TOKEN_ACCESS_MASK = 16u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TOKEN_ADJUST_PRIVILEGES: TOKEN_ACCESS_MASK = 32u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TOKEN_ADJUST_GROUPS: TOKEN_ACCESS_MASK = 64u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TOKEN_ADJUST_DEFAULT: TOKEN_ACCESS_MASK = 128u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TOKEN_ADJUST_SESSIONID: TOKEN_ACCESS_MASK = 256u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TOKEN_ALL_ACCESS: TOKEN_ACCESS_MASK = 983295u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct TOKEN_APPCONTAINER_INFORMATION {
+ pub TokenAppContainer: super::Foundation::PSID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for TOKEN_APPCONTAINER_INFORMATION {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for TOKEN_APPCONTAINER_INFORMATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct TOKEN_AUDIT_POLICY {
+ pub PerUserPolicy: [u8; 30],
+}
+impl ::core::marker::Copy for TOKEN_AUDIT_POLICY {}
+impl ::core::clone::Clone for TOKEN_AUDIT_POLICY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct TOKEN_CONTROL {
+ pub TokenId: super::Foundation::LUID,
+ pub AuthenticationId: super::Foundation::LUID,
+ pub ModifiedId: super::Foundation::LUID,
+ pub TokenSource: TOKEN_SOURCE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for TOKEN_CONTROL {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for TOKEN_CONTROL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct TOKEN_DEFAULT_DACL {
+ pub DefaultDacl: *mut ACL,
+}
+impl ::core::marker::Copy for TOKEN_DEFAULT_DACL {}
+impl ::core::clone::Clone for TOKEN_DEFAULT_DACL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct TOKEN_DEVICE_CLAIMS {
+ pub DeviceClaims: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for TOKEN_DEVICE_CLAIMS {}
+impl ::core::clone::Clone for TOKEN_DEVICE_CLAIMS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct TOKEN_ELEVATION {
+ pub TokenIsElevated: u32,
+}
+impl ::core::marker::Copy for TOKEN_ELEVATION {}
+impl ::core::clone::Clone for TOKEN_ELEVATION {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub type TOKEN_ELEVATION_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenElevationTypeDefault: TOKEN_ELEVATION_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenElevationTypeFull: TOKEN_ELEVATION_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenElevationTypeLimited: TOKEN_ELEVATION_TYPE = 3i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct TOKEN_GROUPS {
+ pub GroupCount: u32,
+ pub Groups: [SID_AND_ATTRIBUTES; 1],
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for TOKEN_GROUPS {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for TOKEN_GROUPS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct TOKEN_GROUPS_AND_PRIVILEGES {
+ pub SidCount: u32,
+ pub SidLength: u32,
+ pub Sids: *mut SID_AND_ATTRIBUTES,
+ pub RestrictedSidCount: u32,
+ pub RestrictedSidLength: u32,
+ pub RestrictedSids: *mut SID_AND_ATTRIBUTES,
+ pub PrivilegeCount: u32,
+ pub PrivilegeLength: u32,
+ pub Privileges: *mut LUID_AND_ATTRIBUTES,
+ pub AuthenticationId: super::Foundation::LUID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for TOKEN_GROUPS_AND_PRIVILEGES {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for TOKEN_GROUPS_AND_PRIVILEGES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub type TOKEN_INFORMATION_CLASS = i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenUser: TOKEN_INFORMATION_CLASS = 1i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenGroups: TOKEN_INFORMATION_CLASS = 2i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenPrivileges: TOKEN_INFORMATION_CLASS = 3i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenOwner: TOKEN_INFORMATION_CLASS = 4i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenPrimaryGroup: TOKEN_INFORMATION_CLASS = 5i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenDefaultDacl: TOKEN_INFORMATION_CLASS = 6i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenSource: TOKEN_INFORMATION_CLASS = 7i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenType: TOKEN_INFORMATION_CLASS = 8i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenImpersonationLevel: TOKEN_INFORMATION_CLASS = 9i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenStatistics: TOKEN_INFORMATION_CLASS = 10i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenRestrictedSids: TOKEN_INFORMATION_CLASS = 11i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenSessionId: TOKEN_INFORMATION_CLASS = 12i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenGroupsAndPrivileges: TOKEN_INFORMATION_CLASS = 13i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenSessionReference: TOKEN_INFORMATION_CLASS = 14i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenSandBoxInert: TOKEN_INFORMATION_CLASS = 15i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenAuditPolicy: TOKEN_INFORMATION_CLASS = 16i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenOrigin: TOKEN_INFORMATION_CLASS = 17i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenElevationType: TOKEN_INFORMATION_CLASS = 18i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenLinkedToken: TOKEN_INFORMATION_CLASS = 19i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenElevation: TOKEN_INFORMATION_CLASS = 20i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenHasRestrictions: TOKEN_INFORMATION_CLASS = 21i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenAccessInformation: TOKEN_INFORMATION_CLASS = 22i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenVirtualizationAllowed: TOKEN_INFORMATION_CLASS = 23i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenVirtualizationEnabled: TOKEN_INFORMATION_CLASS = 24i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenIntegrityLevel: TOKEN_INFORMATION_CLASS = 25i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenUIAccess: TOKEN_INFORMATION_CLASS = 26i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenMandatoryPolicy: TOKEN_INFORMATION_CLASS = 27i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenLogonSid: TOKEN_INFORMATION_CLASS = 28i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenIsAppContainer: TOKEN_INFORMATION_CLASS = 29i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenCapabilities: TOKEN_INFORMATION_CLASS = 30i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenAppContainerSid: TOKEN_INFORMATION_CLASS = 31i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenAppContainerNumber: TOKEN_INFORMATION_CLASS = 32i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenUserClaimAttributes: TOKEN_INFORMATION_CLASS = 33i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenDeviceClaimAttributes: TOKEN_INFORMATION_CLASS = 34i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenRestrictedUserClaimAttributes: TOKEN_INFORMATION_CLASS = 35i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenRestrictedDeviceClaimAttributes: TOKEN_INFORMATION_CLASS = 36i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenDeviceGroups: TOKEN_INFORMATION_CLASS = 37i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenRestrictedDeviceGroups: TOKEN_INFORMATION_CLASS = 38i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenSecurityAttributes: TOKEN_INFORMATION_CLASS = 39i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenIsRestricted: TOKEN_INFORMATION_CLASS = 40i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenProcessTrustLevel: TOKEN_INFORMATION_CLASS = 41i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenPrivateNameSpace: TOKEN_INFORMATION_CLASS = 42i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenSingletonAttributes: TOKEN_INFORMATION_CLASS = 43i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenBnoIsolation: TOKEN_INFORMATION_CLASS = 44i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenChildProcessFlags: TOKEN_INFORMATION_CLASS = 45i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenIsLessPrivilegedAppContainer: TOKEN_INFORMATION_CLASS = 46i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenIsSandboxed: TOKEN_INFORMATION_CLASS = 47i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const MaxTokenInfoClass: TOKEN_INFORMATION_CLASS = 48i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct TOKEN_LINKED_TOKEN {
+ pub LinkedToken: super::Foundation::HANDLE,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for TOKEN_LINKED_TOKEN {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for TOKEN_LINKED_TOKEN {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct TOKEN_MANDATORY_LABEL {
+ pub Label: SID_AND_ATTRIBUTES,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for TOKEN_MANDATORY_LABEL {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for TOKEN_MANDATORY_LABEL {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct TOKEN_MANDATORY_POLICY {
+ pub Policy: TOKEN_MANDATORY_POLICY_ID,
+}
+impl ::core::marker::Copy for TOKEN_MANDATORY_POLICY {}
+impl ::core::clone::Clone for TOKEN_MANDATORY_POLICY {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub type TOKEN_MANDATORY_POLICY_ID = u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TOKEN_MANDATORY_POLICY_OFF: TOKEN_MANDATORY_POLICY_ID = 0u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TOKEN_MANDATORY_POLICY_NO_WRITE_UP: TOKEN_MANDATORY_POLICY_ID = 1u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TOKEN_MANDATORY_POLICY_NEW_PROCESS_MIN: TOKEN_MANDATORY_POLICY_ID = 2u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TOKEN_MANDATORY_POLICY_VALID_MASK: TOKEN_MANDATORY_POLICY_ID = 3u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct TOKEN_ORIGIN {
+ pub OriginatingLogonSession: super::Foundation::LUID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for TOKEN_ORIGIN {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for TOKEN_ORIGIN {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct TOKEN_OWNER {
+ pub Owner: super::Foundation::PSID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for TOKEN_OWNER {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for TOKEN_OWNER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct TOKEN_PRIMARY_GROUP {
+ pub PrimaryGroup: super::Foundation::PSID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for TOKEN_PRIMARY_GROUP {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for TOKEN_PRIMARY_GROUP {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct TOKEN_PRIVILEGES {
+ pub PrivilegeCount: u32,
+ pub Privileges: [LUID_AND_ATTRIBUTES; 1],
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for TOKEN_PRIVILEGES {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for TOKEN_PRIVILEGES {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub type TOKEN_PRIVILEGES_ATTRIBUTES = u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SE_PRIVILEGE_ENABLED: TOKEN_PRIVILEGES_ATTRIBUTES = 2u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SE_PRIVILEGE_ENABLED_BY_DEFAULT: TOKEN_PRIVILEGES_ATTRIBUTES = 1u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SE_PRIVILEGE_REMOVED: TOKEN_PRIVILEGES_ATTRIBUTES = 4u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const SE_PRIVILEGE_USED_FOR_ACCESS: TOKEN_PRIVILEGES_ATTRIBUTES = 2147483648u32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct TOKEN_SOURCE {
+ pub SourceName: [super::Foundation::CHAR; 8],
+ pub SourceIdentifier: super::Foundation::LUID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for TOKEN_SOURCE {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for TOKEN_SOURCE {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct TOKEN_STATISTICS {
+ pub TokenId: super::Foundation::LUID,
+ pub AuthenticationId: super::Foundation::LUID,
+ pub ExpirationTime: i64,
+ pub TokenType: TOKEN_TYPE,
+ pub ImpersonationLevel: SECURITY_IMPERSONATION_LEVEL,
+ pub DynamicCharged: u32,
+ pub DynamicAvailable: u32,
+ pub GroupCount: u32,
+ pub PrivilegeCount: u32,
+ pub ModifiedId: super::Foundation::LUID,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for TOKEN_STATISTICS {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for TOKEN_STATISTICS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub type TOKEN_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenPrimary: TOKEN_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const TokenImpersonation: TOKEN_TYPE = 2i32;
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`, `\"Win32_Foundation\"`*"]
+#[cfg(feature = "Win32_Foundation")]
+pub struct TOKEN_USER {
+ pub User: SID_AND_ATTRIBUTES,
+}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::marker::Copy for TOKEN_USER {}
+#[cfg(feature = "Win32_Foundation")]
+impl ::core::clone::Clone for TOKEN_USER {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub struct TOKEN_USER_CLAIMS {
+ pub UserClaims: *mut ::core::ffi::c_void,
+}
+impl ::core::marker::Copy for TOKEN_USER_CLAIMS {}
+impl ::core::clone::Clone for TOKEN_USER_CLAIMS {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub type WELL_KNOWN_SID_TYPE = i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinNullSid: WELL_KNOWN_SID_TYPE = 0i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinWorldSid: WELL_KNOWN_SID_TYPE = 1i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinLocalSid: WELL_KNOWN_SID_TYPE = 2i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinCreatorOwnerSid: WELL_KNOWN_SID_TYPE = 3i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinCreatorGroupSid: WELL_KNOWN_SID_TYPE = 4i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinCreatorOwnerServerSid: WELL_KNOWN_SID_TYPE = 5i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinCreatorGroupServerSid: WELL_KNOWN_SID_TYPE = 6i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinNtAuthoritySid: WELL_KNOWN_SID_TYPE = 7i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinDialupSid: WELL_KNOWN_SID_TYPE = 8i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinNetworkSid: WELL_KNOWN_SID_TYPE = 9i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBatchSid: WELL_KNOWN_SID_TYPE = 10i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinInteractiveSid: WELL_KNOWN_SID_TYPE = 11i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinServiceSid: WELL_KNOWN_SID_TYPE = 12i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinAnonymousSid: WELL_KNOWN_SID_TYPE = 13i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinProxySid: WELL_KNOWN_SID_TYPE = 14i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinEnterpriseControllersSid: WELL_KNOWN_SID_TYPE = 15i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinSelfSid: WELL_KNOWN_SID_TYPE = 16i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinAuthenticatedUserSid: WELL_KNOWN_SID_TYPE = 17i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinRestrictedCodeSid: WELL_KNOWN_SID_TYPE = 18i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinTerminalServerSid: WELL_KNOWN_SID_TYPE = 19i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinRemoteLogonIdSid: WELL_KNOWN_SID_TYPE = 20i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinLogonIdsSid: WELL_KNOWN_SID_TYPE = 21i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinLocalSystemSid: WELL_KNOWN_SID_TYPE = 22i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinLocalServiceSid: WELL_KNOWN_SID_TYPE = 23i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinNetworkServiceSid: WELL_KNOWN_SID_TYPE = 24i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinDomainSid: WELL_KNOWN_SID_TYPE = 25i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinAdministratorsSid: WELL_KNOWN_SID_TYPE = 26i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinUsersSid: WELL_KNOWN_SID_TYPE = 27i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinGuestsSid: WELL_KNOWN_SID_TYPE = 28i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinPowerUsersSid: WELL_KNOWN_SID_TYPE = 29i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinAccountOperatorsSid: WELL_KNOWN_SID_TYPE = 30i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinSystemOperatorsSid: WELL_KNOWN_SID_TYPE = 31i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinPrintOperatorsSid: WELL_KNOWN_SID_TYPE = 32i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinBackupOperatorsSid: WELL_KNOWN_SID_TYPE = 33i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinReplicatorSid: WELL_KNOWN_SID_TYPE = 34i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinPreWindows2000CompatibleAccessSid: WELL_KNOWN_SID_TYPE = 35i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinRemoteDesktopUsersSid: WELL_KNOWN_SID_TYPE = 36i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinNetworkConfigurationOperatorsSid: WELL_KNOWN_SID_TYPE = 37i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinAccountAdministratorSid: WELL_KNOWN_SID_TYPE = 38i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinAccountGuestSid: WELL_KNOWN_SID_TYPE = 39i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinAccountKrbtgtSid: WELL_KNOWN_SID_TYPE = 40i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinAccountDomainAdminsSid: WELL_KNOWN_SID_TYPE = 41i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinAccountDomainUsersSid: WELL_KNOWN_SID_TYPE = 42i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinAccountDomainGuestsSid: WELL_KNOWN_SID_TYPE = 43i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinAccountComputersSid: WELL_KNOWN_SID_TYPE = 44i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinAccountControllersSid: WELL_KNOWN_SID_TYPE = 45i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinAccountCertAdminsSid: WELL_KNOWN_SID_TYPE = 46i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinAccountSchemaAdminsSid: WELL_KNOWN_SID_TYPE = 47i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinAccountEnterpriseAdminsSid: WELL_KNOWN_SID_TYPE = 48i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinAccountPolicyAdminsSid: WELL_KNOWN_SID_TYPE = 49i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinAccountRasAndIasServersSid: WELL_KNOWN_SID_TYPE = 50i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinNTLMAuthenticationSid: WELL_KNOWN_SID_TYPE = 51i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinDigestAuthenticationSid: WELL_KNOWN_SID_TYPE = 52i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinSChannelAuthenticationSid: WELL_KNOWN_SID_TYPE = 53i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinThisOrganizationSid: WELL_KNOWN_SID_TYPE = 54i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinOtherOrganizationSid: WELL_KNOWN_SID_TYPE = 55i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinIncomingForestTrustBuildersSid: WELL_KNOWN_SID_TYPE = 56i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinPerfMonitoringUsersSid: WELL_KNOWN_SID_TYPE = 57i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinPerfLoggingUsersSid: WELL_KNOWN_SID_TYPE = 58i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinAuthorizationAccessSid: WELL_KNOWN_SID_TYPE = 59i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinTerminalServerLicenseServersSid: WELL_KNOWN_SID_TYPE = 60i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinDCOMUsersSid: WELL_KNOWN_SID_TYPE = 61i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinIUsersSid: WELL_KNOWN_SID_TYPE = 62i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinIUserSid: WELL_KNOWN_SID_TYPE = 63i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinCryptoOperatorsSid: WELL_KNOWN_SID_TYPE = 64i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinUntrustedLabelSid: WELL_KNOWN_SID_TYPE = 65i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinLowLabelSid: WELL_KNOWN_SID_TYPE = 66i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinMediumLabelSid: WELL_KNOWN_SID_TYPE = 67i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinHighLabelSid: WELL_KNOWN_SID_TYPE = 68i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinSystemLabelSid: WELL_KNOWN_SID_TYPE = 69i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinWriteRestrictedCodeSid: WELL_KNOWN_SID_TYPE = 70i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinCreatorOwnerRightsSid: WELL_KNOWN_SID_TYPE = 71i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinCacheablePrincipalsGroupSid: WELL_KNOWN_SID_TYPE = 72i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinNonCacheablePrincipalsGroupSid: WELL_KNOWN_SID_TYPE = 73i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinEnterpriseReadonlyControllersSid: WELL_KNOWN_SID_TYPE = 74i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinAccountReadonlyControllersSid: WELL_KNOWN_SID_TYPE = 75i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinEventLogReadersGroup: WELL_KNOWN_SID_TYPE = 76i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinNewEnterpriseReadonlyControllersSid: WELL_KNOWN_SID_TYPE = 77i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinCertSvcDComAccessGroup: WELL_KNOWN_SID_TYPE = 78i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinMediumPlusLabelSid: WELL_KNOWN_SID_TYPE = 79i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinLocalLogonSid: WELL_KNOWN_SID_TYPE = 80i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinConsoleLogonSid: WELL_KNOWN_SID_TYPE = 81i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinThisOrganizationCertificateSid: WELL_KNOWN_SID_TYPE = 82i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinApplicationPackageAuthoritySid: WELL_KNOWN_SID_TYPE = 83i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinAnyPackageSid: WELL_KNOWN_SID_TYPE = 84i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinCapabilityInternetClientSid: WELL_KNOWN_SID_TYPE = 85i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinCapabilityInternetClientServerSid: WELL_KNOWN_SID_TYPE = 86i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinCapabilityPrivateNetworkClientServerSid: WELL_KNOWN_SID_TYPE = 87i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinCapabilityPicturesLibrarySid: WELL_KNOWN_SID_TYPE = 88i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinCapabilityVideosLibrarySid: WELL_KNOWN_SID_TYPE = 89i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinCapabilityMusicLibrarySid: WELL_KNOWN_SID_TYPE = 90i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinCapabilityDocumentsLibrarySid: WELL_KNOWN_SID_TYPE = 91i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinCapabilitySharedUserCertificatesSid: WELL_KNOWN_SID_TYPE = 92i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinCapabilityEnterpriseAuthenticationSid: WELL_KNOWN_SID_TYPE = 93i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinCapabilityRemovableStorageSid: WELL_KNOWN_SID_TYPE = 94i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinRDSRemoteAccessServersSid: WELL_KNOWN_SID_TYPE = 95i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinRDSEndpointServersSid: WELL_KNOWN_SID_TYPE = 96i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinRDSManagementServersSid: WELL_KNOWN_SID_TYPE = 97i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinUserModeDriversSid: WELL_KNOWN_SID_TYPE = 98i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinHyperVAdminsSid: WELL_KNOWN_SID_TYPE = 99i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinAccountCloneableControllersSid: WELL_KNOWN_SID_TYPE = 100i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinAccessControlAssistanceOperatorsSid: WELL_KNOWN_SID_TYPE = 101i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinRemoteManagementUsersSid: WELL_KNOWN_SID_TYPE = 102i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinAuthenticationAuthorityAssertedSid: WELL_KNOWN_SID_TYPE = 103i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinAuthenticationServiceAssertedSid: WELL_KNOWN_SID_TYPE = 104i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinLocalAccountSid: WELL_KNOWN_SID_TYPE = 105i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinLocalAccountAndAdministratorSid: WELL_KNOWN_SID_TYPE = 106i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinAccountProtectedUsersSid: WELL_KNOWN_SID_TYPE = 107i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinCapabilityAppointmentsSid: WELL_KNOWN_SID_TYPE = 108i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinCapabilityContactsSid: WELL_KNOWN_SID_TYPE = 109i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinAccountDefaultSystemManagedSid: WELL_KNOWN_SID_TYPE = 110i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinDefaultSystemManagedGroupSid: WELL_KNOWN_SID_TYPE = 111i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinStorageReplicaAdminsSid: WELL_KNOWN_SID_TYPE = 112i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinAccountKeyAdminsSid: WELL_KNOWN_SID_TYPE = 113i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinAccountEnterpriseKeyAdminsSid: WELL_KNOWN_SID_TYPE = 114i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinAuthenticationKeyTrustSid: WELL_KNOWN_SID_TYPE = 115i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinAuthenticationKeyPropertyMFASid: WELL_KNOWN_SID_TYPE = 116i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinAuthenticationKeyPropertyAttestationSid: WELL_KNOWN_SID_TYPE = 117i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinAuthenticationFreshKeyAuthSid: WELL_KNOWN_SID_TYPE = 118i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const WinBuiltinDeviceOwnersSid: WELL_KNOWN_SID_TYPE = 119i32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const cwcFILENAMESUFFIXMAX: u32 = 20u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const cwcHRESULTSTRING: u32 = 40u32;
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const szLBRACE: &str = "{";
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const szLPAREN: &str = "(";
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const szRBRACE: &str = "}";
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const szRPAREN: &str = ")";
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const wszCERTENROLLSHAREPATH: &str = "CertSrv\\CertEnroll";
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const wszFCSAPARM_CERTFILENAMESUFFIX: &str = "%4";
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const wszFCSAPARM_CONFIGDN: &str = "%6";
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const wszFCSAPARM_CRLDELTAFILENAMESUFFIX: &str = "%9";
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const wszFCSAPARM_CRLFILENAMESUFFIX: &str = "%8";
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const wszFCSAPARM_DOMAINDN: &str = "%5";
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const wszFCSAPARM_DSCACERTATTRIBUTE: &str = "%11";
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const wszFCSAPARM_DSCRLATTRIBUTE: &str = "%10";
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const wszFCSAPARM_DSCROSSCERTPAIRATTRIBUTE: &str = "%14";
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const wszFCSAPARM_DSKRACERTATTRIBUTE: &str = "%13";
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const wszFCSAPARM_DSUSERCERTATTRIBUTE: &str = "%12";
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const wszFCSAPARM_SANITIZEDCANAME: &str = "%3";
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const wszFCSAPARM_SANITIZEDCANAMEHASH: &str = "%7";
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const wszFCSAPARM_SERVERDNSNAME: &str = "%1";
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const wszFCSAPARM_SERVERSHORTNAME: &str = "%2";
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const wszLBRACE: &str = "{";
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const wszLPAREN: &str = "(";
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const wszRBRACE: &str = "}";
+#[doc = "*Required features: `\"Win32_Security\"`*"]
+pub const wszRPAREN: &str = ")";