diff options
Diffstat (limited to 'vendor/windows-sys/src/Windows/Win32/Security')
20 files changed, 30588 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 0000000..74fd684 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/Security/AppLocker/mod.rs @@ -0,0 +1,240 @@ +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SaferCloseLevel(hlevelhandle : super:: SAFER_LEVEL_HANDLE) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SaferCreateLevel(dwscopeid : u32, dwlevelid : u32, openflags : u32, plevelhandle : *mut super:: SAFER_LEVEL_HANDLE, lpreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SaferGetPolicyInformation(dwscopeid : u32, saferpolicyinfoclass : SAFER_POLICY_INFO_CLASS, infobuffersize : u32, infobuffer : *mut ::core::ffi::c_void, infobufferretsize : *mut u32, lpreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SaferRecordEventLogEntry(hlevel : super:: SAFER_LEVEL_HANDLE, sztargetpath : ::windows_sys::core::PCWSTR, lpreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SaferSetLevelInformation(levelhandle : super:: SAFER_LEVEL_HANDLE, dwinfotype : SAFER_OBJECT_INFO_CLASS, lpquerybuffer : *const ::core::ffi::c_void, dwinbuffersize : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SaferSetPolicyInformation(dwscopeid : u32, saferpolicyinfoclass : SAFER_POLICY_INFO_CLASS, infobuffersize : u32, infobuffer : *const ::core::ffi::c_void, lpreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SaferiIsExecutableFileType(szfullpathname : ::windows_sys::core::PCWSTR, bfromshellexecute : super::super::Foundation:: BOOLEAN) -> super::super::Foundation:: BOOL); +pub const SAFER_CRITERIA_APPX_PACKAGE: u32 = 32u32; +pub const SAFER_CRITERIA_AUTHENTICODE: u32 = 8u32; +pub const SAFER_CRITERIA_IMAGEHASH: u32 = 4u32; +pub const SAFER_CRITERIA_IMAGEPATH: u32 = 1u32; +pub const SAFER_CRITERIA_IMAGEPATH_NT: u32 = 4096u32; +pub const SAFER_CRITERIA_NOSIGNEDHASH: u32 = 2u32; +pub const SAFER_CRITERIA_URLZONE: u32 = 16u32; +pub const SAFER_LEVELID_CONSTRAINED: u32 = 65536u32; +pub const SAFER_LEVELID_DISALLOWED: u32 = 0u32; +pub const SAFER_LEVELID_FULLYTRUSTED: u32 = 262144u32; +pub const SAFER_LEVELID_NORMALUSER: u32 = 131072u32; +pub const SAFER_LEVELID_UNTRUSTED: u32 = 4096u32; +pub const SAFER_LEVEL_OPEN: u32 = 1u32; +pub const SAFER_MAX_DESCRIPTION_SIZE: u32 = 256u32; +pub const SAFER_MAX_FRIENDLYNAME_SIZE: u32 = 256u32; +pub const SAFER_MAX_HASH_SIZE: u32 = 64u32; +pub const SAFER_POLICY_BLOCK_CLIENT_UI: u32 = 8192u32; +pub const SAFER_POLICY_HASH_DUPLICATE: u32 = 262144u32; +pub const SAFER_POLICY_JOBID_CONSTRAINED: u32 = 67108864u32; +pub const SAFER_POLICY_JOBID_MASK: u32 = 4278190080u32; +pub const SAFER_POLICY_JOBID_UNTRUSTED: u32 = 50331648u32; +pub const SAFER_POLICY_ONLY_AUDIT: u32 = 4096u32; +pub const SAFER_POLICY_ONLY_EXES: u32 = 65536u32; +pub const SAFER_POLICY_SANDBOX_INERT: u32 = 131072u32; +pub const SAFER_POLICY_UIFLAGS_HIDDEN: u32 = 4u32; +pub const SAFER_POLICY_UIFLAGS_INFORMATION_PROMPT: u32 = 1u32; +pub const SAFER_POLICY_UIFLAGS_MASK: u32 = 255u32; +pub const SAFER_POLICY_UIFLAGS_OPTION_PROMPT: u32 = 2u32; +pub const SAFER_SCOPEID_MACHINE: u32 = 1u32; +pub const SAFER_SCOPEID_USER: u32 = 2u32; +pub const SAFER_TOKEN_COMPARE_ONLY: SAFER_COMPUTE_TOKEN_FROM_LEVEL_FLAGS = 2u32; +pub const SAFER_TOKEN_MAKE_INERT: SAFER_COMPUTE_TOKEN_FROM_LEVEL_FLAGS = 4u32; +pub const SAFER_TOKEN_NULL_IF_EQUAL: SAFER_COMPUTE_TOKEN_FROM_LEVEL_FLAGS = 1u32; +pub const SAFER_TOKEN_WANT_FLAGS: SAFER_COMPUTE_TOKEN_FROM_LEVEL_FLAGS = 8u32; +pub const SRP_POLICY_APPX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("APPX"); +pub const SRP_POLICY_DLL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DLL"); +pub const SRP_POLICY_EXE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EXE"); +pub const SRP_POLICY_MANAGEDINSTALLER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MANAGEDINSTALLER"); +pub const SRP_POLICY_MSI: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MSI"); +pub const SRP_POLICY_NOV2: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IGNORESRPV2"); +pub const SRP_POLICY_SCRIPT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SCRIPT"); +pub const SRP_POLICY_SHELL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SHELL"); +pub const SRP_POLICY_WLDPCONFIGCI: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WLDPCONFIGCI"); +pub const SRP_POLICY_WLDPMSI: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WLDPMSI"); +pub const SRP_POLICY_WLDPSCRIPT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WLDPSCRIPT"); +pub const SaferIdentityDefault: SAFER_IDENTIFICATION_TYPES = 0i32; +pub const SaferIdentityTypeCertificate: SAFER_IDENTIFICATION_TYPES = 4i32; +pub const SaferIdentityTypeImageHash: SAFER_IDENTIFICATION_TYPES = 2i32; +pub const SaferIdentityTypeImageName: SAFER_IDENTIFICATION_TYPES = 1i32; +pub const SaferIdentityTypeUrlZone: SAFER_IDENTIFICATION_TYPES = 3i32; +pub const SaferObjectAllIdentificationGuids: SAFER_OBJECT_INFO_CLASS = 14i32; +pub const SaferObjectBuiltin: SAFER_OBJECT_INFO_CLASS = 5i32; +pub const SaferObjectDefaultOwner: SAFER_OBJECT_INFO_CLASS = 10i32; +pub const SaferObjectDeletedPrivileges: SAFER_OBJECT_INFO_CLASS = 9i32; +pub const SaferObjectDescription: SAFER_OBJECT_INFO_CLASS = 4i32; +pub const SaferObjectDisableMaxPrivilege: SAFER_OBJECT_INFO_CLASS = 7i32; +pub const SaferObjectDisallowed: SAFER_OBJECT_INFO_CLASS = 6i32; +pub const SaferObjectExtendedError: SAFER_OBJECT_INFO_CLASS = 16i32; +pub const SaferObjectFriendlyName: SAFER_OBJECT_INFO_CLASS = 3i32; +pub const SaferObjectInvertDeletedPrivileges: SAFER_OBJECT_INFO_CLASS = 8i32; +pub const SaferObjectLevelId: SAFER_OBJECT_INFO_CLASS = 1i32; +pub const SaferObjectRestrictedSidsAdded: SAFER_OBJECT_INFO_CLASS = 13i32; +pub const SaferObjectRestrictedSidsInverted: SAFER_OBJECT_INFO_CLASS = 12i32; +pub const SaferObjectScopeId: SAFER_OBJECT_INFO_CLASS = 2i32; +pub const SaferObjectSidsToDisable: SAFER_OBJECT_INFO_CLASS = 11i32; +pub const SaferObjectSingleIdentification: SAFER_OBJECT_INFO_CLASS = 15i32; +pub const SaferPolicyAuthenticodeEnabled: SAFER_POLICY_INFO_CLASS = 7i32; +pub const SaferPolicyDefaultLevel: SAFER_POLICY_INFO_CLASS = 3i32; +pub const SaferPolicyDefaultLevelFlags: SAFER_POLICY_INFO_CLASS = 6i32; +pub const SaferPolicyEnableTransparentEnforcement: SAFER_POLICY_INFO_CLASS = 2i32; +pub const SaferPolicyEvaluateUserScope: SAFER_POLICY_INFO_CLASS = 4i32; +pub const SaferPolicyLevelList: SAFER_POLICY_INFO_CLASS = 1i32; +pub const SaferPolicyScopeFlags: SAFER_POLICY_INFO_CLASS = 5i32; +pub type SAFER_COMPUTE_TOKEN_FROM_LEVEL_FLAGS = u32; +pub type SAFER_IDENTIFICATION_TYPES = i32; +pub type SAFER_OBJECT_INFO_CLASS = i32; +pub type SAFER_POLICY_INFO_CLASS = i32; +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +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: super::Cryptography::ALG_ID, + pub pByteBlock: *mut u8, + pub hWndParent: super::super::Foundation::HWND, + pub dwWVTUIChoice: u32, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::marker::Copy for SAFER_CODE_PROPERTIES_V1 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::clone::Clone for SAFER_CODE_PROPERTIES_V1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +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: super::Cryptography::ALG_ID, + 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(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::marker::Copy for SAFER_CODE_PROPERTIES_V2 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::clone::Clone for SAFER_CODE_PROPERTIES_V2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +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: super::Cryptography::ALG_ID, + pub ImageSize: i64, + pub dwSaferFlags: u32, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::marker::Copy for SAFER_HASH_IDENTIFICATION {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::clone::Clone for SAFER_HASH_IDENTIFICATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +pub struct SAFER_HASH_IDENTIFICATION2 { + pub hashIdentification: SAFER_HASH_IDENTIFICATION, + pub HashSize: u32, + pub ImageHash: [u8; 64], + pub HashAlgorithm: super::Cryptography::ALG_ID, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::marker::Copy for SAFER_HASH_IDENTIFICATION2 {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::clone::Clone for SAFER_HASH_IDENTIFICATION2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} 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 0000000..4c1ae2b --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/Security/Authentication/Identity/mod.rs @@ -0,0 +1,8213 @@ +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn AcceptSecurityContext(phcredential : *const super::super::Credentials:: SecHandle, phcontext : *const super::super::Credentials:: SecHandle, pinput : *const SecBufferDesc, fcontextreq : ASC_REQ_FLAGS, targetdatarep : u32, phnewcontext : *mut super::super::Credentials:: SecHandle, poutput : *mut SecBufferDesc, pfcontextattr : *mut u32, ptsexpiry : *mut i64) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn AcquireCredentialsHandleA(pszprincipal : ::windows_sys::core::PCSTR, pszpackage : ::windows_sys::core::PCSTR, fcredentialuse : SECPKG_CRED, pvlogonid : *const ::core::ffi::c_void, pauthdata : *const ::core::ffi::c_void, pgetkeyfn : SEC_GET_KEY_FN, pvgetkeyargument : *const ::core::ffi::c_void, phcredential : *mut super::super::Credentials:: SecHandle, ptsexpiry : *mut i64) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn AcquireCredentialsHandleW(pszprincipal : ::windows_sys::core::PCWSTR, pszpackage : ::windows_sys::core::PCWSTR, fcredentialuse : SECPKG_CRED, pvlogonid : *const ::core::ffi::c_void, pauthdata : *const ::core::ffi::c_void, pgetkeyfn : SEC_GET_KEY_FN, pvgetkeyargument : *const ::core::ffi::c_void, phcredential : *mut super::super::Credentials:: SecHandle, ptsexpiry : *mut i64) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn AddCredentialsA(hcredentials : *const super::super::Credentials:: SecHandle, pszprincipal : ::windows_sys::core::PCSTR, pszpackage : ::windows_sys::core::PCSTR, fcredentialuse : u32, pauthdata : *const ::core::ffi::c_void, pgetkeyfn : SEC_GET_KEY_FN, pvgetkeyargument : *const ::core::ffi::c_void, ptsexpiry : *mut i64) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn AddCredentialsW(hcredentials : *const super::super::Credentials:: SecHandle, pszprincipal : ::windows_sys::core::PCWSTR, pszpackage : ::windows_sys::core::PCWSTR, fcredentialuse : u32, pauthdata : *const ::core::ffi::c_void, pgetkeyfn : SEC_GET_KEY_FN, pvgetkeyargument : *const ::core::ffi::c_void, ptsexpiry : *mut i64) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("secur32.dll" "system" fn AddSecurityPackageA(pszpackagename : ::windows_sys::core::PCSTR, poptions : *const SECURITY_PACKAGE_OPTIONS) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("secur32.dll" "system" fn AddSecurityPackageW(pszpackagename : ::windows_sys::core::PCWSTR, poptions : *const SECURITY_PACKAGE_OPTIONS) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn ApplyControlToken(phcontext : *const super::super::Credentials:: SecHandle, pinput : *const SecBufferDesc) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditComputeEffectivePolicyBySid(psid : super::super::super::Foundation:: PSID, psubcategoryguids : *const ::windows_sys::core::GUID, dwpolicycount : u32, ppauditpolicy : *mut *mut AUDIT_POLICY_INFORMATION) -> super::super::super::Foundation:: BOOLEAN); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditComputeEffectivePolicyByToken(htokenhandle : super::super::super::Foundation:: HANDLE, psubcategoryguids : *const ::windows_sys::core::GUID, dwpolicycount : u32, ppauditpolicy : *mut *mut AUDIT_POLICY_INFORMATION) -> super::super::super::Foundation:: BOOLEAN); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditEnumerateCategories(ppauditcategoriesarray : *mut *mut ::windows_sys::core::GUID, pdwcountreturned : *mut u32) -> super::super::super::Foundation:: BOOLEAN); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditEnumeratePerUserPolicy(ppauditsidarray : *mut *mut POLICY_AUDIT_SID_ARRAY) -> super::super::super::Foundation:: BOOLEAN); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditEnumerateSubCategories(pauditcategoryguid : *const ::windows_sys::core::GUID, bretrieveallsubcategories : super::super::super::Foundation:: BOOLEAN, ppauditsubcategoriesarray : *mut *mut ::windows_sys::core::GUID, pdwcountreturned : *mut u32) -> super::super::super::Foundation:: BOOLEAN); +::windows_targets::link!("advapi32.dll" "system" fn AuditFree(buffer : *const ::core::ffi::c_void) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditLookupCategoryGuidFromCategoryId(auditcategoryid : POLICY_AUDIT_EVENT_TYPE, pauditcategoryguid : *mut ::windows_sys::core::GUID) -> super::super::super::Foundation:: BOOLEAN); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditLookupCategoryIdFromCategoryGuid(pauditcategoryguid : *const ::windows_sys::core::GUID, pauditcategoryid : *mut POLICY_AUDIT_EVENT_TYPE) -> super::super::super::Foundation:: BOOLEAN); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditLookupCategoryNameA(pauditcategoryguid : *const ::windows_sys::core::GUID, ppszcategoryname : *mut ::windows_sys::core::PSTR) -> super::super::super::Foundation:: BOOLEAN); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditLookupCategoryNameW(pauditcategoryguid : *const ::windows_sys::core::GUID, ppszcategoryname : *mut ::windows_sys::core::PWSTR) -> super::super::super::Foundation:: BOOLEAN); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditLookupSubCategoryNameA(pauditsubcategoryguid : *const ::windows_sys::core::GUID, ppszsubcategoryname : *mut ::windows_sys::core::PSTR) -> super::super::super::Foundation:: BOOLEAN); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditLookupSubCategoryNameW(pauditsubcategoryguid : *const ::windows_sys::core::GUID, ppszsubcategoryname : *mut ::windows_sys::core::PWSTR) -> super::super::super::Foundation:: BOOLEAN); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditQueryGlobalSaclA(objecttypename : ::windows_sys::core::PCSTR, acl : *mut *mut super::super:: ACL) -> super::super::super::Foundation:: BOOLEAN); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditQueryGlobalSaclW(objecttypename : ::windows_sys::core::PCWSTR, acl : *mut *mut super::super:: ACL) -> super::super::super::Foundation:: BOOLEAN); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditQueryPerUserPolicy(psid : super::super::super::Foundation:: PSID, psubcategoryguids : *const ::windows_sys::core::GUID, dwpolicycount : u32, ppauditpolicy : *mut *mut AUDIT_POLICY_INFORMATION) -> super::super::super::Foundation:: BOOLEAN); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditQuerySecurity(securityinformation : super::super:: OBJECT_SECURITY_INFORMATION, ppsecuritydescriptor : *mut super::super:: PSECURITY_DESCRIPTOR) -> super::super::super::Foundation:: BOOLEAN); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditQuerySystemPolicy(psubcategoryguids : *const ::windows_sys::core::GUID, dwpolicycount : u32, ppauditpolicy : *mut *mut AUDIT_POLICY_INFORMATION) -> super::super::super::Foundation:: BOOLEAN); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditSetGlobalSaclA(objecttypename : ::windows_sys::core::PCSTR, acl : *const super::super:: ACL) -> super::super::super::Foundation:: BOOLEAN); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditSetGlobalSaclW(objecttypename : ::windows_sys::core::PCWSTR, acl : *const super::super:: ACL) -> super::super::super::Foundation:: BOOLEAN); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditSetPerUserPolicy(psid : super::super::super::Foundation:: PSID, pauditpolicy : *const AUDIT_POLICY_INFORMATION, dwpolicycount : u32) -> super::super::super::Foundation:: BOOLEAN); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditSetSecurity(securityinformation : super::super:: OBJECT_SECURITY_INFORMATION, psecuritydescriptor : super::super:: PSECURITY_DESCRIPTOR) -> super::super::super::Foundation:: BOOLEAN); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuditSetSystemPolicy(pauditpolicy : *const AUDIT_POLICY_INFORMATION, dwpolicycount : u32) -> super::super::super::Foundation:: BOOLEAN); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ChangeAccountPasswordA(pszpackagename : *const i8, pszdomainname : *const i8, pszaccountname : *const i8, pszoldpassword : *const i8, psznewpassword : *const i8, bimpersonating : super::super::super::Foundation:: BOOLEAN, dwreserved : u32, poutput : *mut SecBufferDesc) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ChangeAccountPasswordW(pszpackagename : *const u16, pszdomainname : *const u16, pszaccountname : *const u16, pszoldpassword : *const u16, psznewpassword : *const u16, bimpersonating : super::super::super::Foundation:: BOOLEAN, dwreserved : u32, poutput : *mut SecBufferDesc) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn CompleteAuthToken(phcontext : *const super::super::Credentials:: SecHandle, ptoken : *const SecBufferDesc) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`"] fn CredMarshalTargetInfo(intargetinfo : *const super::super::Credentials:: CREDENTIAL_TARGET_INFORMATIONW, buffer : *mut *mut u16, buffersize : *mut u32) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`"] fn CredUnmarshalTargetInfo(buffer : *const u16, buffersize : u32, rettargetinfo : *mut *mut super::super::Credentials:: CREDENTIAL_TARGET_INFORMATIONW, retactualsize : *mut u32) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn DecryptMessage(phcontext : *const super::super::Credentials:: SecHandle, pmessage : *const SecBufferDesc, messageseqno : u32, pfqop : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn DeleteSecurityContext(phcontext : *const super::super::Credentials:: SecHandle) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("secur32.dll" "system" fn DeleteSecurityPackageA(pszpackagename : ::windows_sys::core::PCSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("secur32.dll" "system" fn DeleteSecurityPackageW(pszpackagename : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn EncryptMessage(phcontext : *const super::super::Credentials:: SecHandle, fqop : u32, pmessage : *const SecBufferDesc, messageseqno : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("secur32.dll" "system" fn EnumerateSecurityPackagesA(pcpackages : *mut u32, pppackageinfo : *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("secur32.dll" "system" fn EnumerateSecurityPackagesW(pcpackages : *mut u32, pppackageinfo : *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn ExportSecurityContext(phcontext : *const super::super::Credentials:: SecHandle, fflags : EXPORT_SECURITY_CONTEXT_FLAGS, ppackedcontext : *mut SecBuffer, ptoken : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("secur32.dll" "system" fn FreeContextBuffer(pvcontextbuffer : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn FreeCredentialsHandle(phcredential : *const super::super::Credentials:: SecHandle) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetComputerObjectNameA(nameformat : EXTENDED_NAME_FORMAT, lpnamebuffer : ::windows_sys::core::PSTR, nsize : *mut u32) -> super::super::super::Foundation:: BOOLEAN); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetComputerObjectNameW(nameformat : EXTENDED_NAME_FORMAT, lpnamebuffer : ::windows_sys::core::PWSTR, nsize : *mut u32) -> super::super::super::Foundation:: BOOLEAN); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetUserNameExA(nameformat : EXTENDED_NAME_FORMAT, lpnamebuffer : ::windows_sys::core::PSTR, nsize : *mut u32) -> super::super::super::Foundation:: BOOLEAN); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetUserNameExW(nameformat : EXTENDED_NAME_FORMAT, lpnamebuffer : ::windows_sys::core::PWSTR, nsize : *mut u32) -> super::super::super::Foundation:: BOOLEAN); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn ImpersonateSecurityContext(phcontext : *const super::super::Credentials:: SecHandle) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn ImportSecurityContextA(pszpackage : ::windows_sys::core::PCSTR, ppackedcontext : *const SecBuffer, token : *const ::core::ffi::c_void, phcontext : *mut super::super::Credentials:: SecHandle) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn ImportSecurityContextW(pszpackage : ::windows_sys::core::PCWSTR, ppackedcontext : *const SecBuffer, token : *const ::core::ffi::c_void, phcontext : *mut super::super::Credentials:: SecHandle) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`"] fn InitSecurityInterfaceA() -> *mut SecurityFunctionTableA); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials"))] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`"] fn InitSecurityInterfaceW() -> *mut SecurityFunctionTableW); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn InitializeSecurityContextA(phcredential : *const super::super::Credentials:: SecHandle, phcontext : *const super::super::Credentials:: SecHandle, psztargetname : *const i8, fcontextreq : ISC_REQ_FLAGS, reserved1 : u32, targetdatarep : u32, pinput : *const SecBufferDesc, reserved2 : u32, phnewcontext : *mut super::super::Credentials:: SecHandle, poutput : *mut SecBufferDesc, pfcontextattr : *mut u32, ptsexpiry : *mut i64) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn InitializeSecurityContextW(phcredential : *const super::super::Credentials:: SecHandle, phcontext : *const super::super::Credentials:: SecHandle, psztargetname : *const u16, fcontextreq : ISC_REQ_FLAGS, reserved1 : u32, targetdatarep : u32, pinput : *const SecBufferDesc, reserved2 : u32, phnewcontext : *mut super::super::Credentials:: SecHandle, poutput : *mut SecBufferDesc, pfcontextattr : *mut u32, ptsexpiry : *mut i64) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaAddAccountRights(policyhandle : LSA_HANDLE, accountsid : super::super::super::Foundation:: PSID, userrights : *const LSA_UNICODE_STRING, countofrights : u32) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaCallAuthenticationPackage(lsahandle : super::super::super::Foundation:: HANDLE, authenticationpackage : u32, protocolsubmitbuffer : *const ::core::ffi::c_void, submitbufferlength : u32, protocolreturnbuffer : *mut *mut ::core::ffi::c_void, returnbufferlength : *mut u32, protocolstatus : *mut i32) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaClose(objecthandle : LSA_HANDLE) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaConnectUntrusted(lsahandle : *mut super::super::super::Foundation:: HANDLE) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaCreateTrustedDomainEx(policyhandle : LSA_HANDLE, trusteddomaininformation : *const TRUSTED_DOMAIN_INFORMATION_EX, authenticationinformation : *const TRUSTED_DOMAIN_AUTH_INFORMATION, desiredaccess : u32, trusteddomainhandle : *mut LSA_HANDLE) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaDeleteTrustedDomain(policyhandle : LSA_HANDLE, trusteddomainsid : super::super::super::Foundation:: PSID) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaDeregisterLogonProcess(lsahandle : super::super::super::Foundation:: HANDLE) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaEnumerateAccountRights(policyhandle : LSA_HANDLE, accountsid : super::super::super::Foundation:: PSID, userrights : *mut *mut LSA_UNICODE_STRING, countofrights : *mut u32) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaEnumerateAccountsWithUserRight(policyhandle : LSA_HANDLE, userright : *const LSA_UNICODE_STRING, buffer : *mut *mut ::core::ffi::c_void, countreturned : *mut u32) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaEnumerateLogonSessions(logonsessioncount : *mut u32, logonsessionlist : *mut *mut super::super::super::Foundation:: LUID) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaEnumerateTrustedDomains(policyhandle : LSA_HANDLE, enumerationcontext : *mut u32, buffer : *mut *mut ::core::ffi::c_void, preferedmaximumlength : u32, countreturned : *mut u32) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaEnumerateTrustedDomainsEx(policyhandle : LSA_HANDLE, enumerationcontext : *mut u32, buffer : *mut *mut ::core::ffi::c_void, preferedmaximumlength : u32, countreturned : *mut u32) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaFreeMemory(buffer : *const ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaFreeReturnBuffer(buffer : *const ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaGetAppliedCAPIDs(systemname : *const LSA_UNICODE_STRING, capids : *mut *mut super::super::super::Foundation:: PSID, capidcount : *mut u32) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaGetLogonSessionData(logonid : *const super::super::super::Foundation:: LUID, pplogonsessiondata : *mut *mut SECURITY_LOGON_SESSION_DATA) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaLogonUser(lsahandle : super::super::super::Foundation:: HANDLE, originname : *const LSA_STRING, logontype : SECURITY_LOGON_TYPE, authenticationpackage : u32, authenticationinformation : *const ::core::ffi::c_void, authenticationinformationlength : u32, localgroups : *const super::super:: TOKEN_GROUPS, sourcecontext : *const super::super:: TOKEN_SOURCE, profilebuffer : *mut *mut ::core::ffi::c_void, profilebufferlength : *mut u32, logonid : *mut super::super::super::Foundation:: LUID, token : *mut super::super::super::Foundation:: HANDLE, quotas : *mut super::super:: QUOTA_LIMITS, substatus : *mut i32) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaLookupAuthenticationPackage(lsahandle : super::super::super::Foundation:: HANDLE, packagename : *const LSA_STRING, authenticationpackage : *mut u32) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaLookupNames(policyhandle : LSA_HANDLE, count : u32, names : *const LSA_UNICODE_STRING, referenceddomains : *mut *mut LSA_REFERENCED_DOMAIN_LIST, sids : *mut *mut LSA_TRANSLATED_SID) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaLookupNames2(policyhandle : LSA_HANDLE, flags : u32, count : u32, names : *const LSA_UNICODE_STRING, referenceddomains : *mut *mut LSA_REFERENCED_DOMAIN_LIST, sids : *mut *mut LSA_TRANSLATED_SID2) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaLookupSids(policyhandle : LSA_HANDLE, count : u32, sids : *const super::super::super::Foundation:: PSID, referenceddomains : *mut *mut LSA_REFERENCED_DOMAIN_LIST, names : *mut *mut LSA_TRANSLATED_NAME) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaLookupSids2(policyhandle : LSA_HANDLE, lookupoptions : u32, count : u32, sids : *const super::super::super::Foundation:: PSID, referenceddomains : *mut *mut LSA_REFERENCED_DOMAIN_LIST, names : *mut *mut LSA_TRANSLATED_NAME) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaNtStatusToWinError(status : super::super::super::Foundation:: NTSTATUS) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaOpenPolicy(systemname : *const LSA_UNICODE_STRING, objectattributes : *const LSA_OBJECT_ATTRIBUTES, desiredaccess : u32, policyhandle : *mut LSA_HANDLE) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaOpenTrustedDomainByName(policyhandle : LSA_HANDLE, trusteddomainname : *const LSA_UNICODE_STRING, desiredaccess : u32, trusteddomainhandle : *mut LSA_HANDLE) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaQueryCAPs(capids : *const super::super::super::Foundation:: PSID, capidcount : u32, caps : *mut *mut CENTRAL_ACCESS_POLICY, capcount : *mut u32) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaQueryDomainInformationPolicy(policyhandle : LSA_HANDLE, informationclass : POLICY_DOMAIN_INFORMATION_CLASS, buffer : *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaQueryForestTrustInformation(policyhandle : LSA_HANDLE, trusteddomainname : *const LSA_UNICODE_STRING, foresttrustinfo : *mut *mut LSA_FOREST_TRUST_INFORMATION) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaQueryForestTrustInformation2(policyhandle : LSA_HANDLE, trusteddomainname : *const LSA_UNICODE_STRING, highestrecordtype : LSA_FOREST_TRUST_RECORD_TYPE, foresttrustinfo : *mut *mut LSA_FOREST_TRUST_INFORMATION2) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaQueryInformationPolicy(policyhandle : LSA_HANDLE, informationclass : POLICY_INFORMATION_CLASS, buffer : *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaQueryTrustedDomainInfo(policyhandle : LSA_HANDLE, trusteddomainsid : super::super::super::Foundation:: PSID, informationclass : TRUSTED_INFORMATION_CLASS, buffer : *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaQueryTrustedDomainInfoByName(policyhandle : LSA_HANDLE, trusteddomainname : *const LSA_UNICODE_STRING, informationclass : TRUSTED_INFORMATION_CLASS, buffer : *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaRegisterLogonProcess(logonprocessname : *const LSA_STRING, lsahandle : *mut super::super::super::Foundation:: HANDLE, securitymode : *mut u32) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaRegisterPolicyChangeNotification(informationclass : POLICY_NOTIFICATION_INFORMATION_CLASS, notificationeventhandle : super::super::super::Foundation:: HANDLE) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaRemoveAccountRights(policyhandle : LSA_HANDLE, accountsid : super::super::super::Foundation:: PSID, allrights : super::super::super::Foundation:: BOOLEAN, userrights : *const LSA_UNICODE_STRING, countofrights : u32) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaRetrievePrivateData(policyhandle : LSA_HANDLE, keyname : *const LSA_UNICODE_STRING, privatedata : *mut *mut LSA_UNICODE_STRING) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaSetCAPs(capdns : *const LSA_UNICODE_STRING, capdncount : u32, flags : u32) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaSetDomainInformationPolicy(policyhandle : LSA_HANDLE, informationclass : POLICY_DOMAIN_INFORMATION_CLASS, buffer : *const ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaSetForestTrustInformation(policyhandle : LSA_HANDLE, trusteddomainname : *const LSA_UNICODE_STRING, foresttrustinfo : *const LSA_FOREST_TRUST_INFORMATION, checkonly : super::super::super::Foundation:: BOOLEAN, collisioninfo : *mut *mut LSA_FOREST_TRUST_COLLISION_INFORMATION) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaSetForestTrustInformation2(policyhandle : LSA_HANDLE, trusteddomainname : *const LSA_UNICODE_STRING, highestrecordtype : LSA_FOREST_TRUST_RECORD_TYPE, foresttrustinfo : *const LSA_FOREST_TRUST_INFORMATION2, checkonly : super::super::super::Foundation:: BOOLEAN, collisioninfo : *mut *mut LSA_FOREST_TRUST_COLLISION_INFORMATION) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaSetInformationPolicy(policyhandle : LSA_HANDLE, informationclass : POLICY_INFORMATION_CLASS, buffer : *const ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaSetTrustedDomainInfoByName(policyhandle : LSA_HANDLE, trusteddomainname : *const LSA_UNICODE_STRING, informationclass : TRUSTED_INFORMATION_CLASS, buffer : *const ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaSetTrustedDomainInformation(policyhandle : LSA_HANDLE, trusteddomainsid : super::super::super::Foundation:: PSID, informationclass : TRUSTED_INFORMATION_CLASS, buffer : *const ::core::ffi::c_void) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaStorePrivateData(policyhandle : LSA_HANDLE, keyname : *const LSA_UNICODE_STRING, privatedata : *const LSA_UNICODE_STRING) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LsaUnregisterPolicyChangeNotification(informationclass : POLICY_NOTIFICATION_INFORMATION_CLASS, notificationeventhandle : super::super::super::Foundation:: HANDLE) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn MakeSignature(phcontext : *const super::super::Credentials:: SecHandle, fqop : u32, pmessage : *const SecBufferDesc, messageseqno : u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn QueryContextAttributesA(phcontext : *const super::super::Credentials:: SecHandle, ulattribute : SECPKG_ATTR, pbuffer : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("sspicli.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn QueryContextAttributesExA(phcontext : *const super::super::Credentials:: SecHandle, ulattribute : SECPKG_ATTR, pbuffer : *mut ::core::ffi::c_void, cbbuffer : u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("sspicli.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn QueryContextAttributesExW(phcontext : *const super::super::Credentials:: SecHandle, ulattribute : SECPKG_ATTR, pbuffer : *mut ::core::ffi::c_void, cbbuffer : u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn QueryContextAttributesW(phcontext : *const super::super::Credentials:: SecHandle, ulattribute : SECPKG_ATTR, pbuffer : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn QueryCredentialsAttributesA(phcredential : *const super::super::Credentials:: SecHandle, ulattribute : u32, pbuffer : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("sspicli.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn QueryCredentialsAttributesExA(phcredential : *const super::super::Credentials:: SecHandle, ulattribute : u32, pbuffer : *mut ::core::ffi::c_void, cbbuffer : u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("sspicli.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn QueryCredentialsAttributesExW(phcredential : *const super::super::Credentials:: SecHandle, ulattribute : u32, pbuffer : *mut ::core::ffi::c_void, cbbuffer : u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn QueryCredentialsAttributesW(phcredential : *const super::super::Credentials:: SecHandle, ulattribute : u32, pbuffer : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn QuerySecurityContextToken(phcontext : *const super::super::Credentials:: SecHandle, token : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("secur32.dll" "system" fn QuerySecurityPackageInfoA(pszpackagename : ::windows_sys::core::PCSTR, pppackageinfo : *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("secur32.dll" "system" fn QuerySecurityPackageInfoW(pszpackagename : ::windows_sys::core::PCWSTR, pppackageinfo : *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn RevertSecurityContext(phcontext : *const super::super::Credentials:: SecHandle) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" "SystemFunction041" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtlDecryptMemory(memory : *mut ::core::ffi::c_void, memorysize : u32, optionflags : u32) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" "SystemFunction040" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtlEncryptMemory(memory : *mut ::core::ffi::c_void, memorysize : u32, optionflags : u32) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" "SystemFunction036" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtlGenRandom(randombuffer : *mut ::core::ffi::c_void, randombufferlength : u32) -> super::super::super::Foundation:: BOOLEAN); +::windows_targets::link!("slcext.dll" "system" fn SLAcquireGenuineTicket(ppticketblob : *mut *mut ::core::ffi::c_void, pcbticketblob : *mut u32, pwsztemplateid : ::windows_sys::core::PCWSTR, pwszserverurl : ::windows_sys::core::PCWSTR, pwszclienttoken : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slcext.dll" "system" fn SLActivateProduct(hslc : *const ::core::ffi::c_void, pproductskuid : *const ::windows_sys::core::GUID, cbappspecificdata : u32, pvappspecificdata : *const ::core::ffi::c_void, pactivationinfo : *const SL_ACTIVATION_INFO_HEADER, pwszproxyserver : ::windows_sys::core::PCWSTR, wproxyport : u16) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLClose(hslc : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLConsumeRight(hslc : *const ::core::ffi::c_void, pappid : *const ::windows_sys::core::GUID, pproductskuid : *const ::windows_sys::core::GUID, pwszrightname : ::windows_sys::core::PCWSTR, pvreserved : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLDepositOfflineConfirmationId(hslc : *const ::core::ffi::c_void, pproductskuid : *const ::windows_sys::core::GUID, pwszinstallationid : ::windows_sys::core::PCWSTR, pwszconfirmationid : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLDepositOfflineConfirmationIdEx(hslc : *const ::core::ffi::c_void, pproductskuid : *const ::windows_sys::core::GUID, pactivationinfo : *const SL_ACTIVATION_INFO_HEADER, pwszinstallationid : ::windows_sys::core::PCWSTR, pwszconfirmationid : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLFireEvent(hslc : *const ::core::ffi::c_void, pwszeventid : ::windows_sys::core::PCWSTR, papplicationid : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLGenerateOfflineInstallationId(hslc : *const ::core::ffi::c_void, pproductskuid : *const ::windows_sys::core::GUID, ppwszinstallationid : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLGenerateOfflineInstallationIdEx(hslc : *const ::core::ffi::c_void, pproductskuid : *const ::windows_sys::core::GUID, pactivationinfo : *const SL_ACTIVATION_INFO_HEADER, ppwszinstallationid : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLGetApplicationInformation(hslc : *const ::core::ffi::c_void, papplicationid : *const ::windows_sys::core::GUID, pwszvaluename : ::windows_sys::core::PCWSTR, pedatatype : *mut SLDATATYPE, pcbvalue : *mut u32, ppbvalue : *mut *mut u8) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLGetGenuineInformation(pqueryid : *const ::windows_sys::core::GUID, pwszvaluename : ::windows_sys::core::PCWSTR, pedatatype : *mut SLDATATYPE, pcbvalue : *mut u32, ppbvalue : *mut *mut u8) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLGetInstalledProductKeyIds(hslc : *const ::core::ffi::c_void, pproductskuid : *const ::windows_sys::core::GUID, pnproductkeyids : *mut u32, ppproductkeyids : *mut *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLGetLicense(hslc : *const ::core::ffi::c_void, plicensefileid : *const ::windows_sys::core::GUID, pcblicensefile : *mut u32, ppblicensefile : *mut *mut u8) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLGetLicenseFileId(hslc : *const ::core::ffi::c_void, cblicenseblob : u32, pblicenseblob : *const u8, plicensefileid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLGetLicenseInformation(hslc : *const ::core::ffi::c_void, psllicenseid : *const ::windows_sys::core::GUID, pwszvaluename : ::windows_sys::core::PCWSTR, pedatatype : *mut SLDATATYPE, pcbvalue : *mut u32, ppbvalue : *mut *mut u8) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLGetLicensingStatusInformation(hslc : *const ::core::ffi::c_void, pappid : *const ::windows_sys::core::GUID, pproductskuid : *const ::windows_sys::core::GUID, pwszrightname : ::windows_sys::core::PCWSTR, pnstatuscount : *mut u32, pplicensingstatus : *mut *mut SL_LICENSING_STATUS) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLGetPKeyId(hslc : *const ::core::ffi::c_void, pwszpkeyalgorithm : ::windows_sys::core::PCWSTR, pwszpkeystring : ::windows_sys::core::PCWSTR, cbpkeyspecificdata : u32, pbpkeyspecificdata : *const u8, ppkeyid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLGetPKeyInformation(hslc : *const ::core::ffi::c_void, ppkeyid : *const ::windows_sys::core::GUID, pwszvaluename : ::windows_sys::core::PCWSTR, pedatatype : *mut SLDATATYPE, pcbvalue : *mut u32, ppbvalue : *mut *mut u8) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLGetPolicyInformation(hslc : *const ::core::ffi::c_void, pwszvaluename : ::windows_sys::core::PCWSTR, pedatatype : *mut SLDATATYPE, pcbvalue : *mut u32, ppbvalue : *mut *mut u8) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLGetPolicyInformationDWORD(hslc : *const ::core::ffi::c_void, pwszvaluename : ::windows_sys::core::PCWSTR, pdwvalue : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLGetProductSkuInformation(hslc : *const ::core::ffi::c_void, pproductskuid : *const ::windows_sys::core::GUID, pwszvaluename : ::windows_sys::core::PCWSTR, pedatatype : *mut SLDATATYPE, pcbvalue : *mut u32, ppbvalue : *mut *mut u8) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slcext.dll" "system" fn SLGetReferralInformation(hslc : *const ::core::ffi::c_void, ereferraltype : SLREFERRALTYPE, pskuorappid : *const ::windows_sys::core::GUID, pwszvaluename : ::windows_sys::core::PCWSTR, ppwszvalue : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLGetSLIDList(hslc : *const ::core::ffi::c_void, equeryidtype : SLIDTYPE, pqueryid : *const ::windows_sys::core::GUID, ereturnidtype : SLIDTYPE, pnreturnids : *mut u32, ppreturnids : *mut *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slcext.dll" "system" fn SLGetServerStatus(pwszserverurl : ::windows_sys::core::PCWSTR, pwszacquisitiontype : ::windows_sys::core::PCWSTR, pwszproxyserver : ::windows_sys::core::PCWSTR, wproxyport : u16, phrstatus : *mut ::windows_sys::core::HRESULT) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLGetServiceInformation(hslc : *const ::core::ffi::c_void, pwszvaluename : ::windows_sys::core::PCWSTR, pedatatype : *mut SLDATATYPE, pcbvalue : *mut u32, ppbvalue : *mut *mut u8) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLGetWindowsInformation(pwszvaluename : ::windows_sys::core::PCWSTR, pedatatype : *mut SLDATATYPE, pcbvalue : *mut u32, ppbvalue : *mut *mut u8) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLGetWindowsInformationDWORD(pwszvaluename : ::windows_sys::core::PCWSTR, pdwvalue : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLInstallLicense(hslc : *const ::core::ffi::c_void, cblicenseblob : u32, pblicenseblob : *const u8, plicensefileid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLInstallProofOfPurchase(hslc : *const ::core::ffi::c_void, pwszpkeyalgorithm : ::windows_sys::core::PCWSTR, pwszpkeystring : ::windows_sys::core::PCWSTR, cbpkeyspecificdata : u32, pbpkeyspecificdata : *const u8, ppkeyid : *mut ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slwga.dll" "system" fn SLIsGenuineLocal(pappid : *const ::windows_sys::core::GUID, pgenuinestate : *mut SL_GENUINE_STATE, puioptions : *mut SL_NONGENUINE_UI_OPTIONS) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLOpen(phslc : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("api-ms-win-core-slapi-l1-1-0.dll" "system" fn SLQueryLicenseValueFromApp(valuename : ::windows_sys::core::PCWSTR, valuetype : *mut u32, databuffer : *mut ::core::ffi::c_void, datasize : u32, resultdatasize : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("slc.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SLRegisterEvent(hslc : *const ::core::ffi::c_void, pwszeventid : ::windows_sys::core::PCWSTR, papplicationid : *const ::windows_sys::core::GUID, hevent : super::super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLSetCurrentProductKey(hslc : *const ::core::ffi::c_void, pproductskuid : *const ::windows_sys::core::GUID, pproductkeyid : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLSetGenuineInformation(pqueryid : *const ::windows_sys::core::GUID, pwszvaluename : ::windows_sys::core::PCWSTR, edatatype : SLDATATYPE, cbvalue : u32, pbvalue : *const u8) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLUninstallLicense(hslc : *const ::core::ffi::c_void, plicensefileid : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("slc.dll" "system" fn SLUninstallProofOfPurchase(hslc : *const ::core::ffi::c_void, ppkeyid : *const ::windows_sys::core::GUID) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("slc.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SLUnregisterEvent(hslc : *const ::core::ffi::c_void, pwszeventid : ::windows_sys::core::PCWSTR, papplicationid : *const ::windows_sys::core::GUID, hevent : super::super::super::Foundation:: HANDLE) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn SaslAcceptSecurityContext(phcredential : *const super::super::Credentials:: SecHandle, phcontext : *const super::super::Credentials:: SecHandle, pinput : *const SecBufferDesc, fcontextreq : ASC_REQ_FLAGS, targetdatarep : u32, phnewcontext : *mut super::super::Credentials:: SecHandle, poutput : *mut SecBufferDesc, pfcontextattr : *mut u32, ptsexpiry : *mut i64) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("secur32.dll" "system" fn SaslEnumerateProfilesA(profilelist : *mut ::windows_sys::core::PSTR, profilecount : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("secur32.dll" "system" fn SaslEnumerateProfilesW(profilelist : *mut ::windows_sys::core::PWSTR, profilecount : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn SaslGetContextOption(contexthandle : *const super::super::Credentials:: SecHandle, option : u32, value : *mut ::core::ffi::c_void, size : u32, needed : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("secur32.dll" "system" fn SaslGetProfilePackageA(profilename : ::windows_sys::core::PCSTR, packageinfo : *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("secur32.dll" "system" fn SaslGetProfilePackageW(profilename : ::windows_sys::core::PCWSTR, packageinfo : *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("secur32.dll" "system" fn SaslIdentifyPackageA(pinput : *const SecBufferDesc, packageinfo : *mut *mut SecPkgInfoA) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("secur32.dll" "system" fn SaslIdentifyPackageW(pinput : *const SecBufferDesc, packageinfo : *mut *mut SecPkgInfoW) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn SaslInitializeSecurityContextA(phcredential : *const super::super::Credentials:: SecHandle, phcontext : *const super::super::Credentials:: SecHandle, psztargetname : ::windows_sys::core::PCSTR, fcontextreq : ISC_REQ_FLAGS, reserved1 : u32, targetdatarep : u32, pinput : *const SecBufferDesc, reserved2 : u32, phnewcontext : *mut super::super::Credentials:: SecHandle, poutput : *mut SecBufferDesc, pfcontextattr : *mut u32, ptsexpiry : *mut i64) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn SaslInitializeSecurityContextW(phcredential : *const super::super::Credentials:: SecHandle, phcontext : *const super::super::Credentials:: SecHandle, psztargetname : ::windows_sys::core::PCWSTR, fcontextreq : ISC_REQ_FLAGS, reserved1 : u32, targetdatarep : u32, pinput : *const SecBufferDesc, reserved2 : u32, phnewcontext : *mut super::super::Credentials:: SecHandle, poutput : *mut SecBufferDesc, pfcontextattr : *mut u32, ptsexpiry : *mut i64) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn SaslSetContextOption(contexthandle : *const super::super::Credentials:: SecHandle, option : u32, value : *const ::core::ffi::c_void, size : u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("sas.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SendSAS(asuser : super::super::super::Foundation:: BOOL) -> ()); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn SetContextAttributesA(phcontext : *const super::super::Credentials:: SecHandle, ulattribute : SECPKG_ATTR, pbuffer : *const ::core::ffi::c_void, cbbuffer : u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn SetContextAttributesW(phcontext : *const super::super::Credentials:: SecHandle, ulattribute : SECPKG_ATTR, pbuffer : *const ::core::ffi::c_void, cbbuffer : u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn SetCredentialsAttributesA(phcredential : *const super::super::Credentials:: SecHandle, ulattribute : u32, pbuffer : *const ::core::ffi::c_void, cbbuffer : u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn SetCredentialsAttributesW(phcredential : *const super::super::Credentials:: SecHandle, ulattribute : u32, pbuffer : *const ::core::ffi::c_void, cbbuffer : u32) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("schannel.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] fn SslCrackCertificate(pbcertificate : *mut u8, cbcertificate : u32, dwflags : u32, ppcertificate : *mut *mut X509Certificate) -> super::super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("schannel.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] fn SslDeserializeCertificateStore(serializedcertificatestore : super::super::Cryptography:: CRYPT_INTEGER_BLOB, ppcertcontext : *mut *mut super::super::Cryptography:: CERT_CONTEXT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("schannel.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SslEmptyCacheA(psztargetname : ::windows_sys::core::PCSTR, dwflags : u32) -> super::super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("schannel.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SslEmptyCacheW(psztargetname : ::windows_sys::core::PCWSTR, dwflags : u32) -> super::super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("schannel.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] fn SslFreeCertificate(pcertificate : *mut X509Certificate) -> ()); +::windows_targets::link!("schannel.dll" "system" fn SslGenerateRandomBits(prandomdata : *mut u8, crandomdata : i32) -> ()); +::windows_targets::link!("schannel.dll" "system" fn SslGetExtensions(clienthello : *const u8, clienthellobytesize : u32, genericextensions : *mut SCH_EXTENSION_DATA, genericextensionscount : u8, bytestoread : *mut u32, flags : SchGetExtensionsOptions) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("schannel.dll" "system" fn SslGetMaximumKeySize(reserved : u32) -> u32); +::windows_targets::link!("schannel.dll" "system" fn SslGetServerIdentity(clienthello : *const u8, clienthellosize : u32, serveridentity : *mut *mut u8, serveridentitysize : *mut u32, flags : u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SspiCompareAuthIdentities(authidentity1 : *const ::core::ffi::c_void, authidentity2 : *const ::core::ffi::c_void, samesupplieduser : *mut super::super::super::Foundation:: BOOLEAN, samesuppliedidentity : *mut super::super::super::Foundation:: BOOLEAN) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("secur32.dll" "system" fn SspiCopyAuthIdentity(authdata : *const ::core::ffi::c_void, authdatacopy : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("secur32.dll" "system" fn SspiDecryptAuthIdentity(encryptedauthdata : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("sspicli.dll" "system" fn SspiDecryptAuthIdentityEx(options : u32, encryptedauthdata : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("secur32.dll" "system" fn SspiEncodeAuthIdentityAsStrings(pauthidentity : *const ::core::ffi::c_void, ppszusername : *mut ::windows_sys::core::PCWSTR, ppszdomainname : *mut ::windows_sys::core::PCWSTR, ppszpackedcredentialsstring : *mut ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("secur32.dll" "system" fn SspiEncodeStringsAsAuthIdentity(pszusername : ::windows_sys::core::PCWSTR, pszdomainname : ::windows_sys::core::PCWSTR, pszpackedcredentialsstring : ::windows_sys::core::PCWSTR, ppauthidentity : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("secur32.dll" "system" fn SspiEncryptAuthIdentity(authdata : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("sspicli.dll" "system" fn SspiEncryptAuthIdentityEx(options : u32, authdata : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("secur32.dll" "system" fn SspiExcludePackage(authidentity : *const ::core::ffi::c_void, pszpackagename : ::windows_sys::core::PCWSTR, ppnewauthidentity : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("secur32.dll" "system" fn SspiFreeAuthIdentity(authdata : *const ::core::ffi::c_void) -> ()); +::windows_targets::link!("secur32.dll" "system" fn SspiGetTargetHostName(psztargetname : ::windows_sys::core::PCWSTR, pszhostname : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SspiIsAuthIdentityEncrypted(encryptedauthdata : *const ::core::ffi::c_void) -> super::super::super::Foundation:: BOOLEAN); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("credui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SspiIsPromptingNeeded(errororntstatus : u32) -> super::super::super::Foundation:: BOOLEAN); +::windows_targets::link!("secur32.dll" "system" fn SspiLocalFree(databuffer : *const ::core::ffi::c_void) -> ()); +::windows_targets::link!("secur32.dll" "system" fn SspiMarshalAuthIdentity(authidentity : *const ::core::ffi::c_void, authidentitylength : *mut u32, authidentitybytearray : *mut *mut i8) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("secur32.dll" "system" fn SspiPrepareForCredRead(authidentity : *const ::core::ffi::c_void, psztargetname : ::windows_sys::core::PCWSTR, pcredmancredentialtype : *mut u32, ppszcredmantargetname : *mut ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("secur32.dll" "system" fn SspiPrepareForCredWrite(authidentity : *const ::core::ffi::c_void, psztargetname : ::windows_sys::core::PCWSTR, pcredmancredentialtype : *mut u32, ppszcredmantargetname : *mut ::windows_sys::core::PCWSTR, ppszcredmanusername : *mut ::windows_sys::core::PCWSTR, ppcredentialblob : *mut *mut u8, pcredentialblobsize : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("credui.dll" "system" fn SspiPromptForCredentialsA(psztargetname : ::windows_sys::core::PCSTR, puiinfo : *const ::core::ffi::c_void, dwautherror : u32, pszpackage : ::windows_sys::core::PCSTR, pinputauthidentity : *const ::core::ffi::c_void, ppauthidentity : *mut *mut ::core::ffi::c_void, pfsave : *mut i32, dwflags : u32) -> u32); +::windows_targets::link!("credui.dll" "system" fn SspiPromptForCredentialsW(psztargetname : ::windows_sys::core::PCWSTR, puiinfo : *const ::core::ffi::c_void, dwautherror : u32, pszpackage : ::windows_sys::core::PCWSTR, pinputauthidentity : *const ::core::ffi::c_void, ppauthidentity : *mut *mut ::core::ffi::c_void, pfsave : *mut i32, dwflags : u32) -> u32); +::windows_targets::link!("secur32.dll" "system" fn SspiUnmarshalAuthIdentity(authidentitylength : u32, authidentitybytearray : ::windows_sys::core::PCSTR, ppauthidentity : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("secur32.dll" "system" fn SspiValidateAuthIdentity(authdata : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("secur32.dll" "system" fn SspiZeroAuthIdentity(authdata : *const ::core::ffi::c_void) -> ()); +::windows_targets::link!("tokenbinding.dll" "system" fn TokenBindingDeleteAllBindings() -> ::windows_sys::core::HRESULT); +::windows_targets::link!("tokenbinding.dll" "system" fn TokenBindingDeleteBinding(targeturl : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("tokenbinding.dll" "system" fn TokenBindingGenerateBinding(keytype : TOKENBINDING_KEY_PARAMETERS_TYPE, targeturl : ::windows_sys::core::PCWSTR, bindingtype : TOKENBINDING_TYPE, tlsekm : *const ::core::ffi::c_void, tlsekmsize : u32, extensionformat : TOKENBINDING_EXTENSION_FORMAT, extensiondata : *const ::core::ffi::c_void, tokenbinding : *mut *mut ::core::ffi::c_void, tokenbindingsize : *mut u32, resultdata : *mut *mut TOKENBINDING_RESULT_DATA) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("tokenbinding.dll" "system" fn TokenBindingGenerateID(keytype : TOKENBINDING_KEY_PARAMETERS_TYPE, publickey : *const ::core::ffi::c_void, publickeysize : u32, resultdata : *mut *mut TOKENBINDING_RESULT_DATA) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("tokenbinding.dll" "system" fn TokenBindingGenerateIDForUri(keytype : TOKENBINDING_KEY_PARAMETERS_TYPE, targeturi : ::windows_sys::core::PCWSTR, resultdata : *mut *mut TOKENBINDING_RESULT_DATA) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("tokenbinding.dll" "system" fn TokenBindingGenerateMessage(tokenbindings : *const *const ::core::ffi::c_void, tokenbindingssize : *const u32, tokenbindingscount : u32, tokenbindingmessage : *mut *mut ::core::ffi::c_void, tokenbindingmessagesize : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("tokenbinding.dll" "system" fn TokenBindingGetHighestSupportedVersion(majorversion : *mut u8, minorversion : *mut u8) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("tokenbinding.dll" "system" fn TokenBindingGetKeyTypesClient(keytypes : *mut *mut TOKENBINDING_KEY_TYPES) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("tokenbinding.dll" "system" fn TokenBindingGetKeyTypesServer(keytypes : *mut *mut TOKENBINDING_KEY_TYPES) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("tokenbinding.dll" "system" fn TokenBindingVerifyMessage(tokenbindingmessage : *const ::core::ffi::c_void, tokenbindingmessagesize : u32, keytype : TOKENBINDING_KEY_PARAMETERS_TYPE, tlsekm : *const ::core::ffi::c_void, tlsekmsize : u32, resultlist : *mut *mut TOKENBINDING_RESULT_LIST) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TranslateNameA(lpaccountname : ::windows_sys::core::PCSTR, accountnameformat : EXTENDED_NAME_FORMAT, desirednameformat : EXTENDED_NAME_FORMAT, lptranslatedname : ::windows_sys::core::PSTR, nsize : *mut u32) -> super::super::super::Foundation:: BOOLEAN); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TranslateNameW(lpaccountname : ::windows_sys::core::PCWSTR, accountnameformat : EXTENDED_NAME_FORMAT, desirednameformat : EXTENDED_NAME_FORMAT, lptranslatedname : ::windows_sys::core::PWSTR, nsize : *mut u32) -> super::super::super::Foundation:: BOOLEAN); +#[cfg(feature = "Win32_Security_Credentials")] +::windows_targets::link!("secur32.dll" "system" #[doc = "Required features: `\"Win32_Security_Credentials\"`"] fn VerifySignature(phcontext : *const super::super::Credentials:: SecHandle, pmessage : *const SecBufferDesc, messageseqno : u32, pfqop : *mut u32) -> ::windows_sys::core::HRESULT); +pub type ICcgDomainAuthCredentials = *mut ::core::ffi::c_void; +pub const ACCOUNT_ADJUST_PRIVILEGES: i32 = 2i32; +pub const ACCOUNT_ADJUST_QUOTAS: i32 = 4i32; +pub const ACCOUNT_ADJUST_SYSTEM_ACCESS: i32 = 8i32; +pub const ACCOUNT_VIEW: i32 = 1i32; +pub const ASC_REQ_ALLOCATE_MEMORY: ASC_REQ_FLAGS = 256u32; +pub const ASC_REQ_ALLOW_CONTEXT_REPLAY: ASC_REQ_FLAGS = 4194304u32; +pub const ASC_REQ_ALLOW_MISSING_BINDINGS: ASC_REQ_FLAGS = 268435456u32; +pub const ASC_REQ_ALLOW_NON_USER_LOGONS: ASC_REQ_FLAGS = 2097152u32; +pub const ASC_REQ_ALLOW_NULL_SESSION: ASC_REQ_FLAGS = 1048576u32; +pub const ASC_REQ_CALL_LEVEL: ASC_REQ_FLAGS = 4096u32; +pub const ASC_REQ_CONFIDENTIALITY: ASC_REQ_FLAGS = 16u32; +pub const ASC_REQ_CONNECTION: ASC_REQ_FLAGS = 2048u32; +pub const ASC_REQ_DATAGRAM: ASC_REQ_FLAGS = 1024u32; +pub const ASC_REQ_DELEGATE: ASC_REQ_FLAGS = 1u32; +pub const ASC_REQ_EXTENDED_ERROR: ASC_REQ_FLAGS = 32768u32; +pub const ASC_REQ_FRAGMENT_SUPPLIED: ASC_REQ_FLAGS = 8192u32; +pub const ASC_REQ_FRAGMENT_TO_FIT: ASC_REQ_FLAGS = 8388608u32; +pub const ASC_REQ_IDENTIFY: ASC_REQ_FLAGS = 524288u32; +pub const ASC_REQ_INTEGRITY: ASC_REQ_FLAGS = 131072u32; +pub const ASC_REQ_LICENSING: ASC_REQ_FLAGS = 262144u32; +pub const ASC_REQ_MESSAGES: ASC_REQ_HIGH_FLAGS = 4294967296u64; +pub const ASC_REQ_MUTUAL_AUTH: ASC_REQ_FLAGS = 2u32; +pub const ASC_REQ_NO_TOKEN: ASC_REQ_FLAGS = 16777216u32; +pub const ASC_REQ_PROXY_BINDINGS: ASC_REQ_FLAGS = 67108864u32; +pub const ASC_REQ_REPLAY_DETECT: ASC_REQ_FLAGS = 4u32; +pub const ASC_REQ_SEQUENCE_DETECT: ASC_REQ_FLAGS = 8u32; +pub const ASC_REQ_SESSION_TICKET: ASC_REQ_FLAGS = 64u32; +pub const ASC_REQ_STREAM: ASC_REQ_FLAGS = 65536u32; +pub const ASC_REQ_USE_DCE_STYLE: ASC_REQ_FLAGS = 512u32; +pub const ASC_REQ_USE_SESSION_KEY: ASC_REQ_FLAGS = 32u32; +pub const ASC_RET_ALLOCATED_MEMORY: u32 = 256u32; +pub const ASC_RET_ALLOW_CONTEXT_REPLAY: u32 = 4194304u32; +pub const ASC_RET_ALLOW_NON_USER_LOGONS: u32 = 2097152u32; +pub const ASC_RET_CALL_LEVEL: u32 = 8192u32; +pub const ASC_RET_CONFIDENTIALITY: u32 = 16u32; +pub const ASC_RET_CONNECTION: u32 = 2048u32; +pub const ASC_RET_DATAGRAM: u32 = 1024u32; +pub const ASC_RET_DELEGATE: u32 = 1u32; +pub const ASC_RET_EXTENDED_ERROR: u32 = 32768u32; +pub const ASC_RET_FRAGMENT_ONLY: u32 = 8388608u32; +pub const ASC_RET_IDENTIFY: u32 = 524288u32; +pub const ASC_RET_INTEGRITY: u32 = 131072u32; +pub const ASC_RET_LICENSING: u32 = 262144u32; +pub const ASC_RET_MESSAGES: u64 = 4294967296u64; +pub const ASC_RET_MUTUAL_AUTH: u32 = 2u32; +pub const ASC_RET_NO_ADDITIONAL_TOKEN: u32 = 33554432u32; +pub const ASC_RET_NO_TOKEN: u32 = 16777216u32; +pub const ASC_RET_NULL_SESSION: u32 = 1048576u32; +pub const ASC_RET_REPLAY_DETECT: u32 = 4u32; +pub const ASC_RET_SEQUENCE_DETECT: u32 = 8u32; +pub const ASC_RET_SESSION_TICKET: u32 = 64u32; +pub const ASC_RET_STREAM: u32 = 65536u32; +pub const ASC_RET_THIRD_LEG_FAILED: u32 = 16384u32; +pub const ASC_RET_USED_DCE_STYLE: u32 = 512u32; +pub const ASC_RET_USE_SESSION_KEY: u32 = 32u32; +pub const AUDIT_ENUMERATE_USERS: u32 = 16u32; +pub const AUDIT_QUERY_MISC_POLICY: u32 = 64u32; +pub const AUDIT_QUERY_SYSTEM_POLICY: u32 = 2u32; +pub const AUDIT_QUERY_USER_POLICY: u32 = 8u32; +pub const AUDIT_SET_MISC_POLICY: u32 = 32u32; +pub const AUDIT_SET_SYSTEM_POLICY: u32 = 1u32; +pub const AUDIT_SET_USER_POLICY: u32 = 4u32; +pub const AUTH_REQ_ALLOW_ENC_TKT_IN_SKEY: u32 = 32u32; +pub const AUTH_REQ_ALLOW_FORWARDABLE: u32 = 1u32; +pub const AUTH_REQ_ALLOW_NOADDRESS: u32 = 16u32; +pub const AUTH_REQ_ALLOW_POSTDATE: u32 = 4u32; +pub const AUTH_REQ_ALLOW_PROXIABLE: u32 = 2u32; +pub const AUTH_REQ_ALLOW_RENEWABLE: u32 = 8u32; +pub const AUTH_REQ_ALLOW_S4U_DELEGATE: u32 = 2048u32; +pub const AUTH_REQ_ALLOW_VALIDATE: u32 = 64u32; +pub const AUTH_REQ_OK_AS_DELEGATE: u32 = 256u32; +pub const AUTH_REQ_PREAUTH_REQUIRED: u32 = 512u32; +pub const AUTH_REQ_TRANSITIVE_TRUST: u32 = 1024u32; +pub const AUTH_REQ_VALIDATE_CLIENT: u32 = 128u32; +pub const AccountDomainInformation: LSA_LOOKUP_DOMAIN_INFO_CLASS = 5i32; +pub const AuditCategoryAccountLogon: POLICY_AUDIT_EVENT_TYPE = 8i32; +pub const AuditCategoryAccountManagement: POLICY_AUDIT_EVENT_TYPE = 6i32; +pub const AuditCategoryDetailedTracking: POLICY_AUDIT_EVENT_TYPE = 4i32; +pub const AuditCategoryDirectoryServiceAccess: POLICY_AUDIT_EVENT_TYPE = 7i32; +pub const AuditCategoryLogon: POLICY_AUDIT_EVENT_TYPE = 1i32; +pub const AuditCategoryObjectAccess: POLICY_AUDIT_EVENT_TYPE = 2i32; +pub const AuditCategoryPolicyChange: POLICY_AUDIT_EVENT_TYPE = 5i32; +pub const AuditCategoryPrivilegeUse: POLICY_AUDIT_EVENT_TYPE = 3i32; +pub const AuditCategorySystem: POLICY_AUDIT_EVENT_TYPE = 0i32; +pub const Audit_AccountLogon: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x69979850_797a_11d9_bed3_505054503030); +pub const Audit_AccountLogon_CredentialValidation: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce923f_69ae_11d9_bed3_505054503030); +pub const Audit_AccountLogon_KerbCredentialValidation: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9242_69ae_11d9_bed3_505054503030); +pub const Audit_AccountLogon_Kerberos: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9240_69ae_11d9_bed3_505054503030); +pub const Audit_AccountLogon_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9241_69ae_11d9_bed3_505054503030); +pub const Audit_AccountManagement: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6997984e_797a_11d9_bed3_505054503030); +pub const Audit_AccountManagement_ApplicationGroup: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9239_69ae_11d9_bed3_505054503030); +pub const Audit_AccountManagement_ComputerAccount: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9236_69ae_11d9_bed3_505054503030); +pub const Audit_AccountManagement_DistributionGroup: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9238_69ae_11d9_bed3_505054503030); +pub const Audit_AccountManagement_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce923a_69ae_11d9_bed3_505054503030); +pub const Audit_AccountManagement_SecurityGroup: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9237_69ae_11d9_bed3_505054503030); +pub const Audit_AccountManagement_UserAccount: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9235_69ae_11d9_bed3_505054503030); +pub const Audit_DSAccess_DSAccess: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce923b_69ae_11d9_bed3_505054503030); +pub const Audit_DetailedTracking: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6997984c_797a_11d9_bed3_505054503030); +pub const Audit_DetailedTracking_DpapiActivity: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce922d_69ae_11d9_bed3_505054503030); +pub const Audit_DetailedTracking_PnpActivity: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9248_69ae_11d9_bed3_505054503030); +pub const Audit_DetailedTracking_ProcessCreation: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce922b_69ae_11d9_bed3_505054503030); +pub const Audit_DetailedTracking_ProcessTermination: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce922c_69ae_11d9_bed3_505054503030); +pub const Audit_DetailedTracking_RpcCall: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce922e_69ae_11d9_bed3_505054503030); +pub const Audit_DetailedTracking_TokenRightAdjusted: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce924a_69ae_11d9_bed3_505054503030); +pub const Audit_DirectoryServiceAccess: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6997984f_797a_11d9_bed3_505054503030); +pub const Audit_DsAccess_AdAuditChanges: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce923c_69ae_11d9_bed3_505054503030); +pub const Audit_Ds_DetailedReplication: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce923e_69ae_11d9_bed3_505054503030); +pub const Audit_Ds_Replication: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce923d_69ae_11d9_bed3_505054503030); +pub const Audit_Logon: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x69979849_797a_11d9_bed3_505054503030); +pub const Audit_Logon_AccountLockout: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9217_69ae_11d9_bed3_505054503030); +pub const Audit_Logon_Claims: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9247_69ae_11d9_bed3_505054503030); +pub const Audit_Logon_Groups: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9249_69ae_11d9_bed3_505054503030); +pub const Audit_Logon_IPSecMainMode: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9218_69ae_11d9_bed3_505054503030); +pub const Audit_Logon_IPSecQuickMode: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9219_69ae_11d9_bed3_505054503030); +pub const Audit_Logon_IPSecUserMode: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce921a_69ae_11d9_bed3_505054503030); +pub const Audit_Logon_Logoff: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9216_69ae_11d9_bed3_505054503030); +pub const Audit_Logon_Logon: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9215_69ae_11d9_bed3_505054503030); +pub const Audit_Logon_NPS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9243_69ae_11d9_bed3_505054503030); +pub const Audit_Logon_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce921c_69ae_11d9_bed3_505054503030); +pub const Audit_Logon_SpecialLogon: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce921b_69ae_11d9_bed3_505054503030); +pub const Audit_ObjectAccess: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6997984a_797a_11d9_bed3_505054503030); +pub const Audit_ObjectAccess_ApplicationGenerated: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9222_69ae_11d9_bed3_505054503030); +pub const Audit_ObjectAccess_CbacStaging: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9246_69ae_11d9_bed3_505054503030); +pub const Audit_ObjectAccess_CertificationServices: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9221_69ae_11d9_bed3_505054503030); +pub const Audit_ObjectAccess_DetailedFileShare: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9244_69ae_11d9_bed3_505054503030); +pub const Audit_ObjectAccess_FileSystem: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce921d_69ae_11d9_bed3_505054503030); +pub const Audit_ObjectAccess_FirewallConnection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9226_69ae_11d9_bed3_505054503030); +pub const Audit_ObjectAccess_FirewallPacketDrops: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9225_69ae_11d9_bed3_505054503030); +pub const Audit_ObjectAccess_Handle: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9223_69ae_11d9_bed3_505054503030); +pub const Audit_ObjectAccess_Kernel: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce921f_69ae_11d9_bed3_505054503030); +pub const Audit_ObjectAccess_Other: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9227_69ae_11d9_bed3_505054503030); +pub const Audit_ObjectAccess_Registry: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce921e_69ae_11d9_bed3_505054503030); +pub const Audit_ObjectAccess_RemovableStorage: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9245_69ae_11d9_bed3_505054503030); +pub const Audit_ObjectAccess_Sam: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9220_69ae_11d9_bed3_505054503030); +pub const Audit_ObjectAccess_Share: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9224_69ae_11d9_bed3_505054503030); +pub const Audit_PolicyChange: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6997984d_797a_11d9_bed3_505054503030); +pub const Audit_PolicyChange_AuditPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce922f_69ae_11d9_bed3_505054503030); +pub const Audit_PolicyChange_AuthenticationPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9230_69ae_11d9_bed3_505054503030); +pub const Audit_PolicyChange_AuthorizationPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9231_69ae_11d9_bed3_505054503030); +pub const Audit_PolicyChange_MpsscvRulePolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9232_69ae_11d9_bed3_505054503030); +pub const Audit_PolicyChange_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9234_69ae_11d9_bed3_505054503030); +pub const Audit_PolicyChange_WfpIPSecPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9233_69ae_11d9_bed3_505054503030); +pub const Audit_PrivilegeUse: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6997984b_797a_11d9_bed3_505054503030); +pub const Audit_PrivilegeUse_NonSensitive: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9229_69ae_11d9_bed3_505054503030); +pub const Audit_PrivilegeUse_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce922a_69ae_11d9_bed3_505054503030); +pub const Audit_PrivilegeUse_Sensitive: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9228_69ae_11d9_bed3_505054503030); +pub const Audit_System: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x69979848_797a_11d9_bed3_505054503030); +pub const Audit_System_IPSecDriverEvents: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9213_69ae_11d9_bed3_505054503030); +pub const Audit_System_Integrity: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9212_69ae_11d9_bed3_505054503030); +pub const Audit_System_Others: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9214_69ae_11d9_bed3_505054503030); +pub const Audit_System_SecurityStateChange: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9210_69ae_11d9_bed3_505054503030); +pub const Audit_System_SecuritySubsystemExtension: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x0cce9211_69ae_11d9_bed3_505054503030); +pub const CENTRAL_ACCESS_POLICY_OWNER_RIGHTS_PRESENT_FLAG: u32 = 1u32; +pub const CENTRAL_ACCESS_POLICY_STAGED_FLAG: u32 = 65536u32; +pub const CENTRAL_ACCESS_POLICY_STAGED_OWNER_RIGHTS_PRESENT_FLAG: u32 = 256u32; +pub const CLEAR_BLOCK_LENGTH: u32 = 8u32; +pub const CLOUDAP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CloudAP"); +pub const CLOUDAP_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CloudAP"); +pub const CREDP_FLAGS_CLEAR_PASSWORD: u32 = 8u32; +pub const CREDP_FLAGS_DONT_CACHE_TI: u32 = 4u32; +pub const CREDP_FLAGS_IN_PROCESS: u32 = 1u32; +pub const CREDP_FLAGS_TRUSTED_CALLER: u32 = 32u32; +pub const CREDP_FLAGS_USER_ENCRYPTED_PASSWORD: u32 = 16u32; +pub const CREDP_FLAGS_USE_MIDL_HEAP: u32 = 2u32; +pub const CREDP_FLAGS_VALIDATE_PROXY_TARGET: u32 = 64u32; +pub const CRED_MARSHALED_TI_SIZE_SIZE: u32 = 12u32; +pub const CYPHER_BLOCK_LENGTH: u32 = 8u32; +pub const CertHashInfo: KERB_CERTIFICATE_INFO_TYPE = 1i32; +pub const ClOUDAP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CloudAP"); +pub const CollisionOther: LSA_FOREST_TRUST_COLLISION_RECORD_TYPE = 2i32; +pub const CollisionTdo: LSA_FOREST_TRUST_COLLISION_RECORD_TYPE = 0i32; +pub const CollisionXref: LSA_FOREST_TRUST_COLLISION_RECORD_TYPE = 1i32; +pub const CredFetchDPAPI: CRED_FETCH = 1i32; +pub const CredFetchDefault: CRED_FETCH = 0i32; +pub const CredFetchForced: CRED_FETCH = 2i32; +pub const DEFAULT_TLS_SSP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Default TLS SSP"); +pub const DEFAULT_TLS_SSP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Default TLS SSP"); +pub const DEFAULT_TLS_SSP_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Default TLS SSP"); +pub const DOMAIN_LOCKOUT_ADMINS: DOMAIN_PASSWORD_PROPERTIES = 8u32; +pub const DOMAIN_NO_LM_OWF_CHANGE: i32 = 64i32; +pub const DOMAIN_PASSWORD_COMPLEX: DOMAIN_PASSWORD_PROPERTIES = 1u32; +pub const DOMAIN_PASSWORD_NO_ANON_CHANGE: DOMAIN_PASSWORD_PROPERTIES = 2u32; +pub const DOMAIN_PASSWORD_NO_CLEAR_CHANGE: DOMAIN_PASSWORD_PROPERTIES = 4u32; +pub const DOMAIN_PASSWORD_STORE_CLEARTEXT: DOMAIN_PASSWORD_PROPERTIES = 16u32; +pub const DOMAIN_REFUSE_PASSWORD_CHANGE: DOMAIN_PASSWORD_PROPERTIES = 32u32; +pub const DS_INET_ADDRESS: KERB_ADDRESS_TYPE = 1u32; +pub const DS_NETBIOS_ADDRESS: KERB_ADDRESS_TYPE = 2u32; +pub const DS_UNKNOWN_ADDRESS_TYPE: u32 = 0u32; +pub const DeprecatedIUMCredKey: MSV1_0_CREDENTIAL_KEY_TYPE = 1i32; +pub const DnsDomainInformation: LSA_LOOKUP_DOMAIN_INFO_CLASS = 12i32; +pub const DomainUserCredKey: MSV1_0_CREDENTIAL_KEY_TYPE = 2i32; +pub const ENABLE_TLS_CLIENT_EARLY_START: u32 = 1u32; +pub const E_RM_UNKNOWN_ERROR: ::windows_sys::core::HRESULT = -1073415165i32; +pub const ExternallySuppliedCredKey: MSV1_0_CREDENTIAL_KEY_TYPE = 4i32; +pub const FACILITY_SL_ITF: u32 = 4u32; +pub const ForestTrustBinaryInfo: LSA_FOREST_TRUST_RECORD_TYPE = 3i32; +pub const ForestTrustDomainInfo: LSA_FOREST_TRUST_RECORD_TYPE = 2i32; +pub const ForestTrustRecordTypeLast: LSA_FOREST_TRUST_RECORD_TYPE = 4i32; +pub const ForestTrustScannerInfo: LSA_FOREST_TRUST_RECORD_TYPE = 4i32; +pub const ForestTrustTopLevelName: LSA_FOREST_TRUST_RECORD_TYPE = 0i32; +pub const ForestTrustTopLevelNameEx: LSA_FOREST_TRUST_RECORD_TYPE = 1i32; +pub const ID_CAP_SLAPI: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("slapiQueryLicenseValue"); +pub const ISC_REQ_ALLOCATE_MEMORY: ISC_REQ_FLAGS = 256u32; +pub const ISC_REQ_CALL_LEVEL: ISC_REQ_FLAGS = 4096u32; +pub const ISC_REQ_CONFIDENTIALITY: ISC_REQ_FLAGS = 16u32; +pub const ISC_REQ_CONFIDENTIALITY_ONLY: ISC_REQ_FLAGS = 1073741824u32; +pub const ISC_REQ_CONNECTION: ISC_REQ_FLAGS = 2048u32; +pub const ISC_REQ_DATAGRAM: ISC_REQ_FLAGS = 1024u32; +pub const ISC_REQ_DEFERRED_CRED_VALIDATION: ISC_REQ_HIGH_FLAGS = 8589934592u64; +pub const ISC_REQ_DELEGATE: ISC_REQ_FLAGS = 1u32; +pub const ISC_REQ_EXTENDED_ERROR: ISC_REQ_FLAGS = 16384u32; +pub const ISC_REQ_FORWARD_CREDENTIALS: ISC_REQ_FLAGS = 4194304u32; +pub const ISC_REQ_FRAGMENT_SUPPLIED: ISC_REQ_FLAGS = 8192u32; +pub const ISC_REQ_FRAGMENT_TO_FIT: ISC_REQ_FLAGS = 2097152u32; +pub const ISC_REQ_IDENTIFY: ISC_REQ_FLAGS = 131072u32; +pub const ISC_REQ_INTEGRITY: ISC_REQ_FLAGS = 65536u32; +pub const ISC_REQ_MANUAL_CRED_VALIDATION: ISC_REQ_FLAGS = 524288u32; +pub const ISC_REQ_MESSAGES: ISC_REQ_HIGH_FLAGS = 4294967296u64; +pub const ISC_REQ_MUTUAL_AUTH: ISC_REQ_FLAGS = 2u32; +pub const ISC_REQ_NO_INTEGRITY: ISC_REQ_FLAGS = 8388608u32; +pub const ISC_REQ_NO_POST_HANDSHAKE_AUTH: ISC_REQ_HIGH_FLAGS = 17179869184u64; +pub const ISC_REQ_NULL_SESSION: ISC_REQ_FLAGS = 262144u32; +pub const ISC_REQ_PROMPT_FOR_CREDS: ISC_REQ_FLAGS = 64u32; +pub const ISC_REQ_REPLAY_DETECT: ISC_REQ_FLAGS = 4u32; +pub const ISC_REQ_RESERVED1: ISC_REQ_FLAGS = 1048576u32; +pub const ISC_REQ_SEQUENCE_DETECT: ISC_REQ_FLAGS = 8u32; +pub const ISC_REQ_STREAM: ISC_REQ_FLAGS = 32768u32; +pub const ISC_REQ_UNVERIFIED_TARGET_NAME: ISC_REQ_FLAGS = 536870912u32; +pub const ISC_REQ_USE_DCE_STYLE: ISC_REQ_FLAGS = 512u32; +pub const ISC_REQ_USE_HTTP_STYLE: ISC_REQ_FLAGS = 16777216u32; +pub const ISC_REQ_USE_SESSION_KEY: ISC_REQ_FLAGS = 32u32; +pub const ISC_REQ_USE_SUPPLIED_CREDS: ISC_REQ_FLAGS = 128u32; +pub const ISC_RET_ALLOCATED_MEMORY: u32 = 256u32; +pub const ISC_RET_CALL_LEVEL: u32 = 8192u32; +pub const ISC_RET_CONFIDENTIALITY: u32 = 16u32; +pub const ISC_RET_CONFIDENTIALITY_ONLY: u32 = 1073741824u32; +pub const ISC_RET_CONNECTION: u32 = 2048u32; +pub const ISC_RET_DATAGRAM: u32 = 1024u32; +pub const ISC_RET_DEFERRED_CRED_VALIDATION: u64 = 8589934592u64; +pub const ISC_RET_DELEGATE: u32 = 1u32; +pub const ISC_RET_EXTENDED_ERROR: u32 = 16384u32; +pub const ISC_RET_FORWARD_CREDENTIALS: u32 = 4194304u32; +pub const ISC_RET_FRAGMENT_ONLY: u32 = 2097152u32; +pub const ISC_RET_IDENTIFY: u32 = 131072u32; +pub const ISC_RET_INTEGRITY: u32 = 65536u32; +pub const ISC_RET_INTERMEDIATE_RETURN: u32 = 4096u32; +pub const ISC_RET_MANUAL_CRED_VALIDATION: u32 = 524288u32; +pub const ISC_RET_MESSAGES: u64 = 4294967296u64; +pub const ISC_RET_MUTUAL_AUTH: u32 = 2u32; +pub const ISC_RET_NO_ADDITIONAL_TOKEN: u32 = 33554432u32; +pub const ISC_RET_NO_POST_HANDSHAKE_AUTH: u64 = 17179869184u64; +pub const ISC_RET_NULL_SESSION: u32 = 262144u32; +pub const ISC_RET_REAUTHENTICATION: u32 = 134217728u32; +pub const ISC_RET_REPLAY_DETECT: u32 = 4u32; +pub const ISC_RET_RESERVED1: u32 = 1048576u32; +pub const ISC_RET_SEQUENCE_DETECT: u32 = 8u32; +pub const ISC_RET_STREAM: u32 = 32768u32; +pub const ISC_RET_USED_COLLECTED_CREDS: u32 = 64u32; +pub const ISC_RET_USED_DCE_STYLE: u32 = 512u32; +pub const ISC_RET_USED_HTTP_STYLE: u32 = 16777216u32; +pub const ISC_RET_USED_SUPPLIED_CREDS: u32 = 128u32; +pub const ISC_RET_USE_SESSION_KEY: u32 = 32u32; +pub const ISSP_LEVEL: u32 = 32u32; +pub const ISSP_MODE: u32 = 1u32; +pub const InvalidCredKey: MSV1_0_CREDENTIAL_KEY_TYPE = 0i32; +pub const KDC_PROXY_SETTINGS_FLAGS_FORCEPROXY: u32 = 1u32; +pub const KDC_PROXY_SETTINGS_V1: u32 = 1u32; +pub const KERBEROS_REVISION: u32 = 6u32; +pub const KERBEROS_VERSION: u32 = 5u32; +pub const KERB_CERTIFICATE_LOGON_FLAG_CHECK_DUPLICATES: u32 = 1u32; +pub const KERB_CERTIFICATE_LOGON_FLAG_USE_CERTIFICATE_INFO: u32 = 2u32; +pub const KERB_CERTIFICATE_S4U_LOGON_FLAG_CHECK_DUPLICATES: u32 = 1u32; +pub const KERB_CERTIFICATE_S4U_LOGON_FLAG_CHECK_LOGONHOURS: u32 = 2u32; +pub const KERB_CERTIFICATE_S4U_LOGON_FLAG_FAIL_IF_NT_AUTH_POLICY_REQUIRED: u32 = 4u32; +pub const KERB_CERTIFICATE_S4U_LOGON_FLAG_IDENTIFY: u32 = 8u32; +pub const KERB_CHECKSUM_CRC32: u32 = 1u32; +pub const KERB_CHECKSUM_DES_MAC: i32 = -133i32; +pub const KERB_CHECKSUM_DES_MAC_MD5: i32 = -134i32; +pub const KERB_CHECKSUM_HMAC_MD5: i32 = -138i32; +pub const KERB_CHECKSUM_HMAC_SHA1_96_AES128: u32 = 15u32; +pub const KERB_CHECKSUM_HMAC_SHA1_96_AES128_Ki: i32 = -150i32; +pub const KERB_CHECKSUM_HMAC_SHA1_96_AES256: u32 = 16u32; +pub const KERB_CHECKSUM_HMAC_SHA1_96_AES256_Ki: i32 = -151i32; +pub const KERB_CHECKSUM_KRB_DES_MAC: u32 = 4u32; +pub const KERB_CHECKSUM_KRB_DES_MAC_K: u32 = 5u32; +pub const KERB_CHECKSUM_LM: i32 = -130i32; +pub const KERB_CHECKSUM_MD25: i32 = -135i32; +pub const KERB_CHECKSUM_MD4: u32 = 2u32; +pub const KERB_CHECKSUM_MD5: u32 = 7u32; +pub const KERB_CHECKSUM_MD5_DES: u32 = 8u32; +pub const KERB_CHECKSUM_MD5_HMAC: i32 = -137i32; +pub const KERB_CHECKSUM_NONE: u32 = 0u32; +pub const KERB_CHECKSUM_RC4_MD5: i32 = -136i32; +pub const KERB_CHECKSUM_REAL_CRC32: i32 = -132i32; +pub const KERB_CHECKSUM_SHA1: i32 = -131i32; +pub const KERB_CHECKSUM_SHA1_NEW: u32 = 14u32; +pub const KERB_CHECKSUM_SHA256: i32 = -139i32; +pub const KERB_CHECKSUM_SHA384: i32 = -140i32; +pub const KERB_CHECKSUM_SHA512: i32 = -141i32; +pub const KERB_CLOUD_KERBEROS_DEBUG_DATA_VERSION: u32 = 1u32; +pub const KERB_DECRYPT_FLAG_DEFAULT_KEY: u32 = 1u32; +pub const KERB_ETYPE_AES128_CTS_HMAC_SHA1_96: u32 = 17u32; +pub const KERB_ETYPE_AES128_CTS_HMAC_SHA1_96_PLAIN: i32 = -148i32; +pub const KERB_ETYPE_AES256_CTS_HMAC_SHA1_96: u32 = 18u32; +pub const KERB_ETYPE_AES256_CTS_HMAC_SHA1_96_PLAIN: i32 = -149i32; +pub const KERB_ETYPE_DEFAULT: u32 = 0u32; +pub const KERB_ETYPE_DES3_CBC_MD5: u32 = 5u32; +pub const KERB_ETYPE_DES3_CBC_SHA1: u32 = 7u32; +pub const KERB_ETYPE_DES3_CBC_SHA1_KD: u32 = 16u32; +pub const KERB_ETYPE_DES_CBC_CRC: KERB_CRYPTO_KEY_TYPE = 1i32; +pub const KERB_ETYPE_DES_CBC_MD4: KERB_CRYPTO_KEY_TYPE = 2i32; +pub const KERB_ETYPE_DES_CBC_MD5: KERB_CRYPTO_KEY_TYPE = 3i32; +pub const KERB_ETYPE_DES_CBC_MD5_NT: u32 = 20u32; +pub const KERB_ETYPE_DES_EDE3_CBC_ENV: u32 = 15u32; +pub const KERB_ETYPE_DES_PLAIN: i32 = -132i32; +pub const KERB_ETYPE_DSA_SHA1_CMS: u32 = 9u32; +pub const KERB_ETYPE_DSA_SIGN: u32 = 8u32; +pub const KERB_ETYPE_NULL: KERB_CRYPTO_KEY_TYPE = 0i32; +pub const KERB_ETYPE_PKCS7_PUB: u32 = 13u32; +pub const KERB_ETYPE_RC2_CBC_ENV: u32 = 12u32; +pub const KERB_ETYPE_RC4_HMAC_NT: KERB_CRYPTO_KEY_TYPE = 23i32; +pub const KERB_ETYPE_RC4_HMAC_NT_EXP: u32 = 24u32; +pub const KERB_ETYPE_RC4_HMAC_OLD: i32 = -133i32; +pub const KERB_ETYPE_RC4_HMAC_OLD_EXP: i32 = -135i32; +pub const KERB_ETYPE_RC4_LM: i32 = -130i32; +pub const KERB_ETYPE_RC4_MD4: KERB_CRYPTO_KEY_TYPE = -128i32; +pub const KERB_ETYPE_RC4_PLAIN: i32 = -140i32; +pub const KERB_ETYPE_RC4_PLAIN2: i32 = -129i32; +pub const KERB_ETYPE_RC4_PLAIN_EXP: i32 = -141i32; +pub const KERB_ETYPE_RC4_PLAIN_OLD: i32 = -134i32; +pub const KERB_ETYPE_RC4_PLAIN_OLD_EXP: i32 = -136i32; +pub const KERB_ETYPE_RC4_SHA: i32 = -131i32; +pub const KERB_ETYPE_RSA_ENV: u32 = 13u32; +pub const KERB_ETYPE_RSA_ES_OEAP_ENV: u32 = 14u32; +pub const KERB_ETYPE_RSA_MD5_CMS: u32 = 10u32; +pub const KERB_ETYPE_RSA_PRIV: u32 = 9u32; +pub const KERB_ETYPE_RSA_PUB: u32 = 10u32; +pub const KERB_ETYPE_RSA_PUB_MD5: u32 = 11u32; +pub const KERB_ETYPE_RSA_PUB_SHA1: u32 = 12u32; +pub const KERB_ETYPE_RSA_SHA1_CMS: u32 = 11u32; +pub const KERB_LOGON_FLAG_ALLOW_EXPIRED_TICKET: u32 = 1u32; +pub const KERB_LOGON_FLAG_REDIRECTED: u32 = 2u32; +pub const KERB_PURGE_ALL_TICKETS: u32 = 1u32; +pub const KERB_QUERY_DOMAIN_EXTENDED_POLICIES_RESPONSE_FLAG_DAC_DISABLED: u32 = 1u32; +pub const KERB_REFRESH_POLICY_KDC: u32 = 2u32; +pub const KERB_REFRESH_POLICY_KERBEROS: u32 = 1u32; +pub const KERB_REFRESH_SCCRED_GETTGT: u32 = 1u32; +pub const KERB_REFRESH_SCCRED_RELEASE: u32 = 0u32; +pub const KERB_REQUEST_ADD_CREDENTIAL: KERB_REQUEST_FLAGS = 1u32; +pub const KERB_REQUEST_REMOVE_CREDENTIAL: KERB_REQUEST_FLAGS = 4u32; +pub const KERB_REQUEST_REPLACE_CREDENTIAL: KERB_REQUEST_FLAGS = 2u32; +pub const KERB_RETRIEVE_TICKET_AS_KERB_CRED: u32 = 8u32; +pub const KERB_RETRIEVE_TICKET_CACHE_TICKET: u32 = 32u32; +pub const KERB_RETRIEVE_TICKET_DEFAULT: u32 = 0u32; +pub const KERB_RETRIEVE_TICKET_DONT_USE_CACHE: u32 = 1u32; +pub const KERB_RETRIEVE_TICKET_MAX_LIFETIME: u32 = 64u32; +pub const KERB_RETRIEVE_TICKET_USE_CACHE_ONLY: u32 = 2u32; +pub const KERB_RETRIEVE_TICKET_USE_CREDHANDLE: u32 = 4u32; +pub const KERB_RETRIEVE_TICKET_WITH_SEC_CRED: u32 = 16u32; +pub const KERB_S4U2PROXY_CACHE_ENTRY_INFO_FLAG_NEGATIVE: u32 = 1u32; +pub const KERB_S4U2PROXY_CRED_FLAG_NEGATIVE: u32 = 1u32; +pub const KERB_S4U_LOGON_FLAG_CHECK_LOGONHOURS: u32 = 2u32; +pub const KERB_S4U_LOGON_FLAG_IDENTIFY: u32 = 8u32; +pub const KERB_SETPASS_USE_CREDHANDLE: u32 = 2u32; +pub const KERB_SETPASS_USE_LOGONID: u32 = 1u32; +pub const KERB_TICKET_FLAGS_cname_in_pa_data: u32 = 262144u32; +pub const KERB_TICKET_FLAGS_enc_pa_rep: u32 = 65536u32; +pub const KERB_TICKET_FLAGS_forwardable: KERB_TICKET_FLAGS = 1073741824u32; +pub const KERB_TICKET_FLAGS_forwarded: KERB_TICKET_FLAGS = 536870912u32; +pub const KERB_TICKET_FLAGS_hw_authent: KERB_TICKET_FLAGS = 1048576u32; +pub const KERB_TICKET_FLAGS_initial: KERB_TICKET_FLAGS = 4194304u32; +pub const KERB_TICKET_FLAGS_invalid: KERB_TICKET_FLAGS = 16777216u32; +pub const KERB_TICKET_FLAGS_may_postdate: KERB_TICKET_FLAGS = 67108864u32; +pub const KERB_TICKET_FLAGS_name_canonicalize: u32 = 65536u32; +pub const KERB_TICKET_FLAGS_ok_as_delegate: KERB_TICKET_FLAGS = 262144u32; +pub const KERB_TICKET_FLAGS_postdated: KERB_TICKET_FLAGS = 33554432u32; +pub const KERB_TICKET_FLAGS_pre_authent: KERB_TICKET_FLAGS = 2097152u32; +pub const KERB_TICKET_FLAGS_proxiable: KERB_TICKET_FLAGS = 268435456u32; +pub const KERB_TICKET_FLAGS_proxy: KERB_TICKET_FLAGS = 134217728u32; +pub const KERB_TICKET_FLAGS_renewable: KERB_TICKET_FLAGS = 8388608u32; +pub const KERB_TICKET_FLAGS_reserved: KERB_TICKET_FLAGS = 2147483648u32; +pub const KERB_TICKET_FLAGS_reserved1: KERB_TICKET_FLAGS = 1u32; +pub const KERB_TRANSFER_CRED_CLEANUP_CREDENTIALS: u32 = 2u32; +pub const KERB_TRANSFER_CRED_WITH_TICKETS: u32 = 1u32; +pub const KERB_USE_DEFAULT_TICKET_FLAGS: u32 = 0u32; +pub const KERB_WRAP_NO_ENCRYPT: u32 = 2147483649u32; +pub const KERN_CONTEXT_CERT_INFO_V1: u32 = 0u32; +pub const KRB_ANONYMOUS_STRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ANONYMOUS"); +pub const KRB_NT_ENTERPRISE_PRINCIPAL: u32 = 10u32; +pub const KRB_NT_ENT_PRINCIPAL_AND_ID: i32 = -130i32; +pub const KRB_NT_MS_BRANCH_ID: i32 = -133i32; +pub const KRB_NT_MS_PRINCIPAL: i32 = -128i32; +pub const KRB_NT_MS_PRINCIPAL_AND_ID: i32 = -129i32; +pub const KRB_NT_PRINCIPAL: u32 = 1u32; +pub const KRB_NT_PRINCIPAL_AND_ID: i32 = -131i32; +pub const KRB_NT_SRV_HST: u32 = 3u32; +pub const KRB_NT_SRV_INST: u32 = 2u32; +pub const KRB_NT_SRV_INST_AND_ID: i32 = -132i32; +pub const KRB_NT_SRV_XHST: u32 = 4u32; +pub const KRB_NT_UID: u32 = 5u32; +pub const KRB_NT_UNKNOWN: u32 = 0u32; +pub const KRB_NT_WELLKNOWN: u32 = 11u32; +pub const KRB_NT_X500_PRINCIPAL: u32 = 6u32; +pub const KRB_WELLKNOWN_STRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WELLKNOWN"); +pub const KSecNonPaged: KSEC_CONTEXT_TYPE = 1i32; +pub const KSecPaged: KSEC_CONTEXT_TYPE = 0i32; +pub const KerbAddBindingCacheEntryExMessage: KERB_PROTOCOL_MESSAGE_TYPE = 27i32; +pub const KerbAddBindingCacheEntryMessage: KERB_PROTOCOL_MESSAGE_TYPE = 10i32; +pub const KerbAddExtraCredentialsExMessage: KERB_PROTOCOL_MESSAGE_TYPE = 22i32; +pub const KerbAddExtraCredentialsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 17i32; +pub const KerbCertificateLogon: KERB_LOGON_SUBMIT_TYPE = 13i32; +pub const KerbCertificateS4ULogon: KERB_LOGON_SUBMIT_TYPE = 14i32; +pub const KerbCertificateUnlockLogon: KERB_LOGON_SUBMIT_TYPE = 15i32; +pub const KerbChangeMachinePasswordMessage: KERB_PROTOCOL_MESSAGE_TYPE = 2i32; +pub const KerbChangePasswordMessage: KERB_PROTOCOL_MESSAGE_TYPE = 7i32; +pub const KerbCleanupMachinePkinitCredsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 26i32; +pub const KerbDebugRequestMessage: KERB_PROTOCOL_MESSAGE_TYPE = 0i32; +pub const KerbDecryptDataMessage: KERB_PROTOCOL_MESSAGE_TYPE = 9i32; +pub const KerbInteractiveLogon: KERB_LOGON_SUBMIT_TYPE = 2i32; +pub const KerbInteractiveProfile: KERB_PROFILE_BUFFER_TYPE = 2i32; +pub const KerbLuidLogon: KERB_LOGON_SUBMIT_TYPE = 84i32; +pub const KerbNoElevationLogon: KERB_LOGON_SUBMIT_TYPE = 83i32; +pub const KerbPinKdcMessage: KERB_PROTOCOL_MESSAGE_TYPE = 30i32; +pub const KerbPrintCloudKerberosDebugMessage: KERB_PROTOCOL_MESSAGE_TYPE = 36i32; +pub const KerbProxyLogon: KERB_LOGON_SUBMIT_TYPE = 9i32; +pub const KerbPurgeBindingCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 29i32; +pub const KerbPurgeKdcProxyCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 24i32; +pub const KerbPurgeTicketCacheExMessage: KERB_PROTOCOL_MESSAGE_TYPE = 15i32; +pub const KerbPurgeTicketCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 6i32; +pub const KerbQueryBindingCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 28i32; +pub const KerbQueryDomainExtendedPoliciesMessage: KERB_PROTOCOL_MESSAGE_TYPE = 32i32; +pub const KerbQueryKdcProxyCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 23i32; +pub const KerbQueryS4U2ProxyCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 33i32; +pub const KerbQuerySupplementalCredentialsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 18i32; +pub const KerbQueryTicketCacheEx2Message: KERB_PROTOCOL_MESSAGE_TYPE = 20i32; +pub const KerbQueryTicketCacheEx3Message: KERB_PROTOCOL_MESSAGE_TYPE = 25i32; +pub const KerbQueryTicketCacheExMessage: KERB_PROTOCOL_MESSAGE_TYPE = 14i32; +pub const KerbQueryTicketCacheMessage: KERB_PROTOCOL_MESSAGE_TYPE = 1i32; +pub const KerbRefreshPolicyMessage: KERB_PROTOCOL_MESSAGE_TYPE = 35i32; +pub const KerbRefreshSmartcardCredentialsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 16i32; +pub const KerbRetrieveEncodedTicketMessage: KERB_PROTOCOL_MESSAGE_TYPE = 8i32; +pub const KerbRetrieveKeyTabMessage: KERB_PROTOCOL_MESSAGE_TYPE = 34i32; +pub const KerbRetrieveTicketMessage: KERB_PROTOCOL_MESSAGE_TYPE = 4i32; +pub const KerbS4ULogon: KERB_LOGON_SUBMIT_TYPE = 12i32; +pub const KerbSetPasswordExMessage: KERB_PROTOCOL_MESSAGE_TYPE = 12i32; +pub const KerbSetPasswordMessage: KERB_PROTOCOL_MESSAGE_TYPE = 11i32; +pub const KerbSmartCardLogon: KERB_LOGON_SUBMIT_TYPE = 6i32; +pub const KerbSmartCardProfile: KERB_PROFILE_BUFFER_TYPE = 4i32; +pub const KerbSmartCardUnlockLogon: KERB_LOGON_SUBMIT_TYPE = 8i32; +pub const KerbSubmitTicketMessage: KERB_PROTOCOL_MESSAGE_TYPE = 21i32; +pub const KerbTicketLogon: KERB_LOGON_SUBMIT_TYPE = 10i32; +pub const KerbTicketProfile: KERB_PROFILE_BUFFER_TYPE = 6i32; +pub const KerbTicketUnlockLogon: KERB_LOGON_SUBMIT_TYPE = 11i32; +pub const KerbTransferCredentialsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 19i32; +pub const KerbUnpinAllKdcsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 31i32; +pub const KerbUpdateAddressesMessage: KERB_PROTOCOL_MESSAGE_TYPE = 5i32; +pub const KerbVerifyCredentialsMessage: KERB_PROTOCOL_MESSAGE_TYPE = 13i32; +pub const KerbVerifyPacMessage: KERB_PROTOCOL_MESSAGE_TYPE = 3i32; +pub const KerbWorkstationUnlockLogon: KERB_LOGON_SUBMIT_TYPE = 7i32; +pub const LCRED_CRED_EXISTS: u32 = 1u32; +pub const LCRED_STATUS_NOCRED: u32 = 0u32; +pub const LCRED_STATUS_UNKNOWN_ISSUER: u32 = 2u32; +pub const LOGON_CACHED_ACCOUNT: MSV_SUB_AUTHENTICATION_FILTER = 4u32; +pub const LOGON_EXTRA_SIDS: MSV_SUB_AUTHENTICATION_FILTER = 32u32; +pub const LOGON_GRACE_LOGON: u32 = 16777216u32; +pub const LOGON_GUEST: MSV_SUB_AUTHENTICATION_FILTER = 1u32; +pub const LOGON_LM_V2: u32 = 4096u32; +pub const LOGON_MANAGED_SERVICE: u32 = 524288u32; +pub const LOGON_NOENCRYPTION: MSV_SUB_AUTHENTICATION_FILTER = 2u32; +pub const LOGON_NO_ELEVATION: u32 = 262144u32; +pub const LOGON_NO_OPTIMIZED: u32 = 131072u32; +pub const LOGON_NTLMV2_ENABLED: u32 = 256u32; +pub const LOGON_NTLM_V2: u32 = 8192u32; +pub const LOGON_NT_V2: u32 = 2048u32; +pub const LOGON_OPTIMIZED: u32 = 16384u32; +pub const LOGON_PKINIT: u32 = 65536u32; +pub const LOGON_PROFILE_PATH_RETURNED: MSV_SUB_AUTHENTICATION_FILTER = 1024u32; +pub const LOGON_RESOURCE_GROUPS: MSV_SUB_AUTHENTICATION_FILTER = 512u32; +pub const LOGON_SERVER_TRUST_ACCOUNT: MSV_SUB_AUTHENTICATION_FILTER = 128u32; +pub const LOGON_SUBAUTH_SESSION_KEY: MSV_SUB_AUTHENTICATION_FILTER = 64u32; +pub const LOGON_USED_LM_PASSWORD: MSV_SUB_AUTHENTICATION_FILTER = 8u32; +pub const LOGON_WINLOGON: u32 = 32768u32; +pub const LOOKUP_TRANSLATE_NAMES: u32 = 2048u32; +pub const LOOKUP_VIEW_LOCAL_INFORMATION: u32 = 1u32; +pub const LSAD_AES_BLOCK_SIZE: u32 = 16u32; +pub const LSAD_AES_CRYPT_SHA512_HASH_SIZE: u32 = 64u32; +pub const LSAD_AES_KEY_SIZE: u32 = 16u32; +pub const LSAD_AES_SALT_SIZE: u32 = 16u32; +pub const LSASETCAPS_RELOAD_FLAG: u32 = 1u32; +pub const LSASETCAPS_VALID_FLAG_MASK: u32 = 1u32; +pub const LSA_ADT_LEGACY_SECURITY_SOURCE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Security"); +pub const LSA_ADT_SECURITY_SOURCE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft-Windows-Security-Auditing"); +pub const LSA_AP_NAME_CALL_PACKAGE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("LsaApCallPackage\u{0}"); +pub const LSA_AP_NAME_CALL_PACKAGE_PASSTHROUGH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("LsaApCallPackagePassthrough\u{0}"); +pub const LSA_AP_NAME_CALL_PACKAGE_UNTRUSTED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("LsaApCallPackageUntrusted\u{0}"); +pub const LSA_AP_NAME_INITIALIZE_PACKAGE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("LsaApInitializePackage\u{0}"); +pub const LSA_AP_NAME_LOGON_TERMINATED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("LsaApLogonTerminated\u{0}"); +pub const LSA_AP_NAME_LOGON_USER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("LsaApLogonUser\u{0}"); +pub const LSA_AP_NAME_LOGON_USER_EX: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("LsaApLogonUserEx\u{0}"); +pub const LSA_AP_NAME_LOGON_USER_EX2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("LsaApLogonUserEx2\u{0}"); +pub const LSA_CALL_LICENSE_SERVER: u32 = 2147483648u32; +pub const LSA_FOREST_TRUST_RECORD_TYPE_UNRECOGNIZED: u32 = 2147483648u32; +pub const LSA_FTRECORD_DISABLED_REASONS: i32 = 65535i32; +pub const LSA_GLOBAL_SECRET_PREFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("G$"); +pub const LSA_GLOBAL_SECRET_PREFIX_LENGTH: u32 = 2u32; +pub const LSA_LOCAL_SECRET_PREFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("L$"); +pub const LSA_LOCAL_SECRET_PREFIX_LENGTH: u32 = 2u32; +pub const LSA_LOOKUP_DISALLOW_CONNECTED_ACCOUNT_INTERNET_SID: u32 = 2147483648u32; +pub const LSA_LOOKUP_ISOLATED_AS_LOCAL: u32 = 2147483648u32; +pub const LSA_LOOKUP_PREFER_INTERNET_NAMES: u32 = 1073741824u32; +pub const LSA_MACHINE_SECRET_PREFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("M$"); +pub const LSA_MAXIMUM_ENUMERATION_LENGTH: u32 = 32000u32; +pub const LSA_MAXIMUM_SID_COUNT: i32 = 256i32; +pub const LSA_MODE_INDIVIDUAL_ACCOUNTS: i32 = 2i32; +pub const LSA_MODE_LOG_FULL: i32 = 8i32; +pub const LSA_MODE_MANDATORY_ACCESS: i32 = 4i32; +pub const LSA_MODE_PASSWORD_PROTECTED: i32 = 1i32; +pub const LSA_NB_DISABLED_ADMIN: i32 = 4i32; +pub const LSA_NB_DISABLED_CONFLICT: i32 = 8i32; +pub const LSA_QUERY_CLIENT_PRELOGON_SESSION_ID: u32 = 1u32; +pub const LSA_SCANNER_INFO_ADMIN_ALL_FLAGS: i32 = 1i32; +pub const LSA_SCANNER_INFO_DISABLE_AUTH_TARGET_VALIDATION: i32 = 1i32; +pub const LSA_SECRET_MAXIMUM_COUNT: i32 = 4096i32; +pub const LSA_SECRET_MAXIMUM_LENGTH: i32 = 512i32; +pub const LSA_SID_DISABLED_ADMIN: i32 = 1i32; +pub const LSA_SID_DISABLED_CONFLICT: i32 = 2i32; +pub const LSA_TLN_DISABLED_ADMIN: i32 = 2i32; +pub const LSA_TLN_DISABLED_CONFLICT: i32 = 4i32; +pub const LSA_TLN_DISABLED_NEW: i32 = 1i32; +pub const LocalUserCredKey: MSV1_0_CREDENTIAL_KEY_TYPE = 3i32; +pub const LsaTokenInformationNull: LSA_TOKEN_INFORMATION_TYPE = 0i32; +pub const LsaTokenInformationV1: LSA_TOKEN_INFORMATION_TYPE = 1i32; +pub const LsaTokenInformationV2: LSA_TOKEN_INFORMATION_TYPE = 2i32; +pub const LsaTokenInformationV3: LSA_TOKEN_INFORMATION_TYPE = 3i32; +pub const MAXIMUM_CAPES_PER_CAP: u32 = 127u32; +pub const MAX_CRED_SIZE: u32 = 1024u32; +pub const MAX_PROTOCOL_ID_SIZE: u32 = 255u32; +pub const MAX_RECORDS_IN_FOREST_TRUST_INFO: u32 = 4000u32; +pub const MAX_USER_RECORDS: u32 = 1000u32; +pub const MICROSOFT_KERBEROS_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Kerberos"); +pub const MICROSOFT_KERBEROS_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Kerberos"); +pub const MICROSOFT_KERBEROS_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Kerberos"); +pub const MSV1_0_ALLOW_FORCE_GUEST: u32 = 8192u32; +pub const MSV1_0_ALLOW_MSVCHAPV2: u32 = 65536u32; +pub const MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 32u32; +pub const MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 2048u32; +pub const MSV1_0_AV_FLAG_FORCE_GUEST: u32 = 1u32; +pub const MSV1_0_AV_FLAG_MIC_HANDSHAKE_MESSAGES: u32 = 2u32; +pub const MSV1_0_AV_FLAG_UNVERIFIED_TARGET: u32 = 4u32; +pub const MSV1_0_CHALLENGE_LENGTH: u32 = 8u32; +pub const MSV1_0_CHECK_LOGONHOURS_FOR_S4U: u32 = 262144u32; +pub const MSV1_0_CLEARTEXT_PASSWORD_ALLOWED: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 2u32; +pub const MSV1_0_CLEARTEXT_PASSWORD_SUPPLIED: u32 = 16384u32; +pub const MSV1_0_CREDENTIAL_KEY_LENGTH: u32 = 20u32; +pub const MSV1_0_CRED_CREDKEY_PRESENT: u32 = 8u32; +pub const MSV1_0_CRED_LM_PRESENT: MSV_SUPPLEMENTAL_CREDENTIAL_FLAGS = 1u32; +pub const MSV1_0_CRED_NT_PRESENT: MSV_SUPPLEMENTAL_CREDENTIAL_FLAGS = 2u32; +pub const MSV1_0_CRED_REMOVED: u32 = 4u32; +pub const MSV1_0_CRED_SHA_PRESENT: u32 = 16u32; +pub const MSV1_0_CRED_VERSION: MSV_SUPPLEMENTAL_CREDENTIAL_FLAGS = 0u32; +pub const MSV1_0_CRED_VERSION_ARSO: u32 = 4294901763u32; +pub const MSV1_0_CRED_VERSION_INVALID: u32 = 4294967295u32; +pub const MSV1_0_CRED_VERSION_IUM: u32 = 4294901761u32; +pub const MSV1_0_CRED_VERSION_REMOTE: u32 = 4294901762u32; +pub const MSV1_0_CRED_VERSION_RESERVED_1: u32 = 4294967294u32; +pub const MSV1_0_CRED_VERSION_V2: u32 = 2u32; +pub const MSV1_0_CRED_VERSION_V3: u32 = 4u32; +pub const MSV1_0_DISABLE_PERSONAL_FALLBACK: u32 = 4096u32; +pub const MSV1_0_DONT_TRY_GUEST_ACCOUNT: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 16u32; +pub const MSV1_0_GUEST_LOGON: MSV1_0 = 2u32; +pub const MSV1_0_INTERNET_DOMAIN: u32 = 524288u32; +pub const MSV1_0_LANMAN_SESSION_KEY_LENGTH: u32 = 8u32; +pub const MSV1_0_MAX_AVL_SIZE: u32 = 64000u32; +pub const MSV1_0_MAX_NTLM3_LIFE: u32 = 1800u32; +pub const MSV1_0_MNS_LOGON: u32 = 16777216u32; +pub const MSV1_0_NTLM3_OWF_LENGTH: u32 = 16u32; +pub const MSV1_0_NTLM3_RESPONSE_LENGTH: u32 = 16u32; +pub const MSV1_0_OWF_PASSWORD_LENGTH: u32 = 16u32; +pub const MSV1_0_PACKAGE_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("MICROSOFT_AUTHENTICATION_PACKAGE_V1_0"); +pub const MSV1_0_PACKAGE_NAMEW: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MICROSOFT_AUTHENTICATION_PACKAGE_V1_0"); +pub const MSV1_0_PASSTHRU: MSV1_0 = 1u32; +pub const MSV1_0_RETURN_PASSWORD_EXPIRY: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 64u32; +pub const MSV1_0_RETURN_PROFILE_PATH: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 512u32; +pub const MSV1_0_RETURN_USER_PARAMETERS: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 8u32; +pub const MSV1_0_S4U2SELF: u32 = 131072u32; +pub const MSV1_0_S4U_LOGON_FLAG_CHECK_LOGONHOURS: u32 = 2u32; +pub const MSV1_0_SHA_PASSWORD_LENGTH: u32 = 20u32; +pub const MSV1_0_SUBAUTHENTICATION_DLL: u32 = 4278190080u32; +pub const MSV1_0_SUBAUTHENTICATION_DLL_EX: u32 = 1048576u32; +pub const MSV1_0_SUBAUTHENTICATION_DLL_IIS: u32 = 132u32; +pub const MSV1_0_SUBAUTHENTICATION_DLL_RAS: u32 = 2u32; +pub const MSV1_0_SUBAUTHENTICATION_DLL_SHIFT: u32 = 24u32; +pub const MSV1_0_SUBAUTHENTICATION_FLAGS: u32 = 4278190080u32; +pub const MSV1_0_SUBAUTHENTICATION_KEY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("SYSTEM\\CurrentControlSet\\Control\\Lsa\\MSV1_0"); +pub const MSV1_0_SUBAUTHENTICATION_VALUE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Auth"); +pub const MSV1_0_SUBAUTH_ACCOUNT_DISABLED: u32 = 1u32; +pub const MSV1_0_SUBAUTH_ACCOUNT_EXPIRY: u32 = 16u32; +pub const MSV1_0_SUBAUTH_ACCOUNT_TYPE: u32 = 64u32; +pub const MSV1_0_SUBAUTH_LOCKOUT: u32 = 128u32; +pub const MSV1_0_SUBAUTH_LOGON_HOURS: u32 = 8u32; +pub const MSV1_0_SUBAUTH_PASSWORD: u32 = 2u32; +pub const MSV1_0_SUBAUTH_PASSWORD_EXPIRY: u32 = 32u32; +pub const MSV1_0_SUBAUTH_WORKSTATIONS: u32 = 4u32; +pub const MSV1_0_TRY_GUEST_ACCOUNT_ONLY: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 256u32; +pub const MSV1_0_TRY_SPECIFIED_DOMAIN_ONLY: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 1024u32; +pub const MSV1_0_UPDATE_LOGON_STATISTICS: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = 4u32; +pub const MSV1_0_USER_SESSION_KEY_LENGTH: u32 = 16u32; +pub const MSV1_0_USE_CLIENT_CHALLENGE: u32 = 128u32; +pub const MSV1_0_USE_DOMAIN_FOR_ROUTING_ONLY: u32 = 32768u32; +pub const MSV1_0_VALIDATION_KICKOFF_TIME: u32 = 2u32; +pub const MSV1_0_VALIDATION_LOGOFF_TIME: u32 = 1u32; +pub const MSV1_0_VALIDATION_LOGON_DOMAIN: u32 = 8u32; +pub const MSV1_0_VALIDATION_LOGON_SERVER: u32 = 4u32; +pub const MSV1_0_VALIDATION_SESSION_KEY: u32 = 16u32; +pub const MSV1_0_VALIDATION_USER_FLAGS: u32 = 32u32; +pub const MSV1_0_VALIDATION_USER_ID: u32 = 64u32; +pub const MsV1_0CacheLogon: MSV1_0_PROTOCOL_MESSAGE_TYPE = 8i32; +pub const MsV1_0CacheLookup: MSV1_0_PROTOCOL_MESSAGE_TYPE = 11i32; +pub const MsV1_0CacheLookupEx: MSV1_0_PROTOCOL_MESSAGE_TYPE = 17i32; +pub const MsV1_0ChangeCachedPassword: MSV1_0_PROTOCOL_MESSAGE_TYPE = 6i32; +pub const MsV1_0ChangePassword: MSV1_0_PROTOCOL_MESSAGE_TYPE = 5i32; +pub const MsV1_0ClearCachedCredentials: MSV1_0_PROTOCOL_MESSAGE_TYPE = 14i32; +pub const MsV1_0ConfigLocalAliases: MSV1_0_PROTOCOL_MESSAGE_TYPE = 13i32; +pub const MsV1_0DecryptDpapiMasterKey: MSV1_0_PROTOCOL_MESSAGE_TYPE = 20i32; +pub const MsV1_0DeleteTbalSecrets: MSV1_0_PROTOCOL_MESSAGE_TYPE = 24i32; +pub const MsV1_0DeriveCredential: MSV1_0_PROTOCOL_MESSAGE_TYPE = 10i32; +pub const MsV1_0EnumerateUsers: MSV1_0_PROTOCOL_MESSAGE_TYPE = 2i32; +pub const MsV1_0GenericPassthrough: MSV1_0_PROTOCOL_MESSAGE_TYPE = 7i32; +pub const MsV1_0GetCredentialKey: MSV1_0_PROTOCOL_MESSAGE_TYPE = 18i32; +pub const MsV1_0GetStrongCredentialKey: MSV1_0_PROTOCOL_MESSAGE_TYPE = 21i32; +pub const MsV1_0GetUserInfo: MSV1_0_PROTOCOL_MESSAGE_TYPE = 3i32; +pub const MsV1_0InteractiveLogon: MSV1_0_LOGON_SUBMIT_TYPE = 2i32; +pub const MsV1_0InteractiveProfile: MSV1_0_PROFILE_BUFFER_TYPE = 2i32; +pub const MsV1_0Lm20ChallengeRequest: MSV1_0_PROTOCOL_MESSAGE_TYPE = 0i32; +pub const MsV1_0Lm20GetChallengeResponse: MSV1_0_PROTOCOL_MESSAGE_TYPE = 1i32; +pub const MsV1_0Lm20Logon: MSV1_0_LOGON_SUBMIT_TYPE = 3i32; +pub const MsV1_0Lm20LogonProfile: MSV1_0_PROFILE_BUFFER_TYPE = 3i32; +pub const MsV1_0LookupToken: MSV1_0_PROTOCOL_MESSAGE_TYPE = 15i32; +pub const MsV1_0LuidLogon: MSV1_0_LOGON_SUBMIT_TYPE = 84i32; +pub const MsV1_0NetworkLogon: MSV1_0_LOGON_SUBMIT_TYPE = 4i32; +pub const MsV1_0NoElevationLogon: MSV1_0_LOGON_SUBMIT_TYPE = 83i32; +pub const MsV1_0ProvisionTbal: MSV1_0_PROTOCOL_MESSAGE_TYPE = 23i32; +pub const MsV1_0ReLogonUsers: MSV1_0_PROTOCOL_MESSAGE_TYPE = 4i32; +pub const MsV1_0S4ULogon: MSV1_0_LOGON_SUBMIT_TYPE = 12i32; +pub const MsV1_0SetProcessOption: MSV1_0_PROTOCOL_MESSAGE_TYPE = 12i32; +pub const MsV1_0SetThreadOption: MSV1_0_PROTOCOL_MESSAGE_TYPE = 19i32; +pub const MsV1_0SmartCardProfile: MSV1_0_PROFILE_BUFFER_TYPE = 4i32; +pub const MsV1_0SubAuth: MSV1_0_PROTOCOL_MESSAGE_TYPE = 9i32; +pub const MsV1_0SubAuthLogon: MSV1_0_LOGON_SUBMIT_TYPE = 5i32; +pub const MsV1_0TransferCred: MSV1_0_PROTOCOL_MESSAGE_TYPE = 22i32; +pub const MsV1_0ValidateAuth: MSV1_0_PROTOCOL_MESSAGE_TYPE = 16i32; +pub const MsV1_0VirtualLogon: MSV1_0_LOGON_SUBMIT_TYPE = 82i32; +pub const MsV1_0WorkstationUnlockLogon: MSV1_0_LOGON_SUBMIT_TYPE = 7i32; +pub const MsvAvChannelBindings: MSV1_0_AVID = 10i32; +pub const MsvAvDnsComputerName: MSV1_0_AVID = 3i32; +pub const MsvAvDnsDomainName: MSV1_0_AVID = 4i32; +pub const MsvAvDnsTreeName: MSV1_0_AVID = 5i32; +pub const MsvAvEOL: MSV1_0_AVID = 0i32; +pub const MsvAvFlags: MSV1_0_AVID = 6i32; +pub const MsvAvNbComputerName: MSV1_0_AVID = 1i32; +pub const MsvAvNbDomainName: MSV1_0_AVID = 2i32; +pub const MsvAvRestrictions: MSV1_0_AVID = 8i32; +pub const MsvAvTargetName: MSV1_0_AVID = 9i32; +pub const MsvAvTimestamp: MSV1_0_AVID = 7i32; +pub const NEGOSSP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Negotiate"); +pub const NEGOSSP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Negotiate"); +pub const NEGOSSP_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Negotiate"); +pub const NEGOTIATE_ALLOW_NTLM: u32 = 268435456u32; +pub const NEGOTIATE_MAX_PREFIX: u32 = 32u32; +pub const NEGOTIATE_NEG_NTLM: u32 = 536870912u32; +pub const NGC_DATA_FLAG_IS_CLOUD_TRUST_CRED: u32 = 8u32; +pub const NGC_DATA_FLAG_IS_SMARTCARD_DATA: u32 = 4u32; +pub const NGC_DATA_FLAG_KERB_CERTIFICATE_LOGON_FLAG_CHECK_DUPLICATES: u32 = 1u32; +pub const NGC_DATA_FLAG_KERB_CERTIFICATE_LOGON_FLAG_USE_CERTIFICATE_INFO: u32 = 2u32; +pub const NOTIFIER_FLAG_NEW_THREAD: u32 = 1u32; +pub const NOTIFIER_FLAG_ONE_SHOT: u32 = 2u32; +pub const NOTIFIER_FLAG_SECONDS: u32 = 2147483648u32; +pub const NOTIFIER_TYPE_HANDLE_WAIT: u32 = 2u32; +pub const NOTIFIER_TYPE_IMMEDIATE: u32 = 16u32; +pub const NOTIFIER_TYPE_INTERVAL: u32 = 1u32; +pub const NOTIFIER_TYPE_NOTIFY_EVENT: u32 = 4u32; +pub const NOTIFIER_TYPE_STATE_CHANGE: u32 = 3u32; +pub const NOTIFY_CLASS_DOMAIN_CHANGE: u32 = 3u32; +pub const NOTIFY_CLASS_PACKAGE_CHANGE: u32 = 1u32; +pub const NOTIFY_CLASS_REGISTRY_CHANGE: u32 = 4u32; +pub const NOTIFY_CLASS_ROLE_CHANGE: u32 = 2u32; +pub const NO_LONG_NAMES: u32 = 2u32; +pub const NTLMSP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NTLM"); +pub const NTLMSP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("NTLM"); +pub const NameCanonical: EXTENDED_NAME_FORMAT = 7i32; +pub const NameCanonicalEx: EXTENDED_NAME_FORMAT = 9i32; +pub const NameDisplay: EXTENDED_NAME_FORMAT = 3i32; +pub const NameDnsDomain: EXTENDED_NAME_FORMAT = 12i32; +pub const NameFullyQualifiedDN: EXTENDED_NAME_FORMAT = 1i32; +pub const NameGivenName: EXTENDED_NAME_FORMAT = 13i32; +pub const NameSamCompatible: EXTENDED_NAME_FORMAT = 2i32; +pub const NameServicePrincipal: EXTENDED_NAME_FORMAT = 10i32; +pub const NameSurname: EXTENDED_NAME_FORMAT = 14i32; +pub const NameUniqueId: EXTENDED_NAME_FORMAT = 6i32; +pub const NameUnknown: EXTENDED_NAME_FORMAT = 0i32; +pub const NameUserPrincipal: EXTENDED_NAME_FORMAT = 8i32; +pub const NegCallPackageMax: NEGOTIATE_MESSAGES = 4i32; +pub const NegEnumPackagePrefixes: NEGOTIATE_MESSAGES = 0i32; +pub const NegGetCallerName: NEGOTIATE_MESSAGES = 1i32; +pub const NegMsgReserved1: NEGOTIATE_MESSAGES = 3i32; +pub const NegTransferCredentials: NEGOTIATE_MESSAGES = 2i32; +pub const NetlogonGenericInformation: NETLOGON_LOGON_INFO_CLASS = 4i32; +pub const NetlogonInteractiveInformation: NETLOGON_LOGON_INFO_CLASS = 1i32; +pub const NetlogonInteractiveTransitiveInformation: NETLOGON_LOGON_INFO_CLASS = 5i32; +pub const NetlogonNetworkInformation: NETLOGON_LOGON_INFO_CLASS = 2i32; +pub const NetlogonNetworkTransitiveInformation: NETLOGON_LOGON_INFO_CLASS = 6i32; +pub const NetlogonServiceInformation: NETLOGON_LOGON_INFO_CLASS = 3i32; +pub const NetlogonServiceTransitiveInformation: NETLOGON_LOGON_INFO_CLASS = 7i32; +pub const PCT1SP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft PCT 1.0"); +pub const PCT1SP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft PCT 1.0"); +pub const PCT1SP_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft PCT 1.0"); +pub const PER_USER_AUDIT_FAILURE_EXCLUDE: u32 = 8u32; +pub const PER_USER_AUDIT_FAILURE_INCLUDE: u32 = 4u32; +pub const PER_USER_AUDIT_NONE: u32 = 16u32; +pub const PER_USER_AUDIT_SUCCESS_EXCLUDE: u32 = 2u32; +pub const PER_USER_AUDIT_SUCCESS_INCLUDE: u32 = 1u32; +pub const PER_USER_POLICY_UNCHANGED: u32 = 0u32; +pub const PKU2U_PACKAGE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("pku2u"); +pub const PKU2U_PACKAGE_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("pku2u"); +pub const PKU2U_PACKAGE_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("pku2u"); +pub const POLICY_AUDIT_EVENT_FAILURE: i32 = 2i32; +pub const POLICY_AUDIT_EVENT_NONE: i32 = 4i32; +pub const POLICY_AUDIT_EVENT_SUCCESS: i32 = 1i32; +pub const POLICY_AUDIT_EVENT_UNCHANGED: i32 = 0i32; +pub const POLICY_AUDIT_LOG_ADMIN: i32 = 512i32; +pub const POLICY_CREATE_ACCOUNT: i32 = 16i32; +pub const POLICY_CREATE_PRIVILEGE: i32 = 64i32; +pub const POLICY_CREATE_SECRET: i32 = 32i32; +pub const POLICY_GET_PRIVATE_INFORMATION: i32 = 4i32; +pub const POLICY_KERBEROS_VALIDATE_CLIENT: u32 = 128u32; +pub const POLICY_LOOKUP_NAMES: i32 = 2048i32; +pub const POLICY_NOTIFICATION: i32 = 4096i32; +pub const POLICY_QOS_ALLOW_LOCAL_ROOT_CERT_STORE: u32 = 32u32; +pub const POLICY_QOS_DHCP_SERVER_ALLOWED: u32 = 128u32; +pub const POLICY_QOS_INBOUND_CONFIDENTIALITY: u32 = 16u32; +pub const POLICY_QOS_INBOUND_INTEGRITY: u32 = 8u32; +pub const POLICY_QOS_OUTBOUND_CONFIDENTIALITY: u32 = 4u32; +pub const POLICY_QOS_OUTBOUND_INTEGRITY: u32 = 2u32; +pub const POLICY_QOS_RAS_SERVER_ALLOWED: u32 = 64u32; +pub const POLICY_QOS_SCHANNEL_REQUIRED: u32 = 1u32; +pub const POLICY_SERVER_ADMIN: i32 = 1024i32; +pub const POLICY_SET_AUDIT_REQUIREMENTS: i32 = 256i32; +pub const POLICY_SET_DEFAULT_QUOTA_LIMITS: i32 = 128i32; +pub const POLICY_TRUST_ADMIN: i32 = 8i32; +pub const POLICY_VIEW_AUDIT_INFORMATION: i32 = 2i32; +pub const POLICY_VIEW_LOCAL_INFORMATION: i32 = 1i32; +pub const PRIMARY_CRED_ARSO_LOGON: u32 = 2097152u32; +pub const PRIMARY_CRED_AUTH_ID: u32 = 512u32; +pub const PRIMARY_CRED_CACHED_INTERACTIVE_LOGON: u32 = 262144u32; +pub const PRIMARY_CRED_CACHED_LOGON: u32 = 8u32; +pub const PRIMARY_CRED_CLEAR_PASSWORD: u32 = 1u32; +pub const PRIMARY_CRED_DO_NOT_SPLIT: u32 = 1024u32; +pub const PRIMARY_CRED_ENCRYPTED_CREDGUARD_PASSWORD: u32 = 131072u32; +pub const PRIMARY_CRED_ENTERPRISE_INTERNET_USER: u32 = 65536u32; +pub const PRIMARY_CRED_EX: u32 = 4096u32; +pub const PRIMARY_CRED_INTERACTIVE_FIDO_LOGON: u32 = 1048576u32; +pub const PRIMARY_CRED_INTERACTIVE_NGC_LOGON: u32 = 524288u32; +pub const PRIMARY_CRED_INTERACTIVE_SMARTCARD_LOGON: u32 = 64u32; +pub const PRIMARY_CRED_INTERNET_USER: u32 = 256u32; +pub const PRIMARY_CRED_LOGON_LUA: u32 = 32u32; +pub const PRIMARY_CRED_LOGON_NO_TCB: u32 = 16u32; +pub const PRIMARY_CRED_LOGON_PACKAGE_SHIFT: u32 = 24u32; +pub const PRIMARY_CRED_OWF_PASSWORD: u32 = 2u32; +pub const PRIMARY_CRED_PACKAGE_MASK: u32 = 4278190080u32; +pub const PRIMARY_CRED_PACKED_CREDS: u32 = 32768u32; +pub const PRIMARY_CRED_PROTECTED_USER: u32 = 2048u32; +pub const PRIMARY_CRED_REFRESH_NEEDED: u32 = 128u32; +pub const PRIMARY_CRED_RESTRICTED_TS: u32 = 16384u32; +pub const PRIMARY_CRED_SUPPLEMENTAL: u32 = 4194304u32; +pub const PRIMARY_CRED_TRANSFER: u32 = 8192u32; +pub const PRIMARY_CRED_UPDATE: u32 = 4u32; +pub const Pku2uCertificateS4ULogon: PKU2U_LOGON_SUBMIT_TYPE = 14i32; +pub const PolicyAccountDomainInformation: POLICY_INFORMATION_CLASS = 5i32; +pub const PolicyAuditEventsInformation: POLICY_INFORMATION_CLASS = 2i32; +pub const PolicyAuditFullQueryInformation: POLICY_INFORMATION_CLASS = 11i32; +pub const PolicyAuditFullSetInformation: POLICY_INFORMATION_CLASS = 10i32; +pub const PolicyAuditLogInformation: POLICY_INFORMATION_CLASS = 1i32; +pub const PolicyDefaultQuotaInformation: POLICY_INFORMATION_CLASS = 8i32; +pub const PolicyDnsDomainInformation: POLICY_INFORMATION_CLASS = 12i32; +pub const PolicyDnsDomainInformationInt: POLICY_INFORMATION_CLASS = 13i32; +pub const PolicyDomainEfsInformation: POLICY_DOMAIN_INFORMATION_CLASS = 2i32; +pub const PolicyDomainKerberosTicketInformation: POLICY_DOMAIN_INFORMATION_CLASS = 3i32; +pub const PolicyLastEntry: POLICY_INFORMATION_CLASS = 16i32; +pub const PolicyLocalAccountDomainInformation: POLICY_INFORMATION_CLASS = 14i32; +pub const PolicyLsaServerRoleInformation: POLICY_INFORMATION_CLASS = 6i32; +pub const PolicyMachineAccountInformation: POLICY_INFORMATION_CLASS = 15i32; +pub const PolicyModificationInformation: POLICY_INFORMATION_CLASS = 9i32; +pub const PolicyNotifyAccountDomainInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 2i32; +pub const PolicyNotifyAuditEventsInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 1i32; +pub const PolicyNotifyDnsDomainInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 4i32; +pub const PolicyNotifyDomainEfsInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 5i32; +pub const PolicyNotifyDomainKerberosTicketInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 6i32; +pub const PolicyNotifyGlobalSaclInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 8i32; +pub const PolicyNotifyMachineAccountPasswordInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 7i32; +pub const PolicyNotifyMax: POLICY_NOTIFICATION_INFORMATION_CLASS = 9i32; +pub const PolicyNotifyServerRoleInformation: POLICY_NOTIFICATION_INFORMATION_CLASS = 3i32; +pub const PolicyPdAccountInformation: POLICY_INFORMATION_CLASS = 4i32; +pub const PolicyPrimaryDomainInformation: POLICY_INFORMATION_CLASS = 3i32; +pub const PolicyReplicaSourceInformation: POLICY_INFORMATION_CLASS = 7i32; +pub const PolicyServerRoleBackup: POLICY_LSA_SERVER_ROLE = 2i32; +pub const PolicyServerRolePrimary: POLICY_LSA_SERVER_ROLE = 3i32; +pub const RCRED_CRED_EXISTS: u32 = 1u32; +pub const RCRED_STATUS_NOCRED: u32 = 0u32; +pub const RCRED_STATUS_UNKNOWN_ISSUER: u32 = 2u32; +pub const RTL_ENCRYPT_MEMORY_SIZE: u32 = 8u32; +pub const RTL_ENCRYPT_OPTION_CROSS_PROCESS: u32 = 1u32; +pub const RTL_ENCRYPT_OPTION_FOR_SYSTEM: u32 = 4u32; +pub const RTL_ENCRYPT_OPTION_SAME_LOGON: u32 = 2u32; +pub const SAM_CREDENTIAL_UPDATE_FREE_ROUTINE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CredentialUpdateFree"); +pub const SAM_CREDENTIAL_UPDATE_NOTIFY_ROUTINE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CredentialUpdateNotify"); +pub const SAM_CREDENTIAL_UPDATE_REGISTER_MAPPED_ENTRYPOINTS_ROUTINE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("RegisterMappedEntrypoints"); +pub const SAM_CREDENTIAL_UPDATE_REGISTER_ROUTINE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CredentialUpdateRegister"); +pub const SAM_DAYS_PER_WEEK: u32 = 7u32; +pub const SAM_INIT_NOTIFICATION_ROUTINE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("InitializeChangeNotify"); +pub const SAM_PASSWORD_CHANGE_NOTIFY_ROUTINE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("PasswordChangeNotify"); +pub const SAM_PASSWORD_FILTER_ROUTINE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("PasswordFilter"); +pub const SASL_OPTION_AUTHZ_PROCESSING: u32 = 4u32; +pub const SASL_OPTION_AUTHZ_STRING: u32 = 3u32; +pub const SASL_OPTION_RECV_SIZE: u32 = 2u32; +pub const SASL_OPTION_SEND_SIZE: u32 = 1u32; +pub const SCHANNEL_ALERT: u32 = 2u32; +pub const SCHANNEL_CRED_VERSION: u32 = 4u32; +pub const SCHANNEL_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Schannel"); +pub const SCHANNEL_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Schannel"); +pub const SCHANNEL_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Schannel"); +pub const SCHANNEL_RENEGOTIATE: u32 = 0u32; +pub const SCHANNEL_SECRET_PRIVKEY: u32 = 2u32; +pub const SCHANNEL_SECRET_TYPE_CAPI: u32 = 1u32; +pub const SCHANNEL_SESSION: u32 = 3u32; +pub const SCHANNEL_SHUTDOWN: u32 = 1u32; +pub const SCH_ALLOW_NULL_ENCRYPTION: u32 = 33554432u32; +pub const SCH_CREDENTIALS_VERSION: u32 = 5u32; +pub const SCH_CRED_AUTO_CRED_VALIDATION: SCHANNEL_CRED_FLAGS = 32u32; +pub const SCH_CRED_CACHE_ONLY_URL_RETRIEVAL: u32 = 32768u32; +pub const SCH_CRED_CACHE_ONLY_URL_RETRIEVAL_ON_CREATE: SCHANNEL_CRED_FLAGS = 131072u32; +pub const SCH_CRED_CERT_CONTEXT: u32 = 3u32; +pub const SCH_CRED_DEFERRED_CRED_VALIDATION: u32 = 67108864u32; +pub const SCH_CRED_DISABLE_RECONNECTS: u32 = 128u32; +pub const SCH_CRED_FORMAT_CERT_CONTEXT: u32 = 0u32; +pub const SCH_CRED_FORMAT_CERT_HASH: u32 = 1u32; +pub const SCH_CRED_FORMAT_CERT_HASH_STORE: u32 = 2u32; +pub const SCH_CRED_IGNORE_NO_REVOCATION_CHECK: SCHANNEL_CRED_FLAGS = 2048u32; +pub const SCH_CRED_IGNORE_REVOCATION_OFFLINE: SCHANNEL_CRED_FLAGS = 4096u32; +pub const SCH_CRED_MANUAL_CRED_VALIDATION: SCHANNEL_CRED_FLAGS = 8u32; +pub const SCH_CRED_MAX_STORE_NAME_SIZE: u32 = 128u32; +pub const SCH_CRED_MAX_SUPPORTED_ALGS: u32 = 256u32; +pub const SCH_CRED_MAX_SUPPORTED_ALPN_IDS: u32 = 16u32; +pub const SCH_CRED_MAX_SUPPORTED_CERTS: u32 = 100u32; +pub const SCH_CRED_MAX_SUPPORTED_CHAINING_MODES: u32 = 16u32; +pub const SCH_CRED_MAX_SUPPORTED_CRYPTO_SETTINGS: u32 = 16u32; +pub const SCH_CRED_MAX_SUPPORTED_PARAMETERS: u32 = 16u32; +pub const SCH_CRED_MEMORY_STORE_CERT: u32 = 65536u32; +pub const SCH_CRED_NO_DEFAULT_CREDS: SCHANNEL_CRED_FLAGS = 16u32; +pub const SCH_CRED_NO_SERVERNAME_CHECK: SCHANNEL_CRED_FLAGS = 4u32; +pub const SCH_CRED_NO_SYSTEM_MAPPER: SCHANNEL_CRED_FLAGS = 2u32; +pub const SCH_CRED_RESTRICTED_ROOTS: u32 = 8192u32; +pub const SCH_CRED_REVOCATION_CHECK_CACHE_ONLY: u32 = 16384u32; +pub const SCH_CRED_REVOCATION_CHECK_CHAIN: SCHANNEL_CRED_FLAGS = 512u32; +pub const SCH_CRED_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT: SCHANNEL_CRED_FLAGS = 1024u32; +pub const SCH_CRED_REVOCATION_CHECK_END_CERT: SCHANNEL_CRED_FLAGS = 256u32; +pub const SCH_CRED_SNI_CREDENTIAL: u32 = 524288u32; +pub const SCH_CRED_SNI_ENABLE_OCSP: u32 = 1048576u32; +pub const SCH_CRED_USE_DEFAULT_CREDS: SCHANNEL_CRED_FLAGS = 64u32; +pub const SCH_CRED_V1: u32 = 1u32; +pub const SCH_CRED_V2: u32 = 2u32; +pub const SCH_CRED_V3: u32 = 3u32; +pub const SCH_CRED_VERSION: u32 = 2u32; +pub const SCH_CRED_X509_CAPI: u32 = 2u32; +pub const SCH_CRED_X509_CERTCHAIN: u32 = 1u32; +pub const SCH_DISABLE_RECONNECTS: SCHANNEL_CRED_FLAGS = 128u32; +pub const SCH_EXTENSIONS_OPTIONS_NONE: SchGetExtensionsOptions = 0i32; +pub const SCH_MACHINE_CERT_HASH: u32 = 1u32; +pub const SCH_MAX_EXT_SUBSCRIPTIONS: u32 = 2u32; +pub const SCH_NO_RECORD_HEADER: SchGetExtensionsOptions = 1i32; +pub const SCH_SEND_AUX_RECORD: SCHANNEL_CRED_FLAGS = 2097152u32; +pub const SCH_SEND_ROOT_CERT: SCHANNEL_CRED_FLAGS = 262144u32; +pub const SCH_USE_DTLS_ONLY: u32 = 16777216u32; +pub const SCH_USE_PRESHAREDKEY_ONLY: SCHANNEL_CRED_FLAGS = 8388608u32; +pub const SCH_USE_STRONG_CRYPTO: SCHANNEL_CRED_FLAGS = 4194304u32; +pub const SECBUFFER_ALERT: u32 = 17u32; +pub const SECBUFFER_APPLICATION_PROTOCOLS: u32 = 18u32; +pub const SECBUFFER_ATTRMASK: u32 = 4026531840u32; +pub const SECBUFFER_CERTIFICATE_REQUEST_CONTEXT: u32 = 29u32; +pub const SECBUFFER_CHANGE_PASS_RESPONSE: u32 = 15u32; +pub const SECBUFFER_CHANNEL_BINDINGS: u32 = 14u32; +pub const SECBUFFER_DATA: u32 = 1u32; +pub const SECBUFFER_DTLS_MTU: u32 = 24u32; +pub const SECBUFFER_EMPTY: u32 = 0u32; +pub const SECBUFFER_EXTRA: u32 = 5u32; +pub const SECBUFFER_FLAGS: u32 = 27u32; +pub const SECBUFFER_KERNEL_MAP: u32 = 536870912u32; +pub const SECBUFFER_MECHLIST: u32 = 11u32; +pub const SECBUFFER_MECHLIST_SIGNATURE: u32 = 12u32; +pub const SECBUFFER_MISSING: u32 = 4u32; +pub const SECBUFFER_NEGOTIATION_INFO: u32 = 8u32; +pub const SECBUFFER_PADDING: u32 = 9u32; +pub const SECBUFFER_PKG_PARAMS: u32 = 3u32; +pub const SECBUFFER_PRESHARED_KEY: u32 = 22u32; +pub const SECBUFFER_PRESHARED_KEY_IDENTITY: u32 = 23u32; +pub const SECBUFFER_READONLY: u32 = 2147483648u32; +pub const SECBUFFER_READONLY_WITH_CHECKSUM: u32 = 268435456u32; +pub const SECBUFFER_RESERVED: u32 = 1610612736u32; +pub const SECBUFFER_SEND_GENERIC_TLS_EXTENSION: u32 = 25u32; +pub const SECBUFFER_SRTP_MASTER_KEY_IDENTIFIER: u32 = 20u32; +pub const SECBUFFER_SRTP_PROTECTION_PROFILES: u32 = 19u32; +pub const SECBUFFER_STREAM: u32 = 10u32; +pub const SECBUFFER_STREAM_HEADER: u32 = 7u32; +pub const SECBUFFER_STREAM_TRAILER: u32 = 6u32; +pub const SECBUFFER_SUBSCRIBE_GENERIC_TLS_EXTENSION: u32 = 26u32; +pub const SECBUFFER_TARGET: u32 = 13u32; +pub const SECBUFFER_TARGET_HOST: u32 = 16u32; +pub const SECBUFFER_TOKEN: u32 = 2u32; +pub const SECBUFFER_TOKEN_BINDING: u32 = 21u32; +pub const SECBUFFER_TRAFFIC_SECRETS: u32 = 28u32; +pub const SECBUFFER_UNMAPPED: u32 = 1073741824u32; +pub const SECBUFFER_VERSION: u32 = 0u32; +pub const SECPKGCONTEXT_CIPHERINFO_V1: u32 = 1u32; +pub const SECPKGCONTEXT_CONNECTION_INFO_EX_V1: u32 = 1u32; +pub const SECPKG_ANSI_ATTRIBUTE: u32 = 0u32; +pub const SECPKG_ATTR_ACCESS_TOKEN: SECPKG_ATTR = 18u32; +pub const SECPKG_ATTR_APPLICATION_PROTOCOL: u32 = 35u32; +pub const SECPKG_ATTR_APP_DATA: SECPKG_ATTR = 94u32; +pub const SECPKG_ATTR_AUTHENTICATION_ID: u32 = 20u32; +pub const SECPKG_ATTR_AUTHORITY: SECPKG_ATTR = 6u32; +pub const SECPKG_ATTR_CC_POLICY_RESULT: u32 = 97u32; +pub const SECPKG_ATTR_CERT_CHECK_RESULT: u32 = 113u32; +pub const SECPKG_ATTR_CERT_CHECK_RESULT_INPROC: u32 = 114u32; +pub const SECPKG_ATTR_CERT_TRUST_STATUS: SECPKG_ATTR = 2147483780u32; +pub const SECPKG_ATTR_CIPHER_INFO: u32 = 100u32; +pub const SECPKG_ATTR_CIPHER_STRENGTHS: u32 = 87u32; +pub const SECPKG_ATTR_CLIENT_CERT_POLICY: u32 = 96u32; +pub const SECPKG_ATTR_CLIENT_SPECIFIED_TARGET: SECPKG_ATTR = 27u32; +pub const SECPKG_ATTR_CONNECTION_INFO: SECPKG_ATTR = 90u32; +pub const SECPKG_ATTR_CONNECTION_INFO_EX: u32 = 110u32; +pub const SECPKG_ATTR_CONTEXT_DELETED: u32 = 33u32; +pub const SECPKG_ATTR_CREDENTIAL_NAME: u32 = 16u32; +pub const SECPKG_ATTR_CREDS: SECPKG_ATTR = 2147483776u32; +pub const SECPKG_ATTR_CREDS_2: SECPKG_ATTR = 2147483782u32; +pub const SECPKG_ATTR_C_ACCESS_TOKEN: SECPKG_ATTR = 2147483666u32; +pub const SECPKG_ATTR_C_FULL_ACCESS_TOKEN: SECPKG_ATTR = 2147483778u32; +pub const SECPKG_ATTR_DCE_INFO: SECPKG_ATTR = 3u32; +pub const SECPKG_ATTR_DTLS_MTU: SECPKG_ATTR = 34u32; +pub const SECPKG_ATTR_EAP_KEY_BLOCK: SECPKG_ATTR = 91u32; +pub const SECPKG_ATTR_EAP_PRF_INFO: SECPKG_ATTR = 101u32; +pub const SECPKG_ATTR_EARLY_START: SECPKG_ATTR = 105u32; +pub const SECPKG_ATTR_ENDPOINT_BINDINGS: SECPKG_ATTR = 26u32; +pub const SECPKG_ATTR_FLAGS: SECPKG_ATTR = 14u32; +pub const SECPKG_ATTR_ISSUER_LIST: u32 = 80u32; +pub const SECPKG_ATTR_ISSUER_LIST_EX: SECPKG_ATTR = 89u32; +pub const SECPKG_ATTR_IS_LOOPBACK: u32 = 37u32; +pub const SECPKG_ATTR_KEYING_MATERIAL: u32 = 107u32; +pub const SECPKG_ATTR_KEYING_MATERIAL_INFO: SECPKG_ATTR = 106u32; +pub const SECPKG_ATTR_KEYING_MATERIAL_INPROC: u32 = 112u32; +pub const SECPKG_ATTR_KEYING_MATERIAL_TOKEN_BINDING: u32 = 111u32; +pub const SECPKG_ATTR_KEY_INFO: SECPKG_ATTR = 5u32; +pub const SECPKG_ATTR_LAST_CLIENT_TOKEN_STATUS: SECPKG_ATTR = 30u32; +pub const SECPKG_ATTR_LIFESPAN: SECPKG_ATTR = 2u32; +pub const SECPKG_ATTR_LOCAL_CERT_CONTEXT: SECPKG_ATTR = 84u32; +pub const SECPKG_ATTR_LOCAL_CERT_INFO: u32 = 99u32; +pub const SECPKG_ATTR_LOCAL_CRED: SECPKG_ATTR = 82u32; +pub const SECPKG_ATTR_LOGOFF_TIME: u32 = 21u32; +pub const SECPKG_ATTR_MAPPED_CRED_ATTR: u32 = 92u32; +pub const SECPKG_ATTR_NAMES: SECPKG_ATTR = 1u32; +pub const SECPKG_ATTR_NATIVE_NAMES: SECPKG_ATTR = 13u32; +pub const SECPKG_ATTR_NEGOTIATED_TLS_EXTENSIONS: u32 = 36u32; +pub const SECPKG_ATTR_NEGOTIATION_INFO: SECPKG_ATTR = 12u32; +pub const SECPKG_ATTR_NEGOTIATION_PACKAGE: SECPKG_ATTR = 2147483777u32; +pub const SECPKG_ATTR_NEGO_INFO_FLAG_NO_KERBEROS: u32 = 1u32; +pub const SECPKG_ATTR_NEGO_INFO_FLAG_NO_NTLM: u32 = 2u32; +pub const SECPKG_ATTR_NEGO_KEYS: u32 = 22u32; +pub const SECPKG_ATTR_NEGO_PKG_INFO: u32 = 31u32; +pub const SECPKG_ATTR_NEGO_STATUS: u32 = 32u32; +pub const SECPKG_ATTR_PACKAGE_INFO: SECPKG_ATTR = 10u32; +pub const SECPKG_ATTR_PASSWORD_EXPIRY: SECPKG_ATTR = 8u32; +pub const SECPKG_ATTR_PROMPTING_NEEDED: u32 = 24u32; +pub const SECPKG_ATTR_PROTO_INFO: u32 = 7u32; +pub const SECPKG_ATTR_REMOTE_CERTIFICATES: u32 = 95u32; +pub const SECPKG_ATTR_REMOTE_CERT_CHAIN: u32 = 103u32; +pub const SECPKG_ATTR_REMOTE_CERT_CONTEXT: SECPKG_ATTR = 83u32; +pub const SECPKG_ATTR_REMOTE_CRED: u32 = 81u32; +pub const SECPKG_ATTR_ROOT_STORE: SECPKG_ATTR = 85u32; +pub const SECPKG_ATTR_SASL_CONTEXT: u32 = 65536u32; +pub const SECPKG_ATTR_SERIALIZED_REMOTE_CERT_CONTEXT: u32 = 117u32; +pub const SECPKG_ATTR_SERIALIZED_REMOTE_CERT_CONTEXT_INPROC: u32 = 116u32; +pub const SECPKG_ATTR_SERVER_AUTH_FLAGS: SECPKG_ATTR = 2147483779u32; +pub const SECPKG_ATTR_SESSION_INFO: SECPKG_ATTR = 93u32; +pub const SECPKG_ATTR_SESSION_KEY: SECPKG_ATTR = 9u32; +pub const SECPKG_ATTR_SESSION_TICKET_KEYS: u32 = 115u32; +pub const SECPKG_ATTR_SIZES: SECPKG_ATTR = 0u32; +pub const SECPKG_ATTR_SRTP_PARAMETERS: u32 = 108u32; +pub const SECPKG_ATTR_STREAM_SIZES: SECPKG_ATTR = 4u32; +pub const SECPKG_ATTR_SUBJECT_SECURITY_ATTRIBUTES: SECPKG_ATTR = 124u32; +pub const SECPKG_ATTR_SUPPORTED_ALGS: u32 = 86u32; +pub const SECPKG_ATTR_SUPPORTED_PROTOCOLS: u32 = 88u32; +pub const SECPKG_ATTR_SUPPORTED_SIGNATURES: SECPKG_ATTR = 102u32; +pub const SECPKG_ATTR_TARGET: u32 = 19u32; +pub const SECPKG_ATTR_TARGET_INFORMATION: SECPKG_ATTR = 17u32; +pub const SECPKG_ATTR_THUNK_ALL: u32 = 65536u32; +pub const SECPKG_ATTR_TOKEN_BINDING: u32 = 109u32; +pub const SECPKG_ATTR_UI_INFO: u32 = 104u32; +pub const SECPKG_ATTR_UNIQUE_BINDINGS: SECPKG_ATTR = 25u32; +pub const SECPKG_ATTR_USER_FLAGS: u32 = 11u32; +pub const SECPKG_ATTR_USE_NCRYPT: u32 = 98u32; +pub const SECPKG_ATTR_USE_VALIDATED: u32 = 15u32; +pub const SECPKG_CALLFLAGS_APPCONTAINER: u32 = 1u32; +pub const SECPKG_CALLFLAGS_APPCONTAINER_AUTHCAPABLE: u32 = 2u32; +pub const SECPKG_CALLFLAGS_APPCONTAINER_UPNCAPABLE: u32 = 8u32; +pub const SECPKG_CALLFLAGS_FORCE_SUPPLIED: u32 = 4u32; +pub const SECPKG_CALL_ANSI: u32 = 2u32; +pub const SECPKG_CALL_ASYNC_UPDATE: u32 = 4096u32; +pub const SECPKG_CALL_BUFFER_MARSHAL: u32 = 65536u32; +pub const SECPKG_CALL_CLEANUP: u32 = 32u32; +pub const SECPKG_CALL_CLOUDAP_CONNECT: u32 = 262144u32; +pub const SECPKG_CALL_IN_PROC: u32 = 16u32; +pub const SECPKG_CALL_IS_TCB: u32 = 512u32; +pub const SECPKG_CALL_KERNEL_MODE: u32 = 1u32; +pub const SECPKG_CALL_NEGO: u32 = 16384u32; +pub const SECPKG_CALL_NEGO_EXTENDER: u32 = 32768u32; +pub const SECPKG_CALL_NETWORK_ONLY: u32 = 1024u32; +pub const SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST_FLAG_CLEANUP_CREDENTIALS: u32 = 2u32; +pub const SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST_FLAG_OPTIMISTIC_LOGON: u32 = 1u32; +pub const SECPKG_CALL_PACKAGE_TRANSFER_CRED_REQUEST_FLAG_TO_SSO_SESSION: u32 = 4u32; +pub const SECPKG_CALL_PROCESS_TERM: u32 = 256u32; +pub const SECPKG_CALL_RECURSIVE: u32 = 8u32; +pub const SECPKG_CALL_SYSTEM_PROC: u32 = 8192u32; +pub const SECPKG_CALL_THREAD_TERM: u32 = 128u32; +pub const SECPKG_CALL_UNLOCK: u32 = 131072u32; +pub const SECPKG_CALL_URGENT: u32 = 4u32; +pub const SECPKG_CALL_WINLOGON: u32 = 2048u32; +pub const SECPKG_CALL_WOWA32: u32 = 262144u32; +pub const SECPKG_CALL_WOWCLIENT: u32 = 64u32; +pub const SECPKG_CALL_WOWX86: u32 = 64u32; +pub const SECPKG_CLIENT_PROCESS_TERMINATED: u32 = 1u32; +pub const SECPKG_CLIENT_THREAD_TERMINATED: u32 = 2u32; +pub const SECPKG_CONTEXT_EXPORT_DELETE_OLD: EXPORT_SECURITY_CONTEXT_FLAGS = 2u32; +pub const SECPKG_CONTEXT_EXPORT_RESET_NEW: EXPORT_SECURITY_CONTEXT_FLAGS = 1u32; +pub const SECPKG_CONTEXT_EXPORT_TO_KERNEL: EXPORT_SECURITY_CONTEXT_FLAGS = 4u32; +pub const SECPKG_CREDENTIAL_ATTRIBUTE: u32 = 0u32; +pub const SECPKG_CREDENTIAL_FLAGS_CALLER_HAS_TCB: u32 = 1u32; +pub const SECPKG_CREDENTIAL_FLAGS_CREDMAN_CRED: u32 = 2u32; +pub const SECPKG_CREDENTIAL_VERSION: u32 = 201u32; +pub const SECPKG_CRED_ATTR_CERT: u32 = 4u32; +pub const SECPKG_CRED_ATTR_KDC_PROXY_SETTINGS: u32 = 3u32; +pub const SECPKG_CRED_ATTR_NAMES: u32 = 1u32; +pub const SECPKG_CRED_ATTR_PAC_BYPASS: u32 = 5u32; +pub const SECPKG_CRED_ATTR_SSI_PROVIDER: u32 = 2u32; +pub const SECPKG_CRED_AUTOLOGON_RESTRICTED: u32 = 16u32; +pub const SECPKG_CRED_BOTH: u32 = 3u32; +pub const SECPKG_CRED_DEFAULT: u32 = 4u32; +pub const SECPKG_CRED_INBOUND: SECPKG_CRED = 1u32; +pub const SECPKG_CRED_OUTBOUND: SECPKG_CRED = 2u32; +pub const SECPKG_CRED_PROCESS_POLICY_ONLY: u32 = 32u32; +pub const SECPKG_CRED_RESERVED: u32 = 4026531840u32; +pub const SECPKG_FLAG_ACCEPT_WIN32_NAME: u32 = 512u32; +pub const SECPKG_FLAG_APPCONTAINER_CHECKS: u32 = 8388608u32; +pub const SECPKG_FLAG_APPCONTAINER_PASSTHROUGH: u32 = 4194304u32; +pub const SECPKG_FLAG_APPLY_LOOPBACK: u32 = 33554432u32; +pub const SECPKG_FLAG_ASCII_BUFFERS: u32 = 16384u32; +pub const SECPKG_FLAG_CLIENT_ONLY: u32 = 64u32; +pub const SECPKG_FLAG_CONNECTION: u32 = 16u32; +pub const SECPKG_FLAG_CREDENTIAL_ISOLATION_ENABLED: u32 = 16777216u32; +pub const SECPKG_FLAG_DATAGRAM: u32 = 8u32; +pub const SECPKG_FLAG_DELEGATION: u32 = 131072u32; +pub const SECPKG_FLAG_EXTENDED_ERROR: u32 = 128u32; +pub const SECPKG_FLAG_FRAGMENT: u32 = 32768u32; +pub const SECPKG_FLAG_GSS_COMPATIBLE: u32 = 4096u32; +pub const SECPKG_FLAG_IMPERSONATION: u32 = 256u32; +pub const SECPKG_FLAG_INTEGRITY: u32 = 1u32; +pub const SECPKG_FLAG_LOGON: u32 = 8192u32; +pub const SECPKG_FLAG_MULTI_REQUIRED: u32 = 32u32; +pub const SECPKG_FLAG_MUTUAL_AUTH: u32 = 65536u32; +pub const SECPKG_FLAG_NEGOTIABLE: u32 = 2048u32; +pub const SECPKG_FLAG_NEGOTIABLE2: u32 = 2097152u32; +pub const SECPKG_FLAG_NEGO_EXTENDER: u32 = 1048576u32; +pub const SECPKG_FLAG_PRIVACY: u32 = 2u32; +pub const SECPKG_FLAG_READONLY_WITH_CHECKSUM: u32 = 262144u32; +pub const SECPKG_FLAG_RESTRICTED_TOKENS: u32 = 524288u32; +pub const SECPKG_FLAG_STREAM: u32 = 1024u32; +pub const SECPKG_FLAG_TOKEN_ONLY: u32 = 4u32; +pub const SECPKG_ID_NONE: u32 = 65535u32; +pub const SECPKG_INTERFACE_VERSION: u32 = 65536u32; +pub const SECPKG_INTERFACE_VERSION_10: u32 = 33554432u32; +pub const SECPKG_INTERFACE_VERSION_11: u32 = 67108864u32; +pub const SECPKG_INTERFACE_VERSION_2: u32 = 131072u32; +pub const SECPKG_INTERFACE_VERSION_3: u32 = 262144u32; +pub const SECPKG_INTERFACE_VERSION_4: u32 = 524288u32; +pub const SECPKG_INTERFACE_VERSION_5: u32 = 1048576u32; +pub const SECPKG_INTERFACE_VERSION_6: u32 = 2097152u32; +pub const SECPKG_INTERFACE_VERSION_7: u32 = 4194304u32; +pub const SECPKG_INTERFACE_VERSION_8: u32 = 8388608u32; +pub const SECPKG_INTERFACE_VERSION_9: u32 = 16777216u32; +pub const SECPKG_LSAMODEINIT_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("SpLsaModeInitialize"); +pub const SECPKG_MAX_OID_LENGTH: u32 = 32u32; +pub const SECPKG_MSVAV_FLAGS_VALID: u32 = 1u32; +pub const SECPKG_MSVAV_TIMESTAMP_VALID: u32 = 2u32; +pub const SECPKG_NEGOTIATION_COMPLETE: u32 = 0u32; +pub const SECPKG_NEGOTIATION_DIRECT: u32 = 3u32; +pub const SECPKG_NEGOTIATION_IN_PROGRESS: u32 = 2u32; +pub const SECPKG_NEGOTIATION_OPTIMISTIC: u32 = 1u32; +pub const SECPKG_NEGOTIATION_TRY_MULTICRED: u32 = 4u32; +pub const SECPKG_OPTIONS_PERMANENT: u32 = 1u32; +pub const SECPKG_OPTIONS_TYPE_LSA: SECURITY_PACKAGE_OPTIONS_TYPE = 1u32; +pub const SECPKG_OPTIONS_TYPE_SSPI: SECURITY_PACKAGE_OPTIONS_TYPE = 2u32; +pub const SECPKG_OPTIONS_TYPE_UNKNOWN: SECURITY_PACKAGE_OPTIONS_TYPE = 0u32; +pub const SECPKG_PACKAGE_CHANGE_LOAD: SECPKG_PACKAGE_CHANGE_TYPE = 0u32; +pub const SECPKG_PACKAGE_CHANGE_SELECT: SECPKG_PACKAGE_CHANGE_TYPE = 2u32; +pub const SECPKG_PACKAGE_CHANGE_UNLOAD: SECPKG_PACKAGE_CHANGE_TYPE = 1u32; +pub const SECPKG_PRIMARY_CRED_EX_FLAGS_EX_DELEGATION_TOKEN: u32 = 1u32; +pub const SECPKG_REDIRECTED_LOGON_GUID_INITIALIZER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc2be5457_82eb_483e_ae4e_7468ef14d509); +pub const SECPKG_STATE_CRED_ISOLATION_ENABLED: u32 = 32u32; +pub const SECPKG_STATE_DOMAIN_CONTROLLER: u32 = 4u32; +pub const SECPKG_STATE_ENCRYPTION_PERMITTED: u32 = 1u32; +pub const SECPKG_STATE_RESERVED_1: u32 = 2147483648u32; +pub const SECPKG_STATE_STANDALONE: u32 = 16u32; +pub const SECPKG_STATE_STRONG_ENCRYPTION_PERMITTED: u32 = 2u32; +pub const SECPKG_STATE_WORKSTATION: u32 = 8u32; +pub const SECPKG_SURROGATE_LOGON_VERSION_1: u32 = 1u32; +pub const SECPKG_UNICODE_ATTRIBUTE: u32 = 2147483648u32; +pub const SECPKG_USERMODEINIT_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("SpUserModeInitialize"); +pub const SECQOP_WRAP_NO_ENCRYPT: u32 = 2147483649u32; +pub const SECQOP_WRAP_OOB_DATA: u32 = 1073741824u32; +pub const SECRET_QUERY_VALUE: i32 = 2i32; +pub const SECRET_SET_VALUE: i32 = 1i32; +pub const SECURITY_ENTRYPOINT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("INITSECURITYINTERFACEA"); +pub const SECURITY_ENTRYPOINT16: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("INITSECURITYINTERFACEA"); +pub const SECURITY_ENTRYPOINT_ANSI: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("InitSecurityInterfaceW"); +pub const SECURITY_ENTRYPOINT_ANSIA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("InitSecurityInterfaceA"); +pub const SECURITY_ENTRYPOINT_ANSIW: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("InitSecurityInterfaceW"); +pub const SECURITY_NATIVE_DREP: u32 = 16u32; +pub const SECURITY_NETWORK_DREP: u32 = 0u32; +pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION: u32 = 1u32; +pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION_2: u32 = 2u32; +pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION_3: u32 = 3u32; +pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION_4: u32 = 4u32; +pub const SECURITY_SUPPORT_PROVIDER_INTERFACE_VERSION_5: u32 = 5u32; +pub const SEC_WINNT_AUTH_IDENTITY_ENCRYPT_FOR_SYSTEM: u32 = 4u32; +pub const SEC_WINNT_AUTH_IDENTITY_ENCRYPT_SAME_LOGON: u32 = 1u32; +pub const SEC_WINNT_AUTH_IDENTITY_ENCRYPT_SAME_PROCESS: u32 = 2u32; +pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_ID_PROVIDER: u32 = 524288u32; +pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_NULL_DOMAIN: u32 = 262144u32; +pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_NULL_USER: u32 = 131072u32; +pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_PROCESS_ENCRYPTED: u32 = 16u32; +pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_RESERVED: u32 = 65536u32; +pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_CREDPROV_DO_NOT_LOAD: u32 = 268435456u32; +pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_CREDPROV_DO_NOT_SAVE: u32 = 2147483648u32; +pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_NO_CHECKBOX: u32 = 536870912u32; +pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_SAVE_CRED_BY_CALLER: u32 = 2147483648u32; +pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_SAVE_CRED_CHECKED: u32 = 1073741824u32; +pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SSPIPFC_USE_MASK: u32 = 4278190080u32; +pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SYSTEM_ENCRYPTED: u32 = 128u32; +pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_SYSTEM_PROTECTED: u32 = 32u32; +pub const SEC_WINNT_AUTH_IDENTITY_FLAGS_USER_PROTECTED: u32 = 64u32; +pub const SEC_WINNT_AUTH_IDENTITY_MARSHALLED: u32 = 4u32; +pub const SEC_WINNT_AUTH_IDENTITY_ONLY: u32 = 8u32; +pub const SEC_WINNT_AUTH_IDENTITY_VERSION: u32 = 512u32; +pub const SEC_WINNT_AUTH_IDENTITY_VERSION_2: u32 = 513u32; +pub const SESSION_TICKET_INFO_V0: u32 = 0u32; +pub const SESSION_TICKET_INFO_VERSION: u32 = 0u32; +pub const SE_ADT_OBJECT_ONLY: u32 = 1u32; +pub const SE_ADT_PARAMETERS_SELF_RELATIVE: u32 = 1u32; +pub const SE_ADT_PARAMETERS_SEND_TO_LSA: u32 = 2u32; +pub const SE_ADT_PARAMETER_EXTENSIBLE_AUDIT: u32 = 4u32; +pub const SE_ADT_PARAMETER_GENERIC_AUDIT: u32 = 8u32; +pub const SE_ADT_PARAMETER_WRITE_SYNCHRONOUS: u32 = 16u32; +pub const SE_ADT_POLICY_AUDIT_EVENT_TYPE_EX_BEGIN: u32 = 100u32; +pub const SE_BATCH_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeBatchLogonRight"); +pub const SE_DENY_BATCH_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeDenyBatchLogonRight"); +pub const SE_DENY_INTERACTIVE_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeDenyInteractiveLogonRight"); +pub const SE_DENY_NETWORK_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeDenyNetworkLogonRight"); +pub const SE_DENY_REMOTE_INTERACTIVE_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeDenyRemoteInteractiveLogonRight"); +pub const SE_DENY_SERVICE_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeDenyServiceLogonRight"); +pub const SE_INTERACTIVE_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeInteractiveLogonRight"); +pub const SE_MAX_AUDIT_PARAMETERS: u32 = 32u32; +pub const SE_MAX_GENERIC_AUDIT_PARAMETERS: u32 = 28u32; +pub const SE_NETWORK_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeNetworkLogonRight"); +pub const SE_REMOTE_INTERACTIVE_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeRemoteInteractiveLogonRight"); +pub const SE_SERVICE_LOGON_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeServiceLogonRight"); +pub const SL_ACTIVATION_TYPE_ACTIVE_DIRECTORY: SL_ACTIVATION_TYPE = 1i32; +pub const SL_ACTIVATION_TYPE_DEFAULT: SL_ACTIVATION_TYPE = 0i32; +pub const SL_CLIENTAPI_ZONE: u32 = 61440u32; +pub const SL_DATA_BINARY: SLDATATYPE = 3u32; +pub const SL_DATA_DWORD: SLDATATYPE = 4u32; +pub const SL_DATA_MULTI_SZ: SLDATATYPE = 7u32; +pub const SL_DATA_NONE: SLDATATYPE = 0u32; +pub const SL_DATA_SUM: SLDATATYPE = 100u32; +pub const SL_DATA_SZ: SLDATATYPE = 1u32; +pub const SL_DEFAULT_MIGRATION_ENCRYPTOR_URI: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("msft:spp/migrationencryptor/tokenact/1.0"); +pub const SL_EVENT_LICENSING_STATE_CHANGED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("msft:rm/event/licensingstatechanged"); +pub const SL_EVENT_POLICY_CHANGED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("msft:rm/event/policychanged"); +pub const SL_EVENT_USER_NOTIFICATION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("msft:rm/event/usernotification"); +pub const SL_E_ACTIVATION_IN_PROGRESS: ::windows_sys::core::HRESULT = -1073422296i32; +pub const SL_E_APPLICATION_POLICIES_MISSING: ::windows_sys::core::HRESULT = -1073418126i32; +pub const SL_E_APPLICATION_POLICIES_NOT_LOADED: ::windows_sys::core::HRESULT = -1073418125i32; +pub const SL_E_AUTHN_CANT_VERIFY: ::windows_sys::core::HRESULT = -1073418118i32; +pub const SL_E_AUTHN_CHALLENGE_NOT_SET: ::windows_sys::core::HRESULT = -1073418119i32; +pub const SL_E_AUTHN_MISMATCHED_KEY: ::windows_sys::core::HRESULT = -1073418120i32; +pub const SL_E_AUTHN_WRONG_VERSION: ::windows_sys::core::HRESULT = -1073418121i32; +pub const SL_E_BASE_SKU_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073418155i32; +pub const SL_E_BIOS_KEY: ::windows_sys::core::HRESULT = -1073417707i32; +pub const SL_E_BLOCKED_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073418159i32; +pub const SL_E_CHPA_ACTCONFIG_ID_NOT_FOUND: ::windows_sys::core::HRESULT = -1073430519i32; +pub const SL_E_CHPA_BINDING_MAPPING_NOT_FOUND: ::windows_sys::core::HRESULT = -1073430522i32; +pub const SL_E_CHPA_BINDING_NOT_FOUND: ::windows_sys::core::HRESULT = -1073430523i32; +pub const SL_E_CHPA_BUSINESS_RULE_INPUT_NOT_FOUND: ::windows_sys::core::HRESULT = -1073428736i32; +pub const SL_E_CHPA_DATABASE_ERROR: ::windows_sys::core::HRESULT = -1073430509i32; +pub const SL_E_CHPA_DIGITALMARKER_BINDING_NOT_CONFIGURED: ::windows_sys::core::HRESULT = -1073430446i32; +pub const SL_E_CHPA_DIGITALMARKER_INVALID_BINDING: ::windows_sys::core::HRESULT = -1073430447i32; +pub const SL_E_CHPA_DMAK_EXTENSION_LIMIT_EXCEEDED: ::windows_sys::core::HRESULT = -1073430495i32; +pub const SL_E_CHPA_DMAK_LIMIT_EXCEEDED: ::windows_sys::core::HRESULT = -1073430496i32; +pub const SL_E_CHPA_DYNAMICALLY_BLOCKED_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073430432i32; +pub const SL_E_CHPA_FAILED_TO_DELETE_PRODUCTKEY_BINDING: ::windows_sys::core::HRESULT = -1073428649i32; +pub const SL_E_CHPA_FAILED_TO_DELETE_PRODUCT_KEY_PROPERTY: ::windows_sys::core::HRESULT = -1073428644i32; +pub const SL_E_CHPA_FAILED_TO_INSERT_PRODUCTKEY_BINDING: ::windows_sys::core::HRESULT = -1073428650i32; +pub const SL_E_CHPA_FAILED_TO_INSERT_PRODUCT_KEY_PROPERTY: ::windows_sys::core::HRESULT = -1073428646i32; +pub const SL_E_CHPA_FAILED_TO_INSERT_PRODUCT_KEY_RECORD: ::windows_sys::core::HRESULT = -1073428608i32; +pub const SL_E_CHPA_FAILED_TO_PROCESS_PRODUCT_KEY_BINDINGS_XML: ::windows_sys::core::HRESULT = -1073428648i32; +pub const SL_E_CHPA_FAILED_TO_UPDATE_PRODUCTKEY_BINDING: ::windows_sys::core::HRESULT = -1073428651i32; +pub const SL_E_CHPA_FAILED_TO_UPDATE_PRODUCT_KEY_PROPERTY: ::windows_sys::core::HRESULT = -1073428645i32; +pub const SL_E_CHPA_FAILED_TO_UPDATE_PRODUCT_KEY_RECORD: ::windows_sys::core::HRESULT = -1073428607i32; +pub const SL_E_CHPA_GENERAL_ERROR: ::windows_sys::core::HRESULT = -1073430448i32; +pub const SL_E_CHPA_INVALID_ACTCONFIG_ID: ::windows_sys::core::HRESULT = -1073430515i32; +pub const SL_E_CHPA_INVALID_ARGUMENT: ::windows_sys::core::HRESULT = -1073430508i32; +pub const SL_E_CHPA_INVALID_BINDING: ::windows_sys::core::HRESULT = -1073430526i32; +pub const SL_E_CHPA_INVALID_BINDING_URI: ::windows_sys::core::HRESULT = -1073430511i32; +pub const SL_E_CHPA_INVALID_PRODUCT_DATA: ::windows_sys::core::HRESULT = -1073430517i32; +pub const SL_E_CHPA_INVALID_PRODUCT_DATA_ID: ::windows_sys::core::HRESULT = -1073430518i32; +pub const SL_E_CHPA_INVALID_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073430524i32; +pub const SL_E_CHPA_INVALID_PRODUCT_KEY_CHAR: ::windows_sys::core::HRESULT = -1073430512i32; +pub const SL_E_CHPA_INVALID_PRODUCT_KEY_FORMAT: ::windows_sys::core::HRESULT = -1073430513i32; +pub const SL_E_CHPA_INVALID_PRODUCT_KEY_LENGTH: ::windows_sys::core::HRESULT = -1073430514i32; +pub const SL_E_CHPA_MAXIMUM_UNLOCK_EXCEEDED: ::windows_sys::core::HRESULT = -1073430520i32; +pub const SL_E_CHPA_MSCH_RESPONSE_NOT_AVAILABLE_VGA: ::windows_sys::core::HRESULT = -1073429505i32; +pub const SL_E_CHPA_NETWORK_ERROR: ::windows_sys::core::HRESULT = -1073430510i32; +pub const SL_E_CHPA_NO_RULES_TO_ACTIVATE: ::windows_sys::core::HRESULT = -1073430449i32; +pub const SL_E_CHPA_NULL_VALUE_FOR_PROPERTY_NAME_OR_ID: ::windows_sys::core::HRESULT = -1073428656i32; +pub const SL_E_CHPA_OEM_SLP_COA0: ::windows_sys::core::HRESULT = -1073430506i32; +pub const SL_E_CHPA_OVERRIDE_REQUEST_NOT_FOUND: ::windows_sys::core::HRESULT = -1073430493i32; +pub const SL_E_CHPA_PRODUCT_KEY_BEING_USED: ::windows_sys::core::HRESULT = -1073428624i32; +pub const SL_E_CHPA_PRODUCT_KEY_BLOCKED: ::windows_sys::core::HRESULT = -1073430525i32; +pub const SL_E_CHPA_PRODUCT_KEY_BLOCKED_IPLOCATION: ::windows_sys::core::HRESULT = -1073430505i32; +pub const SL_E_CHPA_PRODUCT_KEY_OUT_OF_RANGE: ::windows_sys::core::HRESULT = -1073430527i32; +pub const SL_E_CHPA_REISSUANCE_LIMIT_NOT_FOUND: ::windows_sys::core::HRESULT = -1073430494i32; +pub const SL_E_CHPA_RESPONSE_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073430507i32; +pub const SL_E_CHPA_SYSTEM_ERROR: ::windows_sys::core::HRESULT = -1073430516i32; +pub const SL_E_CHPA_TIMEBASED_ACTIVATION_AFTER_END_DATE: ::windows_sys::core::HRESULT = -1073430479i32; +pub const SL_E_CHPA_TIMEBASED_ACTIVATION_BEFORE_START_DATE: ::windows_sys::core::HRESULT = -1073430480i32; +pub const SL_E_CHPA_TIMEBASED_ACTIVATION_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073430478i32; +pub const SL_E_CHPA_TIMEBASED_PRODUCT_KEY_NOT_CONFIGURED: ::windows_sys::core::HRESULT = -1073430477i32; +pub const SL_E_CHPA_UNKNOWN_PRODUCT_KEY_TYPE: ::windows_sys::core::HRESULT = -1073428636i32; +pub const SL_E_CHPA_UNKNOWN_PROPERTY_ID: ::windows_sys::core::HRESULT = -1073428654i32; +pub const SL_E_CHPA_UNKNOWN_PROPERTY_NAME: ::windows_sys::core::HRESULT = -1073428655i32; +pub const SL_E_CHPA_UNSUPPORTED_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073430521i32; +pub const SL_E_CIDIID_INVALID_CHECK_DIGITS: ::windows_sys::core::HRESULT = -1073418163i32; +pub const SL_E_CIDIID_INVALID_DATA: ::windows_sys::core::HRESULT = -1073418196i32; +pub const SL_E_CIDIID_INVALID_DATA_LENGTH: ::windows_sys::core::HRESULT = -1073418193i32; +pub const SL_E_CIDIID_INVALID_VERSION: ::windows_sys::core::HRESULT = -1073418195i32; +pub const SL_E_CIDIID_MISMATCHED: ::windows_sys::core::HRESULT = -1073418191i32; +pub const SL_E_CIDIID_MISMATCHED_PKEY: ::windows_sys::core::HRESULT = -1073418114i32; +pub const SL_E_CIDIID_NOT_BOUND: ::windows_sys::core::HRESULT = -1073418113i32; +pub const SL_E_CIDIID_NOT_DEPOSITED: ::windows_sys::core::HRESULT = -1073418192i32; +pub const SL_E_CIDIID_VERSION_NOT_SUPPORTED: ::windows_sys::core::HRESULT = -1073418194i32; +pub const SL_E_DATATYPE_MISMATCHED: ::windows_sys::core::HRESULT = -1073418210i32; +pub const SL_E_DECRYPTION_LICENSES_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073418212i32; +pub const SL_E_DEPENDENT_PROPERTY_NOT_SET: ::windows_sys::core::HRESULT = -1073418138i32; +pub const SL_E_DOWNLEVEL_SETUP_KEY: ::windows_sys::core::HRESULT = -1073417708i32; +pub const SL_E_DUPLICATE_POLICY: ::windows_sys::core::HRESULT = -1073418158i32; +pub const SL_E_EDITION_MISMATCHED: ::windows_sys::core::HRESULT = -1073417712i32; +pub const SL_E_ENGINE_DETECTED_EXPLOIT: ::windows_sys::core::HRESULT = -1073429327i32; +pub const SL_E_EUL_CONSUMPTION_FAILED: ::windows_sys::core::HRESULT = -1073422315i32; +pub const SL_E_EUL_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073418188i32; +pub const SL_E_EVALUATION_FAILED: ::windows_sys::core::HRESULT = -1073422333i32; +pub const SL_E_EVENT_ALREADY_REGISTERED: ::windows_sys::core::HRESULT = -1073418213i32; +pub const SL_E_EVENT_NOT_REGISTERED: ::windows_sys::core::HRESULT = -1073418214i32; +pub const SL_E_EXTERNAL_SIGNATURE_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418234i32; +pub const SL_E_GRACE_TIME_EXPIRED: ::windows_sys::core::HRESULT = -1073418231i32; +pub const SL_E_HEALTH_CHECK_FAILED_MUI_FILES: ::windows_sys::core::HRESULT = -1073429330i32; +pub const SL_E_HEALTH_CHECK_FAILED_NEUTRAL_FILES: ::windows_sys::core::HRESULT = -1073429331i32; +pub const SL_E_HWID_CHANGED: ::windows_sys::core::HRESULT = -1073417711i32; +pub const SL_E_HWID_ERROR: ::windows_sys::core::HRESULT = -1073422309i32; +pub const SL_E_IA_ID_MISMATCH: ::windows_sys::core::HRESULT = -1073414909i32; +pub const SL_E_IA_INVALID_VIRTUALIZATION_PLATFORM: ::windows_sys::core::HRESULT = -1073414911i32; +pub const SL_E_IA_MACHINE_NOT_BOUND: ::windows_sys::core::HRESULT = -1073414908i32; +pub const SL_E_IA_PARENT_PARTITION_NOT_ACTIVATED: ::windows_sys::core::HRESULT = -1073414910i32; +pub const SL_E_IA_THROTTLE_LIMIT_EXCEEDED: ::windows_sys::core::HRESULT = -1073414912i32; +pub const SL_E_INTERNAL_ERROR: ::windows_sys::core::HRESULT = -1073418239i32; +pub const SL_E_INVALID_AD_DATA: ::windows_sys::core::HRESULT = -1073429329i32; +pub const SL_E_INVALID_BINDING_BLOB: ::windows_sys::core::HRESULT = -1073418190i32; +pub const SL_E_INVALID_CLIENT_TOKEN: ::windows_sys::core::HRESULT = -1073429720i32; +pub const SL_E_INVALID_CONTEXT: ::windows_sys::core::HRESULT = -1073422335i32; +pub const SL_E_INVALID_CONTEXT_DATA: ::windows_sys::core::HRESULT = -1073422300i32; +pub const SL_E_INVALID_EVENT_ID: ::windows_sys::core::HRESULT = -1073418215i32; +pub const SL_E_INVALID_FILE_HASH: ::windows_sys::core::HRESULT = -1073429343i32; +pub const SL_E_INVALID_GUID: ::windows_sys::core::HRESULT = -1073422330i32; +pub const SL_E_INVALID_HASH: ::windows_sys::core::HRESULT = -1073422299i32; +pub const SL_E_INVALID_LICENSE: ::windows_sys::core::HRESULT = -1073418209i32; +pub const SL_E_INVALID_LICENSE_STATE: ::windows_sys::core::HRESULT = -1073429336i32; +pub const SL_E_INVALID_LICENSE_STATE_BREACH_GRACE: ::windows_sys::core::HRESULT = -1073429871i32; +pub const SL_E_INVALID_LICENSE_STATE_BREACH_GRACE_EXPIRED: ::windows_sys::core::HRESULT = -1073429870i32; +pub const SL_E_INVALID_OEM_OR_VOLUME_BINDING_DATA: ::windows_sys::core::HRESULT = -1073429337i32; +pub const SL_E_INVALID_OFFLINE_BLOB: ::windows_sys::core::HRESULT = -1073429719i32; +pub const SL_E_INVALID_OSVERSION_TEMPLATEID: ::windows_sys::core::HRESULT = -1073429717i32; +pub const SL_E_INVALID_OS_FOR_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073429503i32; +pub const SL_E_INVALID_PACKAGE: ::windows_sys::core::HRESULT = -1073418208i32; +pub const SL_E_INVALID_PACKAGE_VERSION: ::windows_sys::core::HRESULT = -1073418144i32; +pub const SL_E_INVALID_PKEY: ::windows_sys::core::HRESULT = -1073418224i32; +pub const SL_E_INVALID_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073418160i32; +pub const SL_E_INVALID_PRODUCT_KEY_TYPE: ::windows_sys::core::HRESULT = -1073418115i32; +pub const SL_E_INVALID_RSDP_COUNT: ::windows_sys::core::HRESULT = -1073429328i32; +pub const SL_E_INVALID_RULESET_RULE: ::windows_sys::core::HRESULT = -1073422301i32; +pub const SL_E_INVALID_RUNNING_MODE: ::windows_sys::core::HRESULT = -1073418199i32; +pub const SL_E_INVALID_TEMPLATE_ID: ::windows_sys::core::HRESULT = -1073429770i32; +pub const SL_E_INVALID_TOKEN_DATA: ::windows_sys::core::HRESULT = -1073429332i32; +pub const SL_E_INVALID_USE_OF_ADD_ON_PKEY: ::windows_sys::core::HRESULT = -2147164122i32; +pub const SL_E_INVALID_XML_BLOB: ::windows_sys::core::HRESULT = -1073429766i32; +pub const SL_E_IP_LOCATION_FALIED: ::windows_sys::core::HRESULT = -1073429335i32; +pub const SL_E_ISSUANCE_LICENSE_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418142i32; +pub const SL_E_LICENSE_AUTHORIZATION_FAILED: ::windows_sys::core::HRESULT = -1073418206i32; +pub const SL_E_LICENSE_DECRYPTION_FAILED: ::windows_sys::core::HRESULT = -1073418205i32; +pub const SL_E_LICENSE_FILE_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418223i32; +pub const SL_E_LICENSE_INVALID_ADDON_INFO: ::windows_sys::core::HRESULT = -1073422310i32; +pub const SL_E_LICENSE_MANAGEMENT_DATA_DUPLICATED: ::windows_sys::core::HRESULT = -1073418156i32; +pub const SL_E_LICENSE_MANAGEMENT_DATA_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418161i32; +pub const SL_E_LICENSE_NOT_BOUND: ::windows_sys::core::HRESULT = -1073418112i32; +pub const SL_E_LICENSE_SERVER_URL_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418216i32; +pub const SL_E_LICENSE_SIGNATURE_VERIFICATION_FAILED: ::windows_sys::core::HRESULT = -1073418211i32; +pub const SL_E_LUA_ACCESSDENIED: ::windows_sys::core::HRESULT = -1073418203i32; +pub const SL_E_MISMATCHED_APPID: ::windows_sys::core::HRESULT = -1073418230i32; +pub const SL_E_MISMATCHED_KEY_TYPES: ::windows_sys::core::HRESULT = -1073429340i32; +pub const SL_E_MISMATCHED_PID: ::windows_sys::core::HRESULT = -1073418235i32; +pub const SL_E_MISMATCHED_PKEY_RANGE: ::windows_sys::core::HRESULT = -1073418236i32; +pub const SL_E_MISMATCHED_PRODUCT_SKU: ::windows_sys::core::HRESULT = -1073418135i32; +pub const SL_E_MISMATCHED_SECURITY_PROCESSOR: ::windows_sys::core::HRESULT = -1073418226i32; +pub const SL_E_MISSING_OVERRIDE_ONLY_ATTRIBUTE: ::windows_sys::core::HRESULT = -1073418157i32; +pub const SL_E_NONGENUINE_GRACE_TIME_EXPIRED: ::windows_sys::core::HRESULT = -1073418140i32; +pub const SL_E_NONGENUINE_GRACE_TIME_EXPIRED_2: ::windows_sys::core::HRESULT = -1073418137i32; +pub const SL_E_NON_GENUINE_STATUS_LAST: ::windows_sys::core::HRESULT = -1073428992i32; +pub const SL_E_NOTIFICATION_BREACH_DETECTED: ::windows_sys::core::HRESULT = -1073429199i32; +pub const SL_E_NOTIFICATION_GRACE_EXPIRED: ::windows_sys::core::HRESULT = -1073429198i32; +pub const SL_E_NOTIFICATION_OTHER_REASONS: ::windows_sys::core::HRESULT = -1073429197i32; +pub const SL_E_NOT_ACTIVATED: ::windows_sys::core::HRESULT = -1073422331i32; +pub const SL_E_NOT_EVALUATED: ::windows_sys::core::HRESULT = -1073422332i32; +pub const SL_E_NOT_GENUINE: ::windows_sys::core::HRESULT = -1073417728i32; +pub const SL_E_NOT_SUPPORTED: ::windows_sys::core::HRESULT = -1073418218i32; +pub const SL_E_NO_PID_CONFIG_DATA: ::windows_sys::core::HRESULT = -1073418229i32; +pub const SL_E_NO_PRODUCT_KEY_FOUND: ::windows_sys::core::HRESULT = -1073417709i32; +pub const SL_E_OEM_KEY_EDITION_MISMATCH: ::windows_sys::core::HRESULT = -1073417710i32; +pub const SL_E_OFFLINE_GENUINE_BLOB_NOT_FOUND: ::windows_sys::core::HRESULT = -1073429715i32; +pub const SL_E_OFFLINE_GENUINE_BLOB_REVOKED: ::windows_sys::core::HRESULT = -1073429716i32; +pub const SL_E_OFFLINE_VALIDATION_BLOB_PARAM_NOT_FOUND: ::windows_sys::core::HRESULT = -1073429718i32; +pub const SL_E_OPERATION_NOT_ALLOWED: ::windows_sys::core::HRESULT = -1073418134i32; +pub const SL_E_OUT_OF_TOLERANCE: ::windows_sys::core::HRESULT = -1073418225i32; +pub const SL_E_PKEY_INTERNAL_ERROR: ::windows_sys::core::HRESULT = -1073422311i32; +pub const SL_E_PKEY_INVALID_ALGORITHM: ::windows_sys::core::HRESULT = -1073422312i32; +pub const SL_E_PKEY_INVALID_CONFIG: ::windows_sys::core::HRESULT = -1073422314i32; +pub const SL_E_PKEY_INVALID_KEYCHANGE1: ::windows_sys::core::HRESULT = -1073422308i32; +pub const SL_E_PKEY_INVALID_KEYCHANGE2: ::windows_sys::core::HRESULT = -1073422307i32; +pub const SL_E_PKEY_INVALID_KEYCHANGE3: ::windows_sys::core::HRESULT = -1073422306i32; +pub const SL_E_PKEY_INVALID_UNIQUEID: ::windows_sys::core::HRESULT = -1073422313i32; +pub const SL_E_PKEY_INVALID_UPGRADE: ::windows_sys::core::HRESULT = -1073418143i32; +pub const SL_E_PKEY_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418220i32; +pub const SL_E_PLUGIN_INVALID_MANIFEST: ::windows_sys::core::HRESULT = -1073418127i32; +pub const SL_E_PLUGIN_NOT_REGISTERED: ::windows_sys::core::HRESULT = -1073418122i32; +pub const SL_E_POLICY_CACHE_INVALID: ::windows_sys::core::HRESULT = -1073418200i32; +pub const SL_E_POLICY_OTHERINFO_MISMATCH: ::windows_sys::core::HRESULT = -1073422304i32; +pub const SL_E_PRODUCT_KEY_INSTALLATION_NOT_ALLOWED: ::windows_sys::core::HRESULT = -1073418189i32; +pub const SL_E_PRODUCT_SKU_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418219i32; +pub const SL_E_PRODUCT_UNIQUENESS_GROUP_ID_INVALID: ::windows_sys::core::HRESULT = -1073422303i32; +pub const SL_E_PROXY_KEY_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418202i32; +pub const SL_E_PROXY_POLICY_NOT_UPDATED: ::windows_sys::core::HRESULT = -1073418169i32; +pub const SL_E_PUBLISHING_LICENSE_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418217i32; +pub const SL_E_RAC_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073418233i32; +pub const SL_E_RIGHT_NOT_CONSUMED: ::windows_sys::core::HRESULT = -1073418238i32; +pub const SL_E_RIGHT_NOT_GRANTED: ::windows_sys::core::HRESULT = -1073418221i32; +pub const SL_E_SECURE_STORE_ID_MISMATCH: ::windows_sys::core::HRESULT = -1073422302i32; +pub const SL_E_SERVICE_RUNNING: ::windows_sys::core::HRESULT = -1073418117i32; +pub const SL_E_SERVICE_STOPPING: ::windows_sys::core::HRESULT = -1073418123i32; +pub const SL_E_SFS_BAD_TOKEN_EXT: ::windows_sys::core::HRESULT = -2147163899i32; +pub const SL_E_SFS_BAD_TOKEN_NAME: ::windows_sys::core::HRESULT = -2147163900i32; +pub const SL_E_SFS_DUPLICATE_TOKEN_NAME: ::windows_sys::core::HRESULT = -2147163898i32; +pub const SL_E_SFS_FILE_READ_ERROR: ::windows_sys::core::HRESULT = -2147163895i32; +pub const SL_E_SFS_FILE_WRITE_ERROR: ::windows_sys::core::HRESULT = -2147163894i32; +pub const SL_E_SFS_INVALID_FD_TABLE: ::windows_sys::core::HRESULT = -2147163902i32; +pub const SL_E_SFS_INVALID_FILE_POSITION: ::windows_sys::core::HRESULT = -2147163893i32; +pub const SL_E_SFS_INVALID_FS_HEADER: ::windows_sys::core::HRESULT = -2147163891i32; +pub const SL_E_SFS_INVALID_FS_VERSION: ::windows_sys::core::HRESULT = -2147163903i32; +pub const SL_E_SFS_INVALID_SYNC: ::windows_sys::core::HRESULT = -2147163901i32; +pub const SL_E_SFS_INVALID_TOKEN_DATA_HASH: ::windows_sys::core::HRESULT = -2147163896i32; +pub const SL_E_SFS_INVALID_TOKEN_DESCRIPTOR: ::windows_sys::core::HRESULT = -2147163890i32; +pub const SL_E_SFS_NO_ACTIVE_TRANSACTION: ::windows_sys::core::HRESULT = -2147163892i32; +pub const SL_E_SFS_TOKEN_SIZE_MISMATCH: ::windows_sys::core::HRESULT = -2147163897i32; +pub const SL_E_SLP_BAD_FORMAT: ::windows_sys::core::HRESULT = -1073418151i32; +pub const SL_E_SLP_INVALID_MARKER_VERSION: ::windows_sys::core::HRESULT = -1073418116i32; +pub const SL_E_SLP_MISSING_ACPI_SLIC: ::windows_sys::core::HRESULT = -1073418153i32; +pub const SL_E_SLP_MISSING_SLP_MARKER: ::windows_sys::core::HRESULT = -1073418152i32; +pub const SL_E_SLP_NOT_SIGNED: ::windows_sys::core::HRESULT = -1073418198i32; +pub const SL_E_SLP_OEM_CERT_MISSING: ::windows_sys::core::HRESULT = -1073418141i32; +pub const SL_E_SOFTMOD_EXPLOIT_DETECTED: ::windows_sys::core::HRESULT = -1073429333i32; +pub const SL_E_SPC_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073418232i32; +pub const SL_E_SRV_AUTHORIZATION_FAILED: ::windows_sys::core::HRESULT = -1073434619i32; +pub const SL_E_SRV_BUSINESS_TOKEN_ENTRY_NOT_FOUND: ::windows_sys::core::HRESULT = -1073434608i32; +pub const SL_E_SRV_CLIENT_CLOCK_OUT_OF_SYNC: ::windows_sys::core::HRESULT = -1073434607i32; +pub const SL_E_SRV_GENERAL_ERROR: ::windows_sys::core::HRESULT = -1073434368i32; +pub const SL_E_SRV_INVALID_BINDING: ::windows_sys::core::HRESULT = -1073434618i32; +pub const SL_E_SRV_INVALID_LICENSE_STRUCTURE: ::windows_sys::core::HRESULT = -1073434620i32; +pub const SL_E_SRV_INVALID_PAYLOAD: ::windows_sys::core::HRESULT = -1073434616i32; +pub const SL_E_SRV_INVALID_PRODUCT_KEY_LICENSE: ::windows_sys::core::HRESULT = -1073434622i32; +pub const SL_E_SRV_INVALID_PUBLISH_LICENSE: ::windows_sys::core::HRESULT = -1073434623i32; +pub const SL_E_SRV_INVALID_RIGHTS_ACCOUNT_LICENSE: ::windows_sys::core::HRESULT = -1073434621i32; +pub const SL_E_SRV_INVALID_SECURITY_PROCESSOR_LICENSE: ::windows_sys::core::HRESULT = -1073434615i32; +pub const SL_E_SRV_SERVER_PONG: ::windows_sys::core::HRESULT = -1073434617i32; +pub const SL_E_STORE_UPGRADE_TOKEN_NOT_AUTHORIZED: ::windows_sys::core::HRESULT = -1073422290i32; +pub const SL_E_STORE_UPGRADE_TOKEN_NOT_PRS_SIGNED: ::windows_sys::core::HRESULT = -1073422292i32; +pub const SL_E_STORE_UPGRADE_TOKEN_REQUIRED: ::windows_sys::core::HRESULT = -1073422295i32; +pub const SL_E_STORE_UPGRADE_TOKEN_WRONG_EDITION: ::windows_sys::core::HRESULT = -1073422294i32; +pub const SL_E_STORE_UPGRADE_TOKEN_WRONG_PID: ::windows_sys::core::HRESULT = -1073422293i32; +pub const SL_E_STORE_UPGRADE_TOKEN_WRONG_VERSION: ::windows_sys::core::HRESULT = -1073422291i32; +pub const SL_E_TAMPER_DETECTED: ::windows_sys::core::HRESULT = -1073418201i32; +pub const SL_E_TAMPER_RECOVERY_REQUIRES_ACTIVATION: ::windows_sys::core::HRESULT = -1073414656i32; +pub const SL_E_TKA_CERT_CNG_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073417453i32; +pub const SL_E_TKA_CERT_NOT_FOUND: ::windows_sys::core::HRESULT = -1073417467i32; +pub const SL_E_TKA_CHALLENGE_EXPIRED: ::windows_sys::core::HRESULT = -1073417471i32; +pub const SL_E_TKA_CHALLENGE_MISMATCH: ::windows_sys::core::HRESULT = -1073417463i32; +pub const SL_E_TKA_CRITERIA_MISMATCH: ::windows_sys::core::HRESULT = -1073417457i32; +pub const SL_E_TKA_FAILED_GRANT_PARSING: ::windows_sys::core::HRESULT = -1073417460i32; +pub const SL_E_TKA_GRANT_NOT_FOUND: ::windows_sys::core::HRESULT = -1073417468i32; +pub const SL_E_TKA_INVALID_BLOB: ::windows_sys::core::HRESULT = -1073417465i32; +pub const SL_E_TKA_INVALID_CERTIFICATE: ::windows_sys::core::HRESULT = -1073417462i32; +pub const SL_E_TKA_INVALID_CERT_CHAIN: ::windows_sys::core::HRESULT = -1073417469i32; +pub const SL_E_TKA_INVALID_SKU_ID: ::windows_sys::core::HRESULT = -1073417466i32; +pub const SL_E_TKA_INVALID_SMARTCARD: ::windows_sys::core::HRESULT = -1073417461i32; +pub const SL_E_TKA_INVALID_THUMBPRINT: ::windows_sys::core::HRESULT = -1073417459i32; +pub const SL_E_TKA_SILENT_ACTIVATION_FAILURE: ::windows_sys::core::HRESULT = -1073417470i32; +pub const SL_E_TKA_SOFT_CERT_DISALLOWED: ::windows_sys::core::HRESULT = -1073417455i32; +pub const SL_E_TKA_SOFT_CERT_INVALID: ::windows_sys::core::HRESULT = -1073417454i32; +pub const SL_E_TKA_TAMPERED_CERT_CHAIN: ::windows_sys::core::HRESULT = -1073417464i32; +pub const SL_E_TKA_THUMBPRINT_CERT_NOT_FOUND: ::windows_sys::core::HRESULT = -1073417458i32; +pub const SL_E_TKA_TPID_MISMATCH: ::windows_sys::core::HRESULT = -1073417456i32; +pub const SL_E_TOKEN_STORE_INVALID_STATE: ::windows_sys::core::HRESULT = -1073422334i32; +pub const SL_E_TOKSTO_ALREADY_INITIALIZED: ::windows_sys::core::HRESULT = -1073422326i32; +pub const SL_E_TOKSTO_CANT_ACQUIRE_MUTEX: ::windows_sys::core::HRESULT = -1073422317i32; +pub const SL_E_TOKSTO_CANT_CREATE_FILE: ::windows_sys::core::HRESULT = -1073422324i32; +pub const SL_E_TOKSTO_CANT_CREATE_MUTEX: ::windows_sys::core::HRESULT = -1073422318i32; +pub const SL_E_TOKSTO_CANT_PARSE_PROPERTIES: ::windows_sys::core::HRESULT = -1073422321i32; +pub const SL_E_TOKSTO_CANT_READ_FILE: ::windows_sys::core::HRESULT = -1073422322i32; +pub const SL_E_TOKSTO_CANT_WRITE_TO_FILE: ::windows_sys::core::HRESULT = -1073422323i32; +pub const SL_E_TOKSTO_INVALID_FILE: ::windows_sys::core::HRESULT = -1073422319i32; +pub const SL_E_TOKSTO_NOT_INITIALIZED: ::windows_sys::core::HRESULT = -1073422327i32; +pub const SL_E_TOKSTO_NO_ID_SET: ::windows_sys::core::HRESULT = -1073422325i32; +pub const SL_E_TOKSTO_NO_PROPERTIES: ::windows_sys::core::HRESULT = -1073422328i32; +pub const SL_E_TOKSTO_NO_TOKEN_DATA: ::windows_sys::core::HRESULT = -1073422316i32; +pub const SL_E_TOKSTO_PROPERTY_NOT_FOUND: ::windows_sys::core::HRESULT = -1073422320i32; +pub const SL_E_TOKSTO_TOKEN_NOT_FOUND: ::windows_sys::core::HRESULT = -1073422329i32; +pub const SL_E_USE_LICENSE_NOT_INSTALLED: ::windows_sys::core::HRESULT = -1073418237i32; +pub const SL_E_VALIDATION_BLOB_PARAM_NOT_FOUND: ::windows_sys::core::HRESULT = -1073429721i32; +pub const SL_E_VALIDATION_BLOCKED_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073429342i32; +pub const SL_E_VALIDATION_INVALID_PRODUCT_KEY: ::windows_sys::core::HRESULT = -1073429339i32; +pub const SL_E_VALIDITY_PERIOD_EXPIRED: ::windows_sys::core::HRESULT = -1073415161i32; +pub const SL_E_VALIDITY_TIME_EXPIRED: ::windows_sys::core::HRESULT = -1073418207i32; +pub const SL_E_VALUE_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418222i32; +pub const SL_E_VL_AD_AO_NAME_TOO_LONG: ::windows_sys::core::HRESULT = -1073418110i32; +pub const SL_E_VL_AD_AO_NOT_FOUND: ::windows_sys::core::HRESULT = -1073418111i32; +pub const SL_E_VL_AD_SCHEMA_VERSION_NOT_SUPPORTED: ::windows_sys::core::HRESULT = -1073418109i32; +pub const SL_E_VL_BINDING_SERVICE_NOT_ENABLED: ::windows_sys::core::HRESULT = -1073418183i32; +pub const SL_E_VL_BINDING_SERVICE_UNAVAILABLE: ::windows_sys::core::HRESULT = -1073418124i32; +pub const SL_E_VL_INFO_PRODUCT_USER_RIGHT: ::windows_sys::core::HRESULT = 1074065472i32; +pub const SL_E_VL_INVALID_TIMESTAMP: ::windows_sys::core::HRESULT = -1073418132i32; +pub const SL_E_VL_KEY_MANAGEMENT_SERVICE_ID_MISMATCH: ::windows_sys::core::HRESULT = -1073418174i32; +pub const SL_E_VL_KEY_MANAGEMENT_SERVICE_NOT_ACTIVATED: ::windows_sys::core::HRESULT = -1073418175i32; +pub const SL_E_VL_KEY_MANAGEMENT_SERVICE_VM_NOT_SUPPORTED: ::windows_sys::core::HRESULT = -1073418133i32; +pub const SL_E_VL_MACHINE_NOT_BOUND: ::windows_sys::core::HRESULT = -1073418154i32; +pub const SL_E_VL_NOT_ENOUGH_COUNT: ::windows_sys::core::HRESULT = -1073418184i32; +pub const SL_E_VL_NOT_WINDOWS_SLP: ::windows_sys::core::HRESULT = -1073418187i32; +pub const SL_E_WINDOWS_INVALID_LICENSE_STATE: ::windows_sys::core::HRESULT = -1073418204i32; +pub const SL_E_WINDOWS_VERSION_MISMATCH: ::windows_sys::core::HRESULT = -1073422297i32; +pub const SL_GEN_STATE_INVALID_LICENSE: SL_GENUINE_STATE = 1i32; +pub const SL_GEN_STATE_IS_GENUINE: SL_GENUINE_STATE = 0i32; +pub const SL_GEN_STATE_LAST: SL_GENUINE_STATE = 4i32; +pub const SL_GEN_STATE_OFFLINE: SL_GENUINE_STATE = 3i32; +pub const SL_GEN_STATE_TAMPERED: SL_GENUINE_STATE = 2i32; +pub const SL_ID_ALL_LICENSES: SLIDTYPE = 5i32; +pub const SL_ID_ALL_LICENSE_FILES: SLIDTYPE = 6i32; +pub const SL_ID_APPLICATION: SLIDTYPE = 0i32; +pub const SL_ID_LAST: SLIDTYPE = 8i32; +pub const SL_ID_LICENSE: SLIDTYPE = 3i32; +pub const SL_ID_LICENSE_FILE: SLIDTYPE = 2i32; +pub const SL_ID_PKEY: SLIDTYPE = 4i32; +pub const SL_ID_PRODUCT_SKU: SLIDTYPE = 1i32; +pub const SL_ID_STORE_TOKEN: SLIDTYPE = 7i32; +pub const SL_INFO_KEY_ACTIVE_PLUGINS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ActivePlugins"); +pub const SL_INFO_KEY_AUTHOR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Author"); +pub const SL_INFO_KEY_BIOS_OA2_MINOR_VERSION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BiosOA2MinorVersion"); +pub const SL_INFO_KEY_BIOS_PKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BiosProductKey"); +pub const SL_INFO_KEY_BIOS_PKEY_DESCRIPTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BiosProductKeyDescription"); +pub const SL_INFO_KEY_BIOS_PKEY_PKPN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BiosProductKeyPkPn"); +pub const SL_INFO_KEY_BIOS_SLIC_STATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BiosSlicState"); +pub const SL_INFO_KEY_CHANNEL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Channel"); +pub const SL_INFO_KEY_DESCRIPTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Description"); +pub const SL_INFO_KEY_DIGITAL_PID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DigitalPID"); +pub const SL_INFO_KEY_DIGITAL_PID2: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DigitalPID2"); +pub const SL_INFO_KEY_IS_KMS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IsKeyManagementService"); +pub const SL_INFO_KEY_IS_PRS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IsPRS"); +pub const SL_INFO_KEY_KMS_CURRENT_COUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyManagementServiceCurrentCount"); +pub const SL_INFO_KEY_KMS_FAILED_REQUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyManagementServiceFailedRequests"); +pub const SL_INFO_KEY_KMS_LICENSED_REQUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyManagementServiceLicensedRequests"); +pub const SL_INFO_KEY_KMS_NON_GENUINE_GRACE_REQUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyManagementServiceNonGenuineGraceRequests"); +pub const SL_INFO_KEY_KMS_NOTIFICATION_REQUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyManagementServiceNotificationRequests"); +pub const SL_INFO_KEY_KMS_OOB_GRACE_REQUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyManagementServiceOOBGraceRequests"); +pub const SL_INFO_KEY_KMS_OOT_GRACE_REQUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyManagementServiceOOTGraceRequests"); +pub const SL_INFO_KEY_KMS_REQUIRED_CLIENT_COUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyManagementServiceRequiredClientCount"); +pub const SL_INFO_KEY_KMS_TOTAL_REQUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyManagementServiceTotalRequests"); +pub const SL_INFO_KEY_KMS_UNLICENSED_REQUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyManagementServiceUnlicensedRequests"); +pub const SL_INFO_KEY_LICENSE_TYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LicenseType"); +pub const SL_INFO_KEY_LICENSOR_URL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LicensorUrl"); +pub const SL_INFO_KEY_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Name"); +pub const SL_INFO_KEY_PARTIAL_PRODUCT_KEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PartialProductKey"); +pub const SL_INFO_KEY_PRODUCT_KEY_ACTIVATION_URL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PKCURL"); +pub const SL_INFO_KEY_PRODUCT_SKU_ID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ProductSkuId"); +pub const SL_INFO_KEY_RIGHT_ACCOUNT_ACTIVATION_URL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RACURL"); +pub const SL_INFO_KEY_SECURE_PROCESSOR_ACTIVATION_URL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SPCURL"); +pub const SL_INFO_KEY_SECURE_STORE_ID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SecureStoreId"); +pub const SL_INFO_KEY_SYSTEM_STATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SystemState"); +pub const SL_INFO_KEY_USE_LICENSE_ACTIVATION_URL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EULURL"); +pub const SL_INFO_KEY_VERSION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Version"); +pub const SL_INTERNAL_ZONE: u32 = 57344u32; +pub const SL_I_NONGENUINE_GRACE_PERIOD: ::windows_sys::core::HRESULT = 1074065509i32; +pub const SL_I_NONGENUINE_GRACE_PERIOD_2: ::windows_sys::core::HRESULT = 1074065512i32; +pub const SL_I_OOB_GRACE_PERIOD: ::windows_sys::core::HRESULT = 1074065420i32; +pub const SL_I_OOT_GRACE_PERIOD: ::windows_sys::core::HRESULT = 1074065421i32; +pub const SL_I_PERPETUAL_OOB_GRACE_PERIOD: ::windows_sys::core::HRESULT = 1074068485i32; +pub const SL_I_STORE_BASED_ACTIVATION: ::windows_sys::core::HRESULT = 1074066433i32; +pub const SL_I_TIMEBASED_EXTENDED_GRACE_PERIOD: ::windows_sys::core::HRESULT = 1074068486i32; +pub const SL_I_TIMEBASED_VALIDITY_PERIOD: ::windows_sys::core::HRESULT = 1074068484i32; +pub const SL_LICENSING_STATUS_IN_GRACE_PERIOD: SLLICENSINGSTATUS = 2i32; +pub const SL_LICENSING_STATUS_LAST: SLLICENSINGSTATUS = 4i32; +pub const SL_LICENSING_STATUS_LICENSED: SLLICENSINGSTATUS = 1i32; +pub const SL_LICENSING_STATUS_NOTIFICATION: SLLICENSINGSTATUS = 3i32; +pub const SL_LICENSING_STATUS_UNLICENSED: SLLICENSINGSTATUS = 0i32; +pub const SL_MDOLLAR_ZONE: u32 = 40960u32; +pub const SL_MSCH_ZONE: u32 = 49152u32; +pub const SL_PKEY_DETECT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("msft:rm/algorithm/pkey/detect"); +pub const SL_PKEY_MS2005: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("msft:rm/algorithm/pkey/2005"); +pub const SL_PKEY_MS2009: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("msft:rm/algorithm/pkey/2009"); +pub const SL_POLICY_EVALUATION_MODE_ENABLED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Security-SPP-EvaluationModeEnabled"); +pub const SL_PROP_ACTIVATION_VALIDATION_IN_PROGRESS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SL_ACTIVATION_VALIDATION_IN_PROGRESS"); +pub const SL_PROP_BRT_COMMIT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SL_BRT_COMMIT"); +pub const SL_PROP_BRT_DATA: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SL_BRT_DATA"); +pub const SL_PROP_GENUINE_RESULT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SL_GENUINE_RESULT"); +pub const SL_PROP_GET_GENUINE_AUTHZ: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SL_GET_GENUINE_AUTHZ"); +pub const SL_PROP_GET_GENUINE_SERVER_AUTHZ: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SL_GET_GENUINE_SERVER_AUTHZ"); +pub const SL_PROP_LAST_ACT_ATTEMPT_HRESULT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SL_LAST_ACT_ATTEMPT_HRESULT"); +pub const SL_PROP_LAST_ACT_ATTEMPT_SERVER_FLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SL_LAST_ACT_ATTEMPT_SERVER_FLAGS"); +pub const SL_PROP_LAST_ACT_ATTEMPT_TIME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SL_LAST_ACT_ATTEMPT_TIME"); +pub const SL_PROP_NONGENUINE_GRACE_FLAG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SL_NONGENUINE_GRACE_FLAG"); +pub const SL_REARM_REBOOT_REQUIRED: u32 = 1u32; +pub const SL_REFERRALTYPE_APPID: SLREFERRALTYPE = 1i32; +pub const SL_REFERRALTYPE_BEST_MATCH: SLREFERRALTYPE = 4i32; +pub const SL_REFERRALTYPE_OVERRIDE_APPID: SLREFERRALTYPE = 3i32; +pub const SL_REFERRALTYPE_OVERRIDE_SKUID: SLREFERRALTYPE = 2i32; +pub const SL_REFERRALTYPE_SKUID: SLREFERRALTYPE = 0i32; +pub const SL_REMAPPING_MDOLLAR_CIDIID_INVALID_CHECK_DIGITS: ::windows_sys::core::HRESULT = -2143313776i32; +pub const SL_REMAPPING_MDOLLAR_CIDIID_INVALID_DATA: ::windows_sys::core::HRESULT = -2143313778i32; +pub const SL_REMAPPING_MDOLLAR_CIDIID_INVALID_DATA_LENGTH: ::windows_sys::core::HRESULT = -2143313777i32; +pub const SL_REMAPPING_MDOLLAR_CIDIID_INVALID_VERSION: ::windows_sys::core::HRESULT = -2143313779i32; +pub const SL_REMAPPING_MDOLLAR_DIGITALMARKER_BINDING_NOT_CONFIGURED: ::windows_sys::core::HRESULT = -2143313708i32; +pub const SL_REMAPPING_MDOLLAR_DIGITALMARKER_INVALID_BINDING: ::windows_sys::core::HRESULT = -2143313709i32; +pub const SL_REMAPPING_MDOLLAR_DMAK_EXTENSION_LIMIT_EXCEEDED: ::windows_sys::core::HRESULT = -2143313792i32; +pub const SL_REMAPPING_MDOLLAR_DMAK_LIMIT_EXCEEDED: ::windows_sys::core::HRESULT = -2143313793i32; +pub const SL_REMAPPING_MDOLLAR_DMAK_OVERRIDE_LIMIT_REACHED: ::windows_sys::core::HRESULT = -2143313706i32; +pub const SL_REMAPPING_MDOLLAR_FREE_OFFER_EXPIRED: ::windows_sys::core::HRESULT = -2143312896i32; +pub const SL_REMAPPING_MDOLLAR_INVALID_ACTCONFIG_ID: ::windows_sys::core::HRESULT = -2143313802i32; +pub const SL_REMAPPING_MDOLLAR_INVALID_ARGUMENT: ::windows_sys::core::HRESULT = -2143313795i32; +pub const SL_REMAPPING_MDOLLAR_INVALID_BINDING: ::windows_sys::core::HRESULT = -2143313818i32; +pub const SL_REMAPPING_MDOLLAR_INVALID_BINDING_URI: ::windows_sys::core::HRESULT = -2143313798i32; +pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_DATA: ::windows_sys::core::HRESULT = -2143313804i32; +pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_DATA_ID: ::windows_sys::core::HRESULT = -2143313805i32; +pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_KEY: ::windows_sys::core::HRESULT = -2143313816i32; +pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_KEY_FORMAT: ::windows_sys::core::HRESULT = -2143313800i32; +pub const SL_REMAPPING_MDOLLAR_INVALID_PRODUCT_KEY_LENGTH: ::windows_sys::core::HRESULT = -2143313801i32; +pub const SL_REMAPPING_MDOLLAR_MAXIMUM_UNLOCK_EXCEEDED: ::windows_sys::core::HRESULT = -2143313807i32; +pub const SL_REMAPPING_MDOLLAR_NO_RULES_TO_ACTIVATE: ::windows_sys::core::HRESULT = -2143313720i32; +pub const SL_REMAPPING_MDOLLAR_OEM_SLP_COA0: ::windows_sys::core::HRESULT = -2143313789i32; +pub const SL_REMAPPING_MDOLLAR_OSR_DEVICE_BLOCKED: ::windows_sys::core::HRESULT = -2143310909i32; +pub const SL_REMAPPING_MDOLLAR_OSR_DEVICE_THROTTLED: ::windows_sys::core::HRESULT = -2143310914i32; +pub const SL_REMAPPING_MDOLLAR_OSR_DONOR_HWID_NO_ENTITLEMENT: ::windows_sys::core::HRESULT = -2143310920i32; +pub const SL_REMAPPING_MDOLLAR_OSR_GENERIC_ERROR: ::windows_sys::core::HRESULT = -2143310919i32; +pub const SL_REMAPPING_MDOLLAR_OSR_GP_DISABLED: ::windows_sys::core::HRESULT = -2143310913i32; +pub const SL_REMAPPING_MDOLLAR_OSR_HARDWARE_BLOCKED: ::windows_sys::core::HRESULT = -2143310912i32; +pub const SL_REMAPPING_MDOLLAR_OSR_LICENSE_BLOCKED: ::windows_sys::core::HRESULT = -2143310910i32; +pub const SL_REMAPPING_MDOLLAR_OSR_LICENSE_THROTTLED: ::windows_sys::core::HRESULT = -2143310915i32; +pub const SL_REMAPPING_MDOLLAR_OSR_NOT_ADMIN: ::windows_sys::core::HRESULT = -2143310917i32; +pub const SL_REMAPPING_MDOLLAR_OSR_NO_ASSOCIATION: ::windows_sys::core::HRESULT = -2143310918i32; +pub const SL_REMAPPING_MDOLLAR_OSR_USER_BLOCKED: ::windows_sys::core::HRESULT = -2143310911i32; +pub const SL_REMAPPING_MDOLLAR_OSR_USER_THROTTLED: ::windows_sys::core::HRESULT = -2143310916i32; +pub const SL_REMAPPING_MDOLLAR_PRODUCT_KEY_BLOCKED: ::windows_sys::core::HRESULT = -2143313817i32; +pub const SL_REMAPPING_MDOLLAR_PRODUCT_KEY_BLOCKED_IPLOCATION: ::windows_sys::core::HRESULT = -2143313717i32; +pub const SL_REMAPPING_MDOLLAR_PRODUCT_KEY_OUT_OF_RANGE: ::windows_sys::core::HRESULT = -2143313819i32; +pub const SL_REMAPPING_MDOLLAR_ROT_OVERRIDE_LIMIT_REACHED: ::windows_sys::core::HRESULT = -2143313707i32; +pub const SL_REMAPPING_MDOLLAR_TIMEBASED_ACTIVATION_AFTER_END_DATE: ::windows_sys::core::HRESULT = -2143313768i32; +pub const SL_REMAPPING_MDOLLAR_TIMEBASED_ACTIVATION_BEFORE_START_DATE: ::windows_sys::core::HRESULT = -2143313769i32; +pub const SL_REMAPPING_MDOLLAR_TIMEBASED_ACTIVATION_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -2143313767i32; +pub const SL_REMAPPING_MDOLLAR_TIMEBASED_PRODUCT_KEY_NOT_CONFIGURED: ::windows_sys::core::HRESULT = -2143313766i32; +pub const SL_REMAPPING_MDOLLAR_UNSUPPORTED_PRODUCT_KEY: ::windows_sys::core::HRESULT = -2143313812i32; +pub const SL_REMAPPING_SP_PUB_API_BAD_GET_INFO_QUERY: ::windows_sys::core::HRESULT = -1073426414i32; +pub const SL_REMAPPING_SP_PUB_API_HANDLE_NOT_COMMITED: ::windows_sys::core::HRESULT = -1073426303i32; +pub const SL_REMAPPING_SP_PUB_API_INVALID_ALGORITHM_TYPE: ::windows_sys::core::HRESULT = -1073426423i32; +pub const SL_REMAPPING_SP_PUB_API_INVALID_HANDLE: ::windows_sys::core::HRESULT = -1073426388i32; +pub const SL_REMAPPING_SP_PUB_API_INVALID_KEY_LENGTH: ::windows_sys::core::HRESULT = -1073426347i32; +pub const SL_REMAPPING_SP_PUB_API_INVALID_LICENSE: ::windows_sys::core::HRESULT = -1073426432i32; +pub const SL_REMAPPING_SP_PUB_API_NO_AES_PROVIDER: ::windows_sys::core::HRESULT = -1073426317i32; +pub const SL_REMAPPING_SP_PUB_API_TOO_MANY_LOADED_ENVIRONMENTS: ::windows_sys::core::HRESULT = -1073426420i32; +pub const SL_REMAPPING_SP_PUB_CRYPTO_HASH_FINALIZED: ::windows_sys::core::HRESULT = -1073425911i32; +pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_BLOCK: ::windows_sys::core::HRESULT = -1073425905i32; +pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_BLOCKLENGTH: ::windows_sys::core::HRESULT = -1073425918i32; +pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_CIPHER: ::windows_sys::core::HRESULT = -1073425917i32; +pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_CIPHERMODE: ::windows_sys::core::HRESULT = -1073425916i32; +pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_FORMAT: ::windows_sys::core::HRESULT = -1073425904i32; +pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_KEYLENGTH: ::windows_sys::core::HRESULT = -1073425919i32; +pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_PADDING: ::windows_sys::core::HRESULT = -1073425903i32; +pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_SIGNATURE: ::windows_sys::core::HRESULT = -1073425906i32; +pub const SL_REMAPPING_SP_PUB_CRYPTO_INVALID_SIGNATURELENGTH: ::windows_sys::core::HRESULT = -1073425907i32; +pub const SL_REMAPPING_SP_PUB_CRYPTO_KEY_NOT_AVAILABLE: ::windows_sys::core::HRESULT = -1073425910i32; +pub const SL_REMAPPING_SP_PUB_CRYPTO_KEY_NOT_FOUND: ::windows_sys::core::HRESULT = -1073425909i32; +pub const SL_REMAPPING_SP_PUB_CRYPTO_NOT_BLOCK_ALIGNED: ::windows_sys::core::HRESULT = -1073425908i32; +pub const SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_ATTRIBUTEID: ::windows_sys::core::HRESULT = -1073425912i32; +pub const SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_HASHID: ::windows_sys::core::HRESULT = -1073425913i32; +pub const SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_KEYID: ::windows_sys::core::HRESULT = -1073425914i32; +pub const SL_REMAPPING_SP_PUB_CRYPTO_UNKNOWN_PROVIDERID: ::windows_sys::core::HRESULT = -1073425915i32; +pub const SL_REMAPPING_SP_PUB_GENERAL_NOT_INITIALIZED: ::windows_sys::core::HRESULT = -1073426175i32; +pub const SL_REMAPPING_SP_PUB_KM_CACHE_IDENTICAL: ::windows_sys::core::HRESULT = 1074058753i32; +pub const SL_REMAPPING_SP_PUB_KM_CACHE_POLICY_CHANGED: ::windows_sys::core::HRESULT = 1074058754i32; +pub const SL_REMAPPING_SP_PUB_KM_CACHE_TAMPER: ::windows_sys::core::HRESULT = -1073425151i32; +pub const SL_REMAPPING_SP_PUB_KM_CACHE_TAMPER_RESTORE_FAILED: ::windows_sys::core::HRESULT = -1073425150i32; +pub const SL_REMAPPING_SP_PUB_PROXY_SOFT_TAMPER: ::windows_sys::core::HRESULT = -1073424638i32; +pub const SL_REMAPPING_SP_PUB_TAMPER_MODULE_AUTHENTICATION: ::windows_sys::core::HRESULT = -1073425407i32; +pub const SL_REMAPPING_SP_PUB_TAMPER_SECURITY_PROCESSOR_PATCHED: ::windows_sys::core::HRESULT = -1073425406i32; +pub const SL_REMAPPING_SP_PUB_TIMER_ALREADY_EXISTS: ::windows_sys::core::HRESULT = -1073425654i32; +pub const SL_REMAPPING_SP_PUB_TIMER_EXPIRED: ::windows_sys::core::HRESULT = -1073425652i32; +pub const SL_REMAPPING_SP_PUB_TIMER_NAME_SIZE_TOO_BIG: ::windows_sys::core::HRESULT = -1073425651i32; +pub const SL_REMAPPING_SP_PUB_TIMER_NOT_FOUND: ::windows_sys::core::HRESULT = -1073425653i32; +pub const SL_REMAPPING_SP_PUB_TIMER_READ_ONLY: ::windows_sys::core::HRESULT = -1073425647i32; +pub const SL_REMAPPING_SP_PUB_TRUSTED_TIME_OK: ::windows_sys::core::HRESULT = 1074057999i32; +pub const SL_REMAPPING_SP_PUB_TS_ACCESS_DENIED: ::windows_sys::core::HRESULT = -1073425644i32; +pub const SL_REMAPPING_SP_PUB_TS_ATTRIBUTE_NOT_FOUND: ::windows_sys::core::HRESULT = -1073425645i32; +pub const SL_REMAPPING_SP_PUB_TS_ATTRIBUTE_READ_ONLY: ::windows_sys::core::HRESULT = -1073425646i32; +pub const SL_REMAPPING_SP_PUB_TS_DATA_SIZE_TOO_BIG: ::windows_sys::core::HRESULT = -1073425656i32; +pub const SL_REMAPPING_SP_PUB_TS_ENTRY_KEY_ALREADY_EXISTS: ::windows_sys::core::HRESULT = -1073425659i32; +pub const SL_REMAPPING_SP_PUB_TS_ENTRY_KEY_NOT_FOUND: ::windows_sys::core::HRESULT = -1073425660i32; +pub const SL_REMAPPING_SP_PUB_TS_ENTRY_KEY_SIZE_TOO_BIG: ::windows_sys::core::HRESULT = -1073425658i32; +pub const SL_REMAPPING_SP_PUB_TS_ENTRY_READ_ONLY: ::windows_sys::core::HRESULT = -1073425648i32; +pub const SL_REMAPPING_SP_PUB_TS_FULL: ::windows_sys::core::HRESULT = -1073425650i32; +pub const SL_REMAPPING_SP_PUB_TS_INVALID_HW_BINDING: ::windows_sys::core::HRESULT = -1073425655i32; +pub const SL_REMAPPING_SP_PUB_TS_MAX_REARM_REACHED: ::windows_sys::core::HRESULT = -1073425657i32; +pub const SL_REMAPPING_SP_PUB_TS_NAMESPACE_IN_USE: ::windows_sys::core::HRESULT = -1073425642i32; +pub const SL_REMAPPING_SP_PUB_TS_NAMESPACE_NOT_FOUND: ::windows_sys::core::HRESULT = -1073425643i32; +pub const SL_REMAPPING_SP_PUB_TS_REARMED: ::windows_sys::core::HRESULT = -1073425662i32; +pub const SL_REMAPPING_SP_PUB_TS_RECREATED: ::windows_sys::core::HRESULT = -1073425661i32; +pub const SL_REMAPPING_SP_PUB_TS_TAMPERED: ::windows_sys::core::HRESULT = -1073425663i32; +pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_BREADCRUMB_GENERATION: ::windows_sys::core::HRESULT = -1073425640i32; +pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_BREADCRUMB_LOAD_INVALID: ::windows_sys::core::HRESULT = -1073425641i32; +pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_DATA_BREADCRUMB_MISMATCH: ::windows_sys::core::HRESULT = -1073425637i32; +pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_DATA_VERSION_MISMATCH: ::windows_sys::core::HRESULT = -1073425636i32; +pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_INVALID_DATA: ::windows_sys::core::HRESULT = -1073425639i32; +pub const SL_REMAPPING_SP_PUB_TS_TAMPERED_NO_DATA: ::windows_sys::core::HRESULT = -1073425638i32; +pub const SL_REMAPPING_SP_STATUS_ALREADY_EXISTS: ::windows_sys::core::HRESULT = -1073426171i32; +pub const SL_REMAPPING_SP_STATUS_DEBUGGER_DETECTED: ::windows_sys::core::HRESULT = -2147167989i32; +pub const SL_REMAPPING_SP_STATUS_GENERIC_FAILURE: ::windows_sys::core::HRESULT = -1073426173i32; +pub const SL_REMAPPING_SP_STATUS_INSUFFICIENT_BUFFER: ::windows_sys::core::HRESULT = -1073426169i32; +pub const SL_REMAPPING_SP_STATUS_INVALIDARG: ::windows_sys::core::HRESULT = -1073426172i32; +pub const SL_REMAPPING_SP_STATUS_INVALIDDATA: ::windows_sys::core::HRESULT = -1073426168i32; +pub const SL_REMAPPING_SP_STATUS_INVALID_SPAPI_CALL: ::windows_sys::core::HRESULT = -1073426167i32; +pub const SL_REMAPPING_SP_STATUS_INVALID_SPAPI_VERSION: ::windows_sys::core::HRESULT = -1073426166i32; +pub const SL_REMAPPING_SP_STATUS_NO_MORE_DATA: ::windows_sys::core::HRESULT = -1073426164i32; +pub const SL_REMAPPING_SP_STATUS_PUSHKEY_CONFLICT: ::windows_sys::core::HRESULT = -1073424639i32; +pub const SL_REMAPPING_SP_STATUS_SYSTEM_TIME_SKEWED: ::windows_sys::core::HRESULT = -2147167998i32; +pub const SL_SERVER_ZONE: u32 = 45056u32; +pub const SL_SYSTEM_STATE_REBOOT_POLICY_FOUND: u32 = 1u32; +pub const SL_SYSTEM_STATE_TAMPERED: u32 = 2u32; +pub const SPP_MIGRATION_GATHER_ACTIVATED_WINDOWS_STATE: u32 = 2u32; +pub const SPP_MIGRATION_GATHER_ALL: u32 = 4294967295u32; +pub const SPP_MIGRATION_GATHER_MIGRATABLE_APPS: u32 = 1u32; +pub const SP_ACCEPT_CREDENTIALS_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("SpAcceptCredentials\u{0}"); +pub const SP_PROT_ALL: u32 = 4294967295u32; +pub const SP_PROT_DTLS1_0_CLIENT: u32 = 131072u32; +pub const SP_PROT_DTLS1_0_SERVER: u32 = 65536u32; +pub const SP_PROT_DTLS1_2_CLIENT: u32 = 524288u32; +pub const SP_PROT_DTLS1_2_SERVER: u32 = 262144u32; +pub const SP_PROT_DTLS_CLIENT: u32 = 131072u32; +pub const SP_PROT_DTLS_SERVER: u32 = 65536u32; +pub const SP_PROT_NONE: u32 = 0u32; +pub const SP_PROT_PCT1_CLIENT: u32 = 2u32; +pub const SP_PROT_PCT1_SERVER: u32 = 1u32; +pub const SP_PROT_SSL2_CLIENT: u32 = 8u32; +pub const SP_PROT_SSL2_SERVER: u32 = 4u32; +pub const SP_PROT_SSL3_CLIENT: u32 = 32u32; +pub const SP_PROT_SSL3_SERVER: u32 = 16u32; +pub const SP_PROT_TLS1_0_CLIENT: u32 = 128u32; +pub const SP_PROT_TLS1_0_SERVER: u32 = 64u32; +pub const SP_PROT_TLS1_1_CLIENT: u32 = 512u32; +pub const SP_PROT_TLS1_1_SERVER: u32 = 256u32; +pub const SP_PROT_TLS1_2_CLIENT: u32 = 2048u32; +pub const SP_PROT_TLS1_2_SERVER: u32 = 1024u32; +pub const SP_PROT_TLS1_3PLUS_CLIENT: u32 = 8192u32; +pub const SP_PROT_TLS1_3PLUS_SERVER: u32 = 4096u32; +pub const SP_PROT_TLS1_3_CLIENT: u32 = 8192u32; +pub const SP_PROT_TLS1_3_SERVER: u32 = 4096u32; +pub const SP_PROT_TLS1_CLIENT: u32 = 128u32; +pub const SP_PROT_TLS1_SERVER: u32 = 64u32; +pub const SP_PROT_UNI_CLIENT: u32 = 2147483648u32; +pub const SP_PROT_UNI_SERVER: u32 = 1073741824u32; +pub const SSL2SP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft SSL 2.0"); +pub const SSL2SP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft SSL 2.0"); +pub const SSL2SP_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft SSL 2.0"); +pub const SSL3SP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft SSL 3.0"); +pub const SSL3SP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft SSL 3.0"); +pub const SSL3SP_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft SSL 3.0"); +pub const SSL_CRACK_CERTIFICATE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SslCrackCertificate"); +pub const SSL_FREE_CERTIFICATE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SslFreeCertificate"); +pub const SSL_SESSION_DISABLE_RECONNECTS: SCHANNEL_SESSION_TOKEN_FLAGS = 2u32; +pub const SSL_SESSION_ENABLE_RECONNECTS: SCHANNEL_SESSION_TOKEN_FLAGS = 1u32; +pub const SSL_SESSION_RECONNECT: u32 = 1u32; +pub const SSPIPFC_CREDPROV_DO_NOT_LOAD: u32 = 4u32; +pub const SSPIPFC_CREDPROV_DO_NOT_SAVE: u32 = 1u32; +pub const SSPIPFC_NO_CHECKBOX: u32 = 2u32; +pub const SSPIPFC_SAVE_CRED_BY_CALLER: u32 = 1u32; +pub const SSPIPFC_USE_CREDUIBROKER: u32 = 8u32; +pub const SZ_ALG_MAX_SIZE: u32 = 64u32; +pub const Sasl_AuthZIDForbidden: SASL_AUTHZID_STATE = 0i32; +pub const Sasl_AuthZIDProcessed: SASL_AUTHZID_STATE = 1i32; +pub const SeAdtParmTypeAccessMask: SE_ADT_PARAMETER_TYPE = 7i32; +pub const SeAdtParmTypeAccessReason: SE_ADT_PARAMETER_TYPE = 29i32; +pub const SeAdtParmTypeClaims: SE_ADT_PARAMETER_TYPE = 32i32; +pub const SeAdtParmTypeDateTime: SE_ADT_PARAMETER_TYPE = 22i32; +pub const SeAdtParmTypeDuration: SE_ADT_PARAMETER_TYPE = 18i32; +pub const SeAdtParmTypeFileSpec: SE_ADT_PARAMETER_TYPE = 2i32; +pub const SeAdtParmTypeGuid: SE_ADT_PARAMETER_TYPE = 13i32; +pub const SeAdtParmTypeHexInt64: SE_ADT_PARAMETER_TYPE = 15i32; +pub const SeAdtParmTypeHexUlong: SE_ADT_PARAMETER_TYPE = 10i32; +pub const SeAdtParmTypeLogonHours: SE_ADT_PARAMETER_TYPE = 25i32; +pub const SeAdtParmTypeLogonId: SE_ADT_PARAMETER_TYPE = 5i32; +pub const SeAdtParmTypeLogonIdAsSid: SE_ADT_PARAMETER_TYPE = 33i32; +pub const SeAdtParmTypeLogonIdEx: SE_ADT_PARAMETER_TYPE = 35i32; +pub const SeAdtParmTypeLogonIdNoSid: SE_ADT_PARAMETER_TYPE = 26i32; +pub const SeAdtParmTypeLuid: SE_ADT_PARAMETER_TYPE = 14i32; +pub const SeAdtParmTypeMessage: SE_ADT_PARAMETER_TYPE = 21i32; +pub const SeAdtParmTypeMultiSzString: SE_ADT_PARAMETER_TYPE = 34i32; +pub const SeAdtParmTypeNoLogonId: SE_ADT_PARAMETER_TYPE = 6i32; +pub const SeAdtParmTypeNoUac: SE_ADT_PARAMETER_TYPE = 20i32; +pub const SeAdtParmTypeNone: SE_ADT_PARAMETER_TYPE = 0i32; +pub const SeAdtParmTypeObjectTypes: SE_ADT_PARAMETER_TYPE = 9i32; +pub const SeAdtParmTypePrivs: SE_ADT_PARAMETER_TYPE = 8i32; +pub const SeAdtParmTypePtr: SE_ADT_PARAMETER_TYPE = 11i32; +pub const SeAdtParmTypeResourceAttribute: SE_ADT_PARAMETER_TYPE = 31i32; +pub const SeAdtParmTypeSD: SE_ADT_PARAMETER_TYPE = 24i32; +pub const SeAdtParmTypeSid: SE_ADT_PARAMETER_TYPE = 4i32; +pub const SeAdtParmTypeSidList: SE_ADT_PARAMETER_TYPE = 17i32; +pub const SeAdtParmTypeSockAddr: SE_ADT_PARAMETER_TYPE = 23i32; +pub const SeAdtParmTypeSockAddrNoPort: SE_ADT_PARAMETER_TYPE = 28i32; +pub const SeAdtParmTypeStagingReason: SE_ADT_PARAMETER_TYPE = 30i32; +pub const SeAdtParmTypeString: SE_ADT_PARAMETER_TYPE = 1i32; +pub const SeAdtParmTypeStringList: SE_ADT_PARAMETER_TYPE = 16i32; +pub const SeAdtParmTypeTime: SE_ADT_PARAMETER_TYPE = 12i32; +pub const SeAdtParmTypeUlong: SE_ADT_PARAMETER_TYPE = 3i32; +pub const SeAdtParmTypeUlongNoConv: SE_ADT_PARAMETER_TYPE = 27i32; +pub const SeAdtParmTypeUserAccountControl: SE_ADT_PARAMETER_TYPE = 19i32; +pub const SecApplicationProtocolNegotiationExt_ALPN: SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT = 2i32; +pub const SecApplicationProtocolNegotiationExt_NPN: SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT = 1i32; +pub const SecApplicationProtocolNegotiationExt_None: SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT = 0i32; +pub const SecApplicationProtocolNegotiationStatus_None: SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS = 0i32; +pub const SecApplicationProtocolNegotiationStatus_SelectedClientOnly: SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS = 2i32; +pub const SecApplicationProtocolNegotiationStatus_Success: SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS = 1i32; +pub const SecDirectory: SecDelegationType = 3i32; +pub const SecFull: SecDelegationType = 0i32; +pub const SecNameAlternateId: SECPKG_NAME_TYPE = 1i32; +pub const SecNameDN: SECPKG_NAME_TYPE = 3i32; +pub const SecNameFlat: SECPKG_NAME_TYPE = 2i32; +pub const SecNameSPN: SECPKG_NAME_TYPE = 4i32; +pub const SecNameSamCompatible: SECPKG_NAME_TYPE = 0i32; +pub const SecObject: SecDelegationType = 4i32; +pub const SecPkgAttrLastClientTokenMaybe: SECPKG_ATTR_LCT_STATUS = 2i32; +pub const SecPkgAttrLastClientTokenNo: SECPKG_ATTR_LCT_STATUS = 1i32; +pub const SecPkgAttrLastClientTokenYes: SECPKG_ATTR_LCT_STATUS = 0i32; +pub const SecPkgCallPackageMaxMessage: SECPKG_CALL_PACKAGE_MESSAGE_TYPE = 1026i32; +pub const SecPkgCallPackageMinMessage: SECPKG_CALL_PACKAGE_MESSAGE_TYPE = 1024i32; +pub const SecPkgCallPackagePinDcMessage: SECPKG_CALL_PACKAGE_MESSAGE_TYPE = 1024i32; +pub const SecPkgCallPackageTransferCredMessage: SECPKG_CALL_PACKAGE_MESSAGE_TYPE = 1026i32; +pub const SecPkgCallPackageUnpinAllDcsMessage: SECPKG_CALL_PACKAGE_MESSAGE_TYPE = 1025i32; +pub const SecPkgCredClass_Ephemeral: SECPKG_CRED_CLASS = 10i32; +pub const SecPkgCredClass_Explicit: SECPKG_CRED_CLASS = 40i32; +pub const SecPkgCredClass_None: SECPKG_CRED_CLASS = 0i32; +pub const SecPkgCredClass_PersistedGeneric: SECPKG_CRED_CLASS = 20i32; +pub const SecPkgCredClass_PersistedSpecific: SECPKG_CRED_CLASS = 30i32; +pub const SecService: SecDelegationType = 1i32; +pub const SecSessionPrimaryCred: SECPKG_SESSIONINFO_TYPE = 0i32; +pub const SecTrafficSecret_Client: SEC_TRAFFIC_SECRET_TYPE = 1i32; +pub const SecTrafficSecret_None: SEC_TRAFFIC_SECRET_TYPE = 0i32; +pub const SecTrafficSecret_Server: SEC_TRAFFIC_SECRET_TYPE = 2i32; +pub const SecTree: SecDelegationType = 2i32; +pub const SecpkgContextThunks: SECPKG_EXTENDED_INFORMATION_CLASS = 2i32; +pub const SecpkgExtraOids: SECPKG_EXTENDED_INFORMATION_CLASS = 5i32; +pub const SecpkgGssInfo: SECPKG_EXTENDED_INFORMATION_CLASS = 1i32; +pub const SecpkgMaxInfo: SECPKG_EXTENDED_INFORMATION_CLASS = 6i32; +pub const SecpkgMutualAuthLevel: SECPKG_EXTENDED_INFORMATION_CLASS = 3i32; +pub const SecpkgNego2Info: SECPKG_EXTENDED_INFORMATION_CLASS = 7i32; +pub const SecpkgWowClientDll: SECPKG_EXTENDED_INFORMATION_CLASS = 4i32; +pub const TLS1SP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft TLS 1.0"); +pub const TLS1SP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft TLS 1.0"); +pub const TLS1SP_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft TLS 1.0"); +pub const TLS1_ALERT_ACCESS_DENIED: u32 = 49u32; +pub const TLS1_ALERT_BAD_CERTIFICATE: u32 = 42u32; +pub const TLS1_ALERT_BAD_RECORD_MAC: u32 = 20u32; +pub const TLS1_ALERT_CERTIFICATE_EXPIRED: u32 = 45u32; +pub const TLS1_ALERT_CERTIFICATE_REVOKED: u32 = 44u32; +pub const TLS1_ALERT_CERTIFICATE_UNKNOWN: u32 = 46u32; +pub const TLS1_ALERT_CLOSE_NOTIFY: u32 = 0u32; +pub const TLS1_ALERT_DECODE_ERROR: u32 = 50u32; +pub const TLS1_ALERT_DECOMPRESSION_FAIL: u32 = 30u32; +pub const TLS1_ALERT_DECRYPTION_FAILED: u32 = 21u32; +pub const TLS1_ALERT_DECRYPT_ERROR: u32 = 51u32; +pub const TLS1_ALERT_EXPORT_RESTRICTION: u32 = 60u32; +pub const TLS1_ALERT_FATAL: SCHANNEL_ALERT_TOKEN_ALERT_TYPE = 2u32; +pub const TLS1_ALERT_HANDSHAKE_FAILURE: u32 = 40u32; +pub const TLS1_ALERT_ILLEGAL_PARAMETER: u32 = 47u32; +pub const TLS1_ALERT_INSUFFIENT_SECURITY: u32 = 71u32; +pub const TLS1_ALERT_INTERNAL_ERROR: u32 = 80u32; +pub const TLS1_ALERT_NO_APP_PROTOCOL: u32 = 120u32; +pub const TLS1_ALERT_NO_RENEGOTIATION: u32 = 100u32; +pub const TLS1_ALERT_PROTOCOL_VERSION: u32 = 70u32; +pub const TLS1_ALERT_RECORD_OVERFLOW: u32 = 22u32; +pub const TLS1_ALERT_UNEXPECTED_MESSAGE: u32 = 10u32; +pub const TLS1_ALERT_UNKNOWN_CA: u32 = 48u32; +pub const TLS1_ALERT_UNKNOWN_PSK_IDENTITY: u32 = 115u32; +pub const TLS1_ALERT_UNSUPPORTED_CERT: u32 = 43u32; +pub const TLS1_ALERT_UNSUPPORTED_EXT: u32 = 110u32; +pub const TLS1_ALERT_USER_CANCELED: u32 = 90u32; +pub const TLS1_ALERT_WARNING: SCHANNEL_ALERT_TOKEN_ALERT_TYPE = 1u32; +pub const TLS_PARAMS_OPTIONAL: u32 = 1u32; +pub const TOKENBINDING_EXTENSION_FORMAT_UNDEFINED: TOKENBINDING_EXTENSION_FORMAT = 0i32; +pub const TOKENBINDING_KEY_PARAMETERS_TYPE_ANYEXISTING: TOKENBINDING_KEY_PARAMETERS_TYPE = 255i32; +pub const TOKENBINDING_KEY_PARAMETERS_TYPE_ECDSAP256: TOKENBINDING_KEY_PARAMETERS_TYPE = 2i32; +pub const TOKENBINDING_KEY_PARAMETERS_TYPE_RSA2048_PKCS: TOKENBINDING_KEY_PARAMETERS_TYPE = 0i32; +pub const TOKENBINDING_KEY_PARAMETERS_TYPE_RSA2048_PSS: TOKENBINDING_KEY_PARAMETERS_TYPE = 1i32; +pub const TOKENBINDING_TYPE_PROVIDED: TOKENBINDING_TYPE = 0i32; +pub const TOKENBINDING_TYPE_REFERRED: TOKENBINDING_TYPE = 1i32; +pub const TRUSTED_QUERY_AUTH: i32 = 64i32; +pub const TRUSTED_QUERY_CONTROLLERS: i32 = 2i32; +pub const TRUSTED_QUERY_DOMAIN_NAME: i32 = 1i32; +pub const TRUSTED_QUERY_POSIX: i32 = 8i32; +pub const TRUSTED_SET_AUTH: i32 = 32i32; +pub const TRUSTED_SET_CONTROLLERS: i32 = 4i32; +pub const TRUSTED_SET_POSIX: i32 = 16i32; +pub const TRUST_ATTRIBUTES_USER: u32 = 4278190080u32; +pub const TRUST_ATTRIBUTES_VALID: u32 = 4278386687u32; +pub const TRUST_ATTRIBUTE_CROSS_ORGANIZATION: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 16u32; +pub const TRUST_ATTRIBUTE_CROSS_ORGANIZATION_ENABLE_TGT_DELEGATION: u32 = 2048u32; +pub const TRUST_ATTRIBUTE_CROSS_ORGANIZATION_NO_TGT_DELEGATION: u32 = 512u32; +pub const TRUST_ATTRIBUTE_DISABLE_AUTH_TARGET_VALIDATION: u32 = 4096u32; +pub const TRUST_ATTRIBUTE_FILTER_SIDS: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 4u32; +pub const TRUST_ATTRIBUTE_FOREST_TRANSITIVE: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 8u32; +pub const TRUST_ATTRIBUTE_NON_TRANSITIVE: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 1u32; +pub const TRUST_ATTRIBUTE_PIM_TRUST: u32 = 1024u32; +pub const TRUST_ATTRIBUTE_QUARANTINED_DOMAIN: u32 = 4u32; +pub const TRUST_ATTRIBUTE_TREAT_AS_EXTERNAL: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 64u32; +pub const TRUST_ATTRIBUTE_TREE_PARENT: u32 = 4194304u32; +pub const TRUST_ATTRIBUTE_TREE_ROOT: u32 = 8388608u32; +pub const TRUST_ATTRIBUTE_TRUST_USES_AES_KEYS: u32 = 256u32; +pub const TRUST_ATTRIBUTE_TRUST_USES_RC4_ENCRYPTION: u32 = 128u32; +pub const TRUST_ATTRIBUTE_UPLEVEL_ONLY: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 2u32; +pub const TRUST_ATTRIBUTE_WITHIN_FOREST: TRUSTED_DOMAIN_TRUST_ATTRIBUTES = 32u32; +pub const TRUST_AUTH_TYPE_CLEAR: LSA_AUTH_INFORMATION_AUTH_TYPE = 2u32; +pub const TRUST_AUTH_TYPE_NONE: LSA_AUTH_INFORMATION_AUTH_TYPE = 0u32; +pub const TRUST_AUTH_TYPE_NT4OWF: LSA_AUTH_INFORMATION_AUTH_TYPE = 1u32; +pub const TRUST_AUTH_TYPE_VERSION: LSA_AUTH_INFORMATION_AUTH_TYPE = 3u32; +pub const TRUST_DIRECTION_BIDIRECTIONAL: TRUSTED_DOMAIN_TRUST_DIRECTION = 3u32; +pub const TRUST_DIRECTION_DISABLED: TRUSTED_DOMAIN_TRUST_DIRECTION = 0u32; +pub const TRUST_DIRECTION_INBOUND: TRUSTED_DOMAIN_TRUST_DIRECTION = 1u32; +pub const TRUST_DIRECTION_OUTBOUND: TRUSTED_DOMAIN_TRUST_DIRECTION = 2u32; +pub const TRUST_TYPE_DCE: TRUSTED_DOMAIN_TRUST_TYPE = 4u32; +pub const TRUST_TYPE_DOWNLEVEL: TRUSTED_DOMAIN_TRUST_TYPE = 1u32; +pub const TRUST_TYPE_MIT: TRUSTED_DOMAIN_TRUST_TYPE = 3u32; +pub const TRUST_TYPE_UPLEVEL: TRUSTED_DOMAIN_TRUST_TYPE = 2u32; +pub const TlsHashAlgorithm_Md5: eTlsHashAlgorithm = 1i32; +pub const TlsHashAlgorithm_None: eTlsHashAlgorithm = 0i32; +pub const TlsHashAlgorithm_Sha1: eTlsHashAlgorithm = 2i32; +pub const TlsHashAlgorithm_Sha224: eTlsHashAlgorithm = 3i32; +pub const TlsHashAlgorithm_Sha256: eTlsHashAlgorithm = 4i32; +pub const TlsHashAlgorithm_Sha384: eTlsHashAlgorithm = 5i32; +pub const TlsHashAlgorithm_Sha512: eTlsHashAlgorithm = 6i32; +pub const TlsParametersCngAlgUsageCertSig: eTlsAlgorithmUsage = 4i32; +pub const TlsParametersCngAlgUsageCipher: eTlsAlgorithmUsage = 2i32; +pub const TlsParametersCngAlgUsageDigest: eTlsAlgorithmUsage = 3i32; +pub const TlsParametersCngAlgUsageKeyExchange: eTlsAlgorithmUsage = 0i32; +pub const TlsParametersCngAlgUsageSignature: eTlsAlgorithmUsage = 1i32; +pub const TlsSignatureAlgorithm_Anonymous: eTlsSignatureAlgorithm = 0i32; +pub const TlsSignatureAlgorithm_Dsa: eTlsSignatureAlgorithm = 2i32; +pub const TlsSignatureAlgorithm_Ecdsa: eTlsSignatureAlgorithm = 3i32; +pub const TlsSignatureAlgorithm_Rsa: eTlsSignatureAlgorithm = 1i32; +pub const TrustedControllersInformation: TRUSTED_INFORMATION_CLASS = 2i32; +pub const TrustedDomainAuthInformation: TRUSTED_INFORMATION_CLASS = 7i32; +pub const TrustedDomainAuthInformationInternal: TRUSTED_INFORMATION_CLASS = 9i32; +pub const TrustedDomainAuthInformationInternalAes: TRUSTED_INFORMATION_CLASS = 14i32; +pub const TrustedDomainFullInformation: TRUSTED_INFORMATION_CLASS = 8i32; +pub const TrustedDomainFullInformation2Internal: TRUSTED_INFORMATION_CLASS = 12i32; +pub const TrustedDomainFullInformationInternal: TRUSTED_INFORMATION_CLASS = 10i32; +pub const TrustedDomainFullInformationInternalAes: TRUSTED_INFORMATION_CLASS = 15i32; +pub const TrustedDomainInformationBasic: TRUSTED_INFORMATION_CLASS = 5i32; +pub const TrustedDomainInformationEx: TRUSTED_INFORMATION_CLASS = 6i32; +pub const TrustedDomainInformationEx2Internal: TRUSTED_INFORMATION_CLASS = 11i32; +pub const TrustedDomainNameInformation: TRUSTED_INFORMATION_CLASS = 1i32; +pub const TrustedDomainSupportedEncryptionTypes: TRUSTED_INFORMATION_CLASS = 13i32; +pub const TrustedPasswordInformation: TRUSTED_INFORMATION_CLASS = 4i32; +pub const TrustedPosixOffsetInformation: TRUSTED_INFORMATION_CLASS = 3i32; +pub const UNDERSTANDS_LONG_NAMES: u32 = 1u32; +pub const UNISP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Unified Security Protocol Provider"); +pub const UNISP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft Unified Security Protocol Provider"); +pub const UNISP_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Unified Security Protocol Provider"); +pub const UNISP_RPC_ID: u32 = 14u32; +pub const USER_ACCOUNT_AUTO_LOCKED: u32 = 1024u32; +pub const USER_ACCOUNT_DISABLED: u32 = 1u32; +pub const USER_ALL_PARAMETERS: u32 = 2097152u32; +pub const USER_DONT_EXPIRE_PASSWORD: u32 = 512u32; +pub const USER_DONT_REQUIRE_PREAUTH: u32 = 65536u32; +pub const USER_ENCRYPTED_TEXT_PASSWORD_ALLOWED: u32 = 2048u32; +pub const USER_HOME_DIRECTORY_REQUIRED: u32 = 2u32; +pub const USER_INTERDOMAIN_TRUST_ACCOUNT: u32 = 64u32; +pub const USER_MNS_LOGON_ACCOUNT: u32 = 32u32; +pub const USER_NORMAL_ACCOUNT: u32 = 16u32; +pub const USER_NOT_DELEGATED: u32 = 16384u32; +pub const USER_NO_AUTH_DATA_REQUIRED: u32 = 524288u32; +pub const USER_PARTIAL_SECRETS_ACCOUNT: u32 = 1048576u32; +pub const USER_PASSWORD_EXPIRED: u32 = 131072u32; +pub const USER_PASSWORD_NOT_REQUIRED: u32 = 4u32; +pub const USER_SERVER_TRUST_ACCOUNT: u32 = 256u32; +pub const USER_SMARTCARD_REQUIRED: u32 = 4096u32; +pub const USER_TEMP_DUPLICATE_ACCOUNT: u32 = 8u32; +pub const USER_TRUSTED_FOR_DELEGATION: u32 = 8192u32; +pub const USER_TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION: u32 = 262144u32; +pub const USER_USE_AES_KEYS: u32 = 2097152u32; +pub const USER_USE_DES_KEY_ONLY: u32 = 32768u32; +pub const USER_WORKSTATION_TRUST_ACCOUNT: u32 = 128u32; +pub const WDIGEST_SP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WDigest"); +pub const WDIGEST_SP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("WDigest"); +pub const WDIGEST_SP_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WDigest"); +pub const WINDOWS_SLID: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x55c92734_d682_4d71_983e_d6ec3f16059f); +pub const _FACILITY_WINDOWS_STORE: u32 = 63u32; +pub type ASC_REQ_FLAGS = u32; +pub type ASC_REQ_HIGH_FLAGS = u64; +pub type CRED_FETCH = i32; +pub type DOMAIN_PASSWORD_PROPERTIES = u32; +pub type EXPORT_SECURITY_CONTEXT_FLAGS = u32; +pub type EXTENDED_NAME_FORMAT = i32; +pub type ISC_REQ_FLAGS = u32; +pub type ISC_REQ_HIGH_FLAGS = u64; +pub type KERB_ADDRESS_TYPE = u32; +pub type KERB_CERTIFICATE_INFO_TYPE = i32; +pub type KERB_CRYPTO_KEY_TYPE = i32; +pub type KERB_LOGON_SUBMIT_TYPE = i32; +pub type KERB_PROFILE_BUFFER_TYPE = i32; +pub type KERB_PROTOCOL_MESSAGE_TYPE = i32; +pub type KERB_REQUEST_FLAGS = u32; +pub type KERB_TICKET_FLAGS = u32; +pub type KSEC_CONTEXT_TYPE = i32; +pub type LSA_AUTH_INFORMATION_AUTH_TYPE = u32; +pub type LSA_FOREST_TRUST_COLLISION_RECORD_TYPE = i32; +pub type LSA_FOREST_TRUST_RECORD_TYPE = i32; +pub type LSA_LOOKUP_DOMAIN_INFO_CLASS = i32; +pub type LSA_TOKEN_INFORMATION_TYPE = i32; +pub type MSV1_0 = u32; +pub type MSV1_0_AVID = i32; +pub type MSV1_0_CREDENTIAL_KEY_TYPE = i32; +pub type MSV1_0_LOGON_SUBMIT_TYPE = i32; +pub type MSV1_0_PROFILE_BUFFER_TYPE = i32; +pub type MSV1_0_PROTOCOL_MESSAGE_TYPE = i32; +pub type MSV_SUBAUTH_LOGON_PARAMETER_CONTROL = u32; +pub type MSV_SUB_AUTHENTICATION_FILTER = u32; +pub type MSV_SUPPLEMENTAL_CREDENTIAL_FLAGS = u32; +pub type NEGOTIATE_MESSAGES = i32; +pub type NETLOGON_LOGON_INFO_CLASS = i32; +pub type PKU2U_LOGON_SUBMIT_TYPE = i32; +pub type POLICY_AUDIT_EVENT_TYPE = i32; +pub type POLICY_DOMAIN_INFORMATION_CLASS = i32; +pub type POLICY_INFORMATION_CLASS = i32; +pub type POLICY_LSA_SERVER_ROLE = i32; +pub type POLICY_NOTIFICATION_INFORMATION_CLASS = i32; +pub type SASL_AUTHZID_STATE = i32; +pub type SCHANNEL_ALERT_TOKEN_ALERT_TYPE = u32; +pub type SCHANNEL_CRED_FLAGS = u32; +pub type SCHANNEL_SESSION_TOKEN_FLAGS = u32; +pub type SECPKG_ATTR = u32; +pub type SECPKG_ATTR_LCT_STATUS = i32; +pub type SECPKG_CALL_PACKAGE_MESSAGE_TYPE = i32; +pub type SECPKG_CRED = u32; +pub type SECPKG_CRED_CLASS = i32; +pub type SECPKG_EXTENDED_INFORMATION_CLASS = i32; +pub type SECPKG_NAME_TYPE = i32; +pub type SECPKG_PACKAGE_CHANGE_TYPE = u32; +pub type SECPKG_SESSIONINFO_TYPE = i32; +#[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 + } +} +pub type SECURITY_PACKAGE_OPTIONS_TYPE = u32; +pub type SEC_APPLICATION_PROTOCOL_NEGOTIATION_EXT = i32; +pub type SEC_APPLICATION_PROTOCOL_NEGOTIATION_STATUS = i32; +pub type SEC_TRAFFIC_SECRET_TYPE = i32; +pub type SE_ADT_PARAMETER_TYPE = i32; +pub type SLDATATYPE = u32; +pub type SLIDTYPE = i32; +pub type SLLICENSINGSTATUS = i32; +pub type SLREFERRALTYPE = i32; +pub type SL_ACTIVATION_TYPE = i32; +pub type SL_GENUINE_STATE = i32; +pub type SchGetExtensionsOptions = i32; +pub type SecDelegationType = i32; +pub type TOKENBINDING_EXTENSION_FORMAT = i32; +pub type TOKENBINDING_KEY_PARAMETERS_TYPE = i32; +pub type TOKENBINDING_TYPE = i32; +pub type TRUSTED_DOMAIN_TRUST_ATTRIBUTES = u32; +pub type TRUSTED_DOMAIN_TRUST_DIRECTION = u32; +pub type TRUSTED_DOMAIN_TRUST_TYPE = u32; +pub type TRUSTED_INFORMATION_CLASS = i32; +pub type eTlsAlgorithmUsage = i32; +pub type eTlsHashAlgorithm = i32; +pub type eTlsSignatureAlgorithm = i32; +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct CENTRAL_ACCESS_POLICY { + pub CAPID: super::super::super::Foundation::PSID, + pub Name: LSA_UNICODE_STRING, + pub Description: LSA_UNICODE_STRING, + pub ChangeId: LSA_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)] +pub struct CENTRAL_ACCESS_POLICY_ENTRY { + pub Name: LSA_UNICODE_STRING, + pub Description: LSA_UNICODE_STRING, + pub ChangeId: LSA_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, +} +impl ::core::marker::Copy for CENTRAL_ACCESS_POLICY_ENTRY {} +impl ::core::clone::Clone for CENTRAL_ACCESS_POLICY_ENTRY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct CLEAR_BLOCK { + pub data: [u8; 8], +} +impl ::core::marker::Copy for CLEAR_BLOCK {} +impl ::core::clone::Clone for CLEAR_BLOCK { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct CRYPTO_SETTINGS { + pub eAlgorithmUsage: eTlsAlgorithmUsage, + pub strCngAlgId: LSA_UNICODE_STRING, + pub cChainingModes: u32, + pub rgstrChainingModes: *mut LSA_UNICODE_STRING, + pub dwMinBitLength: u32, + pub dwMaxBitLength: u32, +} +impl ::core::marker::Copy for CRYPTO_SETTINGS {} +impl ::core::clone::Clone for CRYPTO_SETTINGS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct KDC_PROXY_CACHE_ENTRY_DATA { + pub SinceLastUsed: u64, + pub DomainName: LSA_UNICODE_STRING, + pub ProxyServerName: LSA_UNICODE_STRING, + pub ProxyServerVdir: LSA_UNICODE_STRING, + pub ProxyServerPort: u16, + pub LogonId: super::super::super::Foundation::LUID, + pub CredUserName: LSA_UNICODE_STRING, + pub CredDomainName: LSA_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 + } +} +#[repr(C)] +pub struct KERB_ADD_BINDING_CACHE_ENTRY_EX_REQUEST { + pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, + pub RealmName: LSA_UNICODE_STRING, + pub KdcAddress: LSA_UNICODE_STRING, + pub AddressType: KERB_ADDRESS_TYPE, + pub DcFlags: u32, +} +impl ::core::marker::Copy for KERB_ADD_BINDING_CACHE_ENTRY_EX_REQUEST {} +impl ::core::clone::Clone for KERB_ADD_BINDING_CACHE_ENTRY_EX_REQUEST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct KERB_ADD_BINDING_CACHE_ENTRY_REQUEST { + pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, + pub RealmName: LSA_UNICODE_STRING, + pub KdcAddress: LSA_UNICODE_STRING, + pub AddressType: KERB_ADDRESS_TYPE, +} +impl ::core::marker::Copy for KERB_ADD_BINDING_CACHE_ENTRY_REQUEST {} +impl ::core::clone::Clone for KERB_ADD_BINDING_CACHE_ENTRY_REQUEST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct KERB_ADD_CREDENTIALS_REQUEST { + pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, + pub UserName: LSA_UNICODE_STRING, + pub DomainName: LSA_UNICODE_STRING, + pub Password: LSA_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct KERB_ADD_CREDENTIALS_REQUEST_EX { + pub Credentials: KERB_ADD_CREDENTIALS_REQUEST, + pub PrincipalNameCount: u32, + pub PrincipalNames: [LSA_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)] +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)] +pub struct KERB_BINDING_CACHE_ENTRY_DATA { + pub DiscoveryTime: u64, + pub RealmName: LSA_UNICODE_STRING, + pub KdcAddress: LSA_UNICODE_STRING, + pub AddressType: KERB_ADDRESS_TYPE, + pub Flags: u32, + pub DcFlags: u32, + pub CacheFlags: u32, + pub KdcName: LSA_UNICODE_STRING, +} +impl ::core::marker::Copy for KERB_BINDING_CACHE_ENTRY_DATA {} +impl ::core::clone::Clone for KERB_BINDING_CACHE_ENTRY_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +pub struct KERB_CERTIFICATE_LOGON { + pub MessageType: KERB_LOGON_SUBMIT_TYPE, + pub DomainName: LSA_UNICODE_STRING, + pub UserName: LSA_UNICODE_STRING, + pub Pin: LSA_UNICODE_STRING, + pub Flags: u32, + pub CspDataLength: u32, + pub CspData: *mut u8, +} +impl ::core::marker::Copy for KERB_CERTIFICATE_LOGON {} +impl ::core::clone::Clone for KERB_CERTIFICATE_LOGON { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct KERB_CERTIFICATE_S4U_LOGON { + pub MessageType: KERB_LOGON_SUBMIT_TYPE, + pub Flags: u32, + pub UserPrincipalName: LSA_UNICODE_STRING, + pub DomainName: LSA_UNICODE_STRING, + pub CertificateLength: u32, + pub Certificate: *mut u8, +} +impl ::core::marker::Copy for KERB_CERTIFICATE_S4U_LOGON {} +impl ::core::clone::Clone for KERB_CERTIFICATE_S4U_LOGON { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct KERB_CHANGEPASSWORD_REQUEST { + pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, + pub DomainName: LSA_UNICODE_STRING, + pub AccountName: LSA_UNICODE_STRING, + pub OldPassword: LSA_UNICODE_STRING, + pub NewPassword: LSA_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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)] +pub struct KERB_CLOUD_KERBEROS_DEBUG_DATA { + pub _bitfield: u32, +} +impl ::core::marker::Copy for KERB_CLOUD_KERBEROS_DEBUG_DATA {} +impl ::core::clone::Clone for KERB_CLOUD_KERBEROS_DEBUG_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct KERB_CLOUD_KERBEROS_DEBUG_DATA_V0 { + pub _bitfield: u32, +} +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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)] +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)] +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)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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)] +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 + } +} +#[repr(C)] +pub struct KERB_EXTERNAL_NAME { + pub NameType: i16, + pub NameCount: u16, + pub Names: [LSA_UNICODE_STRING; 1], +} +impl ::core::marker::Copy for KERB_EXTERNAL_NAME {} +impl ::core::clone::Clone for KERB_EXTERNAL_NAME { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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: LSA_UNICODE_STRING, + pub TargetDomainName: LSA_UNICODE_STRING, + pub AltTargetDomainName: LSA_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, +} +impl ::core::marker::Copy for KERB_EXTERNAL_TICKET {} +impl ::core::clone::Clone for KERB_EXTERNAL_TICKET { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct KERB_INTERACTIVE_LOGON { + pub MessageType: KERB_LOGON_SUBMIT_TYPE, + pub LogonDomainName: LSA_UNICODE_STRING, + pub UserName: LSA_UNICODE_STRING, + pub Password: LSA_UNICODE_STRING, +} +impl ::core::marker::Copy for KERB_INTERACTIVE_LOGON {} +impl ::core::clone::Clone for KERB_INTERACTIVE_LOGON { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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: LSA_UNICODE_STRING, + pub HomeDirectory: LSA_UNICODE_STRING, + pub FullName: LSA_UNICODE_STRING, + pub ProfilePath: LSA_UNICODE_STRING, + pub HomeDirectoryDrive: LSA_UNICODE_STRING, + pub LogonServer: LSA_UNICODE_STRING, + pub UserFlags: u32, +} +impl ::core::marker::Copy for KERB_INTERACTIVE_PROFILE {} +impl ::core::clone::Clone for KERB_INTERACTIVE_PROFILE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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_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)] +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_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_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: LSA_UNICODE_STRING, + pub RealmName: LSA_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)] +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)] +pub struct KERB_QUERY_BINDING_CACHE_RESPONSE { + pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, + pub CountOfEntries: u32, + pub Entries: *mut KERB_BINDING_CACHE_ENTRY_DATA, +} +impl ::core::marker::Copy for KERB_QUERY_BINDING_CACHE_RESPONSE {} +impl ::core::clone::Clone for KERB_QUERY_BINDING_CACHE_RESPONSE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct KERB_QUERY_DOMAIN_EXTENDED_POLICIES_REQUEST { + pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, + pub Flags: u32, + pub DomainName: LSA_UNICODE_STRING, +} +impl ::core::marker::Copy for KERB_QUERY_DOMAIN_EXTENDED_POLICIES_REQUEST {} +impl ::core::clone::Clone for KERB_QUERY_DOMAIN_EXTENDED_POLICIES_REQUEST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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_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_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)] +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], +} +impl ::core::marker::Copy for KERB_QUERY_TKT_CACHE_EX2_RESPONSE {} +impl ::core::clone::Clone for KERB_QUERY_TKT_CACHE_EX2_RESPONSE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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], +} +impl ::core::marker::Copy for KERB_QUERY_TKT_CACHE_EX3_RESPONSE {} +impl ::core::clone::Clone for KERB_QUERY_TKT_CACHE_EX3_RESPONSE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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], +} +impl ::core::marker::Copy for KERB_QUERY_TKT_CACHE_EX_RESPONSE {} +impl ::core::clone::Clone for KERB_QUERY_TKT_CACHE_EX_RESPONSE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"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)] +pub struct KERB_QUERY_TKT_CACHE_RESPONSE { + pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, + pub CountOfTickets: u32, + pub Tickets: [KERB_TICKET_CACHE_INFO; 1], +} +impl ::core::marker::Copy for KERB_QUERY_TKT_CACHE_RESPONSE {} +impl ::core::clone::Clone for KERB_QUERY_TKT_CACHE_RESPONSE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct KERB_REFRESH_SCCRED_REQUEST { + pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, + pub CredentialBlob: LSA_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 + } +} +#[repr(C)] +pub struct KERB_RETRIEVE_KEY_TAB_REQUEST { + pub MessageType: KERB_PROTOCOL_MESSAGE_TYPE, + pub Flags: u32, + pub UserName: LSA_UNICODE_STRING, + pub DomainName: LSA_UNICODE_STRING, + pub Password: LSA_UNICODE_STRING, +} +impl ::core::marker::Copy for KERB_RETRIEVE_KEY_TAB_REQUEST {} +impl ::core::clone::Clone for KERB_RETRIEVE_KEY_TAB_REQUEST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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: LSA_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)] +pub struct KERB_RETRIEVE_TKT_RESPONSE { + pub Ticket: KERB_EXTERNAL_TICKET, +} +impl ::core::marker::Copy for KERB_RETRIEVE_TKT_RESPONSE {} +impl ::core::clone::Clone for KERB_RETRIEVE_TKT_RESPONSE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct KERB_S4U2PROXY_CACHE_ENTRY_INFO { + pub ServerName: LSA_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct KERB_S4U2PROXY_CRED { + pub UserName: LSA_UNICODE_STRING, + pub DomainName: LSA_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 + } +} +#[repr(C)] +pub struct KERB_S4U_LOGON { + pub MessageType: KERB_LOGON_SUBMIT_TYPE, + pub Flags: u32, + pub ClientUpn: LSA_UNICODE_STRING, + pub ClientRealm: LSA_UNICODE_STRING, +} +impl ::core::marker::Copy for KERB_S4U_LOGON {} +impl ::core::clone::Clone for KERB_S4U_LOGON { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"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: LSA_UNICODE_STRING, + pub AccountName: LSA_UNICODE_STRING, + pub Password: LSA_UNICODE_STRING, + pub ClientRealm: LSA_UNICODE_STRING, + pub ClientName: LSA_UNICODE_STRING, + pub Impersonating: super::super::super::Foundation::BOOLEAN, + pub KdcAddress: LSA_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_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: LSA_UNICODE_STRING, + pub AccountName: LSA_UNICODE_STRING, + pub Password: LSA_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 + } +} +#[repr(C)] +pub struct KERB_SMART_CARD_LOGON { + pub MessageType: KERB_LOGON_SUBMIT_TYPE, + pub Pin: LSA_UNICODE_STRING, + pub CspDataLength: u32, + pub CspData: *mut u8, +} +impl ::core::marker::Copy for KERB_SMART_CARD_LOGON {} +impl ::core::clone::Clone for KERB_SMART_CARD_LOGON { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct KERB_SMART_CARD_PROFILE { + pub Profile: KERB_INTERACTIVE_PROFILE, + pub CertificateSize: u32, + pub CertificateData: *mut u8, +} +impl ::core::marker::Copy for KERB_SMART_CARD_PROFILE {} +impl ::core::clone::Clone for KERB_SMART_CARD_PROFILE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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)] +pub struct KERB_TICKET_CACHE_INFO { + pub ServerName: LSA_UNICODE_STRING, + pub RealmName: LSA_UNICODE_STRING, + pub StartTime: i64, + pub EndTime: i64, + pub RenewTime: i64, + pub EncryptionType: i32, + pub TicketFlags: KERB_TICKET_FLAGS, +} +impl ::core::marker::Copy for KERB_TICKET_CACHE_INFO {} +impl ::core::clone::Clone for KERB_TICKET_CACHE_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct KERB_TICKET_CACHE_INFO_EX { + pub ClientName: LSA_UNICODE_STRING, + pub ClientRealm: LSA_UNICODE_STRING, + pub ServerName: LSA_UNICODE_STRING, + pub ServerRealm: LSA_UNICODE_STRING, + pub StartTime: i64, + pub EndTime: i64, + pub RenewTime: i64, + pub EncryptionType: i32, + pub TicketFlags: u32, +} +impl ::core::marker::Copy for KERB_TICKET_CACHE_INFO_EX {} +impl ::core::clone::Clone for KERB_TICKET_CACHE_INFO_EX { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct KERB_TICKET_CACHE_INFO_EX2 { + pub ClientName: LSA_UNICODE_STRING, + pub ClientRealm: LSA_UNICODE_STRING, + pub ServerName: LSA_UNICODE_STRING, + pub ServerRealm: LSA_UNICODE_STRING, + pub StartTime: i64, + pub EndTime: i64, + pub RenewTime: i64, + pub EncryptionType: i32, + pub TicketFlags: u32, + pub SessionKeyType: u32, + pub BranchId: u32, +} +impl ::core::marker::Copy for KERB_TICKET_CACHE_INFO_EX2 {} +impl ::core::clone::Clone for KERB_TICKET_CACHE_INFO_EX2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct KERB_TICKET_CACHE_INFO_EX3 { + pub ClientName: LSA_UNICODE_STRING, + pub ClientRealm: LSA_UNICODE_STRING, + pub ServerName: LSA_UNICODE_STRING, + pub ServerRealm: LSA_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: LSA_UNICODE_STRING, +} +impl ::core::marker::Copy for KERB_TICKET_CACHE_INFO_EX3 {} +impl ::core::clone::Clone for KERB_TICKET_CACHE_INFO_EX3 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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)] +pub struct KERB_TICKET_PROFILE { + pub Profile: KERB_INTERACTIVE_PROFILE, + pub SessionKey: KERB_CRYPTO_KEY, +} +impl ::core::marker::Copy for KERB_TICKET_PROFILE {} +impl ::core::clone::Clone for KERB_TICKET_PROFILE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +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(feature = "Win32_Foundation")] +impl ::core::marker::Copy for LSA_DISPATCH_TABLE {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for LSA_DISPATCH_TABLE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"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)] +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)] +pub struct LSA_FOREST_TRUST_COLLISION_INFORMATION { + pub RecordCount: u32, + pub Entries: *mut *mut LSA_FOREST_TRUST_COLLISION_RECORD, +} +impl ::core::marker::Copy for LSA_FOREST_TRUST_COLLISION_INFORMATION {} +impl ::core::clone::Clone for LSA_FOREST_TRUST_COLLISION_INFORMATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct LSA_FOREST_TRUST_COLLISION_RECORD { + pub Index: u32, + pub Type: LSA_FOREST_TRUST_COLLISION_RECORD_TYPE, + pub Flags: u32, + pub Name: LSA_UNICODE_STRING, +} +impl ::core::marker::Copy for LSA_FOREST_TRUST_COLLISION_RECORD {} +impl ::core::clone::Clone for LSA_FOREST_TRUST_COLLISION_RECORD { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct LSA_FOREST_TRUST_DOMAIN_INFO { + pub Sid: super::super::super::Foundation::PSID, + pub DnsName: LSA_UNICODE_STRING, + pub NetbiosName: LSA_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_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct LSA_FOREST_TRUST_INFORMATION2 { + pub RecordCount: u32, + pub Entries: *mut *mut LSA_FOREST_TRUST_RECORD2, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for LSA_FOREST_TRUST_INFORMATION2 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for LSA_FOREST_TRUST_INFORMATION2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union LSA_FOREST_TRUST_RECORD_0 { + pub TopLevelName: LSA_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct LSA_FOREST_TRUST_RECORD2 { + pub Flags: u32, + pub ForestTrustType: LSA_FOREST_TRUST_RECORD_TYPE, + pub Time: i64, + pub ForestTrustData: LSA_FOREST_TRUST_RECORD2_0, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for LSA_FOREST_TRUST_RECORD2 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for LSA_FOREST_TRUST_RECORD2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union LSA_FOREST_TRUST_RECORD2_0 { + pub TopLevelName: LSA_UNICODE_STRING, + pub DomainInfo: LSA_FOREST_TRUST_DOMAIN_INFO, + pub BinaryData: LSA_FOREST_TRUST_BINARY_DATA, + pub ScannerInfo: LSA_FOREST_TRUST_SCANNER_INFO, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for LSA_FOREST_TRUST_RECORD2_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for LSA_FOREST_TRUST_RECORD2_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct LSA_FOREST_TRUST_SCANNER_INFO { + pub DomainSid: super::super::super::Foundation::PSID, + pub DnsName: LSA_UNICODE_STRING, + pub NetbiosName: LSA_UNICODE_STRING, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for LSA_FOREST_TRUST_SCANNER_INFO {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for LSA_FOREST_TRUST_SCANNER_INFO { + fn clone(&self) -> Self { + *self + } +} +pub type LSA_HANDLE = isize; +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct LSA_OBJECT_ATTRIBUTES { + pub Length: u32, + pub RootDirectory: super::super::super::Foundation::HANDLE, + pub ObjectName: *mut LSA_UNICODE_STRING, + pub Attributes: u32, + pub SecurityDescriptor: *mut ::core::ffi::c_void, + pub SecurityQualityOfService: *mut ::core::ffi::c_void, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for LSA_OBJECT_ATTRIBUTES {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for LSA_OBJECT_ATTRIBUTES { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"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_Foundation\"`, `\"Win32_Security_Credentials\"`, `\"Win32_System_Threading\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", 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, + pub GetClientInfoEx: PLSA_GET_CLIENT_INFO_EX, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", 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_Threading"))] +impl ::core::clone::Clone for LSA_SECPKG_FUNCTION_TABLE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct LSA_STRING { + pub Length: u16, + pub MaximumLength: u16, + pub Buffer: ::windows_sys::core::PSTR, +} +impl ::core::marker::Copy for LSA_STRING {} +impl ::core::clone::Clone for LSA_STRING { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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)] +pub struct LSA_TRANSLATED_NAME { + pub Use: super::super::SID_NAME_USE, + pub Name: LSA_UNICODE_STRING, + pub DomainIndex: i32, +} +impl ::core::marker::Copy for LSA_TRANSLATED_NAME {} +impl ::core::clone::Clone for LSA_TRANSLATED_NAME { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct LSA_TRUST_INFORMATION { + pub Name: LSA_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 + } +} +#[repr(C)] +pub struct LSA_UNICODE_STRING { + pub Length: u16, + pub MaximumLength: u16, + pub Buffer: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for LSA_UNICODE_STRING {} +impl ::core::clone::Clone for LSA_UNICODE_STRING { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct MSV1_0_CHANGEPASSWORD_REQUEST { + pub MessageType: MSV1_0_PROTOCOL_MESSAGE_TYPE, + pub DomainName: LSA_UNICODE_STRING, + pub AccountName: LSA_UNICODE_STRING, + pub OldPassword: LSA_UNICODE_STRING, + pub NewPassword: LSA_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_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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +pub struct MSV1_0_INTERACTIVE_LOGON { + pub MessageType: MSV1_0_LOGON_SUBMIT_TYPE, + pub LogonDomainName: LSA_UNICODE_STRING, + pub UserName: LSA_UNICODE_STRING, + pub Password: LSA_UNICODE_STRING, +} +impl ::core::marker::Copy for MSV1_0_INTERACTIVE_LOGON {} +impl ::core::clone::Clone for MSV1_0_INTERACTIVE_LOGON { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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: LSA_UNICODE_STRING, + pub HomeDirectory: LSA_UNICODE_STRING, + pub FullName: LSA_UNICODE_STRING, + pub ProfilePath: LSA_UNICODE_STRING, + pub HomeDirectoryDrive: LSA_UNICODE_STRING, + pub LogonServer: LSA_UNICODE_STRING, + pub UserFlags: u32, +} +impl ::core::marker::Copy for MSV1_0_INTERACTIVE_PROFILE {} +impl ::core::clone::Clone for MSV1_0_INTERACTIVE_PROFILE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +pub struct MSV1_0_LM20_LOGON { + pub MessageType: MSV1_0_LOGON_SUBMIT_TYPE, + pub LogonDomainName: LSA_UNICODE_STRING, + pub UserName: LSA_UNICODE_STRING, + pub Workstation: LSA_UNICODE_STRING, + pub ChallengeToClient: [u8; 8], + pub CaseSensitiveChallengeResponse: LSA_STRING, + pub CaseInsensitiveChallengeResponse: LSA_STRING, + pub ParameterControl: u32, +} +impl ::core::marker::Copy for MSV1_0_LM20_LOGON {} +impl ::core::clone::Clone for MSV1_0_LM20_LOGON { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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: LSA_UNICODE_STRING, + pub LanmanSessionKey: [u8; 8], + pub LogonServer: LSA_UNICODE_STRING, + pub UserParameters: LSA_UNICODE_STRING, +} +impl ::core::marker::Copy for MSV1_0_LM20_LOGON_PROFILE {} +impl ::core::clone::Clone for MSV1_0_LM20_LOGON_PROFILE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +pub struct MSV1_0_PASSTHROUGH_REQUEST { + pub MessageType: MSV1_0_PROTOCOL_MESSAGE_TYPE, + pub DomainName: LSA_UNICODE_STRING, + pub PackageName: LSA_UNICODE_STRING, + pub DataLength: u32, + pub LogonData: *mut u8, + pub Pad: u32, +} +impl ::core::marker::Copy for MSV1_0_PASSTHROUGH_REQUEST {} +impl ::core::clone::Clone for MSV1_0_PASSTHROUGH_REQUEST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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 + } +} +#[repr(C, packed(1))] +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 + } +} +#[repr(C)] +pub struct MSV1_0_S4U_LOGON { + pub MessageType: MSV1_0_LOGON_SUBMIT_TYPE, + pub Flags: u32, + pub UserPrincipalName: LSA_UNICODE_STRING, + pub DomainName: LSA_UNICODE_STRING, +} +impl ::core::marker::Copy for MSV1_0_S4U_LOGON {} +impl ::core::clone::Clone for MSV1_0_S4U_LOGON { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct MSV1_0_SUBAUTH_LOGON { + pub MessageType: MSV1_0_LOGON_SUBMIT_TYPE, + pub LogonDomainName: LSA_UNICODE_STRING, + pub UserName: LSA_UNICODE_STRING, + pub Workstation: LSA_UNICODE_STRING, + pub ChallengeToClient: [u8; 8], + pub AuthenticationInfo1: LSA_STRING, + pub AuthenticationInfo2: LSA_STRING, + pub ParameterControl: MSV_SUBAUTH_LOGON_PARAMETER_CONTROL, + pub SubAuthPackageId: u32, +} +impl ::core::marker::Copy for MSV1_0_SUBAUTH_LOGON {} +impl ::core::clone::Clone for MSV1_0_SUBAUTH_LOGON { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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)] +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)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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: LSA_UNICODE_STRING, + pub LogonDomainName: LSA_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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)] +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 + } +} +#[repr(C)] +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)] +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)] +pub struct NETLOGON_GENERIC_INFO { + pub Identity: NETLOGON_LOGON_IDENTITY_INFO, + pub PackageName: LSA_UNICODE_STRING, + pub DataLength: u32, + pub LogonData: *mut u8, +} +impl ::core::marker::Copy for NETLOGON_GENERIC_INFO {} +impl ::core::clone::Clone for NETLOGON_GENERIC_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_System_PasswordManagement\"`"] +#[cfg(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(feature = "Win32_System_PasswordManagement")] +impl ::core::marker::Copy for NETLOGON_INTERACTIVE_INFO {} +#[cfg(feature = "Win32_System_PasswordManagement")] +impl ::core::clone::Clone for NETLOGON_INTERACTIVE_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NETLOGON_LOGON_IDENTITY_INFO { + pub LogonDomainName: LSA_UNICODE_STRING, + pub ParameterControl: u32, + pub LogonId: i64, + pub UserName: LSA_UNICODE_STRING, + pub Workstation: LSA_UNICODE_STRING, +} +impl ::core::marker::Copy for NETLOGON_LOGON_IDENTITY_INFO {} +impl ::core::clone::Clone for NETLOGON_LOGON_IDENTITY_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct NETLOGON_NETWORK_INFO { + pub Identity: NETLOGON_LOGON_IDENTITY_INFO, + pub LmChallenge: CLEAR_BLOCK, + pub NtChallengeResponse: LSA_STRING, + pub LmChallengeResponse: LSA_STRING, +} +impl ::core::marker::Copy for NETLOGON_NETWORK_INFO {} +impl ::core::clone::Clone for NETLOGON_NETWORK_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_System_PasswordManagement\"`"] +#[cfg(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(feature = "Win32_System_PasswordManagement")] +impl ::core::marker::Copy for NETLOGON_SERVICE_INFO {} +#[cfg(feature = "Win32_System_PasswordManagement")] +impl ::core::clone::Clone for NETLOGON_SERVICE_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PKU2U_CERTIFICATE_S4U_LOGON { + pub MessageType: PKU2U_LOGON_SUBMIT_TYPE, + pub Flags: u32, + pub UserPrincipalName: LSA_UNICODE_STRING, + pub DomainName: LSA_UNICODE_STRING, + pub CertificateLength: u32, + pub Certificate: *mut u8, +} +impl ::core::marker::Copy for PKU2U_CERTIFICATE_S4U_LOGON {} +impl ::core::clone::Clone for PKU2U_CERTIFICATE_S4U_LOGON { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct POLICY_ACCOUNT_DOMAIN_INFO { + pub DomainName: LSA_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)] +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_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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)] +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 + } +} +#[repr(C)] +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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct POLICY_DNS_DOMAIN_INFO { + pub Name: LSA_UNICODE_STRING, + pub DnsDomainName: LSA_UNICODE_STRING, + pub DnsForestName: LSA_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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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_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)] +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 + } +} +#[repr(C)] +pub struct POLICY_PD_ACCOUNT_INFO { + pub Name: LSA_UNICODE_STRING, +} +impl ::core::marker::Copy for POLICY_PD_ACCOUNT_INFO {} +impl ::core::clone::Clone for POLICY_PD_ACCOUNT_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct POLICY_PRIMARY_DOMAIN_INFO { + pub Name: LSA_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 + } +} +#[repr(C)] +pub struct POLICY_REPLICA_SOURCE_INFO { + pub ReplicaSource: LSA_UNICODE_STRING, + pub ReplicaAccountName: LSA_UNICODE_STRING, +} +impl ::core::marker::Copy for POLICY_REPLICA_SOURCE_INFO {} +impl ::core::clone::Clone for POLICY_REPLICA_SOURCE_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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_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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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_Cryptography\"`"] +#[cfg(feature = "Win32_Security_Cryptography")] +pub struct SCHANNEL_CLIENT_SIGNATURE { + pub cbLength: u32, + pub aiHash: super::super::Cryptography::ALG_ID, + pub cbHash: u32, + pub HashValue: [u8; 36], + pub CertThumbprint: [u8; 20], +} +#[cfg(feature = "Win32_Security_Cryptography")] +impl ::core::marker::Copy for SCHANNEL_CLIENT_SIGNATURE {} +#[cfg(feature = "Win32_Security_Cryptography")] +impl ::core::clone::Clone for SCHANNEL_CLIENT_SIGNATURE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"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 super::super::Cryptography::ALG_ID, + 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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +pub struct SCH_CREDENTIALS { + pub dwVersion: u32, + pub dwCredFormat: 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 dwSessionLifespan: u32, + pub dwFlags: u32, + pub cTlsParameters: u32, + pub pTlsParameters: *mut TLS_PARAMETERS, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::marker::Copy for SCH_CREDENTIALS {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::clone::Clone for SCH_CREDENTIALS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +pub struct SECPKG_CALL_PACKAGE_PIN_DC_REQUEST { + pub MessageType: u32, + pub Flags: u32, + pub DomainName: LSA_UNICODE_STRING, + pub DcName: LSA_UNICODE_STRING, + pub DcFlags: u32, +} +impl ::core::marker::Copy for SECPKG_CALL_PACKAGE_PIN_DC_REQUEST {} +impl ::core::clone::Clone for SECPKG_CALL_PACKAGE_PIN_DC_REQUEST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SECPKG_CLIENT_INFO_EX { + 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, + pub IdentificationLogonId: super::super::super::Foundation::LUID, + pub IdentificationToken: super::super::super::Foundation::HANDLE, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SECPKG_CLIENT_INFO_EX {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SECPKG_CLIENT_INFO_EX { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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)] +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)] +pub struct SECPKG_EVENT_PACKAGE_CHANGE { + pub ChangeType: SECPKG_PACKAGE_CHANGE_TYPE, + pub PackageId: usize, + pub PackageName: SECURITY_STRING, +} +impl ::core::marker::Copy for SECPKG_EVENT_PACKAGE_CHANGE {} +impl ::core::clone::Clone for SECPKG_EVENT_PACKAGE_CHANGE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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)] +pub struct SECPKG_EXTENDED_INFORMATION { + pub Class: SECPKG_EXTENDED_INFORMATION_CLASS, + pub Info: SECPKG_EXTENDED_INFORMATION_0, +} +impl ::core::marker::Copy for SECPKG_EXTENDED_INFORMATION {} +impl ::core::clone::Clone for SECPKG_EXTENDED_INFORMATION { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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, +} +impl ::core::marker::Copy for SECPKG_EXTENDED_INFORMATION_0 {} +impl ::core::clone::Clone for SECPKG_EXTENDED_INFORMATION_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Credentials\"`, `\"Win32_System_Threading\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", 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, + pub ExtractTargetInfo: SpExtractTargetInfoFn, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Threading"))] +impl ::core::marker::Copy for SECPKG_FUNCTION_TABLE {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", feature = "Win32_System_Threading"))] +impl ::core::clone::Clone for SECPKG_FUNCTION_TABLE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SECPKG_NTLM_TARGETINFO { + pub Flags: u32, + pub MsvAvNbComputerName: ::windows_sys::core::PWSTR, + pub MsvAvNbDomainName: ::windows_sys::core::PWSTR, + pub MsvAvDnsComputerName: ::windows_sys::core::PWSTR, + pub MsvAvDnsDomainName: ::windows_sys::core::PWSTR, + pub MsvAvDnsTreeName: ::windows_sys::core::PWSTR, + pub MsvAvFlags: u32, + pub MsvAvTimestamp: super::super::super::Foundation::FILETIME, + pub MsvAvTargetName: ::windows_sys::core::PWSTR, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SECPKG_NTLM_TARGETINFO {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SECPKG_NTLM_TARGETINFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"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: LSA_UNICODE_STRING, + pub DnsDomainName: LSA_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_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SECPKG_PRIMARY_CRED { + pub LogonId: super::super::super::Foundation::LUID, + pub DownlevelName: LSA_UNICODE_STRING, + pub DomainName: LSA_UNICODE_STRING, + pub Password: LSA_UNICODE_STRING, + pub OldPassword: LSA_UNICODE_STRING, + pub UserSid: super::super::super::Foundation::PSID, + pub Flags: u32, + pub DnsDomainName: LSA_UNICODE_STRING, + pub Upn: LSA_UNICODE_STRING, + pub LogonServer: LSA_UNICODE_STRING, + pub Spare1: LSA_UNICODE_STRING, + pub Spare2: LSA_UNICODE_STRING, + pub Spare3: LSA_UNICODE_STRING, + pub Spare4: LSA_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SECPKG_PRIMARY_CRED_EX { + pub LogonId: super::super::super::Foundation::LUID, + pub DownlevelName: LSA_UNICODE_STRING, + pub DomainName: LSA_UNICODE_STRING, + pub Password: LSA_UNICODE_STRING, + pub OldPassword: LSA_UNICODE_STRING, + pub UserSid: super::super::super::Foundation::PSID, + pub Flags: u32, + pub DnsDomainName: LSA_UNICODE_STRING, + pub Upn: LSA_UNICODE_STRING, + pub LogonServer: LSA_UNICODE_STRING, + pub Spare1: LSA_UNICODE_STRING, + pub Spare2: LSA_UNICODE_STRING, + pub Spare3: LSA_UNICODE_STRING, + pub Spare4: LSA_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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, + pub GetRedirectedLogonSid: PLSA_REDIRECTED_LOGON_GET_SID, +} +#[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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +pub struct SECPKG_SUPPLEMENTAL_CRED { + pub PackageName: LSA_UNICODE_STRING, + pub CredentialSize: u32, + pub Credentials: *mut u8, +} +impl ::core::marker::Copy for SECPKG_SUPPLEMENTAL_CRED {} +impl ::core::clone::Clone for SECPKG_SUPPLEMENTAL_CRED { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SECPKG_SUPPLEMENTAL_CRED_ARRAY { + pub CredentialCount: u32, + pub Credentials: [SECPKG_SUPPLEMENTAL_CRED; 1], +} +impl ::core::marker::Copy for SECPKG_SUPPLEMENTAL_CRED_ARRAY {} +impl ::core::clone::Clone for SECPKG_SUPPLEMENTAL_CRED_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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_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)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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)] +pub struct SECPKG_WOW_CLIENT_DLL { + pub WowClientDllPath: SECURITY_STRING, +} +impl ::core::marker::Copy for SECPKG_WOW_CLIENT_DLL {} +impl ::core::clone::Clone for SECPKG_WOW_CLIENT_DLL { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SECURITY_LOGON_SESSION_DATA { + pub Size: u32, + pub LogonId: super::super::super::Foundation::LUID, + pub UserName: LSA_UNICODE_STRING, + pub LogonDomain: LSA_UNICODE_STRING, + pub AuthenticationPackage: LSA_UNICODE_STRING, + pub LogonType: u32, + pub Session: u32, + pub Sid: super::super::super::Foundation::PSID, + pub LogonTime: i64, + pub LogonServer: LSA_UNICODE_STRING, + pub DnsDomainName: LSA_UNICODE_STRING, + pub Upn: LSA_UNICODE_STRING, + pub UserFlags: u32, + pub LastLogonInfo: LSA_LAST_INTER_LOGON_INFO, + pub LogonScript: LSA_UNICODE_STRING, + pub ProfilePath: LSA_UNICODE_STRING, + pub HomeDirectory: LSA_UNICODE_STRING, + pub HomeDirectoryDrive: LSA_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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +pub struct SECURITY_STRING { + pub Length: u16, + pub MaximumLength: u16, + pub Buffer: *mut u16, +} +impl ::core::marker::Copy for SECURITY_STRING {} +impl ::core::clone::Clone for SECURITY_STRING { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SECURITY_USER_DATA { + pub UserName: SECURITY_STRING, + pub LogonDomainName: SECURITY_STRING, + pub LogonServer: SECURITY_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)] +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)] +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 + } +} +#[repr(C)] +pub struct SEC_CERTIFICATE_REQUEST_CONTEXT { + pub cbCertificateRequestContext: u8, + pub rgCertificateRequestContext: [u8; 1], +} +impl ::core::marker::Copy for SEC_CERTIFICATE_REQUEST_CONTEXT {} +impl ::core::clone::Clone for SEC_CERTIFICATE_REQUEST_CONTEXT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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)] +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)] +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 + } +} +#[repr(C)] +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)] +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)] +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)] +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)] +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)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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)] +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)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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_Cryptography\"`"] +#[cfg(feature = "Win32_Security_Cryptography")] +pub struct SecPkgContext_ConnectionInfo { + pub dwProtocol: u32, + pub aiCipher: super::super::Cryptography::ALG_ID, + pub dwCipherStrength: u32, + pub aiHash: super::super::Cryptography::ALG_ID, + pub dwHashStrength: u32, + pub aiExch: super::super::Cryptography::ALG_ID, + pub dwExchStrength: u32, +} +#[cfg(feature = "Win32_Security_Cryptography")] +impl ::core::marker::Copy for SecPkgContext_ConnectionInfo {} +#[cfg(feature = "Win32_Security_Cryptography")] +impl ::core::clone::Clone for SecPkgContext_ConnectionInfo { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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_Cryptography\"`"] +#[cfg(feature = "Win32_Security_Cryptography")] +pub struct SecPkgContext_IssuerListInfoEx { + pub aIssuers: *mut super::super::Cryptography::CRYPT_INTEGER_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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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_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)] +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)] +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_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)] +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)] +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_Cryptography\"`"] +#[cfg(feature = "Win32_Security_Cryptography")] +pub struct SecPkgCred_SupportedAlgs { + pub cSupportedAlgs: u32, + pub palgSupportedAlgs: *mut super::super::Cryptography::ALG_ID, +} +#[cfg(feature = "Win32_Security_Cryptography")] +impl ::core::marker::Copy for SecPkgCred_SupportedAlgs {} +#[cfg(feature = "Win32_Security_Cryptography")] +impl ::core::clone::Clone for SecPkgCred_SupportedAlgs { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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_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_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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +pub struct TLS_PARAMETERS { + pub cAlpnIds: u32, + pub rgstrAlpnIds: *mut LSA_UNICODE_STRING, + pub grbitDisabledProtocols: u32, + pub cDisabledCrypto: u32, + pub pDisabledCrypto: *mut CRYPTO_SETTINGS, + pub dwFlags: u32, +} +impl ::core::marker::Copy for TLS_PARAMETERS {} +impl ::core::clone::Clone for TLS_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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)] +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 + } +} +#[repr(C)] +pub struct TRUSTED_CONTROLLERS_INFO { + pub Entries: u32, + pub Names: *mut LSA_UNICODE_STRING, +} +impl ::core::marker::Copy for TRUSTED_CONTROLLERS_INFO {} +impl ::core::clone::Clone for TRUSTED_CONTROLLERS_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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_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_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct TRUSTED_DOMAIN_INFORMATION_EX { + pub Name: LSA_UNICODE_STRING, + pub FlatName: LSA_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct TRUSTED_DOMAIN_INFORMATION_EX2 { + pub Name: LSA_UNICODE_STRING, + pub FlatName: LSA_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)] +pub struct TRUSTED_DOMAIN_NAME_INFO { + pub Name: LSA_UNICODE_STRING, +} +impl ::core::marker::Copy for TRUSTED_DOMAIN_NAME_INFO {} +impl ::core::clone::Clone for TRUSTED_DOMAIN_NAME_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +pub struct TRUSTED_PASSWORD_INFO { + pub Password: LSA_UNICODE_STRING, + pub OldPassword: LSA_UNICODE_STRING, +} +impl ::core::marker::Copy for TRUSTED_PASSWORD_INFO {} +impl ::core::clone::Clone for TRUSTED_PASSWORD_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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 + } +} +#[repr(C, packed(4))] +#[doc = "Required features: `\"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: LSA_UNICODE_STRING, + pub FullName: LSA_UNICODE_STRING, + pub HomeDirectory: LSA_UNICODE_STRING, + pub HomeDirectoryDrive: LSA_UNICODE_STRING, + pub ScriptPath: LSA_UNICODE_STRING, + pub ProfilePath: LSA_UNICODE_STRING, + pub AdminComment: LSA_UNICODE_STRING, + pub WorkStations: LSA_UNICODE_STRING, + pub UserComment: LSA_UNICODE_STRING, + pub Parameters: LSA_UNICODE_STRING, + pub LmPassword: LSA_UNICODE_STRING, + pub NtPassword: LSA_UNICODE_STRING, + pub PrivateData: LSA_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_System_PasswordManagement\"`"] +#[cfg(feature = "Win32_System_PasswordManagement")] +pub struct USER_SESSION_KEY { + pub data: [super::super::super::System::PasswordManagement::CYPHER_BLOCK; 2], +} +#[cfg(feature = "Win32_System_PasswordManagement")] +impl ::core::marker::Copy for USER_SESSION_KEY {} +#[cfg(feature = "Win32_System_PasswordManagement")] +impl ::core::clone::Clone for USER_SESSION_KEY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +pub struct X509Certificate { + pub Version: u32, + pub SerialNumber: [u32; 4], + pub SignatureAlgorithm: super::super::Cryptography::ALG_ID, + 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(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::marker::Copy for X509Certificate {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +impl ::core::clone::Clone for X509Certificate { + fn clone(&self) -> Self { + *self + } +} +pub type _HMAPPER = isize; +#[doc = "Required features: `\"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_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_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_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_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_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_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_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>; +#[doc = "Required features: `\"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_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_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_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_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_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_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_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_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>; +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>; +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_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>; +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_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>; +#[doc = "Required features: `\"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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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>; +#[doc = "Required features: `\"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>; +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_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_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) -> ()>; +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_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_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_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>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PLSA_ADD_CREDENTIAL = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, authenticationpackage: u32, primarykeyvalue: *const LSA_STRING, credentials: *const LSA_STRING) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"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>; +pub type PLSA_ALLOCATE_LSA_HEAP = ::core::option::Option<unsafe extern "system" fn(length: u32) -> *mut ::core::ffi::c_void>; +pub type PLSA_ALLOCATE_PRIVATE_HEAP = ::core::option::Option<unsafe extern "system" fn(length: usize) -> *mut ::core::ffi::c_void>; +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_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_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PLSA_AP_INITIALIZE_PACKAGE = ::core::option::Option<unsafe extern "system" fn(authenticationpackageid: u32, lsadispatchtable: *const LSA_DISPATCH_TABLE, database: *const LSA_STRING, confidentiality: *const LSA_STRING, authenticationpackagename: *mut *mut LSA_STRING) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"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_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 LSA_UNICODE_STRING, authenticatingauthority: *mut *mut LSA_UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"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 LSA_UNICODE_STRING, authenticatingauthority: *mut *mut LSA_UNICODE_STRING, machinename: *mut *mut LSA_UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"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 LSA_UNICODE_STRING, authenticatingauthority: *mut *mut LSA_UNICODE_STRING, machinename: *mut *mut LSA_UNICODE_STRING, primarycredentials: *mut SECPKG_PRIMARY_CRED, supplementalcredentials: *mut *mut SECPKG_SUPPLEMENTAL_CRED_ARRAY) -> super::super::super::Foundation::NTSTATUS, +>; +#[doc = "Required features: `\"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 LSA_UNICODE_STRING, + authenticatingauthority: *mut *mut LSA_UNICODE_STRING, + machinename: *mut *mut LSA_UNICODE_STRING, + primarycredentials: *mut SECPKG_PRIMARY_CRED, + supplementalcredentials: *mut *mut SECPKG_SUPPLEMENTAL_CRED_ARRAY, + ) -> super::super::super::Foundation::NTSTATUS, +>; +#[doc = "Required features: `\"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 LSA_UNICODE_STRING, + authenticatingauthority: *const LSA_UNICODE_STRING, + machinename: *const LSA_UNICODE_STRING, + primarycredentials: *const SECPKG_PRIMARY_CRED, + supplementalcredentials: *const SECPKG_SUPPLEMENTAL_CRED_ARRAY, + ) -> super::super::super::Foundation::NTSTATUS, +>; +#[doc = "Required features: `\"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_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 LSA_UNICODE_STRING, clientname: *const LSA_UNICODE_STRING, mappedname: *const LSA_UNICODE_STRING, status: super::super::super::Foundation::NTSTATUS) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"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 LSA_UNICODE_STRING, authenticatingauthority: *const LSA_UNICODE_STRING, workstationname: *const LSA_UNICODE_STRING, usersid: super::super::super::Foundation::PSID, logontype: SECURITY_LOGON_TYPE, tokensource: *const super::super::TOKEN_SOURCE, logonid: *const super::super::super::Foundation::LUID) -> ()>; +#[doc = "Required features: `\"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 LSA_UNICODE_STRING, authenticatingauthority: *const LSA_UNICODE_STRING, workstationname: *const LSA_UNICODE_STRING, usersid: super::super::super::Foundation::PSID, logontype: SECURITY_LOGON_TYPE, impersonationlevel: super::super::SECURITY_IMPERSONATION_LEVEL, tokensource: *const super::super::TOKEN_SOURCE, logonid: *const super::super::super::Foundation::LUID) -> ()>; +#[doc = "Required features: `\"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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PLSA_CALL_PACKAGE = ::core::option::Option<unsafe extern "system" fn(authenticationpackage: *const LSA_UNICODE_STRING, protocolsubmitbuffer: *const ::core::ffi::c_void, submitbufferlength: u32, protocolreturnbuffer: *mut *mut ::core::ffi::c_void, returnbufferlength: *mut u32, protocolstatus: *mut i32) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PLSA_CALL_PACKAGEEX = ::core::option::Option<unsafe extern "system" fn(authenticationpackage: *const LSA_UNICODE_STRING, clientbufferbase: *const ::core::ffi::c_void, protocolsubmitbuffer: *const ::core::ffi::c_void, submitbufferlength: u32, protocolreturnbuffer: *mut *mut ::core::ffi::c_void, returnbufferlength: *mut u32, protocolstatus: *mut i32) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PLSA_CALL_PACKAGE_PASSTHROUGH = ::core::option::Option<unsafe extern "system" fn(authenticationpackage: *const LSA_UNICODE_STRING, clientbufferbase: *const ::core::ffi::c_void, protocolsubmitbuffer: *const ::core::ffi::c_void, submitbufferlength: u32, protocolreturnbuffer: *mut *mut ::core::ffi::c_void, returnbufferlength: *mut u32, protocolstatus: *mut i32) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"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_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_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_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_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 LSA_UNICODE_STRING, token: *mut super::super::super::Foundation::HANDLE, logonid: *mut super::super::super::Foundation::LUID, accountname: *mut LSA_UNICODE_STRING, substatus: *mut i32) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"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_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_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 LSA_UNICODE_STRING, prefix: *const LSA_UNICODE_STRING, requestedformat: u32, crackedname: *mut LSA_UNICODE_STRING, dnsdomainname: *mut LSA_UNICODE_STRING, substatus: *mut u32) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"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>; +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_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_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 LSA_UNICODE_STRING, authorityname: *const LSA_UNICODE_STRING, workstation: *const LSA_UNICODE_STRING, profilepath: *const LSA_UNICODE_STRING, token: *mut super::super::super::Foundation::HANDLE, substatus: *mut i32) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"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 LSA_UNICODE_STRING, profilepath: *const LSA_UNICODE_STRING, sessioninformation: *const ::core::ffi::c_void, sessioninformationtype: SECPKG_SESSIONINFO_TYPE, token: *mut super::super::super::Foundation::HANDLE, substatus: *mut i32) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PLSA_DELETE_CREDENTIAL = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, authenticationpackage: u32, primarykeyvalue: *const LSA_STRING) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"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_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_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_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_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>; +pub type PLSA_FREE_LSA_HEAP = ::core::option::Option<unsafe extern "system" fn(base: *const ::core::ffi::c_void) -> ()>; +pub type PLSA_FREE_PRIVATE_HEAP = ::core::option::Option<unsafe extern "system" fn(base: *const ::core::ffi::c_void) -> ()>; +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_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PLSA_GET_AUTH_DATA_FOR_USER = ::core::option::Option<unsafe extern "system" fn(name: *const SECURITY_STRING, nametype: SECPKG_NAME_TYPE, prefix: *const SECURITY_STRING, userauthdata: *mut *mut u8, userauthdatasize: *mut u32, userflatname: *mut LSA_UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"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_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PLSA_GET_CLIENT_INFO_EX = ::core::option::Option<unsafe extern "system" fn(clientinfo: *mut SECPKG_CLIENT_INFO_EX, structsize: u32) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PLSA_GET_CREDENTIALS = ::core::option::Option<unsafe extern "system" fn(logonid: *const super::super::super::Foundation::LUID, authenticationpackage: u32, querycontext: *mut u32, retrieveallcredentials: super::super::super::Foundation::BOOLEAN, primarykeyvalue: *const LSA_STRING, primarykeylength: *mut u32, credentials: *const LSA_STRING) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PLSA_GET_SERVICE_ACCOUNT_PASSWORD = ::core::option::Option<unsafe extern "system" fn(accountname: *const LSA_UNICODE_STRING, domainname: *const LSA_UNICODE_STRING, credfetch: CRED_FETCH, filetimeexpiry: *mut super::super::super::Foundation::FILETIME, currentpassword: *mut LSA_UNICODE_STRING, previouspassword: *mut LSA_UNICODE_STRING, filetimecurrpwdvalidforoutbound: *mut super::super::super::Foundation::FILETIME) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"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_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PLSA_IMPERSONATE_CLIENT = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Foundation::NTSTATUS>; +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_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PLSA_OPEN_SAM_USER = ::core::option::Option<unsafe extern "system" fn(name: *const SECURITY_STRING, nametype: SECPKG_NAME_TYPE, prefix: *const SECURITY_STRING, allowguest: super::super::super::Foundation::BOOLEAN, reserved: u32, userhandle: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"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>; +pub type PLSA_PROTECT_MEMORY = ::core::option::Option<unsafe extern "system" fn(buffer: *mut ::core::ffi::c_void, buffersize: u32) -> ()>; +#[doc = "Required features: `\"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_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_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_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PLSA_REDIRECTED_LOGON_GET_SID = ::core::option::Option<unsafe extern "system" fn(redirectedlogonhandle: super::super::super::Foundation::HANDLE, sid: *mut super::super::super::Foundation::PSID) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"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_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 LSA_UNICODE_STRING, sessionid: u32, logonid: *const super::super::super::Foundation::LUID) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"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_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_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_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_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_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>; +pub type PSAM_CREDENTIAL_UPDATE_FREE_ROUTINE = ::core::option::Option<unsafe extern "system" fn(p: *const ::core::ffi::c_void) -> ()>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PSAM_CREDENTIAL_UPDATE_NOTIFY_ROUTINE = ::core::option::Option<unsafe extern "system" fn(clearpassword: *const LSA_UNICODE_STRING, oldcredentials: *const ::core::ffi::c_void, oldcredentialsize: u32, useraccountcontrol: u32, upn: *const LSA_UNICODE_STRING, username: *const LSA_UNICODE_STRING, netbiosdomainname: *const LSA_UNICODE_STRING, dnsdomainname: *const LSA_UNICODE_STRING, newcredentials: *mut *mut ::core::ffi::c_void, newcredentialsize: *mut u32) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PSAM_CREDENTIAL_UPDATE_REGISTER_ROUTINE = ::core::option::Option<unsafe extern "system" fn(credentialname: *mut LSA_UNICODE_STRING) -> super::super::super::Foundation::BOOLEAN>; +#[doc = "Required features: `\"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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PSAM_PASSWORD_FILTER_ROUTINE = ::core::option::Option<unsafe extern "system" fn(accountname: *const LSA_UNICODE_STRING, fullname: *const LSA_UNICODE_STRING, password: *const LSA_UNICODE_STRING, setoperation: super::super::super::Foundation::BOOLEAN) -> super::super::super::Foundation::BOOLEAN>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PSAM_PASSWORD_NOTIFICATION_ROUTINE = ::core::option::Option<unsafe extern "system" fn(username: *mut LSA_UNICODE_STRING, relativeid: u32, newpassword: *mut LSA_UNICODE_STRING) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"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_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_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_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_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_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_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_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_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>; +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>; +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_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>; +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) -> ()>; +#[doc = "Required features: `\"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_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_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_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>; +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +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_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_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_Foundation\"`, `\"Win32_Security_Cryptography\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +pub type SSL_FREE_CERTIFICATE_FN = ::core::option::Option<unsafe extern "system" fn(pcertificate: *mut X509Certificate) -> ()>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type SpAcceptCredentialsFn = ::core::option::Option<unsafe extern "system" fn(logontype: SECURITY_LOGON_TYPE, accountname: *const LSA_UNICODE_STRING, primarycredentials: *const SECPKG_PRIMARY_CRED, supplementalcredentials: *const SECPKG_SUPPLEMENTAL_CRED) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type SpAcquireCredentialsHandleFn = ::core::option::Option<unsafe extern "system" fn(principalname: *const LSA_UNICODE_STRING, credentialuseflags: u32, logonid: *const super::super::super::Foundation::LUID, authorizationdata: *const ::core::ffi::c_void, getkeyfunciton: *const ::core::ffi::c_void, getkeyargument: *const ::core::ffi::c_void, credentialhandle: *mut usize, expirationtime: *mut i64) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type SpAddCredentialsFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, principalname: *const LSA_UNICODE_STRING, package: *const LSA_UNICODE_STRING, credentialuseflags: u32, authorizationdata: *const ::core::ffi::c_void, getkeyfunciton: *const ::core::ffi::c_void, getkeyargument: *const ::core::ffi::c_void, expirationtime: *mut i64) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type SpChangeAccountPasswordFn = ::core::option::Option<unsafe extern "system" fn(pdomainname: *const LSA_UNICODE_STRING, paccountname: *const LSA_UNICODE_STRING, poldpassword: *const LSA_UNICODE_STRING, pnewpassword: *const LSA_UNICODE_STRING, impersonating: super::super::super::Foundation::BOOLEAN, poutput: *mut SecBufferDesc) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"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_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_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type SpExchangeMetaDataFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, targetname: *const LSA_UNICODE_STRING, contextrequirements: u32, metadatalength: u32, metadata: *const u8, contexthandle: *mut usize) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type SpExtractTargetInfoFn = ::core::option::Option<unsafe extern "system" fn(clientrequest: *const *const ::core::ffi::c_void, protocolsubmitbuffer: *const ::core::ffi::c_void, clientbufferbase: *const ::core::ffi::c_void, submitbufferlength: u32, ppvtargetinfo: *mut *mut ::core::ffi::c_void, pcbtargetinfo: *mut u32) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"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_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_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_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_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_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_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type SpGetRemoteCredGuardLogonBufferFn = ::core::option::Option<unsafe extern "system" fn(credhandle: usize, contexthandle: usize, targetname: *const LSA_UNICODE_STRING, redirectedlogonhandle: *mut super::super::super::Foundation::HANDLE, callback: *mut PLSA_REDIRECTED_LOGON_CALLBACK, cleanupcallback: *mut PLSA_REDIRECTED_LOGON_CLEANUP_CALLBACK, logonbuffersize: *mut u32, logonbuffer: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type SpGetRemoteCredGuardSupplementalCredsFn = ::core::option::Option<unsafe extern "system" fn(credhandle: usize, targetname: *const LSA_UNICODE_STRING, redirectedlogonhandle: *mut super::super::super::Foundation::HANDLE, callback: *mut PLSA_REDIRECTED_LOGON_CALLBACK, cleanupcallback: *mut PLSA_REDIRECTED_LOGON_CLEANUP_CALLBACK, supplementalcredssize: *mut u32, supplementalcreds: *mut *mut ::core::ffi::c_void) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"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_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_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type SpInitLsaModeContextFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, contexthandle: usize, targetname: *const LSA_UNICODE_STRING, contextrequirements: u32, targetdatarep: u32, inputbuffers: *const SecBufferDesc, newcontexthandle: *mut usize, outputbuffers: *mut SecBufferDesc, contextattributes: *mut u32, expirationtime: *mut i64, mappedcontext: *mut super::super::super::Foundation::BOOLEAN, contextdata: *mut SecBuffer) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"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_Foundation\"`, `\"Win32_Security_Credentials\"`, `\"Win32_System_Threading\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", 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_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_Foundation\"`, `\"Win32_Security_Credentials\"`, `\"Win32_System_Threading\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Credentials", 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_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_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_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_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_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type SpQueryMetaDataFn = ::core::option::Option<unsafe extern "system" fn(credentialhandle: usize, targetname: *const LSA_UNICODE_STRING, contextrequirements: u32, metadatalength: *mut u32, metadata: *mut *mut u8, contexthandle: *mut usize) -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"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_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_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_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_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type SpShutdownFn = ::core::option::Option<unsafe extern "system" fn() -> super::super::super::Foundation::NTSTATUS>; +#[doc = "Required features: `\"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_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_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_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_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_Foundation\"`, `\"Win32_Security_Cryptography\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +pub type SslDeserializeCertificateStoreFn = ::core::option::Option<unsafe extern "system" fn(serializedcertificatestore: super::super::Cryptography::CRYPT_INTEGER_BLOB, ppcertcontext: *mut *mut super::super::Cryptography::CERT_CONTEXT) -> ::windows_sys::core::HRESULT>; +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>; +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_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>; 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 0000000..1d34a99 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/Security/Authentication/mod.rs @@ -0,0 +1,3 @@ +#[cfg(feature = "Win32_Security_Authentication_Identity")] +#[doc = "Required features: `\"Win32_Security_Authentication_Identity\"`"] +pub mod Identity; 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 0000000..75767cc --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/Security/Authorization/mod.rs @@ -0,0 +1,1362 @@ +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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 AUTHZ_ACCESS_CHECK_RESULTS_HANDLE) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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 AUTHZ_CLIENT_CONTEXT_HANDLE) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuthzEnumerateSecurityEventSources(dwflags : u32, buffer : *mut AUTHZ_SOURCE_SCHEMA_REGISTRATION, pdwcount : *mut u32, pdwlength : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuthzFreeAuditEvent(hauditevent : AUTHZ_AUDIT_EVENT_HANDLE) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuthzFreeCentralAccessPolicyCache() -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuthzFreeContext(hauthzclientcontext : AUTHZ_CLIENT_CONTEXT_HANDLE) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuthzFreeHandle(haccesscheckresults : AUTHZ_ACCESS_CHECK_RESULTS_HANDLE) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuthzFreeResourceManager(hauthzresourcemanager : AUTHZ_RESOURCE_MANAGER_HANDLE) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuthzInitializeCompoundContext(usercontext : AUTHZ_CLIENT_CONTEXT_HANDLE, devicecontext : AUTHZ_CLIENT_CONTEXT_HANDLE, phcompoundcontext : *mut AUTHZ_CLIENT_CONTEXT_HANDLE) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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 AUTHZ_CLIENT_CONTEXT_HANDLE) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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 AUTHZ_CLIENT_CONTEXT_HANDLE) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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 AUTHZ_CLIENT_CONTEXT_HANDLE) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] 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 AUTHZ_AUDIT_EVENT_HANDLE, dwadditionalparametercount : u32, ...) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] 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 AUTHZ_AUDIT_EVENT_HANDLE, dwadditionalparametercount : u32, ...) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuthzInitializeRemoteResourceManager(prpcinitinfo : *const AUTHZ_RPC_INIT_INFO_CLIENT, phauthzresourcemanager : *mut AUTHZ_RESOURCE_MANAGER_HANDLE) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuthzInitializeResourceManagerEx(flags : AUTHZ_RESOURCE_MANAGER_FLAGS, pauthzinitinfo : *const AUTHZ_INIT_INFO, phauthzresourcemanager : *mut AUTHZ_RESOURCE_MANAGER_HANDLE) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuthzInstallSecurityEventSource(dwflags : u32, pregistration : *const AUTHZ_SOURCE_SCHEMA_REGISTRATION) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuthzModifySecurityAttributes(hauthzclientcontext : AUTHZ_CLIENT_CONTEXT_HANDLE, poperations : *const AUTHZ_SECURITY_ATTRIBUTE_OPERATION, pattributes : *const AUTHZ_SECURITY_ATTRIBUTES_INFORMATION) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Threading"))] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`"] fn AuthzRegisterCapChangeNotification(phcapchangesubscription : *mut AUTHZ_CAP_CHANGE_SUBSCRIPTION_HANDLE, pfncapchangecallback : super::super::System::Threading:: LPTHREAD_START_ROUTINE, pcallbackcontext : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuthzRegisterSecurityEventSource(dwflags : u32, szeventsourcename : ::windows_sys::core::PCWSTR, pheventprovider : *mut AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "cdecl" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuthzReportSecurityEvent(dwflags : u32, heventprovider : AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE, dwauditid : u32, pusersid : super::super::Foundation:: PSID, dwcount : u32, ...) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuthzSetAppContainerInformation(hauthzclientcontext : AUTHZ_CLIENT_CONTEXT_HANDLE, pappcontainersid : super::super::Foundation:: PSID, capabilitycount : u32, pcapabilitysids : *const super:: SID_AND_ATTRIBUTES) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuthzUninstallSecurityEventSource(dwflags : u32, szeventsourcename : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuthzUnregisterCapChangeNotification(hcapchangesubscription : AUTHZ_CAP_CHANGE_SUBSCRIPTION_HANDLE) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("authz.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AuthzUnregisterSecurityEventSource(dwflags : u32, pheventprovider : *mut AUTHZ_SECURITY_EVENT_PROVIDER_HANDLE) -> super::super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" fn BuildExplicitAccessWithNameA(pexplicitaccess : *mut EXPLICIT_ACCESS_A, ptrusteename : ::windows_sys::core::PCSTR, accesspermissions : u32, accessmode : ACCESS_MODE, inheritance : super:: ACE_FLAGS) -> ()); +::windows_targets::link!("advapi32.dll" "system" fn BuildExplicitAccessWithNameW(pexplicitaccess : *mut EXPLICIT_ACCESS_W, ptrusteename : ::windows_sys::core::PCWSTR, accesspermissions : u32, accessmode : ACCESS_MODE, inheritance : super:: ACE_FLAGS) -> ()); +::windows_targets::link!("advapi32.dll" "system" fn BuildImpersonateExplicitAccessWithNameA(pexplicitaccess : *mut EXPLICIT_ACCESS_A, ptrusteename : ::windows_sys::core::PCSTR, ptrustee : *const TRUSTEE_A, accesspermissions : u32, accessmode : ACCESS_MODE, inheritance : u32) -> ()); +::windows_targets::link!("advapi32.dll" "system" fn BuildImpersonateExplicitAccessWithNameW(pexplicitaccess : *mut EXPLICIT_ACCESS_W, ptrusteename : ::windows_sys::core::PCWSTR, ptrustee : *const TRUSTEE_W, accesspermissions : u32, accessmode : ACCESS_MODE, inheritance : u32) -> ()); +::windows_targets::link!("advapi32.dll" "system" fn BuildImpersonateTrusteeA(ptrustee : *mut TRUSTEE_A, pimpersonatetrustee : *const TRUSTEE_A) -> ()); +::windows_targets::link!("advapi32.dll" "system" fn BuildImpersonateTrusteeW(ptrustee : *mut TRUSTEE_W, pimpersonatetrustee : *const TRUSTEE_W) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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) -> super::super::Foundation:: WIN32_ERROR); +::windows_targets::link!("advapi32.dll" "system" fn BuildTrusteeWithNameA(ptrustee : *mut TRUSTEE_A, pname : ::windows_sys::core::PCSTR) -> ()); +::windows_targets::link!("advapi32.dll" "system" fn BuildTrusteeWithNameW(ptrustee : *mut TRUSTEE_W, pname : ::windows_sys::core::PCWSTR) -> ()); +::windows_targets::link!("advapi32.dll" "system" 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) -> ()); +::windows_targets::link!("advapi32.dll" "system" 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) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BuildTrusteeWithSidA(ptrustee : *mut TRUSTEE_A, psid : super::super::Foundation:: PSID) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BuildTrusteeWithSidW(ptrustee : *mut TRUSTEE_W, psid : super::super::Foundation:: PSID) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ConvertSecurityDescriptorToStringSecurityDescriptorA(securitydescriptor : super:: PSECURITY_DESCRIPTOR, requestedstringsdrevision : u32, securityinformation : super:: OBJECT_SECURITY_INFORMATION, stringsecuritydescriptor : *mut ::windows_sys::core::PSTR, stringsecuritydescriptorlen : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ConvertSecurityDescriptorToStringSecurityDescriptorW(securitydescriptor : super:: PSECURITY_DESCRIPTOR, requestedstringsdrevision : u32, securityinformation : super:: OBJECT_SECURITY_INFORMATION, stringsecuritydescriptor : *mut ::windows_sys::core::PWSTR, stringsecuritydescriptorlen : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ConvertSidToStringSidA(sid : super::super::Foundation:: PSID, stringsid : *mut ::windows_sys::core::PSTR) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ConvertSidToStringSidW(sid : super::super::Foundation:: PSID, stringsid : *mut ::windows_sys::core::PWSTR) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ConvertStringSecurityDescriptorToSecurityDescriptorA(stringsecuritydescriptor : ::windows_sys::core::PCSTR, stringsdrevision : u32, securitydescriptor : *mut super:: PSECURITY_DESCRIPTOR, securitydescriptorsize : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ConvertStringSecurityDescriptorToSecurityDescriptorW(stringsecuritydescriptor : ::windows_sys::core::PCWSTR, stringsdrevision : u32, securitydescriptor : *mut super:: PSECURITY_DESCRIPTOR, securitydescriptorsize : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ConvertStringSidToSidA(stringsid : ::windows_sys::core::PCSTR, sid : *mut super::super::Foundation:: PSID) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ConvertStringSidToSidW(stringsid : ::windows_sys::core::PCWSTR, sid : *mut super::super::Foundation:: PSID) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FreeInheritedFromArray(pinheritarray : *const INHERITED_FROMW, acecnt : u16, pfnarray : *const FN_OBJECT_MGR_FUNCTS) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetAuditedPermissionsFromAclA(pacl : *const super:: ACL, ptrustee : *const TRUSTEE_A, psuccessfulauditedrights : *mut u32, pfailedauditrights : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetAuditedPermissionsFromAclW(pacl : *const super:: ACL, ptrustee : *const TRUSTEE_W, psuccessfulauditedrights : *mut u32, pfailedauditrights : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetEffectiveRightsFromAclA(pacl : *const super:: ACL, ptrustee : *const TRUSTEE_A, paccessrights : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetEffectiveRightsFromAclW(pacl : *const super:: ACL, ptrustee : *const TRUSTEE_W, paccessrights : *mut u32) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetExplicitEntriesFromAclA(pacl : *const super:: ACL, pccountofexplicitentries : *mut u32, plistofexplicitentries : *mut *mut EXPLICIT_ACCESS_A) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetExplicitEntriesFromAclW(pacl : *const super:: ACL, pccountofexplicitentries : *mut u32, plistofexplicitentries : *mut *mut EXPLICIT_ACCESS_W) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetInheritanceSourceA(pobjectname : ::windows_sys::core::PCSTR, objecttype : SE_OBJECT_TYPE, securityinfo : super:: OBJECT_SECURITY_INFORMATION, container : super::super::Foundation:: BOOL, pobjectclassguids : *const *const ::windows_sys::core::GUID, guidcount : u32, pacl : *const super:: ACL, pfnarray : *const FN_OBJECT_MGR_FUNCTS, pgenericmapping : *const super:: GENERIC_MAPPING, pinheritarray : *mut INHERITED_FROMA) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetInheritanceSourceW(pobjectname : ::windows_sys::core::PCWSTR, objecttype : SE_OBJECT_TYPE, securityinfo : super:: OBJECT_SECURITY_INFORMATION, container : super::super::Foundation:: BOOL, pobjectclassguids : *const *const ::windows_sys::core::GUID, guidcount : u32, pacl : *const super:: ACL, pfnarray : *const FN_OBJECT_MGR_FUNCTS, pgenericmapping : *const super:: GENERIC_MAPPING, pinheritarray : *mut INHERITED_FROMW) -> super::super::Foundation:: WIN32_ERROR); +::windows_targets::link!("advapi32.dll" "system" fn GetMultipleTrusteeA(ptrustee : *const TRUSTEE_A) -> *mut TRUSTEE_A); +::windows_targets::link!("advapi32.dll" "system" fn GetMultipleTrusteeOperationA(ptrustee : *const TRUSTEE_A) -> MULTIPLE_TRUSTEE_OPERATION); +::windows_targets::link!("advapi32.dll" "system" fn GetMultipleTrusteeOperationW(ptrustee : *const TRUSTEE_W) -> MULTIPLE_TRUSTEE_OPERATION); +::windows_targets::link!("advapi32.dll" "system" fn GetMultipleTrusteeW(ptrustee : *const TRUSTEE_W) -> *mut TRUSTEE_W); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetSecurityInfo(handle : super::super::Foundation:: HANDLE, 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); +::windows_targets::link!("advapi32.dll" "system" fn GetTrusteeFormA(ptrustee : *const TRUSTEE_A) -> TRUSTEE_FORM); +::windows_targets::link!("advapi32.dll" "system" fn GetTrusteeFormW(ptrustee : *const TRUSTEE_W) -> TRUSTEE_FORM); +::windows_targets::link!("advapi32.dll" "system" fn GetTrusteeNameA(ptrustee : *const TRUSTEE_A) -> ::windows_sys::core::PSTR); +::windows_targets::link!("advapi32.dll" "system" fn GetTrusteeNameW(ptrustee : *const TRUSTEE_W) -> ::windows_sys::core::PWSTR); +::windows_targets::link!("advapi32.dll" "system" fn GetTrusteeTypeA(ptrustee : *const TRUSTEE_A) -> TRUSTEE_TYPE); +::windows_targets::link!("advapi32.dll" "system" fn GetTrusteeTypeW(ptrustee : *const TRUSTEE_W) -> TRUSTEE_TYPE); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetEntriesInAclA(ccountofexplicitentries : u32, plistofexplicitentries : *const EXPLICIT_ACCESS_A, oldacl : *const super:: ACL, newacl : *mut *mut super:: ACL) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetEntriesInAclW(ccountofexplicitentries : u32, plistofexplicitentries : *const EXPLICIT_ACCESS_W, oldacl : *const super:: ACL, newacl : *mut *mut super:: ACL) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetSecurityInfo(handle : super::super::Foundation:: HANDLE, 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) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TreeResetNamedSecurityInfoA(pobjectname : ::windows_sys::core::PCSTR, objecttype : SE_OBJECT_TYPE, securityinfo : super:: OBJECT_SECURITY_INFORMATION, 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) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TreeResetNamedSecurityInfoW(pobjectname : ::windows_sys::core::PCWSTR, objecttype : SE_OBJECT_TYPE, securityinfo : super:: OBJECT_SECURITY_INFORMATION, 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) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TreeSetNamedSecurityInfoA(pobjectname : ::windows_sys::core::PCSTR, objecttype : SE_OBJECT_TYPE, securityinfo : super:: OBJECT_SECURITY_INFORMATION, 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) -> super::super::Foundation:: WIN32_ERROR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn TreeSetNamedSecurityInfoW(pobjectname : ::windows_sys::core::PCWSTR, objecttype : SE_OBJECT_TYPE, securityinfo : super:: OBJECT_SECURITY_INFORMATION, 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) -> super::super::Foundation:: WIN32_ERROR); +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; +pub const ACCCTRL_DEFAULT_PROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Windows NT Access Provider"); +pub const ACCCTRL_DEFAULT_PROVIDERA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Windows NT Access Provider"); +pub const ACCCTRL_DEFAULT_PROVIDERW: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Windows NT Access Provider"); +pub const ACTRL_ACCESS_ALLOWED: ACTRL_ACCESS_ENTRY_ACCESS_FLAGS = 1u32; +pub const ACTRL_ACCESS_DENIED: ACTRL_ACCESS_ENTRY_ACCESS_FLAGS = 2u32; +pub const ACTRL_ACCESS_NO_OPTIONS: u32 = 0u32; +pub const ACTRL_ACCESS_PROTECTED: u32 = 1u32; +pub const ACTRL_ACCESS_SUPPORTS_OBJECT_ENTRIES: u32 = 1u32; +pub const ACTRL_AUDIT_FAILURE: ACTRL_ACCESS_ENTRY_ACCESS_FLAGS = 8u32; +pub const ACTRL_AUDIT_SUCCESS: ACTRL_ACCESS_ENTRY_ACCESS_FLAGS = 4u32; +pub const ACTRL_CHANGE_ACCESS: u32 = 536870912u32; +pub const ACTRL_CHANGE_OWNER: u32 = 1073741824u32; +pub const ACTRL_DELETE: u32 = 134217728u32; +pub const ACTRL_DIR_CREATE_CHILD: u32 = 4u32; +pub const ACTRL_DIR_CREATE_OBJECT: u32 = 2u32; +pub const ACTRL_DIR_DELETE_CHILD: u32 = 64u32; +pub const ACTRL_DIR_LIST: u32 = 1u32; +pub const ACTRL_DIR_TRAVERSE: u32 = 32u32; +pub const ACTRL_FILE_APPEND: u32 = 4u32; +pub const ACTRL_FILE_CREATE_PIPE: u32 = 512u32; +pub const ACTRL_FILE_EXECUTE: u32 = 32u32; +pub const ACTRL_FILE_READ: u32 = 1u32; +pub const ACTRL_FILE_READ_ATTRIB: u32 = 128u32; +pub const ACTRL_FILE_READ_PROP: u32 = 8u32; +pub const ACTRL_FILE_WRITE: u32 = 2u32; +pub const ACTRL_FILE_WRITE_ATTRIB: u32 = 256u32; +pub const ACTRL_FILE_WRITE_PROP: u32 = 16u32; +pub const ACTRL_KERNEL_ALERT: u32 = 1024u32; +pub const ACTRL_KERNEL_CONTROL: u32 = 512u32; +pub const ACTRL_KERNEL_DIMPERSONATE: u32 = 32768u32; +pub const ACTRL_KERNEL_DUP_HANDLE: u32 = 32u32; +pub const ACTRL_KERNEL_GET_CONTEXT: u32 = 2048u32; +pub const ACTRL_KERNEL_GET_INFO: u32 = 256u32; +pub const ACTRL_KERNEL_IMPERSONATE: u32 = 16384u32; +pub const ACTRL_KERNEL_PROCESS: u32 = 64u32; +pub const ACTRL_KERNEL_SET_CONTEXT: u32 = 4096u32; +pub const ACTRL_KERNEL_SET_INFO: u32 = 128u32; +pub const ACTRL_KERNEL_TERMINATE: u32 = 1u32; +pub const ACTRL_KERNEL_THREAD: u32 = 2u32; +pub const ACTRL_KERNEL_TOKEN: u32 = 8192u32; +pub const ACTRL_KERNEL_VM: u32 = 4u32; +pub const ACTRL_KERNEL_VM_READ: u32 = 8u32; +pub const ACTRL_KERNEL_VM_WRITE: u32 = 16u32; +pub const ACTRL_PERM_1: u32 = 1u32; +pub const ACTRL_PERM_10: u32 = 512u32; +pub const ACTRL_PERM_11: u32 = 1024u32; +pub const ACTRL_PERM_12: u32 = 2048u32; +pub const ACTRL_PERM_13: u32 = 4096u32; +pub const ACTRL_PERM_14: u32 = 8192u32; +pub const ACTRL_PERM_15: u32 = 16384u32; +pub const ACTRL_PERM_16: u32 = 32768u32; +pub const ACTRL_PERM_17: u32 = 65536u32; +pub const ACTRL_PERM_18: u32 = 131072u32; +pub const ACTRL_PERM_19: u32 = 262144u32; +pub const ACTRL_PERM_2: u32 = 2u32; +pub const ACTRL_PERM_20: u32 = 524288u32; +pub const ACTRL_PERM_3: u32 = 4u32; +pub const ACTRL_PERM_4: u32 = 8u32; +pub const ACTRL_PERM_5: u32 = 16u32; +pub const ACTRL_PERM_6: u32 = 32u32; +pub const ACTRL_PERM_7: u32 = 64u32; +pub const ACTRL_PERM_8: u32 = 128u32; +pub const ACTRL_PERM_9: u32 = 256u32; +pub const ACTRL_PRINT_JADMIN: u32 = 16u32; +pub const ACTRL_PRINT_PADMIN: u32 = 4u32; +pub const ACTRL_PRINT_PUSE: u32 = 8u32; +pub const ACTRL_PRINT_SADMIN: u32 = 1u32; +pub const ACTRL_PRINT_SLIST: u32 = 2u32; +pub const ACTRL_READ_CONTROL: u32 = 268435456u32; +pub const ACTRL_REG_CREATE_CHILD: u32 = 4u32; +pub const ACTRL_REG_LINK: u32 = 32u32; +pub const ACTRL_REG_LIST: u32 = 8u32; +pub const ACTRL_REG_NOTIFY: u32 = 16u32; +pub const ACTRL_REG_QUERY: u32 = 1u32; +pub const ACTRL_REG_SET: u32 = 2u32; +pub const ACTRL_RESERVED: u32 = 0u32; +pub const ACTRL_STD_RIGHTS_ALL: u32 = 4160749568u32; +pub const ACTRL_SVC_GET_INFO: u32 = 1u32; +pub const ACTRL_SVC_INTERROGATE: u32 = 128u32; +pub const ACTRL_SVC_LIST: u32 = 8u32; +pub const ACTRL_SVC_PAUSE: u32 = 64u32; +pub const ACTRL_SVC_SET_INFO: u32 = 2u32; +pub const ACTRL_SVC_START: u32 = 16u32; +pub const ACTRL_SVC_STATUS: u32 = 4u32; +pub const ACTRL_SVC_STOP: u32 = 32u32; +pub const ACTRL_SVC_UCONTROL: u32 = 256u32; +pub const ACTRL_SYNCHRONIZE: u32 = 2147483648u32; +pub const ACTRL_SYSTEM_ACCESS: u32 = 67108864u32; +pub const ACTRL_WIN_CLIPBRD: u32 = 1u32; +pub const ACTRL_WIN_CREATE: u32 = 4u32; +pub const ACTRL_WIN_EXIT: u32 = 256u32; +pub const ACTRL_WIN_GLOBAL_ATOMS: u32 = 2u32; +pub const ACTRL_WIN_LIST: u32 = 16u32; +pub const ACTRL_WIN_LIST_DESK: u32 = 8u32; +pub const ACTRL_WIN_READ_ATTRIBS: u32 = 32u32; +pub const ACTRL_WIN_SCREEN: u32 = 128u32; +pub const ACTRL_WIN_WRITE_ATTRIBS: u32 = 64u32; +pub const APF_AuditFailure: u32 = 0u32; +pub const APF_AuditSuccess: u32 = 1u32; +pub const APF_ValidFlags: u32 = 1u32; +pub const APT_Guid: AUDIT_PARAM_TYPE = 9i32; +pub const APT_Int64: AUDIT_PARAM_TYPE = 11i32; +pub const APT_IpAddress: AUDIT_PARAM_TYPE = 12i32; +pub const APT_LogonId: AUDIT_PARAM_TYPE = 6i32; +pub const APT_LogonIdWithSid: AUDIT_PARAM_TYPE = 13i32; +pub const APT_Luid: AUDIT_PARAM_TYPE = 8i32; +pub const APT_None: AUDIT_PARAM_TYPE = 1i32; +pub const APT_ObjectTypeList: AUDIT_PARAM_TYPE = 7i32; +pub const APT_Pointer: AUDIT_PARAM_TYPE = 4i32; +pub const APT_Sid: AUDIT_PARAM_TYPE = 5i32; +pub const APT_String: AUDIT_PARAM_TYPE = 2i32; +pub const APT_Time: AUDIT_PARAM_TYPE = 10i32; +pub const APT_Ulong: AUDIT_PARAM_TYPE = 3i32; +pub const AP_ParamTypeBits: u32 = 8u32; +pub const AP_ParamTypeMask: i32 = 255i32; +pub const AUDIT_TYPE_LEGACY: u32 = 1u32; +pub const AUDIT_TYPE_WMI: u32 = 2u32; +pub const AUTHZP_WPD_EVENT: u32 = 16u32; +pub const AUTHZ_ACCESS_CHECK_NO_DEEP_COPY_SD: AUTHZ_ACCESS_CHECK_FLAGS = 1u32; +pub const AUTHZ_ALLOW_MULTIPLE_SOURCE_INSTANCES: u32 = 1u32; +pub const AUTHZ_AUDIT_INSTANCE_INFORMATION: u32 = 2u32; +pub const AUTHZ_COMPUTE_PRIVILEGES: u32 = 8u32; +pub const AUTHZ_FLAG_ALLOW_MULTIPLE_SOURCE_INSTANCES: u32 = 1u32; +pub const AUTHZ_GENERATE_FAILURE_AUDIT: AUTHZ_GENERATE_RESULTS = 2u32; +pub const AUTHZ_GENERATE_SUCCESS_AUDIT: AUTHZ_GENERATE_RESULTS = 1u32; +pub const AUTHZ_INIT_INFO_VERSION_V1: u32 = 1u32; +pub const AUTHZ_MIGRATED_LEGACY_PUBLISHER: u32 = 2u32; +pub const AUTHZ_NO_ALLOC_STRINGS: AUTHZ_INITIALIZE_OBJECT_ACCESS_AUDIT_EVENT_FLAGS = 4u32; +pub const AUTHZ_NO_FAILURE_AUDIT: AUTHZ_INITIALIZE_OBJECT_ACCESS_AUDIT_EVENT_FLAGS = 2u32; +pub const AUTHZ_NO_SUCCESS_AUDIT: AUTHZ_INITIALIZE_OBJECT_ACCESS_AUDIT_EVENT_FLAGS = 1u32; +pub const AUTHZ_REQUIRE_S4U_LOGON: u32 = 4u32; +pub const AUTHZ_RM_FLAG_INITIALIZE_UNDER_IMPERSONATION: AUTHZ_RESOURCE_MANAGER_FLAGS = 2u32; +pub const AUTHZ_RM_FLAG_NO_AUDIT: AUTHZ_RESOURCE_MANAGER_FLAGS = 1u32; +pub const AUTHZ_RM_FLAG_NO_CENTRAL_ACCESS_POLICIES: AUTHZ_RESOURCE_MANAGER_FLAGS = 4u32; +pub const AUTHZ_RPC_INIT_INFO_CLIENT_VERSION_V1: u32 = 1u32; +pub const AUTHZ_SECURITY_ATTRIBUTES_INFORMATION_VERSION: u32 = 1u32; +pub const AUTHZ_SECURITY_ATTRIBUTES_INFORMATION_VERSION_V1: u32 = 1u32; +pub const AUTHZ_SECURITY_ATTRIBUTE_NON_INHERITABLE: AUTHZ_SECURITY_ATTRIBUTE_FLAGS = 1u32; +pub const AUTHZ_SECURITY_ATTRIBUTE_OPERATION_ADD: AUTHZ_SECURITY_ATTRIBUTE_OPERATION = 2i32; +pub const AUTHZ_SECURITY_ATTRIBUTE_OPERATION_DELETE: AUTHZ_SECURITY_ATTRIBUTE_OPERATION = 3i32; +pub const AUTHZ_SECURITY_ATTRIBUTE_OPERATION_NONE: AUTHZ_SECURITY_ATTRIBUTE_OPERATION = 0i32; +pub const AUTHZ_SECURITY_ATTRIBUTE_OPERATION_REPLACE: AUTHZ_SECURITY_ATTRIBUTE_OPERATION = 4i32; +pub const AUTHZ_SECURITY_ATTRIBUTE_OPERATION_REPLACE_ALL: AUTHZ_SECURITY_ATTRIBUTE_OPERATION = 1i32; +pub const AUTHZ_SECURITY_ATTRIBUTE_TYPE_BOOLEAN: u32 = 6u32; +pub const AUTHZ_SECURITY_ATTRIBUTE_TYPE_FQBN: u32 = 4u32; +pub const AUTHZ_SECURITY_ATTRIBUTE_TYPE_INT64: u32 = 1u32; +pub const AUTHZ_SECURITY_ATTRIBUTE_TYPE_INVALID: u32 = 0u32; +pub const AUTHZ_SECURITY_ATTRIBUTE_TYPE_OCTET_STRING: u32 = 16u32; +pub const AUTHZ_SECURITY_ATTRIBUTE_TYPE_SID: u32 = 5u32; +pub const AUTHZ_SECURITY_ATTRIBUTE_TYPE_STRING: u32 = 3u32; +pub const AUTHZ_SECURITY_ATTRIBUTE_TYPE_UINT64: u32 = 2u32; +pub const AUTHZ_SECURITY_ATTRIBUTE_VALUE_CASE_SENSITIVE: AUTHZ_SECURITY_ATTRIBUTE_FLAGS = 2u32; +pub const AUTHZ_SID_OPERATION_ADD: AUTHZ_SID_OPERATION = 2i32; +pub const AUTHZ_SID_OPERATION_DELETE: AUTHZ_SID_OPERATION = 3i32; +pub const AUTHZ_SID_OPERATION_NONE: AUTHZ_SID_OPERATION = 0i32; +pub const AUTHZ_SID_OPERATION_REPLACE: AUTHZ_SID_OPERATION = 4i32; +pub const AUTHZ_SID_OPERATION_REPLACE_ALL: AUTHZ_SID_OPERATION = 1i32; +pub const AUTHZ_SKIP_TOKEN_GROUPS: u32 = 2u32; +pub const AUTHZ_WPD_CATEGORY_FLAG: u32 = 16u32; +pub const AZ_AZSTORE_DEFAULT_DOMAIN_TIMEOUT: AZ_PROP_CONSTANTS = 15000i32; +pub const AZ_AZSTORE_DEFAULT_MAX_SCRIPT_ENGINES: AZ_PROP_CONSTANTS = 120i32; +pub const AZ_AZSTORE_DEFAULT_SCRIPT_ENGINE_TIMEOUT: AZ_PROP_CONSTANTS = 45000i32; +pub const AZ_AZSTORE_FLAG_AUDIT_IS_CRITICAL: AZ_PROP_CONSTANTS = 8i32; +pub const AZ_AZSTORE_FLAG_BATCH_UPDATE: AZ_PROP_CONSTANTS = 4i32; +pub const AZ_AZSTORE_FLAG_CREATE: AZ_PROP_CONSTANTS = 1i32; +pub const AZ_AZSTORE_FLAG_MANAGE_ONLY_PASSIVE_SUBMIT: AZ_PROP_CONSTANTS = 32768i32; +pub const AZ_AZSTORE_FLAG_MANAGE_STORE_ONLY: AZ_PROP_CONSTANTS = 2i32; +pub const AZ_AZSTORE_FORCE_APPLICATION_CLOSE: AZ_PROP_CONSTANTS = 16i32; +pub const AZ_AZSTORE_MIN_DOMAIN_TIMEOUT: AZ_PROP_CONSTANTS = 500i32; +pub const AZ_AZSTORE_MIN_SCRIPT_ENGINE_TIMEOUT: AZ_PROP_CONSTANTS = 5000i32; +pub const AZ_AZSTORE_NT6_FUNCTION_LEVEL: AZ_PROP_CONSTANTS = 32i32; +pub const AZ_CLIENT_CONTEXT_GET_GROUPS_STORE_LEVEL_ONLY: AZ_PROP_CONSTANTS = 2i32; +pub const AZ_CLIENT_CONTEXT_GET_GROUP_RECURSIVE: AZ_PROP_CONSTANTS = 2i32; +pub const AZ_CLIENT_CONTEXT_SKIP_GROUP: AZ_PROP_CONSTANTS = 1i32; +pub const AZ_CLIENT_CONTEXT_SKIP_LDAP_QUERY: AZ_PROP_CONSTANTS = 1i32; +pub const AZ_GROUPTYPE_BASIC: AZ_PROP_CONSTANTS = 2i32; +pub const AZ_GROUPTYPE_BIZRULE: AZ_PROP_CONSTANTS = 3i32; +pub const AZ_GROUPTYPE_LDAP_QUERY: AZ_PROP_CONSTANTS = 1i32; +pub const AZ_MAX_APPLICATION_DATA_LENGTH: AZ_PROP_CONSTANTS = 4096i32; +pub const AZ_MAX_APPLICATION_NAME_LENGTH: AZ_PROP_CONSTANTS = 512i32; +pub const AZ_MAX_APPLICATION_VERSION_LENGTH: AZ_PROP_CONSTANTS = 512i32; +pub const AZ_MAX_BIZRULE_STRING: AZ_PROP_CONSTANTS = 65536i32; +pub const AZ_MAX_DESCRIPTION_LENGTH: AZ_PROP_CONSTANTS = 1024i32; +pub const AZ_MAX_GROUP_BIZRULE_IMPORTED_PATH_LENGTH: AZ_PROP_CONSTANTS = 512i32; +pub const AZ_MAX_GROUP_BIZRULE_LANGUAGE_LENGTH: AZ_PROP_CONSTANTS = 64i32; +pub const AZ_MAX_GROUP_BIZRULE_LENGTH: AZ_PROP_CONSTANTS = 65536i32; +pub const AZ_MAX_GROUP_LDAP_QUERY_LENGTH: AZ_PROP_CONSTANTS = 4096i32; +pub const AZ_MAX_GROUP_NAME_LENGTH: AZ_PROP_CONSTANTS = 64i32; +pub const AZ_MAX_NAME_LENGTH: AZ_PROP_CONSTANTS = 65536i32; +pub const AZ_MAX_OPERATION_NAME_LENGTH: AZ_PROP_CONSTANTS = 64i32; +pub const AZ_MAX_POLICY_URL_LENGTH: AZ_PROP_CONSTANTS = 65536i32; +pub const AZ_MAX_ROLE_NAME_LENGTH: AZ_PROP_CONSTANTS = 64i32; +pub const AZ_MAX_SCOPE_NAME_LENGTH: AZ_PROP_CONSTANTS = 65536i32; +pub const AZ_MAX_TASK_BIZRULE_IMPORTED_PATH_LENGTH: AZ_PROP_CONSTANTS = 512i32; +pub const AZ_MAX_TASK_BIZRULE_LANGUAGE_LENGTH: AZ_PROP_CONSTANTS = 64i32; +pub const AZ_MAX_TASK_BIZRULE_LENGTH: AZ_PROP_CONSTANTS = 65536i32; +pub const AZ_MAX_TASK_NAME_LENGTH: AZ_PROP_CONSTANTS = 64i32; +pub const AZ_PROP_APPLICATION_AUTHZ_INTERFACE_CLSID: AZ_PROP_CONSTANTS = 800i32; +pub const AZ_PROP_APPLICATION_BIZRULE_ENABLED: AZ_PROP_CONSTANTS = 803i32; +pub const AZ_PROP_APPLICATION_DATA: AZ_PROP_CONSTANTS = 4i32; +pub const AZ_PROP_APPLICATION_NAME: AZ_PROP_CONSTANTS = 802i32; +pub const AZ_PROP_APPLICATION_VERSION: AZ_PROP_CONSTANTS = 801i32; +pub const AZ_PROP_APPLY_STORE_SACL: AZ_PROP_CONSTANTS = 900i32; +pub const AZ_PROP_AZSTORE_DOMAIN_TIMEOUT: AZ_PROP_CONSTANTS = 100i32; +pub const AZ_PROP_AZSTORE_MAJOR_VERSION: AZ_PROP_CONSTANTS = 103i32; +pub const AZ_PROP_AZSTORE_MAX_SCRIPT_ENGINES: AZ_PROP_CONSTANTS = 102i32; +pub const AZ_PROP_AZSTORE_MINOR_VERSION: AZ_PROP_CONSTANTS = 104i32; +pub const AZ_PROP_AZSTORE_SCRIPT_ENGINE_TIMEOUT: AZ_PROP_CONSTANTS = 101i32; +pub const AZ_PROP_AZSTORE_TARGET_MACHINE: AZ_PROP_CONSTANTS = 105i32; +pub const AZ_PROP_AZTORE_IS_ADAM_INSTANCE: AZ_PROP_CONSTANTS = 106i32; +pub const AZ_PROP_CHILD_CREATE: AZ_PROP_CONSTANTS = 5i32; +pub const AZ_PROP_CLIENT_CONTEXT_LDAP_QUERY_DN: AZ_PROP_CONSTANTS = 709i32; +pub const AZ_PROP_CLIENT_CONTEXT_ROLE_FOR_ACCESS_CHECK: AZ_PROP_CONSTANTS = 708i32; +pub const AZ_PROP_CLIENT_CONTEXT_USER_CANONICAL: AZ_PROP_CONSTANTS = 704i32; +pub const AZ_PROP_CLIENT_CONTEXT_USER_DISPLAY: AZ_PROP_CONSTANTS = 702i32; +pub const AZ_PROP_CLIENT_CONTEXT_USER_DN: AZ_PROP_CONSTANTS = 700i32; +pub const AZ_PROP_CLIENT_CONTEXT_USER_DNS_SAM_COMPAT: AZ_PROP_CONSTANTS = 707i32; +pub const AZ_PROP_CLIENT_CONTEXT_USER_GUID: AZ_PROP_CONSTANTS = 703i32; +pub const AZ_PROP_CLIENT_CONTEXT_USER_SAM_COMPAT: AZ_PROP_CONSTANTS = 701i32; +pub const AZ_PROP_CLIENT_CONTEXT_USER_UPN: AZ_PROP_CONSTANTS = 705i32; +pub const AZ_PROP_DELEGATED_POLICY_USERS: AZ_PROP_CONSTANTS = 904i32; +pub const AZ_PROP_DELEGATED_POLICY_USERS_NAME: AZ_PROP_CONSTANTS = 907i32; +pub const AZ_PROP_DESCRIPTION: AZ_PROP_CONSTANTS = 2i32; +pub const AZ_PROP_GENERATE_AUDITS: AZ_PROP_CONSTANTS = 901i32; +pub const AZ_PROP_GROUP_APP_MEMBERS: AZ_PROP_CONSTANTS = 401i32; +pub const AZ_PROP_GROUP_APP_NON_MEMBERS: AZ_PROP_CONSTANTS = 402i32; +pub const AZ_PROP_GROUP_BIZRULE: AZ_PROP_CONSTANTS = 408i32; +pub const AZ_PROP_GROUP_BIZRULE_IMPORTED_PATH: AZ_PROP_CONSTANTS = 410i32; +pub const AZ_PROP_GROUP_BIZRULE_LANGUAGE: AZ_PROP_CONSTANTS = 409i32; +pub const AZ_PROP_GROUP_LDAP_QUERY: AZ_PROP_CONSTANTS = 403i32; +pub const AZ_PROP_GROUP_MEMBERS: AZ_PROP_CONSTANTS = 404i32; +pub const AZ_PROP_GROUP_MEMBERS_NAME: AZ_PROP_CONSTANTS = 406i32; +pub const AZ_PROP_GROUP_NON_MEMBERS: AZ_PROP_CONSTANTS = 405i32; +pub const AZ_PROP_GROUP_NON_MEMBERS_NAME: AZ_PROP_CONSTANTS = 407i32; +pub const AZ_PROP_GROUP_TYPE: AZ_PROP_CONSTANTS = 400i32; +pub const AZ_PROP_NAME: AZ_PROP_CONSTANTS = 1i32; +pub const AZ_PROP_OPERATION_ID: AZ_PROP_CONSTANTS = 200i32; +pub const AZ_PROP_POLICY_ADMINS: AZ_PROP_CONSTANTS = 902i32; +pub const AZ_PROP_POLICY_ADMINS_NAME: AZ_PROP_CONSTANTS = 905i32; +pub const AZ_PROP_POLICY_READERS: AZ_PROP_CONSTANTS = 903i32; +pub const AZ_PROP_POLICY_READERS_NAME: AZ_PROP_CONSTANTS = 906i32; +pub const AZ_PROP_ROLE_APP_MEMBERS: AZ_PROP_CONSTANTS = 500i32; +pub const AZ_PROP_ROLE_MEMBERS: AZ_PROP_CONSTANTS = 501i32; +pub const AZ_PROP_ROLE_MEMBERS_NAME: AZ_PROP_CONSTANTS = 505i32; +pub const AZ_PROP_ROLE_OPERATIONS: AZ_PROP_CONSTANTS = 502i32; +pub const AZ_PROP_ROLE_TASKS: AZ_PROP_CONSTANTS = 504i32; +pub const AZ_PROP_SCOPE_BIZRULES_WRITABLE: AZ_PROP_CONSTANTS = 600i32; +pub const AZ_PROP_SCOPE_CAN_BE_DELEGATED: AZ_PROP_CONSTANTS = 601i32; +pub const AZ_PROP_TASK_BIZRULE: AZ_PROP_CONSTANTS = 301i32; +pub const AZ_PROP_TASK_BIZRULE_IMPORTED_PATH: AZ_PROP_CONSTANTS = 304i32; +pub const AZ_PROP_TASK_BIZRULE_LANGUAGE: AZ_PROP_CONSTANTS = 302i32; +pub const AZ_PROP_TASK_IS_ROLE_DEFINITION: AZ_PROP_CONSTANTS = 305i32; +pub const AZ_PROP_TASK_OPERATIONS: AZ_PROP_CONSTANTS = 300i32; +pub const AZ_PROP_TASK_TASKS: AZ_PROP_CONSTANTS = 303i32; +pub const AZ_PROP_WRITABLE: AZ_PROP_CONSTANTS = 3i32; +pub const AZ_SUBMIT_FLAG_ABORT: AZ_PROP_CONSTANTS = 1i32; +pub const AZ_SUBMIT_FLAG_FLUSH: AZ_PROP_CONSTANTS = 2i32; +pub const AuthzAuditEventInfoAdditionalInfo: AUTHZ_AUDIT_EVENT_INFORMATION_CLASS = 5i32; +pub const AuthzAuditEventInfoFlags: AUTHZ_AUDIT_EVENT_INFORMATION_CLASS = 1i32; +pub const AuthzAuditEventInfoObjectName: AUTHZ_AUDIT_EVENT_INFORMATION_CLASS = 4i32; +pub const AuthzAuditEventInfoObjectType: AUTHZ_AUDIT_EVENT_INFORMATION_CLASS = 3i32; +pub const AuthzAuditEventInfoOperationType: AUTHZ_AUDIT_EVENT_INFORMATION_CLASS = 2i32; +pub const AuthzContextInfoAll: AUTHZ_CONTEXT_INFORMATION_CLASS = 9i32; +pub const AuthzContextInfoAppContainerSid: AUTHZ_CONTEXT_INFORMATION_CLASS = 15i32; +pub const AuthzContextInfoAuthenticationId: AUTHZ_CONTEXT_INFORMATION_CLASS = 10i32; +pub const AuthzContextInfoCapabilitySids: AUTHZ_CONTEXT_INFORMATION_CLASS = 16i32; +pub const AuthzContextInfoDeviceClaims: AUTHZ_CONTEXT_INFORMATION_CLASS = 14i32; +pub const AuthzContextInfoDeviceSids: AUTHZ_CONTEXT_INFORMATION_CLASS = 12i32; +pub const AuthzContextInfoExpirationTime: AUTHZ_CONTEXT_INFORMATION_CLASS = 5i32; +pub const AuthzContextInfoGroupsSids: AUTHZ_CONTEXT_INFORMATION_CLASS = 2i32; +pub const AuthzContextInfoIdentifier: AUTHZ_CONTEXT_INFORMATION_CLASS = 7i32; +pub const AuthzContextInfoPrivileges: AUTHZ_CONTEXT_INFORMATION_CLASS = 4i32; +pub const AuthzContextInfoRestrictedSids: AUTHZ_CONTEXT_INFORMATION_CLASS = 3i32; +pub const AuthzContextInfoSecurityAttributes: AUTHZ_CONTEXT_INFORMATION_CLASS = 11i32; +pub const AuthzContextInfoServerContext: AUTHZ_CONTEXT_INFORMATION_CLASS = 6i32; +pub const AuthzContextInfoSource: AUTHZ_CONTEXT_INFORMATION_CLASS = 8i32; +pub const AuthzContextInfoUserClaims: AUTHZ_CONTEXT_INFORMATION_CLASS = 13i32; +pub const AuthzContextInfoUserSid: AUTHZ_CONTEXT_INFORMATION_CLASS = 1i32; +pub const AzAuthorizationStore: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xb2bcff59_a757_4b0b_a1bc_ea69981da69e); +pub const AzBizRuleContext: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5c2dc96f_8d51_434b_b33c_379bccae77c3); +pub const AzPrincipalLocator: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x483afb5d_70df_4e16_abdc_a1de4d015a3e); +pub const DENY_ACCESS: ACCESS_MODE = 3i32; +pub const GRANT_ACCESS: ACCESS_MODE = 1i32; +pub const INHERITED_ACCESS_ENTRY: u32 = 16u32; +pub const INHERITED_GRANDPARENT: u32 = 536870912u32; +pub const INHERITED_PARENT: u32 = 268435456u32; +pub const NOT_USED_ACCESS: ACCESS_MODE = 0i32; +pub const NO_MULTIPLE_TRUSTEE: MULTIPLE_TRUSTEE_OPERATION = 0i32; +pub const OLESCRIPT_E_SYNTAX: ::windows_sys::core::HRESULT = -2147352319i32; +pub const ProgressCancelOperation: PROG_INVOKE_SETTING = 4i32; +pub const ProgressInvokeEveryObject: PROG_INVOKE_SETTING = 2i32; +pub const ProgressInvokeNever: PROG_INVOKE_SETTING = 1i32; +pub const ProgressInvokeOnError: PROG_INVOKE_SETTING = 3i32; +pub const ProgressInvokePrePostError: PROG_INVOKE_SETTING = 6i32; +pub const ProgressRetryOperation: PROG_INVOKE_SETTING = 5i32; +pub const REVOKE_ACCESS: ACCESS_MODE = 4i32; +pub const SDDL_ACCESS_ALLOWED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("A"); +pub const SDDL_ACCESS_CONTROL_ASSISTANCE_OPS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AA"); +pub const SDDL_ACCESS_DENIED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("D"); +pub const SDDL_ACCESS_FILTER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FL"); +pub const SDDL_ACCOUNT_OPERATORS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AO"); +pub const SDDL_ACE_BEGIN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("("); +pub const SDDL_ACE_COND_ATTRIBUTE_PREFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("@"); +pub const SDDL_ACE_COND_BEGIN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("("); +pub const SDDL_ACE_COND_BLOB_PREFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("#"); +pub const SDDL_ACE_COND_DEVICE_ATTRIBUTE_PREFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("@DEVICE."); +pub const SDDL_ACE_COND_END: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(")"); +pub const SDDL_ACE_COND_RESOURCE_ATTRIBUTE_PREFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("@RESOURCE."); +pub const SDDL_ACE_COND_SID_PREFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SID"); +pub const SDDL_ACE_COND_TOKEN_ATTRIBUTE_PREFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("@TOKEN."); +pub const SDDL_ACE_COND_USER_ATTRIBUTE_PREFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("@USER."); +pub const SDDL_ACE_END: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(")"); +pub const SDDL_ALARM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AL"); +pub const SDDL_ALIAS_PREW2KCOMPACC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RU"); +pub const SDDL_ALIAS_SIZE: u32 = 2u32; +pub const SDDL_ALL_APP_PACKAGES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AC"); +pub const SDDL_ANONYMOUS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AN"); +pub const SDDL_AUDIT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AU"); +pub const SDDL_AUDIT_FAILURE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FA"); +pub const SDDL_AUDIT_SUCCESS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SA"); +pub const SDDL_AUTHENTICATED_USERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AU"); +pub const SDDL_AUTHORITY_ASSERTED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AS"); +pub const SDDL_AUTO_INHERITED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AI"); +pub const SDDL_AUTO_INHERIT_REQ: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AR"); +pub const SDDL_BACKUP_OPERATORS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BO"); +pub const SDDL_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TX"); +pub const SDDL_BOOLEAN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TB"); +pub const SDDL_BUILTIN_ADMINISTRATORS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BA"); +pub const SDDL_BUILTIN_GUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BG"); +pub const SDDL_BUILTIN_USERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BU"); +pub const SDDL_CALLBACK_ACCESS_ALLOWED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("XA"); +pub const SDDL_CALLBACK_ACCESS_DENIED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("XD"); +pub const SDDL_CALLBACK_AUDIT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("XU"); +pub const SDDL_CALLBACK_OBJECT_ACCESS_ALLOWED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ZA"); +pub const SDDL_CERTSVC_DCOM_ACCESS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CD"); +pub const SDDL_CERT_SERV_ADMINISTRATORS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CA"); +pub const SDDL_CLONEABLE_CONTROLLERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CN"); +pub const SDDL_CONTAINER_INHERIT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CI"); +pub const SDDL_CONTROL_ACCESS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CR"); +pub const SDDL_CREATE_CHILD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CC"); +pub const SDDL_CREATOR_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CG"); +pub const SDDL_CREATOR_OWNER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CO"); +pub const SDDL_CRITICAL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CR"); +pub const SDDL_CRYPTO_OPERATORS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CY"); +pub const SDDL_DACL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("D"); +pub const SDDL_DELETE_CHILD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DC"); +pub const SDDL_DELETE_TREE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DT"); +pub const SDDL_DELIMINATOR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(":"); +pub const SDDL_DOMAIN_ADMINISTRATORS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DA"); +pub const SDDL_DOMAIN_COMPUTERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DC"); +pub const SDDL_DOMAIN_DOMAIN_CONTROLLERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DD"); +pub const SDDL_DOMAIN_GUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DG"); +pub const SDDL_DOMAIN_USERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DU"); +pub const SDDL_ENTERPRISE_ADMINS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EA"); +pub const SDDL_ENTERPRISE_DOMAIN_CONTROLLERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ED"); +pub const SDDL_ENTERPRISE_KEY_ADMINS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EK"); +pub const SDDL_ENTERPRISE_RO_DCs: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RO"); +pub const SDDL_EVENT_LOG_READERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ER"); +pub const SDDL_EVERYONE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WD"); +pub const SDDL_FILE_ALL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FA"); +pub const SDDL_FILE_EXECUTE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FX"); +pub const SDDL_FILE_READ: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FR"); +pub const SDDL_FILE_WRITE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FW"); +pub const SDDL_GENERIC_ALL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("GA"); +pub const SDDL_GENERIC_EXECUTE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("GX"); +pub const SDDL_GENERIC_READ: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("GR"); +pub const SDDL_GENERIC_WRITE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("GW"); +pub const SDDL_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("G"); +pub const SDDL_GROUP_POLICY_ADMINS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PA"); +pub const SDDL_HYPER_V_ADMINS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HA"); +pub const SDDL_IIS_USERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IS"); +pub const SDDL_INHERITED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ID"); +pub const SDDL_INHERIT_ONLY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IO"); +pub const SDDL_INT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TI"); +pub const SDDL_INTERACTIVE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IU"); +pub const SDDL_KEY_ADMINS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KA"); +pub const SDDL_KEY_ALL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KA"); +pub const SDDL_KEY_EXECUTE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KX"); +pub const SDDL_KEY_READ: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KR"); +pub const SDDL_KEY_WRITE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KW"); +pub const SDDL_LIST_CHILDREN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LC"); +pub const SDDL_LIST_OBJECT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LO"); +pub const SDDL_LOCAL_ADMIN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LA"); +pub const SDDL_LOCAL_GUEST: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LG"); +pub const SDDL_LOCAL_SERVICE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LS"); +pub const SDDL_LOCAL_SYSTEM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SY"); +pub const SDDL_MANDATORY_LABEL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ML"); +pub const SDDL_ML_HIGH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HI"); +pub const SDDL_ML_LOW: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LW"); +pub const SDDL_ML_MEDIUM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ME"); +pub const SDDL_ML_MEDIUM_PLUS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MP"); +pub const SDDL_ML_SYSTEM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SI"); +pub const SDDL_NETWORK: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NU"); +pub const SDDL_NETWORK_CONFIGURATION_OPS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NO"); +pub const SDDL_NETWORK_SERVICE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NS"); +pub const SDDL_NO_EXECUTE_UP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NX"); +pub const SDDL_NO_PROPAGATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NP"); +pub const SDDL_NO_READ_UP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NR"); +pub const SDDL_NO_WRITE_UP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NW"); +pub const SDDL_NULL_ACL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NO_ACCESS_CONTROL"); +pub const SDDL_OBJECT_ACCESS_ALLOWED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("OA"); +pub const SDDL_OBJECT_ACCESS_DENIED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("OD"); +pub const SDDL_OBJECT_ALARM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("OL"); +pub const SDDL_OBJECT_AUDIT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("OU"); +pub const SDDL_OBJECT_INHERIT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("OI"); +pub const SDDL_OWNER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("O"); +pub const SDDL_OWNER_RIGHTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("OW"); +pub const SDDL_PERFLOG_USERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LU"); +pub const SDDL_PERFMON_USERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MU"); +pub const SDDL_PERSONAL_SELF: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PS"); +pub const SDDL_POWER_USERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PU"); +pub const SDDL_PRINTER_OPERATORS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PO"); +pub const SDDL_PROCESS_TRUST_LABEL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TL"); +pub const SDDL_PROTECTED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("P"); +pub const SDDL_PROTECTED_USERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AP"); +pub const SDDL_RAS_SERVERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RS"); +pub const SDDL_RDS_ENDPOINT_SERVERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ES"); +pub const SDDL_RDS_MANAGEMENT_SERVERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MS"); +pub const SDDL_RDS_REMOTE_ACCESS_SERVERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RA"); +pub const SDDL_READ_CONTROL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RC"); +pub const SDDL_READ_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RP"); +pub const SDDL_REMOTE_DESKTOP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RD"); +pub const SDDL_REMOTE_MANAGEMENT_USERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RM"); +pub const SDDL_REPLICATOR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RE"); +pub const SDDL_RESOURCE_ATTRIBUTE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RA"); +pub const SDDL_RESTRICTED_CODE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RC"); +pub const SDDL_REVISION: u32 = 1u32; +pub const SDDL_REVISION_1: u32 = 1u32; +pub const SDDL_SACL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("S"); +pub const SDDL_SCHEMA_ADMINISTRATORS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SA"); +pub const SDDL_SCOPED_POLICY_ID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SP"); +pub const SDDL_SELF_WRITE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SW"); +pub const SDDL_SEPERATOR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(";"); +pub const SDDL_SERVER_OPERATORS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SO"); +pub const SDDL_SERVICE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SU"); +pub const SDDL_SERVICE_ASSERTED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SS"); +pub const SDDL_SID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TD"); +pub const SDDL_SPACE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(" "); +pub const SDDL_STANDARD_DELETE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SD"); +pub const SDDL_TRUST_PROTECTED_FILTER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TP"); +pub const SDDL_UINT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TU"); +pub const SDDL_USER_MODE_DRIVERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("UD"); +pub const SDDL_WRITE_DAC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WD"); +pub const SDDL_WRITE_OWNER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WO"); +pub const SDDL_WRITE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WP"); +pub const SDDL_WRITE_RESTRICTED_CODE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WR"); +pub const SDDL_WSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TS"); +pub const SET_ACCESS: ACCESS_MODE = 2i32; +pub const SET_AUDIT_FAILURE: ACCESS_MODE = 6i32; +pub const SET_AUDIT_SUCCESS: ACCESS_MODE = 5i32; +pub const SE_DS_OBJECT: SE_OBJECT_TYPE = 8i32; +pub const SE_DS_OBJECT_ALL: SE_OBJECT_TYPE = 9i32; +pub const SE_FILE_OBJECT: SE_OBJECT_TYPE = 1i32; +pub const SE_KERNEL_OBJECT: SE_OBJECT_TYPE = 6i32; +pub const SE_LMSHARE: SE_OBJECT_TYPE = 5i32; +pub const SE_PRINTER: SE_OBJECT_TYPE = 3i32; +pub const SE_PROVIDER_DEFINED_OBJECT: SE_OBJECT_TYPE = 10i32; +pub const SE_REGISTRY_KEY: SE_OBJECT_TYPE = 4i32; +pub const SE_REGISTRY_WOW64_32KEY: SE_OBJECT_TYPE = 12i32; +pub const SE_REGISTRY_WOW64_64KEY: SE_OBJECT_TYPE = 13i32; +pub const SE_SERVICE: SE_OBJECT_TYPE = 2i32; +pub const SE_UNKNOWN_OBJECT_TYPE: SE_OBJECT_TYPE = 0i32; +pub const SE_WINDOW_OBJECT: SE_OBJECT_TYPE = 7i32; +pub const SE_WMIGUID_OBJECT: SE_OBJECT_TYPE = 11i32; +pub const TREE_SEC_INFO_RESET: TREE_SEC_INFO = 2u32; +pub const TREE_SEC_INFO_RESET_KEEP_EXPLICIT: TREE_SEC_INFO = 3u32; +pub const TREE_SEC_INFO_SET: TREE_SEC_INFO = 1u32; +pub const TRUSTEE_ACCESS_ALL: i32 = -1i32; +pub const TRUSTEE_ACCESS_ALLOWED: i32 = 1i32; +pub const TRUSTEE_ACCESS_EXPLICIT: i32 = 1i32; +pub const TRUSTEE_ACCESS_READ: i32 = 2i32; +pub const TRUSTEE_ACCESS_WRITE: i32 = 4i32; +pub const TRUSTEE_BAD_FORM: TRUSTEE_FORM = 2i32; +pub const TRUSTEE_IS_ALIAS: TRUSTEE_TYPE = 4i32; +pub const TRUSTEE_IS_COMPUTER: TRUSTEE_TYPE = 8i32; +pub const TRUSTEE_IS_DELETED: TRUSTEE_TYPE = 6i32; +pub const TRUSTEE_IS_DOMAIN: TRUSTEE_TYPE = 3i32; +pub const TRUSTEE_IS_GROUP: TRUSTEE_TYPE = 2i32; +pub const TRUSTEE_IS_IMPERSONATE: MULTIPLE_TRUSTEE_OPERATION = 1i32; +pub const TRUSTEE_IS_INVALID: TRUSTEE_TYPE = 7i32; +pub const TRUSTEE_IS_NAME: TRUSTEE_FORM = 1i32; +pub const TRUSTEE_IS_OBJECTS_AND_NAME: TRUSTEE_FORM = 4i32; +pub const TRUSTEE_IS_OBJECTS_AND_SID: TRUSTEE_FORM = 3i32; +pub const TRUSTEE_IS_SID: TRUSTEE_FORM = 0i32; +pub const TRUSTEE_IS_UNKNOWN: TRUSTEE_TYPE = 0i32; +pub const TRUSTEE_IS_USER: TRUSTEE_TYPE = 1i32; +pub const TRUSTEE_IS_WELL_KNOWN_GROUP: TRUSTEE_TYPE = 5i32; +pub const _AUTHZ_SS_MAXSIZE: u32 = 128u32; +pub type ACCESS_MODE = i32; +pub type ACTRL_ACCESS_ENTRY_ACCESS_FLAGS = u32; +pub type AUDIT_PARAM_TYPE = i32; +pub type AUTHZ_ACCESS_CHECK_FLAGS = u32; +pub type AUTHZ_AUDIT_EVENT_INFORMATION_CLASS = i32; +pub type AUTHZ_CONTEXT_INFORMATION_CLASS = i32; +pub type AUTHZ_GENERATE_RESULTS = u32; +pub type AUTHZ_INITIALIZE_OBJECT_ACCESS_AUDIT_EVENT_FLAGS = u32; +pub type AUTHZ_RESOURCE_MANAGER_FLAGS = u32; +pub type AUTHZ_SECURITY_ATTRIBUTE_FLAGS = u32; +pub type AUTHZ_SECURITY_ATTRIBUTE_OPERATION = i32; +pub type AUTHZ_SID_OPERATION = i32; +pub type AZ_PROP_CONSTANTS = i32; +pub type MULTIPLE_TRUSTEE_OPERATION = i32; +pub type PROG_INVOKE_SETTING = i32; +pub type SE_OBJECT_TYPE = i32; +pub type TREE_SEC_INFO = u32; +pub type TRUSTEE_FORM = i32; +pub type TRUSTEE_TYPE = i32; +#[repr(C)] +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)] +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)] +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)] +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 + } +} +#[repr(C)] +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)] +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)] +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)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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)] +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)] +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)] +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)] +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)] +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)] +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 + } +} +pub type AUTHZ_ACCESS_CHECK_RESULTS_HANDLE = isize; +#[repr(C)] +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_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 + } +} +pub type AUTHZ_AUDIT_EVENT_HANDLE = isize; +pub type AUTHZ_AUDIT_EVENT_TYPE_HANDLE = isize; +#[repr(C)] +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_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)] +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 + } +} +pub type AUTHZ_CAP_CHANGE_SUBSCRIPTION_HANDLE = isize; +pub type AUTHZ_CLIENT_CONTEXT_HANDLE = isize; +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +pub type AUTHZ_RESOURCE_MANAGER_HANDLE = isize; +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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)] +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; +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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)] +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)] +pub struct FN_OBJECT_MGR_FUNCTS { + pub Placeholder: u32, +} +impl ::core::marker::Copy for FN_OBJECT_MGR_FUNCTS {} +impl ::core::clone::Clone for FN_OBJECT_MGR_FUNCTS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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)] +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)] +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 + } +} +#[repr(C)] +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)] +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)] +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 + } +} +#[repr(C)] +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_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) -> ()>; +#[doc = "Required features: `\"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_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>; +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_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_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>; 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 0000000..29461f3 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/Security/Credentials/mod.rs @@ -0,0 +1,1081 @@ +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredDeleteA(targetname : ::windows_sys::core::PCSTR, r#type : CRED_TYPE, flags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredDeleteW(targetname : ::windows_sys::core::PCWSTR, r#type : CRED_TYPE, flags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredEnumerateA(filter : ::windows_sys::core::PCSTR, flags : CRED_ENUMERATE_FLAGS, count : *mut u32, credential : *mut *mut *mut CREDENTIALA) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredEnumerateW(filter : ::windows_sys::core::PCWSTR, flags : CRED_ENUMERATE_FLAGS, count : *mut u32, credential : *mut *mut *mut CREDENTIALW) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredFindBestCredentialA(targetname : ::windows_sys::core::PCSTR, r#type : u32, flags : u32, credential : *mut *mut CREDENTIALA) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredFindBestCredentialW(targetname : ::windows_sys::core::PCWSTR, r#type : u32, flags : u32, credential : *mut *mut CREDENTIALW) -> super::super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" fn CredFree(buffer : *const ::core::ffi::c_void) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredGetSessionTypes(maximumpersistcount : u32, maximumpersist : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredGetTargetInfoA(targetname : ::windows_sys::core::PCSTR, flags : u32, targetinfo : *mut *mut CREDENTIAL_TARGET_INFORMATIONA) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredGetTargetInfoW(targetname : ::windows_sys::core::PCWSTR, flags : u32, targetinfo : *mut *mut CREDENTIAL_TARGET_INFORMATIONW) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredIsMarshaledCredentialA(marshaledcredential : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredIsMarshaledCredentialW(marshaledcredential : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredIsProtectedA(pszprotectedcredentials : ::windows_sys::core::PCSTR, pprotectiontype : *mut CRED_PROTECTION_TYPE) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredIsProtectedW(pszprotectedcredentials : ::windows_sys::core::PCWSTR, pprotectiontype : *mut CRED_PROTECTION_TYPE) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredMarshalCredentialA(credtype : CRED_MARSHAL_TYPE, credential : *const ::core::ffi::c_void, marshaledcredential : *mut ::windows_sys::core::PSTR) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredMarshalCredentialW(credtype : CRED_MARSHAL_TYPE, credential : *const ::core::ffi::c_void, marshaledcredential : *mut ::windows_sys::core::PWSTR) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("credui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("credui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredReadA(targetname : ::windows_sys::core::PCSTR, r#type : CRED_TYPE, flags : u32, credential : *mut *mut CREDENTIALA) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredReadDomainCredentialsA(targetinfo : *const CREDENTIAL_TARGET_INFORMATIONA, flags : u32, count : *mut u32, credential : *mut *mut *mut CREDENTIALA) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredReadDomainCredentialsW(targetinfo : *const CREDENTIAL_TARGET_INFORMATIONW, flags : u32, count : *mut u32, credential : *mut *mut *mut CREDENTIALW) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredReadW(targetname : ::windows_sys::core::PCWSTR, r#type : CRED_TYPE, flags : u32, credential : *mut *mut CREDENTIALW) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredRenameA(oldtargetname : ::windows_sys::core::PCSTR, newtargetname : ::windows_sys::core::PCSTR, r#type : CRED_TYPE, flags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredRenameW(oldtargetname : ::windows_sys::core::PCWSTR, newtargetname : ::windows_sys::core::PCWSTR, r#type : CRED_TYPE, flags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("credui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredUICmdLinePromptForCredentialsA(psztargetname : ::windows_sys::core::PCSTR, pcontext : *const 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("credui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredUICmdLinePromptForCredentialsW(psztargetname : ::windows_sys::core::PCWSTR, pcontext : *const 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("credui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredUIConfirmCredentialsA(psztargetname : ::windows_sys::core::PCSTR, bconfirm : super::super::Foundation:: BOOL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("credui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredUIConfirmCredentialsW(psztargetname : ::windows_sys::core::PCWSTR, bconfirm : super::super::Foundation:: BOOL) -> u32); +::windows_targets::link!("credui.dll" "system" fn CredUIParseUserNameA(username : ::windows_sys::core::PCSTR, user : ::windows_sys::core::PSTR, userbuffersize : u32, domain : ::windows_sys::core::PSTR, domainbuffersize : u32) -> u32); +::windows_targets::link!("credui.dll" "system" fn CredUIParseUserNameW(username : ::windows_sys::core::PCWSTR, user : ::windows_sys::core::PWSTR, userbuffersize : u32, domain : ::windows_sys::core::PWSTR, domainbuffersize : u32) -> u32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +::windows_targets::link!("credui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn CredUIPromptForCredentialsA(puiinfo : *const CREDUI_INFOA, psztargetname : ::windows_sys::core::PCSTR, pcontext : *const 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); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +::windows_targets::link!("credui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] fn CredUIPromptForCredentialsW(puiinfo : *const CREDUI_INFOW, psztargetname : ::windows_sys::core::PCWSTR, pcontext : *const 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); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +::windows_targets::link!("credui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] 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); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Graphics_Gdi"))] +::windows_targets::link!("credui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`"] 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); +::windows_targets::link!("credui.dll" "system" fn CredUIReadSSOCredW(pszrealm : ::windows_sys::core::PCWSTR, ppszusername : *mut ::windows_sys::core::PWSTR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("credui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredUIStoreSSOCredW(pszrealm : ::windows_sys::core::PCWSTR, pszusername : ::windows_sys::core::PCWSTR, pszpassword : ::windows_sys::core::PCWSTR, bpersist : super::super::Foundation:: BOOL) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("credui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("credui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredUnmarshalCredentialA(marshaledcredential : ::windows_sys::core::PCSTR, credtype : *mut CRED_MARSHAL_TYPE, credential : *mut *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredUnmarshalCredentialW(marshaledcredential : ::windows_sys::core::PCWSTR, credtype : *mut CRED_MARSHAL_TYPE, credential : *mut *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredWriteA(credential : *const CREDENTIALA, flags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredWriteDomainCredentialsA(targetinfo : *const CREDENTIAL_TARGET_INFORMATIONA, credential : *const CREDENTIALA, flags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredWriteDomainCredentialsW(targetinfo : *const CREDENTIAL_TARGET_INFORMATIONW, credential : *const CREDENTIALW, flags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CredWriteW(credential : *const CREDENTIALW, flags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("scarddlg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetOpenCardNameA(param0 : *mut OPENCARDNAMEA) -> i32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("scarddlg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetOpenCardNameW(param0 : *mut OPENCARDNAMEW) -> i32); +::windows_targets::link!("keycredmgr.dll" "system" fn KeyCredentialManagerFreeInformation(keycredentialmanagerinfo : *const KeyCredentialManagerInfo) -> ()); +::windows_targets::link!("keycredmgr.dll" "system" fn KeyCredentialManagerGetInformation(keycredentialmanagerinfo : *mut *mut KeyCredentialManagerInfo) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("keycredmgr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn KeyCredentialManagerGetOperationErrorStates(keycredentialmanageroperationtype : KeyCredentialManagerOperationType, isready : *mut super::super::Foundation:: BOOL, keycredentialmanageroperationerrorstates : *mut KeyCredentialManagerOperationErrorStates) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("keycredmgr.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn KeyCredentialManagerShowUIOperation(hwndowner : super::super::Foundation:: HWND, keycredentialmanageroperationtype : KeyCredentialManagerOperationType) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("winscard.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SCardAccessStartedEvent() -> super::super::Foundation:: HANDLE); +::windows_targets::link!("winscard.dll" "system" fn SCardAddReaderToGroupA(hcontext : usize, szreadername : ::windows_sys::core::PCSTR, szgroupname : ::windows_sys::core::PCSTR) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardAddReaderToGroupW(hcontext : usize, szreadername : ::windows_sys::core::PCWSTR, szgroupname : ::windows_sys::core::PCWSTR) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardAudit(hcontext : usize, dwevent : u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardBeginTransaction(hcard : usize) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardCancel(hcontext : usize) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardConnectA(hcontext : usize, szreader : ::windows_sys::core::PCSTR, dwsharemode : u32, dwpreferredprotocols : u32, phcard : *mut usize, pdwactiveprotocol : *mut u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardConnectW(hcontext : usize, szreader : ::windows_sys::core::PCWSTR, dwsharemode : u32, dwpreferredprotocols : u32, phcard : *mut usize, pdwactiveprotocol : *mut u32) -> i32); +::windows_targets::link!("winscard.dll" "system" 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); +::windows_targets::link!("winscard.dll" "system" fn SCardDisconnect(hcard : usize, dwdisposition : u32) -> i32); +::windows_targets::link!("scarddlg.dll" "system" fn SCardDlgExtendedError() -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardEndTransaction(hcard : usize, dwdisposition : u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardEstablishContext(dwscope : SCARD_SCOPE, pvreserved1 : *const ::core::ffi::c_void, pvreserved2 : *const ::core::ffi::c_void, phcontext : *mut usize) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardForgetCardTypeA(hcontext : usize, szcardname : ::windows_sys::core::PCSTR) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardForgetCardTypeW(hcontext : usize, szcardname : ::windows_sys::core::PCWSTR) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardForgetReaderA(hcontext : usize, szreadername : ::windows_sys::core::PCSTR) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardForgetReaderGroupA(hcontext : usize, szgroupname : ::windows_sys::core::PCSTR) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardForgetReaderGroupW(hcontext : usize, szgroupname : ::windows_sys::core::PCWSTR) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardForgetReaderW(hcontext : usize, szreadername : ::windows_sys::core::PCWSTR) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardFreeMemory(hcontext : usize, pvmem : *const ::core::ffi::c_void) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardGetAttrib(hcard : usize, dwattrid : u32, pbattr : *mut u8, pcbattrlen : *mut u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardGetCardTypeProviderNameA(hcontext : usize, szcardname : ::windows_sys::core::PCSTR, dwproviderid : u32, szprovider : ::windows_sys::core::PSTR, pcchprovider : *mut u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardGetCardTypeProviderNameW(hcontext : usize, szcardname : ::windows_sys::core::PCWSTR, dwproviderid : u32, szprovider : ::windows_sys::core::PWSTR, pcchprovider : *mut u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardGetDeviceTypeIdA(hcontext : usize, szreadername : ::windows_sys::core::PCSTR, pdwdevicetypeid : *mut u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardGetDeviceTypeIdW(hcontext : usize, szreadername : ::windows_sys::core::PCWSTR, pdwdevicetypeid : *mut u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardGetProviderIdA(hcontext : usize, szcard : ::windows_sys::core::PCSTR, pguidproviderid : *mut ::windows_sys::core::GUID) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardGetProviderIdW(hcontext : usize, szcard : ::windows_sys::core::PCWSTR, pguidproviderid : *mut ::windows_sys::core::GUID) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardGetReaderDeviceInstanceIdA(hcontext : usize, szreadername : ::windows_sys::core::PCSTR, szdeviceinstanceid : ::windows_sys::core::PSTR, pcchdeviceinstanceid : *mut u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardGetReaderDeviceInstanceIdW(hcontext : usize, szreadername : ::windows_sys::core::PCWSTR, szdeviceinstanceid : ::windows_sys::core::PWSTR, pcchdeviceinstanceid : *mut u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardGetReaderIconA(hcontext : usize, szreadername : ::windows_sys::core::PCSTR, pbicon : *mut u8, pcbicon : *mut u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardGetReaderIconW(hcontext : usize, szreadername : ::windows_sys::core::PCWSTR, pbicon : *mut u8, pcbicon : *mut u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardGetStatusChangeA(hcontext : usize, dwtimeout : u32, rgreaderstates : *mut SCARD_READERSTATEA, creaders : u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardGetStatusChangeW(hcontext : usize, dwtimeout : u32, rgreaderstates : *mut SCARD_READERSTATEW, creaders : u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardGetTransmitCount(hcard : usize, pctransmitcount : *mut u32) -> i32); +::windows_targets::link!("winscard.dll" "system" 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); +::windows_targets::link!("winscard.dll" "system" 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); +::windows_targets::link!("winscard.dll" "system" fn SCardIntroduceReaderA(hcontext : usize, szreadername : ::windows_sys::core::PCSTR, szdevicename : ::windows_sys::core::PCSTR) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardIntroduceReaderGroupA(hcontext : usize, szgroupname : ::windows_sys::core::PCSTR) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardIntroduceReaderGroupW(hcontext : usize, szgroupname : ::windows_sys::core::PCWSTR) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardIntroduceReaderW(hcontext : usize, szreadername : ::windows_sys::core::PCWSTR, szdevicename : ::windows_sys::core::PCWSTR) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardIsValidContext(hcontext : usize) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardListCardsA(hcontext : usize, pbatr : *const u8, rgquidinterfaces : *const ::windows_sys::core::GUID, cguidinterfacecount : u32, mszcards : ::windows_sys::core::PSTR, pcchcards : *mut u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardListCardsW(hcontext : usize, pbatr : *const u8, rgquidinterfaces : *const ::windows_sys::core::GUID, cguidinterfacecount : u32, mszcards : ::windows_sys::core::PWSTR, pcchcards : *mut u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardListInterfacesA(hcontext : usize, szcard : ::windows_sys::core::PCSTR, pguidinterfaces : *mut ::windows_sys::core::GUID, pcguidinterfaces : *mut u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardListInterfacesW(hcontext : usize, szcard : ::windows_sys::core::PCWSTR, pguidinterfaces : *mut ::windows_sys::core::GUID, pcguidinterfaces : *mut u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardListReaderGroupsA(hcontext : usize, mszgroups : ::windows_sys::core::PSTR, pcchgroups : *mut u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardListReaderGroupsW(hcontext : usize, mszgroups : ::windows_sys::core::PWSTR, pcchgroups : *mut u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardListReadersA(hcontext : usize, mszgroups : ::windows_sys::core::PCSTR, mszreaders : ::windows_sys::core::PSTR, pcchreaders : *mut u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardListReadersW(hcontext : usize, mszgroups : ::windows_sys::core::PCWSTR, mszreaders : ::windows_sys::core::PWSTR, pcchreaders : *mut u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardListReadersWithDeviceInstanceIdA(hcontext : usize, szdeviceinstanceid : ::windows_sys::core::PCSTR, mszreaders : ::windows_sys::core::PSTR, pcchreaders : *mut u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardListReadersWithDeviceInstanceIdW(hcontext : usize, szdeviceinstanceid : ::windows_sys::core::PCWSTR, mszreaders : ::windows_sys::core::PWSTR, pcchreaders : *mut u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardLocateCardsA(hcontext : usize, mszcards : ::windows_sys::core::PCSTR, rgreaderstates : *mut SCARD_READERSTATEA, creaders : u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardLocateCardsByATRA(hcontext : usize, rgatrmasks : *const SCARD_ATRMASK, catrs : u32, rgreaderstates : *mut SCARD_READERSTATEA, creaders : u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardLocateCardsByATRW(hcontext : usize, rgatrmasks : *const SCARD_ATRMASK, catrs : u32, rgreaderstates : *mut SCARD_READERSTATEW, creaders : u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardLocateCardsW(hcontext : usize, mszcards : ::windows_sys::core::PCWSTR, rgreaderstates : *mut SCARD_READERSTATEW, creaders : u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardReadCacheA(hcontext : usize, cardidentifier : *const ::windows_sys::core::GUID, freshnesscounter : u32, lookupname : ::windows_sys::core::PCSTR, data : *mut u8, datalen : *mut u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardReadCacheW(hcontext : usize, cardidentifier : *const ::windows_sys::core::GUID, freshnesscounter : u32, lookupname : ::windows_sys::core::PCWSTR, data : *mut u8, datalen : *mut u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardReconnect(hcard : usize, dwsharemode : u32, dwpreferredprotocols : u32, dwinitialization : u32, pdwactiveprotocol : *mut u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardReleaseContext(hcontext : usize) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardReleaseStartedEvent() -> ()); +::windows_targets::link!("winscard.dll" "system" fn SCardRemoveReaderFromGroupA(hcontext : usize, szreadername : ::windows_sys::core::PCSTR, szgroupname : ::windows_sys::core::PCSTR) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardRemoveReaderFromGroupW(hcontext : usize, szreadername : ::windows_sys::core::PCWSTR, szgroupname : ::windows_sys::core::PCWSTR) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardSetAttrib(hcard : usize, dwattrid : u32, pbattr : *const u8, cbattrlen : u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardSetCardTypeProviderNameA(hcontext : usize, szcardname : ::windows_sys::core::PCSTR, dwproviderid : u32, szprovider : ::windows_sys::core::PCSTR) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardSetCardTypeProviderNameW(hcontext : usize, szcardname : ::windows_sys::core::PCWSTR, dwproviderid : u32, szprovider : ::windows_sys::core::PCWSTR) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardState(hcard : usize, pdwstate : *mut u32, pdwprotocol : *mut u32, pbatr : *mut u8, pcbatrlen : *mut u32) -> i32); +::windows_targets::link!("winscard.dll" "system" 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); +::windows_targets::link!("winscard.dll" "system" 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); +::windows_targets::link!("winscard.dll" "system" 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); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] +::windows_targets::link!("scarddlg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn SCardUIDlgSelectCardA(param0 : *mut OPENCARDNAME_EXA) -> i32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_WindowsAndMessaging"))] +::windows_targets::link!("scarddlg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn SCardUIDlgSelectCardW(param0 : *mut OPENCARDNAME_EXW) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardWriteCacheA(hcontext : usize, cardidentifier : *const ::windows_sys::core::GUID, freshnesscounter : u32, lookupname : ::windows_sys::core::PCSTR, data : *const u8, datalen : u32) -> i32); +::windows_targets::link!("winscard.dll" "system" fn SCardWriteCacheW(hcontext : usize, cardidentifier : *const ::windows_sys::core::GUID, freshnesscounter : u32, lookupname : ::windows_sys::core::PCWSTR, data : *const u8, datalen : u32) -> i32); +pub const BinaryBlobCredential: CRED_MARSHAL_TYPE = 3i32; +pub const BinaryBlobForSystem: CRED_MARSHAL_TYPE = 5i32; +pub const CERT_HASH_LENGTH: u32 = 20u32; +pub const CREDSSP_CRED_EX_VERSION: u32 = 0u32; +pub const CREDSSP_FLAG_REDIRECT: u32 = 1u32; +pub const CREDSSP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CREDSSP"); +pub const CREDSSP_SERVER_AUTH_CERTIFICATE: u32 = 2u32; +pub const CREDSSP_SERVER_AUTH_LOOPBACK: u32 = 4u32; +pub const CREDSSP_SERVER_AUTH_NEGOTIATE: u32 = 1u32; +pub const CREDUIWIN_AUTHPACKAGE_ONLY: CREDUIWIN_FLAGS = 16u32; +pub const CREDUIWIN_CHECKBOX: CREDUIWIN_FLAGS = 2u32; +pub const CREDUIWIN_DOWNLEVEL_HELLO_AS_SMART_CARD: u32 = 2147483648u32; +pub const CREDUIWIN_ENUMERATE_ADMINS: CREDUIWIN_FLAGS = 256u32; +pub const CREDUIWIN_ENUMERATE_CURRENT_USER: CREDUIWIN_FLAGS = 512u32; +pub const CREDUIWIN_GENERIC: CREDUIWIN_FLAGS = 1u32; +pub const CREDUIWIN_IGNORE_CLOUDAUTHORITY_NAME: u32 = 262144u32; +pub const CREDUIWIN_IN_CRED_ONLY: CREDUIWIN_FLAGS = 32u32; +pub const CREDUIWIN_PACK_32_WOW: CREDUIWIN_FLAGS = 268435456u32; +pub const CREDUIWIN_PREPROMPTING: CREDUIWIN_FLAGS = 8192u32; +pub const CREDUIWIN_SECURE_PROMPT: CREDUIWIN_FLAGS = 4096u32; +pub const CREDUI_FLAGS_ALWAYS_SHOW_UI: CREDUI_FLAGS = 128u32; +pub const CREDUI_FLAGS_COMPLETE_USERNAME: CREDUI_FLAGS = 2048u32; +pub const CREDUI_FLAGS_DO_NOT_PERSIST: CREDUI_FLAGS = 2u32; +pub const CREDUI_FLAGS_EXCLUDE_CERTIFICATES: CREDUI_FLAGS = 8u32; +pub const CREDUI_FLAGS_EXPECT_CONFIRMATION: CREDUI_FLAGS = 131072u32; +pub const CREDUI_FLAGS_GENERIC_CREDENTIALS: CREDUI_FLAGS = 262144u32; +pub const CREDUI_FLAGS_INCORRECT_PASSWORD: CREDUI_FLAGS = 1u32; +pub const CREDUI_FLAGS_KEEP_USERNAME: CREDUI_FLAGS = 1048576u32; +pub const CREDUI_FLAGS_PASSWORD_ONLY_OK: CREDUI_FLAGS = 512u32; +pub const CREDUI_FLAGS_PERSIST: CREDUI_FLAGS = 4096u32; +pub const CREDUI_FLAGS_REQUEST_ADMINISTRATOR: CREDUI_FLAGS = 4u32; +pub const CREDUI_FLAGS_REQUIRE_CERTIFICATE: CREDUI_FLAGS = 16u32; +pub const CREDUI_FLAGS_REQUIRE_SMARTCARD: CREDUI_FLAGS = 256u32; +pub const CREDUI_FLAGS_SERVER_CREDENTIAL: CREDUI_FLAGS = 16384u32; +pub const CREDUI_FLAGS_SHOW_SAVE_CHECK_BOX: CREDUI_FLAGS = 64u32; +pub const CREDUI_FLAGS_USERNAME_TARGET_CREDENTIALS: CREDUI_FLAGS = 524288u32; +pub const CREDUI_FLAGS_VALIDATE_USERNAME: CREDUI_FLAGS = 1024u32; +pub const CREDUI_MAX_CAPTION_LENGTH: u32 = 128u32; +pub const CREDUI_MAX_DOMAIN_TARGET_LENGTH: u32 = 337u32; +pub const CREDUI_MAX_GENERIC_TARGET_LENGTH: u32 = 32767u32; +pub const CREDUI_MAX_MESSAGE_LENGTH: u32 = 1024u32; +pub const CREDUI_MAX_USERNAME_LENGTH: u32 = 513u32; +pub const CRED_ALLOW_NAME_RESOLUTION: u32 = 1u32; +pub const CRED_CACHE_TARGET_INFORMATION: u32 = 1u32; +pub const CRED_ENUMERATE_ALL_CREDENTIALS: CRED_ENUMERATE_FLAGS = 1u32; +pub const CRED_FLAGS_NGC_CERT: CRED_FLAGS = 128u32; +pub const CRED_FLAGS_OWF_CRED_BLOB: CRED_FLAGS = 8u32; +pub const CRED_FLAGS_PASSWORD_FOR_CERT: CRED_FLAGS = 1u32; +pub const CRED_FLAGS_PROMPT_NOW: CRED_FLAGS = 2u32; +pub const CRED_FLAGS_REQUIRE_CONFIRMATION: CRED_FLAGS = 16u32; +pub const CRED_FLAGS_USERNAME_TARGET: CRED_FLAGS = 4u32; +pub const CRED_FLAGS_VALID_FLAGS: CRED_FLAGS = 61695u32; +pub const CRED_FLAGS_VALID_INPUT_FLAGS: CRED_FLAGS = 61599u32; +pub const CRED_FLAGS_VSM_PROTECTED: CRED_FLAGS = 64u32; +pub const CRED_FLAGS_WILDCARD_MATCH: CRED_FLAGS = 32u32; +pub const CRED_LOGON_TYPES_MASK: u32 = 61440u32; +pub const CRED_MAX_ATTRIBUTES: u32 = 64u32; +pub const CRED_MAX_CREDENTIAL_BLOB_SIZE: u32 = 2560u32; +pub const CRED_MAX_DOMAIN_TARGET_NAME_LENGTH: u32 = 337u32; +pub const CRED_MAX_GENERIC_TARGET_NAME_LENGTH: u32 = 32767u32; +pub const CRED_MAX_STRING_LENGTH: u32 = 256u32; +pub const CRED_MAX_TARGETNAME_ATTRIBUTE_LENGTH: u32 = 256u32; +pub const CRED_MAX_TARGETNAME_NAMESPACE_LENGTH: u32 = 256u32; +pub const CRED_MAX_USERNAME_LENGTH: u32 = 513u32; +pub const CRED_MAX_VALUE_SIZE: u32 = 256u32; +pub const CRED_PACK_GENERIC_CREDENTIALS: CRED_PACK_FLAGS = 4u32; +pub const CRED_PACK_ID_PROVIDER_CREDENTIALS: CRED_PACK_FLAGS = 8u32; +pub const CRED_PACK_PROTECTED_CREDENTIALS: CRED_PACK_FLAGS = 1u32; +pub const CRED_PACK_WOW_BUFFER: CRED_PACK_FLAGS = 2u32; +pub const CRED_PERSIST_ENTERPRISE: CRED_PERSIST = 3u32; +pub const CRED_PERSIST_LOCAL_MACHINE: CRED_PERSIST = 2u32; +pub const CRED_PERSIST_NONE: CRED_PERSIST = 0u32; +pub const CRED_PERSIST_SESSION: CRED_PERSIST = 1u32; +pub const CRED_PRESERVE_CREDENTIAL_BLOB: u32 = 1u32; +pub const CRED_PROTECT_AS_SELF: u32 = 1u32; +pub const CRED_PROTECT_TO_SYSTEM: u32 = 2u32; +pub const CRED_SESSION_WILDCARD_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("*Session"); +pub const CRED_SESSION_WILDCARD_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("*Session"); +pub const CRED_SESSION_WILDCARD_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("*Session"); +pub const CRED_TARGETNAME_ATTRIBUTE_BATCH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("batch"); +pub const CRED_TARGETNAME_ATTRIBUTE_BATCH_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("batch"); +pub const CRED_TARGETNAME_ATTRIBUTE_BATCH_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("batch"); +pub const CRED_TARGETNAME_ATTRIBUTE_CACHEDINTERACTIVE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("cachedinteractive"); +pub const CRED_TARGETNAME_ATTRIBUTE_CACHEDINTERACTIVE_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("cachedinteractive"); +pub const CRED_TARGETNAME_ATTRIBUTE_CACHEDINTERACTIVE_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("cachedinteractive"); +pub const CRED_TARGETNAME_ATTRIBUTE_INTERACTIVE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("interactive"); +pub const CRED_TARGETNAME_ATTRIBUTE_INTERACTIVE_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("interactive"); +pub const CRED_TARGETNAME_ATTRIBUTE_INTERACTIVE_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("interactive"); +pub const CRED_TARGETNAME_ATTRIBUTE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("name"); +pub const CRED_TARGETNAME_ATTRIBUTE_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("name"); +pub const CRED_TARGETNAME_ATTRIBUTE_NAME_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("name"); +pub const CRED_TARGETNAME_ATTRIBUTE_NETWORK: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("network"); +pub const CRED_TARGETNAME_ATTRIBUTE_NETWORKCLEARTEXT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("networkcleartext"); +pub const CRED_TARGETNAME_ATTRIBUTE_NETWORKCLEARTEXT_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("networkcleartext"); +pub const CRED_TARGETNAME_ATTRIBUTE_NETWORKCLEARTEXT_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("networkcleartext"); +pub const CRED_TARGETNAME_ATTRIBUTE_NETWORK_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("network"); +pub const CRED_TARGETNAME_ATTRIBUTE_NETWORK_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("network"); +pub const CRED_TARGETNAME_ATTRIBUTE_REMOTEINTERACTIVE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("remoteinteractive"); +pub const CRED_TARGETNAME_ATTRIBUTE_REMOTEINTERACTIVE_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("remoteinteractive"); +pub const CRED_TARGETNAME_ATTRIBUTE_REMOTEINTERACTIVE_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("remoteinteractive"); +pub const CRED_TARGETNAME_ATTRIBUTE_SERVICE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("service"); +pub const CRED_TARGETNAME_ATTRIBUTE_SERVICE_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("service"); +pub const CRED_TARGETNAME_ATTRIBUTE_SERVICE_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("service"); +pub const CRED_TARGETNAME_ATTRIBUTE_TARGET: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("target"); +pub const CRED_TARGETNAME_ATTRIBUTE_TARGET_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("target"); +pub const CRED_TARGETNAME_ATTRIBUTE_TARGET_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("target"); +pub const CRED_TARGETNAME_DOMAIN_NAMESPACE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Domain"); +pub const CRED_TARGETNAME_DOMAIN_NAMESPACE_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Domain"); +pub const CRED_TARGETNAME_DOMAIN_NAMESPACE_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Domain"); +pub const CRED_TARGETNAME_LEGACYGENERIC_NAMESPACE_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("LegacyGeneric"); +pub const CRED_TARGETNAME_LEGACYGENERIC_NAMESPACE_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LegacyGeneric"); +pub const CRED_TI_CREATE_EXPLICIT_CRED: u32 = 16u32; +pub const CRED_TI_DNSTREE_IS_DFS_SERVER: u32 = 64u32; +pub const CRED_TI_DOMAIN_FORMAT_UNKNOWN: u32 = 2u32; +pub const CRED_TI_ONLY_PASSWORD_REQUIRED: u32 = 4u32; +pub const CRED_TI_SERVER_FORMAT_UNKNOWN: u32 = 1u32; +pub const CRED_TI_USERNAME_TARGET: u32 = 8u32; +pub const CRED_TI_VALID_FLAGS: u32 = 61567u32; +pub const CRED_TI_WORKGROUP_MEMBER: u32 = 32u32; +pub const CRED_TYPE_DOMAIN_CERTIFICATE: CRED_TYPE = 3u32; +pub const CRED_TYPE_DOMAIN_EXTENDED: CRED_TYPE = 6u32; +pub const CRED_TYPE_DOMAIN_PASSWORD: CRED_TYPE = 2u32; +pub const CRED_TYPE_DOMAIN_VISIBLE_PASSWORD: CRED_TYPE = 4u32; +pub const CRED_TYPE_GENERIC: CRED_TYPE = 1u32; +pub const CRED_TYPE_GENERIC_CERTIFICATE: CRED_TYPE = 5u32; +pub const CRED_TYPE_MAXIMUM: CRED_TYPE = 7u32; +pub const CRED_TYPE_MAXIMUM_EX: CRED_TYPE = 1007u32; +pub const CRED_UNPROTECT_ALLOW_TO_SYSTEM: u32 = 2u32; +pub const CRED_UNPROTECT_AS_SELF: u32 = 1u32; +pub const CertCredential: CRED_MARSHAL_TYPE = 1i32; +pub const CredForSystemProtection: CRED_PROTECTION_TYPE = 3i32; +pub const CredTrustedProtection: CRED_PROTECTION_TYPE = 2i32; +pub const CredUnprotected: CRED_PROTECTION_TYPE = 0i32; +pub const CredUserProtection: CRED_PROTECTION_TYPE = 1i32; +pub const CredsspCertificateCreds: CREDSPP_SUBMIT_TYPE = 13i32; +pub const CredsspCredEx: CREDSPP_SUBMIT_TYPE = 100i32; +pub const CredsspPasswordCreds: CREDSPP_SUBMIT_TYPE = 2i32; +pub const CredsspSchannelCreds: CREDSPP_SUBMIT_TYPE = 4i32; +pub const CredsspSubmitBufferBoth: CREDSPP_SUBMIT_TYPE = 50i32; +pub const CredsspSubmitBufferBothOld: CREDSPP_SUBMIT_TYPE = 51i32; +pub const FILE_DEVICE_SMARTCARD: u32 = 49u32; +pub const GUID_DEVINTERFACE_SMARTCARD_READER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x50dd5230_ba8a_11d1_bf5d_0000f805f530); +pub const KeyCredentialManagerOperationErrorStateCertificateFailure: KeyCredentialManagerOperationErrorStates = 4i32; +pub const KeyCredentialManagerOperationErrorStateDeviceJoinFailure: KeyCredentialManagerOperationErrorStates = 1i32; +pub const KeyCredentialManagerOperationErrorStateHardwareFailure: KeyCredentialManagerOperationErrorStates = 32i32; +pub const KeyCredentialManagerOperationErrorStateNone: KeyCredentialManagerOperationErrorStates = 0i32; +pub const KeyCredentialManagerOperationErrorStatePinExistsFailure: KeyCredentialManagerOperationErrorStates = 64i32; +pub const KeyCredentialManagerOperationErrorStatePolicyFailure: KeyCredentialManagerOperationErrorStates = 16i32; +pub const KeyCredentialManagerOperationErrorStateRemoteSessionFailure: KeyCredentialManagerOperationErrorStates = 8i32; +pub const KeyCredentialManagerOperationErrorStateTokenFailure: KeyCredentialManagerOperationErrorStates = 2i32; +pub const KeyCredentialManagerPinChange: KeyCredentialManagerOperationType = 1i32; +pub const KeyCredentialManagerPinReset: KeyCredentialManagerOperationType = 2i32; +pub const KeyCredentialManagerProvisioning: KeyCredentialManagerOperationType = 0i32; +pub const MAXIMUM_ATTR_STRING_LENGTH: u32 = 32u32; +pub const MAXIMUM_SMARTCARD_READERS: u32 = 10u32; +pub const RSR_MATCH_TYPE_ALL_CARDS: READER_SEL_REQUEST_MATCH_TYPE = 3i32; +pub const RSR_MATCH_TYPE_READER_AND_CONTAINER: READER_SEL_REQUEST_MATCH_TYPE = 1i32; +pub const RSR_MATCH_TYPE_SERIAL_NUMBER: READER_SEL_REQUEST_MATCH_TYPE = 2i32; +pub const SCARD_ABSENT: u32 = 1u32; +pub const SCARD_ALL_READERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SCard$AllReaders\u{0}00"); +pub const SCARD_ATR_LENGTH: u32 = 33u32; +pub const SCARD_AUDIT_CHV_FAILURE: u32 = 0u32; +pub const SCARD_AUDIT_CHV_SUCCESS: u32 = 1u32; +pub const SCARD_CLASS_COMMUNICATIONS: u32 = 2u32; +pub const SCARD_CLASS_ICC_STATE: u32 = 9u32; +pub const SCARD_CLASS_IFD_PROTOCOL: u32 = 8u32; +pub const SCARD_CLASS_MECHANICAL: u32 = 6u32; +pub const SCARD_CLASS_PERF: u32 = 32766u32; +pub const SCARD_CLASS_POWER_MGMT: u32 = 4u32; +pub const SCARD_CLASS_PROTOCOL: u32 = 3u32; +pub const SCARD_CLASS_SECURITY: u32 = 5u32; +pub const SCARD_CLASS_SYSTEM: u32 = 32767u32; +pub const SCARD_CLASS_VENDOR_DEFINED: u32 = 7u32; +pub const SCARD_CLASS_VENDOR_INFO: u32 = 1u32; +pub const SCARD_COLD_RESET: u32 = 1u32; +pub const SCARD_DEFAULT_READERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SCard$DefaultReaders\u{0}00"); +pub const SCARD_EJECT_CARD: u32 = 3u32; +pub const SCARD_LEAVE_CARD: u32 = 0u32; +pub const SCARD_LOCAL_READERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SCard$LocalReaders\u{0}00"); +pub const SCARD_NEGOTIABLE: u32 = 5u32; +pub const SCARD_POWERED: u32 = 4u32; +pub const SCARD_POWER_DOWN: u32 = 0u32; +pub const SCARD_PRESENT: u32 = 2u32; +pub const SCARD_PROTOCOL_DEFAULT: u32 = 2147483648u32; +pub const SCARD_PROTOCOL_OPTIMAL: u32 = 0u32; +pub const SCARD_PROTOCOL_RAW: u32 = 65536u32; +pub const SCARD_PROTOCOL_T0: u32 = 1u32; +pub const SCARD_PROTOCOL_T1: u32 = 2u32; +pub const SCARD_PROTOCOL_UNDEFINED: u32 = 0u32; +pub const SCARD_PROVIDER_CSP: u32 = 2u32; +pub const SCARD_PROVIDER_KSP: u32 = 3u32; +pub const SCARD_PROVIDER_PRIMARY: u32 = 1u32; +pub const SCARD_READER_CONFISCATES: u32 = 4u32; +pub const SCARD_READER_CONTACTLESS: u32 = 8u32; +pub const SCARD_READER_EJECTS: u32 = 2u32; +pub const SCARD_READER_SWALLOWS: u32 = 1u32; +pub const SCARD_READER_TYPE_EMBEDDEDSE: u32 = 2048u32; +pub const SCARD_READER_TYPE_IDE: u32 = 16u32; +pub const SCARD_READER_TYPE_KEYBOARD: u32 = 4u32; +pub const SCARD_READER_TYPE_NFC: u32 = 256u32; +pub const SCARD_READER_TYPE_NGC: u32 = 1024u32; +pub const SCARD_READER_TYPE_PARALELL: u32 = 2u32; +pub const SCARD_READER_TYPE_PCMCIA: u32 = 64u32; +pub const SCARD_READER_TYPE_SCSI: u32 = 8u32; +pub const SCARD_READER_TYPE_SERIAL: u32 = 1u32; +pub const SCARD_READER_TYPE_TPM: u32 = 128u32; +pub const SCARD_READER_TYPE_UICC: u32 = 512u32; +pub const SCARD_READER_TYPE_USB: u32 = 32u32; +pub const SCARD_READER_TYPE_VENDOR: u32 = 240u32; +pub const SCARD_RESET_CARD: u32 = 1u32; +pub const SCARD_SCOPE_SYSTEM: SCARD_SCOPE = 2u32; +pub const SCARD_SCOPE_TERMINAL: u32 = 1u32; +pub const SCARD_SCOPE_USER: SCARD_SCOPE = 0u32; +pub const SCARD_SHARE_DIRECT: u32 = 3u32; +pub const SCARD_SHARE_EXCLUSIVE: u32 = 1u32; +pub const SCARD_SHARE_SHARED: u32 = 2u32; +pub const SCARD_SPECIFIC: u32 = 6u32; +pub const SCARD_STATE_ATRMATCH: SCARD_STATE = 64u32; +pub const SCARD_STATE_CHANGED: SCARD_STATE = 2u32; +pub const SCARD_STATE_EMPTY: SCARD_STATE = 16u32; +pub const SCARD_STATE_EXCLUSIVE: SCARD_STATE = 128u32; +pub const SCARD_STATE_IGNORE: SCARD_STATE = 1u32; +pub const SCARD_STATE_INUSE: SCARD_STATE = 256u32; +pub const SCARD_STATE_MUTE: SCARD_STATE = 512u32; +pub const SCARD_STATE_PRESENT: SCARD_STATE = 32u32; +pub const SCARD_STATE_UNAVAILABLE: SCARD_STATE = 8u32; +pub const SCARD_STATE_UNAWARE: SCARD_STATE = 0u32; +pub const SCARD_STATE_UNKNOWN: SCARD_STATE = 4u32; +pub const SCARD_STATE_UNPOWERED: u32 = 1024u32; +pub const SCARD_SWALLOWED: u32 = 3u32; +pub const SCARD_SYSTEM_READERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SCard$SystemReaders\u{0}00"); +pub const SCARD_T0_CMD_LENGTH: u32 = 5u32; +pub const SCARD_T0_HEADER_LENGTH: u32 = 7u32; +pub const SCARD_T1_EPILOGUE_LENGTH: u32 = 2u32; +pub const SCARD_T1_EPILOGUE_LENGTH_LRC: u32 = 1u32; +pub const SCARD_T1_MAX_IFS: u32 = 254u32; +pub const SCARD_T1_PROLOGUE_LENGTH: u32 = 3u32; +pub const SCARD_UNKNOWN: u32 = 0u32; +pub const SCARD_UNPOWER_CARD: u32 = 2u32; +pub const SCARD_WARM_RESET: u32 = 2u32; +pub const SCERR_NOCARDNAME: u32 = 16384u32; +pub const SCERR_NOGUIDS: u32 = 32768u32; +pub const SC_DLG_FORCE_UI: u32 = 4u32; +pub const SC_DLG_MINIMAL_UI: u32 = 1u32; +pub const SC_DLG_NO_UI: u32 = 2u32; +pub const SECPKG_ALT_ATTR: u32 = 2147483648u32; +pub const SECPKG_ATTR_C_FULL_IDENT_TOKEN: u32 = 2147483781u32; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub const STATUS_ACCOUNT_DISABLED: super::super::Foundation::NTSTATUS = -1073741710i32; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub const STATUS_ACCOUNT_EXPIRED: super::super::Foundation::NTSTATUS = -1073741421i32; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub const STATUS_ACCOUNT_LOCKED_OUT: super::super::Foundation::NTSTATUS = -1073741260i32; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub const STATUS_ACCOUNT_RESTRICTION: super::super::Foundation::NTSTATUS = -1073741714i32; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub const STATUS_AUTHENTICATION_FIREWALL_FAILED: super::super::Foundation::NTSTATUS = -1073740781i32; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub const STATUS_DOWNGRADE_DETECTED: super::super::Foundation::NTSTATUS = -1073740920i32; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub const STATUS_LOGON_FAILURE: super::super::Foundation::NTSTATUS = -1073741715i32; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub const STATUS_LOGON_TYPE_NOT_GRANTED: super::super::Foundation::NTSTATUS = -1073741477i32; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub const STATUS_NO_SUCH_LOGON_SESSION: super::super::Foundation::NTSTATUS = -1073741729i32; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub const STATUS_NO_SUCH_USER: super::super::Foundation::NTSTATUS = -1073741724i32; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub const STATUS_PASSWORD_EXPIRED: super::super::Foundation::NTSTATUS = -1073741711i32; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub const STATUS_PASSWORD_MUST_CHANGE: super::super::Foundation::NTSTATUS = -1073741276i32; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub const STATUS_WRONG_PASSWORD: super::super::Foundation::NTSTATUS = -1073741718i32; +pub const TS_SSP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TSSSP"); +pub const TS_SSP_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("TSSSP"); +pub const UsernameForPackedCredentials: CRED_MARSHAL_TYPE = 4i32; +pub const UsernameTargetCredential: CRED_MARSHAL_TYPE = 2i32; +pub const szOID_TS_KP_TS_SERVER_AUTH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.54.1.2"); +pub type CREDSPP_SUBMIT_TYPE = i32; +pub type CREDUIWIN_FLAGS = u32; +pub type CREDUI_FLAGS = u32; +pub type CRED_ENUMERATE_FLAGS = u32; +pub type CRED_FLAGS = u32; +pub type CRED_MARSHAL_TYPE = i32; +pub type CRED_PACK_FLAGS = u32; +pub type CRED_PERSIST = u32; +pub type CRED_PROTECTION_TYPE = i32; +pub type CRED_TYPE = u32; +pub type KeyCredentialManagerOperationErrorStates = i32; +pub type KeyCredentialManagerOperationType = i32; +pub type READER_SEL_REQUEST_MATCH_TYPE = i32; +pub type SCARD_SCOPE = u32; +pub type SCARD_STATE = u32; +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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)] +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)] +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)] +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)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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_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_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_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_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)] +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)] +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)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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_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>; +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>; +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>; +pub type LPOCNDSCPROC = ::core::option::Option<unsafe extern "system" fn(param0: usize, param1: usize, param2: *const ::core::ffi::c_void) -> ()>; 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 0000000..8120407 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Catalog/mod.rs @@ -0,0 +1,217 @@ +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATAdminAcquireContext(phcatadmin : *mut isize, pgsubsystem : *const ::windows_sys::core::GUID, dwflags : u32) -> super::super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +::windows_targets::link!("wintrust.dll" "system" fn CryptCATAdminAddCatalog(hcatadmin : isize, pwszcatalogfile : ::windows_sys::core::PCWSTR, pwszselectbasename : ::windows_sys::core::PCWSTR, dwflags : u32) -> isize); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATAdminCalcHashFromFileHandle(hfile : super::super::super::Foundation:: HANDLE, pcbhash : *mut u32, pbhash : *mut u8, dwflags : u32) -> super::super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATAdminCalcHashFromFileHandle2(hcatadmin : isize, hfile : super::super::super::Foundation:: HANDLE, pcbhash : *mut u32, pbhash : *mut u8, dwflags : u32) -> super::super::super::Foundation:: BOOL); +::windows_targets::link!("wintrust.dll" "system" fn CryptCATAdminEnumCatalogFromHash(hcatadmin : isize, pbhash : *const u8, cbhash : u32, dwflags : u32, phprevcatinfo : *mut isize) -> isize); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATAdminPauseServiceForBackup(dwflags : u32, fresume : super::super::super::Foundation:: BOOL) -> super::super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATAdminReleaseCatalogContext(hcatadmin : isize, hcatinfo : isize, dwflags : u32) -> super::super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATAdminReleaseContext(hcatadmin : isize, dwflags : u32) -> super::super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATAdminRemoveCatalog(hcatadmin : isize, pwszcatalogfile : ::windows_sys::core::PCWSTR, dwflags : u32) -> super::super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATAdminResolveCatalogPath(hcatadmin : isize, pwszcatalogfile : ::windows_sys::core::PCWSTR, pscatinfo : *mut CATALOG_INFO, dwflags : u32) -> super::super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn CryptCATAllocSortedMemberInfo(hcatalog : super::super::super::Foundation:: HANDLE, pwszreferencetag : ::windows_sys::core::PCWSTR) -> *mut CRYPTCATMEMBER); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATCDFClose(pcdf : *mut CRYPTCATCDF) -> super::super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn CryptCATCDFEnumAttributes(pcdf : *mut CRYPTCATCDF, pmember : *mut CRYPTCATMEMBER, pprevattr : *mut CRYPTCATATTRIBUTE, pfnparseerror : PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATATTRIBUTE); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATCDFEnumCatAttributes(pcdf : *mut CRYPTCATCDF, pprevattr : *mut CRYPTCATATTRIBUTE, pfnparseerror : PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATATTRIBUTE); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn CryptCATCDFEnumMembers(pcdf : *mut CRYPTCATCDF, pprevmember : *mut CRYPTCATMEMBER, pfnparseerror : PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATMEMBER); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATCDFOpen(pwszfilepath : ::windows_sys::core::PCWSTR, pfnparseerror : PFN_CDF_PARSE_ERROR_CALLBACK) -> *mut CRYPTCATCDF); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATCatalogInfoFromContext(hcatinfo : isize, pscatinfo : *mut CATALOG_INFO, dwflags : u32) -> super::super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATClose(hcatalog : super::super::super::Foundation:: HANDLE) -> super::super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn CryptCATEnumerateAttr(hcatalog : super::super::super::Foundation:: HANDLE, pcatmember : *mut CRYPTCATMEMBER, pprevattr : *mut CRYPTCATATTRIBUTE) -> *mut CRYPTCATATTRIBUTE); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATEnumerateCatAttr(hcatalog : super::super::super::Foundation:: HANDLE, pprevattr : *mut CRYPTCATATTRIBUTE) -> *mut CRYPTCATATTRIBUTE); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn CryptCATEnumerateMember(hcatalog : super::super::super::Foundation:: HANDLE, pprevmember : *mut CRYPTCATMEMBER) -> *mut CRYPTCATMEMBER); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn CryptCATFreeSortedMemberInfo(hcatalog : super::super::super::Foundation:: HANDLE, pcatmember : *mut CRYPTCATMEMBER) -> ()); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn CryptCATGetAttrInfo(hcatalog : super::super::super::Foundation:: HANDLE, pcatmember : *mut CRYPTCATMEMBER, pwszreferencetag : ::windows_sys::core::PCWSTR) -> *mut CRYPTCATATTRIBUTE); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATGetCatAttrInfo(hcatalog : super::super::super::Foundation:: HANDLE, pwszreferencetag : ::windows_sys::core::PCWSTR) -> *mut CRYPTCATATTRIBUTE); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn CryptCATGetMemberInfo(hcatalog : super::super::super::Foundation:: HANDLE, pwszreferencetag : ::windows_sys::core::PCWSTR) -> *mut CRYPTCATMEMBER); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATHandleFromStore(pcatstore : *mut CRYPTCATSTORE) -> super::super::super::Foundation:: HANDLE); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATOpen(pwszfilename : ::windows_sys::core::PCWSTR, fdwopenflags : CRYPTCAT_OPEN_FLAGS, hprov : usize, dwpublicversion : CRYPTCAT_VERSION, dwencodingtype : u32) -> super::super::super::Foundation:: HANDLE); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATPersistStore(hcatalog : super::super::super::Foundation:: HANDLE) -> super::super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATPutCatAttrInfo(hcatalog : super::super::super::Foundation:: HANDLE, pwszreferencetag : ::windows_sys::core::PCWSTR, dwattrtypeandaction : u32, cbdata : u32, pbdata : *mut u8) -> *mut CRYPTCATATTRIBUTE); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCATStoreFromHandle(hcatalog : super::super::super::Foundation:: HANDLE) -> *mut CRYPTCATSTORE); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsCatalogFile(hfile : super::super::super::Foundation:: HANDLE, pwszfilename : ::windows_sys::core::PCWSTR) -> super::super::super::Foundation:: BOOL); +pub const CRYPTCAT_ADDCATALOG_HARDLINK: u32 = 1u32; +pub const CRYPTCAT_ADDCATALOG_NONE: u32 = 0u32; +pub const CRYPTCAT_ATTR_AUTHENTICATED: u32 = 268435456u32; +pub const CRYPTCAT_ATTR_DATAASCII: u32 = 65536u32; +pub const CRYPTCAT_ATTR_DATABASE64: u32 = 131072u32; +pub const CRYPTCAT_ATTR_DATAREPLACE: u32 = 262144u32; +pub const CRYPTCAT_ATTR_NAMEASCII: u32 = 1u32; +pub const CRYPTCAT_ATTR_NAMEOBJID: u32 = 2u32; +pub const CRYPTCAT_ATTR_NO_AUTO_COMPAT_ENTRY: u32 = 16777216u32; +pub const CRYPTCAT_ATTR_UNAUTHENTICATED: u32 = 536870912u32; +pub const CRYPTCAT_E_AREA_ATTRIBUTE: u32 = 131072u32; +pub const CRYPTCAT_E_AREA_HEADER: u32 = 0u32; +pub const CRYPTCAT_E_AREA_MEMBER: u32 = 65536u32; +pub const CRYPTCAT_E_CDF_ATTR_TOOFEWVALUES: u32 = 131074u32; +pub const CRYPTCAT_E_CDF_ATTR_TYPECOMBO: u32 = 131076u32; +pub const CRYPTCAT_E_CDF_BAD_GUID_CONV: u32 = 131073u32; +pub const CRYPTCAT_E_CDF_DUPLICATE: u32 = 2u32; +pub const CRYPTCAT_E_CDF_MEMBER_FILENOTFOUND: u32 = 65540u32; +pub const CRYPTCAT_E_CDF_MEMBER_FILE_PATH: u32 = 65537u32; +pub const CRYPTCAT_E_CDF_MEMBER_INDIRECTDATA: u32 = 65538u32; +pub const CRYPTCAT_E_CDF_TAGNOTFOUND: u32 = 4u32; +pub const CRYPTCAT_E_CDF_UNSUPPORTED: u32 = 1u32; +pub const CRYPTCAT_FILEEXT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAT"); +pub const CRYPTCAT_MAX_MEMBERTAG: u32 = 64u32; +pub const CRYPTCAT_MEMBER_SORTED: u32 = 1073741824u32; +pub const CRYPTCAT_OPEN_ALWAYS: CRYPTCAT_OPEN_FLAGS = 2u32; +pub const CRYPTCAT_OPEN_CREATENEW: CRYPTCAT_OPEN_FLAGS = 1u32; +pub const CRYPTCAT_OPEN_EXCLUDE_PAGE_HASHES: CRYPTCAT_OPEN_FLAGS = 65536u32; +pub const CRYPTCAT_OPEN_EXISTING: CRYPTCAT_OPEN_FLAGS = 4u32; +pub const CRYPTCAT_OPEN_FLAGS_MASK: CRYPTCAT_OPEN_FLAGS = 4294901760u32; +pub const CRYPTCAT_OPEN_INCLUDE_PAGE_HASHES: CRYPTCAT_OPEN_FLAGS = 131072u32; +pub const CRYPTCAT_OPEN_NO_CONTENT_HCRYPTMSG: CRYPTCAT_OPEN_FLAGS = 536870912u32; +pub const CRYPTCAT_OPEN_SORTED: CRYPTCAT_OPEN_FLAGS = 1073741824u32; +pub const CRYPTCAT_OPEN_VERIFYSIGHASH: CRYPTCAT_OPEN_FLAGS = 268435456u32; +pub const CRYPTCAT_VERSION_1: CRYPTCAT_VERSION = 256u32; +pub const CRYPTCAT_VERSION_2: CRYPTCAT_VERSION = 512u32; +pub const szOID_CATALOG_LIST: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.12.1.1"); +pub const szOID_CATALOG_LIST_MEMBER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.12.1.2"); +pub const szOID_CATALOG_LIST_MEMBER2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.12.1.3"); +pub type CRYPTCAT_OPEN_FLAGS = u32; +pub type CRYPTCAT_VERSION = u32; +#[repr(C)] +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)] +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_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_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::CRYPT_INTEGER_BLOB, + pub sEncodedMemberInfo: super::CRYPT_INTEGER_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_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Sip\"`"] +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] +pub struct MS_ADDINFO_CATALOGMEMBER { + pub cbStruct: u32, + pub pStore: *mut CRYPTCATSTORE, + pub pMember: *mut CRYPTCATMEMBER, +} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] +impl ::core::marker::Copy for MS_ADDINFO_CATALOGMEMBER {} +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Sip"))] +impl ::core::clone::Clone for MS_ADDINFO_CATALOGMEMBER { + fn clone(&self) -> Self { + *self + } +} +pub type PFN_CDF_PARSE_ERROR_CALLBACK = ::core::option::Option<unsafe extern "system" fn(dwerrorarea: u32, dwlocalerror: u32, pwszline: ::windows_sys::core::PCWSTR) -> ()>; 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 0000000..7a6612a --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Certificates/mod.rs @@ -0,0 +1,2494 @@ +::windows_targets::link!("certadm.dll" "system" fn CertSrvBackupClose(hbc : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("certadm.dll" "system" fn CertSrvBackupEnd(hbc : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("certadm.dll" "system" fn CertSrvBackupFree(pv : *mut ::core::ffi::c_void) -> ()); +::windows_targets::link!("certadm.dll" "system" fn CertSrvBackupGetBackupLogsW(hbc : *const ::core::ffi::c_void, ppwszzbackuplogfiles : *mut ::windows_sys::core::PWSTR, pcbsize : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("certadm.dll" "system" fn CertSrvBackupGetDatabaseNamesW(hbc : *const ::core::ffi::c_void, ppwszzattachmentinformation : *mut ::windows_sys::core::PWSTR, pcbsize : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("certadm.dll" "system" fn CertSrvBackupGetDynamicFileListW(hbc : *const ::core::ffi::c_void, ppwszzfilelist : *mut ::windows_sys::core::PWSTR, pcbsize : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("certadm.dll" "system" fn CertSrvBackupOpenFileW(hbc : *mut ::core::ffi::c_void, pwszattachmentname : ::windows_sys::core::PCWSTR, cbreadhintsize : u32, plifilesize : *mut i64) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("certadm.dll" "system" fn CertSrvBackupPrepareW(pwszservername : ::windows_sys::core::PCWSTR, grbitjet : u32, dwbackupflags : CSBACKUP_TYPE, phbc : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("certadm.dll" "system" fn CertSrvBackupRead(hbc : *mut ::core::ffi::c_void, pvbuffer : *mut ::core::ffi::c_void, cbbuffer : u32, pcbread : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("certadm.dll" "system" fn CertSrvBackupTruncateLogs(hbc : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("certadm.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertSrvIsServerOnlineW(pwszservername : ::windows_sys::core::PCWSTR, pfserveronline : *mut super::super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("certadm.dll" "system" fn CertSrvRestoreEnd(hbc : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("certadm.dll" "system" fn CertSrvRestoreGetDatabaseLocationsW(hbc : *const ::core::ffi::c_void, ppwszzdatabaselocationlist : *mut ::windows_sys::core::PWSTR, pcbsize : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("certadm.dll" "system" fn CertSrvRestorePrepareW(pwszservername : ::windows_sys::core::PCWSTR, dwrestoreflags : u32, phbc : *mut *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("certadm.dll" "system" fn CertSrvRestoreRegisterComplete(hbc : *mut ::core::ffi::c_void, hrrestorestate : ::windows_sys::core::HRESULT) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("certadm.dll" "system" 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); +::windows_targets::link!("certadm.dll" "system" 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); +::windows_targets::link!("certadm.dll" "system" fn CertSrvServerControlW(pwszservername : ::windows_sys::core::PCWSTR, dwcontrolflags : u32, pcbout : *mut u32, ppbout : *mut *mut u8) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("certpoleng.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PstAcquirePrivateKey(pcert : *const super:: CERT_CONTEXT) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] +::windows_targets::link!("certpoleng.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("certpoleng.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] +::windows_targets::link!("certpoleng.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`"] 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); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] +::windows_targets::link!("certpoleng.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("certpoleng.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PstGetUserNameForCertificate(pcertcontext : *const super:: CERT_CONTEXT, username : *mut super::super::super::Foundation:: UNICODE_STRING) -> super::super::super::Foundation:: NTSTATUS); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authentication_Identity"))] +::windows_targets::link!("certpoleng.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Authentication_Identity\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("certpoleng.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +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; +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; +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; +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; +pub const AlgorithmFlagsNone: AlgorithmFlags = 0i32; +pub const AlgorithmFlagsWrap: AlgorithmFlags = 1i32; +pub const AllowNoOutstandingRequest: InstallResponseRestrictionFlags = 1i32; +pub const AllowNone: InstallResponseRestrictionFlags = 0i32; +pub const AllowUntrustedCertificate: InstallResponseRestrictionFlags = 2i32; +pub const AllowUntrustedRoot: InstallResponseRestrictionFlags = 4i32; +pub const AllowedKeySignature: Pkcs10AllowedSignatureTypes = 1i32; +pub const AllowedNullSignature: Pkcs10AllowedSignatureTypes = 2i32; +pub const CAIF_DSENTRY: u32 = 1u32; +pub const CAIF_LOCAL: u32 = 8u32; +pub const CAIF_REGISTRY: u32 = 4u32; +pub const CAIF_REGISTRYPARENT: u32 = 16u32; +pub const CAIF_SHAREDFOLDERENTRY: u32 = 2u32; +pub const CAPATHLENGTH_INFINITE: u32 = 4294967295u32; +pub const CAPropCertificate: EnrollmentCAProperty = 7i32; +pub const CAPropCertificateTypes: EnrollmentCAProperty = 6i32; +pub const CAPropCommonName: EnrollmentCAProperty = 1i32; +pub const CAPropDNSName: EnrollmentCAProperty = 5i32; +pub const CAPropDescription: EnrollmentCAProperty = 8i32; +pub const CAPropDistinguishedName: EnrollmentCAProperty = 2i32; +pub const CAPropRenewalOnly: EnrollmentCAProperty = 12i32; +pub const CAPropSanitizedName: EnrollmentCAProperty = 3i32; +pub const CAPropSanitizedShortName: EnrollmentCAProperty = 4i32; +pub const CAPropSecurity: EnrollmentCAProperty = 11i32; +pub const CAPropSiteName: EnrollmentCAProperty = 10i32; +pub const CAPropWebServers: EnrollmentCAProperty = 9i32; +pub const CA_ACCESS_ADMIN: CERTADMIN_GET_ROLES_FLAGS = 1u32; +pub const CA_ACCESS_AUDITOR: CERTADMIN_GET_ROLES_FLAGS = 4u32; +pub const CA_ACCESS_ENROLL: CERTADMIN_GET_ROLES_FLAGS = 512u32; +pub const CA_ACCESS_MASKROLES: u32 = 255u32; +pub const CA_ACCESS_OFFICER: CERTADMIN_GET_ROLES_FLAGS = 2u32; +pub const CA_ACCESS_OPERATOR: CERTADMIN_GET_ROLES_FLAGS = 8u32; +pub const CA_ACCESS_READ: CERTADMIN_GET_ROLES_FLAGS = 256u32; +pub const CA_CRL_BASE: u32 = 1u32; +pub const CA_CRL_DELTA: u32 = 2u32; +pub const CA_CRL_REPUBLISH: u32 = 16u32; +pub const CA_DISP_ERROR: u32 = 1u32; +pub const CA_DISP_INCOMPLETE: u32 = 0u32; +pub const CA_DISP_INVALID: u32 = 4u32; +pub const CA_DISP_REVOKED: u32 = 2u32; +pub const CA_DISP_UNDER_SUBMISSION: u32 = 5u32; +pub const CA_DISP_VALID: u32 = 3u32; +pub const CAlternativeName: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2013_217d_11da_b2a4_000e7bbb2b09); +pub const CAlternativeNames: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2014_217d_11da_b2a4_000e7bbb2b09); +pub const CBinaryConverter: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2002_217d_11da_b2a4_000e7bbb2b09); +pub const CCLOCKSKEWMINUTESDEFAULT: u32 = 10u32; +pub const CC_DEFAULTCONFIG: CERT_GET_CONFIG_FLAGS = 0i32; +pub const CC_FIRSTCONFIG: CERT_GET_CONFIG_FLAGS = 2i32; +pub const CC_LOCALACTIVECONFIG: CERT_GET_CONFIG_FLAGS = 4i32; +pub const CC_LOCALCONFIG: CERT_GET_CONFIG_FLAGS = 3i32; +pub const CC_UIPICKCONFIG: CERT_GET_CONFIG_FLAGS = 1i32; +pub const CC_UIPICKCONFIGSKIPLOCALCA: CERT_GET_CONFIG_FLAGS = 5i32; +pub const CCertAdmin: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x37eabaf0_7fb6_11d0_8817_00a0c903b83c); +pub const CCertConfig: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x372fce38_4324_11d0_8810_00a0c903b83c); +pub const CCertEncodeAltName: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1cfc4cda_1271_11d1_9bd4_00c04fb683fa); +pub const CCertEncodeBitString: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6d6b3cd8_1278_11d1_9bd4_00c04fb683fa); +pub const CCertEncodeCRLDistInfo: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x01fa60a0_bbff_11d0_8825_00a0c903b83c); +pub const CCertEncodeDateArray: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x301f77b0_a470_11d0_8821_00a0c903b83c); +pub const CCertEncodeLongArray: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4e0680a0_a0a2_11d0_8821_00a0c903b83c); +pub const CCertEncodeStringArray: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x19a76fe0_7494_11d0_8816_00a0c903b83c); +pub const CCertGetConfig: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc6cc49b0_ce17_11d0_8833_00a0c903b83c); +pub const CCertProperties: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e202f_217d_11da_b2a4_000e7bbb2b09); +pub const CCertProperty: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e202e_217d_11da_b2a4_000e7bbb2b09); +pub const CCertPropertyArchived: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2037_217d_11da_b2a4_000e7bbb2b09); +pub const CCertPropertyArchivedKeyHash: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e203b_217d_11da_b2a4_000e7bbb2b09); +pub const CCertPropertyAutoEnroll: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2032_217d_11da_b2a4_000e7bbb2b09); +pub const CCertPropertyBackedUp: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2038_217d_11da_b2a4_000e7bbb2b09); +pub const CCertPropertyDescription: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2031_217d_11da_b2a4_000e7bbb2b09); +pub const CCertPropertyEnrollment: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2039_217d_11da_b2a4_000e7bbb2b09); +pub const CCertPropertyEnrollmentPolicyServer: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e204c_217d_11da_b2a4_000e7bbb2b09); +pub const CCertPropertyFriendlyName: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2030_217d_11da_b2a4_000e7bbb2b09); +pub const CCertPropertyKeyProvInfo: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2036_217d_11da_b2a4_000e7bbb2b09); +pub const CCertPropertyRenewal: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e203a_217d_11da_b2a4_000e7bbb2b09); +pub const CCertPropertyRequestOriginator: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2033_217d_11da_b2a4_000e7bbb2b09); +pub const CCertPropertySHA1Hash: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2034_217d_11da_b2a4_000e7bbb2b09); +pub const CCertRequest: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x98aff3f0_5524_11d0_8812_00a0c903b83c); +pub const CCertServerExit: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x4c4a5e40_732c_11d0_8816_00a0c903b83c); +pub const CCertServerPolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xaa000926_ffbe_11cf_8800_00a0c903b83c); +pub const CCertView: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xa12d0f7a_1e84_11d1_9bd6_00c04fb683fa); +pub const CCertificateAttestationChallenge: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x1362ada1_eb60_456a_b6e1_118050db741b); +pub const CCertificatePolicies: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e201f_217d_11da_b2a4_000e7bbb2b09); +pub const CCertificatePolicy: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e201e_217d_11da_b2a4_000e7bbb2b09); +pub const CCryptAttribute: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e202c_217d_11da_b2a4_000e7bbb2b09); +pub const CCryptAttributes: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e202d_217d_11da_b2a4_000e7bbb2b09); +pub const CCspInformation: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2007_217d_11da_b2a4_000e7bbb2b09); +pub const CCspInformations: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2008_217d_11da_b2a4_000e7bbb2b09); +pub const CCspStatus: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2009_217d_11da_b2a4_000e7bbb2b09); +pub const CDR_EXPIRED: CERT_DELETE_ROW_FLAGS = 1i32; +pub const CDR_REQUEST_LAST_CHANGED: CERT_DELETE_ROW_FLAGS = 2i32; +pub const CERTENROLL_INDEX_BASE: u32 = 0u32; +pub const CERT_ALT_NAME_DIRECTORY_NAME: CERT_ALT_NAME = 5i32; +pub const CERT_ALT_NAME_DNS_NAME: CERT_ALT_NAME = 3i32; +pub const CERT_ALT_NAME_IP_ADDRESS: CERT_ALT_NAME = 8i32; +pub const CERT_ALT_NAME_OTHER_NAME: CERT_ALT_NAME = 1i32; +pub const CERT_ALT_NAME_REGISTERED_ID: CERT_ALT_NAME = 9i32; +pub const CERT_ALT_NAME_RFC822_NAME: CERT_ALT_NAME = 2i32; +pub const CERT_ALT_NAME_URL: CERT_ALT_NAME = 7i32; +pub const CEnroll: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x43f8f289_7a20_11d0_8f06_00c04fc295e1); +pub const CEnroll2: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x127698e4_e730_4e5c_a2b1_21490a70c8a1); +pub const CMM_READONLY: u32 = 2u32; +pub const CMM_REFRESHONLY: u32 = 1u32; +pub const CObjectId: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2000_217d_11da_b2a4_000e7bbb2b09); +pub const CObjectIds: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2001_217d_11da_b2a4_000e7bbb2b09); +pub const CPF_BADURL_ERROR: u32 = 32u32; +pub const CPF_BASE: u32 = 1u32; +pub const CPF_CASTORE_ERROR: u32 = 16u32; +pub const CPF_COMPLETE: u32 = 4u32; +pub const CPF_DELTA: u32 = 2u32; +pub const CPF_FILE_ERROR: u32 = 512u32; +pub const CPF_FTP_ERROR: u32 = 1024u32; +pub const CPF_HTTP_ERROR: u32 = 2048u32; +pub const CPF_LDAP_ERROR: u32 = 256u32; +pub const CPF_MANUAL: u32 = 64u32; +pub const CPF_POSTPONED_BASE_FILE_ERROR: u32 = 8192u32; +pub const CPF_POSTPONED_BASE_LDAP_ERROR: u32 = 4096u32; +pub const CPF_SHADOW: u32 = 8u32; +pub const CPF_SIGNATURE_ERROR: u32 = 128u32; +pub const CPolicyQualifier: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e201c_217d_11da_b2a4_000e7bbb2b09); +pub const CPolicyQualifiers: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e201d_217d_11da_b2a4_000e7bbb2b09); +pub const CRLF_ALLOW_REQUEST_ATTRIBUTE_SUBJECT: u32 = 65536u32; +pub const CRLF_BUILD_ROOTCA_CRLENTRIES_BASEDONKEY: u32 = 2097152u32; +pub const CRLF_CRLNUMBER_CRITICAL: u32 = 4u32; +pub const CRLF_DELETE_EXPIRED_CRLS: u32 = 2u32; +pub const CRLF_DELTA_USE_OLDEST_UNEXPIRED_BASE: u32 = 1u32; +pub const CRLF_DISABLE_CHAIN_VERIFICATION: u32 = 1048576u32; +pub const CRLF_DISABLE_RDN_REORDER: u32 = 2048u32; +pub const CRLF_DISABLE_ROOT_CROSS_CERTS: u32 = 4096u32; +pub const CRLF_ENFORCE_ENROLLMENT_AGENT: u32 = 1024u32; +pub const CRLF_IGNORE_CROSS_CERT_TRUST_ERROR: u32 = 256u32; +pub const CRLF_IGNORE_INVALID_POLICIES: u32 = 16u32; +pub const CRLF_IGNORE_UNKNOWN_CMC_ATTRIBUTES: u32 = 128u32; +pub const CRLF_LOG_FULL_RESPONSE: u32 = 8192u32; +pub const CRLF_PRESERVE_EXPIRED_CA_CERTS: u32 = 262144u32; +pub const CRLF_PRESERVE_REVOKED_CA_CERTS: u32 = 524288u32; +pub const CRLF_PUBLISH_EXPIRED_CERT_CRLS: u32 = 512u32; +pub const CRLF_REBUILD_MODIFIED_SUBJECT_ONLY: u32 = 32u32; +pub const CRLF_REVCHECK_IGNORE_NOREVCHECK: u32 = 131072u32; +pub const CRLF_REVCHECK_IGNORE_OFFLINE: u32 = 8u32; +pub const CRLF_SAVE_FAILED_CERTS: u32 = 64u32; +pub const CRLF_USE_CROSS_CERT_TEMPLATE: u32 = 32768u32; +pub const CRLF_USE_XCHG_CERT_TEMPLATE: u32 = 16384u32; +pub const CRYPT_ENUM_ALL_PROVIDERS: u32 = 1u32; +pub const CR_DISP_DENIED: CR_DISP = 2u32; +pub const CR_DISP_ERROR: CR_DISP = 1u32; +pub const CR_DISP_INCOMPLETE: CR_DISP = 0u32; +pub const CR_DISP_ISSUED: CR_DISP = 3u32; +pub const CR_DISP_ISSUED_OUT_OF_BAND: CR_DISP = 4u32; +pub const CR_DISP_REVOKED: u32 = 6u32; +pub const CR_DISP_UNDER_SUBMISSION: CR_DISP = 5u32; +pub const CR_FLG_CACROSSCERT: u32 = 128u32; +pub const CR_FLG_CAXCHGCERT: u32 = 8u32; +pub const CR_FLG_CHALLENGEPENDING: u32 = 1024u32; +pub const CR_FLG_CHALLENGESATISFIED: u32 = 2048u32; +pub const CR_FLG_DEFINEDCACERT: u32 = 512u32; +pub const CR_FLG_ENFORCEUTF8: u32 = 256u32; +pub const CR_FLG_ENROLLONBEHALFOF: u32 = 16u32; +pub const CR_FLG_FORCETELETEX: u32 = 1u32; +pub const CR_FLG_FORCEUTF8: u32 = 4u32; +pub const CR_FLG_PUBLISHERROR: u32 = 2147483648u32; +pub const CR_FLG_RENEWAL: u32 = 2u32; +pub const CR_FLG_SUBJECTUNMODIFIED: u32 = 32u32; +pub const CR_FLG_TRUSTEKCERT: u32 = 8192u32; +pub const CR_FLG_TRUSTEKKEY: u32 = 16384u32; +pub const CR_FLG_TRUSTONUSE: u32 = 4096u32; +pub const CR_FLG_VALIDENCRYPTEDKEYHASH: u32 = 64u32; +pub const CR_GEMT_DEFAULT: u32 = 0u32; +pub const CR_GEMT_HRESULT_STRING: u32 = 1u32; +pub const CR_GEMT_HTTP_ERROR: u32 = 2u32; +pub const CR_IN_BASE64: CERT_IMPORT_FLAGS = 1i32; +pub const CR_IN_BASE64HEADER: CERT_IMPORT_FLAGS = 0i32; +pub const CR_IN_BINARY: CERT_IMPORT_FLAGS = 2i32; +pub const CR_IN_CERTIFICATETRANSPARENCY: u32 = 67108864u32; +pub const CR_IN_CHALLENGERESPONSE: u32 = 1280u32; +pub const CR_IN_CLIENTIDNONE: u32 = 4194304u32; +pub const CR_IN_CMC: u32 = 1024u32; +pub const CR_IN_CONNECTONLY: u32 = 8388608u32; +pub const CR_IN_CRLS: u32 = 524288u32; +pub const CR_IN_ENCODEANY: u32 = 255u32; +pub const CR_IN_ENCODEMASK: u32 = 255u32; +pub const CR_IN_FORMATANY: u32 = 0u32; +pub const CR_IN_FORMATMASK: u32 = 65280u32; +pub const CR_IN_FULLRESPONSE: u32 = 262144u32; +pub const CR_IN_HTTP: u32 = 196608u32; +pub const CR_IN_KEYGEN: u32 = 512u32; +pub const CR_IN_MACHINE: u32 = 1048576u32; +pub const CR_IN_PKCS10: u32 = 256u32; +pub const CR_IN_PKCS7: u32 = 768u32; +pub const CR_IN_RETURNCHALLENGE: u32 = 16777216u32; +pub const CR_IN_ROBO: u32 = 2097152u32; +pub const CR_IN_RPC: u32 = 131072u32; +pub const CR_IN_SCEP: u32 = 65536u32; +pub const CR_IN_SCEPPOST: u32 = 33554432u32; +pub const CR_IN_SIGNEDCERTIFICATETIMESTAMPLIST: u32 = 1536u32; +pub const CR_OUT_BASE64: CERT_REQUEST_OUT_TYPE = 1i32; +pub const CR_OUT_BASE64HEADER: CERT_REQUEST_OUT_TYPE = 0i32; +pub const CR_OUT_BASE64REQUESTHEADER: u32 = 3u32; +pub const CR_OUT_BASE64X509CRLHEADER: u32 = 9u32; +pub const CR_OUT_BINARY: CERT_REQUEST_OUT_TYPE = 2i32; +pub const CR_OUT_CHAIN: u32 = 256u32; +pub const CR_OUT_CRLS: u32 = 512u32; +pub const CR_OUT_ENCODEMASK: u32 = 255u32; +pub const CR_OUT_HEX: u32 = 4u32; +pub const CR_OUT_HEXADDR: u32 = 10u32; +pub const CR_OUT_HEXASCII: u32 = 5u32; +pub const CR_OUT_HEXASCIIADDR: u32 = 11u32; +pub const CR_OUT_HEXRAW: u32 = 12u32; +pub const CR_OUT_NOCR: u32 = 2147483648u32; +pub const CR_OUT_NOCRLF: u32 = 1073741824u32; +pub const CR_PROP_ADVANCEDSERVER: u32 = 28u32; +pub const CR_PROP_BASECRL: u32 = 17u32; +pub const CR_PROP_BASECRLPUBLISHSTATUS: u32 = 30u32; +pub const CR_PROP_CABACKWARDCROSSCERT: u32 = 36u32; +pub const CR_PROP_CABACKWARDCROSSCERTSTATE: u32 = 38u32; +pub const CR_PROP_CACERTSTATE: u32 = 19u32; +pub const CR_PROP_CACERTSTATUSCODE: u32 = 34u32; +pub const CR_PROP_CACERTVERSION: u32 = 39u32; +pub const CR_PROP_CAFORWARDCROSSCERT: u32 = 35u32; +pub const CR_PROP_CAFORWARDCROSSCERTSTATE: u32 = 37u32; +pub const CR_PROP_CANAME: u32 = 6u32; +pub const CR_PROP_CAPROPIDMAX: u32 = 21u32; +pub const CR_PROP_CASIGCERT: u32 = 12u32; +pub const CR_PROP_CASIGCERTCHAIN: u32 = 13u32; +pub const CR_PROP_CASIGCERTCOUNT: u32 = 11u32; +pub const CR_PROP_CASIGCERTCRLCHAIN: u32 = 32u32; +pub const CR_PROP_CATYPE: u32 = 10u32; +pub const CR_PROP_CAXCHGCERT: u32 = 15u32; +pub const CR_PROP_CAXCHGCERTCHAIN: u32 = 16u32; +pub const CR_PROP_CAXCHGCERTCOUNT: u32 = 14u32; +pub const CR_PROP_CAXCHGCERTCRLCHAIN: u32 = 33u32; +pub const CR_PROP_CERTAIAOCSPURLS: u32 = 43u32; +pub const CR_PROP_CERTAIAURLS: u32 = 42u32; +pub const CR_PROP_CERTCDPURLS: u32 = 41u32; +pub const CR_PROP_CRLSTATE: u32 = 20u32; +pub const CR_PROP_DELTACRL: u32 = 18u32; +pub const CR_PROP_DELTACRLPUBLISHSTATUS: u32 = 31u32; +pub const CR_PROP_DNSNAME: u32 = 22u32; +pub const CR_PROP_EXITCOUNT: u32 = 3u32; +pub const CR_PROP_EXITDESCRIPTION: u32 = 4u32; +pub const CR_PROP_FILEVERSION: u32 = 1u32; +pub const CR_PROP_KRACERT: u32 = 26u32; +pub const CR_PROP_KRACERTCOUNT: u32 = 25u32; +pub const CR_PROP_KRACERTSTATE: u32 = 27u32; +pub const CR_PROP_KRACERTUSEDCOUNT: u32 = 24u32; +pub const CR_PROP_LOCALENAME: u32 = 44u32; +pub const CR_PROP_NONE: u32 = 0u32; +pub const CR_PROP_PARENTCA: u32 = 9u32; +pub const CR_PROP_POLICYDESCRIPTION: u32 = 5u32; +pub const CR_PROP_PRODUCTVERSION: u32 = 2u32; +pub const CR_PROP_ROLESEPARATIONENABLED: u32 = 23u32; +pub const CR_PROP_SANITIZEDCANAME: u32 = 7u32; +pub const CR_PROP_SANITIZEDCASHORTNAME: u32 = 40u32; +pub const CR_PROP_SCEPMAX: u32 = 1002u32; +pub const CR_PROP_SCEPMIN: u32 = 1000u32; +pub const CR_PROP_SCEPSERVERCAPABILITIES: u32 = 1001u32; +pub const CR_PROP_SCEPSERVERCERTS: u32 = 1000u32; +pub const CR_PROP_SCEPSERVERCERTSCHAIN: u32 = 1002u32; +pub const CR_PROP_SHAREDFOLDER: u32 = 8u32; +pub const CR_PROP_SUBJECTTEMPLATE_OIDS: u32 = 45u32; +pub const CR_PROP_TEMPLATES: u32 = 29u32; +pub const CSBACKUP_DISABLE_INCREMENTAL: u32 = 4294967295u32; +pub const CSBACKUP_TYPE_FULL: CSBACKUP_TYPE = 1u32; +pub const CSBACKUP_TYPE_LOGS_ONLY: CSBACKUP_TYPE = 2u32; +pub const CSBACKUP_TYPE_MASK: u32 = 3u32; +pub const CSBFT_DATABASE_DIRECTORY: u32 = 64u32; +pub const CSBFT_DIRECTORY: u32 = 128u32; +pub const CSBFT_LOG_DIRECTORY: u32 = 32u32; +pub const CSCONTROL_RESTART: u64 = 3u64; +pub const CSCONTROL_SHUTDOWN: u64 = 1u64; +pub const CSCONTROL_SUSPEND: u64 = 2u64; +pub const CSRESTORE_TYPE_CATCHUP: u32 = 4u32; +pub const CSRESTORE_TYPE_FULL: u32 = 1u32; +pub const CSRESTORE_TYPE_MASK: u32 = 5u32; +pub const CSRESTORE_TYPE_ONLINE: u32 = 2u32; +pub const CSURL_ADDTOCERTCDP: u32 = 2u32; +pub const CSURL_ADDTOCERTOCSP: u32 = 32u32; +pub const CSURL_ADDTOCRLCDP: u32 = 8u32; +pub const CSURL_ADDTOFRESHESTCRL: u32 = 4u32; +pub const CSURL_ADDTOIDP: u32 = 128u32; +pub const CSURL_PUBLISHRETRY: u32 = 16u32; +pub const CSURL_SERVERPUBLISH: u32 = 1u32; +pub const CSURL_SERVERPUBLISHDELTA: u32 = 64u32; +pub const CSVER_MAJOR: u32 = 7u32; +pub const CSVER_MAJOR_LONGHORN: u32 = 3u32; +pub const CSVER_MAJOR_THRESHOLD: u32 = 7u32; +pub const CSVER_MAJOR_WHISTLER: u32 = 2u32; +pub const CSVER_MAJOR_WIN2K: u32 = 1u32; +pub const CSVER_MAJOR_WIN7: u32 = 4u32; +pub const CSVER_MAJOR_WIN8: u32 = 5u32; +pub const CSVER_MAJOR_WINBLUE: u32 = 6u32; +pub const CSVER_MINOR: u32 = 1u32; +pub const CSVER_MINOR_LONGHORN_BETA1: u32 = 1u32; +pub const CSVER_MINOR_THRESHOLD: u32 = 1u32; +pub const CSVER_MINOR_WHISTLER_BETA2: u32 = 1u32; +pub const CSVER_MINOR_WHISTLER_BETA3: u32 = 2u32; +pub const CSVER_MINOR_WIN2K: u32 = 1u32; +pub const CSVER_MINOR_WIN7: u32 = 1u32; +pub const CSVER_MINOR_WIN8: u32 = 1u32; +pub const CSVER_MINOR_WINBLUE: u32 = 1u32; +pub const CSignerCertificate: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e203d_217d_11da_b2a4_000e7bbb2b09); +pub const CSmimeCapabilities: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e201a_217d_11da_b2a4_000e7bbb2b09); +pub const CSmimeCapability: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2019_217d_11da_b2a4_000e7bbb2b09); +pub const CVIEWAGEMINUTESDEFAULT: u32 = 16u32; +pub const CVRC_COLUMN_MASK: CVRC_COLUMN = 4095i32; +pub const CVRC_COLUMN_RESULT: CVRC_COLUMN = 1i32; +pub const CVRC_COLUMN_SCHEMA: CVRC_COLUMN = 0i32; +pub const CVRC_COLUMN_VALUE: CVRC_COLUMN = 2i32; +pub const CVRC_TABLE_ATTRIBUTES: CVRC_TABLE = 16384i32; +pub const CVRC_TABLE_CRL: CVRC_TABLE = 20480i32; +pub const CVRC_TABLE_EXTENSIONS: CVRC_TABLE = 12288i32; +pub const CVRC_TABLE_MASK: u32 = 61440u32; +pub const CVRC_TABLE_REQCERT: CVRC_TABLE = 0i32; +pub const CVRC_TABLE_SHIFT: u32 = 12u32; +pub const CVR_SEEK_EQ: CERT_VIEW_SEEK_OPERATOR_FLAGS = 1i32; +pub const CVR_SEEK_GE: CERT_VIEW_SEEK_OPERATOR_FLAGS = 8i32; +pub const CVR_SEEK_GT: CERT_VIEW_SEEK_OPERATOR_FLAGS = 16i32; +pub const CVR_SEEK_LE: CERT_VIEW_SEEK_OPERATOR_FLAGS = 4i32; +pub const CVR_SEEK_LT: CERT_VIEW_SEEK_OPERATOR_FLAGS = 2i32; +pub const CVR_SEEK_MASK: u32 = 255u32; +pub const CVR_SEEK_NODELTA: u32 = 4096u32; +pub const CVR_SEEK_NONE: u32 = 0u32; +pub const CVR_SORT_ASCEND: u32 = 1u32; +pub const CVR_SORT_DESCEND: u32 = 2u32; +pub const CVR_SORT_NONE: u32 = 0u32; +pub const CV_COLUMN_ATTRIBUTE_DEFAULT: i32 = -5i32; +pub const CV_COLUMN_CRL_DEFAULT: i32 = -6i32; +pub const CV_COLUMN_EXTENSION_DEFAULT: i32 = -4i32; +pub const CV_COLUMN_LOG_DEFAULT: CERT_VIEW_COLUMN_INDEX = -2i32; +pub const CV_COLUMN_LOG_FAILED_DEFAULT: CERT_VIEW_COLUMN_INDEX = -3i32; +pub const CV_COLUMN_LOG_REVOKED_DEFAULT: i32 = -7i32; +pub const CV_COLUMN_QUEUE_DEFAULT: CERT_VIEW_COLUMN_INDEX = -1i32; +pub const CV_OUT_BASE64: ENUM_CERT_COLUMN_VALUE_FLAGS = 1i32; +pub const CV_OUT_BASE64HEADER: ENUM_CERT_COLUMN_VALUE_FLAGS = 0i32; +pub const CV_OUT_BASE64REQUESTHEADER: ENUM_CERT_COLUMN_VALUE_FLAGS = 3i32; +pub const CV_OUT_BASE64X509CRLHEADER: ENUM_CERT_COLUMN_VALUE_FLAGS = 9i32; +pub const CV_OUT_BINARY: ENUM_CERT_COLUMN_VALUE_FLAGS = 2i32; +pub const CV_OUT_ENCODEMASK: u32 = 255u32; +pub const CV_OUT_HEX: ENUM_CERT_COLUMN_VALUE_FLAGS = 4i32; +pub const CV_OUT_HEXADDR: ENUM_CERT_COLUMN_VALUE_FLAGS = 10i32; +pub const CV_OUT_HEXASCII: ENUM_CERT_COLUMN_VALUE_FLAGS = 5i32; +pub const CV_OUT_HEXASCIIADDR: ENUM_CERT_COLUMN_VALUE_FLAGS = 11i32; +pub const CV_OUT_HEXRAW: u32 = 12u32; +pub const CV_OUT_NOCR: u32 = 2147483648u32; +pub const CV_OUT_NOCRLF: u32 = 1073741824u32; +pub const CX500DistinguishedName: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2003_217d_11da_b2a4_000e7bbb2b09); +pub const CX509Attribute: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2022_217d_11da_b2a4_000e7bbb2b09); +pub const CX509AttributeArchiveKey: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2027_217d_11da_b2a4_000e7bbb2b09); +pub const CX509AttributeArchiveKeyHash: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2028_217d_11da_b2a4_000e7bbb2b09); +pub const CX509AttributeClientId: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2025_217d_11da_b2a4_000e7bbb2b09); +pub const CX509AttributeCspProvider: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e202b_217d_11da_b2a4_000e7bbb2b09); +pub const CX509AttributeExtensions: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2024_217d_11da_b2a4_000e7bbb2b09); +pub const CX509AttributeOSVersion: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e202a_217d_11da_b2a4_000e7bbb2b09); +pub const CX509AttributeRenewalCertificate: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2026_217d_11da_b2a4_000e7bbb2b09); +pub const CX509Attributes: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2023_217d_11da_b2a4_000e7bbb2b09); +pub const CX509CertificateRequestCertificate: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2043_217d_11da_b2a4_000e7bbb2b09); +pub const CX509CertificateRequestCmc: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2045_217d_11da_b2a4_000e7bbb2b09); +pub const CX509CertificateRequestPkcs10: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2042_217d_11da_b2a4_000e7bbb2b09); +pub const CX509CertificateRequestPkcs7: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2044_217d_11da_b2a4_000e7bbb2b09); +pub const CX509CertificateRevocationList: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2060_217d_11da_b2a4_000e7bbb2b09); +pub const CX509CertificateRevocationListEntries: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e205f_217d_11da_b2a4_000e7bbb2b09); +pub const CX509CertificateRevocationListEntry: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e205e_217d_11da_b2a4_000e7bbb2b09); +pub const CX509CertificateTemplateADWritable: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8336e323_2e6a_4a04_937c_548f681839b3); +pub const CX509EndorsementKey: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x11a25a1d_b9a3_4edd_af83_3b59adbed361); +pub const CX509Enrollment: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2046_217d_11da_b2a4_000e7bbb2b09); +pub const CX509EnrollmentHelper: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2050_217d_11da_b2a4_000e7bbb2b09); +pub const CX509EnrollmentPolicyActiveDirectory: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x91f39027_217f_11da_b2a4_000e7bbb2b09); +pub const CX509EnrollmentPolicyWebService: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x91f39028_217f_11da_b2a4_000e7bbb2b09); +pub const CX509EnrollmentWebClassFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2049_217d_11da_b2a4_000e7bbb2b09); +pub const CX509Extension: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e200d_217d_11da_b2a4_000e7bbb2b09); +pub const CX509ExtensionAlternativeNames: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2015_217d_11da_b2a4_000e7bbb2b09); +pub const CX509ExtensionAuthorityKeyIdentifier: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2018_217d_11da_b2a4_000e7bbb2b09); +pub const CX509ExtensionBasicConstraints: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2016_217d_11da_b2a4_000e7bbb2b09); +pub const CX509ExtensionCertificatePolicies: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2020_217d_11da_b2a4_000e7bbb2b09); +pub const CX509ExtensionEnhancedKeyUsage: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2010_217d_11da_b2a4_000e7bbb2b09); +pub const CX509ExtensionKeyUsage: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e200f_217d_11da_b2a4_000e7bbb2b09); +pub const CX509ExtensionMSApplicationPolicies: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2021_217d_11da_b2a4_000e7bbb2b09); +pub const CX509ExtensionSmimeCapabilities: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e201b_217d_11da_b2a4_000e7bbb2b09); +pub const CX509ExtensionSubjectKeyIdentifier: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2017_217d_11da_b2a4_000e7bbb2b09); +pub const CX509ExtensionTemplate: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2012_217d_11da_b2a4_000e7bbb2b09); +pub const CX509ExtensionTemplateName: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2011_217d_11da_b2a4_000e7bbb2b09); +pub const CX509Extensions: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e200e_217d_11da_b2a4_000e7bbb2b09); +pub const CX509MachineEnrollmentFactory: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2051_217d_11da_b2a4_000e7bbb2b09); +pub const CX509NameValuePair: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e203f_217d_11da_b2a4_000e7bbb2b09); +pub const CX509PolicyServerListManager: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x91f39029_217f_11da_b2a4_000e7bbb2b09); +pub const CX509PolicyServerUrl: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x91f3902a_217f_11da_b2a4_000e7bbb2b09); +pub const CX509PrivateKey: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e200c_217d_11da_b2a4_000e7bbb2b09); +pub const CX509PublicKey: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e200b_217d_11da_b2a4_000e7bbb2b09); +pub const CX509SCEPEnrollment: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2061_217d_11da_b2a4_000e7bbb2b09); +pub const CX509SCEPEnrollmentHelper: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x884e2062_217d_11da_b2a4_000e7bbb2b09); +pub const ClientIdAutoEnroll: RequestClientInfoClientId = 6i32; +pub const ClientIdAutoEnroll2003: RequestClientInfoClientId = 2i32; +pub const ClientIdCertReq: RequestClientInfoClientId = 9i32; +pub const ClientIdCertReq2003: RequestClientInfoClientId = 4i32; +pub const ClientIdDefaultRequest: RequestClientInfoClientId = 5i32; +pub const ClientIdEOBO: RequestClientInfoClientId = 8i32; +pub const ClientIdNone: RequestClientInfoClientId = 0i32; +pub const ClientIdRequestWizard: RequestClientInfoClientId = 7i32; +pub const ClientIdTest: RequestClientInfoClientId = 10i32; +pub const ClientIdUserStart: RequestClientInfoClientId = 1000i32; +pub const ClientIdWinRT: RequestClientInfoClientId = 11i32; +pub const ClientIdWizard2003: RequestClientInfoClientId = 3i32; +pub const ClientIdXEnroll2003: RequestClientInfoClientId = 1i32; +pub const CommitFlagDeleteTemplate: CommitTemplateFlags = 4i32; +pub const CommitFlagSaveTemplateGenerateOID: CommitTemplateFlags = 1i32; +pub const CommitFlagSaveTemplateOverwrite: CommitTemplateFlags = 3i32; +pub const CommitFlagSaveTemplateUseCurrentOID: CommitTemplateFlags = 2i32; +pub const ContextAdministratorForceMachine: X509CertificateEnrollmentContext = 3i32; +pub const ContextMachine: X509CertificateEnrollmentContext = 2i32; +pub const ContextNone: X509CertificateEnrollmentContext = 0i32; +pub const ContextUser: X509CertificateEnrollmentContext = 1i32; +pub const DBFLAGS_CHECKPOINTDEPTH60MB: u32 = 32u32; +pub const DBFLAGS_CIRCULARLOGGING: u32 = 4u32; +pub const DBFLAGS_CREATEIFNEEDED: u32 = 2u32; +pub const DBFLAGS_DISABLESNAPSHOTBACKUP: u32 = 1024u32; +pub const DBFLAGS_ENABLEVOLATILEREQUESTS: u32 = 2048u32; +pub const DBFLAGS_LAZYFLUSH: u32 = 8u32; +pub const DBFLAGS_LOGBUFFERSHUGE: u32 = 128u32; +pub const DBFLAGS_LOGBUFFERSLARGE: u32 = 64u32; +pub const DBFLAGS_LOGFILESIZE16MB: u32 = 256u32; +pub const DBFLAGS_MAXCACHESIZEX100: u32 = 16u32; +pub const DBFLAGS_MULTITHREADTRANSACTIONS: u32 = 512u32; +pub const DBFLAGS_READONLY: u32 = 1u32; +pub const DBG_CERTSRV: u32 = 1u32; +pub const DBSESSIONCOUNTDEFAULT: u32 = 100u32; +pub const DB_DISP_ACTIVE: u32 = 8u32; +pub const DB_DISP_CA_CERT: u32 = 15u32; +pub const DB_DISP_CA_CERT_CHAIN: u32 = 16u32; +pub const DB_DISP_DENIED: u32 = 31u32; +pub const DB_DISP_ERROR: u32 = 30u32; +pub const DB_DISP_FOREIGN: u32 = 12u32; +pub const DB_DISP_ISSUED: u32 = 20u32; +pub const DB_DISP_KRA_CERT: u32 = 17u32; +pub const DB_DISP_LOG_FAILED_MIN: u32 = 30u32; +pub const DB_DISP_LOG_MIN: u32 = 20u32; +pub const DB_DISP_PENDING: u32 = 9u32; +pub const DB_DISP_QUEUE_MAX: u32 = 9u32; +pub const DB_DISP_REVOKED: u32 = 21u32; +pub const DefaultNone: EnrollmentPolicyServerPropertyFlags = 0i32; +pub const DefaultPolicyServer: EnrollmentPolicyServerPropertyFlags = 1i32; +pub const DelayRetryLong: DelayRetryAction = 3i32; +pub const DelayRetryNone: DelayRetryAction = 1i32; +pub const DelayRetryPastSuccess: DelayRetryAction = 5i32; +pub const DelayRetryShort: DelayRetryAction = 2i32; +pub const DelayRetrySuccess: DelayRetryAction = 4i32; +pub const DelayRetryUnknown: DelayRetryAction = 0i32; +pub const DisableGroupPolicyList: EnrollmentPolicyFlags = 2i32; +pub const DisableUserServerList: EnrollmentPolicyFlags = 4i32; +pub const DisplayNo: EnrollmentDisplayStatus = 0i32; +pub const DisplayYes: EnrollmentDisplayStatus = 1i32; +pub const EANR_SUPPRESS_IA5CONVERSION: u32 = 2147483648u32; +pub const EAN_NAMEOBJECTID: u32 = 2147483648u32; +pub const EDITF_ADDOLDCERTTYPE: u32 = 16u32; +pub const EDITF_ADDOLDKEYUSAGE: u32 = 8u32; +pub const EDITF_ATTRIBUTECA: u32 = 512u32; +pub const EDITF_ATTRIBUTEEKU: u32 = 32768u32; +pub const EDITF_ATTRIBUTEENDDATE: u32 = 32u32; +pub const EDITF_ATTRIBUTESUBJECTALTNAME2: u32 = 262144u32; +pub const EDITF_AUDITCERTTEMPLATELOAD: u32 = 2097152u32; +pub const EDITF_BASICCONSTRAINTSCA: u32 = 128u32; +pub const EDITF_BASICCONSTRAINTSCRITICAL: u32 = 64u32; +pub const EDITF_DISABLEEXTENSIONLIST: u32 = 4u32; +pub const EDITF_DISABLELDAPPACKAGELIST: u32 = 8388608u32; +pub const EDITF_DISABLEOLDOSCNUPN: u32 = 4194304u32; +pub const EDITF_EMAILOPTIONAL: u32 = 131072u32; +pub const EDITF_ENABLEAKICRITICAL: u32 = 8192u32; +pub const EDITF_ENABLEAKIISSUERNAME: u32 = 2048u32; +pub const EDITF_ENABLEAKIISSUERSERIAL: u32 = 4096u32; +pub const EDITF_ENABLEAKIKEYID: u32 = 256u32; +pub const EDITF_ENABLECHASECLIENTDC: u32 = 1048576u32; +pub const EDITF_ENABLEDEFAULTSMIME: u32 = 65536u32; +pub const EDITF_ENABLEKEYENCIPHERMENTCACERT: u32 = 134217728u32; +pub const EDITF_ENABLELDAPREFERRALS: u32 = 524288u32; +pub const EDITF_ENABLEOCSPREVNOCHECK: u32 = 33554432u32; +pub const EDITF_ENABLERENEWONBEHALFOF: u32 = 67108864u32; +pub const EDITF_ENABLEREQUESTEXTENSIONS: u32 = 1u32; +pub const EDITF_ENABLEUPNMAP: u32 = 16777216u32; +pub const EDITF_IGNOREREQUESTERGROUP: u32 = 1024u32; +pub const EDITF_REQUESTEXTENSIONLIST: u32 = 2u32; +pub const EDITF_SERVERUPGRADED: u32 = 16384u32; +pub const ENUMEXT_OBJECTID: u32 = 1u32; +pub const ENUM_ENTERPRISE_ROOTCA: ENUM_CATYPES = 0i32; +pub const ENUM_ENTERPRISE_SUBCA: ENUM_CATYPES = 1i32; +pub const ENUM_STANDALONE_ROOTCA: ENUM_CATYPES = 3i32; +pub const ENUM_STANDALONE_SUBCA: ENUM_CATYPES = 4i32; +pub const ENUM_UNKNOWN_CA: ENUM_CATYPES = 5i32; +pub const EXITEVENT_CERTDENIED: CERT_EXIT_EVENT_MASK = 4u32; +pub const EXITEVENT_CERTIMPORTED: u32 = 512u32; +pub const EXITEVENT_CERTISSUED: CERT_EXIT_EVENT_MASK = 1u32; +pub const EXITEVENT_CERTPENDING: CERT_EXIT_EVENT_MASK = 2u32; +pub const EXITEVENT_CERTRETRIEVEPENDING: CERT_EXIT_EVENT_MASK = 16u32; +pub const EXITEVENT_CERTREVOKED: CERT_EXIT_EVENT_MASK = 8u32; +pub const EXITEVENT_CRLISSUED: CERT_EXIT_EVENT_MASK = 32u32; +pub const EXITEVENT_INVALID: u32 = 0u32; +pub const EXITEVENT_SHUTDOWN: CERT_EXIT_EVENT_MASK = 64u32; +pub const EXITEVENT_STARTUP: u32 = 128u32; +pub const EXITPUB_ACTIVEDIRECTORY: u32 = 2u32; +pub const EXITPUB_DEFAULT_ENTERPRISE: u32 = 2u32; +pub const EXITPUB_DEFAULT_STANDALONE: u32 = 1u32; +pub const EXITPUB_FILE: u32 = 1u32; +pub const EXITPUB_REMOVEOLDCERTS: u32 = 16u32; +pub const EXTENSION_CRITICAL_FLAG: u32 = 1u32; +pub const EXTENSION_DELETE_FLAG: u32 = 4u32; +pub const EXTENSION_DISABLE_FLAG: u32 = 2u32; +pub const EXTENSION_ORIGIN_ADMIN: u32 = 196608u32; +pub const EXTENSION_ORIGIN_CACERT: u32 = 589824u32; +pub const EXTENSION_ORIGIN_CMC: u32 = 524288u32; +pub const EXTENSION_ORIGIN_IMPORTEDCERT: u32 = 393216u32; +pub const EXTENSION_ORIGIN_MASK: u32 = 983040u32; +pub const EXTENSION_ORIGIN_PKCS7: u32 = 458752u32; +pub const EXTENSION_ORIGIN_POLICY: u32 = 131072u32; +pub const EXTENSION_ORIGIN_RENEWALCERT: u32 = 327680u32; +pub const EXTENSION_ORIGIN_REQUEST: u32 = 65536u32; +pub const EXTENSION_ORIGIN_SERVER: u32 = 262144u32; +pub const EXTENSION_POLICY_MASK: u32 = 65535u32; +pub const EnrollDenied: EnrollmentEnrollStatus = 256i32; +pub const EnrollError: EnrollmentEnrollStatus = 16i32; +pub const EnrollPended: EnrollmentEnrollStatus = 2i32; +pub const EnrollPrompt: WebEnrollmentFlags = 1i32; +pub const EnrollSkipped: EnrollmentEnrollStatus = 64i32; +pub const EnrollUIDeferredEnrollmentRequired: EnrollmentEnrollStatus = 4i32; +pub const EnrollUnknown: EnrollmentEnrollStatus = 32i32; +pub const Enrolled: EnrollmentEnrollStatus = 1i32; +pub const EnrollmentAddOCSPNoCheck: X509CertificateTemplateEnrollmentFlag = 4096i32; +pub const EnrollmentAddTemplateName: X509CertificateTemplateEnrollmentFlag = 512i32; +pub const EnrollmentAllowEnrollOnBehalfOf: X509CertificateTemplateEnrollmentFlag = 2048i32; +pub const EnrollmentAutoEnrollment: X509CertificateTemplateEnrollmentFlag = 32i32; +pub const EnrollmentAutoEnrollmentCheckUserDSCertificate: X509CertificateTemplateEnrollmentFlag = 16i32; +pub const EnrollmentCertificateIssuancePoliciesFromRequest: X509CertificateTemplateEnrollmentFlag = 131072i32; +pub const EnrollmentDomainAuthenticationNotRequired: X509CertificateTemplateEnrollmentFlag = 128i32; +pub const EnrollmentIncludeBasicConstraintsForEECerts: X509CertificateTemplateEnrollmentFlag = 32768i32; +pub const EnrollmentIncludeSymmetricAlgorithms: X509CertificateTemplateEnrollmentFlag = 1i32; +pub const EnrollmentNoRevocationInfoInCerts: X509CertificateTemplateEnrollmentFlag = 16384i32; +pub const EnrollmentPendAllRequests: X509CertificateTemplateEnrollmentFlag = 2i32; +pub const EnrollmentPreviousApprovalKeyBasedValidateReenrollment: X509CertificateTemplateEnrollmentFlag = 65536i32; +pub const EnrollmentPreviousApprovalValidateReenrollment: X509CertificateTemplateEnrollmentFlag = 64i32; +pub const EnrollmentPublishToDS: X509CertificateTemplateEnrollmentFlag = 8i32; +pub const EnrollmentPublishToKRAContainer: X509CertificateTemplateEnrollmentFlag = 4i32; +pub const EnrollmentRemoveInvalidCertificateFromPersonalStore: X509CertificateTemplateEnrollmentFlag = 1024i32; +pub const EnrollmentReuseKeyOnFullSmartCard: X509CertificateTemplateEnrollmentFlag = 8192i32; +pub const EnrollmentSkipAutoRenewal: X509CertificateTemplateEnrollmentFlag = 262144i32; +pub const EnrollmentUserInteractionRequired: X509CertificateTemplateEnrollmentFlag = 256i32; +pub const ExportCAs: X509EnrollmentPolicyExportFlags = 4i32; +pub const ExportOIDs: X509EnrollmentPolicyExportFlags = 2i32; +pub const ExportTemplates: X509EnrollmentPolicyExportFlags = 1i32; +pub const FR_PROP_ATTESTATIONCHALLENGE: FULL_RESPONSE_PROPERTY_ID = 20i32; +pub const FR_PROP_ATTESTATIONPROVIDERNAME: FULL_RESPONSE_PROPERTY_ID = 21i32; +pub const FR_PROP_BODYPARTSTRING: FULL_RESPONSE_PROPERTY_ID = 3i32; +pub const FR_PROP_CAEXCHANGECERTIFICATE: FULL_RESPONSE_PROPERTY_ID = 17i32; +pub const FR_PROP_CAEXCHANGECERTIFICATECHAIN: FULL_RESPONSE_PROPERTY_ID = 18i32; +pub const FR_PROP_CAEXCHANGECERTIFICATECRLCHAIN: FULL_RESPONSE_PROPERTY_ID = 19i32; +pub const FR_PROP_CAEXCHANGECERTIFICATEHASH: FULL_RESPONSE_PROPERTY_ID = 16i32; +pub const FR_PROP_CLAIMCHALLENGE: u32 = 22u32; +pub const FR_PROP_ENCRYPTEDKEYHASH: FULL_RESPONSE_PROPERTY_ID = 14i32; +pub const FR_PROP_FAILINFO: FULL_RESPONSE_PROPERTY_ID = 7i32; +pub const FR_PROP_FULLRESPONSE: FULL_RESPONSE_PROPERTY_ID = 1i32; +pub const FR_PROP_FULLRESPONSENOPKCS7: FULL_RESPONSE_PROPERTY_ID = 15i32; +pub const FR_PROP_ISSUEDCERTIFICATE: FULL_RESPONSE_PROPERTY_ID = 11i32; +pub const FR_PROP_ISSUEDCERTIFICATECHAIN: FULL_RESPONSE_PROPERTY_ID = 12i32; +pub const FR_PROP_ISSUEDCERTIFICATECRLCHAIN: FULL_RESPONSE_PROPERTY_ID = 13i32; +pub const FR_PROP_ISSUEDCERTIFICATEHASH: FULL_RESPONSE_PROPERTY_ID = 10i32; +pub const FR_PROP_NONE: FULL_RESPONSE_PROPERTY_ID = 0i32; +pub const FR_PROP_OTHERINFOCHOICE: FULL_RESPONSE_PROPERTY_ID = 6i32; +pub const FR_PROP_PENDINFOTIME: FULL_RESPONSE_PROPERTY_ID = 9i32; +pub const FR_PROP_PENDINFOTOKEN: FULL_RESPONSE_PROPERTY_ID = 8i32; +pub const FR_PROP_STATUS: FULL_RESPONSE_PROPERTY_ID = 4i32; +pub const FR_PROP_STATUSINFOCOUNT: FULL_RESPONSE_PROPERTY_ID = 2i32; +pub const FR_PROP_STATUSSTRING: FULL_RESPONSE_PROPERTY_ID = 5i32; +pub const GeneralCA: X509CertificateTemplateGeneralFlag = 128i32; +pub const GeneralCrossCA: X509CertificateTemplateGeneralFlag = 2048i32; +pub const GeneralDefault: X509CertificateTemplateGeneralFlag = 65536i32; +pub const GeneralDonotPersist: X509CertificateTemplateGeneralFlag = 4096i32; +pub const GeneralMachineType: X509CertificateTemplateGeneralFlag = 64i32; +pub const GeneralModified: X509CertificateTemplateGeneralFlag = 131072i32; +pub const ICF_ALLOWFOREIGN: u32 = 65536u32; +pub const ICF_EXISTINGROW: u32 = 131072u32; +pub const IF_ENABLEADMINASAUDITOR: u32 = 4096u32; +pub const IF_ENABLEEXITKEYRETRIEVAL: u32 = 2048u32; +pub const IF_ENFORCEENCRYPTICERTADMIN: u32 = 1024u32; +pub const IF_ENFORCEENCRYPTICERTREQUEST: u32 = 512u32; +pub const IF_LOCKICERTREQUEST: u32 = 1u32; +pub const IF_NOLOCALICERTADMIN: u32 = 32u32; +pub const IF_NOLOCALICERTADMINBACKUP: u32 = 128u32; +pub const IF_NOLOCALICERTREQUEST: u32 = 4u32; +pub const IF_NOREMOTEICERTADMIN: u32 = 16u32; +pub const IF_NOREMOTEICERTADMINBACKUP: u32 = 64u32; +pub const IF_NOREMOTEICERTREQUEST: u32 = 2u32; +pub const IF_NORPCICERTREQUEST: u32 = 8u32; +pub const IF_NOSNAPSHOTBACKUP: u32 = 256u32; +pub const IKF_OVERWRITE: u32 = 65536u32; +pub const ISSCERT_DEFAULT_DS: u32 = 256u32; +pub const ISSCERT_DEFAULT_NODS: u32 = 256u32; +pub const ISSCERT_ENABLE: u32 = 256u32; +pub const ISSCERT_FILEURL_OLD: u32 = 8u32; +pub const ISSCERT_FTPURL_OLD: u32 = 4u32; +pub const ISSCERT_HTTPURL_OLD: u32 = 2u32; +pub const ISSCERT_LDAPURL_OLD: u32 = 1u32; +pub const ISSCERT_URLMASK_OLD: u32 = 255u32; +pub const ImportExportable: ImportPFXFlags = 16i32; +pub const ImportExportableEncrypted: ImportPFXFlags = 32i32; +pub const ImportForceOverwrite: ImportPFXFlags = 2i32; +pub const ImportInstallCertificate: ImportPFXFlags = 512i32; +pub const ImportInstallChain: ImportPFXFlags = 1024i32; +pub const ImportInstallChainAndRoot: ImportPFXFlags = 2048i32; +pub const ImportMachineContext: ImportPFXFlags = 1i32; +pub const ImportNoUserProtected: ImportPFXFlags = 64i32; +pub const ImportNone: ImportPFXFlags = 0i32; +pub const ImportSaveProperties: ImportPFXFlags = 8i32; +pub const ImportSilent: ImportPFXFlags = 4i32; +pub const ImportUserProtected: ImportPFXFlags = 128i32; +pub const ImportUserProtectedHigh: ImportPFXFlags = 256i32; +pub const InheritDefault: X509RequestInheritOptions = 0i32; +pub const InheritExtensionsFlag: X509RequestInheritOptions = 256i32; +pub const InheritKeyMask: X509RequestInheritOptions = 15i32; +pub const InheritNewDefaultKey: X509RequestInheritOptions = 1i32; +pub const InheritNewSimilarKey: X509RequestInheritOptions = 2i32; +pub const InheritNone: X509RequestInheritOptions = 16i32; +pub const InheritPrivateKey: X509RequestInheritOptions = 3i32; +pub const InheritPublicKey: X509RequestInheritOptions = 4i32; +pub const InheritRenewalCertificateFlag: X509RequestInheritOptions = 32i32; +pub const InheritReserved80000000: X509RequestInheritOptions = -2147483648i32; +pub const InheritSubjectAltNameFlag: X509RequestInheritOptions = 512i32; +pub const InheritSubjectFlag: X509RequestInheritOptions = 128i32; +pub const InheritTemplateFlag: X509RequestInheritOptions = 64i32; +pub const InheritValidityPeriodFlag: X509RequestInheritOptions = 1024i32; +pub const KRAF_DISABLEUSEDEFAULTPROVIDER: u32 = 8u32; +pub const KRAF_ENABLEARCHIVEALL: u32 = 4u32; +pub const KRAF_ENABLEFOREIGN: u32 = 1u32; +pub const KRAF_SAVEBADREQUESTKEY: u32 = 2u32; +pub const KRA_DISP_EXPIRED: u32 = 0u32; +pub const KRA_DISP_INVALID: u32 = 4u32; +pub const KRA_DISP_NOTFOUND: u32 = 1u32; +pub const KRA_DISP_NOTLOADED: u32 = 6u32; +pub const KRA_DISP_REVOKED: u32 = 2u32; +pub const KRA_DISP_UNTRUSTED: u32 = 5u32; +pub const KRA_DISP_VALID: u32 = 3u32; +pub const KR_ENABLE_MACHINE: u32 = 1u32; +pub const KR_ENABLE_USER: u32 = 2u32; +pub const LDAPF_SIGNDISABLE: u32 = 2u32; +pub const LDAPF_SSLENABLE: u32 = 1u32; +pub const LevelInnermost: InnerRequestLevel = 0i32; +pub const LevelNext: InnerRequestLevel = 1i32; +pub const LevelSafe: WebSecurityLevel = 1i32; +pub const LevelUnsafe: WebSecurityLevel = 0i32; +pub const LoadOptionCacheOnly: X509EnrollmentPolicyLoadOption = 1i32; +pub const LoadOptionDefault: X509EnrollmentPolicyLoadOption = 0i32; +pub const LoadOptionRegisterForADChanges: X509EnrollmentPolicyLoadOption = 4i32; +pub const LoadOptionReload: X509EnrollmentPolicyLoadOption = 2i32; +pub const OCSPAdmin: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd3f73511_92c9_47cb_8ff2_8d891a7c4de4); +pub const OCSPPropertyCollection: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf935a528_ba8a_4dd9_ba79_f283275cb2de); +pub const OCSP_RF_REJECT_SIGNED_REQUESTS: OCSPRequestFlag = 1i32; +pub const OCSP_SF_ALLOW_NONCE_EXTENSION: OCSPSigningFlag = 256i32; +pub const OCSP_SF_ALLOW_SIGNINGCERT_AUTOENROLLMENT: OCSPSigningFlag = 512i32; +pub const OCSP_SF_ALLOW_SIGNINGCERT_AUTORENEWAL: OCSPSigningFlag = 4i32; +pub const OCSP_SF_AUTODISCOVER_SIGNINGCERT: OCSPSigningFlag = 16i32; +pub const OCSP_SF_FORCE_SIGNINGCERT_ISSUER_ISCA: OCSPSigningFlag = 8i32; +pub const OCSP_SF_MANUAL_ASSIGN_SIGNINGCERT: OCSPSigningFlag = 32i32; +pub const OCSP_SF_RESPONDER_ID_KEYHASH: OCSPSigningFlag = 64i32; +pub const OCSP_SF_RESPONDER_ID_NAME: OCSPSigningFlag = 128i32; +pub const OCSP_SF_SILENT: OCSPSigningFlag = 1i32; +pub const OCSP_SF_USE_CACERT: OCSPSigningFlag = 2i32; +pub const PFXExportChainNoRoot: PFXExportOptions = 1i32; +pub const PFXExportChainWithRoot: PFXExportOptions = 2i32; +pub const PFXExportEEOnly: PFXExportOptions = 0i32; +pub const PROCFLG_ENFORCEGOODKEYS: u32 = 1u32; +pub const PROCFLG_NONE: u32 = 0u32; +pub const PROPCALLER_ADMIN: u32 = 1024u32; +pub const PROPCALLER_EXIT: u32 = 768u32; +pub const PROPCALLER_MASK: u32 = 3840u32; +pub const PROPCALLER_POLICY: u32 = 512u32; +pub const PROPCALLER_REQUEST: u32 = 1280u32; +pub const PROPCALLER_SERVER: u32 = 256u32; +pub const PROPFLAGS_INDEXED: u32 = 65536u32; +pub const PROPTYPE_BINARY: CERT_PROPERTY_TYPE = 3i32; +pub const PROPTYPE_DATE: CERT_PROPERTY_TYPE = 2i32; +pub const PROPTYPE_LONG: CERT_PROPERTY_TYPE = 1i32; +pub const PROPTYPE_MASK: u32 = 255u32; +pub const PROPTYPE_STRING: CERT_PROPERTY_TYPE = 4i32; +pub const PolicyQualifierTypeFlags: PolicyQualifierType = 3i32; +pub const PolicyQualifierTypeUnknown: PolicyQualifierType = 0i32; +pub const PolicyQualifierTypeUrl: PolicyQualifierType = 1i32; +pub const PolicyQualifierTypeUserNotice: PolicyQualifierType = 2i32; +pub const PrivateKeyAttestMask: X509CertificateTemplatePrivateKeyFlag = 12288i32; +pub const PrivateKeyAttestNone: X509CertificateTemplatePrivateKeyFlag = 0i32; +pub const PrivateKeyAttestPreferred: X509CertificateTemplatePrivateKeyFlag = 4096i32; +pub const PrivateKeyAttestRequired: X509CertificateTemplatePrivateKeyFlag = 8192i32; +pub const PrivateKeyAttestWithoutPolicy: X509CertificateTemplatePrivateKeyFlag = 16384i32; +pub const PrivateKeyClientVersionMask: X509CertificateTemplatePrivateKeyFlag = 251658240i32; +pub const PrivateKeyClientVersionShift: X509CertificateTemplatePrivateKeyFlag = 24i32; +pub const PrivateKeyEKTrustOnUse: X509CertificateTemplatePrivateKeyFlag = 512i32; +pub const PrivateKeyEKValidateCert: X509CertificateTemplatePrivateKeyFlag = 1024i32; +pub const PrivateKeyEKValidateKey: X509CertificateTemplatePrivateKeyFlag = 2048i32; +pub const PrivateKeyExportable: X509CertificateTemplatePrivateKeyFlag = 16i32; +pub const PrivateKeyHelloKspKey: X509CertificateTemplatePrivateKeyFlag = 1048576i32; +pub const PrivateKeyHelloLogonKey: X509CertificateTemplatePrivateKeyFlag = 2097152i32; +pub const PrivateKeyRequireAlternateSignatureAlgorithm: X509CertificateTemplatePrivateKeyFlag = 64i32; +pub const PrivateKeyRequireArchival: X509CertificateTemplatePrivateKeyFlag = 1i32; +pub const PrivateKeyRequireSameKeyRenewal: X509CertificateTemplatePrivateKeyFlag = 128i32; +pub const PrivateKeyRequireStrongKeyProtection: X509CertificateTemplatePrivateKeyFlag = 32i32; +pub const PrivateKeyServerVersionMask: X509CertificateTemplatePrivateKeyFlag = 983040i32; +pub const PrivateKeyServerVersionShift: X509CertificateTemplatePrivateKeyFlag = 16i32; +pub const PrivateKeyUseLegacyProvider: X509CertificateTemplatePrivateKeyFlag = 256i32; +pub const PsFriendlyName: PolicyServerUrlPropertyID = 1i32; +pub const PsPolicyID: PolicyServerUrlPropertyID = 0i32; +pub const PsfAllowUnTrustedCA: PolicyServerUrlFlags = 32i32; +pub const PsfAutoEnrollmentEnabled: PolicyServerUrlFlags = 16i32; +pub const PsfLocationGroupPolicy: PolicyServerUrlFlags = 1i32; +pub const PsfLocationRegistry: PolicyServerUrlFlags = 2i32; +pub const PsfNone: PolicyServerUrlFlags = 0i32; +pub const PsfUseClientId: PolicyServerUrlFlags = 4i32; +pub const REQDISP_DEFAULT_ENTERPRISE: u32 = 1u32; +pub const REQDISP_DENY: u32 = 2u32; +pub const REQDISP_ISSUE: u32 = 1u32; +pub const REQDISP_MASK: u32 = 255u32; +pub const REQDISP_PENDING: u32 = 0u32; +pub const REQDISP_PENDINGFIRST: u32 = 256u32; +pub const REQDISP_USEREQUESTATTRIBUTE: u32 = 3u32; +pub const REVEXT_ASPENABLE: u32 = 512u32; +pub const REVEXT_CDPENABLE: u32 = 256u32; +pub const REVEXT_CDPFILEURL_OLD: u32 = 8u32; +pub const REVEXT_CDPFTPURL_OLD: u32 = 4u32; +pub const REVEXT_CDPHTTPURL_OLD: u32 = 2u32; +pub const REVEXT_CDPLDAPURL_OLD: u32 = 1u32; +pub const REVEXT_CDPURLMASK_OLD: u32 = 255u32; +pub const REVEXT_DEFAULT_DS: u32 = 256u32; +pub const REVEXT_DEFAULT_NODS: u32 = 256u32; +pub const SCEPDispositionFailure: X509SCEPDisposition = 2i32; +pub const SCEPDispositionPending: X509SCEPDisposition = 3i32; +pub const SCEPDispositionPendingChallenge: X509SCEPDisposition = 11i32; +pub const SCEPDispositionSuccess: X509SCEPDisposition = 0i32; +pub const SCEPDispositionUnknown: X509SCEPDisposition = -1i32; +pub const SCEPFailBadAlgorithm: X509SCEPFailInfo = 0i32; +pub const SCEPFailBadCertId: X509SCEPFailInfo = 4i32; +pub const SCEPFailBadMessageCheck: X509SCEPFailInfo = 1i32; +pub const SCEPFailBadRequest: X509SCEPFailInfo = 2i32; +pub const SCEPFailBadTime: X509SCEPFailInfo = 3i32; +pub const SCEPFailUnknown: X509SCEPFailInfo = -1i32; +pub const SCEPMessageCertResponse: X509SCEPMessageType = 3i32; +pub const SCEPMessageClaimChallengeAnswer: X509SCEPMessageType = 41i32; +pub const SCEPMessageGetCRL: X509SCEPMessageType = 22i32; +pub const SCEPMessageGetCert: X509SCEPMessageType = 21i32; +pub const SCEPMessageGetCertInitial: X509SCEPMessageType = 20i32; +pub const SCEPMessagePKCSRequest: X509SCEPMessageType = 19i32; +pub const SCEPMessageUnknown: X509SCEPMessageType = -1i32; +pub const SCEPProcessDefault: X509SCEPProcessMessageFlags = 0i32; +pub const SCEPProcessSkipCertInstall: X509SCEPProcessMessageFlags = 1i32; +pub const SETUP_ATTEMPT_VROOT_CREATE: u32 = 128u32; +pub const SETUP_CLIENT_FLAG: u32 = 2u32; +pub const SETUP_CREATEDB_FLAG: u32 = 64u32; +pub const SETUP_DCOM_SECURITY_UPDATED_FLAG: u32 = 8192u32; +pub const SETUP_DENIED_FLAG: u32 = 32u32; +pub const SETUP_FORCECRL_FLAG: u32 = 256u32; +pub const SETUP_ONLINE_FLAG: u32 = 16u32; +pub const SETUP_REQUEST_FLAG: u32 = 8u32; +pub const SETUP_SECURITY_CHANGED: u32 = 4096u32; +pub const SETUP_SERVER_FLAG: u32 = 1u32; +pub const SETUP_SERVER_IS_UP_TO_DATE_FLAG: u32 = 16384u32; +pub const SETUP_SERVER_UPGRADED_FLAG: u32 = 1024u32; +pub const SETUP_SUSPEND_FLAG: u32 = 4u32; +pub const SETUP_UPDATE_CAOBJECT_SVRTYPE: u32 = 512u32; +pub const SETUP_W2K_SECURITY_NOT_UPGRADED_FLAG: u32 = 2048u32; +pub const SKIHashCapiSha1: KeyIdentifierHashAlgorithm = 2i32; +pub const SKIHashDefault: KeyIdentifierHashAlgorithm = 0i32; +pub const SKIHashHPKP: KeyIdentifierHashAlgorithm = 5i32; +pub const SKIHashSha1: KeyIdentifierHashAlgorithm = 1i32; +pub const SKIHashSha256: KeyIdentifierHashAlgorithm = 3i32; +pub const SelectedNo: EnrollmentSelectionStatus = 0i32; +pub const SelectedYes: EnrollmentSelectionStatus = 1i32; +pub const SubjectAlternativeNameEnrolleeSupplies: X509CertificateTemplateSubjectNameFlag = 65536i32; +pub const SubjectAlternativeNameRequireDNS: X509CertificateTemplateSubjectNameFlag = 134217728i32; +pub const SubjectAlternativeNameRequireDirectoryGUID: X509CertificateTemplateSubjectNameFlag = 16777216i32; +pub const SubjectAlternativeNameRequireDomainDNS: X509CertificateTemplateSubjectNameFlag = 4194304i32; +pub const SubjectAlternativeNameRequireEmail: X509CertificateTemplateSubjectNameFlag = 67108864i32; +pub const SubjectAlternativeNameRequireSPN: X509CertificateTemplateSubjectNameFlag = 8388608i32; +pub const SubjectAlternativeNameRequireUPN: X509CertificateTemplateSubjectNameFlag = 33554432i32; +pub const SubjectNameAndAlternativeNameOldCertSupplies: X509CertificateTemplateSubjectNameFlag = 8i32; +pub const SubjectNameEnrolleeSupplies: X509CertificateTemplateSubjectNameFlag = 1i32; +pub const SubjectNameRequireCommonName: X509CertificateTemplateSubjectNameFlag = 1073741824i32; +pub const SubjectNameRequireDNS: X509CertificateTemplateSubjectNameFlag = 268435456i32; +pub const SubjectNameRequireDirectoryPath: X509CertificateTemplateSubjectNameFlag = -2147483648i32; +pub const SubjectNameRequireEmail: X509CertificateTemplateSubjectNameFlag = 536870912i32; +pub const TP_MACHINEPOLICY: u32 = 1u32; +pub const TemplatePropAsymmetricAlgorithm: EnrollmentTemplateProperty = 18i32; +pub const TemplatePropCertificatePolicies: EnrollmentTemplateProperty = 16i32; +pub const TemplatePropCommonName: EnrollmentTemplateProperty = 1i32; +pub const TemplatePropCryptoProviders: EnrollmentTemplateProperty = 4i32; +pub const TemplatePropDescription: EnrollmentTemplateProperty = 6i32; +pub const TemplatePropEKUs: EnrollmentTemplateProperty = 3i32; +pub const TemplatePropEnrollmentFlags: EnrollmentTemplateProperty = 24i32; +pub const TemplatePropExtensions: EnrollmentTemplateProperty = 29i32; +pub const TemplatePropFriendlyName: EnrollmentTemplateProperty = 2i32; +pub const TemplatePropGeneralFlags: EnrollmentTemplateProperty = 27i32; +pub const TemplatePropHashAlgorithm: EnrollmentTemplateProperty = 22i32; +pub const TemplatePropKeySecurityDescriptor: EnrollmentTemplateProperty = 19i32; +pub const TemplatePropKeySpec: EnrollmentTemplateProperty = 7i32; +pub const TemplatePropKeyUsage: EnrollmentTemplateProperty = 23i32; +pub const TemplatePropMajorRevision: EnrollmentTemplateProperty = 5i32; +pub const TemplatePropMinimumKeySize: EnrollmentTemplateProperty = 11i32; +pub const TemplatePropMinorRevision: EnrollmentTemplateProperty = 9i32; +pub const TemplatePropOID: EnrollmentTemplateProperty = 12i32; +pub const TemplatePropPrivateKeyFlags: EnrollmentTemplateProperty = 26i32; +pub const TemplatePropRACertificatePolicies: EnrollmentTemplateProperty = 14i32; +pub const TemplatePropRAEKUs: EnrollmentTemplateProperty = 15i32; +pub const TemplatePropRASignatureCount: EnrollmentTemplateProperty = 10i32; +pub const TemplatePropRenewalPeriod: EnrollmentTemplateProperty = 31i32; +pub const TemplatePropSchemaVersion: EnrollmentTemplateProperty = 8i32; +pub const TemplatePropSecurityDescriptor: EnrollmentTemplateProperty = 28i32; +pub const TemplatePropSubjectNameFlags: EnrollmentTemplateProperty = 25i32; +pub const TemplatePropSupersede: EnrollmentTemplateProperty = 13i32; +pub const TemplatePropSymmetricAlgorithm: EnrollmentTemplateProperty = 20i32; +pub const TemplatePropSymmetricKeyLength: EnrollmentTemplateProperty = 21i32; +pub const TemplatePropV1ApplicationPolicy: EnrollmentTemplateProperty = 17i32; +pub const TemplatePropValidityPeriod: EnrollmentTemplateProperty = 30i32; +pub const TypeAny: X509RequestType = 0i32; +pub const TypeCertificate: X509RequestType = 4i32; +pub const TypeCmc: X509RequestType = 3i32; +pub const TypePkcs10: X509RequestType = 1i32; +pub const TypePkcs7: X509RequestType = 2i32; +pub const VR_INSTANT_BAD: u32 = 2u32; +pub const VR_INSTANT_OK: u32 = 1u32; +pub const VR_PENDING: u32 = 0u32; +pub const VerifyAllowUI: X509PrivateKeyVerify = 4i32; +pub const VerifyNone: X509PrivateKeyVerify = 0i32; +pub const VerifySilent: X509PrivateKeyVerify = 1i32; +pub const VerifySmartCardNone: X509PrivateKeyVerify = 2i32; +pub const VerifySmartCardSilent: X509PrivateKeyVerify = 3i32; +pub const X509AuthAnonymous: X509EnrollmentAuthFlags = 1i32; +pub const X509AuthCertificate: X509EnrollmentAuthFlags = 8i32; +pub const X509AuthKerberos: X509EnrollmentAuthFlags = 2i32; +pub const X509AuthNone: X509EnrollmentAuthFlags = 0i32; +pub const X509AuthUsername: X509EnrollmentAuthFlags = 4i32; +pub const XCN_AT_KEYEXCHANGE: X509KeySpec = 1i32; +pub const XCN_AT_NONE: X509KeySpec = 0i32; +pub const XCN_AT_SIGNATURE: X509KeySpec = 2i32; +pub const XCN_BCRYPT_ASYMMETRIC_ENCRYPTION_INTERFACE: AlgorithmType = 3i32; +pub const XCN_BCRYPT_CIPHER_INTERFACE: AlgorithmType = 1i32; +pub const XCN_BCRYPT_HASH_INTERFACE: AlgorithmType = 2i32; +pub const XCN_BCRYPT_KEY_DERIVATION_INTERFACE: AlgorithmType = 7i32; +pub const XCN_BCRYPT_RNG_INTERFACE: AlgorithmType = 6i32; +pub const XCN_BCRYPT_SECRET_AGREEMENT_INTERFACE: AlgorithmType = 4i32; +pub const XCN_BCRYPT_SIGNATURE_INTERFACE: AlgorithmType = 5i32; +pub const XCN_BCRYPT_UNKNOWN_INTERFACE: AlgorithmType = 0i32; +pub const XCN_CERT_ACCESS_STATE_PROP_ID: CERTENROLL_PROPERTYID = 14i32; +pub const XCN_CERT_AIA_URL_RETRIEVED_PROP_ID: CERTENROLL_PROPERTYID = 67i32; +pub const XCN_CERT_ALT_NAME_DIRECTORY_NAME: AlternativeNameType = 5i32; +pub const XCN_CERT_ALT_NAME_DNS_NAME: AlternativeNameType = 3i32; +pub const XCN_CERT_ALT_NAME_EDI_PARTY_NAME: AlternativeNameType = 6i32; +pub const XCN_CERT_ALT_NAME_GUID: AlternativeNameType = 10i32; +pub const XCN_CERT_ALT_NAME_IP_ADDRESS: AlternativeNameType = 8i32; +pub const XCN_CERT_ALT_NAME_OTHER_NAME: AlternativeNameType = 1i32; +pub const XCN_CERT_ALT_NAME_REGISTERED_ID: AlternativeNameType = 9i32; +pub const XCN_CERT_ALT_NAME_RFC822_NAME: AlternativeNameType = 2i32; +pub const XCN_CERT_ALT_NAME_UNKNOWN: AlternativeNameType = 0i32; +pub const XCN_CERT_ALT_NAME_URL: AlternativeNameType = 7i32; +pub const XCN_CERT_ALT_NAME_USER_PRINCIPLE_NAME: AlternativeNameType = 11i32; +pub const XCN_CERT_ALT_NAME_X400_ADDRESS: AlternativeNameType = 4i32; +pub const XCN_CERT_ARCHIVED_KEY_HASH_PROP_ID: CERTENROLL_PROPERTYID = 65i32; +pub const XCN_CERT_ARCHIVED_PROP_ID: CERTENROLL_PROPERTYID = 19i32; +pub const XCN_CERT_AUTHORITY_INFO_ACCESS_PROP_ID: CERTENROLL_PROPERTYID = 68i32; +pub const XCN_CERT_AUTH_ROOT_SHA256_HASH_PROP_ID: CERTENROLL_PROPERTYID = 98i32; +pub const XCN_CERT_AUTO_ENROLL_PROP_ID: CERTENROLL_PROPERTYID = 21i32; +pub const XCN_CERT_AUTO_ENROLL_RETRY_PROP_ID: CERTENROLL_PROPERTYID = 66i32; +pub const XCN_CERT_BACKED_UP_PROP_ID: CERTENROLL_PROPERTYID = 69i32; +pub const XCN_CERT_CA_DISABLE_CRL_PROP_ID: CERTENROLL_PROPERTYID = 82i32; +pub const XCN_CERT_CA_OCSP_AUTHORITY_INFO_ACCESS_PROP_ID: CERTENROLL_PROPERTYID = 81i32; +pub const XCN_CERT_CEP_PROP_ID: CERTENROLL_PROPERTYID = 87i32; +pub const XCN_CERT_CERT_NOT_BEFORE_ENHKEY_USAGE_PROP_ID: CERTENROLL_PROPERTYID = 127i32; +pub const XCN_CERT_CLR_DELETE_KEY_PROP_ID: CERTENROLL_PROPERTYID = 125i32; +pub const XCN_CERT_CRL_SIGN_KEY_USAGE: X509KeyUsageFlags = 2i32; +pub const XCN_CERT_CROSS_CERT_DIST_POINTS_PROP_ID: CERTENROLL_PROPERTYID = 23i32; +pub const XCN_CERT_CTL_USAGE_PROP_ID: CERTENROLL_PROPERTYID = 9i32; +pub const XCN_CERT_DATA_ENCIPHERMENT_KEY_USAGE: X509KeyUsageFlags = 16i32; +pub const XCN_CERT_DATE_STAMP_PROP_ID: CERTENROLL_PROPERTYID = 27i32; +pub const XCN_CERT_DECIPHER_ONLY_KEY_USAGE: X509KeyUsageFlags = 32768i32; +pub const XCN_CERT_DESCRIPTION_PROP_ID: CERTENROLL_PROPERTYID = 13i32; +pub const XCN_CERT_DIGITAL_SIGNATURE_KEY_USAGE: X509KeyUsageFlags = 128i32; +pub const XCN_CERT_DISALLOWED_ENHKEY_USAGE_PROP_ID: CERTENROLL_PROPERTYID = 122i32; +pub const XCN_CERT_DISALLOWED_FILETIME_PROP_ID: CERTENROLL_PROPERTYID = 104i32; +pub const XCN_CERT_EFS_PROP_ID: CERTENROLL_PROPERTYID = 17i32; +pub const XCN_CERT_ENCIPHER_ONLY_KEY_USAGE: X509KeyUsageFlags = 1i32; +pub const XCN_CERT_ENHKEY_USAGE_PROP_ID: CERTENROLL_PROPERTYID = 9i32; +pub const XCN_CERT_ENROLLMENT_PROP_ID: CERTENROLL_PROPERTYID = 26i32; +pub const XCN_CERT_EXTENDED_ERROR_INFO_PROP_ID: CERTENROLL_PROPERTYID = 30i32; +pub const XCN_CERT_FIRST_RESERVED_PROP_ID: CERTENROLL_PROPERTYID = 129i32; +pub const XCN_CERT_FIRST_USER_PROP_ID: CERTENROLL_PROPERTYID = 32768i32; +pub const XCN_CERT_FORTEZZA_DATA_PROP_ID: CERTENROLL_PROPERTYID = 18i32; +pub const XCN_CERT_FRIENDLY_NAME_PROP_ID: CERTENROLL_PROPERTYID = 11i32; +pub const XCN_CERT_HASH_PROP_ID: CERTENROLL_PROPERTYID = 3i32; +pub const XCN_CERT_HCRYPTPROV_OR_NCRYPT_KEY_HANDLE_PROP_ID: CERTENROLL_PROPERTYID = 79i32; +pub const XCN_CERT_HCRYPTPROV_TRANSFER_PROP_ID: CERTENROLL_PROPERTYID = 100i32; +pub const XCN_CERT_IE30_RESERVED_PROP_ID: CERTENROLL_PROPERTYID = 7i32; +pub const XCN_CERT_ISOLATED_KEY_PROP_ID: CERTENROLL_PROPERTYID = 118i32; +pub const XCN_CERT_ISSUER_CHAIN_PUB_KEY_CNG_ALG_BIT_LENGTH_PROP_ID: CERTENROLL_PROPERTYID = 96i32; +pub const XCN_CERT_ISSUER_CHAIN_SIGN_HASH_CNG_ALG_PROP_ID: CERTENROLL_PROPERTYID = 95i32; +pub const XCN_CERT_ISSUER_PUBLIC_KEY_MD5_HASH_PROP_ID: CERTENROLL_PROPERTYID = 24i32; +pub const XCN_CERT_ISSUER_PUB_KEY_BIT_LENGTH_PROP_ID: CERTENROLL_PROPERTYID = 94i32; +pub const XCN_CERT_ISSUER_SERIAL_NUMBER_MD5_HASH_PROP_ID: CERTENROLL_PROPERTYID = 28i32; +pub const XCN_CERT_KEY_AGREEMENT_KEY_USAGE: X509KeyUsageFlags = 8i32; +pub const XCN_CERT_KEY_CERT_SIGN_KEY_USAGE: X509KeyUsageFlags = 4i32; +pub const XCN_CERT_KEY_CLASSIFICATION_PROP_ID: CERTENROLL_PROPERTYID = 120i32; +pub const XCN_CERT_KEY_CONTEXT_PROP_ID: CERTENROLL_PROPERTYID = 5i32; +pub const XCN_CERT_KEY_ENCIPHERMENT_KEY_USAGE: X509KeyUsageFlags = 32i32; +pub const XCN_CERT_KEY_IDENTIFIER_PROP_ID: CERTENROLL_PROPERTYID = 20i32; +pub const XCN_CERT_KEY_PROV_HANDLE_PROP_ID: CERTENROLL_PROPERTYID = 1i32; +pub const XCN_CERT_KEY_PROV_INFO_PROP_ID: CERTENROLL_PROPERTYID = 2i32; +pub const XCN_CERT_KEY_REPAIR_ATTEMPTED_PROP_ID: CERTENROLL_PROPERTYID = 103i32; +pub const XCN_CERT_KEY_SPEC_PROP_ID: CERTENROLL_PROPERTYID = 6i32; +pub const XCN_CERT_LAST_RESERVED_PROP_ID: CERTENROLL_PROPERTYID = 32767i32; +pub const XCN_CERT_LAST_USER_PROP_ID: CERTENROLL_PROPERTYID = 65535i32; +pub const XCN_CERT_MD5_HASH_PROP_ID: CERTENROLL_PROPERTYID = 4i32; +pub const XCN_CERT_NAME_STR_AMBIGUOUS_SEPARATOR_FLAGS: X500NameFlags = 1275068416i32; +pub const XCN_CERT_NAME_STR_COMMA_FLAG: X500NameFlags = 67108864i32; +pub const XCN_CERT_NAME_STR_CRLF_FLAG: X500NameFlags = 134217728i32; +pub const XCN_CERT_NAME_STR_DISABLE_IE4_UTF8_FLAG: X500NameFlags = 65536i32; +pub const XCN_CERT_NAME_STR_DISABLE_UTF8_DIR_STR_FLAG: X500NameFlags = 1048576i32; +pub const XCN_CERT_NAME_STR_DS_ESCAPED: X500NameFlags = 8388608i32; +pub const XCN_CERT_NAME_STR_ENABLE_PUNYCODE_FLAG: X500NameFlags = 2097152i32; +pub const XCN_CERT_NAME_STR_ENABLE_T61_UNICODE_FLAG: X500NameFlags = 131072i32; +pub const XCN_CERT_NAME_STR_ENABLE_UTF8_UNICODE_FLAG: X500NameFlags = 262144i32; +pub const XCN_CERT_NAME_STR_FORCE_UTF8_DIR_STR_FLAG: X500NameFlags = 524288i32; +pub const XCN_CERT_NAME_STR_FORWARD_FLAG: X500NameFlags = 16777216i32; +pub const XCN_CERT_NAME_STR_NONE: X500NameFlags = 0i32; +pub const XCN_CERT_NAME_STR_NO_PLUS_FLAG: X500NameFlags = 536870912i32; +pub const XCN_CERT_NAME_STR_NO_QUOTING_FLAG: X500NameFlags = 268435456i32; +pub const XCN_CERT_NAME_STR_REVERSE_FLAG: X500NameFlags = 33554432i32; +pub const XCN_CERT_NAME_STR_SEMICOLON_FLAG: X500NameFlags = 1073741824i32; +pub const XCN_CERT_NCRYPT_KEY_HANDLE_PROP_ID: CERTENROLL_PROPERTYID = 78i32; +pub const XCN_CERT_NCRYPT_KEY_HANDLE_TRANSFER_PROP_ID: CERTENROLL_PROPERTYID = 99i32; +pub const XCN_CERT_NEW_KEY_PROP_ID: CERTENROLL_PROPERTYID = 74i32; +pub const XCN_CERT_NEXT_UPDATE_LOCATION_PROP_ID: CERTENROLL_PROPERTYID = 10i32; +pub const XCN_CERT_NONCOMPLIANT_ROOT_URL_PROP_ID: CERTENROLL_PROPERTYID = 123i32; +pub const XCN_CERT_NON_REPUDIATION_KEY_USAGE: X509KeyUsageFlags = 64i32; +pub const XCN_CERT_NOT_BEFORE_FILETIME_PROP_ID: CERTENROLL_PROPERTYID = 126i32; +pub const XCN_CERT_NO_AUTO_EXPIRE_CHECK_PROP_ID: CERTENROLL_PROPERTYID = 77i32; +pub const XCN_CERT_NO_EXPIRE_NOTIFICATION_PROP_ID: CERTENROLL_PROPERTYID = 97i32; +pub const XCN_CERT_NO_KEY_USAGE: X509KeyUsageFlags = 0i32; +pub const XCN_CERT_OCSP_CACHE_PREFIX_PROP_ID: CERTENROLL_PROPERTYID = 75i32; +pub const XCN_CERT_OCSP_RESPONSE_PROP_ID: CERTENROLL_PROPERTYID = 70i32; +pub const XCN_CERT_OFFLINE_CRL_SIGN_KEY_USAGE: X509KeyUsageFlags = 2i32; +pub const XCN_CERT_OID_NAME_STR: X500NameFlags = 2i32; +pub const XCN_CERT_PIN_SHA256_HASH_PROP_ID: CERTENROLL_PROPERTYID = 124i32; +pub const XCN_CERT_PUBKEY_ALG_PARA_PROP_ID: CERTENROLL_PROPERTYID = 22i32; +pub const XCN_CERT_PUBKEY_HASH_RESERVED_PROP_ID: CERTENROLL_PROPERTYID = 8i32; +pub const XCN_CERT_PUB_KEY_CNG_ALG_BIT_LENGTH_PROP_ID: CERTENROLL_PROPERTYID = 93i32; +pub const XCN_CERT_PVK_FILE_PROP_ID: CERTENROLL_PROPERTYID = 12i32; +pub const XCN_CERT_RENEWAL_PROP_ID: CERTENROLL_PROPERTYID = 64i32; +pub const XCN_CERT_REQUEST_ORIGINATOR_PROP_ID: CERTENROLL_PROPERTYID = 71i32; +pub const XCN_CERT_ROOT_PROGRAM_CERT_POLICIES_PROP_ID: CERTENROLL_PROPERTYID = 83i32; +pub const XCN_CERT_ROOT_PROGRAM_CHAIN_POLICIES_PROP_ID: CERTENROLL_PROPERTYID = 105i32; +pub const XCN_CERT_ROOT_PROGRAM_NAME_CONSTRAINTS_PROP_ID: CERTENROLL_PROPERTYID = 84i32; +pub const XCN_CERT_SCARD_PIN_ID_PROP_ID: CERTENROLL_PROPERTYID = 90i32; +pub const XCN_CERT_SCARD_PIN_INFO_PROP_ID: CERTENROLL_PROPERTYID = 91i32; +pub const XCN_CERT_SCEP_CA_CERT_PROP_ID: CERTENROLL_PROPERTYID = 111i32; +pub const XCN_CERT_SCEP_ENCRYPT_HASH_CNG_ALG_PROP_ID: CERTENROLL_PROPERTYID = 114i32; +pub const XCN_CERT_SCEP_FLAGS_PROP_ID: CERTENROLL_PROPERTYID = 115i32; +pub const XCN_CERT_SCEP_GUID_PROP_ID: CERTENROLL_PROPERTYID = 116i32; +pub const XCN_CERT_SCEP_NONCE_PROP_ID: CERTENROLL_PROPERTYID = 113i32; +pub const XCN_CERT_SCEP_RA_ENCRYPTION_CERT_PROP_ID: CERTENROLL_PROPERTYID = 110i32; +pub const XCN_CERT_SCEP_RA_SIGNATURE_CERT_PROP_ID: CERTENROLL_PROPERTYID = 109i32; +pub const XCN_CERT_SCEP_SERVER_CERTS_PROP_ID: CERTENROLL_PROPERTYID = 108i32; +pub const XCN_CERT_SCEP_SIGNER_CERT_PROP_ID: CERTENROLL_PROPERTYID = 112i32; +pub const XCN_CERT_SEND_AS_TRUSTED_ISSUER_PROP_ID: CERTENROLL_PROPERTYID = 102i32; +pub const XCN_CERT_SERIALIZABLE_KEY_CONTEXT_PROP_ID: CERTENROLL_PROPERTYID = 117i32; +pub const XCN_CERT_SERIAL_CHAIN_PROP_ID: CERTENROLL_PROPERTYID = 119i32; +pub const XCN_CERT_SHA1_HASH_PROP_ID: CERTENROLL_PROPERTYID = 3i32; +pub const XCN_CERT_SHA256_HASH_PROP_ID: CERTENROLL_PROPERTYID = 107i32; +pub const XCN_CERT_SIGNATURE_HASH_PROP_ID: CERTENROLL_PROPERTYID = 15i32; +pub const XCN_CERT_SIGN_HASH_CNG_ALG_PROP_ID: CERTENROLL_PROPERTYID = 89i32; +pub const XCN_CERT_SIMPLE_NAME_STR: X500NameFlags = 1i32; +pub const XCN_CERT_SMART_CARD_DATA_PROP_ID: CERTENROLL_PROPERTYID = 16i32; +pub const XCN_CERT_SMART_CARD_READER_NON_REMOVABLE_PROP_ID: CERTENROLL_PROPERTYID = 106i32; +pub const XCN_CERT_SMART_CARD_READER_PROP_ID: CERTENROLL_PROPERTYID = 101i32; +pub const XCN_CERT_SMART_CARD_ROOT_INFO_PROP_ID: CERTENROLL_PROPERTYID = 76i32; +pub const XCN_CERT_SOURCE_LOCATION_PROP_ID: CERTENROLL_PROPERTYID = 72i32; +pub const XCN_CERT_SOURCE_URL_PROP_ID: CERTENROLL_PROPERTYID = 73i32; +pub const XCN_CERT_STORE_LOCALIZED_NAME_PROP_ID: CERTENROLL_PROPERTYID = 4096i32; +pub const XCN_CERT_SUBJECT_DISABLE_CRL_PROP_ID: CERTENROLL_PROPERTYID = 86i32; +pub const XCN_CERT_SUBJECT_INFO_ACCESS_PROP_ID: CERTENROLL_PROPERTYID = 80i32; +pub const XCN_CERT_SUBJECT_NAME_MD5_HASH_PROP_ID: CERTENROLL_PROPERTYID = 29i32; +pub const XCN_CERT_SUBJECT_OCSP_AUTHORITY_INFO_ACCESS_PROP_ID: CERTENROLL_PROPERTYID = 85i32; +pub const XCN_CERT_SUBJECT_PUBLIC_KEY_MD5_HASH_PROP_ID: CERTENROLL_PROPERTYID = 25i32; +pub const XCN_CERT_SUBJECT_PUB_KEY_BIT_LENGTH_PROP_ID: CERTENROLL_PROPERTYID = 92i32; +pub const XCN_CERT_X500_NAME_STR: X500NameFlags = 3i32; +pub const XCN_CERT_XML_NAME_STR: X500NameFlags = 4i32; +pub const XCN_CRL_REASON_AA_COMPROMISE: CRLRevocationReason = 10i32; +pub const XCN_CRL_REASON_AFFILIATION_CHANGED: CRLRevocationReason = 3i32; +pub const XCN_CRL_REASON_CA_COMPROMISE: CRLRevocationReason = 2i32; +pub const XCN_CRL_REASON_CERTIFICATE_HOLD: CRLRevocationReason = 6i32; +pub const XCN_CRL_REASON_CESSATION_OF_OPERATION: CRLRevocationReason = 5i32; +pub const XCN_CRL_REASON_KEY_COMPROMISE: CRLRevocationReason = 1i32; +pub const XCN_CRL_REASON_PRIVILEGE_WITHDRAWN: CRLRevocationReason = 9i32; +pub const XCN_CRL_REASON_REMOVE_FROM_CRL: CRLRevocationReason = 8i32; +pub const XCN_CRL_REASON_SUPERSEDED: CRLRevocationReason = 4i32; +pub const XCN_CRL_REASON_UNSPECIFIED: CRLRevocationReason = 0i32; +pub const XCN_CRYPT_ANY_GROUP_ID: ObjectIdGroupId = 0i32; +pub const XCN_CRYPT_ENCRYPT_ALG_OID_GROUP_ID: ObjectIdGroupId = 2i32; +pub const XCN_CRYPT_ENHKEY_USAGE_OID_GROUP_ID: ObjectIdGroupId = 7i32; +pub const XCN_CRYPT_EXT_OR_ATTR_OID_GROUP_ID: ObjectIdGroupId = 6i32; +pub const XCN_CRYPT_FIRST_ALG_OID_GROUP_ID: ObjectIdGroupId = 1i32; +pub const XCN_CRYPT_GROUP_ID_MASK: ObjectIdGroupId = 65535i32; +pub const XCN_CRYPT_HASH_ALG_OID_GROUP_ID: ObjectIdGroupId = 1i32; +pub const XCN_CRYPT_KDF_OID_GROUP_ID: ObjectIdGroupId = 10i32; +pub const XCN_CRYPT_KEY_LENGTH_MASK: ObjectIdGroupId = 268369920i32; +pub const XCN_CRYPT_LAST_ALG_OID_GROUP_ID: ObjectIdGroupId = 4i32; +pub const XCN_CRYPT_LAST_OID_GROUP_ID: ObjectIdGroupId = 10i32; +pub const XCN_CRYPT_OID_DISABLE_SEARCH_DS_FLAG: ObjectIdGroupId = -2147483648i32; +pub const XCN_CRYPT_OID_INFO_OID_GROUP_BIT_LEN_MASK: ObjectIdGroupId = 268369920i32; +pub const XCN_CRYPT_OID_INFO_OID_GROUP_BIT_LEN_SHIFT: ObjectIdGroupId = 16i32; +pub const XCN_CRYPT_OID_INFO_PUBKEY_ANY: ObjectIdPublicKeyFlags = 0i32; +pub const XCN_CRYPT_OID_INFO_PUBKEY_ENCRYPT_KEY_FLAG: ObjectIdPublicKeyFlags = 1073741824i32; +pub const XCN_CRYPT_OID_INFO_PUBKEY_SIGN_KEY_FLAG: ObjectIdPublicKeyFlags = -2147483648i32; +pub const XCN_CRYPT_OID_PREFER_CNG_ALGID_FLAG: ObjectIdGroupId = 1073741824i32; +pub const XCN_CRYPT_OID_USE_CURVE_NAME_FOR_ENCODE_FLAG: X509KeyParametersExportType = 536870912i32; +pub const XCN_CRYPT_OID_USE_CURVE_NONE: X509KeyParametersExportType = 0i32; +pub const XCN_CRYPT_OID_USE_CURVE_PARAMETERS_FOR_ENCODE_FLAG: X509KeyParametersExportType = 268435456i32; +pub const XCN_CRYPT_POLICY_OID_GROUP_ID: ObjectIdGroupId = 8i32; +pub const XCN_CRYPT_PUBKEY_ALG_OID_GROUP_ID: ObjectIdGroupId = 3i32; +pub const XCN_CRYPT_RDN_ATTR_OID_GROUP_ID: ObjectIdGroupId = 5i32; +pub const XCN_CRYPT_SIGN_ALG_OID_GROUP_ID: ObjectIdGroupId = 4i32; +pub const XCN_CRYPT_STRING_ANY: EncodingType = 7i32; +pub const XCN_CRYPT_STRING_BASE64: EncodingType = 1i32; +pub const XCN_CRYPT_STRING_BASE64HEADER: EncodingType = 0i32; +pub const XCN_CRYPT_STRING_BASE64REQUESTHEADER: EncodingType = 3i32; +pub const XCN_CRYPT_STRING_BASE64URI: EncodingType = 13i32; +pub const XCN_CRYPT_STRING_BASE64X509CRLHEADER: EncodingType = 9i32; +pub const XCN_CRYPT_STRING_BASE64_ANY: EncodingType = 6i32; +pub const XCN_CRYPT_STRING_BINARY: EncodingType = 2i32; +pub const XCN_CRYPT_STRING_CHAIN: EncodingType = 256i32; +pub const XCN_CRYPT_STRING_ENCODEMASK: EncodingType = 255i32; +pub const XCN_CRYPT_STRING_HASHDATA: EncodingType = 268435456i32; +pub const XCN_CRYPT_STRING_HEX: EncodingType = 4i32; +pub const XCN_CRYPT_STRING_HEXADDR: EncodingType = 10i32; +pub const XCN_CRYPT_STRING_HEXASCII: EncodingType = 5i32; +pub const XCN_CRYPT_STRING_HEXASCIIADDR: EncodingType = 11i32; +pub const XCN_CRYPT_STRING_HEXRAW: EncodingType = 12i32; +pub const XCN_CRYPT_STRING_HEX_ANY: EncodingType = 8i32; +pub const XCN_CRYPT_STRING_NOCR: EncodingType = -2147483648i32; +pub const XCN_CRYPT_STRING_NOCRLF: EncodingType = 1073741824i32; +pub const XCN_CRYPT_STRING_PERCENTESCAPE: EncodingType = 134217728i32; +pub const XCN_CRYPT_STRING_STRICT: EncodingType = 536870912i32; +pub const XCN_CRYPT_STRING_TEXT: EncodingType = 512i32; +pub const XCN_CRYPT_TEMPLATE_OID_GROUP_ID: ObjectIdGroupId = 9i32; +pub const XCN_NCRYPT_ALLOW_ALL_USAGES: X509PrivateKeyUsageFlags = 16777215i32; +pub const XCN_NCRYPT_ALLOW_ARCHIVING_FLAG: X509PrivateKeyExportFlags = 4i32; +pub const XCN_NCRYPT_ALLOW_DECRYPT_FLAG: X509PrivateKeyUsageFlags = 1i32; +pub const XCN_NCRYPT_ALLOW_EXPORT_FLAG: X509PrivateKeyExportFlags = 1i32; +pub const XCN_NCRYPT_ALLOW_EXPORT_NONE: X509PrivateKeyExportFlags = 0i32; +pub const XCN_NCRYPT_ALLOW_KEY_AGREEMENT_FLAG: X509PrivateKeyUsageFlags = 4i32; +pub const XCN_NCRYPT_ALLOW_KEY_IMPORT_FLAG: X509PrivateKeyUsageFlags = 8i32; +pub const XCN_NCRYPT_ALLOW_PLAINTEXT_ARCHIVING_FLAG: X509PrivateKeyExportFlags = 8i32; +pub const XCN_NCRYPT_ALLOW_PLAINTEXT_EXPORT_FLAG: X509PrivateKeyExportFlags = 2i32; +pub const XCN_NCRYPT_ALLOW_SIGNING_FLAG: X509PrivateKeyUsageFlags = 2i32; +pub const XCN_NCRYPT_ALLOW_USAGES_NONE: X509PrivateKeyUsageFlags = 0i32; +pub const XCN_NCRYPT_ANY_ASYMMETRIC_OPERATION: AlgorithmOperationFlags = 28i32; +pub const XCN_NCRYPT_ASYMMETRIC_ENCRYPTION_OPERATION: AlgorithmOperationFlags = 4i32; +pub const XCN_NCRYPT_CIPHER_OPERATION: AlgorithmOperationFlags = 1i32; +pub const XCN_NCRYPT_CLAIM_AUTHORITY_AND_SUBJECT: KeyAttestationClaimType = 3i32; +pub const XCN_NCRYPT_CLAIM_AUTHORITY_ONLY: KeyAttestationClaimType = 1i32; +pub const XCN_NCRYPT_CLAIM_NONE: KeyAttestationClaimType = 0i32; +pub const XCN_NCRYPT_CLAIM_SUBJECT_ONLY: KeyAttestationClaimType = 2i32; +pub const XCN_NCRYPT_CLAIM_UNKNOWN: KeyAttestationClaimType = 4096i32; +pub const XCN_NCRYPT_EXACT_MATCH_OPERATION: AlgorithmOperationFlags = 8388608i32; +pub const XCN_NCRYPT_HASH_OPERATION: AlgorithmOperationFlags = 2i32; +pub const XCN_NCRYPT_KEY_DERIVATION_OPERATION: AlgorithmOperationFlags = 64i32; +pub const XCN_NCRYPT_NO_OPERATION: AlgorithmOperationFlags = 0i32; +pub const XCN_NCRYPT_PCP_ENCRYPTION_KEY: X509HardwareKeyUsageFlags = 2i32; +pub const XCN_NCRYPT_PCP_GENERIC_KEY: X509HardwareKeyUsageFlags = 3i32; +pub const XCN_NCRYPT_PCP_IDENTITY_KEY: X509HardwareKeyUsageFlags = 8i32; +pub const XCN_NCRYPT_PCP_NONE: X509HardwareKeyUsageFlags = 0i32; +pub const XCN_NCRYPT_PCP_SIGNATURE_KEY: X509HardwareKeyUsageFlags = 1i32; +pub const XCN_NCRYPT_PCP_STORAGE_KEY: X509HardwareKeyUsageFlags = 4i32; +pub const XCN_NCRYPT_PREFERENCE_MASK_OPERATION: AlgorithmOperationFlags = 14680064i32; +pub const XCN_NCRYPT_PREFER_NON_SIGNATURE_OPERATION: AlgorithmOperationFlags = 4194304i32; +pub const XCN_NCRYPT_PREFER_SIGNATURE_ONLY_OPERATION: AlgorithmOperationFlags = 2097152i32; +pub const XCN_NCRYPT_RNG_OPERATION: AlgorithmOperationFlags = 32i32; +pub const XCN_NCRYPT_SECRET_AGREEMENT_OPERATION: AlgorithmOperationFlags = 8i32; +pub const XCN_NCRYPT_SIGNATURE_OPERATION: AlgorithmOperationFlags = 16i32; +pub const XCN_NCRYPT_TPM12_PROVIDER: X509HardwareKeyUsageFlags = 65536i32; +pub const XCN_NCRYPT_UI_APPCONTAINER_ACCESS_MEDIUM_FLAG: X509PrivateKeyProtection = 8i32; +pub const XCN_NCRYPT_UI_FINGERPRINT_PROTECTION_FLAG: X509PrivateKeyProtection = 4i32; +pub const XCN_NCRYPT_UI_FORCE_HIGH_PROTECTION_FLAG: X509PrivateKeyProtection = 2i32; +pub const XCN_NCRYPT_UI_NO_PROTECTION_FLAG: X509PrivateKeyProtection = 0i32; +pub const XCN_NCRYPT_UI_PROTECT_KEY_FLAG: X509PrivateKeyProtection = 1i32; +pub const XCN_OIDVerisign_FailInfo: CERTENROLL_OBJECTID = 431i32; +pub const XCN_OIDVerisign_MessageType: CERTENROLL_OBJECTID = 429i32; +pub const XCN_OIDVerisign_PkiStatus: CERTENROLL_OBJECTID = 430i32; +pub const XCN_OIDVerisign_RecipientNonce: CERTENROLL_OBJECTID = 433i32; +pub const XCN_OIDVerisign_SenderNonce: CERTENROLL_OBJECTID = 432i32; +pub const XCN_OIDVerisign_TransactionID: CERTENROLL_OBJECTID = 434i32; +pub const XCN_OID_ANSI_X942: CERTENROLL_OBJECTID = 53i32; +pub const XCN_OID_ANSI_X942_DH: CERTENROLL_OBJECTID = 54i32; +pub const XCN_OID_ANY_APPLICATION_POLICY: CERTENROLL_OBJECTID = 216i32; +pub const XCN_OID_ANY_CERT_POLICY: CERTENROLL_OBJECTID = 180i32; +pub const XCN_OID_ANY_ENHANCED_KEY_USAGE: CERTENROLL_OBJECTID = 352i32; +pub const XCN_OID_APPLICATION_CERT_POLICIES: CERTENROLL_OBJECTID = 229i32; +pub const XCN_OID_APPLICATION_POLICY_CONSTRAINTS: CERTENROLL_OBJECTID = 231i32; +pub const XCN_OID_APPLICATION_POLICY_MAPPINGS: CERTENROLL_OBJECTID = 230i32; +pub const XCN_OID_ARCHIVED_KEY_ATTR: CERTENROLL_OBJECTID = 232i32; +pub const XCN_OID_ARCHIVED_KEY_CERT_HASH: CERTENROLL_OBJECTID = 235i32; +pub const XCN_OID_ATTR_SUPPORTED_ALGORITHMS: CERTENROLL_OBJECTID = 355i32; +pub const XCN_OID_ATTR_TPM_SECURITY_ASSERTIONS: CERTENROLL_OBJECTID = 356i32; +pub const XCN_OID_ATTR_TPM_SPECIFICATION: CERTENROLL_OBJECTID = 357i32; +pub const XCN_OID_AUTHORITY_INFO_ACCESS: CERTENROLL_OBJECTID = 204i32; +pub const XCN_OID_AUTHORITY_KEY_IDENTIFIER: CERTENROLL_OBJECTID = 169i32; +pub const XCN_OID_AUTHORITY_KEY_IDENTIFIER2: CERTENROLL_OBJECTID = 181i32; +pub const XCN_OID_AUTHORITY_REVOCATION_LIST: CERTENROLL_OBJECTID = 156i32; +pub const XCN_OID_AUTO_ENROLL_CTL_USAGE: CERTENROLL_OBJECTID = 217i32; +pub const XCN_OID_BACKGROUND_OTHER_LOGOTYPE: CERTENROLL_OBJECTID = 327i32; +pub const XCN_OID_BASIC_CONSTRAINTS: CERTENROLL_OBJECTID = 175i32; +pub const XCN_OID_BASIC_CONSTRAINTS2: CERTENROLL_OBJECTID = 178i32; +pub const XCN_OID_BIOMETRIC_EXT: CERTENROLL_OBJECTID = 205i32; +pub const XCN_OID_BUSINESS_CATEGORY: CERTENROLL_OBJECTID = 133i32; +pub const XCN_OID_CA_CERTIFICATE: CERTENROLL_OBJECTID = 155i32; +pub const XCN_OID_CERTIFICATE_REVOCATION_LIST: CERTENROLL_OBJECTID = 157i32; +pub const XCN_OID_CERTIFICATE_TEMPLATE: CERTENROLL_OBJECTID = 226i32; +pub const XCN_OID_CERTSRV_CA_VERSION: CERTENROLL_OBJECTID = 220i32; +pub const XCN_OID_CERTSRV_CROSSCA_VERSION: CERTENROLL_OBJECTID = 240i32; +pub const XCN_OID_CERTSRV_PREVIOUS_CERT_HASH: CERTENROLL_OBJECTID = 221i32; +pub const XCN_OID_CERT_DISALLOWED_FILETIME_PROP_ID: CERTENROLL_OBJECTID = 358i32; +pub const XCN_OID_CERT_EXTENSIONS: CERTENROLL_OBJECTID = 207i32; +pub const XCN_OID_CERT_ISSUER_SERIAL_NUMBER_MD5_HASH_PROP_ID: CERTENROLL_OBJECTID = 339i32; +pub const XCN_OID_CERT_KEY_IDENTIFIER_PROP_ID: CERTENROLL_OBJECTID = 338i32; +pub const XCN_OID_CERT_MANIFOLD: CERTENROLL_OBJECTID = 219i32; +pub const XCN_OID_CERT_MD5_HASH_PROP_ID: CERTENROLL_OBJECTID = 341i32; +pub const XCN_OID_CERT_POLICIES: CERTENROLL_OBJECTID = 179i32; +pub const XCN_OID_CERT_POLICIES_95: CERTENROLL_OBJECTID = 171i32; +pub const XCN_OID_CERT_POLICIES_95_QUALIFIER1: CERTENROLL_OBJECTID = 281i32; +pub const XCN_OID_CERT_PROP_ID_PREFIX: CERTENROLL_OBJECTID = 337i32; +pub const XCN_OID_CERT_SIGNATURE_HASH_PROP_ID: CERTENROLL_OBJECTID = 359i32; +pub const XCN_OID_CERT_STRONG_KEY_OS_1: CERTENROLL_OBJECTID = 360i32; +pub const XCN_OID_CERT_STRONG_KEY_OS_CURRENT: CERTENROLL_OBJECTID = 361i32; +pub const XCN_OID_CERT_STRONG_KEY_OS_PREFIX: CERTENROLL_OBJECTID = 362i32; +pub const XCN_OID_CERT_STRONG_SIGN_OS_1: CERTENROLL_OBJECTID = 363i32; +pub const XCN_OID_CERT_STRONG_SIGN_OS_CURRENT: CERTENROLL_OBJECTID = 364i32; +pub const XCN_OID_CERT_STRONG_SIGN_OS_PREFIX: CERTENROLL_OBJECTID = 365i32; +pub const XCN_OID_CERT_SUBJECT_NAME_MD5_HASH_PROP_ID: CERTENROLL_OBJECTID = 340i32; +pub const XCN_OID_CMC: CERTENROLL_OBJECTID = 304i32; +pub const XCN_OID_CMC_ADD_ATTRIBUTES: CERTENROLL_OBJECTID = 325i32; +pub const XCN_OID_CMC_ADD_EXTENSIONS: CERTENROLL_OBJECTID = 312i32; +pub const XCN_OID_CMC_DATA_RETURN: CERTENROLL_OBJECTID = 308i32; +pub const XCN_OID_CMC_DECRYPTED_POP: CERTENROLL_OBJECTID = 314i32; +pub const XCN_OID_CMC_ENCRYPTED_POP: CERTENROLL_OBJECTID = 313i32; +pub const XCN_OID_CMC_GET_CERT: CERTENROLL_OBJECTID = 316i32; +pub const XCN_OID_CMC_GET_CRL: CERTENROLL_OBJECTID = 317i32; +pub const XCN_OID_CMC_IDENTIFICATION: CERTENROLL_OBJECTID = 306i32; +pub const XCN_OID_CMC_IDENTITY_PROOF: CERTENROLL_OBJECTID = 307i32; +pub const XCN_OID_CMC_ID_CONFIRM_CERT_ACCEPTANCE: CERTENROLL_OBJECTID = 324i32; +pub const XCN_OID_CMC_ID_POP_LINK_RANDOM: CERTENROLL_OBJECTID = 322i32; +pub const XCN_OID_CMC_ID_POP_LINK_WITNESS: CERTENROLL_OBJECTID = 323i32; +pub const XCN_OID_CMC_LRA_POP_WITNESS: CERTENROLL_OBJECTID = 315i32; +pub const XCN_OID_CMC_QUERY_PENDING: CERTENROLL_OBJECTID = 321i32; +pub const XCN_OID_CMC_RECIPIENT_NONCE: CERTENROLL_OBJECTID = 311i32; +pub const XCN_OID_CMC_REG_INFO: CERTENROLL_OBJECTID = 319i32; +pub const XCN_OID_CMC_RESPONSE_INFO: CERTENROLL_OBJECTID = 320i32; +pub const XCN_OID_CMC_REVOKE_REQUEST: CERTENROLL_OBJECTID = 318i32; +pub const XCN_OID_CMC_SENDER_NONCE: CERTENROLL_OBJECTID = 310i32; +pub const XCN_OID_CMC_STATUS_INFO: CERTENROLL_OBJECTID = 305i32; +pub const XCN_OID_CMC_TRANSACTION_ID: CERTENROLL_OBJECTID = 309i32; +pub const XCN_OID_COMMON_NAME: CERTENROLL_OBJECTID = 121i32; +pub const XCN_OID_COUNTRY_NAME: CERTENROLL_OBJECTID = 124i32; +pub const XCN_OID_CRL_DIST_POINTS: CERTENROLL_OBJECTID = 187i32; +pub const XCN_OID_CRL_NEXT_PUBLISH: CERTENROLL_OBJECTID = 223i32; +pub const XCN_OID_CRL_NUMBER: CERTENROLL_OBJECTID = 189i32; +pub const XCN_OID_CRL_REASON_CODE: CERTENROLL_OBJECTID = 185i32; +pub const XCN_OID_CRL_SELF_CDP: CERTENROLL_OBJECTID = 233i32; +pub const XCN_OID_CRL_VIRTUAL_BASE: CERTENROLL_OBJECTID = 222i32; +pub const XCN_OID_CROSS_CERTIFICATE_PAIR: CERTENROLL_OBJECTID = 158i32; +pub const XCN_OID_CROSS_CERT_DIST_POINTS: CERTENROLL_OBJECTID = 210i32; +pub const XCN_OID_CTL: CERTENROLL_OBJECTID = 211i32; +pub const XCN_OID_CT_PKI_DATA: CERTENROLL_OBJECTID = 301i32; +pub const XCN_OID_CT_PKI_RESPONSE: CERTENROLL_OBJECTID = 302i32; +pub const XCN_OID_DELTA_CRL_INDICATOR: CERTENROLL_OBJECTID = 190i32; +pub const XCN_OID_DESCRIPTION: CERTENROLL_OBJECTID = 131i32; +pub const XCN_OID_DESTINATION_INDICATOR: CERTENROLL_OBJECTID = 145i32; +pub const XCN_OID_DEVICE_SERIAL_NUMBER: CERTENROLL_OBJECTID = 123i32; +pub const XCN_OID_DH_SINGLE_PASS_STDDH_SHA1_KDF: CERTENROLL_OBJECTID = 366i32; +pub const XCN_OID_DH_SINGLE_PASS_STDDH_SHA256_KDF: CERTENROLL_OBJECTID = 367i32; +pub const XCN_OID_DH_SINGLE_PASS_STDDH_SHA384_KDF: CERTENROLL_OBJECTID = 368i32; +pub const XCN_OID_DISALLOWED_HASH: CERTENROLL_OBJECTID = 369i32; +pub const XCN_OID_DISALLOWED_LIST: CERTENROLL_OBJECTID = 370i32; +pub const XCN_OID_DN_QUALIFIER: CERTENROLL_OBJECTID = 161i32; +pub const XCN_OID_DOMAIN_COMPONENT: CERTENROLL_OBJECTID = 162i32; +pub const XCN_OID_DRM: CERTENROLL_OBJECTID = 273i32; +pub const XCN_OID_DRM_INDIVIDUALIZATION: CERTENROLL_OBJECTID = 274i32; +pub const XCN_OID_DS: CERTENROLL_OBJECTID = 58i32; +pub const XCN_OID_DSALG: CERTENROLL_OBJECTID = 59i32; +pub const XCN_OID_DSALG_CRPT: CERTENROLL_OBJECTID = 60i32; +pub const XCN_OID_DSALG_HASH: CERTENROLL_OBJECTID = 61i32; +pub const XCN_OID_DSALG_RSA: CERTENROLL_OBJECTID = 63i32; +pub const XCN_OID_DSALG_SIGN: CERTENROLL_OBJECTID = 62i32; +pub const XCN_OID_DS_EMAIL_REPLICATION: CERTENROLL_OBJECTID = 237i32; +pub const XCN_OID_ECC_CURVE_P256: CERTENROLL_OBJECTID = 371i32; +pub const XCN_OID_ECC_CURVE_P384: CERTENROLL_OBJECTID = 372i32; +pub const XCN_OID_ECC_CURVE_P521: CERTENROLL_OBJECTID = 373i32; +pub const XCN_OID_ECC_PUBLIC_KEY: CERTENROLL_OBJECTID = 349i32; +pub const XCN_OID_ECDSA_SHA1: CERTENROLL_OBJECTID = 350i32; +pub const XCN_OID_ECDSA_SHA256: CERTENROLL_OBJECTID = 374i32; +pub const XCN_OID_ECDSA_SHA384: CERTENROLL_OBJECTID = 375i32; +pub const XCN_OID_ECDSA_SHA512: CERTENROLL_OBJECTID = 376i32; +pub const XCN_OID_ECDSA_SPECIFIED: CERTENROLL_OBJECTID = 351i32; +pub const XCN_OID_EFS_RECOVERY: CERTENROLL_OBJECTID = 260i32; +pub const XCN_OID_EMBEDDED_NT_CRYPTO: CERTENROLL_OBJECTID = 264i32; +pub const XCN_OID_ENCRYPTED_KEY_HASH: CERTENROLL_OBJECTID = 239i32; +pub const XCN_OID_ENHANCED_KEY_USAGE: CERTENROLL_OBJECTID = 188i32; +pub const XCN_OID_ENROLLMENT_AGENT: CERTENROLL_OBJECTID = 201i32; +pub const XCN_OID_ENROLLMENT_CSP_PROVIDER: CERTENROLL_OBJECTID = 199i32; +pub const XCN_OID_ENROLLMENT_NAME_VALUE_PAIR: CERTENROLL_OBJECTID = 198i32; +pub const XCN_OID_ENROLL_ATTESTATION_CHALLENGE: CERTENROLL_OBJECTID = 435i32; +pub const XCN_OID_ENROLL_ATTESTATION_STATEMENT: CERTENROLL_OBJECTID = 436i32; +pub const XCN_OID_ENROLL_CAXCHGCERT_HASH: CERTENROLL_OBJECTID = 377i32; +pub const XCN_OID_ENROLL_CERTTYPE_EXTENSION: CERTENROLL_OBJECTID = 218i32; +pub const XCN_OID_ENROLL_EKPUB_CHALLENGE: CERTENROLL_OBJECTID = 379i32; +pub const XCN_OID_ENROLL_EKVERIFYCERT: CERTENROLL_OBJECTID = 380i32; +pub const XCN_OID_ENROLL_EKVERIFYCREDS: CERTENROLL_OBJECTID = 381i32; +pub const XCN_OID_ENROLL_EKVERIFYKEY: CERTENROLL_OBJECTID = 382i32; +pub const XCN_OID_ENROLL_EK_INFO: CERTENROLL_OBJECTID = 378i32; +pub const XCN_OID_ENROLL_ENCRYPTION_ALGORITHM: CERTENROLL_OBJECTID = 437i32; +pub const XCN_OID_ENROLL_KSP_NAME: CERTENROLL_OBJECTID = 438i32; +pub const XCN_OID_ENROLL_SCEP_ERROR: CERTENROLL_OBJECTID = 428i32; +pub const XCN_OID_ENTERPRISE_OID_ROOT: CERTENROLL_OBJECTID = 227i32; +pub const XCN_OID_EV_RDN_COUNTRY: CERTENROLL_OBJECTID = 383i32; +pub const XCN_OID_EV_RDN_LOCALE: CERTENROLL_OBJECTID = 384i32; +pub const XCN_OID_EV_RDN_STATE_OR_PROVINCE: CERTENROLL_OBJECTID = 385i32; +pub const XCN_OID_FACSIMILE_TELEPHONE_NUMBER: CERTENROLL_OBJECTID = 141i32; +pub const XCN_OID_FRESHEST_CRL: CERTENROLL_OBJECTID = 192i32; +pub const XCN_OID_GIVEN_NAME: CERTENROLL_OBJECTID = 159i32; +pub const XCN_OID_INFOSEC: CERTENROLL_OBJECTID = 99i32; +pub const XCN_OID_INFOSEC_SuiteAConfidentiality: CERTENROLL_OBJECTID = 113i32; +pub const XCN_OID_INFOSEC_SuiteAIntegrity: CERTENROLL_OBJECTID = 114i32; +pub const XCN_OID_INFOSEC_SuiteAKMandSig: CERTENROLL_OBJECTID = 117i32; +pub const XCN_OID_INFOSEC_SuiteAKeyManagement: CERTENROLL_OBJECTID = 116i32; +pub const XCN_OID_INFOSEC_SuiteASignature: CERTENROLL_OBJECTID = 112i32; +pub const XCN_OID_INFOSEC_SuiteATokenProtection: CERTENROLL_OBJECTID = 115i32; +pub const XCN_OID_INFOSEC_mosaicConfidentiality: CERTENROLL_OBJECTID = 103i32; +pub const XCN_OID_INFOSEC_mosaicIntegrity: CERTENROLL_OBJECTID = 105i32; +pub const XCN_OID_INFOSEC_mosaicKMandSig: CERTENROLL_OBJECTID = 111i32; +pub const XCN_OID_INFOSEC_mosaicKMandUpdSig: CERTENROLL_OBJECTID = 119i32; +pub const XCN_OID_INFOSEC_mosaicKeyManagement: CERTENROLL_OBJECTID = 109i32; +pub const XCN_OID_INFOSEC_mosaicSignature: CERTENROLL_OBJECTID = 101i32; +pub const XCN_OID_INFOSEC_mosaicTokenProtection: CERTENROLL_OBJECTID = 107i32; +pub const XCN_OID_INFOSEC_mosaicUpdatedInteg: CERTENROLL_OBJECTID = 120i32; +pub const XCN_OID_INFOSEC_mosaicUpdatedSig: CERTENROLL_OBJECTID = 118i32; +pub const XCN_OID_INFOSEC_sdnsConfidentiality: CERTENROLL_OBJECTID = 102i32; +pub const XCN_OID_INFOSEC_sdnsIntegrity: CERTENROLL_OBJECTID = 104i32; +pub const XCN_OID_INFOSEC_sdnsKMandSig: CERTENROLL_OBJECTID = 110i32; +pub const XCN_OID_INFOSEC_sdnsKeyManagement: CERTENROLL_OBJECTID = 108i32; +pub const XCN_OID_INFOSEC_sdnsSignature: CERTENROLL_OBJECTID = 100i32; +pub const XCN_OID_INFOSEC_sdnsTokenProtection: CERTENROLL_OBJECTID = 106i32; +pub const XCN_OID_INHIBIT_ANY_POLICY: CERTENROLL_OBJECTID = 386i32; +pub const XCN_OID_INITIALS: CERTENROLL_OBJECTID = 160i32; +pub const XCN_OID_INTERNATIONALIZED_EMAIL_ADDRESS: CERTENROLL_OBJECTID = 387i32; +pub const XCN_OID_INTERNATIONAL_ISDN_NUMBER: CERTENROLL_OBJECTID = 143i32; +pub const XCN_OID_IPSEC_KP_IKE_INTERMEDIATE: CERTENROLL_OBJECTID = 254i32; +pub const XCN_OID_ISSUED_CERT_HASH: CERTENROLL_OBJECTID = 236i32; +pub const XCN_OID_ISSUER_ALT_NAME: CERTENROLL_OBJECTID = 174i32; +pub const XCN_OID_ISSUER_ALT_NAME2: CERTENROLL_OBJECTID = 184i32; +pub const XCN_OID_ISSUING_DIST_POINT: CERTENROLL_OBJECTID = 191i32; +pub const XCN_OID_KEYID_RDN: CERTENROLL_OBJECTID = 168i32; +pub const XCN_OID_KEY_ATTRIBUTES: CERTENROLL_OBJECTID = 170i32; +pub const XCN_OID_KEY_USAGE: CERTENROLL_OBJECTID = 176i32; +pub const XCN_OID_KEY_USAGE_RESTRICTION: CERTENROLL_OBJECTID = 172i32; +pub const XCN_OID_KP_CA_EXCHANGE: CERTENROLL_OBJECTID = 224i32; +pub const XCN_OID_KP_CSP_SIGNATURE: CERTENROLL_OBJECTID = 272i32; +pub const XCN_OID_KP_CTL_USAGE_SIGNING: CERTENROLL_OBJECTID = 255i32; +pub const XCN_OID_KP_DOCUMENT_SIGNING: CERTENROLL_OBJECTID = 268i32; +pub const XCN_OID_KP_EFS: CERTENROLL_OBJECTID = 259i32; +pub const XCN_OID_KP_KERNEL_MODE_CODE_SIGNING: CERTENROLL_OBJECTID = 388i32; +pub const XCN_OID_KP_KERNEL_MODE_HAL_EXTENSION_SIGNING: CERTENROLL_OBJECTID = 389i32; +pub const XCN_OID_KP_KERNEL_MODE_TRUSTED_BOOT_SIGNING: CERTENROLL_OBJECTID = 390i32; +pub const XCN_OID_KP_KEY_RECOVERY: CERTENROLL_OBJECTID = 267i32; +pub const XCN_OID_KP_KEY_RECOVERY_AGENT: CERTENROLL_OBJECTID = 225i32; +pub const XCN_OID_KP_LIFETIME_SIGNING: CERTENROLL_OBJECTID = 269i32; +pub const XCN_OID_KP_MOBILE_DEVICE_SOFTWARE: CERTENROLL_OBJECTID = 270i32; +pub const XCN_OID_KP_QUALIFIED_SUBORDINATION: CERTENROLL_OBJECTID = 266i32; +pub const XCN_OID_KP_SMARTCARD_LOGON: CERTENROLL_OBJECTID = 277i32; +pub const XCN_OID_KP_SMART_DISPLAY: CERTENROLL_OBJECTID = 271i32; +pub const XCN_OID_KP_TIME_STAMP_SIGNING: CERTENROLL_OBJECTID = 256i32; +pub const XCN_OID_KP_TPM_AIK_CERTIFICATE: CERTENROLL_OBJECTID = 391i32; +pub const XCN_OID_KP_TPM_EK_CERTIFICATE: CERTENROLL_OBJECTID = 392i32; +pub const XCN_OID_KP_TPM_PLATFORM_CERTIFICATE: CERTENROLL_OBJECTID = 393i32; +pub const XCN_OID_LEGACY_POLICY_MAPPINGS: CERTENROLL_OBJECTID = 195i32; +pub const XCN_OID_LICENSES: CERTENROLL_OBJECTID = 275i32; +pub const XCN_OID_LICENSE_SERVER: CERTENROLL_OBJECTID = 276i32; +pub const XCN_OID_LOCALITY_NAME: CERTENROLL_OBJECTID = 125i32; +pub const XCN_OID_LOCAL_MACHINE_KEYSET: CERTENROLL_OBJECTID = 166i32; +pub const XCN_OID_LOGOTYPE_EXT: CERTENROLL_OBJECTID = 206i32; +pub const XCN_OID_LOYALTY_OTHER_LOGOTYPE: CERTENROLL_OBJECTID = 326i32; +pub const XCN_OID_MEMBER: CERTENROLL_OBJECTID = 149i32; +pub const XCN_OID_NAME_CONSTRAINTS: CERTENROLL_OBJECTID = 193i32; +pub const XCN_OID_NETSCAPE: CERTENROLL_OBJECTID = 289i32; +pub const XCN_OID_NETSCAPE_BASE_URL: CERTENROLL_OBJECTID = 292i32; +pub const XCN_OID_NETSCAPE_CA_POLICY_URL: CERTENROLL_OBJECTID = 296i32; +pub const XCN_OID_NETSCAPE_CA_REVOCATION_URL: CERTENROLL_OBJECTID = 294i32; +pub const XCN_OID_NETSCAPE_CERT_EXTENSION: CERTENROLL_OBJECTID = 290i32; +pub const XCN_OID_NETSCAPE_CERT_RENEWAL_URL: CERTENROLL_OBJECTID = 295i32; +pub const XCN_OID_NETSCAPE_CERT_SEQUENCE: CERTENROLL_OBJECTID = 300i32; +pub const XCN_OID_NETSCAPE_CERT_TYPE: CERTENROLL_OBJECTID = 291i32; +pub const XCN_OID_NETSCAPE_COMMENT: CERTENROLL_OBJECTID = 298i32; +pub const XCN_OID_NETSCAPE_DATA_TYPE: CERTENROLL_OBJECTID = 299i32; +pub const XCN_OID_NETSCAPE_REVOCATION_URL: CERTENROLL_OBJECTID = 293i32; +pub const XCN_OID_NETSCAPE_SSL_SERVER_NAME: CERTENROLL_OBJECTID = 297i32; +pub const XCN_OID_NEXT_UPDATE_LOCATION: CERTENROLL_OBJECTID = 208i32; +pub const XCN_OID_NIST_AES128_CBC: CERTENROLL_OBJECTID = 394i32; +pub const XCN_OID_NIST_AES128_WRAP: CERTENROLL_OBJECTID = 395i32; +pub const XCN_OID_NIST_AES192_CBC: CERTENROLL_OBJECTID = 396i32; +pub const XCN_OID_NIST_AES192_WRAP: CERTENROLL_OBJECTID = 397i32; +pub const XCN_OID_NIST_AES256_CBC: CERTENROLL_OBJECTID = 398i32; +pub const XCN_OID_NIST_AES256_WRAP: CERTENROLL_OBJECTID = 399i32; +pub const XCN_OID_NIST_sha256: CERTENROLL_OBJECTID = 345i32; +pub const XCN_OID_NIST_sha384: CERTENROLL_OBJECTID = 346i32; +pub const XCN_OID_NIST_sha512: CERTENROLL_OBJECTID = 347i32; +pub const XCN_OID_NONE: CERTENROLL_OBJECTID = 0i32; +pub const XCN_OID_NT5_CRYPTO: CERTENROLL_OBJECTID = 262i32; +pub const XCN_OID_NTDS_REPLICATION: CERTENROLL_OBJECTID = 241i32; +pub const XCN_OID_NT_PRINCIPAL_NAME: CERTENROLL_OBJECTID = 214i32; +pub const XCN_OID_OEM_WHQL_CRYPTO: CERTENROLL_OBJECTID = 263i32; +pub const XCN_OID_OIW: CERTENROLL_OBJECTID = 64i32; +pub const XCN_OID_OIWDIR: CERTENROLL_OBJECTID = 93i32; +pub const XCN_OID_OIWDIR_CRPT: CERTENROLL_OBJECTID = 94i32; +pub const XCN_OID_OIWDIR_HASH: CERTENROLL_OBJECTID = 95i32; +pub const XCN_OID_OIWDIR_SIGN: CERTENROLL_OBJECTID = 96i32; +pub const XCN_OID_OIWDIR_md2: CERTENROLL_OBJECTID = 97i32; +pub const XCN_OID_OIWDIR_md2RSA: CERTENROLL_OBJECTID = 98i32; +pub const XCN_OID_OIWSEC: CERTENROLL_OBJECTID = 65i32; +pub const XCN_OID_OIWSEC_desCBC: CERTENROLL_OBJECTID = 70i32; +pub const XCN_OID_OIWSEC_desCFB: CERTENROLL_OBJECTID = 72i32; +pub const XCN_OID_OIWSEC_desECB: CERTENROLL_OBJECTID = 69i32; +pub const XCN_OID_OIWSEC_desEDE: CERTENROLL_OBJECTID = 80i32; +pub const XCN_OID_OIWSEC_desMAC: CERTENROLL_OBJECTID = 73i32; +pub const XCN_OID_OIWSEC_desOFB: CERTENROLL_OBJECTID = 71i32; +pub const XCN_OID_OIWSEC_dhCommMod: CERTENROLL_OBJECTID = 79i32; +pub const XCN_OID_OIWSEC_dsa: CERTENROLL_OBJECTID = 75i32; +pub const XCN_OID_OIWSEC_dsaComm: CERTENROLL_OBJECTID = 83i32; +pub const XCN_OID_OIWSEC_dsaCommSHA: CERTENROLL_OBJECTID = 84i32; +pub const XCN_OID_OIWSEC_dsaCommSHA1: CERTENROLL_OBJECTID = 91i32; +pub const XCN_OID_OIWSEC_dsaSHA1: CERTENROLL_OBJECTID = 90i32; +pub const XCN_OID_OIWSEC_keyHashSeal: CERTENROLL_OBJECTID = 86i32; +pub const XCN_OID_OIWSEC_md2RSASign: CERTENROLL_OBJECTID = 87i32; +pub const XCN_OID_OIWSEC_md4RSA: CERTENROLL_OBJECTID = 66i32; +pub const XCN_OID_OIWSEC_md4RSA2: CERTENROLL_OBJECTID = 68i32; +pub const XCN_OID_OIWSEC_md5RSA: CERTENROLL_OBJECTID = 67i32; +pub const XCN_OID_OIWSEC_md5RSASign: CERTENROLL_OBJECTID = 88i32; +pub const XCN_OID_OIWSEC_mdc2: CERTENROLL_OBJECTID = 82i32; +pub const XCN_OID_OIWSEC_mdc2RSA: CERTENROLL_OBJECTID = 77i32; +pub const XCN_OID_OIWSEC_rsaSign: CERTENROLL_OBJECTID = 74i32; +pub const XCN_OID_OIWSEC_rsaXchg: CERTENROLL_OBJECTID = 85i32; +pub const XCN_OID_OIWSEC_sha: CERTENROLL_OBJECTID = 81i32; +pub const XCN_OID_OIWSEC_sha1: CERTENROLL_OBJECTID = 89i32; +pub const XCN_OID_OIWSEC_sha1RSASign: CERTENROLL_OBJECTID = 92i32; +pub const XCN_OID_OIWSEC_shaDSA: CERTENROLL_OBJECTID = 76i32; +pub const XCN_OID_OIWSEC_shaRSA: CERTENROLL_OBJECTID = 78i32; +pub const XCN_OID_ORGANIZATIONAL_UNIT_NAME: CERTENROLL_OBJECTID = 129i32; +pub const XCN_OID_ORGANIZATION_NAME: CERTENROLL_OBJECTID = 128i32; +pub const XCN_OID_OS_VERSION: CERTENROLL_OBJECTID = 200i32; +pub const XCN_OID_OWNER: CERTENROLL_OBJECTID = 150i32; +pub const XCN_OID_PHYSICAL_DELIVERY_OFFICE_NAME: CERTENROLL_OBJECTID = 137i32; +pub const XCN_OID_PKCS: CERTENROLL_OBJECTID = 2i32; +pub const XCN_OID_PKCS_1: CERTENROLL_OBJECTID = 5i32; +pub const XCN_OID_PKCS_10: CERTENROLL_OBJECTID = 14i32; +pub const XCN_OID_PKCS_12: CERTENROLL_OBJECTID = 15i32; +pub const XCN_OID_PKCS_12_EXTENDED_ATTRIBUTES: CERTENROLL_OBJECTID = 167i32; +pub const XCN_OID_PKCS_12_FRIENDLY_NAME_ATTR: CERTENROLL_OBJECTID = 163i32; +pub const XCN_OID_PKCS_12_KEY_PROVIDER_NAME_ATTR: CERTENROLL_OBJECTID = 165i32; +pub const XCN_OID_PKCS_12_LOCAL_KEY_ID: CERTENROLL_OBJECTID = 164i32; +pub const XCN_OID_PKCS_12_PROTECTED_PASSWORD_SECRET_BAG_TYPE_ID: CERTENROLL_OBJECTID = 407i32; +pub const XCN_OID_PKCS_12_PbeIds: CERTENROLL_OBJECTID = 400i32; +pub const XCN_OID_PKCS_12_pbeWithSHA1And128BitRC2: CERTENROLL_OBJECTID = 401i32; +pub const XCN_OID_PKCS_12_pbeWithSHA1And128BitRC4: CERTENROLL_OBJECTID = 402i32; +pub const XCN_OID_PKCS_12_pbeWithSHA1And2KeyTripleDES: CERTENROLL_OBJECTID = 403i32; +pub const XCN_OID_PKCS_12_pbeWithSHA1And3KeyTripleDES: CERTENROLL_OBJECTID = 404i32; +pub const XCN_OID_PKCS_12_pbeWithSHA1And40BitRC2: CERTENROLL_OBJECTID = 405i32; +pub const XCN_OID_PKCS_12_pbeWithSHA1And40BitRC4: CERTENROLL_OBJECTID = 406i32; +pub const XCN_OID_PKCS_2: CERTENROLL_OBJECTID = 6i32; +pub const XCN_OID_PKCS_3: CERTENROLL_OBJECTID = 7i32; +pub const XCN_OID_PKCS_4: CERTENROLL_OBJECTID = 8i32; +pub const XCN_OID_PKCS_5: CERTENROLL_OBJECTID = 9i32; +pub const XCN_OID_PKCS_6: CERTENROLL_OBJECTID = 10i32; +pub const XCN_OID_PKCS_7: CERTENROLL_OBJECTID = 11i32; +pub const XCN_OID_PKCS_7_DATA: CERTENROLL_OBJECTID = 329i32; +pub const XCN_OID_PKCS_7_DIGESTED: CERTENROLL_OBJECTID = 333i32; +pub const XCN_OID_PKCS_7_ENCRYPTED: CERTENROLL_OBJECTID = 334i32; +pub const XCN_OID_PKCS_7_ENVELOPED: CERTENROLL_OBJECTID = 331i32; +pub const XCN_OID_PKCS_7_SIGNED: CERTENROLL_OBJECTID = 330i32; +pub const XCN_OID_PKCS_7_SIGNEDANDENVELOPED: CERTENROLL_OBJECTID = 332i32; +pub const XCN_OID_PKCS_8: CERTENROLL_OBJECTID = 12i32; +pub const XCN_OID_PKCS_9: CERTENROLL_OBJECTID = 13i32; +pub const XCN_OID_PKCS_9_CONTENT_TYPE: CERTENROLL_OBJECTID = 335i32; +pub const XCN_OID_PKCS_9_MESSAGE_DIGEST: CERTENROLL_OBJECTID = 336i32; +pub const XCN_OID_PKINIT_KP_KDC: CERTENROLL_OBJECTID = 408i32; +pub const XCN_OID_PKIX: CERTENROLL_OBJECTID = 202i32; +pub const XCN_OID_PKIX_ACC_DESCR: CERTENROLL_OBJECTID = 282i32; +pub const XCN_OID_PKIX_CA_ISSUERS: CERTENROLL_OBJECTID = 284i32; +pub const XCN_OID_PKIX_CA_REPOSITORY: CERTENROLL_OBJECTID = 409i32; +pub const XCN_OID_PKIX_KP: CERTENROLL_OBJECTID = 243i32; +pub const XCN_OID_PKIX_KP_CLIENT_AUTH: CERTENROLL_OBJECTID = 245i32; +pub const XCN_OID_PKIX_KP_CODE_SIGNING: CERTENROLL_OBJECTID = 246i32; +pub const XCN_OID_PKIX_KP_EMAIL_PROTECTION: CERTENROLL_OBJECTID = 247i32; +pub const XCN_OID_PKIX_KP_IPSEC_END_SYSTEM: CERTENROLL_OBJECTID = 248i32; +pub const XCN_OID_PKIX_KP_IPSEC_TUNNEL: CERTENROLL_OBJECTID = 249i32; +pub const XCN_OID_PKIX_KP_IPSEC_USER: CERTENROLL_OBJECTID = 250i32; +pub const XCN_OID_PKIX_KP_OCSP_SIGNING: CERTENROLL_OBJECTID = 252i32; +pub const XCN_OID_PKIX_KP_SERVER_AUTH: CERTENROLL_OBJECTID = 244i32; +pub const XCN_OID_PKIX_KP_TIMESTAMP_SIGNING: CERTENROLL_OBJECTID = 251i32; +pub const XCN_OID_PKIX_NO_SIGNATURE: CERTENROLL_OBJECTID = 303i32; +pub const XCN_OID_PKIX_OCSP: CERTENROLL_OBJECTID = 283i32; +pub const XCN_OID_PKIX_OCSP_BASIC_SIGNED_RESPONSE: CERTENROLL_OBJECTID = 328i32; +pub const XCN_OID_PKIX_OCSP_NOCHECK: CERTENROLL_OBJECTID = 253i32; +pub const XCN_OID_PKIX_OCSP_NONCE: CERTENROLL_OBJECTID = 410i32; +pub const XCN_OID_PKIX_PE: CERTENROLL_OBJECTID = 203i32; +pub const XCN_OID_PKIX_POLICY_QUALIFIER_CPS: CERTENROLL_OBJECTID = 279i32; +pub const XCN_OID_PKIX_POLICY_QUALIFIER_USERNOTICE: CERTENROLL_OBJECTID = 280i32; +pub const XCN_OID_PKIX_TIME_STAMPING: CERTENROLL_OBJECTID = 411i32; +pub const XCN_OID_POLICY_CONSTRAINTS: CERTENROLL_OBJECTID = 196i32; +pub const XCN_OID_POLICY_MAPPINGS: CERTENROLL_OBJECTID = 194i32; +pub const XCN_OID_POSTAL_ADDRESS: CERTENROLL_OBJECTID = 134i32; +pub const XCN_OID_POSTAL_CODE: CERTENROLL_OBJECTID = 135i32; +pub const XCN_OID_POST_OFFICE_BOX: CERTENROLL_OBJECTID = 136i32; +pub const XCN_OID_PREFERRED_DELIVERY_METHOD: CERTENROLL_OBJECTID = 146i32; +pub const XCN_OID_PRESENTATION_ADDRESS: CERTENROLL_OBJECTID = 147i32; +pub const XCN_OID_PRIVATEKEY_USAGE_PERIOD: CERTENROLL_OBJECTID = 177i32; +pub const XCN_OID_PRODUCT_UPDATE: CERTENROLL_OBJECTID = 215i32; +pub const XCN_OID_QC_EU_COMPLIANCE: CERTENROLL_OBJECTID = 412i32; +pub const XCN_OID_QC_SSCD: CERTENROLL_OBJECTID = 413i32; +pub const XCN_OID_QC_STATEMENTS_EXT: CERTENROLL_OBJECTID = 414i32; +pub const XCN_OID_RDN_DUMMY_SIGNER: CERTENROLL_OBJECTID = 228i32; +pub const XCN_OID_RDN_TPM_MANUFACTURER: CERTENROLL_OBJECTID = 415i32; +pub const XCN_OID_RDN_TPM_MODEL: CERTENROLL_OBJECTID = 416i32; +pub const XCN_OID_RDN_TPM_VERSION: CERTENROLL_OBJECTID = 417i32; +pub const XCN_OID_REASON_CODE_HOLD: CERTENROLL_OBJECTID = 186i32; +pub const XCN_OID_REGISTERED_ADDRESS: CERTENROLL_OBJECTID = 144i32; +pub const XCN_OID_REMOVE_CERTIFICATE: CERTENROLL_OBJECTID = 209i32; +pub const XCN_OID_RENEWAL_CERTIFICATE: CERTENROLL_OBJECTID = 197i32; +pub const XCN_OID_REQUEST_CLIENT_INFO: CERTENROLL_OBJECTID = 238i32; +pub const XCN_OID_REQUIRE_CERT_CHAIN_POLICY: CERTENROLL_OBJECTID = 234i32; +pub const XCN_OID_REVOKED_LIST_SIGNER: CERTENROLL_OBJECTID = 418i32; +pub const XCN_OID_RFC3161_counterSign: CERTENROLL_OBJECTID = 419i32; +pub const XCN_OID_ROLE_OCCUPANT: CERTENROLL_OBJECTID = 151i32; +pub const XCN_OID_ROOT_LIST_SIGNER: CERTENROLL_OBJECTID = 265i32; +pub const XCN_OID_ROOT_PROGRAM_AUTO_UPDATE_CA_REVOCATION: CERTENROLL_OBJECTID = 420i32; +pub const XCN_OID_ROOT_PROGRAM_AUTO_UPDATE_END_REVOCATION: CERTENROLL_OBJECTID = 421i32; +pub const XCN_OID_ROOT_PROGRAM_FLAGS: CERTENROLL_OBJECTID = 422i32; +pub const XCN_OID_ROOT_PROGRAM_NO_OCSP_FAILOVER_TO_CRL: CERTENROLL_OBJECTID = 423i32; +pub const XCN_OID_RSA: CERTENROLL_OBJECTID = 1i32; +pub const XCN_OID_RSAES_OAEP: CERTENROLL_OBJECTID = 425i32; +pub const XCN_OID_RSA_DES_EDE3_CBC: CERTENROLL_OBJECTID = 51i32; +pub const XCN_OID_RSA_DH: CERTENROLL_OBJECTID = 22i32; +pub const XCN_OID_RSA_ENCRYPT: CERTENROLL_OBJECTID = 4i32; +pub const XCN_OID_RSA_HASH: CERTENROLL_OBJECTID = 3i32; +pub const XCN_OID_RSA_MD2: CERTENROLL_OBJECTID = 46i32; +pub const XCN_OID_RSA_MD2RSA: CERTENROLL_OBJECTID = 17i32; +pub const XCN_OID_RSA_MD4: CERTENROLL_OBJECTID = 47i32; +pub const XCN_OID_RSA_MD4RSA: CERTENROLL_OBJECTID = 18i32; +pub const XCN_OID_RSA_MD5: CERTENROLL_OBJECTID = 48i32; +pub const XCN_OID_RSA_MD5RSA: CERTENROLL_OBJECTID = 19i32; +pub const XCN_OID_RSA_MGF1: CERTENROLL_OBJECTID = 348i32; +pub const XCN_OID_RSA_PSPECIFIED: CERTENROLL_OBJECTID = 424i32; +pub const XCN_OID_RSA_RC2CBC: CERTENROLL_OBJECTID = 49i32; +pub const XCN_OID_RSA_RC4: CERTENROLL_OBJECTID = 50i32; +pub const XCN_OID_RSA_RC5_CBCPad: CERTENROLL_OBJECTID = 52i32; +pub const XCN_OID_RSA_RSA: CERTENROLL_OBJECTID = 16i32; +pub const XCN_OID_RSA_SETOAEP_RSA: CERTENROLL_OBJECTID = 21i32; +pub const XCN_OID_RSA_SHA1RSA: CERTENROLL_OBJECTID = 20i32; +pub const XCN_OID_RSA_SHA256RSA: CERTENROLL_OBJECTID = 342i32; +pub const XCN_OID_RSA_SHA384RSA: CERTENROLL_OBJECTID = 343i32; +pub const XCN_OID_RSA_SHA512RSA: CERTENROLL_OBJECTID = 344i32; +pub const XCN_OID_RSA_SMIMECapabilities: CERTENROLL_OBJECTID = 40i32; +pub const XCN_OID_RSA_SMIMEalg: CERTENROLL_OBJECTID = 42i32; +pub const XCN_OID_RSA_SMIMEalgCMS3DESwrap: CERTENROLL_OBJECTID = 44i32; +pub const XCN_OID_RSA_SMIMEalgCMSRC2wrap: CERTENROLL_OBJECTID = 45i32; +pub const XCN_OID_RSA_SMIMEalgESDH: CERTENROLL_OBJECTID = 43i32; +pub const XCN_OID_RSA_SSA_PSS: CERTENROLL_OBJECTID = 353i32; +pub const XCN_OID_RSA_certExtensions: CERTENROLL_OBJECTID = 39i32; +pub const XCN_OID_RSA_challengePwd: CERTENROLL_OBJECTID = 36i32; +pub const XCN_OID_RSA_contentType: CERTENROLL_OBJECTID = 32i32; +pub const XCN_OID_RSA_counterSign: CERTENROLL_OBJECTID = 35i32; +pub const XCN_OID_RSA_data: CERTENROLL_OBJECTID = 23i32; +pub const XCN_OID_RSA_digestedData: CERTENROLL_OBJECTID = 27i32; +pub const XCN_OID_RSA_emailAddr: CERTENROLL_OBJECTID = 30i32; +pub const XCN_OID_RSA_encryptedData: CERTENROLL_OBJECTID = 29i32; +pub const XCN_OID_RSA_envelopedData: CERTENROLL_OBJECTID = 25i32; +pub const XCN_OID_RSA_extCertAttrs: CERTENROLL_OBJECTID = 38i32; +pub const XCN_OID_RSA_hashedData: CERTENROLL_OBJECTID = 28i32; +pub const XCN_OID_RSA_messageDigest: CERTENROLL_OBJECTID = 33i32; +pub const XCN_OID_RSA_preferSignedData: CERTENROLL_OBJECTID = 41i32; +pub const XCN_OID_RSA_signEnvData: CERTENROLL_OBJECTID = 26i32; +pub const XCN_OID_RSA_signedData: CERTENROLL_OBJECTID = 24i32; +pub const XCN_OID_RSA_signingTime: CERTENROLL_OBJECTID = 34i32; +pub const XCN_OID_RSA_unstructAddr: CERTENROLL_OBJECTID = 37i32; +pub const XCN_OID_RSA_unstructName: CERTENROLL_OBJECTID = 31i32; +pub const XCN_OID_SEARCH_GUIDE: CERTENROLL_OBJECTID = 132i32; +pub const XCN_OID_SEE_ALSO: CERTENROLL_OBJECTID = 152i32; +pub const XCN_OID_SERIALIZED: CERTENROLL_OBJECTID = 213i32; +pub const XCN_OID_SERVER_GATED_CRYPTO: CERTENROLL_OBJECTID = 257i32; +pub const XCN_OID_SGC_NETSCAPE: CERTENROLL_OBJECTID = 258i32; +pub const XCN_OID_SORTED_CTL: CERTENROLL_OBJECTID = 212i32; +pub const XCN_OID_STATE_OR_PROVINCE_NAME: CERTENROLL_OBJECTID = 126i32; +pub const XCN_OID_STREET_ADDRESS: CERTENROLL_OBJECTID = 127i32; +pub const XCN_OID_SUBJECT_ALT_NAME: CERTENROLL_OBJECTID = 173i32; +pub const XCN_OID_SUBJECT_ALT_NAME2: CERTENROLL_OBJECTID = 183i32; +pub const XCN_OID_SUBJECT_DIR_ATTRS: CERTENROLL_OBJECTID = 242i32; +pub const XCN_OID_SUBJECT_INFO_ACCESS: CERTENROLL_OBJECTID = 426i32; +pub const XCN_OID_SUBJECT_KEY_IDENTIFIER: CERTENROLL_OBJECTID = 182i32; +pub const XCN_OID_SUPPORTED_APPLICATION_CONTEXT: CERTENROLL_OBJECTID = 148i32; +pub const XCN_OID_SUR_NAME: CERTENROLL_OBJECTID = 122i32; +pub const XCN_OID_TELEPHONE_NUMBER: CERTENROLL_OBJECTID = 138i32; +pub const XCN_OID_TELETEXT_TERMINAL_IDENTIFIER: CERTENROLL_OBJECTID = 140i32; +pub const XCN_OID_TELEX_NUMBER: CERTENROLL_OBJECTID = 139i32; +pub const XCN_OID_TIMESTAMP_TOKEN: CERTENROLL_OBJECTID = 427i32; +pub const XCN_OID_TITLE: CERTENROLL_OBJECTID = 130i32; +pub const XCN_OID_USER_CERTIFICATE: CERTENROLL_OBJECTID = 154i32; +pub const XCN_OID_USER_PASSWORD: CERTENROLL_OBJECTID = 153i32; +pub const XCN_OID_VERISIGN_BITSTRING_6_13: CERTENROLL_OBJECTID = 287i32; +pub const XCN_OID_VERISIGN_ISS_STRONG_CRYPTO: CERTENROLL_OBJECTID = 288i32; +pub const XCN_OID_VERISIGN_ONSITE_JURISDICTION_HASH: CERTENROLL_OBJECTID = 286i32; +pub const XCN_OID_VERISIGN_PRIVATE_6_9: CERTENROLL_OBJECTID = 285i32; +pub const XCN_OID_WHQL_CRYPTO: CERTENROLL_OBJECTID = 261i32; +pub const XCN_OID_X21_ADDRESS: CERTENROLL_OBJECTID = 142i32; +pub const XCN_OID_X957: CERTENROLL_OBJECTID = 55i32; +pub const XCN_OID_X957_DSA: CERTENROLL_OBJECTID = 56i32; +pub const XCN_OID_X957_SHA1DSA: CERTENROLL_OBJECTID = 57i32; +pub const XCN_OID_YESNO_TRUST_ATTR: CERTENROLL_OBJECTID = 278i32; +pub const XCN_PROPERTYID_NONE: CERTENROLL_PROPERTYID = 0i32; +pub const XCN_PROV_DH_SCHANNEL: X509ProviderType = 18i32; +pub const XCN_PROV_DSS: X509ProviderType = 3i32; +pub const XCN_PROV_DSS_DH: X509ProviderType = 13i32; +pub const XCN_PROV_EC_ECDSA_FULL: X509ProviderType = 16i32; +pub const XCN_PROV_EC_ECDSA_SIG: X509ProviderType = 14i32; +pub const XCN_PROV_EC_ECNRA_FULL: X509ProviderType = 17i32; +pub const XCN_PROV_EC_ECNRA_SIG: X509ProviderType = 15i32; +pub const XCN_PROV_FORTEZZA: X509ProviderType = 4i32; +pub const XCN_PROV_INTEL_SEC: X509ProviderType = 22i32; +pub const XCN_PROV_MS_EXCHANGE: X509ProviderType = 5i32; +pub const XCN_PROV_NONE: X509ProviderType = 0i32; +pub const XCN_PROV_REPLACE_OWF: X509ProviderType = 23i32; +pub const XCN_PROV_RNG: X509ProviderType = 21i32; +pub const XCN_PROV_RSA_AES: X509ProviderType = 24i32; +pub const XCN_PROV_RSA_FULL: X509ProviderType = 1i32; +pub const XCN_PROV_RSA_SCHANNEL: X509ProviderType = 12i32; +pub const XCN_PROV_RSA_SIG: X509ProviderType = 2i32; +pub const XCN_PROV_SPYRUS_LYNKS: X509ProviderType = 20i32; +pub const XCN_PROV_SSL: X509ProviderType = 6i32; +pub const XECI_AUTOENROLL: u32 = 2u32; +pub const XECI_CERTREQ: u32 = 4u32; +pub const XECI_DISABLE: u32 = 0u32; +pub const XECI_REQWIZARD: u32 = 3u32; +pub const XECI_XENROLL: u32 = 1u32; +pub const XECP_STRING_PROPERTY: u32 = 1u32; +pub const XECR_CMC: CERT_CREATE_REQUEST_FLAGS = 3i32; +pub const XECR_PKCS10_V1_5: CERT_CREATE_REQUEST_FLAGS = 4i32; +pub const XECR_PKCS10_V2_0: CERT_CREATE_REQUEST_FLAGS = 1i32; +pub const XECR_PKCS7: CERT_CREATE_REQUEST_FLAGS = 2i32; +pub const XECT_EXTENSION_V1: ADDED_CERT_TYPE = 1i32; +pub const XECT_EXTENSION_V2: ADDED_CERT_TYPE = 2i32; +pub const XEKL_KEYSIZE_DEFAULT: u32 = 4u32; +pub const XEKL_KEYSIZE_INC: XEKL_KEYSIZE = 3i32; +pub const XEKL_KEYSIZE_MAX: XEKL_KEYSIZE = 2i32; +pub const XEKL_KEYSIZE_MIN: XEKL_KEYSIZE = 1i32; +pub const XEKL_KEYSPEC_KEYX: XEKL_KEYSPEC = 1i32; +pub const XEKL_KEYSPEC_SIG: XEKL_KEYSPEC = 2i32; +pub const XEPR_CADNS: PENDING_REQUEST_DESIRED_PROPERTY = 1i32; +pub const XEPR_CAFRIENDLYNAME: PENDING_REQUEST_DESIRED_PROPERTY = 3i32; +pub const XEPR_CANAME: PENDING_REQUEST_DESIRED_PROPERTY = 2i32; +pub const XEPR_DATE: u32 = 5u32; +pub const XEPR_ENUM_FIRST: i32 = -1i32; +pub const XEPR_HASH: PENDING_REQUEST_DESIRED_PROPERTY = 8i32; +pub const XEPR_REQUESTID: PENDING_REQUEST_DESIRED_PROPERTY = 4i32; +pub const XEPR_TEMPLATENAME: u32 = 6u32; +pub const XEPR_V1TEMPLATENAME: u32 = 9u32; +pub const XEPR_V2TEMPLATEOID: u32 = 16u32; +pub const XEPR_VERSION: u32 = 7u32; +pub const dwCAXCHGOVERLAPPERIODCOUNTDEFAULT: u32 = 1u32; +pub const dwCAXCHGVALIDITYPERIODCOUNTDEFAULT: u32 = 1u32; +pub const dwCRLDELTAOVERLAPPERIODCOUNTDEFAULT: u32 = 0u32; +pub const dwCRLDELTAPERIODCOUNTDEFAULT: u32 = 1u32; +pub const dwCRLOVERLAPPERIODCOUNTDEFAULT: u32 = 0u32; +pub const dwCRLPERIODCOUNTDEFAULT: u32 = 1u32; +pub const dwVALIDITYPERIODCOUNTDEFAULT_ENTERPRISE: u32 = 2u32; +pub const dwVALIDITYPERIODCOUNTDEFAULT_ROOT: u32 = 5u32; +pub const dwVALIDITYPERIODCOUNTDEFAULT_STANDALONE: u32 = 1u32; +pub const szBACKUPANNOTATION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Cert Server Backup Interface"); +pub const szDBBASENAMEPARM: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("edb"); +pub const szNAMESEPARATORDEFAULT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("\n"); +pub const szPROPASNTAG: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("{asn}"); +pub const szRESTOREANNOTATION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Cert Server Restore Interface"); +pub const wszAT_EKCERTINF: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("@EKCert"); +pub const wszAT_TESTROOT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("@TestRoot"); +pub const wszCAPOLICYFILE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAPolicy.inf"); +pub const wszCERTEXITMODULE_POSTFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".Exit"); +pub const wszCERTIFICATETRANSPARENCYFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateTransparencyFlags"); +pub const wszCERTMANAGE_SUFFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Manage"); +pub const wszCERTPOLICYMODULE_POSTFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".Policy"); +pub const wszCERT_TYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestType"); +pub const wszCERT_TYPE_CLIENT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Client"); +pub const wszCERT_TYPE_CODESIGN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CodeSign"); +pub const wszCERT_TYPE_CUSTOMER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SetCustomer"); +pub const wszCERT_TYPE_MERCHANT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SetMerchant"); +pub const wszCERT_TYPE_PAYMENT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SetPayment"); +pub const wszCERT_TYPE_SERVER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Server"); +pub const wszCERT_VERSION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Version"); +pub const wszCERT_VERSION_1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1"); +pub const wszCERT_VERSION_2: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("2"); +pub const wszCERT_VERSION_3: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("3"); +pub const wszCLASS_CERTADMIN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateAuthority.Admin"); +pub const wszCLASS_CERTCONFIG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateAuthority.Config"); +pub const wszCLASS_CERTDBMEM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateAuthority.DBMem"); +pub const wszCLASS_CERTENCODE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateAuthority.Encode"); +pub const wszCLASS_CERTGETCONFIG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateAuthority.GetConfig"); +pub const wszCLASS_CERTREQUEST: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateAuthority.Request"); +pub const wszCLASS_CERTSERVEREXIT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateAuthority.ServerExit"); +pub const wszCLASS_CERTSERVERPOLICY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateAuthority.ServerPolicy"); +pub const wszCLASS_CERTVIEW: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateAuthority.View"); +pub const wszCMM_PROP_COPYRIGHT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Copyright"); +pub const wszCMM_PROP_DESCRIPTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Description"); +pub const wszCMM_PROP_DISPLAY_HWND: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HWND"); +pub const wszCMM_PROP_FILEVER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("File Version"); +pub const wszCMM_PROP_ISMULTITHREADED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IsMultiThreaded"); +pub const wszCMM_PROP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Name"); +pub const wszCMM_PROP_PRODUCTVER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Product Version"); +pub const wszCNGENCRYPTIONALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CNGEncryptionAlgorithm"); +pub const wszCNGHASHALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CNGHashAlgorithm"); +pub const wszCNGPUBLICKEYALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CNGPublicKeyAlgorithm"); +pub const wszCONFIG_AUTHORITY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Authority"); +pub const wszCONFIG_COMMENT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Comment"); +pub const wszCONFIG_COMMONNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CommonName"); +pub const wszCONFIG_CONFIG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Config"); +pub const wszCONFIG_COUNTRY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Country"); +pub const wszCONFIG_DESCRIPTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Description"); +pub const wszCONFIG_EXCHANGECERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ExchangeCertificate"); +pub const wszCONFIG_FLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Flags"); +pub const wszCONFIG_LOCALITY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Locality"); +pub const wszCONFIG_ORGANIZATION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Organization"); +pub const wszCONFIG_ORGUNIT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("OrgUnit"); +pub const wszCONFIG_SANITIZEDNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SanitizedName"); +pub const wszCONFIG_SANITIZEDSHORTNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SanitizedShortName"); +pub const wszCONFIG_SERVER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Server"); +pub const wszCONFIG_SHORTNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ShortName"); +pub const wszCONFIG_SIGNATURECERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SignatureCertificate"); +pub const wszCONFIG_STATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("State"); +pub const wszCONFIG_WEBENROLLMENTSERVERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WebEnrollmentServers"); +pub const wszCRLPUBLISHRETRYCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLPublishRetryCount"); +pub const wszCRTFILENAMEEXT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".crt"); +pub const wszDATFILENAMEEXT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".dat"); +pub const wszDBBACKUPCERTBACKDAT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("certbkxp.dat"); +pub const wszDBBACKUPSUBDIR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DataBase"); +pub const wszDBFILENAMEEXT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".edb"); +pub const wszENCRYPTIONALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EncryptionAlgorithm"); +pub const wszENROLLMENTAGENTRIGHTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EnrollmentAgentRights"); +pub const wszHASHALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HashAlgorithm"); +pub const wszINFKEY_ALTERNATESIGNATUREALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AlternateSignatureAlgorithm"); +pub const wszINFKEY_ATTESTPRIVATEKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AttestPrivateKey"); +pub const wszINFKEY_CACAPABILITIES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CACapabilities"); +pub const wszINFKEY_CACERTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CACerts"); +pub const wszINFKEY_CATHUMBPRINT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAThumbprint"); +pub const wszINFKEY_CCDPSYNCDELTATIME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SyncDeltaTime"); +pub const wszINFKEY_CHALLENGEPASSWORD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ChallengePassword"); +pub const wszINFKEY_CONTINUE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("_continue_"); +pub const wszINFKEY_CRITICAL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Critical"); +pub const wszINFKEY_CRLDELTAPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLDeltaPeriodUnits"); +pub const wszINFKEY_CRLDELTAPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLDeltaPeriod"); +pub const wszINFKEY_CRLPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLPeriodUnits"); +pub const wszINFKEY_CRLPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLPeriod"); +pub const wszINFKEY_DIRECTORYNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DirectoryName"); +pub const wszINFKEY_DNS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DNS"); +pub const wszINFKEY_ECCKEYPARAMETERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EccKeyParameters"); +pub const wszINFKEY_ECCKEYPARAMETERSTYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EccKeyParametersType"); +pub const wszINFKEY_ECCKEYPARAMETERS_A: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EccKeyParameters_A"); +pub const wszINFKEY_ECCKEYPARAMETERS_B: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EccKeyParameters_B"); +pub const wszINFKEY_ECCKEYPARAMETERS_BASE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EccKeyParameters_Base"); +pub const wszINFKEY_ECCKEYPARAMETERS_COFACTOR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EccKeyParameters_Cofactor"); +pub const wszINFKEY_ECCKEYPARAMETERS_ORDER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EccKeyParameters_Order"); +pub const wszINFKEY_ECCKEYPARAMETERS_P: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EccKeyParameters_P"); +pub const wszINFKEY_ECCKEYPARAMETERS_SEED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EccKeyParameters_Seed"); +pub const wszINFKEY_EMAIL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EMail"); +pub const wszINFKEY_EMPTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Empty"); +pub const wszINFKEY_ENABLEKEYCOUNTING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EnableKeyCounting"); +pub const wszINFKEY_ENCRYPTIONALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EncryptionAlgorithm"); +pub const wszINFKEY_ENCRYPTIONLENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EncryptionLength"); +pub const wszINFKEY_EXCLUDE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Exclude"); +pub const wszINFKEY_EXPORTABLE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Exportable"); +pub const wszINFKEY_EXPORTABLEENCRYPTED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ExportableEncrypted"); +pub const wszINFKEY_FLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Flags"); +pub const wszINFKEY_FORCEUTF8: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ForceUTF8"); +pub const wszINFKEY_FRIENDLYNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FriendlyName"); +pub const wszINFKEY_HASHALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HashAlgorithm"); +pub const wszINFKEY_INCLUDE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Include"); +pub const wszINFKEY_INHIBITPOLICYMAPPING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("InhibitPolicyMapping"); +pub const wszINFKEY_IPADDRESS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IPAddress"); +pub const wszINFKEY_KEYALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyAlgorithm"); +pub const wszINFKEY_KEYALGORITHMPARMETERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyAlgorithmParameters"); +pub const wszINFKEY_KEYCONTAINER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyContainer"); +pub const wszINFKEY_KEYLENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyLength"); +pub const wszINFKEY_KEYPROTECTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyProtection"); +pub const wszINFKEY_KEYUSAGEEXTENSION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyUsage"); +pub const wszINFKEY_KEYUSAGEPROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyUsageProperty"); +pub const wszINFKEY_LEGACYKEYSPEC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeySpec"); +pub const wszINFKEY_LOADDEFAULTTEMPLATES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LoadDefaultTemplates"); +pub const wszINFKEY_MACHINEKEYSET: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MachineKeySet"); +pub const wszINFKEY_NOTAFTER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NotAfter"); +pub const wszINFKEY_NOTBEFORE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NotBefore"); +pub const wszINFKEY_NOTICE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Notice"); +pub const wszINFKEY_OID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("OID"); +pub const wszINFKEY_OTHERNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("OtherName"); +pub const wszINFKEY_PATHLENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PathLength"); +pub const wszINFKEY_POLICIES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Policies"); +pub const wszINFKEY_PRIVATEKEYARCHIVE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PrivateKeyArchive"); +pub const wszINFKEY_PROVIDERNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ProviderName"); +pub const wszINFKEY_PROVIDERTYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ProviderType"); +pub const wszINFKEY_PUBLICKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PublicKey"); +pub const wszINFKEY_PUBLICKEYPARAMETERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PublicKeyParameters"); +pub const wszINFKEY_READERNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ReaderName"); +pub const wszINFKEY_REGISTEREDID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RegisteredId"); +pub const wszINFKEY_RENEWALCERT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RenewalCert"); +pub const wszINFKEY_RENEWALKEYLENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RenewalKeyLength"); +pub const wszINFKEY_RENEWALVALIDITYPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RenewalValidityPeriodUnits"); +pub const wszINFKEY_RENEWALVALIDITYPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RenewalValidityPeriod"); +pub const wszINFKEY_REQUESTTYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestType"); +pub const wszINFKEY_REQUIREEXPLICITPOLICY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequireExplicitPolicy"); +pub const wszINFKEY_SECURITYDESCRIPTOR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SecurityDescriptor"); +pub const wszINFKEY_SERIALNUMBER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SerialNumber"); +pub const wszINFKEY_SHOWALLCSPS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ShowAllCSPs"); +pub const wszINFKEY_SILENT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Silent"); +pub const wszINFKEY_SMIME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SMIME"); +pub const wszINFKEY_SUBJECT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Subject"); +pub const wszINFKEY_SUBJECTNAMEFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SubjectNameFlags"); +pub const wszINFKEY_SUBTREE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SubTree"); +pub const wszINFKEY_SUPPRESSDEFAULTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SuppressDefaults"); +pub const wszINFKEY_UICONTEXTMESSAGE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("UIContextMessage"); +pub const wszINFKEY_UPN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("UPN"); +pub const wszINFKEY_URL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("URL"); +pub const wszINFKEY_USEEXISTINGKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("UseExistingKeySet"); +pub const wszINFKEY_USERPROTECTED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("UserProtected"); +pub const wszINFKEY_UTF8: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("UTF8"); +pub const wszINFKEY_X500NAMEFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("X500NameFlags"); +pub const wszINFSECTION_AIA: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AuthorityInformationAccess"); +pub const wszINFSECTION_APPLICATIONPOLICYCONSTRAINTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ApplicationPolicyConstraintsExtension"); +pub const wszINFSECTION_APPLICATIONPOLICYMAPPINGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ApplicationPolicyMappingsExtension"); +pub const wszINFSECTION_APPLICATIONPOLICYSTATEMENT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ApplicationPolicyStatementExtension"); +pub const wszINFSECTION_BASICCONSTRAINTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BasicConstraintsExtension"); +pub const wszINFSECTION_CAPOLICY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAPolicy"); +pub const wszINFSECTION_CCDP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CrossCertificateDistributionPointsExtension"); +pub const wszINFSECTION_CDP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLDistributionPoint"); +pub const wszINFSECTION_CERTSERVER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("certsrv_server"); +pub const wszINFSECTION_EKU: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EnhancedKeyUsageExtension"); +pub const wszINFSECTION_EXTENSIONS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Extensions"); +pub const wszINFSECTION_NAMECONSTRAINTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NameConstraintsExtension"); +pub const wszINFSECTION_NEWREQUEST: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NewRequest"); +pub const wszINFSECTION_POLICYCONSTRAINTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PolicyConstraintsExtension"); +pub const wszINFSECTION_POLICYMAPPINGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PolicyMappingsExtension"); +pub const wszINFSECTION_POLICYSTATEMENT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PolicyStatementExtension"); +pub const wszINFSECTION_PROPERTIES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Properties"); +pub const wszINFSECTION_REQUESTATTRIBUTES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestAttributes"); +pub const wszINFVALUE_ENDORSEMENTKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EndorsementKey"); +pub const wszINFVALUE_REQUESTTYPE_CERT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Cert"); +pub const wszINFVALUE_REQUESTTYPE_CMC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CMC"); +pub const wszINFVALUE_REQUESTTYPE_PKCS10: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PKCS10"); +pub const wszINFVALUE_REQUESTTYPE_PKCS7: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PKCS7"); +pub const wszINFVALUE_REQUESTTYPE_SCEP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SCEP"); +pub const wszLDAPSESSIONOPTIONVALUE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LDAPSessionOptionValue"); +pub const wszLOCALIZEDTIMEPERIODUNITS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LocalizedTimePeriodUnits"); +pub const wszLOGFILENAMEEXT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".log"); +pub const wszLOGPATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertLog"); +pub const wszMACHINEKEYSET: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MachineKeyset"); +pub const wszMICROSOFTCERTMODULE_PREFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateAuthority_MicrosoftDefault"); +pub const wszNETSCAPEREVOCATIONTYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Netscape"); +pub const wszOCSPCAPROP_CACERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CACertificate"); +pub const wszOCSPCAPROP_CACONFIG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAConfig"); +pub const wszOCSPCAPROP_CSPNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CSPName"); +pub const wszOCSPCAPROP_ERRORCODE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ErrorCode"); +pub const wszOCSPCAPROP_HASHALGORITHMID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HashAlgorithmId"); +pub const wszOCSPCAPROP_KEYSPEC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeySpec"); +pub const wszOCSPCAPROP_LOCALREVOCATIONINFORMATION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LocalRevocationInformation"); +pub const wszOCSPCAPROP_PROVIDERCLSID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ProviderCLSID"); +pub const wszOCSPCAPROP_PROVIDERPROPERTIES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Provider"); +pub const wszOCSPCAPROP_REMINDERDURATION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ReminderDuration"); +pub const wszOCSPCAPROP_SIGNINGCERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SigningCertificate"); +pub const wszOCSPCAPROP_SIGNINGCERTIFICATETEMPLATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SigningCertificateTemplate"); +pub const wszOCSPCAPROP_SIGNINGFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SigningFlags"); +pub const wszOCSPCOMMONPROP_MAXINCOMINGMESSAGESIZE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxIncomingMessageSize"); +pub const wszOCSPCOMMONPROP_MAXNUMOFREQUESTENTRIES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxNumOfRequestEntries"); +pub const wszOCSPCOMMONPROP_REQFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestFlags"); +pub const wszOCSPISAPIPROP_DEBUG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ISAPIDebug"); +pub const wszOCSPISAPIPROP_MAXAGE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxAge"); +pub const wszOCSPISAPIPROP_MAXNUMOFCACHEENTRIES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxNumOfCacheEntries"); +pub const wszOCSPISAPIPROP_NUMOFBACKENDCONNECTIONS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NumOfBackendConnections"); +pub const wszOCSPISAPIPROP_NUMOFTHREADS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NumOfThreads"); +pub const wszOCSPISAPIPROP_REFRESHRATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RefreshRate"); +pub const wszOCSPISAPIPROP_VIRTUALROOTNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("VirtualRootName"); +pub const wszOCSPPROP_ARRAYCONTROLLER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ArrayController"); +pub const wszOCSPPROP_ARRAYMEMBERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ArrayMembers"); +pub const wszOCSPPROP_AUDITFILTER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AuditFilter"); +pub const wszOCSPPROP_DEBUG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Debug"); +pub const wszOCSPPROP_ENROLLPOLLINTERVAL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EnrollPollInterval"); +pub const wszOCSPPROP_LOGLEVEL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LogLevel"); +pub const wszOCSPREVPROP_BASECRL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BaseCrl"); +pub const wszOCSPREVPROP_BASECRLURLS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BaseCrlUrls"); +pub const wszOCSPREVPROP_CRLURLTIMEOUT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CrlUrlTimeOut"); +pub const wszOCSPREVPROP_DELTACRL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DeltaCrl"); +pub const wszOCSPREVPROP_DELTACRLURLS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DeltaCrlUrls"); +pub const wszOCSPREVPROP_ERRORCODE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RevocationErrorCode"); +pub const wszOCSPREVPROP_REFRESHTIMEOUT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RefreshTimeOut"); +pub const wszOCSPREVPROP_SERIALNUMBERSDIRS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IssuedSerialNumbersDirectories"); +pub const wszPERIODDAYS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Days"); +pub const wszPERIODHOURS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Hours"); +pub const wszPERIODMINUTES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Minutes"); +pub const wszPERIODMONTHS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Months"); +pub const wszPERIODSECONDS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Seconds"); +pub const wszPERIODWEEKS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Weeks"); +pub const wszPERIODYEARS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Years"); +pub const wszPFXFILENAMEEXT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".p12"); +pub const wszPROPATTESTATIONCHALLENGE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AttestationChallenge"); +pub const wszPROPATTRIBNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AttributeName"); +pub const wszPROPATTRIBREQUESTID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AttributeRequestId"); +pub const wszPROPATTRIBVALUE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AttributeValue"); +pub const wszPROPCALLERNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CallerName"); +pub const wszPROPCATYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAType"); +pub const wszPROPCERTCLIENTMACHINE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ccm"); +pub const wszPROPCERTCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertCount"); +pub const wszPROPCERTIFICATEENROLLMENTFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EnrollmentFlags"); +pub const wszPROPCERTIFICATEGENERALFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("GeneralFlags"); +pub const wszPROPCERTIFICATEHASH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateHash"); +pub const wszPROPCERTIFICATENOTAFTERDATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NotAfter"); +pub const wszPROPCERTIFICATENOTBEFOREDATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NotBefore"); +pub const wszPROPCERTIFICATEPRIVATEKEYFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PrivatekeyFlags"); +pub const wszPROPCERTIFICATEPUBLICKEYALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PublicKeyAlgorithm"); +pub const wszPROPCERTIFICATEPUBLICKEYLENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PublicKeyLength"); +pub const wszPROPCERTIFICATERAWPUBLICKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RawPublicKey"); +pub const wszPROPCERTIFICATERAWPUBLICKEYALGORITHMPARAMETERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RawPublicKeyAlgorithmParameters"); +pub const wszPROPCERTIFICATERAWSMIMECAPABILITIES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RawSMIMECapabilities"); +pub const wszPROPCERTIFICATEREQUESTID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestID"); +pub const wszPROPCERTIFICATESERIALNUMBER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SerialNumber"); +pub const wszPROPCERTIFICATESUBJECTKEYIDENTIFIER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SubjectKeyIdentifier"); +pub const wszPROPCERTIFICATETEMPLATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateTemplate"); +pub const wszPROPCERTIFICATETYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateType"); +pub const wszPROPCERTIFICATEUPN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("UPN"); +pub const wszPROPCERTSTATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertState"); +pub const wszPROPCERTSUFFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertSuffix"); +pub const wszPROPCERTTEMPLATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateTemplate"); +pub const wszPROPCERTTYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertType"); +pub const wszPROPCERTUSAGE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertificateUsage"); +pub const wszPROPCHALLENGE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Challenge"); +pub const wszPROPCLIENTBROWSERMACHINE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("cbm"); +pub const wszPROPCLIENTDCDNS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("cdc"); +pub const wszPROPCOMMONNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CommonName"); +pub const wszPROPCONFIGDN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ConfigDN"); +pub const wszPROPCOUNTRY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Country"); +pub const wszPROPCRITICALTAG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("{critical}"); +pub const wszPROPCRLCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLCount"); +pub const wszPROPCRLEFFECTIVE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLEffective"); +pub const wszPROPCRLINDEX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLIndex"); +pub const wszPROPCRLLASTPUBLISHED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLLastPublished"); +pub const wszPROPCRLMINBASE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLMinBase"); +pub const wszPROPCRLNAMEID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLNameId"); +pub const wszPROPCRLNEXTPUBLISH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLNextPublish"); +pub const wszPROPCRLNEXTUPDATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLNextUpdate"); +pub const wszPROPCRLNUMBER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLNumber"); +pub const wszPROPCRLPROPAGATIONCOMPLETE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLPropagationComplete"); +pub const wszPROPCRLPUBLISHATTEMPTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLPublishAttempts"); +pub const wszPROPCRLPUBLISHERROR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLPublishError"); +pub const wszPROPCRLPUBLISHFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLPublishFlags"); +pub const wszPROPCRLPUBLISHSTATUSCODE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLPublishStatusCode"); +pub const wszPROPCRLRAWCRL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLRawCRL"); +pub const wszPROPCRLROWID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLRowId"); +pub const wszPROPCRLSTATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLState"); +pub const wszPROPCRLSUFFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLSuffix"); +pub const wszPROPCRLTHISPUBLISH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLThisPublish"); +pub const wszPROPCRLTHISUPDATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLThisUpdate"); +pub const wszPROPCROSSFOREST: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CrossForest"); +pub const wszPROPDCNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DCName"); +pub const wszPROPDECIMALTAG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("{decimal}"); +pub const wszPROPDELTACRLSDISABLED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("fDeltaCRLsDisabled"); +pub const wszPROPDEVICESERIALNUMBER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DeviceSerialNumber"); +pub const wszPROPDISPOSITION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Disposition"); +pub const wszPROPDISPOSITIONDENY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Deny"); +pub const wszPROPDISPOSITIONPENDING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Pending"); +pub const wszPROPDISTINGUISHEDNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DistinguishedName"); +pub const wszPROPDN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("dn"); +pub const wszPROPDNS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("dns"); +pub const wszPROPDOMAINCOMPONENT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DomainComponent"); +pub const wszPROPDOMAINDN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DomainDN"); +pub const wszPROPEMAIL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EMail"); +pub const wszPROPENDORSEMENTCERTIFICATEHASH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EndorsementCertificateHash"); +pub const wszPROPENDORSEMENTKEYHASH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EndorsementKeyHash"); +pub const wszPROPEVENTLOGERROR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EventLogError"); +pub const wszPROPEVENTLOGEXHAUSTIVE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EventLogExhaustive"); +pub const wszPROPEVENTLOGTERSE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EventLogTerse"); +pub const wszPROPEVENTLOGVERBOSE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EventLogVerbose"); +pub const wszPROPEVENTLOGWARNING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EventLogWarning"); +pub const wszPROPEXITCERTFILE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertFile"); +pub const wszPROPEXPECTEDCHALLENGE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ExpectedChallenge"); +pub const wszPROPEXPIRATIONDATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ExpirationDate"); +pub const wszPROPEXTFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ExtensionFlags"); +pub const wszPROPEXTNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ExtensionName"); +pub const wszPROPEXTRAWVALUE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ExtensionRawValue"); +pub const wszPROPEXTREQUESTID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ExtensionRequestId"); +pub const wszPROPFILETAG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("{file}"); +pub const wszPROPGIVENNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("GivenName"); +pub const wszPROPGUID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("guid"); +pub const wszPROPHEXTAG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("{hex}"); +pub const wszPROPINITIALS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Initials"); +pub const wszPROPIPADDRESS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ipaddress"); +pub const wszPROPKEYARCHIVED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyArchived"); +pub const wszPROPLOCALITY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Locality"); +pub const wszPROPLOGLEVEL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LogLevel"); +pub const wszPROPMACHINEDNSNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MachineDNSName"); +pub const wszPROPMODULEREGLOC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ModuleRegistryLocation"); +pub const wszPROPNAMETYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NameType"); +pub const wszPROPOCTETTAG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("{octet}"); +pub const wszPROPOFFICER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Officer"); +pub const wszPROPOID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("oid"); +pub const wszPROPORGANIZATION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Organization"); +pub const wszPROPORGUNIT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("OrgUnit"); +pub const wszPROPPUBLISHEXPIREDCERTINCRL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PublishExpiredCertInCRL"); +pub const wszPROPRAWCACERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RawCACertificate"); +pub const wszPROPRAWCERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RawCertificate"); +pub const wszPROPRAWCRL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RawCRL"); +pub const wszPROPRAWDELTACRL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RawDeltaCRL"); +pub const wszPROPRAWNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RawName"); +pub const wszPROPRAWPRECERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RawPrecertificate"); +pub const wszPROPREQUESTARCHIVEDKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ArchivedKey"); +pub const wszPROPREQUESTATTRIBUTES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestAttributes"); +pub const wszPROPREQUESTCSPPROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestCSPProvider"); +pub const wszPROPREQUESTDISPOSITION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Disposition"); +pub const wszPROPREQUESTDISPOSITIONMESSAGE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DispositionMessage"); +pub const wszPROPREQUESTDOT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Request."); +pub const wszPROPREQUESTERCAACCESS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequesterCAAccess"); +pub const wszPROPREQUESTERDN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequesterDN"); +pub const wszPROPREQUESTERNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequesterName"); +pub const wszPROPREQUESTERNAMEFROMOLDCERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequesterNameFromOldCertificate"); +pub const wszPROPREQUESTERSAMNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequesterSAMName"); +pub const wszPROPREQUESTERUPN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequesterUPN"); +pub const wszPROPREQUESTFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestFlags"); +pub const wszPROPREQUESTKEYRECOVERYHASHES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyRecoveryHashes"); +pub const wszPROPREQUESTMACHINEDNS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("rmd"); +pub const wszPROPREQUESTOSVERSION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestOSVersion"); +pub const wszPROPREQUESTRAWARCHIVEDKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RawArchivedKey"); +pub const wszPROPREQUESTRAWOLDCERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RawOldCertificate"); +pub const wszPROPREQUESTRAWREQUEST: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RawRequest"); +pub const wszPROPREQUESTREQUESTID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestID"); +pub const wszPROPREQUESTRESOLVEDWHEN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ResolvedWhen"); +pub const wszPROPREQUESTREVOKEDEFFECTIVEWHEN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RevokedEffectiveWhen"); +pub const wszPROPREQUESTREVOKEDREASON: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RevokedReason"); +pub const wszPROPREQUESTREVOKEDWHEN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RevokedWhen"); +pub const wszPROPREQUESTSTATUSCODE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("StatusCode"); +pub const wszPROPREQUESTSUBMITTEDWHEN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SubmittedWhen"); +pub const wszPROPREQUESTTYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestType"); +pub const wszPROPSANITIZEDCANAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SanitizedCAName"); +pub const wszPROPSANITIZEDSHORTNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SanitizedShortName"); +pub const wszPROPSEAUDITFILTER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SEAuditFilter"); +pub const wszPROPSEAUDITID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SEAuditId"); +pub const wszPROPSERVERUPGRADED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("fServerUpgraded"); +pub const wszPROPSESSIONCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SessionCount"); +pub const wszPROPSIGNERAPPLICATIONPOLICIES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SignerApplicationPolicies"); +pub const wszPROPSIGNERPOLICIES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SignerPolicies"); +pub const wszPROPSTATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("State"); +pub const wszPROPSTREETADDRESS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("StreetAddress"); +pub const wszPROPSUBJECTALTNAME2: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("san"); +pub const wszPROPSUBJECTDOT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Subject."); +pub const wszPROPSURNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SurName"); +pub const wszPROPTEMPLATECHANGESEQUENCENUMBER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TemplateChangeSequenceNumber"); +pub const wszPROPTEXTTAG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("{text}"); +pub const wszPROPTITLE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Title"); +pub const wszPROPUNSTRUCTUREDADDRESS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("UnstructuredAddress"); +pub const wszPROPUNSTRUCTUREDNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("UnstructuredName"); +pub const wszPROPUPN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("upn"); +pub const wszPROPURL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("url"); +pub const wszPROPUSEDS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("fUseDS"); +pub const wszPROPUSERDN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("UserDN"); +pub const wszPROPUTF8TAG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("{utf8}"); +pub const wszPROPVALIDITYPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ValidityPeriodUnits"); +pub const wszPROPVALIDITYPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ValidityPeriod"); +pub const wszPROPVOLATILEMODE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("VolatileMode"); +pub const wszREGACTIVE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Active"); +pub const wszREGAELOGLEVEL_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AEEventLogLevel"); +pub const wszREGAIKCLOUDCAURL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AIKCloudCAURL"); +pub const wszREGAIKKEYALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AIKKeyAlgorithm"); +pub const wszREGAIKKEYLENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AIKKeyLength"); +pub const wszREGALLPROVIDERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("All"); +pub const wszREGALTERNATEPUBLISHDOMAINS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AlternatePublishDomains"); +pub const wszREGALTERNATESIGNATUREALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AlternateSignatureAlgorithm"); +pub const wszREGAUDITFILTER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AuditFilter"); +pub const wszREGB2ICERTMANAGEMODULE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ICertManageModule"); +pub const wszREGBACKUPLOGDIRECTORY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BackupLogDirectory"); +pub const wszREGCACERTFILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CACertFileName"); +pub const wszREGCACERTHASH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CACertHash"); +pub const wszREGCACERTPUBLICATIONURLS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CACertPublicationURLs"); +pub const wszREGCADESCRIPTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CADescription"); +pub const wszREGCAPATHLENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAPathLength"); +pub const wszREGCASECURITY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Security"); +pub const wszREGCASERIALNUMBER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CACertSerialNumber"); +pub const wszREGCASERVERNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAServerName"); +pub const wszREGCATYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAType"); +pub const wszREGCAUSEDS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("UseDS"); +pub const wszREGCAXCHGCERTHASH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAXchgCertHash"); +pub const wszREGCAXCHGOVERLAPPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAXchgOverlapPeriodUnits"); +pub const wszREGCAXCHGOVERLAPPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAXchgOverlapPeriod"); +pub const wszREGCAXCHGVALIDITYPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAXchgValidityPeriodUnits"); +pub const wszREGCAXCHGVALIDITYPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAXchgValidityPeriod"); +pub const wszREGCERTENROLLCOMPATIBLE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertEnrollCompatible"); +pub const wszREGCERTIFICATETRANSPARENCYINFOOID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CTInformationExtensionOid"); +pub const wszREGCERTPUBLISHFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PublishCertFlags"); +pub const wszREGCERTSRVDEBUG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Debug"); +pub const wszREGCHECKPOINTFILE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CheckPointFile"); +pub const wszREGCLOCKSKEWMINUTES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ClockSkewMinutes"); +pub const wszREGCOMMONNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CommonName"); +pub const wszREGCRLATTEMPTREPUBLISH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLAttemptRepublish"); +pub const wszREGCRLDELTANEXTPUBLISH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLDeltaNextPublish"); +pub const wszREGCRLDELTAOVERLAPPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLDeltaOverlapUnits"); +pub const wszREGCRLDELTAOVERLAPPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLDeltaOverlapPeriod"); +pub const wszREGCRLDELTAPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLDeltaPeriodUnits"); +pub const wszREGCRLDELTAPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLDeltaPeriod"); +pub const wszREGCRLEDITFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLEditFlags"); +pub const wszREGCRLFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLFlags"); +pub const wszREGCRLNEXTPUBLISH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLNextPublish"); +pub const wszREGCRLOVERLAPPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLOverlapUnits"); +pub const wszREGCRLOVERLAPPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLOverlapPeriod"); +pub const wszREGCRLPATH_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLPath"); +pub const wszREGCRLPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLPeriodUnits"); +pub const wszREGCRLPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLPeriod"); +pub const wszREGCRLPUBLICATIONURLS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLPublicationURLs"); +pub const wszREGDATABASERECOVERED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DatabaseRecovered"); +pub const wszREGDBDIRECTORY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DBDirectory"); +pub const wszREGDBFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DBFlags"); +pub const wszREGDBLASTFULLBACKUP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DBLastFullBackup"); +pub const wszREGDBLASTINCREMENTALBACKUP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DBLastIncrementalBackup"); +pub const wszREGDBLASTRECOVERY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DBLastRecovery"); +pub const wszREGDBLOGDIRECTORY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DBLogDirectory"); +pub const wszREGDBMAXREADSESSIONCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DBMaxReadSessionCount"); +pub const wszREGDBSESSIONCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DBSessionCount"); +pub const wszREGDBSYSDIRECTORY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DBSystemDirectory"); +pub const wszREGDBTEMPDIRECTORY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DBTempDirectory"); +pub const wszREGDEFAULTSMIME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DefaultSMIME"); +pub const wszREGDIRECTORY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ConfigurationDirectory"); +pub const wszREGDISABLEEXTENSIONLIST: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisableExtensionList"); +pub const wszREGDISABLESECEXTENSION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisableSecExtension"); +pub const wszREGDSCONFIGDN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DSConfigDN"); +pub const wszREGDSDOMAINDN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DSDomainDN"); +pub const wszREGEDITFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EditFlags"); +pub const wszREGEKPUBLISTDIRECTORIES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EndorsementKeyListDirectories"); +pub const wszREGEKUOIDSFORPUBLISHEXPIREDCERTINCRL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EKUOIDsForPublishExpiredCertInCRL"); +pub const wszREGEKUOIDSFORVOLATILEREQUESTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EKUOIDsforVolatileRequests"); +pub const wszREGENABLED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Enabled"); +pub const wszREGENABLEDEKUFORDEFINEDCACERT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EnabledEKUForDefinedCACert"); +pub const wszREGENABLEENROLLEEREQUESTEXTENSIONLIST: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EnableEnrolleeRequestExtensionList"); +pub const wszREGENABLEREQUESTEXTENSIONLIST: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EnableRequestExtensionList"); +pub const wszREGENFORCEX500NAMELENGTHS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EnforceX500NameLengths"); +pub const wszREGENROLLFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EnrollFlags"); +pub const wszREGEXITBODYARG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BodyArg"); +pub const wszREGEXITBODYFORMAT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BodyFormat"); +pub const wszREGEXITCRLISSUEDKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLIssued"); +pub const wszREGEXITDENIEDKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Denied"); +pub const wszREGEXITIMPORTEDKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Imported"); +pub const wszREGEXITISSUEDKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Issued"); +pub const wszREGEXITPENDINGKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Pending"); +pub const wszREGEXITPROPNOTFOUND: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("???"); +pub const wszREGEXITREVOKEDKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Revoked"); +pub const wszREGEXITSHUTDOWNKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Shutdown"); +pub const wszREGEXITSMTPAUTHENTICATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SMTPAuthenticate"); +pub const wszREGEXITSMTPCC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Cc"); +pub const wszREGEXITSMTPEVENTFILTER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EventFilter"); +pub const wszREGEXITSMTPFROM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("From"); +pub const wszREGEXITSMTPKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SMTP"); +pub const wszREGEXITSMTPSERVER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SMTPServer"); +pub const wszREGEXITSMTPTEMPLATES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Templates"); +pub const wszREGEXITSMTPTO: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("To"); +pub const wszREGEXITSTARTUPKEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Startup"); +pub const wszREGEXITTITLEARG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TitleArg"); +pub const wszREGEXITTITLEFORMAT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TitleFormat"); +pub const wszREGFILEISSUERCERTURL_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FileIssuerCertURL"); +pub const wszREGFILEREVOCATIONCRLURL_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FileRevocationCRLURL"); +pub const wszREGFORCETELETEX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ForceTeletex"); +pub const wszREGFTPISSUERCERTURL_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FTPIssuerCertURL"); +pub const wszREGFTPREVOCATIONCRLURL_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FTPRevocationCRLURL"); +pub const wszREGHIGHLOGNUMBER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HighLogNumber"); +pub const wszREGHIGHSERIAL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HighSerial"); +pub const wszREGINTERFACEFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("InterfaceFlags"); +pub const wszREGISSUERCERTURLFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IssuerCertURLFlags"); +pub const wszREGISSUERCERTURL_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IssuerCertURL"); +pub const wszREGKEYBASE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SYSTEM\\CurrentControlSet\\Services\\CertSvc"); +pub const wszREGKEYCERTSVCPATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SYSTEM\\CurrentControlSet\\Services\\CertSvc"); +pub const wszREGKEYCONFIG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Configuration"); +pub const wszREGKEYCSP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CSP"); +pub const wszREGKEYDBPARAMETERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DBParameters"); +pub const wszREGKEYENCRYPTIONCSP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EncryptionCSP"); +pub const wszREGKEYENROLLMENT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Software\\Microsoft\\Cryptography\\AutoEnrollment"); +pub const wszREGKEYEXITMODULES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ExitModules"); +pub const wszREGKEYGROUPPOLICYENROLLMENT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Software\\Policies\\Microsoft\\Cryptography\\AutoEnrollment"); +pub const wszREGKEYNOSYSTEMCERTSVCPATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CurrentControlSet\\Services\\CertSvc"); +pub const wszREGKEYPOLICYMODULES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PolicyModules"); +pub const wszREGKEYREPAIR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyRepair"); +pub const wszREGKEYRESTOREINPROGRESS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RestoreInProgress"); +pub const wszREGKEYSIZE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeySize"); +pub const wszREGKRACERTCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KRACertCount"); +pub const wszREGKRACERTHASH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KRACertHash"); +pub const wszREGKRAFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KRAFlags"); +pub const wszREGLDAPFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LDAPFlags"); +pub const wszREGLDAPISSUERCERTURL_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LDAPIssuerCertURL"); +pub const wszREGLDAPREVOCATIONCRLURL_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LDAPRevocationCRLURL"); +pub const wszREGLDAPREVOCATIONDNTEMPLATE_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LDAPRevocationDNTemplate"); +pub const wszREGLDAPREVOCATIONDN_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LDAPRevocationDN"); +pub const wszREGLDAPSESSIONOPTIONS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LDAPSessionOptions"); +pub const wszREGLOGLEVEL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LogLevel"); +pub const wszREGLOGPATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LogPath"); +pub const wszREGLOWLOGNUMBER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LowLogNumber"); +pub const wszREGMAXINCOMINGALLOCSIZE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxIncomingAllocSize"); +pub const wszREGMAXINCOMINGMESSAGESIZE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxIncomingMessageSize"); +pub const wszREGMAXPENDINGREQUESTDAYS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxPendingRequestDays"); +pub const wszREGMAXSCTLISTSIZE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxSCTListSize"); +pub const wszREGNAMESEPARATOR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SubjectNameSeparator"); +pub const wszREGNETSCAPECERTTYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("NetscapeCertType"); +pub const wszREGOFFICERRIGHTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("OfficerRights"); +pub const wszREGPARENTCAMACHINE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ParentCAMachine"); +pub const wszREGPARENTCANAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ParentCAName"); +pub const wszREGPOLICYFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PolicyFlags"); +pub const wszREGPRESERVESCEPDUMMYCERTS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PreserveSCEPDummyCerts"); +pub const wszREGPROCESSINGFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ProcessingFlags"); +pub const wszREGPROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Provider"); +pub const wszREGPROVIDERTYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ProviderType"); +pub const wszREGREQUESTDISPOSITION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestDisposition"); +pub const wszREGREQUESTFILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestFileName"); +pub const wszREGREQUESTID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestId"); +pub const wszREGREQUESTKEYCONTAINER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestKeyContainer"); +pub const wszREGREQUESTKEYINDEX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequestKeyIndex"); +pub const wszREGRESTOREMAP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RestoreMap"); +pub const wszREGRESTOREMAPCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RestoreMapCount"); +pub const wszREGRESTORESTATUS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RestoreStatus"); +pub const wszREGREVOCATIONCRLURL_OLD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RevocationCRLURL"); +pub const wszREGREVOCATIONTYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RevocationType"); +pub const wszREGREVOCATIONURL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RevocationURL"); +pub const wszREGROLESEPARATIONENABLED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RoleSeparationEnabled"); +pub const wszREGSETUPSTATUS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SetupStatus"); +pub const wszREGSP4DEFAULTCONFIGURATION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DefaultConfiguration"); +pub const wszREGSP4KEYSETNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeySetName"); +pub const wszREGSP4NAMES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Names"); +pub const wszREGSP4QUERIES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Queries"); +pub const wszREGSP4SUBJECTNAMESEPARATOR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SubjectNameSeparator"); +pub const wszREGSUBJECTALTNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SubjectAltName"); +pub const wszREGSUBJECTALTNAME2: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SubjectAltName2"); +pub const wszREGSUBJECTTEMPLATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SubjectTemplate"); +pub const wszREGSYMMETRICKEYSIZE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SymmetricKeySize"); +pub const wszREGUNICODE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Unicode"); +pub const wszREGUPNMAP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("UPNMap"); +pub const wszREGUSEDEFINEDCACERTINREQ: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("UseDefinedCACertInRequest"); +pub const wszREGVALIDITYPERIODCOUNT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ValidityPeriodUnits"); +pub const wszREGVALIDITYPERIODSTRING: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ValidityPeriod"); +pub const wszREGVERIFYFLAGS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("VerifyFlags"); +pub const wszREGVERSION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Version"); +pub const wszREGVIEWAGEMINUTES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ViewAgeMinutes"); +pub const wszREGVIEWIDLEMINUTES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ViewIdleMinutes"); +pub const wszREGWEBCLIENTCAMACHINE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WebClientCAMachine"); +pub const wszREGWEBCLIENTCANAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WebClientCAName"); +pub const wszREGWEBCLIENTCATYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WebClientCAType"); +pub const wszSECUREDATTRIBUTES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SignedAttributes"); +pub const wszSERVICE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertSvc"); +pub const wszzDEFAULTSIGNEDATTRIBUTES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequesterName\u{0}"); +pub type ADDED_CERT_TYPE = i32; +pub type AlgorithmFlags = i32; +pub type AlgorithmOperationFlags = i32; +pub type AlgorithmType = i32; +pub type AlternativeNameType = i32; +pub type CERTADMIN_GET_ROLES_FLAGS = u32; +pub type CERTENROLL_OBJECTID = i32; +pub type CERTENROLL_PROPERTYID = i32; +pub type CERT_ALT_NAME = i32; +pub type CERT_CREATE_REQUEST_FLAGS = i32; +pub type CERT_DELETE_ROW_FLAGS = i32; +pub type CERT_EXIT_EVENT_MASK = u32; +pub type CERT_GET_CONFIG_FLAGS = i32; +pub type CERT_IMPORT_FLAGS = i32; +pub type CERT_PROPERTY_TYPE = i32; +pub type CERT_REQUEST_OUT_TYPE = i32; +pub type CERT_VIEW_COLUMN_INDEX = i32; +pub type CERT_VIEW_SEEK_OPERATOR_FLAGS = i32; +pub type CRLRevocationReason = i32; +pub type CR_DISP = u32; +pub type CSBACKUP_TYPE = u32; +pub type CVRC_COLUMN = i32; +pub type CVRC_TABLE = i32; +pub type CommitTemplateFlags = i32; +pub type DelayRetryAction = i32; +pub type ENUM_CATYPES = i32; +pub type ENUM_CERT_COLUMN_VALUE_FLAGS = i32; +pub type EncodingType = i32; +pub type EnrollmentCAProperty = i32; +pub type EnrollmentDisplayStatus = i32; +pub type EnrollmentEnrollStatus = i32; +pub type EnrollmentPolicyFlags = i32; +pub type EnrollmentPolicyServerPropertyFlags = i32; +pub type EnrollmentSelectionStatus = i32; +pub type EnrollmentTemplateProperty = i32; +pub type FULL_RESPONSE_PROPERTY_ID = i32; +pub type ImportPFXFlags = i32; +pub type InnerRequestLevel = i32; +pub type InstallResponseRestrictionFlags = i32; +pub type KeyAttestationClaimType = i32; +pub type KeyIdentifierHashAlgorithm = i32; +pub type OCSPRequestFlag = i32; +pub type OCSPSigningFlag = i32; +pub type ObjectIdGroupId = i32; +pub type ObjectIdPublicKeyFlags = i32; +pub type PENDING_REQUEST_DESIRED_PROPERTY = i32; +pub type PFXExportOptions = i32; +pub type Pkcs10AllowedSignatureTypes = i32; +pub type PolicyQualifierType = i32; +pub type PolicyServerUrlFlags = i32; +pub type PolicyServerUrlPropertyID = i32; +pub type RequestClientInfoClientId = i32; +pub type WebEnrollmentFlags = i32; +pub type WebSecurityLevel = i32; +pub type X500NameFlags = i32; +pub type X509CertificateEnrollmentContext = i32; +pub type X509CertificateTemplateEnrollmentFlag = i32; +pub type X509CertificateTemplateGeneralFlag = i32; +pub type X509CertificateTemplatePrivateKeyFlag = i32; +pub type X509CertificateTemplateSubjectNameFlag = i32; +pub type X509EnrollmentAuthFlags = i32; +pub type X509EnrollmentPolicyExportFlags = i32; +pub type X509EnrollmentPolicyLoadOption = i32; +pub type X509HardwareKeyUsageFlags = i32; +pub type X509KeyParametersExportType = i32; +pub type X509KeySpec = i32; +pub type X509KeyUsageFlags = i32; +pub type X509PrivateKeyExportFlags = i32; +pub type X509PrivateKeyProtection = i32; +pub type X509PrivateKeyUsageFlags = i32; +pub type X509PrivateKeyVerify = i32; +pub type X509ProviderType = i32; +pub type X509RequestInheritOptions = i32; +pub type X509RequestType = i32; +pub type X509SCEPDisposition = i32; +pub type X509SCEPFailInfo = i32; +pub type X509SCEPMessageType = i32; +pub type X509SCEPProcessMessageFlags = i32; +pub type XEKL_KEYSIZE = i32; +pub type XEKL_KEYSPEC = i32; +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +pub type FNCERTSRVBACKUPCLOSE = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>; +pub type FNCERTSRVBACKUPEND = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>; +pub type FNCERTSRVBACKUPFREE = ::core::option::Option<unsafe extern "system" fn(pv: *mut ::core::ffi::c_void) -> ()>; +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>; +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>; +pub type FNCERTSRVBACKUPGETDYNAMICFILELISTW = ::core::option::Option<unsafe extern "system" fn(hbc: *const ::core::ffi::c_void, ppwszzfilelist: *mut *mut u16, pcbsize: *mut u32) -> ::windows_sys::core::HRESULT>; +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>; +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>; +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>; +pub type FNCERTSRVBACKUPTRUNCATELOGS = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>; +#[doc = "Required features: `\"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>; +pub type FNCERTSRVRESTOREEND = ::core::option::Option<unsafe extern "system" fn(hbc: *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>; +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>; +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>; +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>; +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>; +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_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type FNIMPORTPFXTOPROVIDERFREEDATA = ::core::option::Option<unsafe extern "system" fn(ccert: u32, rgpcert: *const *const super::CERT_CONTEXT) -> ()>; 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 0000000..aa0d9c3 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/Sip/mod.rs @@ -0,0 +1,241 @@ +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSIPAddProvider(psnewprov : *mut SIP_ADD_NEWPROVIDER) -> super::super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] fn CryptSIPCreateIndirectData(psubjectinfo : *mut SIP_SUBJECTINFO, pcbindirectdata : *mut u32, pindirectdata : *mut SIP_INDIRECT_DATA) -> super::super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] fn CryptSIPGetCaps(psubjinfo : *const SIP_SUBJECTINFO, pcaps : *mut SIP_CAP_SET_V3) -> super::super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] fn CryptSIPGetSealedDigest(psubjectinfo : *const SIP_SUBJECTINFO, psig : *const u8, dwsig : u32, pbdigest : *mut u8, pcbdigest : *mut u32) -> super::super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] 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); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] fn CryptSIPLoad(pgsubject : *const ::windows_sys::core::GUID, dwflags : u32, psipdispatch : *mut SIP_DISPATCH_INFO) -> super::super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSIPRemoveProvider(pgprov : *mut ::windows_sys::core::GUID) -> super::super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] fn CryptSIPRemoveSignedDataMsg(psubjectinfo : *mut SIP_SUBJECTINFO, dwindex : u32) -> super::super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSIPRetrieveSubjectGuid(filename : ::windows_sys::core::PCWSTR, hfilein : super::super::super::Foundation:: HANDLE, pgsubject : *mut ::windows_sys::core::GUID) -> super::super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSIPRetrieveSubjectGuidForCatalogFile(filename : ::windows_sys::core::PCWSTR, hfilein : super::super::super::Foundation:: HANDLE, pgsubject : *mut ::windows_sys::core::GUID) -> super::super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog"))] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`"] fn CryptSIPVerifyIndirectData(psubjectinfo : *mut SIP_SUBJECTINFO, pindirectdata : *mut SIP_INDIRECT_DATA) -> super::super::super::Foundation:: BOOL); +pub const MSSIP_ADDINFO_BLOB: u32 = 3u32; +pub const MSSIP_ADDINFO_CATMEMBER: u32 = 2u32; +pub const MSSIP_ADDINFO_FLAT: u32 = 1u32; +pub const MSSIP_ADDINFO_NONE: u32 = 0u32; +pub const MSSIP_ADDINFO_NONMSSIP: u32 = 500u32; +pub const MSSIP_FLAGS_MULTI_HASH: u32 = 262144u32; +pub const MSSIP_FLAGS_PROHIBIT_RESIZE_ON_CREATE: u32 = 65536u32; +pub const MSSIP_FLAGS_USE_CATALOG: u32 = 131072u32; +pub const SIP_CAP_FLAG_SEALING: u32 = 1u32; +pub const SIP_CAP_SET_CUR_VER: u32 = 3u32; +pub const SIP_CAP_SET_VERSION_2: u32 = 2u32; +pub const SIP_CAP_SET_VERSION_3: u32 = 3u32; +pub const SIP_MAX_MAGIC_NUMBER: u32 = 4u32; +pub const SPC_MARKER_CHECK_CURRENTLY_SUPPORTED_FLAGS: u32 = 1u32; +pub const SPC_MARKER_CHECK_SKIP_SIP_INDIRECT_DATA_FLAG: u32 = 1u32; +pub const SPC_RELAXED_PE_MARKER_CHECK: u32 = 2048u32; +#[repr(C)] +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)] +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)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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)] +pub struct SIP_INDIRECT_DATA { + pub Data: super::CRYPT_ATTRIBUTE_TYPE_VALUE, + pub DigestAlgorithm: super::CRYPT_ALGORITHM_IDENTIFIER, + pub Digest: super::CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for SIP_INDIRECT_DATA {} +impl ::core::clone::Clone for SIP_INDIRECT_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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 super::Catalog::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_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_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_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_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_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_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_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_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_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 0000000..3071ea0 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/UI/mod.rs @@ -0,0 +1,792 @@ +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertSelectionGetSerializedBlob(pcsi : *const CERT_SELECTUI_INPUT, ppoutbuffer : *mut *mut ::core::ffi::c_void, puloutbuffersize : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUIDlgCertMgr(pcryptuicertmgr : *const CRYPTUI_CERT_MGR_STRUCT) -> super::super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[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"))] +::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn CryptUIDlgViewCertificateA(pcertviewinfo : *const CRYPTUI_VIEWCERTIFICATE_STRUCTA, pfpropertieschanged : *mut super::super::super::Foundation:: BOOL) -> super::super::super::Foundation:: BOOL); +#[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"))] +::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`, `\"Win32_Security_WinTrust\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"] fn CryptUIDlgViewCertificateW(pcertviewinfo : *const CRYPTUI_VIEWCERTIFICATE_STRUCTW, pfpropertieschanged : *mut super::super::super::Foundation:: BOOL) -> super::super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUIWizFreeDigitalSignContext(psigncontext : *const CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT) -> super::super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("cryptui.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +pub const ACTION_REVOCATION_DEFAULT_CACHE: u32 = 131072u32; +pub const ACTION_REVOCATION_DEFAULT_ONLINE: u32 = 65536u32; +pub const CERTVIEW_CRYPTUI_LPARAM: u32 = 8388608u32; +pub const CERT_CREDENTIAL_PROVIDER_ID: i32 = -509i32; +pub const CERT_DISPWELL_DISTRUST_ADD_CA_CERT: u32 = 8u32; +pub const CERT_DISPWELL_DISTRUST_ADD_LEAF_CERT: u32 = 9u32; +pub const CERT_DISPWELL_DISTRUST_CA_CERT: u32 = 6u32; +pub const CERT_DISPWELL_DISTRUST_LEAF_CERT: u32 = 7u32; +pub const CERT_DISPWELL_SELECT: u32 = 1u32; +pub const CERT_DISPWELL_TRUST_ADD_CA_CERT: u32 = 4u32; +pub const CERT_DISPWELL_TRUST_ADD_LEAF_CERT: u32 = 5u32; +pub const CERT_DISPWELL_TRUST_CA_CERT: u32 = 2u32; +pub const CERT_DISPWELL_TRUST_LEAF_CERT: u32 = 3u32; +pub const CERT_FILTER_INCLUDE_V1_CERTS: u32 = 1u32; +pub const CERT_FILTER_ISSUER_CERTS_ONLY: u32 = 16u32; +pub const CERT_FILTER_KEY_EXISTS: u32 = 32u32; +pub const CERT_FILTER_LEAF_CERTS_ONLY: u32 = 8u32; +pub const CERT_FILTER_OP_EQUALITY: u32 = 3u32; +pub const CERT_FILTER_OP_EXISTS: u32 = 1u32; +pub const CERT_FILTER_OP_NOT_EXISTS: u32 = 2u32; +pub const CERT_FILTER_VALID_SIGNATURE: u32 = 4u32; +pub const CERT_FILTER_VALID_TIME_RANGE: u32 = 2u32; +pub const CERT_TRUST_DO_FULL_SEARCH: u32 = 1u32; +pub const CERT_TRUST_DO_FULL_TRUST: u32 = 5u32; +pub const CERT_TRUST_MASK: u32 = 16777215u32; +pub const CERT_TRUST_PERMIT_MISSING_CRLS: u32 = 2u32; +pub const CERT_VALIDITY_AFTER_END: u32 = 2u32; +pub const CERT_VALIDITY_BEFORE_START: u32 = 1u32; +pub const CERT_VALIDITY_CERTIFICATE_REVOKED: u32 = 8u32; +pub const CERT_VALIDITY_CRL_OUT_OF_DATE: u32 = 1073741824u32; +pub const CERT_VALIDITY_EXPLICITLY_DISTRUSTED: u32 = 16777216u32; +pub const CERT_VALIDITY_EXTENDED_USAGE_FAILURE: u32 = 32u32; +pub const CERT_VALIDITY_ISSUER_DISTRUST: u32 = 33554432u32; +pub const CERT_VALIDITY_ISSUER_INVALID: u32 = 256u32; +pub const CERT_VALIDITY_KEY_USAGE_EXT_FAILURE: u32 = 16u32; +pub const CERT_VALIDITY_MASK_TRUST: u32 = 4294901760u32; +pub const CERT_VALIDITY_MASK_VALIDITY: u32 = 65535u32; +pub const CERT_VALIDITY_NAME_CONSTRAINTS_FAILURE: u32 = 64u32; +pub const CERT_VALIDITY_NO_CRL_FOUND: u32 = 536870912u32; +pub const CERT_VALIDITY_NO_ISSUER_CERT_FOUND: u32 = 268435456u32; +pub const CERT_VALIDITY_NO_TRUST_DATA: u32 = 2147483648u32; +pub const CERT_VALIDITY_OTHER_ERROR: u32 = 2048u32; +pub const CERT_VALIDITY_OTHER_EXTENSION_FAILURE: u32 = 512u32; +pub const CERT_VALIDITY_PERIOD_NESTING_FAILURE: u32 = 1024u32; +pub const CERT_VALIDITY_SIGNATURE_FAILS: u32 = 4u32; +pub const CERT_VALIDITY_UNKNOWN_CRITICAL_EXTENSION: u32 = 128u32; +pub const CM_ADD_CERT_STORES: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 512u32; +pub const CM_ENABLEHOOK: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 1u32; +pub const CM_ENABLETEMPLATE: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 8u32; +pub const CM_HIDE_ADVANCEPAGE: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 16u32; +pub const CM_HIDE_DETAILPAGE: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 256u32; +pub const CM_HIDE_TRUSTPAGE: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 32u32; +pub const CM_NO_EDITTRUST: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 128u32; +pub const CM_NO_NAMECHANGE: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 64u32; +pub const CM_SHOW_HELP: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 2u32; +pub const CM_SHOW_HELPICON: CERT_VIEWPROPERTIES_STRUCT_FLAGS = 4u32; +pub const CM_VIEWFLAGS_MASK: u32 = 16777215u32; +pub const CRYPTDLG_ACTION_MASK: u32 = 4294901760u32; +pub const CRYPTDLG_CACHE_ONLY_URL_RETRIEVAL: u32 = 268435456u32; +pub const CRYPTDLG_DISABLE_AIA: u32 = 134217728u32; +pub const CRYPTDLG_POLICY_MASK: u32 = 65535u32; +pub const CRYPTDLG_REVOCATION_CACHE: u32 = 1073741824u32; +pub const CRYPTDLG_REVOCATION_DEFAULT: u32 = 0u32; +pub const CRYPTDLG_REVOCATION_NONE: u32 = 536870912u32; +pub const CRYPTDLG_REVOCATION_ONLINE: u32 = 2147483648u32; +pub const CRYPTUI_ACCEPT_DECLINE_STYLE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 64u32; +pub const CRYPTUI_CACHE_ONLY_URL_RETRIEVAL: CRYPTUI_VIEWCERTIFICATE_FLAGS = 262144u32; +pub const CRYPTUI_CERT_MGR_PUBLISHER_TAB: u32 = 4u32; +pub const CRYPTUI_CERT_MGR_SINGLE_TAB_FLAG: u32 = 32768u32; +pub const CRYPTUI_CERT_MGR_TAB_MASK: u32 = 15u32; +pub const CRYPTUI_DISABLE_ADDTOSTORE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 16u32; +pub const CRYPTUI_DISABLE_EDITPROPERTIES: CRYPTUI_VIEWCERTIFICATE_FLAGS = 4u32; +pub const CRYPTUI_DISABLE_EXPORT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 8192u32; +pub const CRYPTUI_DISABLE_HTMLLINK: CRYPTUI_VIEWCERTIFICATE_FLAGS = 65536u32; +pub const CRYPTUI_DISABLE_ISSUERSTATEMENT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 131072u32; +pub const CRYPTUI_DONT_OPEN_STORES: CRYPTUI_VIEWCERTIFICATE_FLAGS = 256u32; +pub const CRYPTUI_ENABLE_ADDTOSTORE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 32u32; +pub const CRYPTUI_ENABLE_EDITPROPERTIES: CRYPTUI_VIEWCERTIFICATE_FLAGS = 8u32; +pub const CRYPTUI_ENABLE_REVOCATION_CHECKING: CRYPTUI_VIEWCERTIFICATE_FLAGS = 2048u32; +pub const CRYPTUI_ENABLE_REVOCATION_CHECK_CHAIN: CRYPTUI_VIEWCERTIFICATE_FLAGS = 32768u32; +pub const CRYPTUI_ENABLE_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 2048u32; +pub const CRYPTUI_ENABLE_REVOCATION_CHECK_END_CERT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 16384u32; +pub const CRYPTUI_HIDE_DETAILPAGE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 2u32; +pub const CRYPTUI_HIDE_HIERARCHYPAGE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 1u32; +pub const CRYPTUI_IGNORE_UNTRUSTED_ROOT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 128u32; +pub const CRYPTUI_ONLY_OPEN_ROOT_STORE: CRYPTUI_VIEWCERTIFICATE_FLAGS = 512u32; +pub const CRYPTUI_SELECT_EXPIRATION_COLUMN: u64 = 32u64; +pub const CRYPTUI_SELECT_FRIENDLYNAME_COLUMN: u64 = 8u64; +pub const CRYPTUI_SELECT_INTENDEDUSE_COLUMN: u64 = 4u64; +pub const CRYPTUI_SELECT_ISSUEDBY_COLUMN: u64 = 2u64; +pub const CRYPTUI_SELECT_ISSUEDTO_COLUMN: u64 = 1u64; +pub const CRYPTUI_SELECT_LOCATION_COLUMN: u64 = 16u64; +pub const CRYPTUI_WARN_REMOTE_TRUST: CRYPTUI_VIEWCERTIFICATE_FLAGS = 4096u32; +pub const CRYPTUI_WARN_UNTRUSTED_ROOT: CRYPTUI_VIEWCERTIFICATE_FLAGS = 1024u32; +pub const CRYPTUI_WIZ_DIGITAL_SIGN_ADD_CHAIN: CRYPTUI_WIZ_DIGITAL_ADDITIONAL_CERT_CHOICE = 1u32; +pub const CRYPTUI_WIZ_DIGITAL_SIGN_ADD_CHAIN_NO_ROOT: CRYPTUI_WIZ_DIGITAL_ADDITIONAL_CERT_CHOICE = 2u32; +pub const CRYPTUI_WIZ_DIGITAL_SIGN_ADD_NONE: CRYPTUI_WIZ_DIGITAL_ADDITIONAL_CERT_CHOICE = 0u32; +pub const CRYPTUI_WIZ_DIGITAL_SIGN_CERT: CRYPTUI_WIZ_DIGITAL_SIGN = 1u32; +pub const CRYPTUI_WIZ_DIGITAL_SIGN_COMMERCIAL: CRYPTUI_WIZ_DIGITAL_SIGN_SIG_TYPE = 1u32; +pub const CRYPTUI_WIZ_DIGITAL_SIGN_EXCLUDE_PAGE_HASHES: u32 = 2u32; +pub const CRYPTUI_WIZ_DIGITAL_SIGN_INCLUDE_PAGE_HASHES: u32 = 4u32; +pub const CRYPTUI_WIZ_DIGITAL_SIGN_INDIVIDUAL: CRYPTUI_WIZ_DIGITAL_SIGN_SIG_TYPE = 2u32; +pub const CRYPTUI_WIZ_DIGITAL_SIGN_NONE: CRYPTUI_WIZ_DIGITAL_SIGN = 0u32; +pub const CRYPTUI_WIZ_DIGITAL_SIGN_PVK: CRYPTUI_WIZ_DIGITAL_SIGN = 3u32; +pub const CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE: CRYPTUI_WIZ_DIGITAL_SIGN_PVK_OPTION = 1u32; +pub const CRYPTUI_WIZ_DIGITAL_SIGN_PVK_PROV: CRYPTUI_WIZ_DIGITAL_SIGN_PVK_OPTION = 2u32; +pub const CRYPTUI_WIZ_DIGITAL_SIGN_STORE: CRYPTUI_WIZ_DIGITAL_SIGN = 2u32; +pub const CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT_BLOB: CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT = 2u32; +pub const CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT_FILE: CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT = 1u32; +pub const CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT_NONE: CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT = 0u32; +pub const CRYPTUI_WIZ_EXPORT_CERT_CONTEXT: CRYPTUI_WIZ_EXPORT_SUBJECT = 1u32; +pub const CRYPTUI_WIZ_EXPORT_CERT_STORE: CRYPTUI_WIZ_EXPORT_SUBJECT = 4u32; +pub const CRYPTUI_WIZ_EXPORT_CERT_STORE_CERTIFICATES_ONLY: CRYPTUI_WIZ_EXPORT_SUBJECT = 5u32; +pub const CRYPTUI_WIZ_EXPORT_CRL_CONTEXT: CRYPTUI_WIZ_EXPORT_SUBJECT = 3u32; +pub const CRYPTUI_WIZ_EXPORT_CTL_CONTEXT: CRYPTUI_WIZ_EXPORT_SUBJECT = 2u32; +pub const CRYPTUI_WIZ_EXPORT_FORMAT_BASE64: CRYPTUI_WIZ_EXPORT_FORMAT = 4u32; +pub const CRYPTUI_WIZ_EXPORT_FORMAT_CRL: CRYPTUI_WIZ_EXPORT_FORMAT = 6u32; +pub const CRYPTUI_WIZ_EXPORT_FORMAT_CTL: CRYPTUI_WIZ_EXPORT_FORMAT = 7u32; +pub const CRYPTUI_WIZ_EXPORT_FORMAT_DER: CRYPTUI_WIZ_EXPORT_FORMAT = 1u32; +pub const CRYPTUI_WIZ_EXPORT_FORMAT_PFX: CRYPTUI_WIZ_EXPORT_FORMAT = 2u32; +pub const CRYPTUI_WIZ_EXPORT_FORMAT_PKCS7: CRYPTUI_WIZ_EXPORT_FORMAT = 3u32; +pub const CRYPTUI_WIZ_EXPORT_FORMAT_SERIALIZED_CERT_STORE: u32 = 5u32; +pub const CRYPTUI_WIZ_EXPORT_NO_DELETE_PRIVATE_KEY: CRYPTUI_WIZ_FLAGS = 512u32; +pub const CRYPTUI_WIZ_EXPORT_PRIVATE_KEY: CRYPTUI_WIZ_FLAGS = 256u32; +pub const CRYPTUI_WIZ_IGNORE_NO_UI_FLAG_FOR_CSPS: CRYPTUI_WIZ_FLAGS = 2u32; +pub const CRYPTUI_WIZ_IMPORT_ALLOW_CERT: CRYPTUI_WIZ_FLAGS = 131072u32; +pub const CRYPTUI_WIZ_IMPORT_ALLOW_CRL: CRYPTUI_WIZ_FLAGS = 262144u32; +pub const CRYPTUI_WIZ_IMPORT_ALLOW_CTL: CRYPTUI_WIZ_FLAGS = 524288u32; +pub const CRYPTUI_WIZ_IMPORT_NO_CHANGE_DEST_STORE: CRYPTUI_WIZ_FLAGS = 65536u32; +pub const CRYPTUI_WIZ_IMPORT_REMOTE_DEST_STORE: CRYPTUI_WIZ_FLAGS = 4194304u32; +pub const CRYPTUI_WIZ_IMPORT_SUBJECT_CERT_CONTEXT: CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = 2u32; +pub const CRYPTUI_WIZ_IMPORT_SUBJECT_CERT_STORE: CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = 5u32; +pub const CRYPTUI_WIZ_IMPORT_SUBJECT_CRL_CONTEXT: CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = 4u32; +pub const CRYPTUI_WIZ_IMPORT_SUBJECT_CTL_CONTEXT: CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = 3u32; +pub const CRYPTUI_WIZ_IMPORT_SUBJECT_FILE: CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = 1u32; +pub const CRYPTUI_WIZ_IMPORT_TO_CURRENTUSER: CRYPTUI_WIZ_FLAGS = 2097152u32; +pub const CRYPTUI_WIZ_IMPORT_TO_LOCALMACHINE: CRYPTUI_WIZ_FLAGS = 1048576u32; +pub const CRYPTUI_WIZ_NO_UI: CRYPTUI_WIZ_FLAGS = 1u32; +pub const CRYPTUI_WIZ_NO_UI_EXCEPT_CSP: CRYPTUI_WIZ_FLAGS = 3u32; +pub const CRYTPDLG_FLAGS_MASK: u32 = 4278190080u32; +pub const CSS_ALLOWMULTISELECT: CERT_SELECT_STRUCT_FLAGS = 4u32; +pub const CSS_ENABLEHOOK: CERT_SELECT_STRUCT_FLAGS = 2u32; +pub const CSS_ENABLETEMPLATE: CERT_SELECT_STRUCT_FLAGS = 32u32; +pub const CSS_ENABLETEMPLATEHANDLE: CERT_SELECT_STRUCT_FLAGS = 64u32; +pub const CSS_HIDE_PROPERTIES: CERT_SELECT_STRUCT_FLAGS = 1u32; +pub const CSS_SELECTCERT_MASK: u32 = 16777215u32; +pub const CSS_SHOW_HELP: CERT_SELECT_STRUCT_FLAGS = 16u32; +pub const CTL_MODIFY_REQUEST_ADD_NOT_TRUSTED: CTL_MODIFY_REQUEST_OPERATION = 1u32; +pub const CTL_MODIFY_REQUEST_ADD_TRUSTED: CTL_MODIFY_REQUEST_OPERATION = 3u32; +pub const CTL_MODIFY_REQUEST_REMOVE: CTL_MODIFY_REQUEST_OPERATION = 2u32; +pub const POLICY_IGNORE_NON_CRITICAL_BC: u32 = 1u32; +pub const SELCERT_ALGORITHM: u32 = 105u32; +pub const SELCERT_CERTLIST: u32 = 102u32; +pub const SELCERT_FINEPRINT: u32 = 101u32; +pub const SELCERT_ISSUED_TO: u32 = 103u32; +pub const SELCERT_PROPERTIES: u32 = 100u32; +pub const SELCERT_SERIAL_NUM: u32 = 106u32; +pub const SELCERT_THUMBPRINT: u32 = 107u32; +pub const SELCERT_VALIDITY: u32 = 104u32; +pub const szCERT_CERTIFICATE_ACTION_VERIFY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("{7801ebd0-cf4b-11d0-851f-0060979387ea}"); +pub type CERT_SELECT_STRUCT_FLAGS = u32; +pub type CERT_VIEWPROPERTIES_STRUCT_FLAGS = u32; +pub type CRYPTUI_VIEWCERTIFICATE_FLAGS = u32; +pub type CRYPTUI_WIZ_DIGITAL_ADDITIONAL_CERT_CHOICE = u32; +pub type CRYPTUI_WIZ_DIGITAL_SIGN = u32; +pub type CRYPTUI_WIZ_DIGITAL_SIGN_PVK_OPTION = u32; +pub type CRYPTUI_WIZ_DIGITAL_SIGN_SIG_TYPE = u32; +pub type CRYPTUI_WIZ_DIGITAL_SIGN_SUBJECT = u32; +pub type CRYPTUI_WIZ_EXPORT_FORMAT = u32; +pub type CRYPTUI_WIZ_EXPORT_SUBJECT = u32; +pub type CRYPTUI_WIZ_FLAGS = u32; +pub type CRYPTUI_WIZ_IMPORT_SUBJECT_OPTION = u32; +pub type CTL_MODIFY_REQUEST_OPERATION = u32; +#[repr(C)] +pub struct CERT_FILTER_DATA { + pub dwSize: u32, + pub cExtensionChecks: u32, + pub arrayExtensionChecks: *mut CERT_FILTER_EXTENSION_MATCH, + pub dwCheckingFlags: u32, +} +impl ::core::marker::Copy for CERT_FILTER_DATA {} +impl ::core::clone::Clone for CERT_FILTER_DATA { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct CERT_FILTER_EXTENSION_MATCH { + pub szExtensionOID: ::windows_sys::core::PCSTR, + pub dwTestOperation: u32, + pub pbTestData: *mut u8, + pub cbTestData: u32, +} +impl ::core::marker::Copy for CERT_FILTER_EXTENSION_MATCH {} +impl ::core::clone::Clone for CERT_FILTER_EXTENSION_MATCH { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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::CRYPT_INTEGER_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_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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: *const ::windows_sys::core::PCSTR, + 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_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_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: *const ::windows_sys::core::PCSTR, + 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_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 + } +} +#[repr(C)] +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)] +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)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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_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)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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_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_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_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>; 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 0000000..53eaf4d --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/Security/Cryptography/mod.rs @@ -0,0 +1,10500 @@ +#[cfg(feature = "Win32_Security_Cryptography_Catalog")] +#[doc = "Required features: `\"Win32_Security_Cryptography_Catalog\"`"] +pub mod Catalog; +#[cfg(feature = "Win32_Security_Cryptography_Certificates")] +#[doc = "Required features: `\"Win32_Security_Cryptography_Certificates\"`"] +pub mod Certificates; +#[cfg(feature = "Win32_Security_Cryptography_Sip")] +#[doc = "Required features: `\"Win32_Security_Cryptography_Sip\"`"] +pub mod Sip; +#[cfg(feature = "Win32_Security_Cryptography_UI")] +#[doc = "Required features: `\"Win32_Security_Cryptography_UI\"`"] +pub mod UI; +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptAddContextFunction(dwtable : BCRYPT_TABLE, pszcontext : ::windows_sys::core::PCWSTR, dwinterface : BCRYPT_INTERFACE, pszfunction : ::windows_sys::core::PCWSTR, dwposition : u32) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptCloseAlgorithmProvider(halgorithm : BCRYPT_ALG_HANDLE, dwflags : u32) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptConfigureContext(dwtable : BCRYPT_TABLE, pszcontext : ::windows_sys::core::PCWSTR, pconfig : *const CRYPT_CONTEXT_CONFIG) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptCreateContext(dwtable : BCRYPT_TABLE, pszcontext : ::windows_sys::core::PCWSTR, pconfig : *const CRYPT_CONTEXT_CONFIG) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptCreateHash(halgorithm : BCRYPT_ALG_HANDLE, phhash : *mut BCRYPT_HASH_HANDLE, pbhashobject : *mut u8, cbhashobject : u32, pbsecret : *const u8, cbsecret : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptCreateMultiHash(halgorithm : BCRYPT_ALG_HANDLE, phhash : *mut BCRYPT_HASH_HANDLE, nhashes : u32, pbhashobject : *mut u8, cbhashobject : u32, pbsecret : *const u8, cbsecret : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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 : BCRYPT_FLAGS) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptDeleteContext(dwtable : BCRYPT_TABLE, pszcontext : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptDeriveKey(hsharedsecret : BCRYPT_SECRET_HANDLE, pwszkdf : ::windows_sys::core::PCWSTR, pparameterlist : *const BCryptBufferDesc, pbderivedkey : *mut u8, cbderivedkey : u32, pcbresult : *mut u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptDeriveKeyCapi(hhash : BCRYPT_HASH_HANDLE, htargetalg : BCRYPT_ALG_HANDLE, pbderivedkey : *mut u8, cbderivedkey : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptDestroyHash(hhash : BCRYPT_HASH_HANDLE) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptDestroyKey(hkey : BCRYPT_KEY_HANDLE) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptDestroySecret(hsecret : BCRYPT_SECRET_HANDLE) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptDuplicateHash(hhash : BCRYPT_HASH_HANDLE, phnewhash : *mut BCRYPT_HASH_HANDLE, pbhashobject : *mut u8, cbhashobject : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptDuplicateKey(hkey : BCRYPT_KEY_HANDLE, phnewkey : *mut BCRYPT_KEY_HANDLE, pbkeyobject : *mut u8, cbkeyobject : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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 : BCRYPT_FLAGS) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptEnumAlgorithms(dwalgoperations : BCRYPT_OPERATION, palgcount : *mut u32, ppalglist : *mut *mut BCRYPT_ALGORITHM_IDENTIFIER, dwflags : u32) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptEnumContexts(dwtable : BCRYPT_TABLE, pcbbuffer : *mut u32, ppbuffer : *mut *mut CRYPT_CONTEXTS) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptEnumProviders(pszalgid : ::windows_sys::core::PCWSTR, pimplcount : *mut u32, ppimpllist : *mut *mut BCRYPT_PROVIDER_NAME, dwflags : u32) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptEnumRegisteredProviders(pcbbuffer : *mut u32, ppbuffer : *mut *mut CRYPT_PROVIDERS) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptFinalizeKeyPair(hkey : BCRYPT_KEY_HANDLE, dwflags : u32) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptFinishHash(hhash : BCRYPT_HASH_HANDLE, pboutput : *mut u8, cboutput : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); +::windows_targets::link!("bcrypt.dll" "system" fn BCryptFreeBuffer(pvbuffer : *const ::core::ffi::c_void) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptGenRandom(halgorithm : BCRYPT_ALG_HANDLE, pbbuffer : *mut u8, cbbuffer : u32, dwflags : BCRYPTGENRANDOM_FLAGS) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptGenerateKeyPair(halgorithm : BCRYPT_ALG_HANDLE, phkey : *mut BCRYPT_KEY_HANDLE, dwlength : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptGetFipsAlgorithmMode(pfenabled : *mut u8) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptGetProperty(hobject : BCRYPT_HANDLE, pszproperty : ::windows_sys::core::PCWSTR, pboutput : *mut u8, cboutput : u32, pcbresult : *mut u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptHashData(hhash : BCRYPT_HASH_HANDLE, pbinput : *const u8, cbinput : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptKeyDerivation(hkey : BCRYPT_KEY_HANDLE, pparameterlist : *const BCryptBufferDesc, pbderivedkey : *mut u8, cbderivedkey : u32, pcbresult : *mut u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptProcessMultiOperations(hobject : BCRYPT_HANDLE, operationtype : BCRYPT_MULTI_OPERATION_TYPE, poperations : *const ::core::ffi::c_void, cboperations : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptQueryContextConfiguration(dwtable : BCRYPT_TABLE, pszcontext : ::windows_sys::core::PCWSTR, pcbbuffer : *mut u32, ppbuffer : *mut *mut CRYPT_CONTEXT_CONFIG) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptRegisterConfigChangeNotify(phevent : *mut super::super::Foundation:: HANDLE) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptRemoveContextFunction(dwtable : BCRYPT_TABLE, pszcontext : ::windows_sys::core::PCWSTR, dwinterface : BCRYPT_INTERFACE, pszfunction : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptSecretAgreement(hprivkey : BCRYPT_KEY_HANDLE, hpubkey : BCRYPT_KEY_HANDLE, phagreedsecret : *mut BCRYPT_SECRET_HANDLE, dwflags : u32) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptSetProperty(hobject : BCRYPT_HANDLE, pszproperty : ::windows_sys::core::PCWSTR, pbinput : *const u8, cbinput : u32, dwflags : u32) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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 : BCRYPT_FLAGS) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptUnregisterConfigChangeNotify(hevent : super::super::Foundation:: HANDLE) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn BCryptVerifySignature(hkey : BCRYPT_KEY_HANDLE, ppaddinginfo : *const ::core::ffi::c_void, pbhash : *const u8, cbhash : u32, pbsignature : *const u8, cbsignature : u32, dwflags : BCRYPT_FLAGS) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertAddCRLContextToStore(hcertstore : HCERTSTORE, pcrlcontext : *const CRL_CONTEXT, dwadddisposition : u32, ppstorecontext : *mut *mut CRL_CONTEXT) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertAddCRLLinkToStore(hcertstore : HCERTSTORE, pcrlcontext : *const CRL_CONTEXT, dwadddisposition : u32, ppstorecontext : *mut *mut CRL_CONTEXT) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertAddCTLContextToStore(hcertstore : HCERTSTORE, pctlcontext : *const CTL_CONTEXT, dwadddisposition : u32, ppstorecontext : *mut *mut CTL_CONTEXT) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertAddCTLLinkToStore(hcertstore : HCERTSTORE, pctlcontext : *const CTL_CONTEXT, dwadddisposition : u32, ppstorecontext : *mut *mut CTL_CONTEXT) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertAddCertificateContextToStore(hcertstore : HCERTSTORE, pcertcontext : *const CERT_CONTEXT, dwadddisposition : u32, ppstorecontext : *mut *mut CERT_CONTEXT) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertAddCertificateLinkToStore(hcertstore : HCERTSTORE, pcertcontext : *const CERT_CONTEXT, dwadddisposition : u32, ppstorecontext : *mut *mut CERT_CONTEXT) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertAddEncodedCRLToStore(hcertstore : HCERTSTORE, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pbcrlencoded : *const u8, cbcrlencoded : u32, dwadddisposition : u32, ppcrlcontext : *mut *mut CRL_CONTEXT) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertAddEncodedCTLToStore(hcertstore : HCERTSTORE, dwmsgandcertencodingtype : CERT_QUERY_ENCODING_TYPE, pbctlencoded : *const u8, cbctlencoded : u32, dwadddisposition : u32, ppctlcontext : *mut *mut CTL_CONTEXT) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertAddEncodedCertificateToStore(hcertstore : HCERTSTORE, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pbcertencoded : *const u8, cbcertencoded : u32, dwadddisposition : u32, ppcertcontext : *mut *mut CERT_CONTEXT) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertAddEncodedCertificateToSystemStoreA(szcertstorename : ::windows_sys::core::PCSTR, pbcertencoded : *const u8, cbcertencoded : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertAddEncodedCertificateToSystemStoreW(szcertstorename : ::windows_sys::core::PCWSTR, pbcertencoded : *const u8, cbcertencoded : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertAddEnhancedKeyUsageIdentifier(pcertcontext : *const CERT_CONTEXT, pszusageidentifier : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL); +::windows_targets::link!("crypt32.dll" "system" fn CertAddRefServerOcspResponse(hserverocspresponse : *const ::core::ffi::c_void) -> ()); +::windows_targets::link!("crypt32.dll" "system" fn CertAddRefServerOcspResponseContext(pserverocspresponsecontext : *const CERT_SERVER_OCSP_RESPONSE_CONTEXT) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertAddStoreToCollection(hcollectionstore : HCERTSTORE, hsiblingstore : HCERTSTORE, dwupdateflags : u32, dwpriority : u32) -> super::super::Foundation:: BOOL); +::windows_targets::link!("crypt32.dll" "system" fn CertAlgIdToOID(dwalgid : u32) -> ::windows_sys::core::PCSTR); +::windows_targets::link!("crypt32.dll" "system" fn CertCloseServerOcspResponse(hserverocspresponse : *const ::core::ffi::c_void, dwflags : u32) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertCloseStore(hcertstore : HCERTSTORE, dwflags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertCompareCertificate(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pcertid1 : *const CERT_INFO, pcertid2 : *const CERT_INFO) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertCompareCertificateName(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pcertname1 : *const CRYPT_INTEGER_BLOB, pcertname2 : *const CRYPT_INTEGER_BLOB) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertCompareIntegerBlob(pint1 : *const CRYPT_INTEGER_BLOB, pint2 : *const CRYPT_INTEGER_BLOB) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertComparePublicKeyInfo(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, ppublickey1 : *const CERT_PUBLIC_KEY_INFO, ppublickey2 : *const CERT_PUBLIC_KEY_INFO) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertControlStore(hcertstore : HCERTSTORE, dwflags : CERT_CONTROL_STORE_FLAGS, dwctrltype : u32, pvctrlpara : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertCreateCRLContext(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pbcrlencoded : *const u8, cbcrlencoded : u32) -> *mut CRL_CONTEXT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertCreateCTLContext(dwmsgandcertencodingtype : u32, pbctlencoded : *const u8, cbctlencoded : u32) -> *mut CTL_CONTEXT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertCreateCTLEntryFromCertificateContextProperties(pcertcontext : *const CERT_CONTEXT, coptattr : u32, rgoptattr : *const CRYPT_ATTRIBUTE, dwflags : u32, pvreserved : *const ::core::ffi::c_void, pctlentry : *mut CTL_ENTRY, pcbctlentry : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertCreateCertificateChainEngine(pconfig : *const CERT_CHAIN_ENGINE_CONFIG, phchainengine : *mut HCERTCHAINENGINE) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertCreateCertificateContext(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pbcertencoded : *const u8, cbcertencoded : u32) -> *mut CERT_CONTEXT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertCreateContext(dwcontexttype : u32, dwencodingtype : u32, pbencoded : *const u8, cbencoded : u32, dwflags : u32, pcreatepara : *const CERT_CREATE_CONTEXT_PARA) -> *mut ::core::ffi::c_void); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertCreateSelfSignCertificate(hcryptprovorncryptkey : HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, psubjectissuerblob : *const CRYPT_INTEGER_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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertDeleteCRLFromStore(pcrlcontext : *const CRL_CONTEXT) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertDeleteCTLFromStore(pctlcontext : *const CTL_CONTEXT) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertDeleteCertificateFromStore(pcertcontext : *const CERT_CONTEXT) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertDuplicateCRLContext(pcrlcontext : *const CRL_CONTEXT) -> *mut CRL_CONTEXT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertDuplicateCTLContext(pctlcontext : *const CTL_CONTEXT) -> *mut CTL_CONTEXT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertDuplicateCertificateChain(pchaincontext : *const CERT_CHAIN_CONTEXT) -> *mut CERT_CHAIN_CONTEXT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertDuplicateCertificateContext(pcertcontext : *const CERT_CONTEXT) -> *mut CERT_CONTEXT); +::windows_targets::link!("crypt32.dll" "system" fn CertDuplicateStore(hcertstore : HCERTSTORE) -> HCERTSTORE); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertEnumCRLContextProperties(pcrlcontext : *const CRL_CONTEXT, dwpropid : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertEnumCRLsInStore(hcertstore : HCERTSTORE, pprevcrlcontext : *const CRL_CONTEXT) -> *mut CRL_CONTEXT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertEnumCTLContextProperties(pctlcontext : *const CTL_CONTEXT, dwpropid : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertEnumCTLsInStore(hcertstore : HCERTSTORE, pprevctlcontext : *const CTL_CONTEXT) -> *mut CTL_CONTEXT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertEnumCertificateContextProperties(pcertcontext : *const CERT_CONTEXT, dwpropid : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertEnumCertificatesInStore(hcertstore : HCERTSTORE, pprevcertcontext : *const CERT_CONTEXT) -> *mut CERT_CONTEXT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertEnumSubjectInSortedCTL(pctlcontext : *const CTL_CONTEXT, ppvnextsubject : *mut *mut ::core::ffi::c_void, psubjectidentifier : *mut CRYPT_INTEGER_BLOB, pencodedattributes : *mut CRYPT_INTEGER_BLOB) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertEnumSystemStoreLocation(dwflags : u32, pvarg : *mut ::core::ffi::c_void, pfnenum : PFN_CERT_ENUM_SYSTEM_STORE_LOCATION) -> super::super::Foundation:: BOOL); +::windows_targets::link!("crypt32.dll" "system" fn CertFindAttribute(pszobjid : ::windows_sys::core::PCSTR, cattr : u32, rgattr : *const CRYPT_ATTRIBUTE) -> *mut CRYPT_ATTRIBUTE); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertFindCRLInStore(hcertstore : HCERTSTORE, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, dwfindflags : u32, dwfindtype : u32, pvfindpara : *const ::core::ffi::c_void, pprevcrlcontext : *const CRL_CONTEXT) -> *mut CRL_CONTEXT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertFindCertificateInCRL(pcert : *const CERT_CONTEXT, pcrlcontext : *const CRL_CONTEXT, dwflags : u32, pvreserved : *const ::core::ffi::c_void, ppcrlentry : *mut *mut CRL_ENTRY) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertFindCertificateInStore(hcertstore : HCERTSTORE, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, dwfindflags : u32, dwfindtype : CERT_FIND_FLAGS, pvfindpara : *const ::core::ffi::c_void, pprevcertcontext : *const CERT_CONTEXT) -> *mut CERT_CONTEXT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertFindChainInStore(hcertstore : HCERTSTORE, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, dwfindflags : CERT_FIND_CHAIN_IN_STORE_FLAGS, dwfindtype : u32, pvfindpara : *const ::core::ffi::c_void, pprevchaincontext : *const CERT_CHAIN_CONTEXT) -> *mut CERT_CHAIN_CONTEXT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertFindExtension(pszobjid : ::windows_sys::core::PCSTR, cextensions : u32, rgextensions : *const CERT_EXTENSION) -> *mut CERT_EXTENSION); +::windows_targets::link!("crypt32.dll" "system" fn CertFindRDNAttr(pszobjid : ::windows_sys::core::PCSTR, pname : *const CERT_NAME_INFO) -> *mut CERT_RDN_ATTR); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertFindSubjectInCTL(dwencodingtype : u32, dwsubjecttype : u32, pvsubject : *const ::core::ffi::c_void, pctlcontext : *const CTL_CONTEXT, dwflags : u32) -> *mut CTL_ENTRY); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertFindSubjectInSortedCTL(psubjectidentifier : *const CRYPT_INTEGER_BLOB, pctlcontext : *const CTL_CONTEXT, dwflags : u32, pvreserved : *const ::core::ffi::c_void, pencodedattributes : *mut CRYPT_INTEGER_BLOB) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertFreeCRLContext(pcrlcontext : *const CRL_CONTEXT) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertFreeCTLContext(pctlcontext : *const CTL_CONTEXT) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertFreeCertificateChain(pchaincontext : *const CERT_CHAIN_CONTEXT) -> ()); +::windows_targets::link!("crypt32.dll" "system" fn CertFreeCertificateChainEngine(hchainengine : HCERTCHAINENGINE) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertFreeCertificateChainList(prgpselection : *const *const CERT_CHAIN_CONTEXT) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertFreeCertificateContext(pcertcontext : *const CERT_CONTEXT) -> super::super::Foundation:: BOOL); +::windows_targets::link!("crypt32.dll" "system" fn CertFreeServerOcspResponseContext(pserverocspresponsecontext : *const CERT_SERVER_OCSP_RESPONSE_CONTEXT) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertGetCRLContextProperty(pcrlcontext : *const CRL_CONTEXT, dwpropid : u32, pvdata : *mut ::core::ffi::c_void, pcbdata : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertGetCRLFromStore(hcertstore : HCERTSTORE, pissuercontext : *const CERT_CONTEXT, pprevcrlcontext : *const CRL_CONTEXT, pdwflags : *mut u32) -> *mut CRL_CONTEXT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertGetCTLContextProperty(pctlcontext : *const CTL_CONTEXT, dwpropid : u32, pvdata : *mut ::core::ffi::c_void, pcbdata : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertGetCertificateChain(hchainengine : HCERTCHAINENGINE, pcertcontext : *const CERT_CONTEXT, ptime : *const super::super::Foundation:: FILETIME, hadditionalstore : HCERTSTORE, pchainpara : *const CERT_CHAIN_PARA, dwflags : u32, pvreserved : *const ::core::ffi::c_void, ppchaincontext : *mut *mut CERT_CHAIN_CONTEXT) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertGetCertificateContextProperty(pcertcontext : *const CERT_CONTEXT, dwpropid : u32, pvdata : *mut ::core::ffi::c_void, pcbdata : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertGetEnhancedKeyUsage(pcertcontext : *const CERT_CONTEXT, dwflags : u32, pusage : *mut CTL_USAGE, pcbusage : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertGetIntendedKeyUsage(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pcertinfo : *const CERT_INFO, pbkeyusage : *mut u8, cbkeyusage : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertGetIssuerCertificateFromStore(hcertstore : HCERTSTORE, psubjectcontext : *const CERT_CONTEXT, pprevissuercontext : *const CERT_CONTEXT, pdwflags : *mut u32) -> *mut CERT_CONTEXT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertGetNameStringA(pcertcontext : *const CERT_CONTEXT, dwtype : u32, dwflags : u32, pvtypepara : *const ::core::ffi::c_void, psznamestring : ::windows_sys::core::PSTR, cchnamestring : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertGetNameStringW(pcertcontext : *const CERT_CONTEXT, dwtype : u32, dwflags : u32, pvtypepara : *const ::core::ffi::c_void, psznamestring : ::windows_sys::core::PWSTR, cchnamestring : u32) -> u32); +::windows_targets::link!("crypt32.dll" "system" fn CertGetPublicKeyLength(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, ppublickey : *const CERT_PUBLIC_KEY_INFO) -> u32); +::windows_targets::link!("crypt32.dll" "system" fn CertGetServerOcspResponseContext(hserverocspresponse : *const ::core::ffi::c_void, dwflags : u32, pvreserved : *const ::core::ffi::c_void) -> *mut CERT_SERVER_OCSP_RESPONSE_CONTEXT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertGetStoreProperty(hcertstore : HCERTSTORE, dwpropid : u32, pvdata : *mut ::core::ffi::c_void, pcbdata : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertGetSubjectCertificateFromStore(hcertstore : HCERTSTORE, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pcertid : *const CERT_INFO) -> *mut CERT_CONTEXT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertIsRDNAttrsInCertificateName(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, dwflags : u32, pcertname : *const CRYPT_INTEGER_BLOB, prdn : *const CERT_RDN) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertIsStrongHashToSign(pstrongsignpara : *const CERT_STRONG_SIGN_PARA, pwszcnghashalgid : ::windows_sys::core::PCWSTR, psigningcert : *const CERT_CONTEXT) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertIsValidCRLForCertificate(pcert : *const CERT_CONTEXT, pcrl : *const CRL_CONTEXT, dwflags : u32, pvreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +::windows_targets::link!("crypt32.dll" "system" fn CertNameToStrA(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pname : *const CRYPT_INTEGER_BLOB, dwstrtype : CERT_STRING_TYPE, psz : ::windows_sys::core::PSTR, csz : u32) -> u32); +::windows_targets::link!("crypt32.dll" "system" fn CertNameToStrW(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pname : *const CRYPT_INTEGER_BLOB, dwstrtype : CERT_STRING_TYPE, psz : ::windows_sys::core::PWSTR, csz : u32) -> u32); +::windows_targets::link!("crypt32.dll" "system" fn CertOIDToAlgId(pszobjid : ::windows_sys::core::PCSTR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertOpenServerOcspResponse(pchaincontext : *const CERT_CHAIN_CONTEXT, dwflags : u32, popenpara : *const CERT_SERVER_OCSP_RESPONSE_OPEN_PARA) -> *mut ::core::ffi::c_void); +::windows_targets::link!("crypt32.dll" "system" 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); +::windows_targets::link!("crypt32.dll" "system" fn CertOpenSystemStoreA(hprov : HCRYPTPROV_LEGACY, szsubsystemprotocol : ::windows_sys::core::PCSTR) -> HCERTSTORE); +::windows_targets::link!("crypt32.dll" "system" fn CertOpenSystemStoreW(hprov : HCRYPTPROV_LEGACY, szsubsystemprotocol : ::windows_sys::core::PCWSTR) -> HCERTSTORE); +::windows_targets::link!("crypt32.dll" "system" fn CertRDNValueToStrA(dwvaluetype : u32, pvalue : *const CRYPT_INTEGER_BLOB, psz : ::windows_sys::core::PSTR, csz : u32) -> u32); +::windows_targets::link!("crypt32.dll" "system" fn CertRDNValueToStrW(dwvaluetype : u32, pvalue : *const CRYPT_INTEGER_BLOB, psz : ::windows_sys::core::PWSTR, csz : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertRegisterPhysicalStore(pvsystemstore : *const ::core::ffi::c_void, dwflags : u32, pwszstorename : ::windows_sys::core::PCWSTR, pstoreinfo : *const CERT_PHYSICAL_STORE_INFO, pvreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertRegisterSystemStore(pvsystemstore : *const ::core::ffi::c_void, dwflags : u32, pstoreinfo : *const CERT_SYSTEM_STORE_INFO, pvreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertRemoveEnhancedKeyUsageIdentifier(pcertcontext : *const CERT_CONTEXT, pszusageidentifier : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL); +::windows_targets::link!("crypt32.dll" "system" fn CertRemoveStoreFromCollection(hcollectionstore : HCERTSTORE, hsiblingstore : HCERTSTORE) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertResyncCertificateChainEngine(hchainengine : HCERTCHAINENGINE) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertRetrieveLogoOrBiometricInfo(pcertcontext : *const CERT_CONTEXT, lpszlogoorbiometrictype : ::windows_sys::core::PCSTR, dwretrievalflags : u32, dwtimeout : u32, dwflags : u32, pvreserved : *const ::core::ffi::c_void, ppbdata : *mut *mut u8, pcbdata : *mut u32, ppwszmimetype : *mut ::windows_sys::core::PWSTR) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertSerializeCRLStoreElement(pcrlcontext : *const CRL_CONTEXT, dwflags : u32, pbelement : *mut u8, pcbelement : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertSerializeCTLStoreElement(pctlcontext : *const CTL_CONTEXT, dwflags : u32, pbelement : *mut u8, pcbelement : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertSerializeCertificateStoreElement(pcertcontext : *const CERT_CONTEXT, dwflags : u32, pbelement : *mut u8, pcbelement : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertSetCRLContextProperty(pcrlcontext : *const CRL_CONTEXT, dwpropid : u32, dwflags : u32, pvdata : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertSetCTLContextProperty(pctlcontext : *const CTL_CONTEXT, dwpropid : u32, dwflags : u32, pvdata : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertSetCertificateContextPropertiesFromCTLEntry(pcertcontext : *const CERT_CONTEXT, pctlentry : *const CTL_ENTRY, dwflags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertSetCertificateContextProperty(pcertcontext : *const CERT_CONTEXT, dwpropid : u32, dwflags : u32, pvdata : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertSetEnhancedKeyUsage(pcertcontext : *const CERT_CONTEXT, pusage : *const CTL_USAGE) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertSetStoreProperty(hcertstore : HCERTSTORE, dwpropid : u32, dwflags : u32, pvdata : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertStrToNameA(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pszx500 : ::windows_sys::core::PCSTR, dwstrtype : CERT_STRING_TYPE, pvreserved : *const ::core::ffi::c_void, pbencoded : *mut u8, pcbencoded : *mut u32, ppszerror : *mut ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertStrToNameW(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pszx500 : ::windows_sys::core::PCWSTR, dwstrtype : CERT_STRING_TYPE, pvreserved : *const ::core::ffi::c_void, pbencoded : *mut u8, pcbencoded : *mut u32, ppszerror : *mut ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertUnregisterPhysicalStore(pvsystemstore : *const ::core::ffi::c_void, dwflags : u32, pwszstorename : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertUnregisterSystemStore(pvsystemstore : *const ::core::ffi::c_void, dwflags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertVerifyCRLRevocation(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pcertid : *const CERT_INFO, ccrlinfo : u32, rgpcrlinfo : *const *const CRL_INFO) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertVerifyCRLTimeValidity(ptimetoverify : *const super::super::Foundation:: FILETIME, pcrlinfo : *const CRL_INFO) -> i32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertVerifySubjectCertificateContext(psubject : *const CERT_CONTEXT, pissuer : *const CERT_CONTEXT, pdwflags : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertVerifyTimeValidity(ptimetoverify : *const super::super::Foundation:: FILETIME, pcertinfo : *const CERT_INFO) -> i32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CertVerifyValidityNesting(psubjectinfo : *const CERT_INFO, pissuerinfo : *const CERT_INFO) -> super::super::Foundation:: BOOL); +::windows_targets::link!("infocardapi.dll" "system" fn CloseCryptoHandle(hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptAcquireContextA(phprov : *mut usize, szcontainer : ::windows_sys::core::PCSTR, szprovider : ::windows_sys::core::PCSTR, dwprovtype : u32, dwflags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptAcquireContextW(phprov : *mut usize, szcontainer : ::windows_sys::core::PCWSTR, szprovider : ::windows_sys::core::PCWSTR, dwprovtype : u32, dwflags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptBinaryToStringA(pbbinary : *const u8, cbbinary : u32, dwflags : CRYPT_STRING, pszstring : ::windows_sys::core::PSTR, pcchstring : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptBinaryToStringW(pbbinary : *const u8, cbbinary : u32, dwflags : CRYPT_STRING, pszstring : ::windows_sys::core::PWSTR, pcchstring : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCloseAsyncHandle(hasync : HCRYPTASYNC) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptContextAddRef(hprov : usize, pdwreserved : *const u32, dwflags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCreateAsyncHandle(dwflags : u32, phasync : *mut HCRYPTASYNC) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCreateHash(hprov : usize, algid : ALG_ID, hkey : usize, dwflags : u32, phhash : *mut usize) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptCreateKeyIdentifierFromCSP(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pszpubkeyoid : ::windows_sys::core::PCSTR, ppubkeystruc : *const PUBLICKEYSTRUC, cbpubkeystruc : u32, dwflags : u32, pvreserved : *const ::core::ffi::c_void, pbhash : *mut u8, pcbhash : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptDecodeObject(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptDecodeObjectEx(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptDecrypt(hkey : usize, hhash : usize, r#final : super::super::Foundation:: BOOL, dwflags : u32, pbdata : *mut u8, pdwdatalen : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptDeriveKey(hprov : usize, algid : ALG_ID, hbasedata : usize, dwflags : u32, phkey : *mut usize) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptDestroyHash(hhash : usize) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptDestroyKey(hkey : usize) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptDuplicateHash(hhash : usize, pdwreserved : *const u32, dwflags : u32, phhash : *mut usize) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptDuplicateKey(hkey : usize, pdwreserved : *const u32, dwflags : u32, phkey : *mut usize) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptEncodeObject(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, lpszstructtype : ::windows_sys::core::PCSTR, pvstructinfo : *const ::core::ffi::c_void, pbencoded : *mut u8, pcbencoded : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptEnumKeyIdentifierProperties(pkeyidentifier : *const CRYPT_INTEGER_BLOB, dwpropid : u32, dwflags : u32, pwszcomputername : ::windows_sys::core::PCWSTR, pvreserved : *const ::core::ffi::c_void, pvarg : *mut ::core::ffi::c_void, pfnenum : PFN_CRYPT_ENUM_KEYID_PROP) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptEnumOIDInfo(dwgroupid : u32, dwflags : u32, pvarg : *mut ::core::ffi::c_void, pfnenumoidinfo : PFN_CRYPT_ENUM_OID_INFO) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptEnumProviderTypesA(dwindex : u32, pdwreserved : *const u32, dwflags : u32, pdwprovtype : *mut u32, sztypename : ::windows_sys::core::PSTR, pcbtypename : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptEnumProviderTypesW(dwindex : u32, pdwreserved : *const u32, dwflags : u32, pdwprovtype : *mut u32, sztypename : ::windows_sys::core::PWSTR, pcbtypename : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptEnumProvidersA(dwindex : u32, pdwreserved : *const u32, dwflags : u32, pdwprovtype : *mut u32, szprovname : ::windows_sys::core::PSTR, pcbprovname : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptEnumProvidersW(dwindex : u32, pdwreserved : *const u32, dwflags : u32, pdwprovtype : *mut u32, szprovname : ::windows_sys::core::PWSTR, pcbprovname : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptExportKey(hkey : usize, hexpkey : usize, dwblobtype : u32, dwflags : CRYPT_KEY_FLAGS, pbdata : *mut u8, pdwdatalen : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptExportPublicKeyInfo(hcryptprovorncryptkey : HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, dwkeyspec : u32, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pinfo : *mut CERT_PUBLIC_KEY_INFO, pcbinfo : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptExportPublicKeyInfoEx(hcryptprovorncryptkey : HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, dwkeyspec : u32, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptExportPublicKeyInfoFromBCryptKeyHandle(hbcryptkey : BCRYPT_KEY_HANDLE, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptFindCertificateKeyProvInfo(pcert : *const CERT_CONTEXT, dwflags : CRYPT_FIND_FLAGS, pvreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +::windows_targets::link!("crypt32.dll" "system" fn CryptFindLocalizedName(pwszcryptname : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::PCWSTR); +::windows_targets::link!("crypt32.dll" "system" fn CryptFindOIDInfo(dwkeytype : u32, pvkey : *const ::core::ffi::c_void, dwgroupid : u32) -> *mut CRYPT_OID_INFO); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptFormatObject(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptFreeOIDFunctionAddress(hfuncaddr : *const ::core::ffi::c_void, dwflags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptGenKey(hprov : usize, algid : ALG_ID, dwflags : CRYPT_KEY_FLAGS, phkey : *mut usize) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptGenRandom(hprov : usize, dwlen : u32, pbbuffer : *mut u8) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptGetDefaultOIDDllList(hfuncset : *const ::core::ffi::c_void, dwencodingtype : u32, pwszdlllist : ::windows_sys::core::PWSTR, pcchdlllist : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptGetDefaultProviderA(dwprovtype : u32, pdwreserved : *const u32, dwflags : u32, pszprovname : ::windows_sys::core::PSTR, pcbprovname : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptGetDefaultProviderW(dwprovtype : u32, pdwreserved : *const u32, dwflags : u32, pszprovname : ::windows_sys::core::PWSTR, pcbprovname : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptGetHashParam(hhash : usize, dwparam : u32, pbdata : *mut u8, pdwdatalen : *mut u32, dwflags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptGetKeyIdentifierProperty(pkeyidentifier : *const CRYPT_INTEGER_BLOB, dwpropid : u32, dwflags : u32, pwszcomputername : ::windows_sys::core::PCWSTR, pvreserved : *const ::core::ffi::c_void, pvdata : *mut ::core::ffi::c_void, pcbdata : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptGetKeyParam(hkey : usize, dwparam : CRYPT_KEY_PARAM_ID, pbdata : *mut u8, pdwdatalen : *mut u32, dwflags : u32) -> super::super::Foundation:: BOOL); +::windows_targets::link!("crypt32.dll" "system" fn CryptGetMessageCertificates(dwmsgandcertencodingtype : u32, hcryptprov : HCRYPTPROV_LEGACY, dwflags : u32, pbsignedblob : *const u8, cbsignedblob : u32) -> HCERTSTORE); +::windows_targets::link!("crypt32.dll" "system" fn CryptGetMessageSignerCount(dwmsgencodingtype : u32, pbsignedblob : *const u8, cbsignedblob : u32) -> i32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("cryptnet.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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 : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptGetProvParam(hprov : usize, dwparam : u32, pbdata : *mut u8, pdwdatalen : *mut u32, dwflags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptGetUserKey(hprov : usize, dwkeyspec : u32, phuserkey : *mut usize) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptHashCertificate(hcryptprov : HCRYPTPROV_LEGACY, algid : ALG_ID, dwflags : u32, pbencoded : *const u8, cbencoded : u32, pbcomputedhash : *mut u8, pcbcomputedhash : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptHashCertificate2(pwszcnghashalgid : ::windows_sys::core::PCWSTR, dwflags : u32, pvreserved : *const ::core::ffi::c_void, pbencoded : *const u8, cbencoded : u32, pbcomputedhash : *mut u8, pcbcomputedhash : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptHashData(hhash : usize, pbdata : *const u8, dwdatalen : u32, dwflags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptHashPublicKeyInfo(hcryptprov : HCRYPTPROV_LEGACY, algid : ALG_ID, dwflags : u32, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pinfo : *const CERT_PUBLIC_KEY_INFO, pbcomputedhash : *mut u8, pcbcomputedhash : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptHashSessionKey(hhash : usize, hkey : usize, dwflags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptHashToBeSigned(hcryptprov : HCRYPTPROV_LEGACY, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pbencoded : *const u8, cbencoded : u32, pbcomputedhash : *mut u8, pcbcomputedhash : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptImportKey(hprov : usize, pbdata : *const u8, dwdatalen : u32, hpubkey : usize, dwflags : CRYPT_KEY_FLAGS, phkey : *mut usize) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptImportPKCS8(sprivatekeyandparams : CRYPT_PKCS8_IMPORT_PARAMS, dwflags : CRYPT_KEY_FLAGS, phcryptprov : *mut usize, pvauxinfo : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptImportPublicKeyInfo(hcryptprov : usize, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pinfo : *const CERT_PUBLIC_KEY_INFO, phkey : *mut usize) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptImportPublicKeyInfoEx(hcryptprov : usize, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pinfo : *const CERT_PUBLIC_KEY_INFO, aikeyalg : ALG_ID, dwflags : u32, pvauxinfo : *const ::core::ffi::c_void, phkey : *mut usize) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptImportPublicKeyInfoEx2(dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, 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); +::windows_targets::link!("crypt32.dll" "system" fn CryptInitOIDFunctionSet(pszfuncname : ::windows_sys::core::PCSTR, dwflags : u32) -> *mut ::core::ffi::c_void); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("cryptnet.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptInstallCancelRetrieval(pfncancel : PFN_CRYPT_CANCEL_RETRIEVAL, pvarg : *const ::core::ffi::c_void, dwflags : u32, pvreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptInstallDefaultContext(hcryptprov : usize, dwdefaulttype : CRYPT_DEFAULT_CONTEXT_TYPE, pvdefaultpara : *const ::core::ffi::c_void, dwflags : CRYPT_DEFAULT_CONTEXT_FLAGS, pvreserved : *const ::core::ffi::c_void, phdefaultcontext : *mut *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptInstallOIDFunctionAddress(hmodule : super::super::Foundation:: HMODULE, dwencodingtype : u32, pszfuncname : ::windows_sys::core::PCSTR, cfuncentry : u32, rgfuncentry : *const CRYPT_OID_FUNC_ENTRY, dwflags : u32) -> super::super::Foundation:: BOOL); +::windows_targets::link!("crypt32.dll" "system" fn CryptMemAlloc(cbsize : u32) -> *mut ::core::ffi::c_void); +::windows_targets::link!("crypt32.dll" "system" fn CryptMemFree(pv : *const ::core::ffi::c_void) -> ()); +::windows_targets::link!("crypt32.dll" "system" fn CryptMemRealloc(pv : *const ::core::ffi::c_void, cbsize : u32) -> *mut ::core::ffi::c_void); +::windows_targets::link!("crypt32.dll" "system" fn CryptMsgCalculateEncodedLength(dwmsgencodingtype : u32, dwflags : u32, dwmsgtype : u32, pvmsgencodeinfo : *const ::core::ffi::c_void, pszinnercontentobjid : ::windows_sys::core::PCSTR, cbdata : u32) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptMsgClose(hcryptmsg : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptMsgControl(hcryptmsg : *const ::core::ffi::c_void, dwflags : u32, dwctrltype : u32, pvctrlpara : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptMsgCountersign(hcryptmsg : *const ::core::ffi::c_void, dwindex : u32, ccountersigners : u32, rgcountersigners : *const CMSG_SIGNER_ENCODE_INFO) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +::windows_targets::link!("crypt32.dll" "system" fn CryptMsgDuplicate(hcryptmsg : *const ::core::ffi::c_void) -> *mut ::core::ffi::c_void); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptMsgOpenToDecode(dwmsgencodingtype : u32, dwflags : u32, dwmsgtype : u32, hcryptprov : HCRYPTPROV_LEGACY, precipientinfo : *const CERT_INFO, pstreaminfo : *const CMSG_STREAM_INFO) -> *mut ::core::ffi::c_void); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptMsgUpdate(hcryptmsg : *const ::core::ffi::c_void, pbdata : *const u8, cbdata : u32, ffinal : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptProtectData(pdatain : *const CRYPT_INTEGER_BLOB, szdatadescr : ::windows_sys::core::PCWSTR, poptionalentropy : *const CRYPT_INTEGER_BLOB, pvreserved : *const ::core::ffi::c_void, ppromptstruct : *const CRYPTPROTECT_PROMPTSTRUCT, dwflags : u32, pdataout : *mut CRYPT_INTEGER_BLOB) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptProtectMemory(pdatain : *mut ::core::ffi::c_void, cbdatain : u32, dwflags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptRegisterDefaultOIDFunction(dwencodingtype : u32, pszfuncname : ::windows_sys::core::PCSTR, dwindex : u32, pwszdll : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptRegisterOIDInfo(pinfo : *const CRYPT_OID_INFO, dwflags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptReleaseContext(hprov : usize, dwflags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("cryptnet.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("cryptnet.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSetHashParam(hhash : usize, dwparam : CRYPT_SET_HASH_PARAM, pbdata : *const u8, dwflags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSetKeyIdentifierProperty(pkeyidentifier : *const CRYPT_INTEGER_BLOB, dwpropid : u32, dwflags : u32, pwszcomputername : ::windows_sys::core::PCWSTR, pvreserved : *const ::core::ffi::c_void, pvdata : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSetKeyParam(hkey : usize, dwparam : CRYPT_KEY_PARAM_ID, pbdata : *const u8, dwflags : u32) -> super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_System_Registry"))] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSetProvParam(hprov : usize, dwparam : CRYPT_SET_PROV_PARAM_ID, pbdata : *const u8, dwflags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSetProviderA(pszprovname : ::windows_sys::core::PCSTR, dwprovtype : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSetProviderExA(pszprovname : ::windows_sys::core::PCSTR, dwprovtype : u32, pdwreserved : *const u32, dwflags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSetProviderExW(pszprovname : ::windows_sys::core::PCWSTR, dwprovtype : u32, pdwreserved : *const u32, dwflags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSetProviderW(pszprovname : ::windows_sys::core::PCWSTR, dwprovtype : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSignAndEncodeCertificate(hcryptprovorncryptkey : HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, dwkeyspec : CERT_KEY_SPEC, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSignCertificate(hcryptprovorncryptkey : HCRYPTPROV_OR_NCRYPT_KEY_HANDLE, dwkeyspec : u32, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSignHashA(hhash : usize, dwkeyspec : u32, szdescription : ::windows_sys::core::PCSTR, dwflags : u32, pbsignature : *mut u8, pdwsiglen : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSignHashW(hhash : usize, dwkeyspec : u32, szdescription : ::windows_sys::core::PCWSTR, dwflags : u32, pbsignature : *mut u8, pdwsiglen : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptSignMessageWithKey(psignpara : *const CRYPT_KEY_SIGN_MESSAGE_PARA, pbtobesigned : *const u8, cbtobesigned : u32, pbsignedblob : *mut u8, pcbsignedblob : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("cryptnet.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUninstallCancelRetrieval(dwflags : u32, pvreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUninstallDefaultContext(hdefaultcontext : *const ::core::ffi::c_void, dwflags : u32, pvreserved : *const ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUnprotectData(pdatain : *const CRYPT_INTEGER_BLOB, ppszdatadescr : *mut ::windows_sys::core::PWSTR, poptionalentropy : *const CRYPT_INTEGER_BLOB, pvreserved : *const ::core::ffi::c_void, ppromptstruct : *const CRYPTPROTECT_PROMPTSTRUCT, dwflags : u32, pdataout : *mut CRYPT_INTEGER_BLOB) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUnprotectMemory(pdatain : *mut ::core::ffi::c_void, cbdatain : u32, dwflags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUnregisterDefaultOIDFunction(dwencodingtype : u32, pszfuncname : ::windows_sys::core::PCSTR, pwszdll : ::windows_sys::core::PCWSTR) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUnregisterOIDFunction(dwencodingtype : u32, pszfuncname : ::windows_sys::core::PCSTR, pszoid : ::windows_sys::core::PCSTR) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUnregisterOIDInfo(pinfo : *const CRYPT_OID_INFO) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptUpdateProtectedState(poldsid : super::super::Foundation:: PSID, pwszoldpassword : ::windows_sys::core::PCWSTR, dwflags : u32, pdwsuccesscount : *mut u32, pdwfailurecount : *mut u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptVerifyCertificateSignature(hcryptprov : HCRYPTPROV_LEGACY, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, pbencoded : *const u8, cbencoded : u32, ppublickey : *const CERT_PUBLIC_KEY_INFO) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptVerifyCertificateSignatureEx(hcryptprov : HCRYPTPROV_LEGACY, dwcertencodingtype : CERT_QUERY_ENCODING_TYPE, 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptVerifySignatureA(hhash : usize, pbsignature : *const u8, dwsiglen : u32, hpubkey : usize, szdescription : ::windows_sys::core::PCSTR, dwflags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptVerifySignatureW(hhash : usize, pbsignature : *const u8, dwsiglen : u32, hpubkey : usize, szdescription : ::windows_sys::core::PCWSTR, dwflags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +::windows_targets::link!("cryptxml.dll" "system" 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); +::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlClose(hcryptxml : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("cryptxml.dll" "system" 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); +::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlDigestReference(hreference : *const ::core::ffi::c_void, dwflags : u32, pdataproviderin : *const CRYPT_XML_DATA_PROVIDER) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("cryptxml.dll" "system" 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("cryptxml.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CryptXmlEnumAlgorithmInfo(dwgroupid : u32, dwflags : u32, pvarg : *mut ::core::ffi::c_void, pfnenumalginfo : PFN_CRYPT_XML_ENUM_ALG_INFO) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlFindAlgorithmInfo(dwfindbytype : u32, pvfindby : *const ::core::ffi::c_void, dwgroupid : u32, dwflags : u32) -> *mut CRYPT_XML_ALGORITHM_INFO); +::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlGetAlgorithmInfo(pxmlalgorithm : *const CRYPT_XML_ALGORITHM, dwflags : CRYPT_XML_FLAGS, ppalginfo : *mut *mut CRYPT_XML_ALGORITHM_INFO) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlGetDocContext(hcryptxml : *const ::core::ffi::c_void, ppstruct : *mut *mut CRYPT_XML_DOC_CTXT) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlGetReference(hcryptxml : *const ::core::ffi::c_void, ppstruct : *mut *mut CRYPT_XML_REFERENCE) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlGetSignature(hcryptxml : *const ::core::ffi::c_void, ppstruct : *mut *mut CRYPT_XML_SIGNATURE) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlGetStatus(hcryptxml : *const ::core::ffi::c_void, pstatus : *mut CRYPT_XML_STATUS) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlGetTransforms(ppconfig : *mut *mut CRYPT_XML_TRANSFORM_CHAIN_CONFIG) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlImportPublicKey(dwflags : CRYPT_XML_FLAGS, pkeyvalue : *const CRYPT_XML_KEY_VALUE, phkey : *mut BCRYPT_KEY_HANDLE) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("cryptxml.dll" "system" 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); +::windows_targets::link!("cryptxml.dll" "system" 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); +::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlSetHMACSecret(hsignature : *const ::core::ffi::c_void, pbsecret : *const u8, cbsecret : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("cryptxml.dll" "system" 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); +::windows_targets::link!("cryptxml.dll" "system" fn CryptXmlVerifySignature(hsignature : *const ::core::ffi::c_void, hkey : BCRYPT_KEY_HANDLE, dwflags : CRYPT_XML_FLAGS) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("infocardapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("infocardapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +::windows_targets::link!("wintrust.dll" "system" 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("infocardapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FreeToken(pallocmemory : *const GENERIC_XML_TOKEN) -> super::super::Foundation:: BOOL); +::windows_targets::link!("infocardapi.dll" "system" 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); +::windows_targets::link!("infocardapi.dll" "system" fn GetBrowserToken(dwparamtype : u32, pparam : *const ::core::ffi::c_void, pcbtoken : *mut u32, pptoken : *mut *mut u8) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("infocardapi.dll" "system" 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); +::windows_targets::link!("infocardapi.dll" "system" fn GetKeyedHash(hsymmetriccrypto : *const INFORMATIONCARD_CRYPTO_HANDLE, pphhash : *mut *mut INFORMATIONCARD_CRYPTO_HANDLE) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("infocardapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetToken(cpolicychain : u32, ppolicychain : *const POLICY_ELEMENT, securitytoken : *mut *mut GENERIC_XML_TOKEN, phprooftokencrypto : *mut *mut INFORMATIONCARD_CRYPTO_HANDLE) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("infocardapi.dll" "system" fn HashCore(hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE, cbindata : u32, pindata : *const u8) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("infocardapi.dll" "system" fn HashFinal(hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE, cbindata : u32, pindata : *const u8, pcboutdata : *mut u32, ppoutdata : *mut *mut u8) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("infocardapi.dll" "system" fn ImportInformationCard(filename : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("infocardapi.dll" "system" fn ManageCardSpace() -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ncrypt.dll" "system" fn NCryptCloseProtectionDescriptor(hdescriptor : super:: NCRYPT_DESCRIPTOR_HANDLE) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ncrypt.dll" "system" 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); +::windows_targets::link!("ncrypt.dll" "system" 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); +::windows_targets::link!("ncrypt.dll" "system" fn NCryptCreateProtectionDescriptor(pwszdescriptorstring : ::windows_sys::core::PCWSTR, dwflags : u32, phdescriptor : *mut super:: NCRYPT_DESCRIPTOR_HANDLE) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ncrypt.dll" "system" 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); +::windows_targets::link!("ncrypt.dll" "system" fn NCryptDeleteKey(hkey : NCRYPT_KEY_HANDLE, dwflags : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ncrypt.dll" "system" 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); +::windows_targets::link!("ncrypt.dll" "system" 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); +::windows_targets::link!("ncrypt.dll" "system" fn NCryptEnumAlgorithms(hprovider : NCRYPT_PROV_HANDLE, dwalgoperations : NCRYPT_OPERATION, pdwalgcount : *mut u32, ppalglist : *mut *mut NCryptAlgorithmName, dwflags : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ncrypt.dll" "system" 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); +::windows_targets::link!("ncrypt.dll" "system" fn NCryptEnumStorageProviders(pdwprovidercount : *mut u32, ppproviderlist : *mut *mut NCryptProviderName, dwflags : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ncrypt.dll" "system" 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); +::windows_targets::link!("ncrypt.dll" "system" fn NCryptFinalizeKey(hkey : NCRYPT_KEY_HANDLE, dwflags : NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ncrypt.dll" "system" fn NCryptFreeBuffer(pvinput : *mut ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ncrypt.dll" "system" fn NCryptFreeObject(hobject : NCRYPT_HANDLE) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ncrypt.dll" "system" 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); +::windows_targets::link!("ncrypt.dll" "system" 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); +::windows_targets::link!("ncrypt.dll" "system" 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); +::windows_targets::link!("ncrypt.dll" "system" fn NCryptIsAlgSupported(hprovider : NCRYPT_PROV_HANDLE, pszalgid : ::windows_sys::core::PCWSTR, dwflags : u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ncrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NCryptIsKeyHandle(hkey : NCRYPT_KEY_HANDLE) -> super::super::Foundation:: BOOL); +::windows_targets::link!("ncrypt.dll" "system" fn NCryptKeyDerivation(hkey : NCRYPT_KEY_HANDLE, pparameterlist : *const BCryptBufferDesc, pbderivedkey : *mut u8, cbderivedkey : u32, pcbresult : *mut u32, dwflags : u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ncrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NCryptNotifyChangeKey(hprovider : NCRYPT_PROV_HANDLE, phevent : *mut super::super::Foundation:: HANDLE, dwflags : NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ncrypt.dll" "system" 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); +::windows_targets::link!("ncrypt.dll" "system" fn NCryptOpenStorageProvider(phprovider : *mut NCRYPT_PROV_HANDLE, pszprovidername : ::windows_sys::core::PCWSTR, dwflags : u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ncrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +::windows_targets::link!("ncrypt.dll" "system" fn NCryptQueryProtectionDescriptorName(pwszname : ::windows_sys::core::PCWSTR, pwszdescriptorstring : ::windows_sys::core::PWSTR, pcdescriptorstring : *mut usize, dwflags : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ncrypt.dll" "system" fn NCryptRegisterProtectionDescriptorName(pwszname : ::windows_sys::core::PCWSTR, pwszdescriptorstring : ::windows_sys::core::PCWSTR, dwflags : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ncrypt.dll" "system" fn NCryptSecretAgreement(hprivkey : NCRYPT_KEY_HANDLE, hpubkey : NCRYPT_KEY_HANDLE, phagreedsecret : *mut NCRYPT_SECRET_HANDLE, dwflags : NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ncrypt.dll" "system" fn NCryptSetProperty(hobject : NCRYPT_HANDLE, pszproperty : ::windows_sys::core::PCWSTR, pbinput : *const u8, cbinput : u32, dwflags : NCRYPT_FLAGS) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ncrypt.dll" "system" 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); +::windows_targets::link!("ncrypt.dll" "system" fn NCryptStreamClose(hstream : super:: NCRYPT_STREAM_HANDLE) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ncrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ncrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ncrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ncrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn NCryptStreamUpdate(hstream : super:: NCRYPT_STREAM_HANDLE, pbdata : *const u8, cbdata : usize, ffinal : super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("ncrypt.dll" "system" 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ncrypt.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +::windows_targets::link!("ncrypt.dll" "system" 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); +::windows_targets::link!("ncrypt.dll" "system" 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PFXExportCertStore(hstore : HCERTSTORE, ppfx : *mut CRYPT_INTEGER_BLOB, szpassword : ::windows_sys::core::PCWSTR, dwflags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PFXExportCertStoreEx(hstore : HCERTSTORE, ppfx : *mut CRYPT_INTEGER_BLOB, szpassword : ::windows_sys::core::PCWSTR, pvpara : *const ::core::ffi::c_void, dwflags : u32) -> super::super::Foundation:: BOOL); +::windows_targets::link!("crypt32.dll" "system" fn PFXImportCertStore(ppfx : *const CRYPT_INTEGER_BLOB, szpassword : ::windows_sys::core::PCWSTR, dwflags : CRYPT_KEY_FLAGS) -> HCERTSTORE); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PFXIsPFXBlob(ppfx : *const CRYPT_INTEGER_BLOB) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("crypt32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PFXVerifyPassword(ppfx : *const CRYPT_INTEGER_BLOB, szpassword : ::windows_sys::core::PCWSTR, dwflags : u32) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcryptprimitives.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ProcessPrng(pbdata : *mut u8, cbdata : usize) -> super::super::Foundation:: BOOL); +::windows_targets::link!("mssign32.dll" "system" fn SignError() -> ::windows_sys::core::HRESULT); +::windows_targets::link!("infocardapi.dll" "system" 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); +::windows_targets::link!("mssign32.dll" "system" fn SignerFreeSignerContext(psignercontext : *const SIGNER_CONTEXT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mssign32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SignerSign(psubjectinfo : *const SIGNER_SUBJECT_INFO, psignercert : *const SIGNER_CERT, psignatureinfo : *const SIGNER_SIGNATURE_INFO, pproviderinfo : *const SIGNER_PROVIDER_INFO, pwszhttptimestamp : ::windows_sys::core::PCWSTR, psrequest : *const CRYPT_ATTRIBUTES, psipdata : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mssign32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SignerSignEx(dwflags : SIGNER_SIGN_FLAGS, psubjectinfo : *const SIGNER_SUBJECT_INFO, psignercert : *const SIGNER_CERT, psignatureinfo : *const SIGNER_SIGNATURE_INFO, pproviderinfo : *const SIGNER_PROVIDER_INFO, pwszhttptimestamp : ::windows_sys::core::PCWSTR, psrequest : *const CRYPT_ATTRIBUTES, psipdata : *const ::core::ffi::c_void, ppsignercontext : *mut *mut SIGNER_CONTEXT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mssign32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SignerSignEx2(dwflags : SIGNER_SIGN_FLAGS, psubjectinfo : *const SIGNER_SUBJECT_INFO, psignercert : *const SIGNER_CERT, psignatureinfo : *const SIGNER_SIGNATURE_INFO, pproviderinfo : *const SIGNER_PROVIDER_INFO, dwtimestampflags : SIGNER_TIMESTAMP_FLAGS, psztimestampalgorithmoid : ::windows_sys::core::PCSTR, pwszhttptimestamp : ::windows_sys::core::PCWSTR, psrequest : *const CRYPT_ATTRIBUTES, psipdata : *const ::core::ffi::c_void, ppsignercontext : *mut *mut SIGNER_CONTEXT, pcryptopolicy : *const CERT_STRONG_SIGN_PARA, preserved : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mssign32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SignerSignEx3(dwflags : SIGNER_SIGN_FLAGS, psubjectinfo : *const SIGNER_SUBJECT_INFO, psignercert : *const SIGNER_CERT, psignatureinfo : *const SIGNER_SIGNATURE_INFO, pproviderinfo : *const SIGNER_PROVIDER_INFO, dwtimestampflags : SIGNER_TIMESTAMP_FLAGS, psztimestampalgorithmoid : ::windows_sys::core::PCSTR, pwszhttptimestamp : ::windows_sys::core::PCWSTR, psrequest : *const CRYPT_ATTRIBUTES, psipdata : *const ::core::ffi::c_void, ppsignercontext : *mut *mut SIGNER_CONTEXT, pcryptopolicy : *const CERT_STRONG_SIGN_PARA, pdigestsigninfo : *const SIGNER_DIGEST_SIGN_INFO, preserved : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mssign32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SignerTimeStamp(psubjectinfo : *const SIGNER_SUBJECT_INFO, pwszhttptimestamp : ::windows_sys::core::PCWSTR, psrequest : *const CRYPT_ATTRIBUTES, psipdata : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mssign32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SignerTimeStampEx(dwflags : u32, psubjectinfo : *const SIGNER_SUBJECT_INFO, pwszhttptimestamp : ::windows_sys::core::PCWSTR, psrequest : *const CRYPT_ATTRIBUTES, psipdata : *const ::core::ffi::c_void, ppsignercontext : *mut *mut SIGNER_CONTEXT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mssign32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SignerTimeStampEx2(dwflags : SIGNER_TIMESTAMP_FLAGS, psubjectinfo : *const SIGNER_SUBJECT_INFO, pwszhttptimestamp : ::windows_sys::core::PCWSTR, dwalgid : ALG_ID, psrequest : *const CRYPT_ATTRIBUTES, psipdata : *const ::core::ffi::c_void, ppsignercontext : *mut *mut SIGNER_CONTEXT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("mssign32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SignerTimeStampEx3(dwflags : SIGNER_TIMESTAMP_FLAGS, dwindex : u32, psubjectinfo : *const SIGNER_SUBJECT_INFO, pwszhttptimestamp : ::windows_sys::core::PCWSTR, pszalgorithmoid : ::windows_sys::core::PCWSTR, psrequest : *const CRYPT_ATTRIBUTES, psipdata : *const ::core::ffi::c_void, ppsignercontext : *mut *mut SIGNER_CONTEXT, pcryptopolicy : *const CERT_STRONG_SIGN_PARA, preserved : *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("bcryptprimitives.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SystemPrng(pbrandomdata : *mut u8, cbrandomdata : usize) -> super::super::Foundation:: BOOL); +::windows_targets::link!("infocardapi.dll" "system" fn TransformBlock(hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE, cbindata : u32, pindata : *const u8, pcboutdata : *mut u32, ppoutdata : *mut *mut u8) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("infocardapi.dll" "system" fn TransformFinalBlock(hcrypto : *const INFORMATIONCARD_CRYPTO_HANDLE, cbindata : u32, pindata : *const u8, pcboutdata : *mut u32, ppoutdata : *mut *mut u8) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("infocardapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +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; +pub type IMSCEPSetup = *mut ::core::ffi::c_void; +pub const ALG_CLASS_ALL: u32 = 57344u32; +pub const ALG_CLASS_ANY: u32 = 0u32; +pub const ALG_CLASS_DATA_ENCRYPT: u32 = 24576u32; +pub const ALG_CLASS_HASH: u32 = 32768u32; +pub const ALG_CLASS_KEY_EXCHANGE: u32 = 40960u32; +pub const ALG_CLASS_MSG_ENCRYPT: u32 = 16384u32; +pub const ALG_CLASS_SIGNATURE: u32 = 8192u32; +pub const ALG_SID_3DES: u32 = 3u32; +pub const ALG_SID_3DES_112: u32 = 9u32; +pub const ALG_SID_AES: u32 = 17u32; +pub const ALG_SID_AES_128: u32 = 14u32; +pub const ALG_SID_AES_192: u32 = 15u32; +pub const ALG_SID_AES_256: u32 = 16u32; +pub const ALG_SID_AGREED_KEY_ANY: u32 = 3u32; +pub const ALG_SID_ANY: u32 = 0u32; +pub const ALG_SID_CAST: u32 = 6u32; +pub const ALG_SID_CYLINK_MEK: u32 = 12u32; +pub const ALG_SID_DES: u32 = 1u32; +pub const ALG_SID_DESX: u32 = 4u32; +pub const ALG_SID_DH_EPHEM: u32 = 2u32; +pub const ALG_SID_DH_SANDF: u32 = 1u32; +pub const ALG_SID_DSS_ANY: u32 = 0u32; +pub const ALG_SID_DSS_DMS: u32 = 2u32; +pub const ALG_SID_DSS_PKCS: u32 = 1u32; +pub const ALG_SID_ECDH: u32 = 5u32; +pub const ALG_SID_ECDH_EPHEM: u32 = 6u32; +pub const ALG_SID_ECDSA: u32 = 3u32; +pub const ALG_SID_ECMQV: u32 = 1u32; +pub const ALG_SID_EXAMPLE: u32 = 80u32; +pub const ALG_SID_HASH_REPLACE_OWF: u32 = 11u32; +pub const ALG_SID_HMAC: u32 = 9u32; +pub const ALG_SID_IDEA: u32 = 5u32; +pub const ALG_SID_KEA: u32 = 4u32; +pub const ALG_SID_MAC: u32 = 5u32; +pub const ALG_SID_MD2: u32 = 1u32; +pub const ALG_SID_MD4: u32 = 2u32; +pub const ALG_SID_MD5: u32 = 3u32; +pub const ALG_SID_PCT1_MASTER: u32 = 4u32; +pub const ALG_SID_RC2: u32 = 2u32; +pub const ALG_SID_RC4: u32 = 1u32; +pub const ALG_SID_RC5: u32 = 13u32; +pub const ALG_SID_RIPEMD: u32 = 6u32; +pub const ALG_SID_RIPEMD160: u32 = 7u32; +pub const ALG_SID_RSA_ANY: u32 = 0u32; +pub const ALG_SID_RSA_ENTRUST: u32 = 3u32; +pub const ALG_SID_RSA_MSATWORK: u32 = 2u32; +pub const ALG_SID_RSA_PGP: u32 = 4u32; +pub const ALG_SID_RSA_PKCS: u32 = 1u32; +pub const ALG_SID_SAFERSK128: u32 = 8u32; +pub const ALG_SID_SAFERSK64: u32 = 7u32; +pub const ALG_SID_SCHANNEL_ENC_KEY: u32 = 7u32; +pub const ALG_SID_SCHANNEL_MAC_KEY: u32 = 3u32; +pub const ALG_SID_SCHANNEL_MASTER_HASH: u32 = 2u32; +pub const ALG_SID_SEAL: u32 = 2u32; +pub const ALG_SID_SHA: u32 = 4u32; +pub const ALG_SID_SHA1: u32 = 4u32; +pub const ALG_SID_SHA_256: u32 = 12u32; +pub const ALG_SID_SHA_384: u32 = 13u32; +pub const ALG_SID_SHA_512: u32 = 14u32; +pub const ALG_SID_SKIPJACK: u32 = 10u32; +pub const ALG_SID_SSL2_MASTER: u32 = 5u32; +pub const ALG_SID_SSL3SHAMD5: u32 = 8u32; +pub const ALG_SID_SSL3_MASTER: u32 = 1u32; +pub const ALG_SID_TEK: u32 = 11u32; +pub const ALG_SID_THIRDPARTY_ANY: u32 = 0u32; +pub const ALG_SID_TLS1PRF: u32 = 10u32; +pub const ALG_SID_TLS1_MASTER: u32 = 6u32; +pub const ALG_TYPE_ANY: u32 = 0u32; +pub const ALG_TYPE_BLOCK: u32 = 1536u32; +pub const ALG_TYPE_DH: u32 = 2560u32; +pub const ALG_TYPE_DSS: u32 = 512u32; +pub const ALG_TYPE_ECDH: u32 = 3584u32; +pub const ALG_TYPE_RSA: u32 = 1024u32; +pub const ALG_TYPE_SECURECHANNEL: u32 = 3072u32; +pub const ALG_TYPE_STREAM: u32 = 2048u32; +pub const ALG_TYPE_THIRDPARTY: u32 = 4096u32; +pub const AT_KEYEXCHANGE: CERT_KEY_SPEC = 1u32; +pub const AT_SIGNATURE: CERT_KEY_SPEC = 2u32; +pub const AUDIT_CARD_DELETE: ::windows_sys::core::HRESULT = 1074070017i32; +pub const AUDIT_CARD_IMPORT: ::windows_sys::core::HRESULT = 1074070018i32; +pub const AUDIT_CARD_WRITTEN: ::windows_sys::core::HRESULT = 1074070016i32; +pub const AUDIT_SERVICE_IDLE_STOP: ::windows_sys::core::HRESULT = 1074070022i32; +pub const AUDIT_STORE_DELETE: ::windows_sys::core::HRESULT = 1074070021i32; +pub const AUDIT_STORE_EXPORT: ::windows_sys::core::HRESULT = 1074070020i32; +pub const AUDIT_STORE_IMPORT: ::windows_sys::core::HRESULT = 1074070019i32; +pub const AUTHTYPE_CLIENT: HTTPSPOLICY_CALLBACK_DATA_AUTH_TYPE = 1u32; +pub const AUTHTYPE_SERVER: HTTPSPOLICY_CALLBACK_DATA_AUTH_TYPE = 2u32; +pub const BASIC_CONSTRAINTS_CERT_CHAIN_POLICY_CA_FLAG: u32 = 2147483648u32; +pub const BASIC_CONSTRAINTS_CERT_CHAIN_POLICY_END_ENTITY_FLAG: u32 = 1073741824u32; +pub const BCRYPTBUFFER_VERSION: u32 = 0u32; +pub const BCRYPT_3DES_112_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("3DES_112"); +pub const BCRYPT_3DES_112_CBC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 369u32 as _; +pub const BCRYPT_3DES_112_CFB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 401u32 as _; +pub const BCRYPT_3DES_112_ECB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 385u32 as _; +pub const BCRYPT_3DES_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("3DES"); +pub const BCRYPT_3DES_CBC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 321u32 as _; +pub const BCRYPT_3DES_CFB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 353u32 as _; +pub const BCRYPT_3DES_ECB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 337u32 as _; +pub const BCRYPT_AES_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AES"); +pub const BCRYPT_AES_CBC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 417u32 as _; +pub const BCRYPT_AES_CCM_ALG_HANDLE: BCRYPT_ALG_HANDLE = 465u32 as _; +pub const BCRYPT_AES_CFB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 449u32 as _; +pub const BCRYPT_AES_CMAC_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AES-CMAC"); +pub const BCRYPT_AES_CMAC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 257u32 as _; +pub const BCRYPT_AES_ECB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 433u32 as _; +pub const BCRYPT_AES_GCM_ALG_HANDLE: BCRYPT_ALG_HANDLE = 481u32 as _; +pub const BCRYPT_AES_GMAC_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AES-GMAC"); +pub const BCRYPT_AES_GMAC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 273u32 as _; +pub const BCRYPT_AES_WRAP_KEY_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Rfc3565KeyWrapBlob"); +pub const BCRYPT_ALGORITHM_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AlgorithmName"); +pub const BCRYPT_ALG_HANDLE_HMAC_FLAG: BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS = 8u32; +pub const BCRYPT_ASYMMETRIC_ENCRYPTION_INTERFACE: BCRYPT_INTERFACE = 3u32; +pub const BCRYPT_ASYMMETRIC_ENCRYPTION_OPERATION: BCRYPT_OPERATION = 4u32; +pub const BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO_VERSION: u32 = 1u32; +pub const BCRYPT_AUTH_MODE_CHAIN_CALLS_FLAG: u32 = 1u32; +pub const BCRYPT_AUTH_MODE_IN_PROGRESS_FLAG: u32 = 2u32; +pub const BCRYPT_AUTH_TAG_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AuthTagLength"); +pub const BCRYPT_BLOCK_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BlockLength"); +pub const BCRYPT_BLOCK_PADDING: BCRYPT_FLAGS = 1u32; +pub const BCRYPT_BLOCK_SIZE_LIST: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("BlockSizeList"); +pub const BCRYPT_BUFFERS_LOCKED_FLAG: u32 = 64u32; +pub const BCRYPT_CAPI_AES_FLAG: u32 = 16u32; +pub const BCRYPT_CAPI_KDF_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAPI_KDF"); +pub const BCRYPT_CAPI_KDF_ALG_HANDLE: BCRYPT_ALG_HANDLE = 801u32 as _; +pub const BCRYPT_CHACHA20_POLY1305_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CHACHA20_POLY1305"); +pub const BCRYPT_CHACHA20_POLY1305_ALG_HANDLE: BCRYPT_ALG_HANDLE = 929u32 as _; +pub const BCRYPT_CHAINING_MODE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ChainingMode"); +pub const BCRYPT_CHAIN_MODE_CBC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ChainingModeCBC"); +pub const BCRYPT_CHAIN_MODE_CCM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ChainingModeCCM"); +pub const BCRYPT_CHAIN_MODE_CFB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ChainingModeCFB"); +pub const BCRYPT_CHAIN_MODE_ECB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ChainingModeECB"); +pub const BCRYPT_CHAIN_MODE_GCM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ChainingModeGCM"); +pub const BCRYPT_CHAIN_MODE_NA: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ChainingModeN/A"); +pub const BCRYPT_CIPHER_INTERFACE: BCRYPT_INTERFACE = 1u32; +pub const BCRYPT_CIPHER_OPERATION: BCRYPT_OPERATION = 1u32; +pub const BCRYPT_DESX_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DESX"); +pub const BCRYPT_DESX_CBC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 545u32 as _; +pub const BCRYPT_DESX_CFB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 577u32 as _; +pub const BCRYPT_DESX_ECB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 561u32 as _; +pub const BCRYPT_DES_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DES"); +pub const BCRYPT_DES_CBC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 497u32 as _; +pub const BCRYPT_DES_CFB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 529u32 as _; +pub const BCRYPT_DES_ECB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 513u32 as _; +pub const BCRYPT_DH_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DH"); +pub const BCRYPT_DH_ALG_HANDLE: BCRYPT_ALG_HANDLE = 641u32 as _; +pub const BCRYPT_DH_PARAMETERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DHParameters"); +pub const BCRYPT_DH_PARAMETERS_MAGIC: u32 = 1297107012u32; +pub const BCRYPT_DH_PRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DHPRIVATEBLOB"); +pub const BCRYPT_DH_PRIVATE_MAGIC: BCRYPT_DH_KEY_BLOB_MAGIC = 1448101956u32; +pub const BCRYPT_DH_PUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DHPUBLICBLOB"); +pub const BCRYPT_DH_PUBLIC_MAGIC: BCRYPT_DH_KEY_BLOB_MAGIC = 1112557636u32; +pub const BCRYPT_DSA_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DSA"); +pub const BCRYPT_DSA_ALG_HANDLE: BCRYPT_ALG_HANDLE = 721u32 as _; +pub const BCRYPT_DSA_PARAMETERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DSAParameters"); +pub const BCRYPT_DSA_PARAMETERS_MAGIC: u32 = 1297109828u32; +pub const BCRYPT_DSA_PARAMETERS_MAGIC_V2: u32 = 843927620u32; +pub const BCRYPT_DSA_PRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DSAPRIVATEBLOB"); +pub const BCRYPT_DSA_PRIVATE_MAGIC: BCRYPT_DSA_MAGIC = 1448104772u32; +pub const BCRYPT_DSA_PRIVATE_MAGIC_V2: u32 = 844517444u32; +pub const BCRYPT_DSA_PUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DSAPUBLICBLOB"); +pub const BCRYPT_DSA_PUBLIC_MAGIC: BCRYPT_DSA_MAGIC = 1112560452u32; +pub const BCRYPT_DSA_PUBLIC_MAGIC_V2: u32 = 843206724u32; +pub const BCRYPT_ECCFULLPRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECCFULLPRIVATEBLOB"); +pub const BCRYPT_ECCFULLPUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECCFULLPUBLICBLOB"); +pub const BCRYPT_ECCPRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECCPRIVATEBLOB"); +pub const BCRYPT_ECCPUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECCPUBLICBLOB"); +pub const BCRYPT_ECC_CURVE_25519: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("curve25519"); +pub const BCRYPT_ECC_CURVE_BRAINPOOLP160R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("brainpoolP160r1"); +pub const BCRYPT_ECC_CURVE_BRAINPOOLP160T1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("brainpoolP160t1"); +pub const BCRYPT_ECC_CURVE_BRAINPOOLP192R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("brainpoolP192r1"); +pub const BCRYPT_ECC_CURVE_BRAINPOOLP192T1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("brainpoolP192t1"); +pub const BCRYPT_ECC_CURVE_BRAINPOOLP224R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("brainpoolP224r1"); +pub const BCRYPT_ECC_CURVE_BRAINPOOLP224T1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("brainpoolP224t1"); +pub const BCRYPT_ECC_CURVE_BRAINPOOLP256R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("brainpoolP256r1"); +pub const BCRYPT_ECC_CURVE_BRAINPOOLP256T1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("brainpoolP256t1"); +pub const BCRYPT_ECC_CURVE_BRAINPOOLP320R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("brainpoolP320r1"); +pub const BCRYPT_ECC_CURVE_BRAINPOOLP320T1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("brainpoolP320t1"); +pub const BCRYPT_ECC_CURVE_BRAINPOOLP384R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("brainpoolP384r1"); +pub const BCRYPT_ECC_CURVE_BRAINPOOLP384T1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("brainpoolP384t1"); +pub const BCRYPT_ECC_CURVE_BRAINPOOLP512R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("brainpoolP512r1"); +pub const BCRYPT_ECC_CURVE_BRAINPOOLP512T1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("brainpoolP512t1"); +pub const BCRYPT_ECC_CURVE_EC192WAPI: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ec192wapi"); +pub const BCRYPT_ECC_CURVE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECCCurveName"); +pub const BCRYPT_ECC_CURVE_NAME_LIST: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECCCurveNameList"); +pub const BCRYPT_ECC_CURVE_NISTP192: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("nistP192"); +pub const BCRYPT_ECC_CURVE_NISTP224: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("nistP224"); +pub const BCRYPT_ECC_CURVE_NISTP256: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("nistP256"); +pub const BCRYPT_ECC_CURVE_NISTP384: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("nistP384"); +pub const BCRYPT_ECC_CURVE_NISTP521: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("nistP521"); +pub const BCRYPT_ECC_CURVE_NUMSP256T1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("numsP256t1"); +pub const BCRYPT_ECC_CURVE_NUMSP384T1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("numsP384t1"); +pub const BCRYPT_ECC_CURVE_NUMSP512T1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("numsP512t1"); +pub const BCRYPT_ECC_CURVE_SECP160K1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("secP160k1"); +pub const BCRYPT_ECC_CURVE_SECP160R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("secP160r1"); +pub const BCRYPT_ECC_CURVE_SECP160R2: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("secP160r2"); +pub const BCRYPT_ECC_CURVE_SECP192K1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("secP192k1"); +pub const BCRYPT_ECC_CURVE_SECP192R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("secP192r1"); +pub const BCRYPT_ECC_CURVE_SECP224K1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("secP224k1"); +pub const BCRYPT_ECC_CURVE_SECP224R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("secP224r1"); +pub const BCRYPT_ECC_CURVE_SECP256K1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("secP256k1"); +pub const BCRYPT_ECC_CURVE_SECP256R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("secP256r1"); +pub const BCRYPT_ECC_CURVE_SECP384R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("secP384r1"); +pub const BCRYPT_ECC_CURVE_SECP521R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("secP521r1"); +pub const BCRYPT_ECC_CURVE_WTLS12: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("wtls12"); +pub const BCRYPT_ECC_CURVE_WTLS7: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("wtls7"); +pub const BCRYPT_ECC_CURVE_WTLS9: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("wtls9"); +pub const BCRYPT_ECC_CURVE_X962P192V1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("x962P192v1"); +pub const BCRYPT_ECC_CURVE_X962P192V2: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("x962P192v2"); +pub const BCRYPT_ECC_CURVE_X962P192V3: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("x962P192v3"); +pub const BCRYPT_ECC_CURVE_X962P239V1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("x962P239v1"); +pub const BCRYPT_ECC_CURVE_X962P239V2: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("x962P239v2"); +pub const BCRYPT_ECC_CURVE_X962P239V3: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("x962P239v3"); +pub const BCRYPT_ECC_CURVE_X962P256V1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("x962P256v1"); +pub const BCRYPT_ECC_FULLKEY_BLOB_V1: u32 = 1u32; +pub const BCRYPT_ECC_PARAMETERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECCParameters"); +pub const BCRYPT_ECC_PARAMETERS_MAGIC: u32 = 1346585413u32; +pub const BCRYPT_ECC_PRIME_MONTGOMERY_CURVE: ECC_CURVE_TYPE_ENUM = 3i32; +pub const BCRYPT_ECC_PRIME_SHORT_WEIERSTRASS_CURVE: ECC_CURVE_TYPE_ENUM = 1i32; +pub const BCRYPT_ECC_PRIME_TWISTED_EDWARDS_CURVE: ECC_CURVE_TYPE_ENUM = 2i32; +pub const BCRYPT_ECDH_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDH"); +pub const BCRYPT_ECDH_ALG_HANDLE: BCRYPT_ALG_HANDLE = 657u32 as _; +pub const BCRYPT_ECDH_P256_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDH_P256"); +pub const BCRYPT_ECDH_P256_ALG_HANDLE: BCRYPT_ALG_HANDLE = 673u32 as _; +pub const BCRYPT_ECDH_P384_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDH_P384"); +pub const BCRYPT_ECDH_P384_ALG_HANDLE: BCRYPT_ALG_HANDLE = 689u32 as _; +pub const BCRYPT_ECDH_P521_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDH_P521"); +pub const BCRYPT_ECDH_P521_ALG_HANDLE: BCRYPT_ALG_HANDLE = 705u32 as _; +pub const BCRYPT_ECDH_PRIVATE_GENERIC_MAGIC: u32 = 1447772997u32; +pub const BCRYPT_ECDH_PRIVATE_P256_MAGIC: u32 = 843793221u32; +pub const BCRYPT_ECDH_PRIVATE_P384_MAGIC: u32 = 877347653u32; +pub const BCRYPT_ECDH_PRIVATE_P521_MAGIC: u32 = 910902085u32; +pub const BCRYPT_ECDH_PUBLIC_GENERIC_MAGIC: u32 = 1347109701u32; +pub const BCRYPT_ECDH_PUBLIC_P256_MAGIC: u32 = 827016005u32; +pub const BCRYPT_ECDH_PUBLIC_P384_MAGIC: u32 = 860570437u32; +pub const BCRYPT_ECDH_PUBLIC_P521_MAGIC: u32 = 894124869u32; +pub const BCRYPT_ECDSA_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDSA"); +pub const BCRYPT_ECDSA_ALG_HANDLE: BCRYPT_ALG_HANDLE = 241u32 as _; +pub const BCRYPT_ECDSA_P256_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDSA_P256"); +pub const BCRYPT_ECDSA_P256_ALG_HANDLE: BCRYPT_ALG_HANDLE = 737u32 as _; +pub const BCRYPT_ECDSA_P384_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDSA_P384"); +pub const BCRYPT_ECDSA_P384_ALG_HANDLE: BCRYPT_ALG_HANDLE = 753u32 as _; +pub const BCRYPT_ECDSA_P521_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDSA_P521"); +pub const BCRYPT_ECDSA_P521_ALG_HANDLE: BCRYPT_ALG_HANDLE = 769u32 as _; +pub const BCRYPT_ECDSA_PRIVATE_GENERIC_MAGIC: u32 = 1447314245u32; +pub const BCRYPT_ECDSA_PRIVATE_P256_MAGIC: u32 = 844317509u32; +pub const BCRYPT_ECDSA_PRIVATE_P384_MAGIC: u32 = 877871941u32; +pub const BCRYPT_ECDSA_PRIVATE_P521_MAGIC: u32 = 911426373u32; +pub const BCRYPT_ECDSA_PUBLIC_GENERIC_MAGIC: u32 = 1346650949u32; +pub const BCRYPT_ECDSA_PUBLIC_P256_MAGIC: u32 = 827540293u32; +pub const BCRYPT_ECDSA_PUBLIC_P384_MAGIC: u32 = 861094725u32; +pub const BCRYPT_ECDSA_PUBLIC_P521_MAGIC: u32 = 894649157u32; +pub const BCRYPT_EFFECTIVE_KEY_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EffectiveKeyLength"); +pub const BCRYPT_ENABLE_INCOMPATIBLE_FIPS_CHECKS: u32 = 256u32; +pub const BCRYPT_EXTENDED_KEYSIZE: u32 = 128u32; +pub const BCRYPT_GENERATE_IV: u32 = 32u32; +pub const BCRYPT_GLOBAL_PARAMETERS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SecretAgreementParam"); +pub const BCRYPT_HASH_BLOCK_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HashBlockLength"); +pub const BCRYPT_HASH_INTERFACE: BCRYPT_INTERFACE = 2u32; +pub const BCRYPT_HASH_INTERFACE_MAJORVERSION_2: u32 = 2u32; +pub const BCRYPT_HASH_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HashDigestLength"); +pub const BCRYPT_HASH_OID_LIST: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HashOIDList"); +pub const BCRYPT_HASH_OPERATION: BCRYPT_OPERATION = 2u32; +pub const BCRYPT_HASH_OPERATION_FINISH_HASH: BCRYPT_HASH_OPERATION_TYPE = 2i32; +pub const BCRYPT_HASH_OPERATION_HASH_DATA: BCRYPT_HASH_OPERATION_TYPE = 1i32; +pub const BCRYPT_HASH_REUSABLE_FLAG: BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS = 32u32; +pub const BCRYPT_HKDF_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HKDF"); +pub const BCRYPT_HKDF_ALG_HANDLE: BCRYPT_ALG_HANDLE = 913u32 as _; +pub const BCRYPT_HKDF_HASH_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HkdfHashAlgorithm"); +pub const BCRYPT_HKDF_PRK_AND_FINALIZE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HkdfPrkAndFinalize"); +pub const BCRYPT_HKDF_SALT_AND_FINALIZE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HkdfSaltAndFinalize"); +pub const BCRYPT_HMAC_MD2_ALG_HANDLE: BCRYPT_ALG_HANDLE = 289u32 as _; +pub const BCRYPT_HMAC_MD4_ALG_HANDLE: BCRYPT_ALG_HANDLE = 305u32 as _; +pub const BCRYPT_HMAC_MD5_ALG_HANDLE: BCRYPT_ALG_HANDLE = 145u32 as _; +pub const BCRYPT_HMAC_SHA1_ALG_HANDLE: BCRYPT_ALG_HANDLE = 161u32 as _; +pub const BCRYPT_HMAC_SHA256_ALG_HANDLE: BCRYPT_ALG_HANDLE = 177u32 as _; +pub const BCRYPT_HMAC_SHA384_ALG_HANDLE: BCRYPT_ALG_HANDLE = 193u32 as _; +pub const BCRYPT_HMAC_SHA512_ALG_HANDLE: BCRYPT_ALG_HANDLE = 209u32 as _; +pub const BCRYPT_INITIALIZATION_VECTOR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IV"); +pub const BCRYPT_IS_IFX_TPM_WEAK_KEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IsIfxTpmWeakKey"); +pub const BCRYPT_IS_KEYED_HASH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IsKeyedHash"); +pub const BCRYPT_IS_REUSABLE_HASH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IsReusableHash"); +pub const BCRYPT_KDF_HASH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HASH"); +pub const BCRYPT_KDF_HKDF: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HKDF"); +pub const BCRYPT_KDF_HMAC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HMAC"); +pub const BCRYPT_KDF_RAW_SECRET: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TRUNCATE"); +pub const BCRYPT_KDF_SP80056A_CONCAT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SP800_56A_CONCAT"); +pub const BCRYPT_KDF_TLS_PRF: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TLS_PRF"); +pub const BCRYPT_KEY_DATA_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyDataBlob"); +pub const BCRYPT_KEY_DATA_BLOB_MAGIC: u32 = 1296188491u32; +pub const BCRYPT_KEY_DATA_BLOB_VERSION1: u32 = 1u32; +pub const BCRYPT_KEY_DERIVATION_INTERFACE: u32 = 7u32; +pub const BCRYPT_KEY_DERIVATION_OPERATION: u32 = 64u32; +pub const BCRYPT_KEY_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyLength"); +pub const BCRYPT_KEY_LENGTHS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyLengths"); +pub const BCRYPT_KEY_OBJECT_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyObjectLength"); +pub const BCRYPT_KEY_STRENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KeyStrength"); +pub const BCRYPT_KEY_VALIDATION_RANGE: u32 = 16u32; +pub const BCRYPT_KEY_VALIDATION_RANGE_AND_ORDER: u32 = 24u32; +pub const BCRYPT_KEY_VALIDATION_REGENERATE: u32 = 32u32; +pub const BCRYPT_MD2_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MD2"); +pub const BCRYPT_MD2_ALG_HANDLE: BCRYPT_ALG_HANDLE = 1u32 as _; +pub const BCRYPT_MD4_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MD4"); +pub const BCRYPT_MD4_ALG_HANDLE: BCRYPT_ALG_HANDLE = 17u32 as _; +pub const BCRYPT_MD5_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MD5"); +pub const BCRYPT_MD5_ALG_HANDLE: BCRYPT_ALG_HANDLE = 33u32 as _; +pub const BCRYPT_MESSAGE_BLOCK_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MessageBlockLength"); +pub const BCRYPT_MULTI_FLAG: u32 = 64u32; +pub const BCRYPT_MULTI_OBJECT_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MultiObjectLength"); +pub const BCRYPT_NO_CURVE_GENERATION_ALG_ID: ECC_CURVE_ALG_ID_ENUM = 0i32; +pub const BCRYPT_NO_KEY_VALIDATION: u32 = 8u32; +pub const BCRYPT_OBJECT_ALIGNMENT: u32 = 16u32; +pub const BCRYPT_OBJECT_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ObjectLength"); +pub const BCRYPT_OPAQUE_KEY_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("OpaqueKeyBlob"); +pub const BCRYPT_OPERATION_TYPE_HASH: BCRYPT_MULTI_OPERATION_TYPE = 1i32; +pub const BCRYPT_PADDING_SCHEMES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PaddingSchemes"); +pub const BCRYPT_PAD_NONE: BCRYPT_FLAGS = 1u32; +pub const BCRYPT_PAD_OAEP: BCRYPT_FLAGS = 4u32; +pub const BCRYPT_PAD_PKCS1: BCRYPT_FLAGS = 2u32; +pub const BCRYPT_PAD_PKCS1_OPTIONAL_HASH_OID: u32 = 16u32; +pub const BCRYPT_PAD_PSS: BCRYPT_FLAGS = 8u32; +pub const BCRYPT_PBKDF2_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PBKDF2"); +pub const BCRYPT_PBKDF2_ALG_HANDLE: BCRYPT_ALG_HANDLE = 817u32 as _; +pub const BCRYPT_PCP_PLATFORM_TYPE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_PLATFORM_TYPE"); +pub const BCRYPT_PCP_PROVIDER_VERSION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_PROVIDER_VERSION"); +pub const BCRYPT_PRIMITIVE_TYPE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PrimitiveType"); +pub const BCRYPT_PRIVATE_KEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PrivKeyVal"); +pub const BCRYPT_PRIVATE_KEY_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PRIVATEBLOB"); +pub const BCRYPT_PRIVATE_KEY_FLAG: u32 = 2u32; +pub const BCRYPT_PROVIDER_HANDLE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ProviderHandle"); +pub const BCRYPT_PROV_DISPATCH: BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS = 1u32; +pub const BCRYPT_PUBLIC_KEY_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PUBLICBLOB"); +pub const BCRYPT_PUBLIC_KEY_FLAG: u32 = 1u32; +pub const BCRYPT_PUBLIC_KEY_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PublicKeyLength"); +pub const BCRYPT_RC2_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RC2"); +pub const BCRYPT_RC2_CBC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 593u32 as _; +pub const BCRYPT_RC2_CFB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 625u32 as _; +pub const BCRYPT_RC2_ECB_ALG_HANDLE: BCRYPT_ALG_HANDLE = 609u32 as _; +pub const BCRYPT_RC4_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RC4"); +pub const BCRYPT_RC4_ALG_HANDLE: BCRYPT_ALG_HANDLE = 113u32 as _; +pub const BCRYPT_RNG_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RNG"); +pub const BCRYPT_RNG_ALG_HANDLE: BCRYPT_ALG_HANDLE = 129u32 as _; +pub const BCRYPT_RNG_DUAL_EC_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DUALECRNG"); +pub const BCRYPT_RNG_FIPS186_DSA_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FIPS186DSARNG"); +pub const BCRYPT_RNG_INTERFACE: BCRYPT_INTERFACE = 6u32; +pub const BCRYPT_RNG_OPERATION: BCRYPT_OPERATION = 32u32; +pub const BCRYPT_RNG_USE_ENTROPY_IN_BUFFER: BCRYPTGENRANDOM_FLAGS = 1u32; +pub const BCRYPT_RSAFULLPRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RSAFULLPRIVATEBLOB"); +pub const BCRYPT_RSAFULLPRIVATE_MAGIC: BCRYPT_RSAKEY_BLOB_MAGIC = 859919186u32; +pub const BCRYPT_RSAPRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RSAPRIVATEBLOB"); +pub const BCRYPT_RSAPRIVATE_MAGIC: BCRYPT_RSAKEY_BLOB_MAGIC = 843141970u32; +pub const BCRYPT_RSAPUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RSAPUBLICBLOB"); +pub const BCRYPT_RSAPUBLIC_MAGIC: BCRYPT_RSAKEY_BLOB_MAGIC = 826364754u32; +pub const BCRYPT_RSA_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RSA"); +pub const BCRYPT_RSA_ALG_HANDLE: BCRYPT_ALG_HANDLE = 225u32 as _; +pub const BCRYPT_RSA_SIGN_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RSA_SIGN"); +pub const BCRYPT_RSA_SIGN_ALG_HANDLE: BCRYPT_ALG_HANDLE = 785u32 as _; +pub const BCRYPT_SECRET_AGREEMENT_INTERFACE: BCRYPT_INTERFACE = 4u32; +pub const BCRYPT_SECRET_AGREEMENT_OPERATION: BCRYPT_OPERATION = 8u32; +pub const BCRYPT_SHA1_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SHA1"); +pub const BCRYPT_SHA1_ALG_HANDLE: BCRYPT_ALG_HANDLE = 49u32 as _; +pub const BCRYPT_SHA256_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SHA256"); +pub const BCRYPT_SHA256_ALG_HANDLE: BCRYPT_ALG_HANDLE = 65u32 as _; +pub const BCRYPT_SHA384_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SHA384"); +pub const BCRYPT_SHA384_ALG_HANDLE: BCRYPT_ALG_HANDLE = 81u32 as _; +pub const BCRYPT_SHA512_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SHA512"); +pub const BCRYPT_SHA512_ALG_HANDLE: BCRYPT_ALG_HANDLE = 97u32 as _; +pub const BCRYPT_SIGNATURE_INTERFACE: BCRYPT_INTERFACE = 5u32; +pub const BCRYPT_SIGNATURE_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SignatureLength"); +pub const BCRYPT_SIGNATURE_OPERATION: BCRYPT_OPERATION = 16u32; +pub const BCRYPT_SP800108_CTR_HMAC_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SP800_108_CTR_HMAC"); +pub const BCRYPT_SP800108_CTR_HMAC_ALG_HANDLE: BCRYPT_ALG_HANDLE = 833u32 as _; +pub const BCRYPT_SP80056A_CONCAT_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SP800_56A_CONCAT"); +pub const BCRYPT_SP80056A_CONCAT_ALG_HANDLE: BCRYPT_ALG_HANDLE = 849u32 as _; +pub const BCRYPT_SUPPORTED_PAD_OAEP: u32 = 8u32; +pub const BCRYPT_SUPPORTED_PAD_PKCS1_ENC: u32 = 2u32; +pub const BCRYPT_SUPPORTED_PAD_PKCS1_SIG: u32 = 4u32; +pub const BCRYPT_SUPPORTED_PAD_PSS: u32 = 16u32; +pub const BCRYPT_SUPPORTED_PAD_ROUTER: u32 = 1u32; +pub const BCRYPT_TLS1_1_KDF_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TLS1_1_KDF"); +pub const BCRYPT_TLS1_1_KDF_ALG_HANDLE: BCRYPT_ALG_HANDLE = 865u32 as _; +pub const BCRYPT_TLS1_2_KDF_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TLS1_2_KDF"); +pub const BCRYPT_TLS1_2_KDF_ALG_HANDLE: BCRYPT_ALG_HANDLE = 881u32 as _; +pub const BCRYPT_TLS_CBC_HMAC_VERIFY_FLAG: u32 = 4u32; +pub const BCRYPT_USE_SYSTEM_PREFERRED_RNG: BCRYPTGENRANDOM_FLAGS = 2u32; +pub const BCRYPT_XTS_AES_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("XTS-AES"); +pub const BCRYPT_XTS_AES_ALG_HANDLE: BCRYPT_ALG_HANDLE = 897u32 as _; +pub const CALG_3DES: ALG_ID = 26115u32; +pub const CALG_3DES_112: ALG_ID = 26121u32; +pub const CALG_AES: ALG_ID = 26129u32; +pub const CALG_AES_128: ALG_ID = 26126u32; +pub const CALG_AES_192: ALG_ID = 26127u32; +pub const CALG_AES_256: ALG_ID = 26128u32; +pub const CALG_AGREEDKEY_ANY: ALG_ID = 43523u32; +pub const CALG_CYLINK_MEK: ALG_ID = 26124u32; +pub const CALG_DES: ALG_ID = 26113u32; +pub const CALG_DESX: ALG_ID = 26116u32; +pub const CALG_DH_EPHEM: ALG_ID = 43522u32; +pub const CALG_DH_SF: ALG_ID = 43521u32; +pub const CALG_DSS_SIGN: ALG_ID = 8704u32; +pub const CALG_ECDH: ALG_ID = 43525u32; +pub const CALG_ECDH_EPHEM: ALG_ID = 44550u32; +pub const CALG_ECDSA: ALG_ID = 8707u32; +pub const CALG_ECMQV: ALG_ID = 40961u32; +pub const CALG_HASH_REPLACE_OWF: ALG_ID = 32779u32; +pub const CALG_HMAC: ALG_ID = 32777u32; +pub const CALG_HUGHES_MD5: ALG_ID = 40963u32; +pub const CALG_KEA_KEYX: ALG_ID = 43524u32; +pub const CALG_MAC: ALG_ID = 32773u32; +pub const CALG_MD2: ALG_ID = 32769u32; +pub const CALG_MD4: ALG_ID = 32770u32; +pub const CALG_MD5: ALG_ID = 32771u32; +pub const CALG_NO_SIGN: ALG_ID = 8192u32; +pub const CALG_NULLCIPHER: ALG_ID = 24576u32; +pub const CALG_OID_INFO_CNG_ONLY: u32 = 4294967295u32; +pub const CALG_OID_INFO_PARAMETERS: u32 = 4294967294u32; +pub const CALG_PCT1_MASTER: ALG_ID = 19460u32; +pub const CALG_RC2: ALG_ID = 26114u32; +pub const CALG_RC4: ALG_ID = 26625u32; +pub const CALG_RC5: ALG_ID = 26125u32; +pub const CALG_RSA_KEYX: ALG_ID = 41984u32; +pub const CALG_RSA_SIGN: ALG_ID = 9216u32; +pub const CALG_SCHANNEL_ENC_KEY: ALG_ID = 19463u32; +pub const CALG_SCHANNEL_MAC_KEY: ALG_ID = 19459u32; +pub const CALG_SCHANNEL_MASTER_HASH: ALG_ID = 19458u32; +pub const CALG_SEAL: ALG_ID = 26626u32; +pub const CALG_SHA: ALG_ID = 32772u32; +pub const CALG_SHA1: ALG_ID = 32772u32; +pub const CALG_SHA_256: ALG_ID = 32780u32; +pub const CALG_SHA_384: ALG_ID = 32781u32; +pub const CALG_SHA_512: ALG_ID = 32782u32; +pub const CALG_SKIPJACK: ALG_ID = 26122u32; +pub const CALG_SSL2_MASTER: ALG_ID = 19461u32; +pub const CALG_SSL3_MASTER: ALG_ID = 19457u32; +pub const CALG_SSL3_SHAMD5: ALG_ID = 32776u32; +pub const CALG_TEK: ALG_ID = 26123u32; +pub const CALG_THIRDPARTY_CIPHER: ALG_ID = 28672u32; +pub const CALG_THIRDPARTY_HASH: ALG_ID = 36864u32; +pub const CALG_THIRDPARTY_KEY_EXCHANGE: ALG_ID = 45056u32; +pub const CALG_THIRDPARTY_SIGNATURE: ALG_ID = 12288u32; +pub const CALG_TLS1PRF: ALG_ID = 32778u32; +pub const CALG_TLS1_MASTER: ALG_ID = 19462u32; +pub const CCertSrvSetup: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x961f180f_f55c_413d_a9b3_7d2af4d8e42f); +pub const CCertSrvSetupKeyInformation: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x38373906_5433_4633_b0fb_29b7e78262e1); +pub const CCertificateEnrollmentPolicyServerSetup: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xafe2fa32_41b1_459d_a5de_49add8a72182); +pub const CCertificateEnrollmentServerSetup: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9902f3bc_88af_4cf8_ae62_7140531552b6); +pub const CERT_ACCESS_STATE_GP_SYSTEM_STORE_FLAG: u32 = 8u32; +pub const CERT_ACCESS_STATE_LM_SYSTEM_STORE_FLAG: u32 = 4u32; +pub const CERT_ACCESS_STATE_PROP_ID: u32 = 14u32; +pub const CERT_ACCESS_STATE_SHARED_USER_FLAG: u32 = 16u32; +pub const CERT_ACCESS_STATE_SYSTEM_STORE_FLAG: u32 = 2u32; +pub const CERT_ACCESS_STATE_WRITE_PERSIST_FLAG: u32 = 1u32; +pub const CERT_AIA_URL_RETRIEVED_PROP_ID: u32 = 67u32; +pub const CERT_ALT_NAME_EDI_PARTY_NAME: u32 = 6u32; +pub const CERT_ALT_NAME_ENTRY_ERR_INDEX_MASK: u32 = 255u32; +pub const CERT_ALT_NAME_ENTRY_ERR_INDEX_SHIFT: u32 = 16u32; +pub const CERT_ALT_NAME_VALUE_ERR_INDEX_MASK: u32 = 65535u32; +pub const CERT_ALT_NAME_VALUE_ERR_INDEX_SHIFT: u32 = 0u32; +pub const CERT_ALT_NAME_X400_ADDRESS: u32 = 4u32; +pub const CERT_ARCHIVED_KEY_HASH_PROP_ID: u32 = 65u32; +pub const CERT_ARCHIVED_PROP_ID: u32 = 19u32; +pub const CERT_AUTHORITY_INFO_ACCESS_PROP_ID: u32 = 68u32; +pub const CERT_AUTH_ROOT_AUTO_UPDATE_DISABLE_PARTIAL_CHAIN_LOGGING_FLAG: u32 = 2u32; +pub const CERT_AUTH_ROOT_AUTO_UPDATE_DISABLE_UNTRUSTED_ROOT_LOGGING_FLAG: u32 = 1u32; +pub const CERT_AUTH_ROOT_AUTO_UPDATE_ENCODED_CTL_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EncodedCtl"); +pub const CERT_AUTH_ROOT_AUTO_UPDATE_FLAGS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Flags"); +pub const CERT_AUTH_ROOT_AUTO_UPDATE_LAST_SYNC_TIME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LastSyncTime"); +pub const CERT_AUTH_ROOT_AUTO_UPDATE_ROOT_DIR_URL_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RootDirUrl"); +pub const CERT_AUTH_ROOT_AUTO_UPDATE_SYNC_DELTA_TIME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SyncDeltaTime"); +pub const CERT_AUTH_ROOT_CAB_FILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("authrootstl.cab"); +pub const CERT_AUTH_ROOT_CERT_EXT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".crt"); +pub const CERT_AUTH_ROOT_CTL_FILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("authroot.stl"); +pub const CERT_AUTH_ROOT_CTL_FILENAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("authroot.stl"); +pub const CERT_AUTH_ROOT_SEQ_FILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("authrootseq.txt"); +pub const CERT_AUTH_ROOT_SHA256_HASH_PROP_ID: u32 = 98u32; +pub const CERT_AUTO_ENROLL_PROP_ID: u32 = 21u32; +pub const CERT_AUTO_ENROLL_RETRY_PROP_ID: u32 = 66u32; +pub const CERT_AUTO_UPDATE_DISABLE_RANDOM_QUERY_STRING_FLAG: u32 = 4u32; +pub const CERT_AUTO_UPDATE_ROOT_DIR_URL_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RootDirUrl"); +pub const CERT_AUTO_UPDATE_SYNC_FROM_DIR_URL_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SyncFromDirUrl"); +pub const CERT_BACKED_UP_PROP_ID: u32 = 69u32; +pub const CERT_BIOMETRIC_OID_DATA_CHOICE: CERT_BIOMETRIC_DATA_TYPE = 2u32; +pub const CERT_BIOMETRIC_PICTURE_TYPE: u32 = 0u32; +pub const CERT_BIOMETRIC_PREDEFINED_DATA_CHOICE: CERT_BIOMETRIC_DATA_TYPE = 1u32; +pub const CERT_BIOMETRIC_SIGNATURE_TYPE: u32 = 1u32; +pub const CERT_BUNDLE_CERTIFICATE: u32 = 0u32; +pub const CERT_BUNDLE_CRL: u32 = 1u32; +pub const CERT_CASE_INSENSITIVE_IS_RDN_ATTRS_FLAG: u32 = 2u32; +pub const CERT_CA_DISABLE_CRL_PROP_ID: u32 = 82u32; +pub const CERT_CA_OCSP_AUTHORITY_INFO_ACCESS_PROP_ID: u32 = 81u32; +pub const CERT_CA_SUBJECT_FLAG: u32 = 128u32; +pub const CERT_CEP_PROP_ID: u32 = 87u32; +pub const CERT_CHAIN_AUTO_CURRENT_USER: u32 = 1u32; +pub const CERT_CHAIN_AUTO_FLAGS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AutoFlags"); +pub const CERT_CHAIN_AUTO_FLUSH_DISABLE_FLAG: u32 = 1u32; +pub const CERT_CHAIN_AUTO_FLUSH_FIRST_DELTA_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AutoFlushFirstDeltaSeconds"); +pub const CERT_CHAIN_AUTO_FLUSH_NEXT_DELTA_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AutoFlushNextDeltaSeconds"); +pub const CERT_CHAIN_AUTO_HPKP_RULE_INFO: u32 = 8u32; +pub const CERT_CHAIN_AUTO_IMPERSONATED: u32 = 3u32; +pub const CERT_CHAIN_AUTO_LOCAL_MACHINE: u32 = 2u32; +pub const CERT_CHAIN_AUTO_LOG_CREATE_FLAG: u32 = 2u32; +pub const CERT_CHAIN_AUTO_LOG_FILE_NAME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AutoLogFileName"); +pub const CERT_CHAIN_AUTO_LOG_FLUSH_FLAG: u32 = 8u32; +pub const CERT_CHAIN_AUTO_LOG_FREE_FLAG: u32 = 4u32; +pub const CERT_CHAIN_AUTO_NETWORK_INFO: u32 = 6u32; +pub const CERT_CHAIN_AUTO_PINRULE_INFO: u32 = 5u32; +pub const CERT_CHAIN_AUTO_PROCESS_INFO: u32 = 4u32; +pub const CERT_CHAIN_AUTO_SERIAL_LOCAL_MACHINE: u32 = 7u32; +pub const CERT_CHAIN_CACHE_END_CERT: u32 = 1u32; +pub const CERT_CHAIN_CACHE_ONLY_URL_RETRIEVAL: u32 = 4u32; +pub const CERT_CHAIN_CACHE_RESYNC_FILETIME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ChainCacheResyncFiletime"); +pub const CERT_CHAIN_CONFIG_REGPATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Software\\Microsoft\\Cryptography\\OID\\EncodingType 0\\CertDllCreateCertificateChainEngine\\Config"); +pub const CERT_CHAIN_CRL_VALIDITY_EXT_PERIOD_HOURS_DEFAULT: u32 = 12u32; +pub const CERT_CHAIN_CRL_VALIDITY_EXT_PERIOD_HOURS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CRLValidityExtensionPeriod"); +pub const CERT_CHAIN_CROSS_CERT_DOWNLOAD_INTERVAL_HOURS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CrossCertDownloadIntervalHours"); +pub const CERT_CHAIN_DEFAULT_CONFIG_SUBDIR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Default"); +pub const CERT_CHAIN_DISABLE_AIA: u32 = 8192u32; +pub const CERT_CHAIN_DISABLE_AIA_URL_RETRIEVAL_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisableAIAUrlRetrieval"); +pub const CERT_CHAIN_DISABLE_ALL_EKU_WEAK_FLAG: u32 = 65536u32; +pub const CERT_CHAIN_DISABLE_AUTH_ROOT_AUTO_UPDATE: u32 = 256u32; +pub const CERT_CHAIN_DISABLE_AUTO_FLUSH_PROCESS_NAME_LIST_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisableAutoFlushProcessNameList"); +pub const CERT_CHAIN_DISABLE_CA_NAME_CONSTRAINTS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisableCANameConstraints"); +pub const CERT_CHAIN_DISABLE_CODE_SIGNING_WEAK_FLAG: u32 = 4194304u32; +pub const CERT_CHAIN_DISABLE_ECC_PARA_FLAG: u32 = 16u32; +pub const CERT_CHAIN_DISABLE_FILE_HASH_WEAK_FLAG: u32 = 4096u32; +pub const CERT_CHAIN_DISABLE_MANDATORY_BASIC_CONSTRAINTS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisableMandatoryBasicConstraints"); +pub const CERT_CHAIN_DISABLE_MD2_MD4: u32 = 4096u32; +pub const CERT_CHAIN_DISABLE_MOTW_CODE_SIGNING_WEAK_FLAG: u32 = 8388608u32; +pub const CERT_CHAIN_DISABLE_MOTW_FILE_HASH_WEAK_FLAG: u32 = 8192u32; +pub const CERT_CHAIN_DISABLE_MOTW_TIMESTAMP_HASH_WEAK_FLAG: u32 = 32768u32; +pub const CERT_CHAIN_DISABLE_MOTW_TIMESTAMP_WEAK_FLAG: u32 = 134217728u32; +pub const CERT_CHAIN_DISABLE_MY_PEER_TRUST: u32 = 2048u32; +pub const CERT_CHAIN_DISABLE_OPT_IN_SERVER_AUTH_WEAK_FLAG: u32 = 262144u32; +pub const CERT_CHAIN_DISABLE_PASS1_QUALITY_FILTERING: u32 = 64u32; +pub const CERT_CHAIN_DISABLE_SERIAL_CHAIN_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisableSerialChain"); +pub const CERT_CHAIN_DISABLE_SERVER_AUTH_WEAK_FLAG: u32 = 1048576u32; +pub const CERT_CHAIN_DISABLE_SYNC_WITH_SSL_TIME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisableSyncWithSslTime"); +pub const CERT_CHAIN_DISABLE_TIMESTAMP_HASH_WEAK_FLAG: u32 = 16384u32; +pub const CERT_CHAIN_DISABLE_TIMESTAMP_WEAK_FLAG: u32 = 67108864u32; +pub const CERT_CHAIN_DISABLE_UNSUPPORTED_CRITICAL_EXTENSIONS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisableUnsupportedCriticalExtensions"); +pub const CERT_CHAIN_ENABLE_ALL_EKU_HYGIENE_FLAG: u32 = 131072u32; +pub const CERT_CHAIN_ENABLE_CACHE_AUTO_UPDATE: u32 = 16u32; +pub const CERT_CHAIN_ENABLE_CODE_SIGNING_HYGIENE_FLAG: u32 = 16777216u32; +pub const CERT_CHAIN_ENABLE_DISALLOWED_CA: u32 = 131072u32; +pub const CERT_CHAIN_ENABLE_MD2_MD4_FLAG: u32 = 1u32; +pub const CERT_CHAIN_ENABLE_MOTW_CODE_SIGNING_HYGIENE_FLAG: u32 = 33554432u32; +pub const CERT_CHAIN_ENABLE_MOTW_TIMESTAMP_HYGIENE_FLAG: u32 = 536870912u32; +pub const CERT_CHAIN_ENABLE_ONLY_WEAK_LOGGING_FLAG: u32 = 8u32; +pub const CERT_CHAIN_ENABLE_PEER_TRUST: u32 = 1024u32; +pub const CERT_CHAIN_ENABLE_SERVER_AUTH_HYGIENE_FLAG: u32 = 2097152u32; +pub const CERT_CHAIN_ENABLE_SHARE_STORE: u32 = 32u32; +pub const CERT_CHAIN_ENABLE_TIMESTAMP_HYGIENE_FLAG: u32 = 268435456u32; +pub const CERT_CHAIN_ENABLE_WEAK_LOGGING_FLAG: u32 = 4u32; +pub const CERT_CHAIN_ENABLE_WEAK_RSA_ROOT_FLAG: u32 = 2u32; +pub const CERT_CHAIN_ENABLE_WEAK_SETTINGS_FLAG: u32 = 2147483648u32; +pub const CERT_CHAIN_ENABLE_WEAK_SIGNATURE_FLAGS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EnableWeakSignatureFlags"); +pub const CERT_CHAIN_EXCLUSIVE_ENABLE_CA_FLAG: u32 = 1u32; +pub const CERT_CHAIN_FIND_BY_ISSUER: u32 = 1u32; +pub const CERT_CHAIN_FIND_BY_ISSUER_CACHE_ONLY_FLAG: CERT_FIND_CHAIN_IN_STORE_FLAGS = 32768u32; +pub const CERT_CHAIN_FIND_BY_ISSUER_CACHE_ONLY_URL_FLAG: CERT_FIND_CHAIN_IN_STORE_FLAGS = 4u32; +pub const CERT_CHAIN_FIND_BY_ISSUER_COMPARE_KEY_FLAG: CERT_FIND_CHAIN_IN_STORE_FLAGS = 1u32; +pub const CERT_CHAIN_FIND_BY_ISSUER_COMPLEX_CHAIN_FLAG: CERT_FIND_CHAIN_IN_STORE_FLAGS = 2u32; +pub const CERT_CHAIN_FIND_BY_ISSUER_LOCAL_MACHINE_FLAG: CERT_FIND_CHAIN_IN_STORE_FLAGS = 8u32; +pub const CERT_CHAIN_FIND_BY_ISSUER_NO_KEY_FLAG: CERT_FIND_CHAIN_IN_STORE_FLAGS = 16384u32; +pub const CERT_CHAIN_HAS_MOTW: u32 = 16384u32; +pub const CERT_CHAIN_MAX_AIA_URL_COUNT_IN_CERT_DEFAULT: u32 = 5u32; +pub const CERT_CHAIN_MAX_AIA_URL_COUNT_IN_CERT_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxAIAUrlCountInCert"); +pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_BYTE_COUNT_DEFAULT: u32 = 100000u32; +pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_BYTE_COUNT_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxAIAUrlRetrievalByteCount"); +pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_CERT_COUNT_DEFAULT: u32 = 10u32; +pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_CERT_COUNT_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxAIAUrlRetrievalCertCount"); +pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_COUNT_PER_CHAIN_DEFAULT: u32 = 3u32; +pub const CERT_CHAIN_MAX_AIA_URL_RETRIEVAL_COUNT_PER_CHAIN_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxAIAUrlRetrievalCountPerChain"); +pub const CERT_CHAIN_MAX_SSL_TIME_UPDATED_EVENT_COUNT_DEFAULT: u32 = 5u32; +pub const CERT_CHAIN_MAX_SSL_TIME_UPDATED_EVENT_COUNT_DISABLE: u32 = 4294967295u32; +pub const CERT_CHAIN_MAX_SSL_TIME_UPDATED_EVENT_COUNT_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxSslTimeUpdatedEventCount"); +pub const CERT_CHAIN_MAX_URL_RETRIEVAL_BYTE_COUNT_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxUrlRetrievalByteCount"); +pub const CERT_CHAIN_MIN_PUB_KEY_BIT_LENGTH_DISABLE: u32 = 4294967295u32; +pub const CERT_CHAIN_MIN_RSA_PUB_KEY_BIT_LENGTH_DEFAULT: u32 = 1023u32; +pub const CERT_CHAIN_MIN_RSA_PUB_KEY_BIT_LENGTH_DISABLE: u32 = 4294967295u32; +pub const CERT_CHAIN_MIN_RSA_PUB_KEY_BIT_LENGTH_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MinRsaPubKeyBitLength"); +pub const CERT_CHAIN_MOTW_IGNORE_AFTER_TIME_WEAK_FLAG: u32 = 1073741824u32; +pub const CERT_CHAIN_OCSP_VALIDITY_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("OcspValiditySeconds"); +pub const CERT_CHAIN_ONLY_ADDITIONAL_AND_AUTH_ROOT: u32 = 32768u32; +pub const CERT_CHAIN_OPTIONS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Options"); +pub const CERT_CHAIN_OPTION_DISABLE_AIA_URL_RETRIEVAL: u32 = 2u32; +pub const CERT_CHAIN_OPTION_ENABLE_SIA_URL_RETRIEVAL: u32 = 4u32; +pub const CERT_CHAIN_OPT_IN_WEAK_FLAGS: u32 = 262144u32; +pub const CERT_CHAIN_OPT_IN_WEAK_SIGNATURE: u32 = 65536u32; +pub const CERT_CHAIN_POLICY_ALLOW_TESTROOT_FLAG: CERT_CHAIN_POLICY_FLAGS = 32768u32; +pub const CERT_CHAIN_POLICY_ALLOW_UNKNOWN_CA_FLAG: CERT_CHAIN_POLICY_FLAGS = 16u32; +pub const CERT_CHAIN_POLICY_AUTHENTICODE: ::windows_sys::core::PCSTR = 2i32 as _; +pub const CERT_CHAIN_POLICY_AUTHENTICODE_TS: ::windows_sys::core::PCSTR = 3i32 as _; +pub const CERT_CHAIN_POLICY_BASE: ::windows_sys::core::PCSTR = 1i32 as _; +pub const CERT_CHAIN_POLICY_BASIC_CONSTRAINTS: ::windows_sys::core::PCSTR = 5i32 as _; +pub const CERT_CHAIN_POLICY_EV: ::windows_sys::core::PCSTR = 8i32 as _; +pub const CERT_CHAIN_POLICY_IGNORE_ALL_NOT_TIME_VALID_FLAGS: CERT_CHAIN_POLICY_FLAGS = 7u32; +pub const CERT_CHAIN_POLICY_IGNORE_ALL_REV_UNKNOWN_FLAGS: CERT_CHAIN_POLICY_FLAGS = 3840u32; +pub const CERT_CHAIN_POLICY_IGNORE_CA_REV_UNKNOWN_FLAG: CERT_CHAIN_POLICY_FLAGS = 1024u32; +pub const CERT_CHAIN_POLICY_IGNORE_CTL_NOT_TIME_VALID_FLAG: CERT_CHAIN_POLICY_FLAGS = 2u32; +pub const CERT_CHAIN_POLICY_IGNORE_CTL_SIGNER_REV_UNKNOWN_FLAG: CERT_CHAIN_POLICY_FLAGS = 512u32; +pub const CERT_CHAIN_POLICY_IGNORE_END_REV_UNKNOWN_FLAG: CERT_CHAIN_POLICY_FLAGS = 256u32; +pub const CERT_CHAIN_POLICY_IGNORE_INVALID_BASIC_CONSTRAINTS_FLAG: CERT_CHAIN_POLICY_FLAGS = 8u32; +pub const CERT_CHAIN_POLICY_IGNORE_INVALID_NAME_FLAG: CERT_CHAIN_POLICY_FLAGS = 64u32; +pub const CERT_CHAIN_POLICY_IGNORE_INVALID_POLICY_FLAG: CERT_CHAIN_POLICY_FLAGS = 128u32; +pub const CERT_CHAIN_POLICY_IGNORE_NOT_SUPPORTED_CRITICAL_EXT_FLAG: CERT_CHAIN_POLICY_FLAGS = 8192u32; +pub const CERT_CHAIN_POLICY_IGNORE_NOT_TIME_NESTED_FLAG: CERT_CHAIN_POLICY_FLAGS = 4u32; +pub const CERT_CHAIN_POLICY_IGNORE_NOT_TIME_VALID_FLAG: CERT_CHAIN_POLICY_FLAGS = 1u32; +pub const CERT_CHAIN_POLICY_IGNORE_PEER_TRUST_FLAG: CERT_CHAIN_POLICY_FLAGS = 4096u32; +pub const CERT_CHAIN_POLICY_IGNORE_ROOT_REV_UNKNOWN_FLAG: CERT_CHAIN_POLICY_FLAGS = 2048u32; +pub const CERT_CHAIN_POLICY_IGNORE_WEAK_SIGNATURE_FLAG: u32 = 134217728u32; +pub const CERT_CHAIN_POLICY_IGNORE_WRONG_USAGE_FLAG: CERT_CHAIN_POLICY_FLAGS = 32u32; +pub const CERT_CHAIN_POLICY_MICROSOFT_ROOT: ::windows_sys::core::PCSTR = 7i32 as _; +pub const CERT_CHAIN_POLICY_NT_AUTH: ::windows_sys::core::PCSTR = 6i32 as _; +pub const CERT_CHAIN_POLICY_SSL: ::windows_sys::core::PCSTR = 4i32 as _; +pub const CERT_CHAIN_POLICY_SSL_F12: ::windows_sys::core::PCSTR = 9i32 as _; +pub const CERT_CHAIN_POLICY_SSL_F12_ERROR_LEVEL: u32 = 2u32; +pub const CERT_CHAIN_POLICY_SSL_F12_NONE_CATEGORY: u32 = 0u32; +pub const CERT_CHAIN_POLICY_SSL_F12_ROOT_PROGRAM_CATEGORY: u32 = 2u32; +pub const CERT_CHAIN_POLICY_SSL_F12_SUCCESS_LEVEL: u32 = 0u32; +pub const CERT_CHAIN_POLICY_SSL_F12_WARNING_LEVEL: u32 = 1u32; +pub const CERT_CHAIN_POLICY_SSL_F12_WEAK_CRYPTO_CATEGORY: u32 = 1u32; +pub const CERT_CHAIN_POLICY_SSL_HPKP_HEADER: ::windows_sys::core::PCSTR = 10i32 as _; +pub const CERT_CHAIN_POLICY_SSL_KEY_PIN: ::windows_sys::core::PCSTR = 12i32 as _; +pub const CERT_CHAIN_POLICY_SSL_KEY_PIN_MISMATCH_ERROR: i32 = -2i32; +pub const CERT_CHAIN_POLICY_SSL_KEY_PIN_MISMATCH_WARNING: u32 = 2u32; +pub const CERT_CHAIN_POLICY_SSL_KEY_PIN_MITM_ERROR: i32 = -1i32; +pub const CERT_CHAIN_POLICY_SSL_KEY_PIN_MITM_WARNING: u32 = 1u32; +pub const CERT_CHAIN_POLICY_SSL_KEY_PIN_SUCCESS: u32 = 0u32; +pub const CERT_CHAIN_POLICY_THIRD_PARTY_ROOT: ::windows_sys::core::PCSTR = 11i32 as _; +pub const CERT_CHAIN_POLICY_TRUST_TESTROOT_FLAG: CERT_CHAIN_POLICY_FLAGS = 16384u32; +pub const CERT_CHAIN_RETURN_LOWER_QUALITY_CONTEXTS: u32 = 128u32; +pub const CERT_CHAIN_REVOCATION_ACCUMULATIVE_TIMEOUT: u32 = 134217728u32; +pub const CERT_CHAIN_REVOCATION_CHECK_CACHE_ONLY: u32 = 2147483648u32; +pub const CERT_CHAIN_REVOCATION_CHECK_CHAIN: u32 = 536870912u32; +pub const CERT_CHAIN_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT: u32 = 1073741824u32; +pub const CERT_CHAIN_REVOCATION_CHECK_END_CERT: u32 = 268435456u32; +pub const CERT_CHAIN_REVOCATION_CHECK_OCSP_CERT: u32 = 67108864u32; +pub const CERT_CHAIN_REV_ACCUMULATIVE_URL_RETRIEVAL_TIMEOUT_MILLISECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ChainRevAccumulativeUrlRetrievalTimeoutMilliseconds"); +pub const CERT_CHAIN_SERIAL_CHAIN_LOG_FILE_NAME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SerialChainLogFileName"); +pub const CERT_CHAIN_SSL_HANDSHAKE_LOG_FILE_NAME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SslHandshakeLogFileName"); +pub const CERT_CHAIN_STRONG_SIGN_DISABLE_END_CHECK_FLAG: u32 = 1u32; +pub const CERT_CHAIN_THREAD_STORE_SYNC: u32 = 2u32; +pub const CERT_CHAIN_TIMESTAMP_TIME: u32 = 512u32; +pub const CERT_CHAIN_URL_RETRIEVAL_TIMEOUT_MILLISECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ChainUrlRetrievalTimeoutMilliseconds"); +pub const CERT_CHAIN_USE_LOCAL_MACHINE_STORE: u32 = 8u32; +pub const CERT_CHAIN_WEAK_AFTER_TIME_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AfterTime"); +pub const CERT_CHAIN_WEAK_ALL_CONFIG_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("All"); +pub const CERT_CHAIN_WEAK_FILE_HASH_AFTER_TIME_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FileHashAfterTime"); +pub const CERT_CHAIN_WEAK_FLAGS_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Flags"); +pub const CERT_CHAIN_WEAK_HYGIENE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Hygiene"); +pub const CERT_CHAIN_WEAK_MIN_BIT_LENGTH_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MinBitLength"); +pub const CERT_CHAIN_WEAK_PREFIX_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Weak"); +pub const CERT_CHAIN_WEAK_RSA_PUB_KEY_TIME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WeakRsaPubKeyTime"); +pub const CERT_CHAIN_WEAK_SHA256_ALLOW_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Sha256Allow"); +pub const CERT_CHAIN_WEAK_SIGNATURE_LOG_DIR_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WeakSignatureLogDir"); +pub const CERT_CHAIN_WEAK_THIRD_PARTY_CONFIG_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ThirdParty"); +pub const CERT_CHAIN_WEAK_TIMESTAMP_HASH_AFTER_TIME_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TimestampHashAfterTime"); +pub const CERT_CLOSE_STORE_CHECK_FLAG: u32 = 2u32; +pub const CERT_CLOSE_STORE_FORCE_FLAG: u32 = 1u32; +pub const CERT_CLR_DELETE_KEY_PROP_ID: u32 = 125u32; +pub const CERT_COMPARE_ANY: u32 = 0u32; +pub const CERT_COMPARE_ATTR: u32 = 3u32; +pub const CERT_COMPARE_CERT_ID: u32 = 16u32; +pub const CERT_COMPARE_CROSS_CERT_DIST_POINTS: u32 = 17u32; +pub const CERT_COMPARE_CTL_USAGE: u32 = 10u32; +pub const CERT_COMPARE_ENHKEY_USAGE: u32 = 10u32; +pub const CERT_COMPARE_EXISTING: u32 = 13u32; +pub const CERT_COMPARE_HASH: u32 = 1u32; +pub const CERT_COMPARE_HASH_STR: u32 = 20u32; +pub const CERT_COMPARE_HAS_PRIVATE_KEY: u32 = 21u32; +pub const CERT_COMPARE_ISSUER_OF: u32 = 12u32; +pub const CERT_COMPARE_KEY_IDENTIFIER: u32 = 15u32; +pub const CERT_COMPARE_KEY_SPEC: u32 = 9u32; +pub const CERT_COMPARE_MASK: u32 = 65535u32; +pub const CERT_COMPARE_MD5_HASH: u32 = 4u32; +pub const CERT_COMPARE_NAME: u32 = 2u32; +pub const CERT_COMPARE_NAME_STR_A: u32 = 7u32; +pub const CERT_COMPARE_NAME_STR_W: u32 = 8u32; +pub const CERT_COMPARE_PROPERTY: u32 = 5u32; +pub const CERT_COMPARE_PUBKEY_MD5_HASH: u32 = 18u32; +pub const CERT_COMPARE_PUBLIC_KEY: u32 = 6u32; +pub const CERT_COMPARE_SHA1_HASH: u32 = 1u32; +pub const CERT_COMPARE_SHIFT: i32 = 16i32; +pub const CERT_COMPARE_SIGNATURE_HASH: u32 = 14u32; +pub const CERT_COMPARE_SUBJECT_CERT: u32 = 11u32; +pub const CERT_COMPARE_SUBJECT_INFO_ACCESS: u32 = 19u32; +pub const CERT_CONTEXT_REVOCATION_TYPE: u32 = 1u32; +pub const CERT_CREATE_CONTEXT_NOCOPY_FLAG: u32 = 1u32; +pub const CERT_CREATE_CONTEXT_NO_ENTRY_FLAG: u32 = 8u32; +pub const CERT_CREATE_CONTEXT_NO_HCRYPTMSG_FLAG: u32 = 4u32; +pub const CERT_CREATE_CONTEXT_SORTED_FLAG: u32 = 2u32; +pub const CERT_CREATE_SELFSIGN_NO_KEY_INFO: CERT_CREATE_SELFSIGN_FLAGS = 2u32; +pub const CERT_CREATE_SELFSIGN_NO_SIGN: CERT_CREATE_SELFSIGN_FLAGS = 1u32; +pub const CERT_CRL_SIGN_KEY_USAGE: u32 = 2u32; +pub const CERT_CROSS_CERT_DIST_POINTS_PROP_ID: u32 = 23u32; +pub const CERT_CTL_USAGE_PROP_ID: u32 = 9u32; +pub const CERT_DATA_ENCIPHERMENT_KEY_USAGE: u32 = 16u32; +pub const CERT_DATE_STAMP_PROP_ID: u32 = 27u32; +pub const CERT_DECIPHER_ONLY_KEY_USAGE: u32 = 128u32; +pub const CERT_DEFAULT_OID_PUBLIC_KEY_SIGN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113549.1.1.1"); +pub const CERT_DEFAULT_OID_PUBLIC_KEY_XCHG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113549.1.1.1"); +pub const CERT_DESCRIPTION_PROP_ID: u32 = 13u32; +pub const CERT_DIGITAL_SIGNATURE_KEY_USAGE: u32 = 128u32; +pub const CERT_DISABLE_PIN_RULES_AUTO_UPDATE_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisablePinRulesAutoUpdate"); +pub const CERT_DISABLE_ROOT_AUTO_UPDATE_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisableRootAutoUpdate"); +pub const CERT_DISALLOWED_CA_FILETIME_PROP_ID: u32 = 128u32; +pub const CERT_DISALLOWED_CERT_AUTO_UPDATE_ENCODED_CTL_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisallowedCertEncodedCtl"); +pub const CERT_DISALLOWED_CERT_AUTO_UPDATE_LAST_SYNC_TIME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisallowedCertLastSyncTime"); +pub const CERT_DISALLOWED_CERT_AUTO_UPDATE_LIST_IDENTIFIER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisallowedCert_AutoUpdate_1"); +pub const CERT_DISALLOWED_CERT_AUTO_UPDATE_SYNC_DELTA_TIME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisallowedCertSyncDeltaTime"); +pub const CERT_DISALLOWED_CERT_CAB_FILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("disallowedcertstl.cab"); +pub const CERT_DISALLOWED_CERT_CTL_FILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("disallowedcert.stl"); +pub const CERT_DISALLOWED_CERT_CTL_FILENAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("disallowedcert.stl"); +pub const CERT_DISALLOWED_ENHKEY_USAGE_PROP_ID: u32 = 122u32; +pub const CERT_DISALLOWED_FILETIME_PROP_ID: u32 = 104u32; +pub const CERT_DSS_R_LEN: u32 = 20u32; +pub const CERT_DSS_S_LEN: u32 = 20u32; +pub const CERT_EFSBLOB_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EFSBlob"); +pub const CERT_EFS_PROP_ID: u32 = 17u32; +pub const CERT_ENABLE_DISALLOWED_CERT_AUTO_UPDATE_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EnableDisallowedCertAutoUpdate"); +pub const CERT_ENCIPHER_ONLY_KEY_USAGE: u32 = 1u32; +pub const CERT_ENCODING_TYPE_MASK: u32 = 65535u32; +pub const CERT_END_ENTITY_SUBJECT_FLAG: u32 = 64u32; +pub const CERT_ENHKEY_USAGE_PROP_ID: u32 = 9u32; +pub const CERT_ENROLLMENT_PROP_ID: u32 = 26u32; +pub const CERT_EXCLUDED_SUBTREE_BIT: i32 = -2147483648i32; +pub const CERT_EXTENDED_ERROR_INFO_PROP_ID: u32 = 30u32; +pub const CERT_FILE_HASH_USE_TYPE: u32 = 1u32; +pub const CERT_FILE_STORE_COMMIT_ENABLE_FLAG: u32 = 65536u32; +pub const CERT_FIND_ANY: CERT_FIND_FLAGS = 0u32; +pub const CERT_FIND_CERT_ID: CERT_FIND_FLAGS = 1048576u32; +pub const CERT_FIND_CROSS_CERT_DIST_POINTS: CERT_FIND_FLAGS = 1114112u32; +pub const CERT_FIND_CTL_USAGE: CERT_FIND_FLAGS = 655360u32; +pub const CERT_FIND_ENHKEY_USAGE: CERT_FIND_FLAGS = 655360u32; +pub const CERT_FIND_EXISTING: CERT_FIND_FLAGS = 851968u32; +pub const CERT_FIND_EXT_ONLY_CTL_USAGE_FLAG: CERT_FIND_FLAGS = 2u32; +pub const CERT_FIND_EXT_ONLY_ENHKEY_USAGE_FLAG: CERT_FIND_FLAGS = 2u32; +pub const CERT_FIND_HASH: CERT_FIND_FLAGS = 65536u32; +pub const CERT_FIND_HASH_STR: CERT_FIND_FLAGS = 1310720u32; +pub const CERT_FIND_HAS_PRIVATE_KEY: CERT_FIND_FLAGS = 1376256u32; +pub const CERT_FIND_ISSUER_ATTR: CERT_FIND_FLAGS = 196612u32; +pub const CERT_FIND_ISSUER_NAME: CERT_FIND_FLAGS = 131076u32; +pub const CERT_FIND_ISSUER_OF: CERT_FIND_FLAGS = 786432u32; +pub const CERT_FIND_ISSUER_STR: CERT_FIND_FLAGS = 524292u32; +pub const CERT_FIND_ISSUER_STR_A: CERT_FIND_FLAGS = 458756u32; +pub const CERT_FIND_ISSUER_STR_W: CERT_FIND_FLAGS = 524292u32; +pub const CERT_FIND_KEY_IDENTIFIER: CERT_FIND_FLAGS = 983040u32; +pub const CERT_FIND_KEY_SPEC: CERT_FIND_FLAGS = 589824u32; +pub const CERT_FIND_MD5_HASH: CERT_FIND_FLAGS = 262144u32; +pub const CERT_FIND_NO_CTL_USAGE_FLAG: CERT_FIND_FLAGS = 8u32; +pub const CERT_FIND_NO_ENHKEY_USAGE_FLAG: CERT_FIND_FLAGS = 8u32; +pub const CERT_FIND_OPTIONAL_CTL_USAGE_FLAG: CERT_FIND_FLAGS = 1u32; +pub const CERT_FIND_OPTIONAL_ENHKEY_USAGE_FLAG: CERT_FIND_FLAGS = 1u32; +pub const CERT_FIND_OR_CTL_USAGE_FLAG: CERT_FIND_FLAGS = 16u32; +pub const CERT_FIND_OR_ENHKEY_USAGE_FLAG: CERT_FIND_FLAGS = 16u32; +pub const CERT_FIND_PROPERTY: CERT_FIND_FLAGS = 327680u32; +pub const CERT_FIND_PROP_ONLY_CTL_USAGE_FLAG: CERT_FIND_FLAGS = 4u32; +pub const CERT_FIND_PROP_ONLY_ENHKEY_USAGE_FLAG: CERT_FIND_FLAGS = 4u32; +pub const CERT_FIND_PUBKEY_MD5_HASH: CERT_FIND_FLAGS = 1179648u32; +pub const CERT_FIND_PUBLIC_KEY: CERT_FIND_FLAGS = 393216u32; +pub const CERT_FIND_SHA1_HASH: CERT_FIND_FLAGS = 65536u32; +pub const CERT_FIND_SIGNATURE_HASH: CERT_FIND_FLAGS = 917504u32; +pub const CERT_FIND_SUBJECT_ATTR: CERT_FIND_FLAGS = 196615u32; +pub const CERT_FIND_SUBJECT_CERT: CERT_FIND_FLAGS = 720896u32; +pub const CERT_FIND_SUBJECT_INFO_ACCESS: CERT_FIND_FLAGS = 1245184u32; +pub const CERT_FIND_SUBJECT_NAME: CERT_FIND_FLAGS = 131079u32; +pub const CERT_FIND_SUBJECT_STR: CERT_FIND_FLAGS = 524295u32; +pub const CERT_FIND_SUBJECT_STR_A: CERT_FIND_FLAGS = 458759u32; +pub const CERT_FIND_SUBJECT_STR_W: CERT_FIND_FLAGS = 524295u32; +pub const CERT_FIND_VALID_CTL_USAGE_FLAG: CERT_FIND_FLAGS = 32u32; +pub const CERT_FIND_VALID_ENHKEY_USAGE_FLAG: CERT_FIND_FLAGS = 32u32; +pub const CERT_FIRST_RESERVED_PROP_ID: u32 = 129u32; +pub const CERT_FIRST_USER_PROP_ID: u32 = 32768u32; +pub const CERT_FORTEZZA_DATA_PROP_ID: u32 = 18u32; +pub const CERT_FRIENDLY_NAME_PROP_ID: u32 = 11u32; +pub const CERT_GROUP_POLICY_SYSTEM_STORE_REGPATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Software\\Policies\\Microsoft\\SystemCertificates"); +pub const CERT_HASH_PROP_ID: u32 = 3u32; +pub const CERT_HCRYPTPROV_OR_NCRYPT_KEY_HANDLE_PROP_ID: u32 = 79u32; +pub const CERT_HCRYPTPROV_TRANSFER_PROP_ID: u32 = 100u32; +pub const CERT_ID_ISSUER_SERIAL_NUMBER: CERT_ID_OPTION = 1u32; +pub const CERT_ID_KEY_IDENTIFIER: CERT_ID_OPTION = 2u32; +pub const CERT_ID_SHA1_HASH: CERT_ID_OPTION = 3u32; +pub const CERT_IE30_RESERVED_PROP_ID: u32 = 7u32; +pub const CERT_IE_DIRTY_FLAGS_REGPATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Software\\Microsoft\\Cryptography\\IEDirtyFlags"); +pub const CERT_INFO_EXTENSION_FLAG: u32 = 11u32; +pub const CERT_INFO_ISSUER_FLAG: u32 = 4u32; +pub const CERT_INFO_ISSUER_UNIQUE_ID_FLAG: u32 = 9u32; +pub const CERT_INFO_NOT_AFTER_FLAG: u32 = 6u32; +pub const CERT_INFO_NOT_BEFORE_FLAG: u32 = 5u32; +pub const CERT_INFO_SERIAL_NUMBER_FLAG: u32 = 2u32; +pub const CERT_INFO_SIGNATURE_ALGORITHM_FLAG: u32 = 3u32; +pub const CERT_INFO_SUBJECT_FLAG: u32 = 7u32; +pub const CERT_INFO_SUBJECT_PUBLIC_KEY_INFO_FLAG: u32 = 8u32; +pub const CERT_INFO_SUBJECT_UNIQUE_ID_FLAG: u32 = 10u32; +pub const CERT_INFO_VERSION_FLAG: u32 = 1u32; +pub const CERT_ISOLATED_KEY_PROP_ID: u32 = 118u32; +pub const CERT_ISSUER_CHAIN_PUB_KEY_CNG_ALG_BIT_LENGTH_PROP_ID: u32 = 96u32; +pub const CERT_ISSUER_CHAIN_SIGN_HASH_CNG_ALG_PROP_ID: u32 = 95u32; +pub const CERT_ISSUER_PUBLIC_KEY_MD5_HASH_PROP_ID: u32 = 24u32; +pub const CERT_ISSUER_PUB_KEY_BIT_LENGTH_PROP_ID: u32 = 94u32; +pub const CERT_ISSUER_SERIAL_NUMBER_MD5_HASH_PROP_ID: u32 = 28u32; +pub const CERT_KEYGEN_REQUEST_V1: u32 = 0u32; +pub const CERT_KEY_AGREEMENT_KEY_USAGE: u32 = 8u32; +pub const CERT_KEY_CERT_SIGN_KEY_USAGE: u32 = 4u32; +pub const CERT_KEY_CLASSIFICATION_PROP_ID: u32 = 120u32; +pub const CERT_KEY_CONTEXT_PROP_ID: u32 = 5u32; +pub const CERT_KEY_ENCIPHERMENT_KEY_USAGE: u32 = 32u32; +pub const CERT_KEY_IDENTIFIER_PROP_ID: u32 = 20u32; +pub const CERT_KEY_PROV_HANDLE_PROP_ID: u32 = 1u32; +pub const CERT_KEY_PROV_INFO_PROP_ID: u32 = 2u32; +pub const CERT_KEY_REPAIR_ATTEMPTED_PROP_ID: u32 = 103u32; +pub const CERT_KEY_SPEC_PROP_ID: u32 = 6u32; +pub const CERT_LAST_RESERVED_PROP_ID: u32 = 32767u32; +pub const CERT_LAST_USER_PROP_ID: u32 = 65535u32; +pub const CERT_LDAP_STORE_AREC_EXCLUSIVE_FLAG: u32 = 131072u32; +pub const CERT_LDAP_STORE_OPENED_FLAG: u32 = 262144u32; +pub const CERT_LDAP_STORE_SIGN_FLAG: u32 = 65536u32; +pub const CERT_LDAP_STORE_UNBIND_FLAG: u32 = 524288u32; +pub const CERT_LOCAL_MACHINE_SYSTEM_STORE_REGPATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Software\\Microsoft\\SystemCertificates"); +pub const CERT_LOGOTYPE_BITS_IMAGE_RESOLUTION_CHOICE: CERT_LOGOTYPE_CHOICE = 1u32; +pub const CERT_LOGOTYPE_COLOR_IMAGE_INFO_CHOICE: CERT_LOGOTYPE_IMAGE_INFO_TYPE = 2u32; +pub const CERT_LOGOTYPE_DIRECT_INFO_CHOICE: CERT_LOGOTYPE_OPTION = 1u32; +pub const CERT_LOGOTYPE_GRAY_SCALE_IMAGE_INFO_CHOICE: CERT_LOGOTYPE_IMAGE_INFO_TYPE = 1u32; +pub const CERT_LOGOTYPE_INDIRECT_INFO_CHOICE: CERT_LOGOTYPE_OPTION = 2u32; +pub const CERT_LOGOTYPE_NO_IMAGE_RESOLUTION_CHOICE: CERT_LOGOTYPE_CHOICE = 0u32; +pub const CERT_LOGOTYPE_TABLE_SIZE_IMAGE_RESOLUTION_CHOICE: CERT_LOGOTYPE_CHOICE = 2u32; +pub const CERT_MD5_HASH_PROP_ID: u32 = 4u32; +pub const CERT_NAME_ATTR_TYPE: u32 = 3u32; +pub const CERT_NAME_DISABLE_IE4_UTF8_FLAG: u32 = 65536u32; +pub const CERT_NAME_DNS_TYPE: u32 = 6u32; +pub const CERT_NAME_EMAIL_TYPE: u32 = 1u32; +pub const CERT_NAME_FRIENDLY_DISPLAY_TYPE: u32 = 5u32; +pub const CERT_NAME_ISSUER_FLAG: u32 = 1u32; +pub const CERT_NAME_RDN_TYPE: u32 = 2u32; +pub const CERT_NAME_SEARCH_ALL_NAMES_FLAG: u32 = 2u32; +pub const CERT_NAME_SIMPLE_DISPLAY_TYPE: u32 = 4u32; +pub const CERT_NAME_STR_COMMA_FLAG: u32 = 67108864u32; +pub const CERT_NAME_STR_CRLF_FLAG: u32 = 134217728u32; +pub const CERT_NAME_STR_DISABLE_IE4_UTF8_FLAG: u32 = 65536u32; +pub const CERT_NAME_STR_DISABLE_UTF8_DIR_STR_FLAG: u32 = 1048576u32; +pub const CERT_NAME_STR_ENABLE_PUNYCODE_FLAG: u32 = 2097152u32; +pub const CERT_NAME_STR_ENABLE_T61_UNICODE_FLAG: u32 = 131072u32; +pub const CERT_NAME_STR_ENABLE_UTF8_UNICODE_FLAG: u32 = 262144u32; +pub const CERT_NAME_STR_FORCE_UTF8_DIR_STR_FLAG: u32 = 524288u32; +pub const CERT_NAME_STR_FORWARD_FLAG: u32 = 16777216u32; +pub const CERT_NAME_STR_NO_PLUS_FLAG: u32 = 536870912u32; +pub const CERT_NAME_STR_NO_QUOTING_FLAG: u32 = 268435456u32; +pub const CERT_NAME_STR_REVERSE_FLAG: u32 = 33554432u32; +pub const CERT_NAME_STR_SEMICOLON_FLAG: u32 = 1073741824u32; +pub const CERT_NAME_UPN_TYPE: u32 = 8u32; +pub const CERT_NAME_URL_TYPE: u32 = 7u32; +pub const CERT_NCRYPT_KEY_HANDLE_PROP_ID: u32 = 78u32; +pub const CERT_NCRYPT_KEY_HANDLE_TRANSFER_PROP_ID: u32 = 99u32; +pub const CERT_NCRYPT_KEY_SPEC: CERT_KEY_SPEC = 4294967295u32; +pub const CERT_NEW_KEY_PROP_ID: u32 = 74u32; +pub const CERT_NEXT_UPDATE_LOCATION_PROP_ID: u32 = 10u32; +pub const CERT_NONCOMPLIANT_ROOT_URL_PROP_ID: u32 = 123u32; +pub const CERT_NON_REPUDIATION_KEY_USAGE: u32 = 64u32; +pub const CERT_NOT_BEFORE_ENHKEY_USAGE_PROP_ID: u32 = 127u32; +pub const CERT_NOT_BEFORE_FILETIME_PROP_ID: u32 = 126u32; +pub const CERT_NO_AUTO_EXPIRE_CHECK_PROP_ID: u32 = 77u32; +pub const CERT_NO_EXPIRE_NOTIFICATION_PROP_ID: u32 = 97u32; +pub const CERT_OCM_SUBCOMPONENTS_LOCAL_MACHINE_REGPATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Setup\\OC Manager\\Subcomponents"); +pub const CERT_OCM_SUBCOMPONENTS_ROOT_AUTO_UPDATE_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RootAutoUpdate"); +pub const CERT_OCSP_CACHE_PREFIX_PROP_ID: u32 = 75u32; +pub const CERT_OCSP_MUST_STAPLE_PROP_ID: u32 = 121u32; +pub const CERT_OCSP_RESPONSE_PROP_ID: u32 = 70u32; +pub const CERT_OFFLINE_CRL_SIGN_KEY_USAGE: u32 = 2u32; +pub const CERT_OID_NAME_STR: CERT_STRING_TYPE = 2u32; +pub const CERT_PHYSICAL_STORE_ADD_ENABLE_FLAG: u32 = 1u32; +pub const CERT_PHYSICAL_STORE_AUTH_ROOT_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".AuthRoot"); +pub const CERT_PHYSICAL_STORE_DEFAULT_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".Default"); +pub const CERT_PHYSICAL_STORE_DS_USER_CERTIFICATE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".UserCertificate"); +pub const CERT_PHYSICAL_STORE_ENTERPRISE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".Enterprise"); +pub const CERT_PHYSICAL_STORE_GROUP_POLICY_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".GroupPolicy"); +pub const CERT_PHYSICAL_STORE_INSERT_COMPUTER_NAME_ENABLE_FLAG: u32 = 8u32; +pub const CERT_PHYSICAL_STORE_LOCAL_MACHINE_GROUP_POLICY_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".LocalMachineGroupPolicy"); +pub const CERT_PHYSICAL_STORE_LOCAL_MACHINE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".LocalMachine"); +pub const CERT_PHYSICAL_STORE_OPEN_DISABLE_FLAG: u32 = 2u32; +pub const CERT_PHYSICAL_STORE_PREDEFINED_ENUM_FLAG: u32 = 1u32; +pub const CERT_PHYSICAL_STORE_REMOTE_OPEN_DISABLE_FLAG: u32 = 4u32; +pub const CERT_PHYSICAL_STORE_SMART_CARD_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(".SmartCard"); +pub const CERT_PIN_RULES_AUTO_UPDATE_ENCODED_CTL_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PinRulesEncodedCtl"); +pub const CERT_PIN_RULES_AUTO_UPDATE_LAST_SYNC_TIME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PinRulesLastSyncTime"); +pub const CERT_PIN_RULES_AUTO_UPDATE_LIST_IDENTIFIER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PinRules_AutoUpdate_1"); +pub const CERT_PIN_RULES_AUTO_UPDATE_SYNC_DELTA_TIME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PinRulesSyncDeltaTime"); +pub const CERT_PIN_RULES_CAB_FILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("pinrulesstl.cab"); +pub const CERT_PIN_RULES_CTL_FILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("pinrules.stl"); +pub const CERT_PIN_RULES_CTL_FILENAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("pinrules.stl"); +pub const CERT_PIN_SHA256_HASH_PROP_ID: u32 = 124u32; +pub const CERT_PROT_ROOT_DISABLE_CURRENT_USER_FLAG: u32 = 1u32; +pub const CERT_PROT_ROOT_DISABLE_LM_AUTH_FLAG: u32 = 8u32; +pub const CERT_PROT_ROOT_DISABLE_NOT_DEFINED_NAME_CONSTRAINT_FLAG: u32 = 32u32; +pub const CERT_PROT_ROOT_DISABLE_NT_AUTH_REQUIRED_FLAG: u32 = 16u32; +pub const CERT_PROT_ROOT_DISABLE_PEER_TRUST: u32 = 65536u32; +pub const CERT_PROT_ROOT_FLAGS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Flags"); +pub const CERT_PROT_ROOT_INHIBIT_ADD_AT_INIT_FLAG: u32 = 2u32; +pub const CERT_PROT_ROOT_INHIBIT_PURGE_LM_FLAG: u32 = 4u32; +pub const CERT_PROT_ROOT_ONLY_LM_GPT_FLAG: u32 = 8u32; +pub const CERT_PROT_ROOT_PEER_USAGES_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PeerUsages"); +pub const CERT_PROT_ROOT_PEER_USAGES_VALUE_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("PeerUsages"); +pub const CERT_PUBKEY_ALG_PARA_PROP_ID: u32 = 22u32; +pub const CERT_PUBKEY_HASH_RESERVED_PROP_ID: u32 = 8u32; +pub const CERT_PUB_KEY_CNG_ALG_BIT_LENGTH_PROP_ID: u32 = 93u32; +pub const CERT_PVK_FILE_PROP_ID: u32 = 12u32; +pub const CERT_QUERY_CONTENT_CERT: CERT_QUERY_CONTENT_TYPE = 1u32; +pub const CERT_QUERY_CONTENT_CERT_PAIR: CERT_QUERY_CONTENT_TYPE = 13u32; +pub const CERT_QUERY_CONTENT_CRL: CERT_QUERY_CONTENT_TYPE = 3u32; +pub const CERT_QUERY_CONTENT_CTL: CERT_QUERY_CONTENT_TYPE = 2u32; +pub const CERT_QUERY_CONTENT_FLAG_ALL: CERT_QUERY_CONTENT_TYPE_FLAGS = 16382u32; +pub const CERT_QUERY_CONTENT_FLAG_ALL_ISSUER_CERT: CERT_QUERY_CONTENT_TYPE_FLAGS = 818u32; +pub const CERT_QUERY_CONTENT_FLAG_CERT: CERT_QUERY_CONTENT_TYPE_FLAGS = 2u32; +pub const CERT_QUERY_CONTENT_FLAG_CERT_PAIR: CERT_QUERY_CONTENT_TYPE_FLAGS = 8192u32; +pub const CERT_QUERY_CONTENT_FLAG_CRL: CERT_QUERY_CONTENT_TYPE_FLAGS = 8u32; +pub const CERT_QUERY_CONTENT_FLAG_CTL: CERT_QUERY_CONTENT_TYPE_FLAGS = 4u32; +pub const CERT_QUERY_CONTENT_FLAG_PFX: CERT_QUERY_CONTENT_TYPE_FLAGS = 4096u32; +pub const CERT_QUERY_CONTENT_FLAG_PFX_AND_LOAD: CERT_QUERY_CONTENT_TYPE_FLAGS = 16384u32; +pub const CERT_QUERY_CONTENT_FLAG_PKCS10: CERT_QUERY_CONTENT_TYPE_FLAGS = 2048u32; +pub const CERT_QUERY_CONTENT_FLAG_PKCS7_SIGNED: CERT_QUERY_CONTENT_TYPE_FLAGS = 256u32; +pub const CERT_QUERY_CONTENT_FLAG_PKCS7_SIGNED_EMBED: CERT_QUERY_CONTENT_TYPE_FLAGS = 1024u32; +pub const CERT_QUERY_CONTENT_FLAG_PKCS7_UNSIGNED: CERT_QUERY_CONTENT_TYPE_FLAGS = 512u32; +pub const CERT_QUERY_CONTENT_FLAG_SERIALIZED_CERT: CERT_QUERY_CONTENT_TYPE_FLAGS = 32u32; +pub const CERT_QUERY_CONTENT_FLAG_SERIALIZED_CRL: CERT_QUERY_CONTENT_TYPE_FLAGS = 128u32; +pub const CERT_QUERY_CONTENT_FLAG_SERIALIZED_CTL: CERT_QUERY_CONTENT_TYPE_FLAGS = 64u32; +pub const CERT_QUERY_CONTENT_FLAG_SERIALIZED_STORE: CERT_QUERY_CONTENT_TYPE_FLAGS = 16u32; +pub const CERT_QUERY_CONTENT_PFX: CERT_QUERY_CONTENT_TYPE = 12u32; +pub const CERT_QUERY_CONTENT_PFX_AND_LOAD: CERT_QUERY_CONTENT_TYPE = 14u32; +pub const CERT_QUERY_CONTENT_PKCS10: CERT_QUERY_CONTENT_TYPE = 11u32; +pub const CERT_QUERY_CONTENT_PKCS7_SIGNED: CERT_QUERY_CONTENT_TYPE = 8u32; +pub const CERT_QUERY_CONTENT_PKCS7_SIGNED_EMBED: CERT_QUERY_CONTENT_TYPE = 10u32; +pub const CERT_QUERY_CONTENT_PKCS7_UNSIGNED: CERT_QUERY_CONTENT_TYPE = 9u32; +pub const CERT_QUERY_CONTENT_SERIALIZED_CERT: CERT_QUERY_CONTENT_TYPE = 5u32; +pub const CERT_QUERY_CONTENT_SERIALIZED_CRL: CERT_QUERY_CONTENT_TYPE = 7u32; +pub const CERT_QUERY_CONTENT_SERIALIZED_CTL: CERT_QUERY_CONTENT_TYPE = 6u32; +pub const CERT_QUERY_CONTENT_SERIALIZED_STORE: CERT_QUERY_CONTENT_TYPE = 4u32; +pub const CERT_QUERY_FORMAT_ASN_ASCII_HEX_ENCODED: CERT_QUERY_FORMAT_TYPE = 3u32; +pub const CERT_QUERY_FORMAT_BASE64_ENCODED: CERT_QUERY_FORMAT_TYPE = 2u32; +pub const CERT_QUERY_FORMAT_BINARY: CERT_QUERY_FORMAT_TYPE = 1u32; +pub const CERT_QUERY_FORMAT_FLAG_ALL: CERT_QUERY_FORMAT_TYPE_FLAGS = 14u32; +pub const CERT_QUERY_FORMAT_FLAG_ASN_ASCII_HEX_ENCODED: CERT_QUERY_FORMAT_TYPE_FLAGS = 8u32; +pub const CERT_QUERY_FORMAT_FLAG_BASE64_ENCODED: CERT_QUERY_FORMAT_TYPE_FLAGS = 4u32; +pub const CERT_QUERY_FORMAT_FLAG_BINARY: CERT_QUERY_FORMAT_TYPE_FLAGS = 2u32; +pub const CERT_QUERY_OBJECT_BLOB: CERT_QUERY_OBJECT_TYPE = 2u32; +pub const CERT_QUERY_OBJECT_FILE: CERT_QUERY_OBJECT_TYPE = 1u32; +pub const CERT_RDN_ANY_TYPE: CERT_RDN_ATTR_VALUE_TYPE = 0i32; +pub const CERT_RDN_BMP_STRING: CERT_RDN_ATTR_VALUE_TYPE = 12i32; +pub const CERT_RDN_DISABLE_CHECK_TYPE_FLAG: u32 = 1073741824u32; +pub const CERT_RDN_DISABLE_IE4_UTF8_FLAG: u32 = 16777216u32; +pub const CERT_RDN_ENABLE_PUNYCODE_FLAG: u32 = 33554432u32; +pub const CERT_RDN_ENABLE_T61_UNICODE_FLAG: u32 = 2147483648u32; +pub const CERT_RDN_ENABLE_UTF8_UNICODE_FLAG: u32 = 536870912u32; +pub const CERT_RDN_ENCODED_BLOB: CERT_RDN_ATTR_VALUE_TYPE = 1i32; +pub const CERT_RDN_FLAGS_MASK: u32 = 4278190080u32; +pub const CERT_RDN_FORCE_UTF8_UNICODE_FLAG: u32 = 268435456u32; +pub const CERT_RDN_GENERAL_STRING: CERT_RDN_ATTR_VALUE_TYPE = 10i32; +pub const CERT_RDN_GRAPHIC_STRING: CERT_RDN_ATTR_VALUE_TYPE = 8i32; +pub const CERT_RDN_IA5_STRING: CERT_RDN_ATTR_VALUE_TYPE = 7i32; +pub const CERT_RDN_INT4_STRING: CERT_RDN_ATTR_VALUE_TYPE = 11i32; +pub const CERT_RDN_ISO646_STRING: CERT_RDN_ATTR_VALUE_TYPE = 9i32; +pub const CERT_RDN_NUMERIC_STRING: CERT_RDN_ATTR_VALUE_TYPE = 3i32; +pub const CERT_RDN_OCTET_STRING: CERT_RDN_ATTR_VALUE_TYPE = 2i32; +pub const CERT_RDN_PRINTABLE_STRING: CERT_RDN_ATTR_VALUE_TYPE = 4i32; +pub const CERT_RDN_T61_STRING: CERT_RDN_ATTR_VALUE_TYPE = 5i32; +pub const CERT_RDN_TELETEX_STRING: CERT_RDN_ATTR_VALUE_TYPE = 5i32; +pub const CERT_RDN_TYPE_MASK: u32 = 255u32; +pub const CERT_RDN_UNICODE_STRING: CERT_RDN_ATTR_VALUE_TYPE = 12i32; +pub const CERT_RDN_UNIVERSAL_STRING: CERT_RDN_ATTR_VALUE_TYPE = 11i32; +pub const CERT_RDN_UTF8_STRING: CERT_RDN_ATTR_VALUE_TYPE = 13i32; +pub const CERT_RDN_VIDEOTEX_STRING: CERT_RDN_ATTR_VALUE_TYPE = 6i32; +pub const CERT_RDN_VISIBLE_STRING: CERT_RDN_ATTR_VALUE_TYPE = 9i32; +pub const CERT_REGISTRY_STORE_CLIENT_GPT_FLAG: u32 = 2147483648u32; +pub const CERT_REGISTRY_STORE_EXTERNAL_FLAG: u32 = 1048576u32; +pub const CERT_REGISTRY_STORE_LM_GPT_FLAG: u32 = 16777216u32; +pub const CERT_REGISTRY_STORE_MY_IE_DIRTY_FLAG: u32 = 524288u32; +pub const CERT_REGISTRY_STORE_REMOTE_FLAG: u32 = 65536u32; +pub const CERT_REGISTRY_STORE_ROAMING_FLAG: u32 = 262144u32; +pub const CERT_REGISTRY_STORE_SERIALIZED_FLAG: u32 = 131072u32; +pub const CERT_RENEWAL_PROP_ID: u32 = 64u32; +pub const CERT_REQUEST_ORIGINATOR_PROP_ID: u32 = 71u32; +pub const CERT_REQUEST_V1: u32 = 0u32; +pub const CERT_RETRIEVE_BIOMETRIC_PREDEFINED_BASE_TYPE: ::windows_sys::core::PCSTR = 1000i32 as _; +pub const CERT_RETRIEVE_COMMUNITY_LOGO: ::windows_sys::core::PCSTR = 3i32 as _; +pub const CERT_RETRIEVE_ISSUER_LOGO: ::windows_sys::core::PCSTR = 1i32 as _; +pub const CERT_RETRIEVE_SUBJECT_LOGO: ::windows_sys::core::PCSTR = 2i32 as _; +pub const CERT_RETR_BEHAVIOR_FILE_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AllowFileUrlScheme"); +pub const CERT_RETR_BEHAVIOR_INET_AUTH_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EnableInetUnknownAuth"); +pub const CERT_RETR_BEHAVIOR_INET_STATUS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EnableInetLocal"); +pub const CERT_RETR_BEHAVIOR_LDAP_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisableLDAPSignAndEncrypt"); +pub const CERT_ROOT_PROGRAM_CERT_POLICIES_PROP_ID: u32 = 83u32; +pub const CERT_ROOT_PROGRAM_CHAIN_POLICIES_PROP_ID: u32 = 105u32; +pub const CERT_ROOT_PROGRAM_FLAG_ADDRESS: u32 = 8u32; +pub const CERT_ROOT_PROGRAM_FLAG_LSC: CERT_ROOT_PROGRAM_FLAGS = 64u32; +pub const CERT_ROOT_PROGRAM_FLAG_ORG: CERT_ROOT_PROGRAM_FLAGS = 128u32; +pub const CERT_ROOT_PROGRAM_FLAG_OU: u32 = 16u32; +pub const CERT_ROOT_PROGRAM_FLAG_SUBJECT_LOGO: CERT_ROOT_PROGRAM_FLAGS = 32u32; +pub const CERT_ROOT_PROGRAM_NAME_CONSTRAINTS_PROP_ID: u32 = 84u32; +pub const CERT_RSA_PUBLIC_KEY_OBJID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.113549.1.1.1"); +pub const CERT_SCARD_PIN_ID_PROP_ID: u32 = 90u32; +pub const CERT_SCARD_PIN_INFO_PROP_ID: u32 = 91u32; +pub const CERT_SCEP_CA_CERT_PROP_ID: u32 = 111u32; +pub const CERT_SCEP_ENCRYPT_HASH_CNG_ALG_PROP_ID: u32 = 114u32; +pub const CERT_SCEP_FLAGS_PROP_ID: u32 = 115u32; +pub const CERT_SCEP_GUID_PROP_ID: u32 = 116u32; +pub const CERT_SCEP_NONCE_PROP_ID: u32 = 113u32; +pub const CERT_SCEP_RA_ENCRYPTION_CERT_PROP_ID: u32 = 110u32; +pub const CERT_SCEP_RA_SIGNATURE_CERT_PROP_ID: u32 = 109u32; +pub const CERT_SCEP_SERVER_CERTS_PROP_ID: u32 = 108u32; +pub const CERT_SCEP_SIGNER_CERT_PROP_ID: u32 = 112u32; +pub const CERT_SELECT_ALLOW_DUPLICATES: u32 = 128u32; +pub const CERT_SELECT_ALLOW_EXPIRED: u32 = 1u32; +pub const CERT_SELECT_BY_ENHKEY_USAGE: CERT_SELECT_CRITERIA_TYPE = 1u32; +pub const CERT_SELECT_BY_EXTENSION: CERT_SELECT_CRITERIA_TYPE = 5u32; +pub const CERT_SELECT_BY_FRIENDLYNAME: u32 = 13u32; +pub const CERT_SELECT_BY_ISSUER_ATTR: CERT_SELECT_CRITERIA_TYPE = 7u32; +pub const CERT_SELECT_BY_ISSUER_DISPLAYNAME: u32 = 12u32; +pub const CERT_SELECT_BY_ISSUER_NAME: CERT_SELECT_CRITERIA_TYPE = 9u32; +pub const CERT_SELECT_BY_KEY_USAGE: CERT_SELECT_CRITERIA_TYPE = 2u32; +pub const CERT_SELECT_BY_POLICY_OID: CERT_SELECT_CRITERIA_TYPE = 3u32; +pub const CERT_SELECT_BY_PROV_NAME: CERT_SELECT_CRITERIA_TYPE = 4u32; +pub const CERT_SELECT_BY_PUBLIC_KEY: CERT_SELECT_CRITERIA_TYPE = 10u32; +pub const CERT_SELECT_BY_SUBJECT_ATTR: CERT_SELECT_CRITERIA_TYPE = 8u32; +pub const CERT_SELECT_BY_SUBJECT_HOST_NAME: CERT_SELECT_CRITERIA_TYPE = 6u32; +pub const CERT_SELECT_BY_THUMBPRINT: u32 = 14u32; +pub const CERT_SELECT_BY_TLS_SIGNATURES: CERT_SELECT_CRITERIA_TYPE = 11u32; +pub const CERT_SELECT_DISALLOW_SELFSIGNED: u32 = 4u32; +pub const CERT_SELECT_HARDWARE_ONLY: u32 = 64u32; +pub const CERT_SELECT_HAS_KEY_FOR_KEY_EXCHANGE: u32 = 32u32; +pub const CERT_SELECT_HAS_KEY_FOR_SIGNATURE: u32 = 16u32; +pub const CERT_SELECT_HAS_PRIVATE_KEY: u32 = 8u32; +pub const CERT_SELECT_IGNORE_AUTOSELECT: u32 = 256u32; +pub const CERT_SELECT_MAX_PARA: u32 = 500u32; +pub const CERT_SELECT_TRUSTED_ROOT: u32 = 2u32; +pub const CERT_SEND_AS_TRUSTED_ISSUER_PROP_ID: u32 = 102u32; +pub const CERT_SERIALIZABLE_KEY_CONTEXT_PROP_ID: u32 = 117u32; +pub const CERT_SERIAL_CHAIN_PROP_ID: u32 = 119u32; +pub const CERT_SERVER_OCSP_RESPONSE_ASYNC_FLAG: u32 = 1u32; +pub const CERT_SERVER_OCSP_RESPONSE_OPEN_PARA_READ_FLAG: u32 = 1u32; +pub const CERT_SERVER_OCSP_RESPONSE_OPEN_PARA_WRITE_FLAG: u32 = 2u32; +pub const CERT_SET_KEY_CONTEXT_PROP_ID: CRYPT_KEY_FLAGS = 1u32; +pub const CERT_SET_KEY_PROV_HANDLE_PROP_ID: CRYPT_KEY_FLAGS = 1u32; +pub const CERT_SET_PROPERTY_IGNORE_PERSIST_ERROR_FLAG: u32 = 2147483648u32; +pub const CERT_SET_PROPERTY_INHIBIT_PERSIST_FLAG: u32 = 1073741824u32; +pub const CERT_SHA1_HASH_PROP_ID: u32 = 3u32; +pub const CERT_SHA256_HASH_PROP_ID: u32 = 107u32; +pub const CERT_SIGNATURE_HASH_PROP_ID: u32 = 15u32; +pub const CERT_SIGN_HASH_CNG_ALG_PROP_ID: u32 = 89u32; +pub const CERT_SIMPLE_NAME_STR: CERT_STRING_TYPE = 1u32; +pub const CERT_SMART_CARD_DATA_PROP_ID: u32 = 16u32; +pub const CERT_SMART_CARD_READER_NON_REMOVABLE_PROP_ID: u32 = 106u32; +pub const CERT_SMART_CARD_READER_PROP_ID: u32 = 101u32; +pub const CERT_SMART_CARD_ROOT_INFO_PROP_ID: u32 = 76u32; +pub const CERT_SOURCE_LOCATION_PROP_ID: u32 = 72u32; +pub const CERT_SOURCE_URL_PROP_ID: u32 = 73u32; +pub const CERT_SRV_OCSP_RESP_MAX_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SrvOcspRespMaxBeforeNextUpdateSeconds"); +pub const CERT_SRV_OCSP_RESP_MAX_SYNC_CERT_FILE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SrvOcspRespMaxSyncCertFileSeconds"); +pub const CERT_SRV_OCSP_RESP_MIN_AFTER_NEXT_UPDATE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SrvOcspRespMinAfterNextUpdateSeconds"); +pub const CERT_SRV_OCSP_RESP_MIN_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SrvOcspRespMinBeforeNextUpdateSeconds"); +pub const CERT_SRV_OCSP_RESP_MIN_SYNC_CERT_FILE_SECONDS_DEFAULT: u32 = 5u32; +pub const CERT_SRV_OCSP_RESP_MIN_SYNC_CERT_FILE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SrvOcspRespMinSyncCertFileSeconds"); +pub const CERT_SRV_OCSP_RESP_MIN_VALIDITY_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SrvOcspRespMinValiditySeconds"); +pub const CERT_SRV_OCSP_RESP_URL_RETRIEVAL_TIMEOUT_MILLISECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SrvOcspRespUrlRetrievalTimeoutMilliseconds"); +pub const CERT_STORE_ADD_ALWAYS: u32 = 4u32; +pub const CERT_STORE_ADD_NEW: u32 = 1u32; +pub const CERT_STORE_ADD_NEWER: u32 = 6u32; +pub const CERT_STORE_ADD_NEWER_INHERIT_PROPERTIES: u32 = 7u32; +pub const CERT_STORE_ADD_REPLACE_EXISTING: u32 = 3u32; +pub const CERT_STORE_ADD_REPLACE_EXISTING_INHERIT_PROPERTIES: u32 = 5u32; +pub const CERT_STORE_ADD_USE_EXISTING: u32 = 2u32; +pub const CERT_STORE_BACKUP_RESTORE_FLAG: CERT_OPEN_STORE_FLAGS = 2048u32; +pub const CERT_STORE_BASE_CRL_FLAG: u32 = 256u32; +pub const CERT_STORE_CERTIFICATE_CONTEXT: u32 = 1u32; +pub const CERT_STORE_CREATE_NEW_FLAG: CERT_OPEN_STORE_FLAGS = 8192u32; +pub const CERT_STORE_CRL_CONTEXT: u32 = 2u32; +pub const CERT_STORE_CTL_CONTEXT: u32 = 3u32; +pub const CERT_STORE_CTRL_AUTO_RESYNC: u32 = 4u32; +pub const CERT_STORE_CTRL_CANCEL_NOTIFY: u32 = 5u32; +pub const CERT_STORE_CTRL_COMMIT: u32 = 3u32; +pub const CERT_STORE_CTRL_COMMIT_CLEAR_FLAG: CERT_CONTROL_STORE_FLAGS = 2u32; +pub const CERT_STORE_CTRL_COMMIT_FORCE_FLAG: CERT_CONTROL_STORE_FLAGS = 1u32; +pub const CERT_STORE_CTRL_INHIBIT_DUPLICATE_HANDLE_FLAG: CERT_CONTROL_STORE_FLAGS = 1u32; +pub const CERT_STORE_CTRL_NOTIFY_CHANGE: u32 = 2u32; +pub const CERT_STORE_CTRL_RESYNC: u32 = 1u32; +pub const CERT_STORE_DEFER_CLOSE_UNTIL_LAST_FREE_FLAG: CERT_OPEN_STORE_FLAGS = 4u32; +pub const CERT_STORE_DELETE_FLAG: CERT_OPEN_STORE_FLAGS = 16u32; +pub const CERT_STORE_DELTA_CRL_FLAG: u32 = 512u32; +pub const CERT_STORE_ENUM_ARCHIVED_FLAG: CERT_OPEN_STORE_FLAGS = 512u32; +pub const CERT_STORE_LOCALIZED_NAME_PROP_ID: u32 = 4096u32; +pub const CERT_STORE_MANIFOLD_FLAG: u32 = 256u32; +pub const CERT_STORE_MAXIMUM_ALLOWED_FLAG: CERT_OPEN_STORE_FLAGS = 4096u32; +pub const CERT_STORE_NO_CRL_FLAG: u32 = 65536u32; +pub const CERT_STORE_NO_CRYPT_RELEASE_FLAG: CERT_OPEN_STORE_FLAGS = 1u32; +pub const CERT_STORE_NO_ISSUER_FLAG: u32 = 131072u32; +pub const CERT_STORE_OPEN_EXISTING_FLAG: CERT_OPEN_STORE_FLAGS = 16384u32; +pub const CERT_STORE_PROV_CLOSE_FUNC: u32 = 0u32; +pub const CERT_STORE_PROV_COLLECTION: ::windows_sys::core::PCSTR = 11i32 as _; +pub const CERT_STORE_PROV_CONTROL_FUNC: u32 = 13u32; +pub const CERT_STORE_PROV_DELETED_FLAG: CERT_STORE_PROV_FLAGS = 2u32; +pub const CERT_STORE_PROV_DELETE_CERT_FUNC: u32 = 3u32; +pub const CERT_STORE_PROV_DELETE_CRL_FUNC: u32 = 7u32; +pub const CERT_STORE_PROV_DELETE_CTL_FUNC: u32 = 11u32; +pub const CERT_STORE_PROV_EXTERNAL_FLAG: CERT_STORE_PROV_FLAGS = 1u32; +pub const CERT_STORE_PROV_FILE: ::windows_sys::core::PCSTR = 3i32 as _; +pub const CERT_STORE_PROV_FILENAME: i32 = 8i32; +pub const CERT_STORE_PROV_FILENAME_A: ::windows_sys::core::PCSTR = 7i32 as _; +pub const CERT_STORE_PROV_FILENAME_W: ::windows_sys::core::PCSTR = 8i32 as _; +pub const CERT_STORE_PROV_FIND_CERT_FUNC: u32 = 14u32; +pub const CERT_STORE_PROV_FIND_CRL_FUNC: u32 = 17u32; +pub const CERT_STORE_PROV_FIND_CTL_FUNC: u32 = 20u32; +pub const CERT_STORE_PROV_FREE_FIND_CERT_FUNC: u32 = 15u32; +pub const CERT_STORE_PROV_FREE_FIND_CRL_FUNC: u32 = 18u32; +pub const CERT_STORE_PROV_FREE_FIND_CTL_FUNC: u32 = 21u32; +pub const CERT_STORE_PROV_GET_CERT_PROPERTY_FUNC: u32 = 16u32; +pub const CERT_STORE_PROV_GET_CRL_PROPERTY_FUNC: u32 = 19u32; +pub const CERT_STORE_PROV_GET_CTL_PROPERTY_FUNC: u32 = 22u32; +pub const CERT_STORE_PROV_GP_SYSTEM_STORE_FLAG: u32 = 32u32; +pub const CERT_STORE_PROV_LDAP: i32 = 16i32; +pub const CERT_STORE_PROV_LDAP_W: ::windows_sys::core::PCSTR = 16i32 as _; +pub const CERT_STORE_PROV_LM_SYSTEM_STORE_FLAG: CERT_STORE_PROV_FLAGS = 16u32; +pub const CERT_STORE_PROV_MEMORY: ::windows_sys::core::PCSTR = 2i32 as _; +pub const CERT_STORE_PROV_MSG: ::windows_sys::core::PCSTR = 1i32 as _; +pub const CERT_STORE_PROV_NO_PERSIST_FLAG: CERT_STORE_PROV_FLAGS = 4u32; +pub const CERT_STORE_PROV_PHYSICAL: i32 = 14i32; +pub const CERT_STORE_PROV_PHYSICAL_W: ::windows_sys::core::PCSTR = 14i32 as _; +pub const CERT_STORE_PROV_PKCS12: ::windows_sys::core::PCSTR = 17i32 as _; +pub const CERT_STORE_PROV_PKCS7: ::windows_sys::core::PCSTR = 5i32 as _; +pub const CERT_STORE_PROV_READ_CERT_FUNC: u32 = 1u32; +pub const CERT_STORE_PROV_READ_CRL_FUNC: u32 = 5u32; +pub const CERT_STORE_PROV_READ_CTL_FUNC: u32 = 9u32; +pub const CERT_STORE_PROV_REG: ::windows_sys::core::PCSTR = 4i32 as _; +pub const CERT_STORE_PROV_SERIALIZED: ::windows_sys::core::PCSTR = 6i32 as _; +pub const CERT_STORE_PROV_SET_CERT_PROPERTY_FUNC: u32 = 4u32; +pub const CERT_STORE_PROV_SET_CRL_PROPERTY_FUNC: u32 = 8u32; +pub const CERT_STORE_PROV_SET_CTL_PROPERTY_FUNC: u32 = 12u32; +pub const CERT_STORE_PROV_SHARED_USER_FLAG: u32 = 64u32; +pub const CERT_STORE_PROV_SMART_CARD: i32 = 15i32; +pub const CERT_STORE_PROV_SMART_CARD_W: ::windows_sys::core::PCSTR = 15i32 as _; +pub const CERT_STORE_PROV_SYSTEM: i32 = 10i32; +pub const CERT_STORE_PROV_SYSTEM_A: ::windows_sys::core::PCSTR = 9i32 as _; +pub const CERT_STORE_PROV_SYSTEM_REGISTRY: i32 = 13i32; +pub const CERT_STORE_PROV_SYSTEM_REGISTRY_A: ::windows_sys::core::PCSTR = 12i32 as _; +pub const CERT_STORE_PROV_SYSTEM_REGISTRY_W: ::windows_sys::core::PCSTR = 13i32 as _; +pub const CERT_STORE_PROV_SYSTEM_STORE_FLAG: CERT_STORE_PROV_FLAGS = 8u32; +pub const CERT_STORE_PROV_SYSTEM_W: ::windows_sys::core::PCSTR = 10i32 as _; +pub const CERT_STORE_PROV_WRITE_ADD_FLAG: u32 = 1u32; +pub const CERT_STORE_PROV_WRITE_CERT_FUNC: u32 = 2u32; +pub const CERT_STORE_PROV_WRITE_CRL_FUNC: u32 = 6u32; +pub const CERT_STORE_PROV_WRITE_CTL_FUNC: u32 = 10u32; +pub const CERT_STORE_READONLY_FLAG: CERT_OPEN_STORE_FLAGS = 32768u32; +pub const CERT_STORE_REVOCATION_FLAG: u32 = 4u32; +pub const CERT_STORE_SAVE_AS_PKCS12: u32 = 3u32; +pub const CERT_STORE_SAVE_AS_PKCS7: CERT_STORE_SAVE_AS = 2u32; +pub const CERT_STORE_SAVE_AS_STORE: CERT_STORE_SAVE_AS = 1u32; +pub const CERT_STORE_SAVE_TO_FILE: CERT_STORE_SAVE_TO = 1u32; +pub const CERT_STORE_SAVE_TO_FILENAME: CERT_STORE_SAVE_TO = 4u32; +pub const CERT_STORE_SAVE_TO_FILENAME_A: CERT_STORE_SAVE_TO = 3u32; +pub const CERT_STORE_SAVE_TO_FILENAME_W: CERT_STORE_SAVE_TO = 4u32; +pub const CERT_STORE_SAVE_TO_MEMORY: CERT_STORE_SAVE_TO = 2u32; +pub const CERT_STORE_SET_LOCALIZED_NAME_FLAG: CERT_OPEN_STORE_FLAGS = 2u32; +pub const CERT_STORE_SHARE_CONTEXT_FLAG: CERT_OPEN_STORE_FLAGS = 128u32; +pub const CERT_STORE_SHARE_STORE_FLAG: u32 = 64u32; +pub const CERT_STORE_SIGNATURE_FLAG: u32 = 1u32; +pub const CERT_STORE_TIME_VALIDITY_FLAG: u32 = 2u32; +pub const CERT_STORE_UNSAFE_PHYSICAL_FLAG: u32 = 32u32; +pub const CERT_STORE_UPDATE_KEYID_FLAG: CERT_OPEN_STORE_FLAGS = 1024u32; +pub const CERT_STRONG_SIGN_ECDSA_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDSA"); +pub const CERT_STRONG_SIGN_ENABLE_CRL_CHECK: CERT_STRONG_SIGN_FLAGS = 1u32; +pub const CERT_STRONG_SIGN_ENABLE_OCSP_CHECK: CERT_STRONG_SIGN_FLAGS = 2u32; +pub const CERT_STRONG_SIGN_OID_INFO_CHOICE: u32 = 2u32; +pub const CERT_STRONG_SIGN_SERIALIZED_INFO_CHOICE: u32 = 1u32; +pub const CERT_SUBJECT_DISABLE_CRL_PROP_ID: u32 = 86u32; +pub const CERT_SUBJECT_INFO_ACCESS_PROP_ID: u32 = 80u32; +pub const CERT_SUBJECT_NAME_MD5_HASH_PROP_ID: u32 = 29u32; +pub const CERT_SUBJECT_OCSP_AUTHORITY_INFO_ACCESS_PROP_ID: u32 = 85u32; +pub const CERT_SUBJECT_PUBLIC_KEY_MD5_HASH_PROP_ID: u32 = 25u32; +pub const CERT_SUBJECT_PUB_KEY_BIT_LENGTH_PROP_ID: u32 = 92u32; +pub const CERT_SYSTEM_STORE_CURRENT_SERVICE_ID: u32 = 4u32; +pub const CERT_SYSTEM_STORE_CURRENT_USER_GROUP_POLICY_ID: u32 = 7u32; +pub const CERT_SYSTEM_STORE_CURRENT_USER_ID: u32 = 1u32; +pub const CERT_SYSTEM_STORE_DEFER_READ_FLAG: u32 = 536870912u32; +pub const CERT_SYSTEM_STORE_LOCAL_MACHINE_ENTERPRISE_ID: u32 = 9u32; +pub const CERT_SYSTEM_STORE_LOCAL_MACHINE_GROUP_POLICY_ID: u32 = 8u32; +pub const CERT_SYSTEM_STORE_LOCAL_MACHINE_ID: u32 = 2u32; +pub const CERT_SYSTEM_STORE_LOCAL_MACHINE_WCOS_ID: u32 = 10u32; +pub const CERT_SYSTEM_STORE_LOCATION_MASK: CERT_SYSTEM_STORE_FLAGS = 16711680u32; +pub const CERT_SYSTEM_STORE_LOCATION_SHIFT: u32 = 16u32; +pub const CERT_SYSTEM_STORE_MASK: u32 = 4294901760u32; +pub const CERT_SYSTEM_STORE_RELOCATE_FLAG: CERT_SYSTEM_STORE_FLAGS = 2147483648u32; +pub const CERT_SYSTEM_STORE_SERVICES_ID: u32 = 5u32; +pub const CERT_SYSTEM_STORE_UNPROTECTED_FLAG: u32 = 1073741824u32; +pub const CERT_SYSTEM_STORE_USERS_ID: u32 = 6u32; +pub const CERT_TIMESTAMP_HASH_USE_TYPE: u32 = 2u32; +pub const CERT_TRUST_AUTO_UPDATE_CA_REVOCATION: u32 = 16u32; +pub const CERT_TRUST_AUTO_UPDATE_END_REVOCATION: u32 = 32u32; +pub const CERT_TRUST_BEFORE_DISALLOWED_CA_FILETIME: u32 = 2097152u32; +pub const CERT_TRUST_CTL_IS_NOT_SIGNATURE_VALID: u32 = 262144u32; +pub const CERT_TRUST_CTL_IS_NOT_TIME_VALID: u32 = 131072u32; +pub const CERT_TRUST_CTL_IS_NOT_VALID_FOR_USAGE: u32 = 524288u32; +pub const CERT_TRUST_HAS_ALLOW_WEAK_SIGNATURE: u32 = 131072u32; +pub const CERT_TRUST_HAS_AUTO_UPDATE_WEAK_SIGNATURE: u32 = 32768u32; +pub const CERT_TRUST_HAS_CRL_VALIDITY_EXTENDED: u32 = 4096u32; +pub const CERT_TRUST_HAS_EXACT_MATCH_ISSUER: u32 = 1u32; +pub const CERT_TRUST_HAS_EXCLUDED_NAME_CONSTRAINT: u32 = 32768u32; +pub const CERT_TRUST_HAS_ISSUANCE_CHAIN_POLICY: u32 = 512u32; +pub const CERT_TRUST_HAS_KEY_MATCH_ISSUER: u32 = 2u32; +pub const CERT_TRUST_HAS_NAME_MATCH_ISSUER: u32 = 4u32; +pub const CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT: u32 = 8192u32; +pub const CERT_TRUST_HAS_NOT_PERMITTED_NAME_CONSTRAINT: u32 = 16384u32; +pub const CERT_TRUST_HAS_NOT_SUPPORTED_CRITICAL_EXT: u32 = 134217728u32; +pub const CERT_TRUST_HAS_NOT_SUPPORTED_NAME_CONSTRAINT: u32 = 4096u32; +pub const CERT_TRUST_HAS_PREFERRED_ISSUER: u32 = 256u32; +pub const CERT_TRUST_HAS_VALID_NAME_CONSTRAINTS: u32 = 1024u32; +pub const CERT_TRUST_HAS_WEAK_HYGIENE: u32 = 2097152u32; +pub const CERT_TRUST_HAS_WEAK_SIGNATURE: u32 = 1048576u32; +pub const CERT_TRUST_INVALID_BASIC_CONSTRAINTS: u32 = 1024u32; +pub const CERT_TRUST_INVALID_EXTENSION: u32 = 256u32; +pub const CERT_TRUST_INVALID_NAME_CONSTRAINTS: u32 = 2048u32; +pub const CERT_TRUST_INVALID_POLICY_CONSTRAINTS: u32 = 512u32; +pub const CERT_TRUST_IS_CA_TRUSTED: u32 = 16384u32; +pub const CERT_TRUST_IS_COMPLEX_CHAIN: u32 = 65536u32; +pub const CERT_TRUST_IS_CYCLIC: u32 = 128u32; +pub const CERT_TRUST_IS_EXPLICIT_DISTRUST: u32 = 67108864u32; +pub const CERT_TRUST_IS_FROM_EXCLUSIVE_TRUST_STORE: u32 = 8192u32; +pub const CERT_TRUST_IS_KEY_ROLLOVER: u32 = 128u32; +pub const CERT_TRUST_IS_NOT_SIGNATURE_VALID: u32 = 8u32; +pub const CERT_TRUST_IS_NOT_TIME_NESTED: u32 = 2u32; +pub const CERT_TRUST_IS_NOT_TIME_VALID: u32 = 1u32; +pub const CERT_TRUST_IS_NOT_VALID_FOR_USAGE: u32 = 16u32; +pub const CERT_TRUST_IS_OFFLINE_REVOCATION: u32 = 16777216u32; +pub const CERT_TRUST_IS_PARTIAL_CHAIN: u32 = 65536u32; +pub const CERT_TRUST_IS_PEER_TRUSTED: u32 = 2048u32; +pub const CERT_TRUST_IS_REVOKED: u32 = 4u32; +pub const CERT_TRUST_IS_SELF_SIGNED: u32 = 8u32; +pub const CERT_TRUST_IS_UNTRUSTED_ROOT: u32 = 32u32; +pub const CERT_TRUST_NO_ERROR: u32 = 0u32; +pub const CERT_TRUST_NO_ISSUANCE_CHAIN_POLICY: u32 = 33554432u32; +pub const CERT_TRUST_NO_OCSP_FAILOVER_TO_CRL: u32 = 64u32; +pub const CERT_TRUST_NO_TIME_CHECK: u32 = 33554432u32; +pub const CERT_TRUST_PUB_ALLOW_END_USER_TRUST: u32 = 0u32; +pub const CERT_TRUST_PUB_ALLOW_ENTERPRISE_ADMIN_TRUST: u32 = 2u32; +pub const CERT_TRUST_PUB_ALLOW_MACHINE_ADMIN_TRUST: u32 = 1u32; +pub const CERT_TRUST_PUB_ALLOW_TRUST_MASK: u32 = 3u32; +pub const CERT_TRUST_PUB_AUTHENTICODE_FLAGS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AuthenticodeFlags"); +pub const CERT_TRUST_PUB_CHECK_PUBLISHER_REV_FLAG: u32 = 256u32; +pub const CERT_TRUST_PUB_CHECK_TIMESTAMP_REV_FLAG: u32 = 512u32; +pub const CERT_TRUST_REVOCATION_STATUS_UNKNOWN: u32 = 64u32; +pub const CERT_TRUST_SSL_HANDSHAKE_OCSP: u32 = 262144u32; +pub const CERT_TRUST_SSL_RECONNECT_OCSP: u32 = 1048576u32; +pub const CERT_TRUST_SSL_TIME_VALID: u32 = 16777216u32; +pub const CERT_TRUST_SSL_TIME_VALID_OCSP: u32 = 524288u32; +pub const CERT_UNICODE_ATTR_ERR_INDEX_MASK: u32 = 63u32; +pub const CERT_UNICODE_ATTR_ERR_INDEX_SHIFT: u32 = 16u32; +pub const CERT_UNICODE_IS_RDN_ATTRS_FLAG: u32 = 1u32; +pub const CERT_UNICODE_RDN_ERR_INDEX_MASK: u32 = 1023u32; +pub const CERT_UNICODE_RDN_ERR_INDEX_SHIFT: u32 = 22u32; +pub const CERT_UNICODE_VALUE_ERR_INDEX_MASK: u32 = 65535u32; +pub const CERT_UNICODE_VALUE_ERR_INDEX_SHIFT: u32 = 0u32; +pub const CERT_V1: u32 = 0u32; +pub const CERT_V2: u32 = 1u32; +pub const CERT_V3: u32 = 2u32; +pub const CERT_VERIFY_ALLOW_MORE_USAGE_FLAG: u32 = 8u32; +pub const CERT_VERIFY_CACHE_ONLY_BASED_REVOCATION: u32 = 2u32; +pub const CERT_VERIFY_INHIBIT_CTL_UPDATE_FLAG: u32 = 1u32; +pub const CERT_VERIFY_NO_TIME_CHECK_FLAG: u32 = 4u32; +pub const CERT_VERIFY_REV_ACCUMULATIVE_TIMEOUT_FLAG: u32 = 4u32; +pub const CERT_VERIFY_REV_CHAIN_FLAG: u32 = 1u32; +pub const CERT_VERIFY_REV_NO_OCSP_FAILOVER_TO_CRL_FLAG: u32 = 16u32; +pub const CERT_VERIFY_REV_SERVER_OCSP_FLAG: u32 = 8u32; +pub const CERT_VERIFY_REV_SERVER_OCSP_WIRE_ONLY_FLAG: u32 = 32u32; +pub const CERT_VERIFY_TRUSTED_SIGNERS_FLAG: u32 = 2u32; +pub const CERT_VERIFY_UPDATED_CTL_FLAG: u32 = 1u32; +pub const CERT_X500_NAME_STR: CERT_STRING_TYPE = 3u32; +pub const CERT_XML_NAME_STR: u32 = 4u32; +pub const CMC_ADD_ATTRIBUTES: ::windows_sys::core::PCSTR = 63i32 as _; +pub const CMC_ADD_EXTENSIONS: ::windows_sys::core::PCSTR = 62i32 as _; +pub const CMC_DATA: ::windows_sys::core::PCSTR = 59i32 as _; +pub const CMC_FAIL_BAD_ALG: u32 = 0u32; +pub const CMC_FAIL_BAD_CERT_ID: u32 = 4u32; +pub const CMC_FAIL_BAD_IDENTITY: u32 = 7u32; +pub const CMC_FAIL_BAD_MESSAGE_CHECK: u32 = 1u32; +pub const CMC_FAIL_BAD_REQUEST: u32 = 2u32; +pub const CMC_FAIL_BAD_TIME: u32 = 3u32; +pub const CMC_FAIL_INTERNAL_CA_ERROR: u32 = 11u32; +pub const CMC_FAIL_MUST_ARCHIVE_KEYS: u32 = 6u32; +pub const CMC_FAIL_NO_KEY_REUSE: u32 = 10u32; +pub const CMC_FAIL_POP_FAILED: u32 = 9u32; +pub const CMC_FAIL_POP_REQUIRED: u32 = 8u32; +pub const CMC_FAIL_TRY_LATER: u32 = 12u32; +pub const CMC_FAIL_UNSUPORTED_EXT: u32 = 5u32; +pub const CMC_OTHER_INFO_FAIL_CHOICE: u32 = 1u32; +pub const CMC_OTHER_INFO_NO_CHOICE: u32 = 0u32; +pub const CMC_OTHER_INFO_PEND_CHOICE: u32 = 2u32; +pub const CMC_RESPONSE: ::windows_sys::core::PCSTR = 60i32 as _; +pub const CMC_STATUS: ::windows_sys::core::PCSTR = 61i32 as _; +pub const CMC_STATUS_CONFIRM_REQUIRED: u32 = 5u32; +pub const CMC_STATUS_FAILED: u32 = 2u32; +pub const CMC_STATUS_NO_SUPPORT: u32 = 4u32; +pub const CMC_STATUS_PENDING: u32 = 3u32; +pub const CMC_STATUS_SUCCESS: u32 = 0u32; +pub const CMC_TAGGED_CERT_REQUEST_CHOICE: u32 = 1u32; +pub const CMSCEPSetup: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xaa4f5c02_8e7c_49c4_94fa_67a5cc5eadb4); +pub const CMSG_ATTR_CERT_COUNT_PARAM: u32 = 31u32; +pub const CMSG_ATTR_CERT_PARAM: u32 = 32u32; +pub const CMSG_AUTHENTICATED_ATTRIBUTES_FLAG: u32 = 8u32; +pub const CMSG_BARE_CONTENT_FLAG: u32 = 1u32; +pub const CMSG_BARE_CONTENT_PARAM: u32 = 3u32; +pub const CMSG_CERT_COUNT_PARAM: u32 = 11u32; +pub const CMSG_CERT_PARAM: u32 = 12u32; +pub const CMSG_CMS_ENCAPSULATED_CONTENT_FLAG: u32 = 64u32; +pub const CMSG_CMS_ENCAPSULATED_CTL_FLAG: u32 = 32768u32; +pub const CMSG_CMS_RECIPIENT_COUNT_PARAM: u32 = 33u32; +pub const CMSG_CMS_RECIPIENT_ENCRYPTED_KEY_INDEX_PARAM: u32 = 35u32; +pub const CMSG_CMS_RECIPIENT_INDEX_PARAM: u32 = 34u32; +pub const CMSG_CMS_RECIPIENT_INFO_PARAM: u32 = 36u32; +pub const CMSG_CMS_SIGNER_INFO_PARAM: u32 = 39u32; +pub const CMSG_COMPUTED_HASH_PARAM: u32 = 22u32; +pub const CMSG_CONTENTS_OCTETS_FLAG: u32 = 16u32; +pub const CMSG_CONTENT_ENCRYPT_FREE_OBJID_FLAG: u32 = 2u32; +pub const CMSG_CONTENT_ENCRYPT_FREE_PARA_FLAG: u32 = 1u32; +pub const CMSG_CONTENT_ENCRYPT_PAD_ENCODED_LEN_FLAG: u32 = 1u32; +pub const CMSG_CONTENT_ENCRYPT_RELEASE_CONTEXT_FLAG: u32 = 32768u32; +pub const CMSG_CONTENT_PARAM: u32 = 2u32; +pub const CMSG_CRL_COUNT_PARAM: u32 = 13u32; +pub const CMSG_CRL_PARAM: u32 = 14u32; +pub const CMSG_CRYPT_RELEASE_CONTEXT_FLAG: u32 = 32768u32; +pub const CMSG_CTRL_ADD_ATTR_CERT: u32 = 14u32; +pub const CMSG_CTRL_ADD_CERT: u32 = 10u32; +pub const CMSG_CTRL_ADD_CMS_SIGNER_INFO: u32 = 20u32; +pub const CMSG_CTRL_ADD_CRL: u32 = 12u32; +pub const CMSG_CTRL_ADD_SIGNER: u32 = 6u32; +pub const CMSG_CTRL_ADD_SIGNER_UNAUTH_ATTR: u32 = 8u32; +pub const CMSG_CTRL_DECRYPT: u32 = 2u32; +pub const CMSG_CTRL_DEL_ATTR_CERT: u32 = 15u32; +pub const CMSG_CTRL_DEL_CERT: u32 = 11u32; +pub const CMSG_CTRL_DEL_CRL: u32 = 13u32; +pub const CMSG_CTRL_DEL_SIGNER: u32 = 7u32; +pub const CMSG_CTRL_DEL_SIGNER_UNAUTH_ATTR: u32 = 9u32; +pub const CMSG_CTRL_ENABLE_STRONG_SIGNATURE: u32 = 21u32; +pub const CMSG_CTRL_KEY_AGREE_DECRYPT: u32 = 17u32; +pub const CMSG_CTRL_KEY_TRANS_DECRYPT: u32 = 16u32; +pub const CMSG_CTRL_MAIL_LIST_DECRYPT: u32 = 18u32; +pub const CMSG_CTRL_VERIFY_HASH: u32 = 5u32; +pub const CMSG_CTRL_VERIFY_SIGNATURE: u32 = 1u32; +pub const CMSG_CTRL_VERIFY_SIGNATURE_EX: u32 = 19u32; +pub const CMSG_DATA: CRYPT_MSG_TYPE = 1u32; +pub const CMSG_DEFAULT_INSTALLABLE_FUNC_OID: ::windows_sys::core::PCSTR = 1i32 as _; +pub const CMSG_DETACHED_FLAG: u32 = 4u32; +pub const CMSG_ENCODED_MESSAGE: u32 = 29u32; +pub const CMSG_ENCODED_SIGNER: u32 = 28u32; +pub const CMSG_ENCODE_HASHED_SUBJECT_IDENTIFIER_FLAG: u32 = 2u32; +pub const CMSG_ENCODE_SORTED_CTL_FLAG: u32 = 1u32; +pub const CMSG_ENCODING_TYPE_MASK: u32 = 4294901760u32; +pub const CMSG_ENCRYPTED: u32 = 6u32; +pub const CMSG_ENCRYPTED_DIGEST: u32 = 27u32; +pub const CMSG_ENCRYPT_PARAM: u32 = 26u32; +pub const CMSG_ENVELOPED: CRYPT_MSG_TYPE = 3u32; +pub const CMSG_ENVELOPED_DATA_CMS_VERSION: u32 = 2u32; +pub const CMSG_ENVELOPED_DATA_PKCS_1_5_VERSION: u32 = 0u32; +pub const CMSG_ENVELOPED_DATA_V0: u32 = 0u32; +pub const CMSG_ENVELOPED_DATA_V2: u32 = 2u32; +pub const CMSG_ENVELOPED_RECIPIENT_V0: u32 = 0u32; +pub const CMSG_ENVELOPED_RECIPIENT_V2: u32 = 2u32; +pub const CMSG_ENVELOPED_RECIPIENT_V3: u32 = 3u32; +pub const CMSG_ENVELOPED_RECIPIENT_V4: u32 = 4u32; +pub const CMSG_ENVELOPE_ALGORITHM_PARAM: u32 = 15u32; +pub const CMSG_HASHED: CRYPT_MSG_TYPE = 5u32; +pub const CMSG_HASHED_DATA_CMS_VERSION: u32 = 2u32; +pub const CMSG_HASHED_DATA_PKCS_1_5_VERSION: u32 = 0u32; +pub const CMSG_HASHED_DATA_V0: u32 = 0u32; +pub const CMSG_HASHED_DATA_V2: u32 = 2u32; +pub const CMSG_HASH_ALGORITHM_PARAM: u32 = 20u32; +pub const CMSG_HASH_DATA_PARAM: u32 = 21u32; +pub const CMSG_INDEFINITE_LENGTH: u32 = 4294967295u32; +pub const CMSG_INNER_CONTENT_TYPE_PARAM: u32 = 4u32; +pub const CMSG_KEY_AGREE_ENCRYPT_FREE_MATERIAL_FLAG: u32 = 2u32; +pub const CMSG_KEY_AGREE_ENCRYPT_FREE_OBJID_FLAG: u32 = 32u32; +pub const CMSG_KEY_AGREE_ENCRYPT_FREE_PARA_FLAG: u32 = 1u32; +pub const CMSG_KEY_AGREE_ENCRYPT_FREE_PUBKEY_ALG_FLAG: u32 = 4u32; +pub const CMSG_KEY_AGREE_ENCRYPT_FREE_PUBKEY_BITS_FLAG: u32 = 16u32; +pub const CMSG_KEY_AGREE_ENCRYPT_FREE_PUBKEY_PARA_FLAG: u32 = 8u32; +pub const CMSG_KEY_AGREE_EPHEMERAL_KEY_CHOICE: CMSG_KEY_AGREE_OPTION = 1u32; +pub const CMSG_KEY_AGREE_ORIGINATOR_CERT: CMSG_KEY_AGREE_ORIGINATOR = 1u32; +pub const CMSG_KEY_AGREE_ORIGINATOR_PUBLIC_KEY: CMSG_KEY_AGREE_ORIGINATOR = 2u32; +pub const CMSG_KEY_AGREE_RECIPIENT: u32 = 2u32; +pub const CMSG_KEY_AGREE_STATIC_KEY_CHOICE: CMSG_KEY_AGREE_OPTION = 2u32; +pub const CMSG_KEY_AGREE_VERSION: u32 = 3u32; +pub const CMSG_KEY_TRANS_CMS_VERSION: u32 = 2u32; +pub const CMSG_KEY_TRANS_ENCRYPT_FREE_OBJID_FLAG: u32 = 2u32; +pub const CMSG_KEY_TRANS_ENCRYPT_FREE_PARA_FLAG: u32 = 1u32; +pub const CMSG_KEY_TRANS_PKCS_1_5_VERSION: u32 = 0u32; +pub const CMSG_KEY_TRANS_RECIPIENT: u32 = 1u32; +pub const CMSG_LENGTH_ONLY_FLAG: u32 = 2u32; +pub const CMSG_MAIL_LIST_ENCRYPT_FREE_OBJID_FLAG: u32 = 2u32; +pub const CMSG_MAIL_LIST_ENCRYPT_FREE_PARA_FLAG: u32 = 1u32; +pub const CMSG_MAIL_LIST_HANDLE_KEY_CHOICE: u32 = 1u32; +pub const CMSG_MAIL_LIST_RECIPIENT: u32 = 3u32; +pub const CMSG_MAIL_LIST_VERSION: u32 = 4u32; +pub const CMSG_MAX_LENGTH_FLAG: u32 = 32u32; +pub const CMSG_OID_CAPI1_EXPORT_KEY_AGREE_FUNC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptMsgDllExportKeyAgree"); +pub const CMSG_OID_CAPI1_EXPORT_KEY_TRANS_FUNC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptMsgDllExportKeyTrans"); +pub const CMSG_OID_CAPI1_EXPORT_MAIL_LIST_FUNC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptMsgDllExportMailList"); +pub const CMSG_OID_CAPI1_GEN_CONTENT_ENCRYPT_KEY_FUNC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptMsgDllGenContentEncryptKey"); +pub const CMSG_OID_CAPI1_IMPORT_KEY_AGREE_FUNC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptMsgDllImportKeyAgree"); +pub const CMSG_OID_CAPI1_IMPORT_KEY_TRANS_FUNC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptMsgDllImportKeyTrans"); +pub const CMSG_OID_CAPI1_IMPORT_MAIL_LIST_FUNC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptMsgDllImportMailList"); +pub const CMSG_OID_CNG_EXPORT_KEY_AGREE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllCNGExportKeyAgree"); +pub const CMSG_OID_CNG_EXPORT_KEY_TRANS_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllCNGExportKeyTrans"); +pub const CMSG_OID_CNG_GEN_CONTENT_ENCRYPT_KEY_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllCNGGenContentEncryptKey"); +pub const CMSG_OID_CNG_IMPORT_CONTENT_ENCRYPT_KEY_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllCNGImportContentEncryptKey"); +pub const CMSG_OID_CNG_IMPORT_KEY_AGREE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllCNGImportKeyAgree"); +pub const CMSG_OID_CNG_IMPORT_KEY_TRANS_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllCNGImportKeyTrans"); +pub const CMSG_OID_EXPORT_ENCRYPT_KEY_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllExportEncryptKey"); +pub const CMSG_OID_EXPORT_KEY_AGREE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllExportKeyAgree"); +pub const CMSG_OID_EXPORT_KEY_TRANS_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllExportKeyTrans"); +pub const CMSG_OID_EXPORT_MAIL_LIST_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllExportMailList"); +pub const CMSG_OID_GEN_CONTENT_ENCRYPT_KEY_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllGenContentEncryptKey"); +pub const CMSG_OID_GEN_ENCRYPT_KEY_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllGenEncryptKey"); +pub const CMSG_OID_IMPORT_ENCRYPT_KEY_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllImportEncryptKey"); +pub const CMSG_OID_IMPORT_KEY_AGREE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllImportKeyAgree"); +pub const CMSG_OID_IMPORT_KEY_TRANS_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllImportKeyTrans"); +pub const CMSG_OID_IMPORT_MAIL_LIST_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptMsgDllImportMailList"); +pub const CMSG_RC4_NO_SALT_FLAG: u32 = 1073741824u32; +pub const CMSG_RECIPIENT_COUNT_PARAM: u32 = 17u32; +pub const CMSG_RECIPIENT_INDEX_PARAM: u32 = 18u32; +pub const CMSG_RECIPIENT_INFO_PARAM: u32 = 19u32; +pub const CMSG_SIGNED: CRYPT_MSG_TYPE = 2u32; +pub const CMSG_SIGNED_AND_ENVELOPED: CRYPT_MSG_TYPE = 4u32; +pub const CMSG_SIGNED_DATA_CMS_VERSION: u32 = 3u32; +pub const CMSG_SIGNED_DATA_NO_SIGN_FLAG: u32 = 128u32; +pub const CMSG_SIGNED_DATA_PKCS_1_5_VERSION: u32 = 1u32; +pub const CMSG_SIGNED_DATA_V1: u32 = 1u32; +pub const CMSG_SIGNED_DATA_V3: u32 = 3u32; +pub const CMSG_SIGNER_AUTH_ATTR_PARAM: u32 = 9u32; +pub const CMSG_SIGNER_CERT_ID_PARAM: u32 = 38u32; +pub const CMSG_SIGNER_CERT_INFO_PARAM: u32 = 7u32; +pub const CMSG_SIGNER_COUNT_PARAM: u32 = 5u32; +pub const CMSG_SIGNER_HASH_ALGORITHM_PARAM: u32 = 8u32; +pub const CMSG_SIGNER_INFO_CMS_VERSION: u32 = 3u32; +pub const CMSG_SIGNER_INFO_PARAM: u32 = 6u32; +pub const CMSG_SIGNER_INFO_PKCS_1_5_VERSION: u32 = 1u32; +pub const CMSG_SIGNER_INFO_V1: u32 = 1u32; +pub const CMSG_SIGNER_INFO_V3: u32 = 3u32; +pub const CMSG_SIGNER_ONLY_FLAG: u32 = 2u32; +pub const CMSG_SIGNER_UNAUTH_ATTR_PARAM: u32 = 10u32; +pub const CMSG_SP3_COMPATIBLE_ENCRYPT_FLAG: u32 = 2147483648u32; +pub const CMSG_TRUSTED_SIGNER_FLAG: u32 = 1u32; +pub const CMSG_TYPE_PARAM: u32 = 1u32; +pub const CMSG_UNPROTECTED_ATTR_PARAM: u32 = 37u32; +pub const CMSG_USE_SIGNER_INDEX_FLAG: u32 = 4u32; +pub const CMSG_VERIFY_COUNTER_SIGN_ENABLE_STRONG_FLAG: u32 = 1u32; +pub const CMSG_VERIFY_SIGNER_CERT: u32 = 2u32; +pub const CMSG_VERIFY_SIGNER_CHAIN: u32 = 3u32; +pub const CMSG_VERIFY_SIGNER_NULL: u32 = 4u32; +pub const CMSG_VERIFY_SIGNER_PUBKEY: u32 = 1u32; +pub const CMSG_VERSION_PARAM: u32 = 30u32; +pub const CMS_SIGNER_INFO: ::windows_sys::core::PCSTR = 501i32 as _; +pub const CNG_RSA_PRIVATE_KEY_BLOB: ::windows_sys::core::PCSTR = 83i32 as _; +pub const CNG_RSA_PUBLIC_KEY_BLOB: ::windows_sys::core::PCSTR = 72i32 as _; +pub const CONTEXT_OID_CAPI2_ANY: ::windows_sys::core::PCSTR = 5i32 as _; +pub const CONTEXT_OID_CERTIFICATE: ::windows_sys::core::PCSTR = 1i32 as _; +pub const CONTEXT_OID_CREATE_OBJECT_CONTEXT_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("ContextDllCreateObjectContext"); +pub const CONTEXT_OID_CRL: ::windows_sys::core::PCSTR = 2i32 as _; +pub const CONTEXT_OID_CTL: ::windows_sys::core::PCSTR = 3i32 as _; +pub const CONTEXT_OID_OCSP_RESP: ::windows_sys::core::PCSTR = 6i32 as _; +pub const CONTEXT_OID_PKCS7: ::windows_sys::core::PCSTR = 4i32 as _; +pub const CREDENTIAL_OID_PASSWORD_CREDENTIALS: i32 = 2i32; +pub const CREDENTIAL_OID_PASSWORD_CREDENTIALS_A: ::windows_sys::core::PCSTR = 1i32 as _; +pub const CREDENTIAL_OID_PASSWORD_CREDENTIALS_W: ::windows_sys::core::PCSTR = 2i32 as _; +pub const CRL_DIST_POINT_ERR_CRL_ISSUER_BIT: i32 = -2147483648i32; +pub const CRL_DIST_POINT_ERR_INDEX_MASK: u32 = 127u32; +pub const CRL_DIST_POINT_ERR_INDEX_SHIFT: u32 = 24u32; +pub const CRL_DIST_POINT_FULL_NAME: u32 = 1u32; +pub const CRL_DIST_POINT_ISSUER_RDN_NAME: u32 = 2u32; +pub const CRL_DIST_POINT_NO_NAME: u32 = 0u32; +pub const CRL_FIND_ANY: u32 = 0u32; +pub const CRL_FIND_EXISTING: u32 = 2u32; +pub const CRL_FIND_ISSUED_BY: u32 = 1u32; +pub const CRL_FIND_ISSUED_BY_AKI_FLAG: u32 = 1u32; +pub const CRL_FIND_ISSUED_BY_BASE_FLAG: u32 = 8u32; +pub const CRL_FIND_ISSUED_BY_DELTA_FLAG: u32 = 4u32; +pub const CRL_FIND_ISSUED_BY_SIGNATURE_FLAG: u32 = 2u32; +pub const CRL_FIND_ISSUED_FOR: u32 = 3u32; +pub const CRL_FIND_ISSUED_FOR_SET_STRONG_PROPERTIES_FLAG: u32 = 16u32; +pub const CRL_REASON_AA_COMPROMISE: u32 = 10u32; +pub const CRL_REASON_AA_COMPROMISE_FLAG: u32 = 128u32; +pub const CRL_REASON_AFFILIATION_CHANGED: CERT_REVOCATION_STATUS_REASON = 3u32; +pub const CRL_REASON_AFFILIATION_CHANGED_FLAG: u32 = 16u32; +pub const CRL_REASON_CA_COMPROMISE: CERT_REVOCATION_STATUS_REASON = 2u32; +pub const CRL_REASON_CA_COMPROMISE_FLAG: u32 = 32u32; +pub const CRL_REASON_CERTIFICATE_HOLD: CERT_REVOCATION_STATUS_REASON = 6u32; +pub const CRL_REASON_CERTIFICATE_HOLD_FLAG: u32 = 2u32; +pub const CRL_REASON_CESSATION_OF_OPERATION: CERT_REVOCATION_STATUS_REASON = 5u32; +pub const CRL_REASON_CESSATION_OF_OPERATION_FLAG: u32 = 4u32; +pub const CRL_REASON_KEY_COMPROMISE: CERT_REVOCATION_STATUS_REASON = 1u32; +pub const CRL_REASON_KEY_COMPROMISE_FLAG: u32 = 64u32; +pub const CRL_REASON_PRIVILEGE_WITHDRAWN: u32 = 9u32; +pub const CRL_REASON_PRIVILEGE_WITHDRAWN_FLAG: u32 = 1u32; +pub const CRL_REASON_REMOVE_FROM_CRL: CERT_REVOCATION_STATUS_REASON = 8u32; +pub const CRL_REASON_SUPERSEDED: CERT_REVOCATION_STATUS_REASON = 4u32; +pub const CRL_REASON_SUPERSEDED_FLAG: u32 = 8u32; +pub const CRL_REASON_UNSPECIFIED: CERT_REVOCATION_STATUS_REASON = 0u32; +pub const CRL_REASON_UNUSED_FLAG: u32 = 128u32; +pub const CRL_V1: u32 = 0u32; +pub const CRL_V2: u32 = 1u32; +pub const CROSS_CERT_DIST_POINT_ERR_INDEX_MASK: u32 = 255u32; +pub const CROSS_CERT_DIST_POINT_ERR_INDEX_SHIFT: u32 = 24u32; +pub const CRYPTNET_CACHED_OCSP_SWITCH_TO_CRL_COUNT_DEFAULT: u32 = 50u32; +pub const CRYPTNET_CACHED_OCSP_SWITCH_TO_CRL_COUNT_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetCachedOcspSwitchToCrlCount"); +pub const CRYPTNET_CRL_BEFORE_OCSP_ENABLE: u32 = 4294967295u32; +pub const CRYPTNET_CRL_PRE_FETCH_DISABLE_INFORMATION_EVENTS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DisableInformationEvents"); +pub const CRYPTNET_CRL_PRE_FETCH_LOG_FILE_NAME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LogFileName"); +pub const CRYPTNET_CRL_PRE_FETCH_MAX_AGE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxAgeSeconds"); +pub const CRYPTNET_CRL_PRE_FETCH_MIN_AFTER_NEXT_UPDATE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MinAfterNextUpdateSeconds"); +pub const CRYPTNET_CRL_PRE_FETCH_MIN_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MinBeforeNextUpdateSeconds"); +pub const CRYPTNET_CRL_PRE_FETCH_PROCESS_NAME_LIST_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ProcessNameList"); +pub const CRYPTNET_CRL_PRE_FETCH_PUBLISH_BEFORE_NEXT_UPDATE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PublishBeforeNextUpdateSeconds"); +pub const CRYPTNET_CRL_PRE_FETCH_PUBLISH_RANDOM_INTERVAL_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PublishRandomIntervalSeconds"); +pub const CRYPTNET_CRL_PRE_FETCH_TIMEOUT_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("TimeoutSeconds"); +pub const CRYPTNET_CRL_PRE_FETCH_URL_LIST_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PreFetchUrlList"); +pub const CRYPTNET_MAX_CACHED_OCSP_PER_CRL_COUNT_DEFAULT: u32 = 500u32; +pub const CRYPTNET_MAX_CACHED_OCSP_PER_CRL_COUNT_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetMaxCachedOcspPerCrlCount"); +pub const CRYPTNET_OCSP_AFTER_CRL_DISABLE: u32 = 4294967295u32; +pub const CRYPTNET_PRE_FETCH_AFTER_CURRENT_TIME_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetPreFetchAfterCurrentTimePreFetchPeriodSeconds"); +pub const CRYPTNET_PRE_FETCH_AFTER_PUBLISH_PRE_FETCH_DIVISOR_DEFAULT: u32 = 10u32; +pub const CRYPTNET_PRE_FETCH_AFTER_PUBLISH_PRE_FETCH_DIVISOR_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetPreFetchAfterPublishPreFetchDivisor"); +pub const CRYPTNET_PRE_FETCH_BEFORE_NEXT_UPDATE_PRE_FETCH_DIVISOR_DEFAULT: u32 = 20u32; +pub const CRYPTNET_PRE_FETCH_BEFORE_NEXT_UPDATE_PRE_FETCH_DIVISOR_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetPreFetchBeforeNextUpdatePreFetchDivisor"); +pub const CRYPTNET_PRE_FETCH_MAX_AFTER_NEXT_UPDATE_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetPreFetchMaxAfterNextUpdatePreFetchPeriodSeconds"); +pub const CRYPTNET_PRE_FETCH_MAX_MAX_AGE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetPreFetchMaxMaxAgeSeconds"); +pub const CRYPTNET_PRE_FETCH_MIN_AFTER_NEXT_UPDATE_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetPreFetchMinAfterNextUpdatePreFetchPeriodSeconds"); +pub const CRYPTNET_PRE_FETCH_MIN_BEFORE_NEXT_UPDATE_PRE_FETCH_PERIOD_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetPreFetchMinBeforeNextUpdatePreFetchSeconds"); +pub const CRYPTNET_PRE_FETCH_MIN_MAX_AGE_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetPreFetchMinMaxAgeSeconds"); +pub const CRYPTNET_PRE_FETCH_MIN_OCSP_VALIDITY_PERIOD_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetPreFetchMinOcspValidityPeriodSeconds"); +pub const CRYPTNET_PRE_FETCH_RETRIEVAL_TIMEOUT_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetPreFetchRetrievalTimeoutSeconds"); +pub const CRYPTNET_PRE_FETCH_SCAN_AFTER_TRIGGER_DELAY_SECONDS_DEFAULT: u32 = 60u32; +pub const CRYPTNET_PRE_FETCH_SCAN_AFTER_TRIGGER_DELAY_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetPreFetchScanAfterTriggerDelaySeconds"); +pub const CRYPTNET_PRE_FETCH_TRIGGER_DISABLE: u32 = 4294967295u32; +pub const CRYPTNET_PRE_FETCH_TRIGGER_PERIOD_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetPreFetchTriggerPeriodSeconds"); +pub const CRYPTNET_PRE_FETCH_VALIDITY_PERIOD_AFTER_NEXT_UPDATE_PRE_FETCH_DIVISOR_DEFAULT: u32 = 10u32; +pub const CRYPTNET_PRE_FETCH_VALIDITY_PERIOD_AFTER_NEXT_UPDATE_PRE_FETCH_DIVISOR_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetPreFetchValidityPeriodAfterNextUpdatePreFetchDivisor"); +pub const CRYPTNET_URL_CACHE_DEFAULT_FLUSH: u32 = 0u32; +pub const CRYPTNET_URL_CACHE_DEFAULT_FLUSH_EXEMPT_SECONDS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptnetDefaultFlushExemptSeconds"); +pub const CRYPTNET_URL_CACHE_DISABLE_FLUSH: u32 = 4294967295u32; +pub const CRYPTNET_URL_CACHE_PRE_FETCH_AUTOROOT_CAB: u32 = 5u32; +pub const CRYPTNET_URL_CACHE_PRE_FETCH_BLOB: u32 = 1u32; +pub const CRYPTNET_URL_CACHE_PRE_FETCH_CRL: u32 = 2u32; +pub const CRYPTNET_URL_CACHE_PRE_FETCH_DISALLOWED_CERT_CAB: u32 = 6u32; +pub const CRYPTNET_URL_CACHE_PRE_FETCH_NONE: u32 = 0u32; +pub const CRYPTNET_URL_CACHE_PRE_FETCH_OCSP: u32 = 3u32; +pub const CRYPTNET_URL_CACHE_PRE_FETCH_PIN_RULES_CAB: u32 = 7u32; +pub const CRYPTNET_URL_CACHE_RESPONSE_HTTP: u32 = 1u32; +pub const CRYPTNET_URL_CACHE_RESPONSE_NONE: u32 = 0u32; +pub const CRYPTNET_URL_CACHE_RESPONSE_VALIDATED: u32 = 32768u32; +pub const CRYPTPROTECTMEMORY_BLOCK_SIZE: u32 = 16u32; +pub const CRYPTPROTECTMEMORY_CROSS_PROCESS: u32 = 1u32; +pub const CRYPTPROTECTMEMORY_SAME_LOGON: u32 = 2u32; +pub const CRYPTPROTECTMEMORY_SAME_PROCESS: u32 = 0u32; +pub const CRYPTPROTECT_AUDIT: u32 = 16u32; +pub const CRYPTPROTECT_CRED_REGENERATE: u32 = 128u32; +pub const CRYPTPROTECT_CRED_SYNC: u32 = 8u32; +pub const CRYPTPROTECT_DEFAULT_PROVIDER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xdf9d8cd0_1501_11d1_8c7a_00c04fc297eb); +pub const CRYPTPROTECT_FIRST_RESERVED_FLAGVAL: u32 = 268435455u32; +pub const CRYPTPROTECT_LAST_RESERVED_FLAGVAL: u32 = 4294967295u32; +pub const CRYPTPROTECT_LOCAL_MACHINE: u32 = 4u32; +pub const CRYPTPROTECT_NO_RECOVERY: u32 = 32u32; +pub const CRYPTPROTECT_PROMPT_ON_PROTECT: u32 = 2u32; +pub const CRYPTPROTECT_PROMPT_ON_UNPROTECT: u32 = 1u32; +pub const CRYPTPROTECT_PROMPT_REQUIRE_STRONG: u32 = 16u32; +pub const CRYPTPROTECT_PROMPT_RESERVED: u32 = 4u32; +pub const CRYPTPROTECT_PROMPT_STRONG: u32 = 8u32; +pub const CRYPTPROTECT_UI_FORBIDDEN: u32 = 1u32; +pub const CRYPTPROTECT_VERIFY_PROTECTION: u32 = 64u32; +pub const CRYPT_ACCUMULATIVE_TIMEOUT: u32 = 2048u32; +pub const CRYPT_ACQUIRE_ALLOW_NCRYPT_KEY_FLAG: CRYPT_ACQUIRE_FLAGS = 65536u32; +pub const CRYPT_ACQUIRE_CACHE_FLAG: CRYPT_ACQUIRE_FLAGS = 1u32; +pub const CRYPT_ACQUIRE_COMPARE_KEY_FLAG: CRYPT_ACQUIRE_FLAGS = 4u32; +pub const CRYPT_ACQUIRE_NCRYPT_KEY_FLAGS_MASK: CRYPT_ACQUIRE_FLAGS = 458752u32; +pub const CRYPT_ACQUIRE_NO_HEALING: CRYPT_ACQUIRE_FLAGS = 8u32; +pub const CRYPT_ACQUIRE_ONLY_NCRYPT_KEY_FLAG: CRYPT_ACQUIRE_FLAGS = 262144u32; +pub const CRYPT_ACQUIRE_PREFER_NCRYPT_KEY_FLAG: CRYPT_ACQUIRE_FLAGS = 131072u32; +pub const CRYPT_ACQUIRE_SILENT_FLAG: CRYPT_ACQUIRE_FLAGS = 64u32; +pub const CRYPT_ACQUIRE_USE_PROV_INFO_FLAG: CRYPT_ACQUIRE_FLAGS = 2u32; +pub const CRYPT_ACQUIRE_WINDOW_HANDLE_FLAG: CRYPT_ACQUIRE_FLAGS = 128u32; +pub const CRYPT_AIA_RETRIEVAL: u32 = 524288u32; +pub const CRYPT_ALL_FUNCTIONS: BCRYPT_RESOLVE_PROVIDERS_FLAGS = 1u32; +pub const CRYPT_ALL_PROVIDERS: BCRYPT_RESOLVE_PROVIDERS_FLAGS = 2u32; +pub const CRYPT_ANY: BCRYPT_QUERY_PROVIDER_MODE = 4u32; +pub const CRYPT_ARCHIVABLE: CRYPT_KEY_FLAGS = 16384u32; +pub const CRYPT_ARCHIVE: u32 = 256u32; +pub const CRYPT_ASN_ENCODING: u32 = 1u32; +pub const CRYPT_ASYNC_RETRIEVAL: u32 = 16u32; +pub const CRYPT_BLOB_VER3: CRYPT_KEY_FLAGS = 128u32; +pub const CRYPT_CACHE_ONLY_RETRIEVAL: u32 = 2u32; +pub const CRYPT_CHECK_FRESHNESS_TIME_VALIDITY: u32 = 1024u32; +pub const CRYPT_CREATE_IV: CRYPT_KEY_FLAGS = 512u32; +pub const CRYPT_CREATE_NEW_FLUSH_ENTRY: u32 = 268435456u32; +pub const CRYPT_CREATE_SALT: CRYPT_KEY_FLAGS = 4u32; +pub const CRYPT_DATA_KEY: CRYPT_KEY_FLAGS = 2048u32; +pub const CRYPT_DECODE_ALLOC_FLAG: u32 = 32768u32; +pub const CRYPT_DECODE_ENABLE_PUNYCODE_FLAG: u32 = 33554432u32; +pub const CRYPT_DECODE_ENABLE_UTF8PERCENT_FLAG: u32 = 67108864u32; +pub const CRYPT_DECODE_NOCOPY_FLAG: u32 = 1u32; +pub const CRYPT_DECODE_NO_SIGNATURE_BYTE_REVERSAL_FLAG: u32 = 8u32; +pub const CRYPT_DECODE_SHARE_OID_STRING_FLAG: u32 = 4u32; +pub const CRYPT_DECODE_TO_BE_SIGNED_FLAG: u32 = 2u32; +pub const CRYPT_DECRYPT: u32 = 2u32; +pub const CRYPT_DECRYPT_RSA_NO_PADDING_CHECK: u32 = 32u32; +pub const CRYPT_DEFAULT_CONTAINER_OPTIONAL: u32 = 128u32; +pub const CRYPT_DEFAULT_CONTEXT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Default"); +pub const CRYPT_DEFAULT_CONTEXT_AUTO_RELEASE_FLAG: CRYPT_DEFAULT_CONTEXT_FLAGS = 1u32; +pub const CRYPT_DEFAULT_CONTEXT_CERT_SIGN_OID: CRYPT_DEFAULT_CONTEXT_TYPE = 1u32; +pub const CRYPT_DEFAULT_CONTEXT_MULTI_CERT_SIGN_OID: CRYPT_DEFAULT_CONTEXT_TYPE = 2u32; +pub const CRYPT_DEFAULT_CONTEXT_PROCESS_FLAG: CRYPT_DEFAULT_CONTEXT_FLAGS = 2u32; +pub const CRYPT_DEFAULT_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("DEFAULT"); +pub const CRYPT_DELETEKEYSET: u32 = 16u32; +pub const CRYPT_DELETE_DEFAULT: u32 = 4u32; +pub const CRYPT_DELETE_KEYSET: u32 = 16u32; +pub const CRYPT_DESTROYKEY: CRYPT_KEY_FLAGS = 4u32; +pub const CRYPT_DOMAIN: BCRYPT_TABLE = 2u32; +pub const CRYPT_DONT_CACHE_RESULT: u32 = 8u32; +pub const CRYPT_DONT_CHECK_TIME_VALIDITY: u32 = 512u32; +pub const CRYPT_DONT_VERIFY_SIGNATURE: u32 = 256u32; +pub const CRYPT_ECC_CMS_SHARED_INFO_SUPPPUBINFO_BYTE_LENGTH: u32 = 4u32; +pub const CRYPT_ECC_PRIVATE_KEY_INFO_v1: u32 = 1u32; +pub const CRYPT_ENABLE_FILE_RETRIEVAL: u32 = 134217728u32; +pub const CRYPT_ENABLE_SSL_REVOCATION_RETRIEVAL: u32 = 8388608u32; +pub const CRYPT_ENCODE_ALLOC_FLAG: CRYPT_ENCODE_OBJECT_FLAGS = 32768u32; +pub const CRYPT_ENCODE_DECODE_NONE: u32 = 0u32; +pub const CRYPT_ENCODE_ENABLE_PUNYCODE_FLAG: CRYPT_ENCODE_OBJECT_FLAGS = 131072u32; +pub const CRYPT_ENCODE_ENABLE_UTF8PERCENT_FLAG: u32 = 262144u32; +pub const CRYPT_ENCODE_NO_SIGNATURE_BYTE_REVERSAL_FLAG: u32 = 8u32; +pub const CRYPT_ENCRYPT: u32 = 1u32; +pub const CRYPT_ENCRYPT_ALG_OID_GROUP_ID: u32 = 2u32; +pub const CRYPT_ENHKEY_USAGE_OID_GROUP_ID: u32 = 7u32; +pub const CRYPT_EXCLUSIVE: CRYPT_CONTEXT_CONFIG_FLAGS = 1u32; +pub const CRYPT_EXPORT: u32 = 4u32; +pub const CRYPT_EXPORTABLE: CRYPT_KEY_FLAGS = 1u32; +pub const CRYPT_EXPORT_KEY: u32 = 64u32; +pub const CRYPT_EXT_OR_ATTR_OID_GROUP_ID: u32 = 6u32; +pub const CRYPT_FAILED: u32 = 0u32; +pub const CRYPT_FASTSGC: u32 = 2u32; +pub const CRYPT_FIND_MACHINE_KEYSET_FLAG: CRYPT_FIND_FLAGS = 2u32; +pub const CRYPT_FIND_SILENT_KEYSET_FLAG: CRYPT_FIND_FLAGS = 64u32; +pub const CRYPT_FIND_USER_KEYSET_FLAG: CRYPT_FIND_FLAGS = 1u32; +pub const CRYPT_FIRST: u32 = 1u32; +pub const CRYPT_FIRST_ALG_OID_GROUP_ID: u32 = 1u32; +pub const CRYPT_FLAG_IPSEC: u32 = 16u32; +pub const CRYPT_FLAG_PCT1: u32 = 1u32; +pub const CRYPT_FLAG_SIGNING: u32 = 32u32; +pub const CRYPT_FLAG_SSL2: u32 = 2u32; +pub const CRYPT_FLAG_SSL3: u32 = 4u32; +pub const CRYPT_FLAG_TLS1: u32 = 8u32; +pub const CRYPT_FORCE_KEY_PROTECTION_HIGH: CRYPT_KEY_FLAGS = 32768u32; +pub const CRYPT_FORMAT_COMMA: u32 = 4096u32; +pub const CRYPT_FORMAT_CRLF: u32 = 512u32; +pub const CRYPT_FORMAT_OID: u32 = 4u32; +pub const CRYPT_FORMAT_RDN_CRLF: u32 = 512u32; +pub const CRYPT_FORMAT_RDN_REVERSE: u32 = 2048u32; +pub const CRYPT_FORMAT_RDN_SEMICOLON: u32 = 256u32; +pub const CRYPT_FORMAT_RDN_UNQUOTE: u32 = 1024u32; +pub const CRYPT_FORMAT_SEMICOLON: u32 = 256u32; +pub const CRYPT_FORMAT_SIMPLE: u32 = 1u32; +pub const CRYPT_FORMAT_STR_MULTI_LINE: u32 = 1u32; +pub const CRYPT_FORMAT_STR_NO_HEX: u32 = 16u32; +pub const CRYPT_FORMAT_X509: u32 = 2u32; +pub const CRYPT_GET_INSTALLED_OID_FUNC_FLAG: u32 = 1u32; +pub const CRYPT_GET_URL_FROM_AUTH_ATTRIBUTE: CRYPT_GET_URL_FLAGS = 8u32; +pub const CRYPT_GET_URL_FROM_EXTENSION: CRYPT_GET_URL_FLAGS = 2u32; +pub const CRYPT_GET_URL_FROM_PROPERTY: CRYPT_GET_URL_FLAGS = 1u32; +pub const CRYPT_GET_URL_FROM_UNAUTH_ATTRIBUTE: CRYPT_GET_URL_FLAGS = 4u32; +pub const CRYPT_HASH_ALG_OID_GROUP_ID: u32 = 1u32; +pub const CRYPT_HTTP_POST_RETRIEVAL: u32 = 1048576u32; +pub const CRYPT_IMPL_HARDWARE: u32 = 1u32; +pub const CRYPT_IMPL_MIXED: u32 = 3u32; +pub const CRYPT_IMPL_REMOVABLE: u32 = 8u32; +pub const CRYPT_IMPL_SOFTWARE: u32 = 2u32; +pub const CRYPT_IMPL_UNKNOWN: u32 = 4u32; +pub const CRYPT_IMPORT_KEY: u32 = 128u32; +pub const CRYPT_INITIATOR: CRYPT_KEY_FLAGS = 64u32; +pub const CRYPT_INSTALL_OID_FUNC_BEFORE_FLAG: u32 = 1u32; +pub const CRYPT_INSTALL_OID_INFO_BEFORE_FLAG: u32 = 1u32; +pub const CRYPT_IPSEC_HMAC_KEY: CRYPT_KEY_FLAGS = 256u32; +pub const CRYPT_KDF_OID_GROUP_ID: u32 = 10u32; +pub const CRYPT_KEEP_TIME_VALID: u32 = 128u32; +pub const CRYPT_KEK: CRYPT_KEY_FLAGS = 1024u32; +pub const CRYPT_KEYID_ALLOC_FLAG: u32 = 32768u32; +pub const CRYPT_KEYID_DELETE_FLAG: u32 = 16u32; +pub const CRYPT_KEYID_MACHINE_FLAG: u32 = 32u32; +pub const CRYPT_KEYID_SET_NEW_FLAG: u32 = 8192u32; +pub const CRYPT_KM: BCRYPT_QUERY_PROVIDER_MODE = 2u32; +pub const CRYPT_LAST_ALG_OID_GROUP_ID: u32 = 4u32; +pub const CRYPT_LAST_OID_GROUP_ID: u32 = 10u32; +pub const CRYPT_LDAP_AREC_EXCLUSIVE_RETRIEVAL: u32 = 262144u32; +pub const CRYPT_LDAP_INSERT_ENTRY_ATTRIBUTE: u32 = 32768u32; +pub const CRYPT_LDAP_SCOPE_BASE_ONLY_RETRIEVAL: u32 = 8192u32; +pub const CRYPT_LDAP_SIGN_RETRIEVAL: u32 = 65536u32; +pub const CRYPT_LITTLE_ENDIAN: u32 = 1u32; +pub const CRYPT_LOCAL: BCRYPT_TABLE = 1u32; +pub const CRYPT_LOCALIZED_NAME_ENCODING_TYPE: u32 = 0u32; +pub const CRYPT_LOCALIZED_NAME_OID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("LocalizedNames"); +pub const CRYPT_MAC: u32 = 32u32; +pub const CRYPT_MACHINE_DEFAULT: u32 = 1u32; +pub const CRYPT_MACHINE_KEYSET: CRYPT_KEY_FLAGS = 32u32; +pub const CRYPT_MATCH_ANY_ENCODING_TYPE: u32 = 4294967295u32; +pub const CRYPT_MESSAGE_BARE_CONTENT_OUT_FLAG: u32 = 1u32; +pub const CRYPT_MESSAGE_ENCAPSULATED_CONTENT_OUT_FLAG: u32 = 2u32; +pub const CRYPT_MESSAGE_KEYID_RECIPIENT_FLAG: u32 = 4u32; +pub const CRYPT_MESSAGE_KEYID_SIGNER_FLAG: u32 = 4u32; +pub const CRYPT_MESSAGE_SILENT_KEYSET_FLAG: u32 = 64u32; +pub const CRYPT_MIN_DEPENDENCIES: CRYPT_IMAGE_REF_FLAGS = 1u32; +pub const CRYPT_MM: BCRYPT_QUERY_PROVIDER_MODE = 3u32; +pub const CRYPT_MODE_CBC: u32 = 1u32; +pub const CRYPT_MODE_CBCI: u32 = 6u32; +pub const CRYPT_MODE_CBCOFM: u32 = 9u32; +pub const CRYPT_MODE_CBCOFMI: u32 = 10u32; +pub const CRYPT_MODE_CFB: u32 = 4u32; +pub const CRYPT_MODE_CFBP: u32 = 7u32; +pub const CRYPT_MODE_CTS: u32 = 5u32; +pub const CRYPT_MODE_ECB: u32 = 2u32; +pub const CRYPT_MODE_OFB: u32 = 3u32; +pub const CRYPT_MODE_OFBP: u32 = 8u32; +pub const CRYPT_NDR_ENCODING: u32 = 2u32; +pub const CRYPT_NEWKEYSET: u32 = 8u32; +pub const CRYPT_NEXT: u32 = 2u32; +pub const CRYPT_NOHASHOID: u32 = 1u32; +pub const CRYPT_NOT_MODIFIED_RETRIEVAL: u32 = 4194304u32; +pub const CRYPT_NO_AUTH_RETRIEVAL: u32 = 131072u32; +pub const CRYPT_NO_OCSP_FAILOVER_TO_CRL_RETRIEVAL: u32 = 33554432u32; +pub const CRYPT_NO_SALT: CRYPT_KEY_FLAGS = 16u32; +pub const CRYPT_OAEP: CRYPT_KEY_FLAGS = 64u32; +pub const CRYPT_OBJECT_LOCATOR_FIRST_RESERVED_USER_NAME_TYPE: u32 = 33u32; +pub const CRYPT_OBJECT_LOCATOR_LAST_RESERVED_NAME_TYPE: u32 = 32u32; +pub const CRYPT_OBJECT_LOCATOR_LAST_RESERVED_USER_NAME_TYPE: u32 = 65535u32; +pub const CRYPT_OBJECT_LOCATOR_RELEASE_DLL_UNLOAD: CRYPT_OBJECT_LOCATOR_RELEASE_REASON = 4u32; +pub const CRYPT_OBJECT_LOCATOR_RELEASE_PROCESS_EXIT: CRYPT_OBJECT_LOCATOR_RELEASE_REASON = 3u32; +pub const CRYPT_OBJECT_LOCATOR_RELEASE_SERVICE_STOP: CRYPT_OBJECT_LOCATOR_RELEASE_REASON = 2u32; +pub const CRYPT_OBJECT_LOCATOR_RELEASE_SYSTEM_SHUTDOWN: CRYPT_OBJECT_LOCATOR_RELEASE_REASON = 1u32; +pub const CRYPT_OBJECT_LOCATOR_SPN_NAME_TYPE: u32 = 1u32; +pub const CRYPT_OCSP_ONLY_RETRIEVAL: u32 = 16777216u32; +pub const CRYPT_OFFLINE_CHECK_RETRIEVAL: u32 = 16384u32; +pub const CRYPT_OID_CREATE_COM_OBJECT_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllCreateCOMObject"); +pub const CRYPT_OID_DECODE_OBJECT_EX_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllDecodeObjectEx"); +pub const CRYPT_OID_DECODE_OBJECT_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllDecodeObject"); +pub const CRYPT_OID_DISABLE_SEARCH_DS_FLAG: u32 = 2147483648u32; +pub const CRYPT_OID_ENCODE_OBJECT_EX_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllEncodeObjectEx"); +pub const CRYPT_OID_ENCODE_OBJECT_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllEncodeObject"); +pub const CRYPT_OID_ENUM_PHYSICAL_STORE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CertDllEnumPhysicalStore"); +pub const CRYPT_OID_ENUM_SYSTEM_STORE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CertDllEnumSystemStore"); +pub const CRYPT_OID_EXPORT_PRIVATE_KEY_INFO_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllExportPrivateKeyInfoEx"); +pub const CRYPT_OID_EXPORT_PUBLIC_KEY_INFO_EX2_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllExportPublicKeyInfoEx2"); +pub const CRYPT_OID_EXPORT_PUBLIC_KEY_INFO_FROM_BCRYPT_HANDLE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllExportPublicKeyInfoFromBCryptKeyHandle"); +pub const CRYPT_OID_EXPORT_PUBLIC_KEY_INFO_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllExportPublicKeyInfoEx"); +pub const CRYPT_OID_EXTRACT_ENCODED_SIGNATURE_PARAMETERS_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllExtractEncodedSignatureParameters"); +pub const CRYPT_OID_FIND_LOCALIZED_NAME_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllFindLocalizedName"); +pub const CRYPT_OID_FIND_OID_INFO_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllFindOIDInfo"); +pub const CRYPT_OID_FORMAT_OBJECT_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllFormatObject"); +pub const CRYPT_OID_IMPORT_PRIVATE_KEY_INFO_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllImportPrivateKeyInfoEx"); +pub const CRYPT_OID_IMPORT_PUBLIC_KEY_INFO_EX2_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllImportPublicKeyInfoEx2"); +pub const CRYPT_OID_IMPORT_PUBLIC_KEY_INFO_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllImportPublicKeyInfoEx"); +pub const CRYPT_OID_INFO_ALGID_KEY: u32 = 3u32; +pub const CRYPT_OID_INFO_CNG_ALGID_KEY: u32 = 5u32; +pub const CRYPT_OID_INFO_CNG_SIGN_KEY: u32 = 6u32; +pub const CRYPT_OID_INFO_ECC_PARAMETERS_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptOIDInfoECCParameters"); +pub const CRYPT_OID_INFO_ECC_WRAP_PARAMETERS_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptOIDInfoECCWrapParameters"); +pub const CRYPT_OID_INFO_HASH_PARAMETERS_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptOIDInfoHashParameters"); +pub const CRYPT_OID_INFO_MGF1_PARAMETERS_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptOIDInfoMgf1Parameters"); +pub const CRYPT_OID_INFO_NAME_KEY: u32 = 2u32; +pub const CRYPT_OID_INFO_NO_PARAMETERS_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptOIDInfoNoParameters"); +pub const CRYPT_OID_INFO_NO_SIGN_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptOIDInfoNoSign"); +pub const CRYPT_OID_INFO_OAEP_PARAMETERS_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptOIDInfoOAEPParameters"); +pub const CRYPT_OID_INFO_OID_GROUP_BIT_LEN_MASK: u32 = 268369920u32; +pub const CRYPT_OID_INFO_OID_GROUP_BIT_LEN_SHIFT: u32 = 16u32; +pub const CRYPT_OID_INFO_OID_KEY: u32 = 1u32; +pub const CRYPT_OID_INFO_OID_KEY_FLAGS_MASK: u32 = 4294901760u32; +pub const CRYPT_OID_INFO_PUBKEY_ENCRYPT_KEY_FLAG: CRYPT_IMPORT_PUBLIC_KEY_FLAGS = 1073741824u32; +pub const CRYPT_OID_INFO_PUBKEY_SIGN_KEY_FLAG: CRYPT_IMPORT_PUBLIC_KEY_FLAGS = 2147483648u32; +pub const CRYPT_OID_INFO_SIGN_KEY: u32 = 4u32; +pub const CRYPT_OID_INHIBIT_SIGNATURE_FORMAT_FLAG: u32 = 1u32; +pub const CRYPT_OID_NO_NULL_ALGORITHM_PARA_FLAG: u32 = 4u32; +pub const CRYPT_OID_OPEN_STORE_PROV_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CertDllOpenStoreProv"); +pub const CRYPT_OID_OPEN_SYSTEM_STORE_PROV_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CertDllOpenSystemStoreProv"); +pub const CRYPT_OID_PREFER_CNG_ALGID_FLAG: u32 = 1073741824u32; +pub const CRYPT_OID_PUBKEY_ENCRYPT_ONLY_FLAG: u32 = 1073741824u32; +pub const CRYPT_OID_PUBKEY_SIGN_ONLY_FLAG: u32 = 2147483648u32; +pub const CRYPT_OID_REGISTER_PHYSICAL_STORE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CertDllRegisterPhysicalStore"); +pub const CRYPT_OID_REGISTER_SYSTEM_STORE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CertDllRegisterSystemStore"); +pub const CRYPT_OID_REGPATH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Software\\Microsoft\\Cryptography\\OID"); +pub const CRYPT_OID_REG_DLL_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Dll"); +pub const CRYPT_OID_REG_ENCODING_TYPE_PREFIX: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("EncodingType "); +pub const CRYPT_OID_REG_FLAGS_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CryptFlags"); +pub const CRYPT_OID_REG_FUNC_NAME_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FuncName"); +pub const CRYPT_OID_REG_FUNC_NAME_VALUE_NAME_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("FuncName"); +pub const CRYPT_OID_SIGN_AND_ENCODE_HASH_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllSignAndEncodeHash"); +pub const CRYPT_OID_SYSTEM_STORE_LOCATION_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SystemStoreLocation"); +pub const CRYPT_OID_UNREGISTER_PHYSICAL_STORE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CertDllUnregisterPhysicalStore"); +pub const CRYPT_OID_UNREGISTER_SYSTEM_STORE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CertDllUnregisterSystemStore"); +pub const CRYPT_OID_USE_CURVE_NAME_FOR_ENCODE_FLAG: u32 = 536870912u32; +pub const CRYPT_OID_USE_CURVE_PARAMETERS_FOR_ENCODE_FLAG: u32 = 268435456u32; +pub const CRYPT_OID_USE_PUBKEY_PARA_FOR_PKCS7_FLAG: u32 = 2u32; +pub const CRYPT_OID_VERIFY_CERTIFICATE_CHAIN_POLICY_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CertDllVerifyCertificateChainPolicy"); +pub const CRYPT_OID_VERIFY_CTL_USAGE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CertDllVerifyCTLUsage"); +pub const CRYPT_OID_VERIFY_ENCODED_SIGNATURE_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CryptDllVerifyEncodedSignature"); +pub const CRYPT_OID_VERIFY_REVOCATION_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CertDllVerifyRevocation"); +pub const CRYPT_ONLINE: CRYPT_KEY_FLAGS = 128u32; +pub const CRYPT_OVERRIDE: CRYPT_CONTEXT_CONFIG_FLAGS = 65536u32; +pub const CRYPT_OVERWRITE: u32 = 1u32; +pub const CRYPT_OWF_REPL_LM_HASH: u32 = 1u32; +pub const CRYPT_PARAM_ASYNC_RETRIEVAL_COMPLETION: ::windows_sys::core::PCSTR = 1i32 as _; +pub const CRYPT_PARAM_CANCEL_ASYNC_RETRIEVAL: ::windows_sys::core::PCSTR = 2i32 as _; +pub const CRYPT_POLICY_OID_GROUP_ID: u32 = 8u32; +pub const CRYPT_PREGEN: CRYPT_KEY_FLAGS = 64u32; +pub const CRYPT_PRIORITY_BOTTOM: u32 = 4294967295u32; +pub const CRYPT_PRIORITY_TOP: u32 = 0u32; +pub const CRYPT_PROCESS_ISOLATE: CRYPT_IMAGE_REF_FLAGS = 65536u32; +pub const CRYPT_PROXY_CACHE_RETRIEVAL: u32 = 2097152u32; +pub const CRYPT_PSTORE: u32 = 2u32; +pub const CRYPT_PUBKEY_ALG_OID_GROUP_ID: u32 = 3u32; +pub const CRYPT_RANDOM_QUERY_STRING_RETRIEVAL: u32 = 67108864u32; +pub const CRYPT_RC2_128BIT_VERSION: u32 = 58u32; +pub const CRYPT_RC2_40BIT_VERSION: u32 = 160u32; +pub const CRYPT_RC2_56BIT_VERSION: u32 = 52u32; +pub const CRYPT_RC2_64BIT_VERSION: u32 = 120u32; +pub const CRYPT_RDN_ATTR_OID_GROUP_ID: u32 = 5u32; +pub const CRYPT_READ: u32 = 8u32; +pub const CRYPT_RECIPIENT: CRYPT_KEY_FLAGS = 16u32; +pub const CRYPT_REGISTER_FIRST_INDEX: u32 = 0u32; +pub const CRYPT_REGISTER_LAST_INDEX: u32 = 4294967295u32; +pub const CRYPT_RETRIEVE_MAX_ERROR_CONTENT_LENGTH: u32 = 4096u32; +pub const CRYPT_RETRIEVE_MULTIPLE_OBJECTS: u32 = 1u32; +pub const CRYPT_SECRETDIGEST: u32 = 1u32; +pub const CRYPT_SEC_DESCR: u32 = 1u32; +pub const CRYPT_SERVER: u32 = 1024u32; +pub const CRYPT_SF: CRYPT_KEY_FLAGS = 256u32; +pub const CRYPT_SGC: u32 = 1u32; +pub const CRYPT_SGCKEY: CRYPT_KEY_FLAGS = 8192u32; +pub const CRYPT_SGC_ENUM: u32 = 4u32; +pub const CRYPT_SIGN_ALG_OID_GROUP_ID: u32 = 4u32; +pub const CRYPT_SILENT: u32 = 64u32; +pub const CRYPT_SORTED_CTL_ENCODE_HASHED_SUBJECT_IDENTIFIER_FLAG: u32 = 65536u32; +pub const CRYPT_SSL2_FALLBACK: CRYPT_KEY_FLAGS = 2u32; +pub const CRYPT_STICKY_CACHE_RETRIEVAL: u32 = 4096u32; +pub const CRYPT_STRING_ANY: CRYPT_STRING = 7u32; +pub const CRYPT_STRING_BASE64: CRYPT_STRING = 1u32; +pub const CRYPT_STRING_BASE64HEADER: CRYPT_STRING = 0u32; +pub const CRYPT_STRING_BASE64REQUESTHEADER: CRYPT_STRING = 3u32; +pub const CRYPT_STRING_BASE64URI: u32 = 13u32; +pub const CRYPT_STRING_BASE64X509CRLHEADER: CRYPT_STRING = 9u32; +pub const CRYPT_STRING_BASE64_ANY: CRYPT_STRING = 6u32; +pub const CRYPT_STRING_BINARY: CRYPT_STRING = 2u32; +pub const CRYPT_STRING_ENCODEMASK: u32 = 255u32; +pub const CRYPT_STRING_HASHDATA: u32 = 268435456u32; +pub const CRYPT_STRING_HEX: CRYPT_STRING = 4u32; +pub const CRYPT_STRING_HEXADDR: CRYPT_STRING = 10u32; +pub const CRYPT_STRING_HEXASCII: CRYPT_STRING = 5u32; +pub const CRYPT_STRING_HEXASCIIADDR: CRYPT_STRING = 11u32; +pub const CRYPT_STRING_HEXRAW: CRYPT_STRING = 12u32; +pub const CRYPT_STRING_HEX_ANY: CRYPT_STRING = 8u32; +pub const CRYPT_STRING_NOCR: u32 = 2147483648u32; +pub const CRYPT_STRING_NOCRLF: u32 = 1073741824u32; +pub const CRYPT_STRING_PERCENTESCAPE: u32 = 134217728u32; +pub const CRYPT_STRING_RESERVED100: u32 = 256u32; +pub const CRYPT_STRING_RESERVED200: u32 = 512u32; +pub const CRYPT_STRING_STRICT: CRYPT_STRING = 536870912u32; +pub const CRYPT_SUCCEED: u32 = 1u32; +pub const CRYPT_TEMPLATE_OID_GROUP_ID: u32 = 9u32; +pub const CRYPT_TYPE2_FORMAT: u32 = 2u32; +pub const CRYPT_UI_PROMPT: u32 = 4u32; +pub const CRYPT_UM: BCRYPT_QUERY_PROVIDER_MODE = 1u32; +pub const CRYPT_UNICODE_NAME_DECODE_DISABLE_IE4_UTF8_FLAG: u32 = 16777216u32; +pub const CRYPT_UNICODE_NAME_ENCODE_DISABLE_CHECK_TYPE_FLAG: CRYPT_ENCODE_OBJECT_FLAGS = 1073741824u32; +pub const CRYPT_UNICODE_NAME_ENCODE_ENABLE_T61_UNICODE_FLAG: CRYPT_ENCODE_OBJECT_FLAGS = 2147483648u32; +pub const CRYPT_UNICODE_NAME_ENCODE_ENABLE_UTF8_UNICODE_FLAG: CRYPT_ENCODE_OBJECT_FLAGS = 536870912u32; +pub const CRYPT_UNICODE_NAME_ENCODE_FORCE_UTF8_UNICODE_FLAG: u32 = 268435456u32; +pub const CRYPT_UPDATE_KEY: u32 = 8u32; +pub const CRYPT_USERDATA: u32 = 1u32; +pub const CRYPT_USER_DEFAULT: u32 = 2u32; +pub const CRYPT_USER_KEYSET: CRYPT_KEY_FLAGS = 4096u32; +pub const CRYPT_USER_PROTECTED: CRYPT_KEY_FLAGS = 2u32; +pub const CRYPT_USER_PROTECTED_STRONG: u32 = 1048576u32; +pub const CRYPT_VERIFYCONTEXT: u32 = 4026531840u32; +pub const CRYPT_VERIFY_CERT_SIGN_CHECK_WEAK_HASH_FLAG: u32 = 8u32; +pub const CRYPT_VERIFY_CERT_SIGN_DISABLE_MD2_MD4_FLAG: CRYPT_VERIFY_CERT_FLAGS = 1u32; +pub const CRYPT_VERIFY_CERT_SIGN_ISSUER_CERT: u32 = 2u32; +pub const CRYPT_VERIFY_CERT_SIGN_ISSUER_CHAIN: u32 = 3u32; +pub const CRYPT_VERIFY_CERT_SIGN_ISSUER_NULL: u32 = 4u32; +pub const CRYPT_VERIFY_CERT_SIGN_ISSUER_PUBKEY: u32 = 1u32; +pub const CRYPT_VERIFY_CERT_SIGN_RETURN_STRONG_PROPERTIES_FLAG: CRYPT_VERIFY_CERT_FLAGS = 4u32; +pub const CRYPT_VERIFY_CERT_SIGN_SET_STRONG_PROPERTIES_FLAG: CRYPT_VERIFY_CERT_FLAGS = 2u32; +pub const CRYPT_VERIFY_CERT_SIGN_SUBJECT_BLOB: u32 = 1u32; +pub const CRYPT_VERIFY_CERT_SIGN_SUBJECT_CERT: u32 = 2u32; +pub const CRYPT_VERIFY_CERT_SIGN_SUBJECT_CRL: u32 = 3u32; +pub const CRYPT_VERIFY_CERT_SIGN_SUBJECT_OCSP_BASIC_SIGNED_RESPONSE: u32 = 4u32; +pub const CRYPT_VERIFY_CONTEXT_SIGNATURE: u32 = 32u32; +pub const CRYPT_VERIFY_DATA_HASH: u32 = 64u32; +pub const CRYPT_VOLATILE: CRYPT_KEY_FLAGS = 4096u32; +pub const CRYPT_WIRE_ONLY_RETRIEVAL: u32 = 4u32; +pub const CRYPT_WRITE: u32 = 16u32; +pub const CRYPT_X931_FORMAT: u32 = 4u32; +pub const CRYPT_X942_COUNTER_BYTE_LENGTH: u32 = 4u32; +pub const CRYPT_X942_KEY_LENGTH_BYTE_LENGTH: u32 = 4u32; +pub const CRYPT_XML_ALGORITHM_INFO_FIND_BY_CNG_ALGID: u32 = 3u32; +pub const CRYPT_XML_ALGORITHM_INFO_FIND_BY_CNG_SIGN_ALGID: u32 = 4u32; +pub const CRYPT_XML_ALGORITHM_INFO_FIND_BY_NAME: u32 = 2u32; +pub const CRYPT_XML_ALGORITHM_INFO_FIND_BY_URI: u32 = 1u32; +pub const CRYPT_XML_BLOB_MAX: u32 = 2147483640u32; +pub const CRYPT_XML_CHARSET_AUTO: CRYPT_XML_CHARSET = 0i32; +pub const CRYPT_XML_CHARSET_UTF16BE: CRYPT_XML_CHARSET = 3i32; +pub const CRYPT_XML_CHARSET_UTF16LE: CRYPT_XML_CHARSET = 2i32; +pub const CRYPT_XML_CHARSET_UTF8: CRYPT_XML_CHARSET = 1i32; +pub const CRYPT_XML_DIGEST_REFERENCE_DATA_TRANSFORMED: u32 = 1u32; +pub const CRYPT_XML_DIGEST_VALUE_MAX: u32 = 128u32; +pub const CRYPT_XML_E_ALGORITHM: ::windows_sys::core::HRESULT = -2146885372i32; +pub const CRYPT_XML_E_BASE: ::windows_sys::core::HRESULT = -2146885376i32; +pub const CRYPT_XML_E_ENCODING: ::windows_sys::core::HRESULT = -2146885373i32; +pub const CRYPT_XML_E_HANDLE: ::windows_sys::core::HRESULT = -2146885370i32; +pub const CRYPT_XML_E_HASH_FAILED: ::windows_sys::core::HRESULT = -2146885365i32; +pub const CRYPT_XML_E_INVALID_DIGEST: ::windows_sys::core::HRESULT = -2146885367i32; +pub const CRYPT_XML_E_INVALID_KEYVALUE: ::windows_sys::core::HRESULT = -2146885361i32; +pub const CRYPT_XML_E_INVALID_SIGNATURE: ::windows_sys::core::HRESULT = -2146885366i32; +pub const CRYPT_XML_E_LARGE: ::windows_sys::core::HRESULT = -2146885375i32; +pub const CRYPT_XML_E_LAST: ::windows_sys::core::HRESULT = -2146885358i32; +pub const CRYPT_XML_E_NON_UNIQUE_ID: ::windows_sys::core::HRESULT = -2146885358i32; +pub const CRYPT_XML_E_OPERATION: ::windows_sys::core::HRESULT = -2146885369i32; +pub const CRYPT_XML_E_SIGNER: ::windows_sys::core::HRESULT = -2146885359i32; +pub const CRYPT_XML_E_SIGN_FAILED: ::windows_sys::core::HRESULT = -2146885364i32; +pub const CRYPT_XML_E_TOO_MANY_SIGNATURES: ::windows_sys::core::HRESULT = -2146885362i32; +pub const CRYPT_XML_E_TOO_MANY_TRANSFORMS: ::windows_sys::core::HRESULT = -2146885374i32; +pub const CRYPT_XML_E_TRANSFORM: ::windows_sys::core::HRESULT = -2146885371i32; +pub const CRYPT_XML_E_UNEXPECTED_XML: ::windows_sys::core::HRESULT = -2146885360i32; +pub const CRYPT_XML_E_UNRESOLVED_REFERENCE: ::windows_sys::core::HRESULT = -2146885368i32; +pub const CRYPT_XML_E_VERIFY_FAILED: ::windows_sys::core::HRESULT = -2146885363i32; +pub const CRYPT_XML_FLAG_ADD_OBJECT_CREATE_COPY: u32 = 1u32; +pub const CRYPT_XML_FLAG_ALWAYS_RETURN_ENCODED_OBJECT: u32 = 1073741824u32; +pub const CRYPT_XML_FLAG_CREATE_REFERENCE_AS_OBJECT: u32 = 1u32; +pub const CRYPT_XML_FLAG_DISABLE_EXTENSIONS: CRYPT_XML_FLAGS = 268435456u32; +pub const CRYPT_XML_FLAG_ECDSA_DSIG11: u32 = 67108864u32; +pub const CRYPT_XML_FLAG_ENFORCE_ID_NAME_FORMAT: u32 = 134217728u32; +pub const CRYPT_XML_FLAG_ENFORCE_ID_NCNAME_FORMAT: u32 = 536870912u32; +pub const CRYPT_XML_FLAG_NO_SERIALIZE: CRYPT_XML_FLAGS = 2147483648u32; +pub const CRYPT_XML_GROUP_ID_HASH: CRYPT_XML_GROUP_ID = 1u32; +pub const CRYPT_XML_GROUP_ID_SIGN: CRYPT_XML_GROUP_ID = 2u32; +pub const CRYPT_XML_ID_MAX: u32 = 256u32; +pub const CRYPT_XML_KEYINFO_SPEC_ENCODED: CRYPT_XML_KEYINFO_SPEC = 1i32; +pub const CRYPT_XML_KEYINFO_SPEC_NONE: CRYPT_XML_KEYINFO_SPEC = 0i32; +pub const CRYPT_XML_KEYINFO_SPEC_PARAM: CRYPT_XML_KEYINFO_SPEC = 2i32; +pub const CRYPT_XML_KEYINFO_TYPE_CUSTOM: CRYPT_XML_KEYINFO_TYPE = 5u32; +pub const CRYPT_XML_KEYINFO_TYPE_KEYNAME: CRYPT_XML_KEYINFO_TYPE = 1u32; +pub const CRYPT_XML_KEYINFO_TYPE_KEYVALUE: CRYPT_XML_KEYINFO_TYPE = 2u32; +pub const CRYPT_XML_KEYINFO_TYPE_RETRIEVAL: CRYPT_XML_KEYINFO_TYPE = 3u32; +pub const CRYPT_XML_KEYINFO_TYPE_X509DATA: CRYPT_XML_KEYINFO_TYPE = 4u32; +pub const CRYPT_XML_KEY_VALUE_TYPE_CUSTOM: CRYPT_XML_KEY_VALUE_TYPE = 4u32; +pub const CRYPT_XML_KEY_VALUE_TYPE_DSA: CRYPT_XML_KEY_VALUE_TYPE = 1u32; +pub const CRYPT_XML_KEY_VALUE_TYPE_ECDSA: CRYPT_XML_KEY_VALUE_TYPE = 3u32; +pub const CRYPT_XML_KEY_VALUE_TYPE_RSA: CRYPT_XML_KEY_VALUE_TYPE = 2u32; +pub const CRYPT_XML_OBJECTS_MAX: u32 = 256u32; +pub const CRYPT_XML_PROPERTY_DOC_DECLARATION: CRYPT_XML_PROPERTY_ID = 4i32; +pub const CRYPT_XML_PROPERTY_MAX_HEAP_SIZE: CRYPT_XML_PROPERTY_ID = 1i32; +pub const CRYPT_XML_PROPERTY_MAX_SIGNATURES: CRYPT_XML_PROPERTY_ID = 3i32; +pub const CRYPT_XML_PROPERTY_SIGNATURE_LOCATION: CRYPT_XML_PROPERTY_ID = 2i32; +pub const CRYPT_XML_PROPERTY_XML_OUTPUT_CHARSET: CRYPT_XML_PROPERTY_ID = 5i32; +pub const CRYPT_XML_REFERENCES_MAX: u32 = 32760u32; +pub const CRYPT_XML_SIGNATURES_MAX: u32 = 16u32; +pub const CRYPT_XML_SIGNATURE_VALUE_MAX: u32 = 2048u32; +pub const CRYPT_XML_SIGN_ADD_KEYVALUE: CRYPT_XML_FLAGS = 1u32; +pub const CRYPT_XML_STATUS_DIGESTING: CRYPT_XML_STATUS_INFO_STATUS = 4u32; +pub const CRYPT_XML_STATUS_DIGEST_VALID: CRYPT_XML_STATUS_INFO_STATUS = 8u32; +pub const CRYPT_XML_STATUS_ERROR_DIGEST_INVALID: CRYPT_XML_STATUS_ERROR_STATUS = 2u32; +pub const CRYPT_XML_STATUS_ERROR_KEYINFO_NOT_PARSED: CRYPT_XML_STATUS_ERROR_STATUS = 131072u32; +pub const CRYPT_XML_STATUS_ERROR_NOT_RESOLVED: CRYPT_XML_STATUS_ERROR_STATUS = 1u32; +pub const CRYPT_XML_STATUS_ERROR_NOT_SUPPORTED_ALGORITHM: CRYPT_XML_STATUS_ERROR_STATUS = 5u32; +pub const CRYPT_XML_STATUS_ERROR_NOT_SUPPORTED_TRANSFORM: CRYPT_XML_STATUS_ERROR_STATUS = 8u32; +pub const CRYPT_XML_STATUS_ERROR_SIGNATURE_INVALID: CRYPT_XML_STATUS_ERROR_STATUS = 65536u32; +pub const CRYPT_XML_STATUS_INTERNAL_REFERENCE: CRYPT_XML_STATUS_INFO_STATUS = 1u32; +pub const CRYPT_XML_STATUS_KEY_AVAILABLE: CRYPT_XML_STATUS_INFO_STATUS = 2u32; +pub const CRYPT_XML_STATUS_NO_ERROR: u32 = 0u32; +pub const CRYPT_XML_STATUS_OPENED_TO_ENCODE: CRYPT_XML_STATUS_INFO_STATUS = 2147483648u32; +pub const CRYPT_XML_STATUS_SIGNATURE_VALID: CRYPT_XML_STATUS_INFO_STATUS = 65536u32; +pub const CRYPT_XML_TRANSFORM_MAX: u32 = 16u32; +pub const CRYPT_XML_TRANSFORM_ON_NODESET: CRYPT_XML_TRANSFORM_FLAGS = 2u32; +pub const CRYPT_XML_TRANSFORM_ON_STREAM: CRYPT_XML_TRANSFORM_FLAGS = 1u32; +pub const CRYPT_XML_TRANSFORM_URI_QUERY_STRING: CRYPT_XML_TRANSFORM_FLAGS = 3u32; +pub const CRYPT_XML_X509DATA_TYPE_CERTIFICATE: CRYPT_XML_X509DATA_TYPE = 4u32; +pub const CRYPT_XML_X509DATA_TYPE_CRL: CRYPT_XML_X509DATA_TYPE = 5u32; +pub const CRYPT_XML_X509DATA_TYPE_CUSTOM: CRYPT_XML_X509DATA_TYPE = 6u32; +pub const CRYPT_XML_X509DATA_TYPE_ISSUER_SERIAL: CRYPT_XML_X509DATA_TYPE = 1u32; +pub const CRYPT_XML_X509DATA_TYPE_SKI: CRYPT_XML_X509DATA_TYPE = 2u32; +pub const CRYPT_XML_X509DATA_TYPE_SUBJECT_NAME: CRYPT_XML_X509DATA_TYPE = 3u32; +pub const CRYPT_Y_ONLY: CRYPT_KEY_FLAGS = 1u32; +pub const CTL_ANY_SUBJECT_TYPE: u32 = 1u32; +pub const CTL_CERT_SUBJECT_TYPE: u32 = 2u32; +pub const CTL_ENTRY_FROM_PROP_CHAIN_FLAG: u32 = 1u32; +pub const CTL_FIND_ANY: CERT_FIND_TYPE = 0u32; +pub const CTL_FIND_EXISTING: CERT_FIND_TYPE = 5u32; +pub const CTL_FIND_MD5_HASH: CERT_FIND_TYPE = 2u32; +pub const CTL_FIND_NO_LIST_ID_CBDATA: u32 = 4294967295u32; +pub const CTL_FIND_SAME_USAGE_FLAG: CERT_FIND_TYPE = 1u32; +pub const CTL_FIND_SHA1_HASH: CERT_FIND_TYPE = 1u32; +pub const CTL_FIND_SUBJECT: CERT_FIND_TYPE = 4u32; +pub const CTL_FIND_USAGE: CERT_FIND_TYPE = 3u32; +pub const CTL_V1: u32 = 0u32; +pub const CUR_BLOB_VERSION: u32 = 2u32; +pub const DSA_FIPS186_2: DSAFIPSVERSION_ENUM = 0i32; +pub const DSA_FIPS186_3: DSAFIPSVERSION_ENUM = 1i32; +pub const DSA_HASH_ALGORITHM_SHA1: HASHALGORITHM_ENUM = 0i32; +pub const DSA_HASH_ALGORITHM_SHA256: HASHALGORITHM_ENUM = 1i32; +pub const DSA_HASH_ALGORITHM_SHA512: HASHALGORITHM_ENUM = 2i32; +pub const DirectionDecrypt: Direction = 2i32; +pub const DirectionEncrypt: Direction = 1i32; +pub const ECC_CMS_SHARED_INFO: ::windows_sys::core::PCSTR = 77i32 as _; +pub const ENUM_CEPSETUPPROP_AUTHENTICATION: CEPSetupProperty = 0i32; +pub const ENUM_CEPSETUPPROP_CAINFORMATION: MSCEPSetupProperty = 11i32; +pub const ENUM_CEPSETUPPROP_CHALLENGEURL: MSCEPSetupProperty = 13i32; +pub const ENUM_CEPSETUPPROP_EXCHANGEKEYINFORMATION: MSCEPSetupProperty = 10i32; +pub const ENUM_CEPSETUPPROP_KEYBASED_RENEWAL: CEPSetupProperty = 3i32; +pub const ENUM_CEPSETUPPROP_MSCEPURL: MSCEPSetupProperty = 12i32; +pub const ENUM_CEPSETUPPROP_RANAME_CITY: MSCEPSetupProperty = 6i32; +pub const ENUM_CEPSETUPPROP_RANAME_CN: MSCEPSetupProperty = 2i32; +pub const ENUM_CEPSETUPPROP_RANAME_COMPANY: MSCEPSetupProperty = 4i32; +pub const ENUM_CEPSETUPPROP_RANAME_COUNTRY: MSCEPSetupProperty = 8i32; +pub const ENUM_CEPSETUPPROP_RANAME_DEPT: MSCEPSetupProperty = 5i32; +pub const ENUM_CEPSETUPPROP_RANAME_EMAIL: MSCEPSetupProperty = 3i32; +pub const ENUM_CEPSETUPPROP_RANAME_STATE: MSCEPSetupProperty = 7i32; +pub const ENUM_CEPSETUPPROP_SIGNINGKEYINFORMATION: MSCEPSetupProperty = 9i32; +pub const ENUM_CEPSETUPPROP_SSLCERTHASH: CEPSetupProperty = 1i32; +pub const ENUM_CEPSETUPPROP_URL: CEPSetupProperty = 2i32; +pub const ENUM_CEPSETUPPROP_USECHALLENGE: MSCEPSetupProperty = 1i32; +pub const ENUM_CEPSETUPPROP_USELOCALSYSTEM: MSCEPSetupProperty = 0i32; +pub const ENUM_CESSETUPPROP_ALLOW_KEYBASED_RENEWAL: CESSetupProperty = 6i32; +pub const ENUM_CESSETUPPROP_AUTHENTICATION: CESSetupProperty = 2i32; +pub const ENUM_CESSETUPPROP_CACONFIG: CESSetupProperty = 1i32; +pub const ENUM_CESSETUPPROP_RENEWALONLY: CESSetupProperty = 5i32; +pub const ENUM_CESSETUPPROP_SSLCERTHASH: CESSetupProperty = 3i32; +pub const ENUM_CESSETUPPROP_URL: CESSetupProperty = 4i32; +pub const ENUM_CESSETUPPROP_USE_IISAPPPOOLIDENTITY: CESSetupProperty = 0i32; +pub const ENUM_SETUPPROP_CADSSUFFIX: CASetupProperty = 4i32; +pub const ENUM_SETUPPROP_CAKEYINFORMATION: CASetupProperty = 1i32; +pub const ENUM_SETUPPROP_CANAME: CASetupProperty = 3i32; +pub const ENUM_SETUPPROP_CATYPE: CASetupProperty = 0i32; +pub const ENUM_SETUPPROP_DATABASEDIRECTORY: CASetupProperty = 9i32; +pub const ENUM_SETUPPROP_EXPIRATIONDATE: CASetupProperty = 7i32; +pub const ENUM_SETUPPROP_INTERACTIVE: CASetupProperty = 2i32; +pub const ENUM_SETUPPROP_INVALID: CASetupProperty = -1i32; +pub const ENUM_SETUPPROP_LOGDIRECTORY: CASetupProperty = 10i32; +pub const ENUM_SETUPPROP_PARENTCAMACHINE: CASetupProperty = 12i32; +pub const ENUM_SETUPPROP_PARENTCANAME: CASetupProperty = 13i32; +pub const ENUM_SETUPPROP_PRESERVEDATABASE: CASetupProperty = 8i32; +pub const ENUM_SETUPPROP_REQUESTFILE: CASetupProperty = 14i32; +pub const ENUM_SETUPPROP_SHAREDFOLDER: CASetupProperty = 11i32; +pub const ENUM_SETUPPROP_VALIDITYPERIOD: CASetupProperty = 5i32; +pub const ENUM_SETUPPROP_VALIDITYPERIODUNIT: CASetupProperty = 6i32; +pub const ENUM_SETUPPROP_WEBCAMACHINE: CASetupProperty = 15i32; +pub const ENUM_SETUPPROP_WEBCANAME: CASetupProperty = 16i32; +pub const EXPORT_PRIVATE_KEYS: u32 = 4u32; +pub const EXPO_OFFLOAD_FUNC_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("OffloadModExpo"); +pub const EXPO_OFFLOAD_REG_VALUE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("ExpoOffload"); +pub const E_ICARD_ARGUMENT: ::windows_sys::core::HRESULT = -1073413883i32; +pub const E_ICARD_COMMUNICATION: ::windows_sys::core::HRESULT = -1073413888i32; +pub const E_ICARD_DATA_ACCESS: ::windows_sys::core::HRESULT = -1073413887i32; +pub const E_ICARD_EXPORT: ::windows_sys::core::HRESULT = -1073413886i32; +pub const E_ICARD_FAIL: ::windows_sys::core::HRESULT = -1073413867i32; +pub const E_ICARD_FAILED_REQUIRED_CLAIMS: ::windows_sys::core::HRESULT = -1073413756i32; +pub const E_ICARD_IDENTITY: ::windows_sys::core::HRESULT = -1073413885i32; +pub const E_ICARD_IMPORT: ::windows_sys::core::HRESULT = -1073413884i32; +pub const E_ICARD_INFORMATIONCARD: ::windows_sys::core::HRESULT = -1073413881i32; +pub const E_ICARD_INVALID_PROOF_KEY: ::windows_sys::core::HRESULT = -1073413758i32; +pub const E_ICARD_LOGOVALIDATION: ::windows_sys::core::HRESULT = -1073413879i32; +pub const E_ICARD_MISSING_APPLIESTO: ::windows_sys::core::HRESULT = -1073413759i32; +pub const E_ICARD_PASSWORDVALIDATION: ::windows_sys::core::HRESULT = -1073413878i32; +pub const E_ICARD_POLICY: ::windows_sys::core::HRESULT = -1073413877i32; +pub const E_ICARD_PROCESSDIED: ::windows_sys::core::HRESULT = -1073413876i32; +pub const E_ICARD_REFRESH_REQUIRED: ::windows_sys::core::HRESULT = -1073413760i32; +pub const E_ICARD_REQUEST: ::windows_sys::core::HRESULT = -1073413882i32; +pub const E_ICARD_SERVICE: ::windows_sys::core::HRESULT = -1073413874i32; +pub const E_ICARD_SERVICEBUSY: ::windows_sys::core::HRESULT = -1073413875i32; +pub const E_ICARD_SHUTTINGDOWN: ::windows_sys::core::HRESULT = -1073413873i32; +pub const E_ICARD_STOREKEY: ::windows_sys::core::HRESULT = -1073413880i32; +pub const E_ICARD_STORE_IMPORT: ::windows_sys::core::HRESULT = -1073413868i32; +pub const E_ICARD_TOKENCREATION: ::windows_sys::core::HRESULT = -1073413872i32; +pub const E_ICARD_TRUSTEXCHANGE: ::windows_sys::core::HRESULT = -1073413871i32; +pub const E_ICARD_UI_INITIALIZATION: ::windows_sys::core::HRESULT = -1073413862i32; +pub const E_ICARD_UNKNOWN_REFERENCE: ::windows_sys::core::HRESULT = -1073413757i32; +pub const E_ICARD_UNTRUSTED: ::windows_sys::core::HRESULT = -1073413870i32; +pub const E_ICARD_USERCANCELLED: ::windows_sys::core::HRESULT = -1073413869i32; +pub const HP_ALGID: u32 = 1u32; +pub const HP_HASHSIZE: u32 = 4u32; +pub const HP_HASHVAL: CRYPT_SET_HASH_PARAM = 2u32; +pub const HP_HMAC_INFO: CRYPT_SET_HASH_PARAM = 5u32; +pub const HP_TLS1PRF_LABEL: u32 = 6u32; +pub const HP_TLS1PRF_SEED: u32 = 7u32; +pub const IFX_RSA_KEYGEN_VUL_AFFECTED_LEVEL_1: u32 = 1u32; +pub const IFX_RSA_KEYGEN_VUL_AFFECTED_LEVEL_2: u32 = 2u32; +pub const IFX_RSA_KEYGEN_VUL_NOT_AFFECTED: u32 = 0u32; +pub const INTERNATIONAL_USAGE: u32 = 1u32; +pub const KDF_ALGORITHMID: u32 = 8u32; +pub const KDF_CONTEXT: u32 = 14u32; +pub const KDF_GENERIC_PARAMETER: u32 = 17u32; +pub const KDF_HASH_ALGORITHM: u32 = 0u32; +pub const KDF_HKDF_INFO: u32 = 20u32; +pub const KDF_HKDF_SALT: u32 = 19u32; +pub const KDF_HMAC_KEY: u32 = 3u32; +pub const KDF_ITERATION_COUNT: u32 = 16u32; +pub const KDF_KEYBITLENGTH: u32 = 18u32; +pub const KDF_LABEL: u32 = 13u32; +pub const KDF_PARTYUINFO: u32 = 9u32; +pub const KDF_PARTYVINFO: u32 = 10u32; +pub const KDF_SALT: u32 = 15u32; +pub const KDF_SECRET_APPEND: u32 = 2u32; +pub const KDF_SECRET_HANDLE: u32 = 6u32; +pub const KDF_SECRET_PREPEND: u32 = 1u32; +pub const KDF_SUPPPRIVINFO: u32 = 12u32; +pub const KDF_SUPPPUBINFO: u32 = 11u32; +pub const KDF_TLS_PRF_LABEL: u32 = 4u32; +pub const KDF_TLS_PRF_PROTOCOL: u32 = 7u32; +pub const KDF_TLS_PRF_SEED: u32 = 5u32; +pub const KDF_USE_SECRET_AS_HMAC_KEY_FLAG: u32 = 1u32; +pub const KEYSTATEBLOB: u32 = 12u32; +pub const KEY_LENGTH_MASK: u32 = 4294901760u32; +pub const KP_ADMIN_PIN: u32 = 31u32; +pub const KP_ALGID: CRYPT_KEY_PARAM_ID = 7u32; +pub const KP_BLOCKLEN: CRYPT_KEY_PARAM_ID = 8u32; +pub const KP_CERTIFICATE: CRYPT_KEY_PARAM_ID = 26u32; +pub const KP_CLEAR_KEY: u32 = 27u32; +pub const KP_CLIENT_RANDOM: u32 = 21u32; +pub const KP_CMS_DH_KEY_INFO: u32 = 38u32; +pub const KP_CMS_KEY_INFO: u32 = 37u32; +pub const KP_EFFECTIVE_KEYLEN: u32 = 19u32; +pub const KP_G: u32 = 12u32; +pub const KP_GET_USE_COUNT: CRYPT_KEY_PARAM_ID = 42u32; +pub const KP_HIGHEST_VERSION: u32 = 41u32; +pub const KP_INFO: u32 = 18u32; +pub const KP_IV: u32 = 1u32; +pub const KP_KEYEXCHANGE_PIN: u32 = 32u32; +pub const KP_KEYLEN: CRYPT_KEY_PARAM_ID = 9u32; +pub const KP_KEYVAL: u32 = 30u32; +pub const KP_MODE: u32 = 4u32; +pub const KP_MODE_BITS: u32 = 5u32; +pub const KP_OAEP_PARAMS: u32 = 36u32; +pub const KP_P: u32 = 11u32; +pub const KP_PADDING: u32 = 3u32; +pub const KP_PERMISSIONS: CRYPT_KEY_PARAM_ID = 6u32; +pub const KP_PIN_ID: u32 = 43u32; +pub const KP_PIN_INFO: u32 = 44u32; +pub const KP_PRECOMP_MD5: u32 = 24u32; +pub const KP_PRECOMP_SHA: u32 = 25u32; +pub const KP_PREHASH: u32 = 34u32; +pub const KP_PUB_EX_LEN: u32 = 28u32; +pub const KP_PUB_EX_VAL: u32 = 29u32; +pub const KP_PUB_PARAMS: u32 = 39u32; +pub const KP_Q: u32 = 13u32; +pub const KP_RA: u32 = 16u32; +pub const KP_RB: u32 = 17u32; +pub const KP_ROUNDS: u32 = 35u32; +pub const KP_RP: u32 = 23u32; +pub const KP_SALT: CRYPT_KEY_PARAM_ID = 2u32; +pub const KP_SALT_EX: CRYPT_KEY_PARAM_ID = 10u32; +pub const KP_SCHANNEL_ALG: u32 = 20u32; +pub const KP_SERVER_RANDOM: u32 = 22u32; +pub const KP_SIGNATURE_PIN: u32 = 33u32; +pub const KP_VERIFY_PARAMS: u32 = 40u32; +pub const KP_X: u32 = 14u32; +pub const KP_Y: u32 = 15u32; +pub const KeyTypeHardware: CertKeyType = 6u32; +pub const KeyTypeOther: CertKeyType = 0u32; +pub const KeyTypePassport: CertKeyType = 3u32; +pub const KeyTypePassportRemote: CertKeyType = 4u32; +pub const KeyTypePassportSmartCard: CertKeyType = 5u32; +pub const KeyTypePhysicalSmartCard: CertKeyType = 2u32; +pub const KeyTypeSelfSigned: CertKeyType = 8u32; +pub const KeyTypeSoftware: CertKeyType = 7u32; +pub const KeyTypeVirtualSmartCard: CertKeyType = 1u32; +pub const LEGACY_DH_PRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAPIDHPRIVATEBLOB"); +pub const LEGACY_DH_PUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAPIDHPUBLICBLOB"); +pub const LEGACY_DSA_PRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAPIDSAPRIVATEBLOB"); +pub const LEGACY_DSA_PUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAPIDSAPUBLICBLOB"); +pub const LEGACY_DSA_V2_PRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("V2CAPIDSAPRIVATEBLOB"); +pub const LEGACY_DSA_V2_PUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("V2CAPIDSAPUBLICBLOB"); +pub const LEGACY_RSAPRIVATE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAPIPRIVATEBLOB"); +pub const LEGACY_RSAPUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAPIPUBLICBLOB"); +pub const MAXUIDLEN: u32 = 64u32; +pub const MICROSOFT_ROOT_CERT_CHAIN_POLICY_CHECK_APPLICATION_ROOT_FLAG: u32 = 131072u32; +pub const MICROSOFT_ROOT_CERT_CHAIN_POLICY_DISABLE_FLIGHT_ROOT_FLAG: u32 = 262144u32; +pub const MICROSOFT_ROOT_CERT_CHAIN_POLICY_ENABLE_TEST_ROOT_FLAG: u32 = 65536u32; +pub const MS_DEF_DH_SCHANNEL_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft DH SChannel Cryptographic Provider"); +pub const MS_DEF_DH_SCHANNEL_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft DH SChannel Cryptographic Provider"); +pub const MS_DEF_DH_SCHANNEL_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft DH SChannel Cryptographic Provider"); +pub const MS_DEF_DSS_DH_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Base DSS and Diffie-Hellman Cryptographic Provider"); +pub const MS_DEF_DSS_DH_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft Base DSS and Diffie-Hellman Cryptographic Provider"); +pub const MS_DEF_DSS_DH_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Base DSS and Diffie-Hellman Cryptographic Provider"); +pub const MS_DEF_DSS_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Base DSS Cryptographic Provider"); +pub const MS_DEF_DSS_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft Base DSS Cryptographic Provider"); +pub const MS_DEF_DSS_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Base DSS Cryptographic Provider"); +pub const MS_DEF_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Base Cryptographic Provider v1.0"); +pub const MS_DEF_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft Base Cryptographic Provider v1.0"); +pub const MS_DEF_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Base Cryptographic Provider v1.0"); +pub const MS_DEF_RSA_SCHANNEL_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft RSA SChannel Cryptographic Provider"); +pub const MS_DEF_RSA_SCHANNEL_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft RSA SChannel Cryptographic Provider"); +pub const MS_DEF_RSA_SCHANNEL_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft RSA SChannel Cryptographic Provider"); +pub const MS_DEF_RSA_SIG_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft RSA Signature Cryptographic Provider"); +pub const MS_DEF_RSA_SIG_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft RSA Signature Cryptographic Provider"); +pub const MS_DEF_RSA_SIG_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft RSA Signature Cryptographic Provider"); +pub const MS_ENHANCED_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Enhanced Cryptographic Provider v1.0"); +pub const MS_ENHANCED_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft Enhanced Cryptographic Provider v1.0"); +pub const MS_ENHANCED_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Enhanced Cryptographic Provider v1.0"); +pub const MS_ENH_DSS_DH_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider"); +pub const MS_ENH_DSS_DH_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider"); +pub const MS_ENH_DSS_DH_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Enhanced DSS and Diffie-Hellman Cryptographic Provider"); +pub const MS_ENH_RSA_AES_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Enhanced RSA and AES Cryptographic Provider"); +pub const MS_ENH_RSA_AES_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft Enhanced RSA and AES Cryptographic Provider"); +pub const MS_ENH_RSA_AES_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Enhanced RSA and AES Cryptographic Provider"); +pub const MS_ENH_RSA_AES_PROV_XP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)"); +pub const MS_ENH_RSA_AES_PROV_XP_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)"); +pub const MS_ENH_RSA_AES_PROV_XP_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Enhanced RSA and AES Cryptographic Provider (Prototype)"); +pub const MS_KEY_PROTECTION_PROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Key Protection Provider"); +pub const MS_KEY_STORAGE_PROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Software Key Storage Provider"); +pub const MS_NGC_KEY_STORAGE_PROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Passport Key Storage Provider"); +pub const MS_PLATFORM_CRYPTO_PROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Platform Crypto Provider"); +pub const MS_PLATFORM_KEY_STORAGE_PROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Platform Crypto Provider"); +pub const MS_PRIMITIVE_PROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Primitive Provider"); +pub const MS_SCARD_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Base Smart Card Crypto Provider"); +pub const MS_SCARD_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft Base Smart Card Crypto Provider"); +pub const MS_SCARD_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Base Smart Card Crypto Provider"); +pub const MS_SMART_CARD_KEY_STORAGE_PROVIDER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Smart Card Key Storage Provider"); +pub const MS_STRONG_PROV: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Strong Cryptographic Provider"); +pub const MS_STRONG_PROV_A: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Microsoft Strong Cryptographic Provider"); +pub const MS_STRONG_PROV_W: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Microsoft Strong Cryptographic Provider"); +pub const NCRYPTBUFFER_ATTESTATIONSTATEMENT_BLOB: u32 = 51u32; +pub const NCRYPTBUFFER_ATTESTATION_CLAIM_CHALLENGE_REQUIRED: u32 = 53u32; +pub const NCRYPTBUFFER_ATTESTATION_CLAIM_TYPE: u32 = 52u32; +pub const NCRYPTBUFFER_CERT_BLOB: u32 = 47u32; +pub const NCRYPTBUFFER_CLAIM_IDBINDING_NONCE: u32 = 48u32; +pub const NCRYPTBUFFER_CLAIM_KEYATTESTATION_NONCE: u32 = 49u32; +pub const NCRYPTBUFFER_DATA: u32 = 1u32; +pub const NCRYPTBUFFER_ECC_CURVE_NAME: u32 = 60u32; +pub const NCRYPTBUFFER_ECC_PARAMETERS: u32 = 61u32; +pub const NCRYPTBUFFER_EMPTY: u32 = 0u32; +pub const NCRYPTBUFFER_KEY_PROPERTY_FLAGS: u32 = 50u32; +pub const NCRYPTBUFFER_PKCS_ALG_ID: u32 = 43u32; +pub const NCRYPTBUFFER_PKCS_ALG_OID: u32 = 41u32; +pub const NCRYPTBUFFER_PKCS_ALG_PARAM: u32 = 42u32; +pub const NCRYPTBUFFER_PKCS_ATTRS: u32 = 44u32; +pub const NCRYPTBUFFER_PKCS_KEY_NAME: u32 = 45u32; +pub const NCRYPTBUFFER_PKCS_OID: u32 = 40u32; +pub const NCRYPTBUFFER_PKCS_SECRET: u32 = 46u32; +pub const NCRYPTBUFFER_PROTECTION_DESCRIPTOR_STRING: u32 = 3u32; +pub const NCRYPTBUFFER_PROTECTION_FLAGS: u32 = 4u32; +pub const NCRYPTBUFFER_SSL_CLEAR_KEY: u32 = 23u32; +pub const NCRYPTBUFFER_SSL_CLIENT_RANDOM: u32 = 20u32; +pub const NCRYPTBUFFER_SSL_HIGHEST_VERSION: u32 = 22u32; +pub const NCRYPTBUFFER_SSL_KEY_ARG_DATA: u32 = 24u32; +pub const NCRYPTBUFFER_SSL_SERVER_RANDOM: u32 = 21u32; +pub const NCRYPTBUFFER_SSL_SESSION_HASH: u32 = 25u32; +pub const NCRYPTBUFFER_TPM_PLATFORM_CLAIM_NONCE: u32 = 81u32; +pub const NCRYPTBUFFER_TPM_PLATFORM_CLAIM_PCR_MASK: u32 = 80u32; +pub const NCRYPTBUFFER_TPM_PLATFORM_CLAIM_STATIC_CREATE: u32 = 82u32; +pub const NCRYPTBUFFER_TPM_SEAL_NO_DA_PROTECTION: u32 = 73u32; +pub const NCRYPTBUFFER_TPM_SEAL_PASSWORD: u32 = 70u32; +pub const NCRYPTBUFFER_TPM_SEAL_POLICYINFO: u32 = 71u32; +pub const NCRYPTBUFFER_TPM_SEAL_TICKET: u32 = 72u32; +pub const NCRYPTBUFFER_VERSION: u32 = 0u32; +pub const NCRYPTBUFFER_VSM_KEY_ATTESTATION_CLAIM_RESTRICTIONS: u32 = 54u32; +pub const NCRYPT_3DES_112_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("3DES_112"); +pub const NCRYPT_3DES_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("3DES"); +pub const NCRYPT_AES_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AES"); +pub const NCRYPT_AES_ALGORITHM_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AES"); +pub const NCRYPT_ALGORITHM_GROUP_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Algorithm Group"); +pub const NCRYPT_ALGORITHM_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Algorithm Name"); +pub const NCRYPT_ALLOW_ALL_USAGES: u32 = 16777215u32; +pub const NCRYPT_ALLOW_ARCHIVING_FLAG: u32 = 4u32; +pub const NCRYPT_ALLOW_DECRYPT_FLAG: u32 = 1u32; +pub const NCRYPT_ALLOW_EXPORT_FLAG: u32 = 1u32; +pub const NCRYPT_ALLOW_KEY_AGREEMENT_FLAG: u32 = 4u32; +pub const NCRYPT_ALLOW_KEY_IMPORT_FLAG: u32 = 8u32; +pub const NCRYPT_ALLOW_PLAINTEXT_ARCHIVING_FLAG: u32 = 8u32; +pub const NCRYPT_ALLOW_PLAINTEXT_EXPORT_FLAG: u32 = 2u32; +pub const NCRYPT_ALLOW_SIGNING_FLAG: u32 = 2u32; +pub const NCRYPT_ALLOW_SILENT_KEY_ACCESS: u32 = 1u32; +pub const NCRYPT_ALTERNATE_KEY_STORAGE_LOCATION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_ALTERNATE_KEY_STORAGE_LOCATION"); +pub const NCRYPT_ASSOCIATED_ECDH_KEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartCardAssociatedECDHKey"); +pub const NCRYPT_ASYMMETRIC_ENCRYPTION_INTERFACE: NCRYPT_ALGORITHM_NAME_CLASS = 3u32; +pub const NCRYPT_ASYMMETRIC_ENCRYPTION_OPERATION: NCRYPT_OPERATION = 4u32; +pub const NCRYPT_ATTESTATION_FLAG: u32 = 32u32; +pub const NCRYPT_AUTHORITY_KEY_FLAG: u32 = 256u32; +pub const NCRYPT_AUTH_TAG_LENGTH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AuthTagLength"); +pub const NCRYPT_BLOCK_LENGTH_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Block Length"); +pub const NCRYPT_CAPI_KDF_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CAPI_KDF"); +pub const NCRYPT_CERTIFICATE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartCardKeyCertificate"); +pub const NCRYPT_CHAINING_MODE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Chaining Mode"); +pub const NCRYPT_CHANGEPASSWORD_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_CHANGEPASSWORD"); +pub const NCRYPT_CIPHER_BLOCK_PADDING_FLAG: u32 = 1u32; +pub const NCRYPT_CIPHER_KEY_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CipherKeyBlob"); +pub const NCRYPT_CIPHER_KEY_BLOB_MAGIC: u32 = 1380470851u32; +pub const NCRYPT_CIPHER_NO_PADDING_FLAG: u32 = 0u32; +pub const NCRYPT_CIPHER_OPERATION: NCRYPT_OPERATION = 1u32; +pub const NCRYPT_CIPHER_OTHER_PADDING_FLAG: u32 = 2u32; +pub const NCRYPT_CLAIM_AUTHORITY_AND_SUBJECT: u32 = 3u32; +pub const NCRYPT_CLAIM_AUTHORITY_ONLY: u32 = 1u32; +pub const NCRYPT_CLAIM_PLATFORM: u32 = 65536u32; +pub const NCRYPT_CLAIM_SUBJECT_ONLY: u32 = 2u32; +pub const NCRYPT_CLAIM_UNKNOWN: u32 = 4096u32; +pub const NCRYPT_CLAIM_VSM_KEY_ATTESTATION_STATEMENT: u32 = 4u32; +pub const NCRYPT_CLAIM_WEB_AUTH_SUBJECT_ONLY: u32 = 258u32; +pub const NCRYPT_DESCR_DELIMITER_AND: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AND"); +pub const NCRYPT_DESCR_DELIMITER_OR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("OR"); +pub const NCRYPT_DESCR_EQUAL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("="); +pub const NCRYPT_DESX_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DESX"); +pub const NCRYPT_DES_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DES"); +pub const NCRYPT_DES_ALGORITHM_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DES"); +pub const NCRYPT_DH_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DH"); +pub const NCRYPT_DH_ALGORITHM_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DH"); +pub const NCRYPT_DH_PARAMETERS_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DHParameters"); +pub const NCRYPT_DISMISS_UI_TIMEOUT_SEC_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartCardDismissUITimeoutSeconds"); +pub const NCRYPT_DO_NOT_FINALIZE_FLAG: u32 = 1024u32; +pub const NCRYPT_DSA_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DSA"); +pub const NCRYPT_DSA_ALGORITHM_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DSA"); +pub const NCRYPT_ECC_CURVE_NAME_LIST_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECCCurveNameList"); +pub const NCRYPT_ECC_CURVE_NAME_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECCCurveName"); +pub const NCRYPT_ECC_PARAMETERS_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECCParameters"); +pub const NCRYPT_ECDH_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDH"); +pub const NCRYPT_ECDH_ALGORITHM_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDH"); +pub const NCRYPT_ECDH_P256_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDH_P256"); +pub const NCRYPT_ECDH_P384_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDH_P384"); +pub const NCRYPT_ECDH_P521_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDH_P521"); +pub const NCRYPT_ECDSA_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDSA"); +pub const NCRYPT_ECDSA_ALGORITHM_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDSA"); +pub const NCRYPT_ECDSA_P256_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDSA_P256"); +pub const NCRYPT_ECDSA_P384_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDSA_P384"); +pub const NCRYPT_ECDSA_P521_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ECDSA_P521"); +pub const NCRYPT_EXPORTED_ISOLATED_KEY_HEADER_CURRENT_VERSION: u32 = 0u32; +pub const NCRYPT_EXPORTED_ISOLATED_KEY_HEADER_V0: u32 = 0u32; +pub const NCRYPT_EXPORT_LEGACY_FLAG: u32 = 2048u32; +pub const NCRYPT_EXPORT_POLICY_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Export Policy"); +pub const NCRYPT_EXTENDED_ERRORS_FLAG: u32 = 268435456u32; +pub const NCRYPT_HASH_OPERATION: NCRYPT_OPERATION = 2u32; +pub const NCRYPT_HMAC_SHA256_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HMAC-SHA256"); +pub const NCRYPT_IGNORE_DEVICE_STATE_FLAG: u32 = 4096u32; +pub const NCRYPT_IMPL_HARDWARE_FLAG: u32 = 1u32; +pub const NCRYPT_IMPL_HARDWARE_RNG_FLAG: u32 = 16u32; +pub const NCRYPT_IMPL_REMOVABLE_FLAG: u32 = 8u32; +pub const NCRYPT_IMPL_SOFTWARE_FLAG: u32 = 2u32; +pub const NCRYPT_IMPL_TYPE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Impl Type"); +pub const NCRYPT_IMPL_VIRTUAL_ISOLATION_FLAG: u32 = 32u32; +pub const NCRYPT_INITIALIZATION_VECTOR: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IV"); +pub const NCRYPT_ISOLATED_KEY_ATTESTED_ATTRIBUTES_CURRENT_VERSION: u32 = 0u32; +pub const NCRYPT_ISOLATED_KEY_ATTESTED_ATTRIBUTES_V0: u32 = 0u32; +pub const NCRYPT_ISOLATED_KEY_ENVELOPE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ISOLATED_KEY_ENVELOPE"); +pub const NCRYPT_ISOLATED_KEY_FLAG_CREATED_IN_ISOLATION: u32 = 1u32; +pub const NCRYPT_ISOLATED_KEY_FLAG_IMPORT_ONLY: u32 = 2u32; +pub const NCRYPT_KDF_KEY_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KDFKeyBlob"); +pub const NCRYPT_KDF_KEY_BLOB_MAGIC: u32 = 826688587u32; +pub const NCRYPT_KDF_SECRET_VALUE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KDFKeySecret"); +pub const NCRYPT_KEY_ACCESS_POLICY_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Key Access Policy"); +pub const NCRYPT_KEY_ACCESS_POLICY_VERSION: u32 = 1u32; +pub const NCRYPT_KEY_ATTEST_MAGIC: u32 = 1146110283u32; +pub const NCRYPT_KEY_DERIVATION_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KEY_DERIVATION"); +pub const NCRYPT_KEY_DERIVATION_INTERFACE: u32 = 7u32; +pub const NCRYPT_KEY_DERIVATION_OPERATION: u32 = 64u32; +pub const NCRYPT_KEY_PROTECTION_ALGORITHM_CERTIFICATE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CERTIFICATE"); +pub const NCRYPT_KEY_PROTECTION_ALGORITHM_LOCAL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LOCAL"); +pub const NCRYPT_KEY_PROTECTION_ALGORITHM_LOCKEDCREDENTIALS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("LOCKEDCREDENTIALS"); +pub const NCRYPT_KEY_PROTECTION_ALGORITHM_SDDL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SDDL"); +pub const NCRYPT_KEY_PROTECTION_ALGORITHM_SID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SID"); +pub const NCRYPT_KEY_PROTECTION_ALGORITHM_WEBCREDENTIALS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WEBCREDENTIALS"); +pub const NCRYPT_KEY_PROTECTION_CERT_CERTBLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertBlob"); +pub const NCRYPT_KEY_PROTECTION_CERT_HASHID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HashId"); +pub const NCRYPT_KEY_PROTECTION_INTERFACE: u32 = 65540u32; +pub const NCRYPT_KEY_PROTECTION_LOCAL_LOGON: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("logon"); +pub const NCRYPT_KEY_PROTECTION_LOCAL_MACHINE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("machine"); +pub const NCRYPT_KEY_PROTECTION_LOCAL_USER: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("user"); +pub const NCRYPT_KEY_STORAGE_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("KEY_STORAGE"); +pub const NCRYPT_KEY_STORAGE_INTERFACE: BCRYPT_INTERFACE = 65537u32; +pub const NCRYPT_KEY_TYPE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Key Type"); +pub const NCRYPT_KEY_USAGE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Key Usage"); +pub const NCRYPT_LAST_MODIFIED_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Modified"); +pub const NCRYPT_LENGTHS_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Lengths"); +pub const NCRYPT_LENGTH_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Length"); +pub const NCRYPT_MACHINE_KEY_FLAG: NCRYPT_FLAGS = 32u32; +pub const NCRYPT_MAX_ALG_ID_LENGTH: u32 = 512u32; +pub const NCRYPT_MAX_KEY_NAME_LENGTH: u32 = 512u32; +pub const NCRYPT_MAX_NAME_LENGTH_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Max Name Length"); +pub const NCRYPT_MAX_PROPERTY_DATA: u32 = 1048576u32; +pub const NCRYPT_MAX_PROPERTY_NAME: u32 = 64u32; +pub const NCRYPT_MD2_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MD2"); +pub const NCRYPT_MD4_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MD4"); +pub const NCRYPT_MD5_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MD5"); +pub const NCRYPT_NAMED_DESCRIPTOR_FLAG: u32 = 1u32; +pub const NCRYPT_NAME_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Name"); +pub const NCRYPT_NO_CACHED_PASSWORD: u32 = 16384u32; +pub const NCRYPT_NO_KEY_VALIDATION: NCRYPT_FLAGS = 8u32; +pub const NCRYPT_NO_PADDING_FLAG: NCRYPT_FLAGS = 1u32; +pub const NCRYPT_OPAQUETRANSPORT_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("OpaqueTransport"); +pub const NCRYPT_OVERWRITE_KEY_FLAG: NCRYPT_FLAGS = 128u32; +pub const NCRYPT_PAD_CIPHER_FLAG: u32 = 16u32; +pub const NCRYPT_PAD_OAEP_FLAG: NCRYPT_FLAGS = 4u32; +pub const NCRYPT_PAD_PKCS1_FLAG: NCRYPT_FLAGS = 2u32; +pub const NCRYPT_PAD_PSS_FLAG: NCRYPT_FLAGS = 8u32; +pub const NCRYPT_PBKDF2_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PBKDF2"); +pub const NCRYPT_PCP_ALTERNATE_KEY_STORAGE_LOCATION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_ALTERNATE_KEY_STORAGE_LOCATION"); +pub const NCRYPT_PCP_CHANGEPASSWORD_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_CHANGEPASSWORD"); +pub const NCRYPT_PCP_ECC_EKCERT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_ECC_EKCERT"); +pub const NCRYPT_PCP_ECC_EKNVCERT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_ECC_EKNVCERT"); +pub const NCRYPT_PCP_ECC_EKPUB_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_ECC_EKPUB"); +pub const NCRYPT_PCP_EKCERT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_EKCERT"); +pub const NCRYPT_PCP_EKNVCERT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_EKNVCERT"); +pub const NCRYPT_PCP_EKPUB_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_EKPUB"); +pub const NCRYPT_PCP_ENCRYPTION_KEY: u32 = 2u32; +pub const NCRYPT_PCP_EXPORT_ALLOWED_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_EXPORT_ALLOWED"); +pub const NCRYPT_PCP_HMACVERIFICATION_KEY: u32 = 16u32; +pub const NCRYPT_PCP_HMAC_AUTH_NONCE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_HMAC_AUTH_NONCE"); +pub const NCRYPT_PCP_HMAC_AUTH_POLICYINFO: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_HMAC_AUTH_POLICYINFO"); +pub const NCRYPT_PCP_HMAC_AUTH_POLICYREF: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_HMAC_AUTH_POLICYREF"); +pub const NCRYPT_PCP_HMAC_AUTH_SIGNATURE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_HMAC_AUTH_SIGNATURE"); +pub const NCRYPT_PCP_HMAC_AUTH_TICKET: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_HMAC_AUTH_TICKET"); +pub const NCRYPT_PCP_IDENTITY_KEY: u32 = 8u32; +pub const NCRYPT_PCP_INTERMEDIATE_CA_EKCERT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_INTERMEDIATE_CA_EKCERT"); +pub const NCRYPT_PCP_KEYATTESTATION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_TPM12_KEYATTESTATION"); +pub const NCRYPT_PCP_KEY_CREATIONHASH_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_KEY_CREATIONHASH"); +pub const NCRYPT_PCP_KEY_CREATIONTICKET_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_KEY_CREATIONTICKET"); +pub const NCRYPT_PCP_KEY_USAGE_POLICY_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_KEY_USAGE_POLICY"); +pub const NCRYPT_PCP_MIGRATIONPASSWORD_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_MIGRATIONPASSWORD"); +pub const NCRYPT_PCP_NO_DA_PROTECTION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_NO_DA_PROTECTION"); +pub const NCRYPT_PCP_PASSWORD_REQUIRED_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_PASSWORD_REQUIRED"); +pub const NCRYPT_PCP_PCRTABLE_ALGORITHM_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_PCRTABLE_ALGORITHM"); +pub const NCRYPT_PCP_PCRTABLE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_PCRTABLE"); +pub const NCRYPT_PCP_PLATFORMHANDLE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_PLATFORMHANDLE"); +pub const NCRYPT_PCP_PLATFORM_BINDING_PCRALGID_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_PLATFORM_BINDING_PCRALGID"); +pub const NCRYPT_PCP_PLATFORM_BINDING_PCRDIGESTLIST_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_PLATFORM_BINDING_PCRDIGESTLIST"); +pub const NCRYPT_PCP_PLATFORM_BINDING_PCRDIGEST_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_PLATFORM_BINDING_PCRDIGEST"); +pub const NCRYPT_PCP_PLATFORM_BINDING_PCRMASK_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_PLATFORM_BINDING_PCRMASK"); +pub const NCRYPT_PCP_PLATFORM_TYPE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_PLATFORM_TYPE"); +pub const NCRYPT_PCP_PROVIDERHANDLE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_PROVIDERMHANDLE"); +pub const NCRYPT_PCP_PROVIDER_VERSION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_PROVIDER_VERSION"); +pub const NCRYPT_PCP_PSS_SALT_SIZE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PSS Salt Size"); +pub const NCRYPT_PCP_RAW_POLICYDIGEST_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_RAW_POLICYDIGEST"); +pub const NCRYPT_PCP_RSA_EKCERT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_RSA_EKCERT"); +pub const NCRYPT_PCP_RSA_EKNVCERT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_RSA_EKNVCERT"); +pub const NCRYPT_PCP_RSA_EKPUB_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_RSA_EKPUB"); +pub const NCRYPT_PCP_RSA_SCHEME_HASH_ALG_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_RSA_SCHEME_HASH_ALG"); +pub const NCRYPT_PCP_RSA_SCHEME_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_RSA_SCHEME"); +pub const NCRYPT_PCP_SESSIONID_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_SESSIONID"); +pub const NCRYPT_PCP_SIGNATURE_KEY: u32 = 1u32; +pub const NCRYPT_PCP_SRKPUB_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_SRKPUB"); +pub const NCRYPT_PCP_STORAGEPARENT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_STORAGEPARENT"); +pub const NCRYPT_PCP_STORAGE_KEY: u32 = 4u32; +pub const NCRYPT_PCP_SYMMETRIC_KEYBITS_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_SYMMETRIC_KEYBITS"); +pub const NCRYPT_PCP_TPM12_IDACTIVATION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_TPM12_IDACTIVATION"); +pub const NCRYPT_PCP_TPM12_IDBINDING_DYNAMIC_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_TPM12_IDBINDING_DYNAMIC"); +pub const NCRYPT_PCP_TPM12_IDBINDING_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_TPM12_IDBINDING"); +pub const NCRYPT_PCP_TPM2BNAME_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_TPM2BNAME"); +pub const NCRYPT_PCP_TPM_FW_VERSION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_TPM_FW_VERSION"); +pub const NCRYPT_PCP_TPM_IFX_RSA_KEYGEN_PROHIBITED_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_TPM_IFX_RSA_KEYGEN_PROHIBITED"); +pub const NCRYPT_PCP_TPM_IFX_RSA_KEYGEN_VULNERABILITY_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_TPM_IFX_RSA_KEYGEN_VULNERABILITY"); +pub const NCRYPT_PCP_TPM_MANUFACTURER_ID_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_TPM_MANUFACTURER_ID"); +pub const NCRYPT_PCP_TPM_VERSION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_TPM_VERSION"); +pub const NCRYPT_PCP_USAGEAUTH_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PCP_USAGEAUTH"); +pub const NCRYPT_PERSIST_FLAG: NCRYPT_FLAGS = 2147483648u32; +pub const NCRYPT_PERSIST_ONLY_FLAG: NCRYPT_FLAGS = 1073741824u32; +pub const NCRYPT_PIN_CACHE_APPLICATION_IMAGE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PinCacheApplicationImage"); +pub const NCRYPT_PIN_CACHE_APPLICATION_STATUS_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PinCacheApplicationStatus"); +pub const NCRYPT_PIN_CACHE_APPLICATION_TICKET_BYTE_LENGTH: u32 = 90u32; +pub const NCRYPT_PIN_CACHE_APPLICATION_TICKET_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PinCacheApplicationTicket"); +pub const NCRYPT_PIN_CACHE_CLEAR_FOR_CALLING_PROCESS_OPTION: u32 = 1u32; +pub const NCRYPT_PIN_CACHE_CLEAR_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PinCacheClear"); +pub const NCRYPT_PIN_CACHE_DISABLE_DPL_FLAG: u32 = 1u32; +pub const NCRYPT_PIN_CACHE_FLAGS_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PinCacheFlags"); +pub const NCRYPT_PIN_CACHE_FREE_APPLICATION_TICKET_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PinCacheFreeApplicationTicket"); +pub const NCRYPT_PIN_CACHE_IS_GESTURE_REQUIRED_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PinCacheIsGestureRequired"); +pub const NCRYPT_PIN_CACHE_PIN_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PinCachePin"); +pub const NCRYPT_PIN_CACHE_REQUIRE_GESTURE_FLAG: u32 = 1u32; +pub const NCRYPT_PIN_PROMPT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartCardPinPrompt"); +pub const NCRYPT_PIN_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartCardPin"); +pub const NCRYPT_PKCS7_ENVELOPE_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PKCS7_ENVELOPE"); +pub const NCRYPT_PKCS8_PRIVATE_KEY_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PKCS8_PRIVATEKEY"); +pub const NCRYPT_PLATFORM_ATTEST_MAGIC: u32 = 1146110288u32; +pub const NCRYPT_PREFER_VIRTUAL_ISOLATION_FLAG: u32 = 65536u32; +pub const NCRYPT_PROTECTED_KEY_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ProtectedKeyBlob"); +pub const NCRYPT_PROTECTED_KEY_BLOB_MAGIC: u32 = 1263817296u32; +pub const NCRYPT_PROTECTION_INFO_TYPE_DESCRIPTOR_STRING: u32 = 1u32; +pub const NCRYPT_PROTECT_TO_LOCAL_SYSTEM: u32 = 32768u32; +pub const NCRYPT_PROVIDER_HANDLE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Provider Handle"); +pub const NCRYPT_PUBLIC_LENGTH_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PublicKeyLength"); +pub const NCRYPT_RC2_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RC2"); +pub const NCRYPT_RC2_ALGORITHM_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RC2"); +pub const NCRYPT_READER_ICON_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartCardReaderIcon"); +pub const NCRYPT_READER_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartCardReader"); +pub const NCRYPT_REGISTER_NOTIFY_FLAG: NCRYPT_FLAGS = 1u32; +pub const NCRYPT_ROOT_CERTSTORE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartcardRootCertStore"); +pub const NCRYPT_RSA_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RSA"); +pub const NCRYPT_RSA_ALGORITHM_GROUP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RSA"); +pub const NCRYPT_RSA_SIGN_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RSA_SIGN"); +pub const NCRYPT_SCARD_NGC_KEY_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartCardNgcKeyName"); +pub const NCRYPT_SCARD_PIN_ID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartCardPinId"); +pub const NCRYPT_SCARD_PIN_INFO: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartCardPinInfo"); +pub const NCRYPT_SCHANNEL_INTERFACE: BCRYPT_INTERFACE = 65538u32; +pub const NCRYPT_SCHANNEL_SIGNATURE_INTERFACE: BCRYPT_INTERFACE = 65539u32; +pub const NCRYPT_SEALING_FLAG: u32 = 256u32; +pub const NCRYPT_SECRET_AGREEMENT_INTERFACE: NCRYPT_ALGORITHM_NAME_CLASS = 4u32; +pub const NCRYPT_SECRET_AGREEMENT_OPERATION: NCRYPT_OPERATION = 8u32; +pub const NCRYPT_SECURE_PIN_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartCardSecurePin"); +pub const NCRYPT_SECURITY_DESCR_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Security Descr"); +pub const NCRYPT_SECURITY_DESCR_SUPPORT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Security Descr Support"); +pub const NCRYPT_SHA1_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SHA1"); +pub const NCRYPT_SHA256_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SHA256"); +pub const NCRYPT_SHA384_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SHA384"); +pub const NCRYPT_SHA512_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SHA512"); +pub const NCRYPT_SIGNATURE_INTERFACE: NCRYPT_ALGORITHM_NAME_CLASS = 5u32; +pub const NCRYPT_SIGNATURE_LENGTH_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SignatureLength"); +pub const NCRYPT_SIGNATURE_OPERATION: NCRYPT_OPERATION = 16u32; +pub const NCRYPT_SILENT_FLAG: NCRYPT_FLAGS = 64u32; +pub const NCRYPT_SMARTCARD_GUID_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartCardGuid"); +pub const NCRYPT_SP800108_CTR_HMAC_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SP800_108_CTR_HMAC"); +pub const NCRYPT_SP80056A_CONCAT_ALGORITHM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SP800_56A_CONCAT"); +pub const NCRYPT_TPM12_PROVIDER: u32 = 65536u32; +pub const NCRYPT_TPM_LOADABLE_KEY_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PcpTpmProtectedKeyBlob"); +pub const NCRYPT_TPM_LOADABLE_KEY_BLOB_MAGIC: u32 = 1297371211u32; +pub const NCRYPT_TPM_PAD_PSS_IGNORE_SALT: u32 = 32u32; +pub const NCRYPT_TPM_PLATFORM_ATTESTATION_STATEMENT_CURRENT_VERSION: u32 = 0u32; +pub const NCRYPT_TPM_PLATFORM_ATTESTATION_STATEMENT_V0: u32 = 0u32; +pub const NCRYPT_TPM_PSS_SALT_SIZE_HASHSIZE: u32 = 2u32; +pub const NCRYPT_TPM_PSS_SALT_SIZE_MAXIMUM: u32 = 1u32; +pub const NCRYPT_TPM_PSS_SALT_SIZE_UNKNOWN: u32 = 0u32; +pub const NCRYPT_TREAT_NIST_AS_GENERIC_ECC_FLAG: u32 = 8192u32; +pub const NCRYPT_UI_APPCONTAINER_ACCESS_MEDIUM_FLAG: u32 = 8u32; +pub const NCRYPT_UI_FINGERPRINT_PROTECTION_FLAG: u32 = 4u32; +pub const NCRYPT_UI_FORCE_HIGH_PROTECTION_FLAG: u32 = 2u32; +pub const NCRYPT_UI_POLICY_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("UI Policy"); +pub const NCRYPT_UI_PROTECT_KEY_FLAG: u32 = 1u32; +pub const NCRYPT_UNIQUE_NAME_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Unique Name"); +pub const NCRYPT_UNPROTECT_NO_DECRYPT: NCRYPT_FLAGS = 1u32; +pub const NCRYPT_UNREGISTER_NOTIFY_FLAG: NCRYPT_FLAGS = 2u32; +pub const NCRYPT_USER_CERTSTORE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartCardUserCertStore"); +pub const NCRYPT_USE_CONTEXT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Use Context"); +pub const NCRYPT_USE_COUNT_ENABLED_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Enabled Use Count"); +pub const NCRYPT_USE_COUNT_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Use Count"); +pub const NCRYPT_USE_PER_BOOT_KEY_FLAG: u32 = 262144u32; +pub const NCRYPT_USE_PER_BOOT_KEY_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Per Boot Key"); +pub const NCRYPT_USE_VIRTUAL_ISOLATION_FLAG: u32 = 131072u32; +pub const NCRYPT_USE_VIRTUAL_ISOLATION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Virtual Iso"); +pub const NCRYPT_VERSION_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Version"); +pub const NCRYPT_VSM_KEY_ATTESTATION_CLAIM_RESTRICTIONS_CURRENT_VERSION: u32 = 0u32; +pub const NCRYPT_VSM_KEY_ATTESTATION_CLAIM_RESTRICTIONS_V0: u32 = 0u32; +pub const NCRYPT_VSM_KEY_ATTESTATION_STATEMENT_CURRENT_VERSION: u32 = 0u32; +pub const NCRYPT_VSM_KEY_ATTESTATION_STATEMENT_V0: u32 = 0u32; +pub const NCRYPT_WINDOW_HANDLE_PROPERTY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HWND Handle"); +pub const NCRYPT_WRITE_KEY_TO_LEGACY_STORE_FLAG: NCRYPT_FLAGS = 512u32; +pub const NETSCAPE_SIGN_CA_CERT_TYPE: u32 = 1u32; +pub const NETSCAPE_SIGN_CERT_TYPE: u32 = 16u32; +pub const NETSCAPE_SMIME_CA_CERT_TYPE: u32 = 2u32; +pub const NETSCAPE_SMIME_CERT_TYPE: u32 = 32u32; +pub const NETSCAPE_SSL_CA_CERT_TYPE: u32 = 4u32; +pub const NETSCAPE_SSL_CLIENT_AUTH_CERT_TYPE: u32 = 128u32; +pub const NETSCAPE_SSL_SERVER_AUTH_CERT_TYPE: u32 = 64u32; +pub const OCSP_BASIC_BY_KEY_RESPONDER_ID: u32 = 2u32; +pub const OCSP_BASIC_BY_NAME_RESPONDER_ID: u32 = 1u32; +pub const OCSP_BASIC_GOOD_CERT_STATUS: u32 = 0u32; +pub const OCSP_BASIC_RESPONSE: ::windows_sys::core::PCSTR = 69i32 as _; +pub const OCSP_BASIC_RESPONSE_V1: u32 = 0u32; +pub const OCSP_BASIC_REVOKED_CERT_STATUS: u32 = 1u32; +pub const OCSP_BASIC_SIGNED_RESPONSE: ::windows_sys::core::PCSTR = 68i32 as _; +pub const OCSP_BASIC_UNKNOWN_CERT_STATUS: u32 = 2u32; +pub const OCSP_INTERNAL_ERROR_RESPONSE: u32 = 2u32; +pub const OCSP_MALFORMED_REQUEST_RESPONSE: u32 = 1u32; +pub const OCSP_REQUEST: ::windows_sys::core::PCSTR = 66i32 as _; +pub const OCSP_REQUEST_V1: u32 = 0u32; +pub const OCSP_RESPONSE: ::windows_sys::core::PCSTR = 67i32 as _; +pub const OCSP_SIGNED_REQUEST: ::windows_sys::core::PCSTR = 65i32 as _; +pub const OCSP_SIG_REQUIRED_RESPONSE: u32 = 5u32; +pub const OCSP_SUCCESSFUL_RESPONSE: u32 = 0u32; +pub const OCSP_TRY_LATER_RESPONSE: u32 = 3u32; +pub const OCSP_UNAUTHORIZED_RESPONSE: u32 = 6u32; +pub const OPAQUEKEYBLOB: u32 = 9u32; +pub const PKCS12_ALLOW_OVERWRITE_KEY: CRYPT_KEY_FLAGS = 16384u32; +pub const PKCS12_ALWAYS_CNG_KSP: CRYPT_KEY_FLAGS = 512u32; +pub const PKCS12_CONFIG_REGPATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Software\\Microsoft\\Windows\\CurrentVersion\\PFX"); +pub const PKCS12_DISABLE_ENCRYPT_CERTIFICATES: u32 = 256u32; +pub const PKCS12_ENCRYPT_CERTIFICATES: u32 = 512u32; +pub const PKCS12_ENCRYPT_CERTIFICATES_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("EncryptCertificates"); +pub const PKCS12_EXPORT_ECC_CURVE_OID: u32 = 8192u32; +pub const PKCS12_EXPORT_ECC_CURVE_PARAMETERS: u32 = 4096u32; +pub const PKCS12_EXPORT_PBES2_PARAMS: u32 = 128u32; +pub const PKCS12_EXPORT_RESERVED_MASK: u32 = 4294901760u32; +pub const PKCS12_EXPORT_SILENT: u32 = 64u32; +pub const PKCS12_IMPORT_RESERVED_MASK: u32 = 4294901760u32; +pub const PKCS12_IMPORT_SILENT: u32 = 64u32; +pub const PKCS12_INCLUDE_EXTENDED_PROPERTIES: CRYPT_KEY_FLAGS = 16u32; +pub const PKCS12_NO_PERSIST_KEY: CRYPT_KEY_FLAGS = 32768u32; +pub const PKCS12_ONLY_CERTIFICATES: u32 = 1024u32; +pub const PKCS12_ONLY_CERTIFICATES_CONTAINER_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PfxContainer"); +pub const PKCS12_ONLY_CERTIFICATES_PROVIDER_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PfxProvider"); +pub const PKCS12_ONLY_CERTIFICATES_PROVIDER_TYPE: u32 = 0u32; +pub const PKCS12_ONLY_NOT_ENCRYPTED_CERTIFICATES: u32 = 2048u32; +pub const PKCS12_PBES2_ALG_AES256_SHA256: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AES256-SHA256"); +pub const PKCS12_PBKDF2_ID_HMAC_SHA1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.2.7"); +pub const PKCS12_PBKDF2_ID_HMAC_SHA256: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.2.9"); +pub const PKCS12_PBKDF2_ID_HMAC_SHA384: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.2.10"); +pub const PKCS12_PBKDF2_ID_HMAC_SHA512: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.2.11"); +pub const PKCS12_PREFER_CNG_KSP: CRYPT_KEY_FLAGS = 256u32; +pub const PKCS12_PROTECT_TO_DOMAIN_SIDS: u32 = 32u32; +pub const PKCS12_VIRTUAL_ISOLATION_KEY: u32 = 65536u32; +pub const PKCS5_PADDING: u32 = 1u32; +pub const PKCS7_SIGNER_INFO: ::windows_sys::core::PCSTR = 500i32 as _; +pub const PKCS_7_ASN_ENCODING: CERT_QUERY_ENCODING_TYPE = 65536u32; +pub const PKCS_7_NDR_ENCODING: u32 = 131072u32; +pub const PKCS_ATTRIBUTE: ::windows_sys::core::PCSTR = 22i32 as _; +pub const PKCS_ATTRIBUTES: ::windows_sys::core::PCSTR = 48i32 as _; +pub const PKCS_CONTENT_INFO: ::windows_sys::core::PCSTR = 33i32 as _; +pub const PKCS_CONTENT_INFO_SEQUENCE_OF_ANY: ::windows_sys::core::PCSTR = 23i32 as _; +pub const PKCS_CTL: ::windows_sys::core::PCSTR = 37i32 as _; +pub const PKCS_ENCRYPTED_PRIVATE_KEY_INFO: ::windows_sys::core::PCSTR = 45i32 as _; +pub const PKCS_PRIVATE_KEY_INFO: ::windows_sys::core::PCSTR = 44i32 as _; +pub const PKCS_RC2_CBC_PARAMETERS: ::windows_sys::core::PCSTR = 41i32 as _; +pub const PKCS_RSAES_OAEP_PARAMETERS: ::windows_sys::core::PCSTR = 76i32 as _; +pub const PKCS_RSA_PRIVATE_KEY: ::windows_sys::core::PCSTR = 43i32 as _; +pub const PKCS_RSA_SSA_PSS_PARAMETERS: ::windows_sys::core::PCSTR = 75i32 as _; +pub const PKCS_RSA_SSA_PSS_TRAILER_FIELD_BC: u32 = 1u32; +pub const PKCS_SMIME_CAPABILITIES: ::windows_sys::core::PCSTR = 42i32 as _; +pub const PKCS_SORTED_CTL: ::windows_sys::core::PCSTR = 49i32 as _; +pub const PKCS_TIME_REQUEST: ::windows_sys::core::PCSTR = 18i32 as _; +pub const PKCS_UTC_TIME: ::windows_sys::core::PCSTR = 17i32 as _; +pub const PLAINTEXTKEYBLOB: u32 = 8u32; +pub const PP_ADMIN_PIN: u32 = 31u32; +pub const PP_APPLI_CERT: u32 = 18u32; +pub const PP_CERTCHAIN: u32 = 9u32; +pub const PP_CHANGE_PASSWORD: u32 = 7u32; +pub const PP_CLIENT_HWND: CRYPT_SET_PROV_PARAM_ID = 1u32; +pub const PP_CONTAINER: u32 = 6u32; +pub const PP_CONTEXT_INFO: u32 = 11u32; +pub const PP_CRYPT_COUNT_KEY_USE: u32 = 41u32; +pub const PP_DELETEKEY: CRYPT_SET_PROV_PARAM_ID = 24u32; +pub const PP_DISMISS_PIN_UI_SEC: u32 = 49u32; +pub const PP_ENUMALGS: u32 = 1u32; +pub const PP_ENUMALGS_EX: u32 = 22u32; +pub const PP_ENUMCONTAINERS: u32 = 2u32; +pub const PP_ENUMELECTROOTS: u32 = 26u32; +pub const PP_ENUMEX_SIGNING_PROT: u32 = 40u32; +pub const PP_ENUMMANDROOTS: u32 = 25u32; +pub const PP_IMPTYPE: u32 = 3u32; +pub const PP_IS_PFX_EPHEMERAL: u32 = 50u32; +pub const PP_KEYEXCHANGE_ALG: CRYPT_SET_PROV_PARAM_ID = 14u32; +pub const PP_KEYEXCHANGE_KEYSIZE: CRYPT_SET_PROV_PARAM_ID = 12u32; +pub const PP_KEYEXCHANGE_PIN: CRYPT_SET_PROV_PARAM_ID = 32u32; +pub const PP_KEYSET_SEC_DESCR: CRYPT_SET_PROV_PARAM_ID = 8u32; +pub const PP_KEYSET_TYPE: u32 = 27u32; +pub const PP_KEYSPEC: u32 = 39u32; +pub const PP_KEYSTORAGE: u32 = 17u32; +pub const PP_KEYX_KEYSIZE_INC: u32 = 35u32; +pub const PP_KEY_TYPE_SUBTYPE: u32 = 10u32; +pub const PP_NAME: u32 = 4u32; +pub const PP_PIN_PROMPT_STRING: CRYPT_SET_PROV_PARAM_ID = 44u32; +pub const PP_PROVTYPE: u32 = 16u32; +pub const PP_ROOT_CERTSTORE: CRYPT_SET_PROV_PARAM_ID = 46u32; +pub const PP_SECURE_KEYEXCHANGE_PIN: CRYPT_SET_PROV_PARAM_ID = 47u32; +pub const PP_SECURE_SIGNATURE_PIN: CRYPT_SET_PROV_PARAM_ID = 48u32; +pub const PP_SESSION_KEYSIZE: u32 = 20u32; +pub const PP_SGC_INFO: u32 = 37u32; +pub const PP_SIGNATURE_ALG: CRYPT_SET_PROV_PARAM_ID = 15u32; +pub const PP_SIGNATURE_KEYSIZE: CRYPT_SET_PROV_PARAM_ID = 13u32; +pub const PP_SIGNATURE_PIN: CRYPT_SET_PROV_PARAM_ID = 33u32; +pub const PP_SIG_KEYSIZE_INC: u32 = 34u32; +pub const PP_SMARTCARD_GUID: u32 = 45u32; +pub const PP_SMARTCARD_READER: CRYPT_SET_PROV_PARAM_ID = 43u32; +pub const PP_SMARTCARD_READER_ICON: u32 = 47u32; +pub const PP_SYM_KEYSIZE: u32 = 19u32; +pub const PP_UI_PROMPT: CRYPT_SET_PROV_PARAM_ID = 21u32; +pub const PP_UNIQUE_CONTAINER: u32 = 36u32; +pub const PP_USER_CERTSTORE: CRYPT_SET_PROV_PARAM_ID = 42u32; +pub const PP_USE_HARDWARE_RNG: CRYPT_SET_PROV_PARAM_ID = 38u32; +pub const PP_VERSION: u32 = 5u32; +pub const PRIVATEKEYBLOB: u32 = 7u32; +pub const PROV_DH_SCHANNEL: u32 = 18u32; +pub const PROV_DSS: u32 = 3u32; +pub const PROV_DSS_DH: u32 = 13u32; +pub const PROV_EC_ECDSA_FULL: u32 = 16u32; +pub const PROV_EC_ECDSA_SIG: u32 = 14u32; +pub const PROV_EC_ECNRA_FULL: u32 = 17u32; +pub const PROV_EC_ECNRA_SIG: u32 = 15u32; +pub const PROV_FORTEZZA: u32 = 4u32; +pub const PROV_INTEL_SEC: u32 = 22u32; +pub const PROV_MS_EXCHANGE: u32 = 5u32; +pub const PROV_REPLACE_OWF: u32 = 23u32; +pub const PROV_RNG: u32 = 21u32; +pub const PROV_RSA_AES: u32 = 24u32; +pub const PROV_RSA_FULL: u32 = 1u32; +pub const PROV_RSA_SCHANNEL: u32 = 12u32; +pub const PROV_RSA_SIG: u32 = 2u32; +pub const PROV_SPYRUS_LYNKS: u32 = 20u32; +pub const PROV_SSL: u32 = 6u32; +pub const PROV_STT_ACQ: u32 = 8u32; +pub const PROV_STT_BRND: u32 = 9u32; +pub const PROV_STT_ISS: u32 = 11u32; +pub const PROV_STT_MER: u32 = 7u32; +pub const PROV_STT_ROOT: u32 = 10u32; +pub const PUBLICKEYBLOB: u32 = 6u32; +pub const PUBLICKEYBLOBEX: u32 = 10u32; +pub const PVK_TYPE_FILE_NAME: SIGNER_PRIVATE_KEY_CHOICE = 1u32; +pub const PVK_TYPE_KEYCONTAINER: SIGNER_PRIVATE_KEY_CHOICE = 2u32; +pub const RANDOM_PADDING: u32 = 2u32; +pub const RECIPIENTPOLICYV1: u32 = 1u32; +pub const RECIPIENTPOLICYV2: u32 = 2u32; +pub const REPORT_NOT_ABLE_TO_EXPORT_PRIVATE_KEY: u32 = 2u32; +pub const REPORT_NO_PRIVATE_KEY: u32 = 1u32; +pub const REVOCATION_OID_CRL_REVOCATION: ::windows_sys::core::PCSTR = 1i32 as _; +pub const RSA1024BIT_KEY: u32 = 67108864u32; +pub const RSA_CSP_PUBLICKEYBLOB: ::windows_sys::core::PCSTR = 19i32 as _; +pub const SCHANNEL_ENC_KEY: u32 = 1u32; +pub const SCHANNEL_MAC_KEY: u32 = 0u32; +pub const SCHEME_OID_RETRIEVE_ENCODED_OBJECTW_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("SchemeDllRetrieveEncodedObjectW"); +pub const SCHEME_OID_RETRIEVE_ENCODED_OBJECT_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("SchemeDllRetrieveEncodedObject"); +pub const SIGNATURE_RESOURCE_NUMBER: u32 = 666u32; +pub const SIGNER_AUTHCODE_ATTR: SIGNER_SIGNATURE_ATTRIBUTE_CHOICE = 1u32; +pub const SIGNER_CERT_POLICY_CHAIN: SIGNER_CERT_POLICY = 2u32; +pub const SIGNER_CERT_POLICY_CHAIN_NO_ROOT: SIGNER_CERT_POLICY = 8u32; +pub const SIGNER_CERT_POLICY_SPC: SIGNER_CERT_POLICY = 4u32; +pub const SIGNER_CERT_POLICY_STORE: SIGNER_CERT_POLICY = 1u32; +pub const SIGNER_CERT_SPC_CHAIN: SIGNER_CERT_CHOICE = 3u32; +pub const SIGNER_CERT_SPC_FILE: SIGNER_CERT_CHOICE = 1u32; +pub const SIGNER_CERT_STORE: SIGNER_CERT_CHOICE = 2u32; +pub const SIGNER_NO_ATTR: SIGNER_SIGNATURE_ATTRIBUTE_CHOICE = 0u32; +pub const SIGNER_SUBJECT_BLOB: SIGNER_SUBJECT_CHOICE = 2u32; +pub const SIGNER_SUBJECT_FILE: SIGNER_SUBJECT_CHOICE = 1u32; +pub const SIGNER_TIMESTAMP_AUTHENTICODE: SIGNER_TIMESTAMP_FLAGS = 1u32; +pub const SIGNER_TIMESTAMP_RFC3161: SIGNER_TIMESTAMP_FLAGS = 2u32; +pub const SIG_APPEND: SIGNER_SIGN_FLAGS = 4096u32; +pub const SIMPLEBLOB: u32 = 1u32; +pub const SITE_PIN_RULES_ALL_SUBDOMAINS_FLAG: u32 = 1u32; +pub const SORTED_CTL_EXT_HASHED_SUBJECT_IDENTIFIER_FLAG: u32 = 1u32; +pub const SPC_DIGEST_GENERATE_FLAG: SIGNER_SIGN_FLAGS = 512u32; +pub const SPC_DIGEST_SIGN_EX_FLAG: SIGNER_SIGN_FLAGS = 16384u32; +pub const SPC_DIGEST_SIGN_FLAG: SIGNER_SIGN_FLAGS = 1024u32; +pub const SPC_EXC_PE_PAGE_HASHES_FLAG: SIGNER_SIGN_FLAGS = 16u32; +pub const SPC_INC_PE_DEBUG_INFO_FLAG: SIGNER_SIGN_FLAGS = 64u32; +pub const SPC_INC_PE_IMPORT_ADDR_TABLE_FLAG: SIGNER_SIGN_FLAGS = 32u32; +pub const SPC_INC_PE_PAGE_HASHES_FLAG: SIGNER_SIGN_FLAGS = 256u32; +pub const SPC_INC_PE_RESOURCES_FLAG: SIGNER_SIGN_FLAGS = 128u32; +pub const SSL_ECCPUBLIC_BLOB: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SSLECCPUBLICBLOB"); +pub const SSL_F12_ERROR_TEXT_LENGTH: u32 = 256u32; +pub const SSL_HPKP_HEADER_COUNT: u32 = 2u32; +pub const SSL_HPKP_PKP_HEADER_INDEX: u32 = 0u32; +pub const SSL_HPKP_PKP_RO_HEADER_INDEX: u32 = 1u32; +pub const SSL_KEY_PIN_ERROR_TEXT_LENGTH: u32 = 512u32; +pub const SSL_OBJECT_LOCATOR_CERT_VALIDATION_CONFIG_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("SslObjectLocatorInitializeCertValidationConfig"); +pub const SSL_OBJECT_LOCATOR_ISSUER_LIST_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("SslObjectLocatorInitializeIssuerList"); +pub const SSL_OBJECT_LOCATOR_PFX_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("SslObjectLocatorInitializePfx"); +pub const SYMMETRICWRAPKEYBLOB: u32 = 11u32; +pub const TIMESTAMP_DONT_HASH_DATA: u32 = 1u32; +pub const TIMESTAMP_FAILURE_BAD_ALG: u32 = 0u32; +pub const TIMESTAMP_FAILURE_BAD_FORMAT: u32 = 5u32; +pub const TIMESTAMP_FAILURE_BAD_REQUEST: u32 = 2u32; +pub const TIMESTAMP_FAILURE_EXTENSION_NOT_SUPPORTED: u32 = 16u32; +pub const TIMESTAMP_FAILURE_INFO_NOT_AVAILABLE: u32 = 17u32; +pub const TIMESTAMP_FAILURE_POLICY_NOT_SUPPORTED: u32 = 15u32; +pub const TIMESTAMP_FAILURE_SYSTEM_FAILURE: u32 = 25u32; +pub const TIMESTAMP_FAILURE_TIME_NOT_AVAILABLE: u32 = 14u32; +pub const TIMESTAMP_INFO: ::windows_sys::core::PCSTR = 80i32 as _; +pub const TIMESTAMP_NO_AUTH_RETRIEVAL: u32 = 131072u32; +pub const TIMESTAMP_REQUEST: ::windows_sys::core::PCSTR = 78i32 as _; +pub const TIMESTAMP_RESPONSE: ::windows_sys::core::PCSTR = 79i32 as _; +pub const TIMESTAMP_STATUS_GRANTED: CRYPT_TIMESTAMP_RESPONSE_STATUS = 0u32; +pub const TIMESTAMP_STATUS_GRANTED_WITH_MODS: CRYPT_TIMESTAMP_RESPONSE_STATUS = 1u32; +pub const TIMESTAMP_STATUS_REJECTED: CRYPT_TIMESTAMP_RESPONSE_STATUS = 2u32; +pub const TIMESTAMP_STATUS_REVOCATION_WARNING: CRYPT_TIMESTAMP_RESPONSE_STATUS = 4u32; +pub const TIMESTAMP_STATUS_REVOKED: CRYPT_TIMESTAMP_RESPONSE_STATUS = 5u32; +pub const TIMESTAMP_STATUS_WAITING: CRYPT_TIMESTAMP_RESPONSE_STATUS = 3u32; +pub const TIMESTAMP_VERIFY_CONTEXT_SIGNATURE: u32 = 32u32; +pub const TIMESTAMP_VERSION: CRYPT_TIMESTAMP_VERSION = 1u32; +pub const TIME_VALID_OID_FLUSH_CRL: ::windows_sys::core::PCSTR = 2i32 as _; +pub const TIME_VALID_OID_FLUSH_CRL_FROM_CERT: ::windows_sys::core::PCSTR = 3i32 as _; +pub const TIME_VALID_OID_FLUSH_CTL: ::windows_sys::core::PCSTR = 1i32 as _; +pub const TIME_VALID_OID_FLUSH_FRESHEST_CRL_FROM_CERT: ::windows_sys::core::PCSTR = 4i32 as _; +pub const TIME_VALID_OID_FLUSH_FRESHEST_CRL_FROM_CRL: ::windows_sys::core::PCSTR = 5i32 as _; +pub const TIME_VALID_OID_FLUSH_OBJECT_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("TimeValidDllFlushObject"); +pub const TIME_VALID_OID_GET_CRL: ::windows_sys::core::PCSTR = 2i32 as _; +pub const TIME_VALID_OID_GET_CRL_FROM_CERT: ::windows_sys::core::PCSTR = 3i32 as _; +pub const TIME_VALID_OID_GET_CTL: ::windows_sys::core::PCSTR = 1i32 as _; +pub const TIME_VALID_OID_GET_FRESHEST_CRL_FROM_CERT: ::windows_sys::core::PCSTR = 4i32 as _; +pub const TIME_VALID_OID_GET_FRESHEST_CRL_FROM_CRL: ::windows_sys::core::PCSTR = 5i32 as _; +pub const TIME_VALID_OID_GET_OBJECT_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("TimeValidDllGetObject"); +pub const TPM_RSA_SRK_SEAL_KEY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MICROSOFT_PCP_KSP_RSA_SEAL_KEY_3BD1C4BF-004E-4E2F-8A4D-0BF633DCB074"); +pub const URL_OID_CERTIFICATE_CRL_DIST_POINT: ::windows_sys::core::PCSTR = 2i32 as _; +pub const URL_OID_CERTIFICATE_CRL_DIST_POINT_AND_OCSP: ::windows_sys::core::PCSTR = 11i32 as _; +pub const URL_OID_CERTIFICATE_FRESHEST_CRL: ::windows_sys::core::PCSTR = 6i32 as _; +pub const URL_OID_CERTIFICATE_ISSUER: ::windows_sys::core::PCSTR = 1i32 as _; +pub const URL_OID_CERTIFICATE_OCSP: ::windows_sys::core::PCSTR = 9i32 as _; +pub const URL_OID_CERTIFICATE_OCSP_AND_CRL_DIST_POINT: ::windows_sys::core::PCSTR = 10i32 as _; +pub const URL_OID_CERTIFICATE_ONLY_OCSP: ::windows_sys::core::PCSTR = 13i32 as _; +pub const URL_OID_CRL_FRESHEST_CRL: ::windows_sys::core::PCSTR = 7i32 as _; +pub const URL_OID_CRL_ISSUER: ::windows_sys::core::PCSTR = 5i32 as _; +pub const URL_OID_CROSS_CERT_DIST_POINT: ::windows_sys::core::PCSTR = 8i32 as _; +pub const URL_OID_CROSS_CERT_SUBJECT_INFO_ACCESS: ::windows_sys::core::PCSTR = 12i32 as _; +pub const URL_OID_CTL_ISSUER: ::windows_sys::core::PCSTR = 3i32 as _; +pub const URL_OID_CTL_NEXT_UPDATE: ::windows_sys::core::PCSTR = 4i32 as _; +pub const URL_OID_GET_OBJECT_URL_FUNC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("UrlDllGetObjectUrl"); +pub const USAGE_MATCH_TYPE_AND: u32 = 0u32; +pub const USAGE_MATCH_TYPE_OR: u32 = 1u32; +pub const X509_ALGORITHM_IDENTIFIER: ::windows_sys::core::PCSTR = 74i32 as _; +pub const X509_ALTERNATE_NAME: ::windows_sys::core::PCSTR = 12i32 as _; +pub const X509_ANY_STRING: i32 = 6i32; +pub const X509_ASN_ENCODING: CERT_QUERY_ENCODING_TYPE = 1u32; +pub const X509_AUTHORITY_INFO_ACCESS: ::windows_sys::core::PCSTR = 32i32 as _; +pub const X509_AUTHORITY_KEY_ID: ::windows_sys::core::PCSTR = 9i32 as _; +pub const X509_AUTHORITY_KEY_ID2: ::windows_sys::core::PCSTR = 31i32 as _; +pub const X509_BASIC_CONSTRAINTS: ::windows_sys::core::PCSTR = 13i32 as _; +pub const X509_BASIC_CONSTRAINTS2: ::windows_sys::core::PCSTR = 15i32 as _; +pub const X509_BIOMETRIC_EXT: ::windows_sys::core::PCSTR = 71i32 as _; +pub const X509_BITS: ::windows_sys::core::PCSTR = 26i32 as _; +pub const X509_BITS_WITHOUT_TRAILING_ZEROES: ::windows_sys::core::PCSTR = 51i32 as _; +pub const X509_CERT: ::windows_sys::core::PCSTR = 1i32 as _; +pub const X509_CERTIFICATE_TEMPLATE: ::windows_sys::core::PCSTR = 64i32 as _; +pub const X509_CERT_BUNDLE: ::windows_sys::core::PCSTR = 81i32 as _; +pub const X509_CERT_CRL_TO_BE_SIGNED: ::windows_sys::core::PCSTR = 3i32 as _; +pub const X509_CERT_PAIR: ::windows_sys::core::PCSTR = 53i32 as _; +pub const X509_CERT_POLICIES: ::windows_sys::core::PCSTR = 16i32 as _; +pub const X509_CERT_REQUEST_TO_BE_SIGNED: ::windows_sys::core::PCSTR = 4i32 as _; +pub const X509_CERT_TO_BE_SIGNED: ::windows_sys::core::PCSTR = 2i32 as _; +pub const X509_CHOICE_OF_TIME: ::windows_sys::core::PCSTR = 30i32 as _; +pub const X509_CRL_DIST_POINTS: ::windows_sys::core::PCSTR = 35i32 as _; +pub const X509_CRL_REASON_CODE: i32 = 29i32; +pub const X509_CROSS_CERT_DIST_POINTS: ::windows_sys::core::PCSTR = 58i32 as _; +pub const X509_DH_PARAMETERS: ::windows_sys::core::PCSTR = 47i32 as _; +pub const X509_DH_PUBLICKEY: i32 = 38i32; +pub const X509_DSS_PARAMETERS: ::windows_sys::core::PCSTR = 39i32 as _; +pub const X509_DSS_PUBLICKEY: i32 = 38i32; +pub const X509_DSS_SIGNATURE: ::windows_sys::core::PCSTR = 40i32 as _; +pub const X509_ECC_PARAMETERS: ::windows_sys::core::PCSTR = 85i32 as _; +pub const X509_ECC_PRIVATE_KEY: ::windows_sys::core::PCSTR = 82i32 as _; +pub const X509_ECC_SIGNATURE: ::windows_sys::core::PCSTR = 47i32 as _; +pub const X509_ENHANCED_KEY_USAGE: ::windows_sys::core::PCSTR = 36i32 as _; +pub const X509_ENUMERATED: ::windows_sys::core::PCSTR = 29i32 as _; +pub const X509_EXTENSIONS: ::windows_sys::core::PCSTR = 5i32 as _; +pub const X509_INTEGER: ::windows_sys::core::PCSTR = 27i32 as _; +pub const X509_ISSUING_DIST_POINT: ::windows_sys::core::PCSTR = 54i32 as _; +pub const X509_KEYGEN_REQUEST_TO_BE_SIGNED: ::windows_sys::core::PCSTR = 21i32 as _; +pub const X509_KEY_ATTRIBUTES: ::windows_sys::core::PCSTR = 10i32 as _; +pub const X509_KEY_USAGE: ::windows_sys::core::PCSTR = 14i32 as _; +pub const X509_KEY_USAGE_RESTRICTION: ::windows_sys::core::PCSTR = 11i32 as _; +pub const X509_LOGOTYPE_EXT: ::windows_sys::core::PCSTR = 70i32 as _; +pub const X509_MULTI_BYTE_INTEGER: ::windows_sys::core::PCSTR = 28i32 as _; +pub const X509_MULTI_BYTE_UINT: ::windows_sys::core::PCSTR = 38i32 as _; +pub const X509_NAME: ::windows_sys::core::PCSTR = 7i32 as _; +pub const X509_NAME_CONSTRAINTS: ::windows_sys::core::PCSTR = 55i32 as _; +pub const X509_NAME_VALUE: ::windows_sys::core::PCSTR = 6i32 as _; +pub const X509_NDR_ENCODING: u32 = 2u32; +pub const X509_OBJECT_IDENTIFIER: ::windows_sys::core::PCSTR = 73i32 as _; +pub const X509_OCTET_STRING: ::windows_sys::core::PCSTR = 25i32 as _; +pub const X509_PKIX_POLICY_QUALIFIER_USERNOTICE: ::windows_sys::core::PCSTR = 46i32 as _; +pub const X509_POLICY_CONSTRAINTS: ::windows_sys::core::PCSTR = 57i32 as _; +pub const X509_POLICY_MAPPINGS: ::windows_sys::core::PCSTR = 56i32 as _; +pub const X509_PUBLIC_KEY_INFO: ::windows_sys::core::PCSTR = 8i32 as _; +pub const X509_QC_STATEMENTS_EXT: ::windows_sys::core::PCSTR = 42i32 as _; +pub const X509_SEQUENCE_OF_ANY: ::windows_sys::core::PCSTR = 34i32 as _; +pub const X509_SUBJECT_DIR_ATTRS: ::windows_sys::core::PCSTR = 84i32 as _; +pub const X509_SUBJECT_INFO_ACCESS: i32 = 32i32; +pub const X509_UNICODE_ANY_STRING: i32 = 24i32; +pub const X509_UNICODE_NAME: ::windows_sys::core::PCSTR = 20i32 as _; +pub const X509_UNICODE_NAME_VALUE: ::windows_sys::core::PCSTR = 24i32 as _; +pub const X942_DH_PARAMETERS: ::windows_sys::core::PCSTR = 50i32 as _; +pub const X942_OTHER_INFO: ::windows_sys::core::PCSTR = 52i32 as _; +pub const ZERO_PADDING: u32 = 3u32; +pub const cPRIV_KEY_CACHE_MAX_ITEMS_DEFAULT: u32 = 20u32; +pub const cPRIV_KEY_CACHE_PURGE_INTERVAL_SECONDS_DEFAULT: u32 = 86400u32; +pub const dwFORCE_KEY_PROTECTION_DISABLED: u32 = 0u32; +pub const dwFORCE_KEY_PROTECTION_HIGH: u32 = 2u32; +pub const dwFORCE_KEY_PROTECTION_USER_SELECT: u32 = 1u32; +pub const szFORCE_KEY_PROTECTION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("ForceKeyProtection"); +pub const szKEY_CACHE_ENABLED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("CachePrivateKeys"); +pub const szKEY_CACHE_SECONDS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("PrivateKeyLifetimeSeconds"); +pub const szKEY_CRYPTOAPI_PRIVATE_KEY_OPTIONS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Software\\Policies\\Microsoft\\Cryptography"); +pub const szOIDVerisign_FailInfo: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113733.1.9.4"); +pub const szOIDVerisign_MessageType: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113733.1.9.2"); +pub const szOIDVerisign_PkiStatus: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113733.1.9.3"); +pub const szOIDVerisign_RecipientNonce: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113733.1.9.6"); +pub const szOIDVerisign_SenderNonce: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113733.1.9.5"); +pub const szOIDVerisign_TransactionID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113733.1.9.7"); +pub const szOID_ANSI_X942: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10046"); +pub const szOID_ANSI_X942_DH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10046.2.1"); +pub const szOID_ANY_APPLICATION_POLICY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.12.1"); +pub const szOID_ANY_CERT_POLICY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.32.0"); +pub const szOID_ANY_ENHANCED_KEY_USAGE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.37.0"); +pub const szOID_APPLICATION_CERT_POLICIES: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.10"); +pub const szOID_APPLICATION_POLICY_CONSTRAINTS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.12"); +pub const szOID_APPLICATION_POLICY_MAPPINGS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.11"); +pub const szOID_ARCHIVED_KEY_ATTR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.13"); +pub const szOID_ARCHIVED_KEY_CERT_HASH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.16"); +pub const szOID_ATTEST_WHQL_CRYPTO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.5.1"); +pub const szOID_ATTR_PLATFORM_SPECIFICATION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.23.133.2.17"); +pub const szOID_ATTR_SUPPORTED_ALGORITHMS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.52"); +pub const szOID_ATTR_TPM_SECURITY_ASSERTIONS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.23.133.2.18"); +pub const szOID_ATTR_TPM_SPECIFICATION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.23.133.2.16"); +pub const szOID_AUTHORITY_INFO_ACCESS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.1.1"); +pub const szOID_AUTHORITY_KEY_IDENTIFIER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.1"); +pub const szOID_AUTHORITY_KEY_IDENTIFIER2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.35"); +pub const szOID_AUTHORITY_REVOCATION_LIST: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.38"); +pub const szOID_AUTO_ENROLL_CTL_USAGE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.20.1"); +pub const szOID_BACKGROUND_OTHER_LOGOTYPE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.20.2"); +pub const szOID_BASIC_CONSTRAINTS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.10"); +pub const szOID_BASIC_CONSTRAINTS2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.19"); +pub const szOID_BIOMETRIC_EXT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.1.2"); +pub const szOID_BIOMETRIC_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.41"); +pub const szOID_BUSINESS_CATEGORY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.15"); +pub const szOID_CA_CERTIFICATE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.37"); +pub const szOID_CERTIFICATE_REVOCATION_LIST: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.39"); +pub const szOID_CERTIFICATE_TEMPLATE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.7"); +pub const szOID_CERTSRV_CA_VERSION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.1"); +pub const szOID_CERTSRV_CROSSCA_VERSION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.22"); +pub const szOID_CERTSRV_PREVIOUS_CERT_HASH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.2"); +pub const szOID_CERT_DISALLOWED_CA_FILETIME_PROP_ID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.11.128"); +pub const szOID_CERT_DISALLOWED_FILETIME_PROP_ID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.11.104"); +pub const szOID_CERT_EXTENSIONS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.1.14"); +pub const szOID_CERT_ISSUER_SERIAL_NUMBER_MD5_HASH_PROP_ID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.11.28"); +pub const szOID_CERT_KEY_IDENTIFIER_PROP_ID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.11.20"); +pub const szOID_CERT_MANIFOLD: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.20.3"); +pub const szOID_CERT_MD5_HASH_PROP_ID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.11.4"); +pub const szOID_CERT_POLICIES: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.32"); +pub const szOID_CERT_POLICIES_95: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.3"); +pub const szOID_CERT_POLICIES_95_QUALIFIER1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113733.1.7.1.1"); +pub const szOID_CERT_PROP_ID_PREFIX: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.11."); +pub const szOID_CERT_SIGNATURE_HASH_PROP_ID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.11.15"); +pub const szOID_CERT_STRONG_KEY_OS_1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.72.2.1"); +pub const szOID_CERT_STRONG_KEY_OS_CURRENT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.3.6.1.4.1.311.72.2.1"); +pub const szOID_CERT_STRONG_KEY_OS_PREFIX: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.72.2."); +pub const szOID_CERT_STRONG_SIGN_OS_1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.72.1.1"); +pub const szOID_CERT_STRONG_SIGN_OS_CURRENT: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.3.6.1.4.1.311.72.1.1"); +pub const szOID_CERT_STRONG_SIGN_OS_PREFIX: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.72.1."); +pub const szOID_CERT_SUBJECT_NAME_MD5_HASH_PROP_ID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.11.29"); +pub const szOID_CMC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7"); +pub const szOID_CMC_ADD_ATTRIBUTES: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.10.1"); +pub const szOID_CMC_ADD_EXTENSIONS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.8"); +pub const szOID_CMC_DATA_RETURN: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.4"); +pub const szOID_CMC_DECRYPTED_POP: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.10"); +pub const szOID_CMC_ENCRYPTED_POP: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.9"); +pub const szOID_CMC_GET_CERT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.15"); +pub const szOID_CMC_GET_CRL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.16"); +pub const szOID_CMC_IDENTIFICATION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.2"); +pub const szOID_CMC_IDENTITY_PROOF: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.3"); +pub const szOID_CMC_ID_CONFIRM_CERT_ACCEPTANCE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.24"); +pub const szOID_CMC_ID_POP_LINK_RANDOM: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.22"); +pub const szOID_CMC_ID_POP_LINK_WITNESS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.23"); +pub const szOID_CMC_LRA_POP_WITNESS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.11"); +pub const szOID_CMC_QUERY_PENDING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.21"); +pub const szOID_CMC_RECIPIENT_NONCE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.7"); +pub const szOID_CMC_REG_INFO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.18"); +pub const szOID_CMC_RESPONSE_INFO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.19"); +pub const szOID_CMC_REVOKE_REQUEST: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.17"); +pub const szOID_CMC_SENDER_NONCE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.6"); +pub const szOID_CMC_STATUS_INFO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.1"); +pub const szOID_CMC_TRANSACTION_ID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.7.5"); +pub const szOID_CN_ECDSA_SHA256: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.156.11235.1.1.1"); +pub const szOID_COMMON_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.3"); +pub const szOID_COUNTRY_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.6"); +pub const szOID_CRL_DIST_POINTS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.31"); +pub const szOID_CRL_NEXT_PUBLISH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.4"); +pub const szOID_CRL_NUMBER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.20"); +pub const szOID_CRL_REASON_CODE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.21"); +pub const szOID_CRL_SELF_CDP: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.14"); +pub const szOID_CRL_VIRTUAL_BASE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.3"); +pub const szOID_CROSS_CERTIFICATE_PAIR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.40"); +pub const szOID_CROSS_CERT_DIST_POINTS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.9.1"); +pub const szOID_CTL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.1"); +pub const szOID_CT_CERT_SCTLIST: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.11129.2.4.2"); +pub const szOID_CT_PKI_DATA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.12.2"); +pub const szOID_CT_PKI_RESPONSE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.12.3"); +pub const szOID_DELTA_CRL_INDICATOR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.27"); +pub const szOID_DESCRIPTION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.13"); +pub const szOID_DESTINATION_INDICATOR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.27"); +pub const szOID_DEVICE_SERIAL_NUMBER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.5"); +pub const szOID_DH_SINGLE_PASS_STDDH_SHA1_KDF: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.133.16.840.63.0.2"); +pub const szOID_DH_SINGLE_PASS_STDDH_SHA256_KDF: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.132.1.11.1"); +pub const szOID_DH_SINGLE_PASS_STDDH_SHA384_KDF: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.132.1.11.2"); +pub const szOID_DISALLOWED_HASH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.3.6.1.4.1.311.10.11.15"); +pub const szOID_DISALLOWED_LIST: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.30"); +pub const szOID_DN_QUALIFIER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.46"); +pub const szOID_DOMAIN_COMPONENT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("0.9.2342.19200300.100.1.25"); +pub const szOID_DRM: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.5.1"); +pub const szOID_DRM_INDIVIDUALIZATION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.5.2"); +pub const szOID_DS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5"); +pub const szOID_DSALG: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.8"); +pub const szOID_DSALG_CRPT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.8.1"); +pub const szOID_DSALG_HASH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.8.2"); +pub const szOID_DSALG_RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.8.1.1"); +pub const szOID_DSALG_SIGN: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.8.3"); +pub const szOID_DS_EMAIL_REPLICATION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.19"); +pub const szOID_DYNAMIC_CODE_GEN_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.76.5.1"); +pub const szOID_ECC_CURVE_BRAINPOOLP160R1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.36.3.3.2.8.1.1.1"); +pub const szOID_ECC_CURVE_BRAINPOOLP160T1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.36.3.3.2.8.1.1.2"); +pub const szOID_ECC_CURVE_BRAINPOOLP192R1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.36.3.3.2.8.1.1.3"); +pub const szOID_ECC_CURVE_BRAINPOOLP192T1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.36.3.3.2.8.1.1.4"); +pub const szOID_ECC_CURVE_BRAINPOOLP224R1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.36.3.3.2.8.1.1.5"); +pub const szOID_ECC_CURVE_BRAINPOOLP224T1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.36.3.3.2.8.1.1.6"); +pub const szOID_ECC_CURVE_BRAINPOOLP256R1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.36.3.3.2.8.1.1.7"); +pub const szOID_ECC_CURVE_BRAINPOOLP256T1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.36.3.3.2.8.1.1.8"); +pub const szOID_ECC_CURVE_BRAINPOOLP320R1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.36.3.3.2.8.1.1.9"); +pub const szOID_ECC_CURVE_BRAINPOOLP320T1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.36.3.3.2.8.1.1.10"); +pub const szOID_ECC_CURVE_BRAINPOOLP384R1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.36.3.3.2.8.1.1.11"); +pub const szOID_ECC_CURVE_BRAINPOOLP384T1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.36.3.3.2.8.1.1.12"); +pub const szOID_ECC_CURVE_BRAINPOOLP512R1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.36.3.3.2.8.1.1.13"); +pub const szOID_ECC_CURVE_BRAINPOOLP512T1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.36.3.3.2.8.1.1.14"); +pub const szOID_ECC_CURVE_EC192WAPI: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.156.11235.1.1.2.1"); +pub const szOID_ECC_CURVE_NISTP192: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10045.3.1.1"); +pub const szOID_ECC_CURVE_NISTP224: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.132.0.33"); +pub const szOID_ECC_CURVE_NISTP256: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.10045.3.1.7"); +pub const szOID_ECC_CURVE_NISTP384: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.3.132.0.34"); +pub const szOID_ECC_CURVE_NISTP521: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.3.132.0.35"); +pub const szOID_ECC_CURVE_P256: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10045.3.1.7"); +pub const szOID_ECC_CURVE_P384: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.132.0.34"); +pub const szOID_ECC_CURVE_P521: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.132.0.35"); +pub const szOID_ECC_CURVE_SECP160K1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.132.0.9"); +pub const szOID_ECC_CURVE_SECP160R1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.132.0.8"); +pub const szOID_ECC_CURVE_SECP160R2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.132.0.30"); +pub const szOID_ECC_CURVE_SECP192K1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.132.0.31"); +pub const szOID_ECC_CURVE_SECP192R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.10045.3.1.1"); +pub const szOID_ECC_CURVE_SECP224K1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.132.0.32"); +pub const szOID_ECC_CURVE_SECP224R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.3.132.0.33"); +pub const szOID_ECC_CURVE_SECP256K1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.132.0.10"); +pub const szOID_ECC_CURVE_SECP256R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.10045.3.1.7"); +pub const szOID_ECC_CURVE_SECP384R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.3.132.0.34"); +pub const szOID_ECC_CURVE_SECP521R1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.3.132.0.35"); +pub const szOID_ECC_CURVE_WTLS12: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.3.132.0.33"); +pub const szOID_ECC_CURVE_WTLS7: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.3.132.0.30"); +pub const szOID_ECC_CURVE_WTLS9: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.23.43.1.4.9"); +pub const szOID_ECC_CURVE_X962P192V1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10045.3.1.1"); +pub const szOID_ECC_CURVE_X962P192V2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10045.3.1.2"); +pub const szOID_ECC_CURVE_X962P192V3: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10045.3.1.3"); +pub const szOID_ECC_CURVE_X962P239V1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10045.3.1.4"); +pub const szOID_ECC_CURVE_X962P239V2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10045.3.1.5"); +pub const szOID_ECC_CURVE_X962P239V3: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10045.3.1.6"); +pub const szOID_ECC_CURVE_X962P256V1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("1.2.840.10045.3.1.7"); +pub const szOID_ECC_PUBLIC_KEY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10045.2.1"); +pub const szOID_ECDSA_SHA1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10045.4.1"); +pub const szOID_ECDSA_SHA256: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10045.4.3.2"); +pub const szOID_ECDSA_SHA384: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10045.4.3.3"); +pub const szOID_ECDSA_SHA512: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10045.4.3.4"); +pub const szOID_ECDSA_SPECIFIED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10045.4.3"); +pub const szOID_EFS_RECOVERY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.4.1"); +pub const szOID_EMBEDDED_NT_CRYPTO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.8"); +pub const szOID_ENCLAVE_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.42"); +pub const szOID_ENCRYPTED_KEY_HASH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.21"); +pub const szOID_ENHANCED_KEY_USAGE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.37"); +pub const szOID_ENROLLMENT_AGENT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.20.2.1"); +pub const szOID_ENROLLMENT_CSP_PROVIDER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.13.2.2"); +pub const szOID_ENROLLMENT_NAME_VALUE_PAIR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.13.2.1"); +pub const szOID_ENROLL_AIK_INFO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.39"); +pub const szOID_ENROLL_ATTESTATION_CHALLENGE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.28"); +pub const szOID_ENROLL_ATTESTATION_STATEMENT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.24"); +pub const szOID_ENROLL_CAXCHGCERT_HASH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.27"); +pub const szOID_ENROLL_CERTTYPE_EXTENSION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.20.2"); +pub const szOID_ENROLL_EKPUB_CHALLENGE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.26"); +pub const szOID_ENROLL_EKVERIFYCERT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.31"); +pub const szOID_ENROLL_EKVERIFYCREDS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.32"); +pub const szOID_ENROLL_EKVERIFYKEY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.30"); +pub const szOID_ENROLL_EK_CA_KEYID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.43"); +pub const szOID_ENROLL_EK_INFO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.23"); +pub const szOID_ENROLL_ENCRYPTION_ALGORITHM: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.29"); +pub const szOID_ENROLL_KEY_AFFINITY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.41"); +pub const szOID_ENROLL_KSP_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.25"); +pub const szOID_ENROLL_SCEP_CHALLENGE_ANSWER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.35"); +pub const szOID_ENROLL_SCEP_CLIENT_REQUEST: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.37"); +pub const szOID_ENROLL_SCEP_ERROR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.33"); +pub const szOID_ENROLL_SCEP_SERVER_MESSAGE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.38"); +pub const szOID_ENROLL_SCEP_SERVER_SECRET: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.40"); +pub const szOID_ENROLL_SCEP_SERVER_STATE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.34"); +pub const szOID_ENROLL_SCEP_SIGNER_HASH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.42"); +pub const szOID_ENTERPRISE_OID_ROOT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.8"); +pub const szOID_EV_RDN_COUNTRY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.60.2.1.3"); +pub const szOID_EV_RDN_LOCALE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.60.2.1.1"); +pub const szOID_EV_RDN_STATE_OR_PROVINCE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.60.2.1.2"); +pub const szOID_EV_WHQL_CRYPTO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.39"); +pub const szOID_FACSIMILE_TELEPHONE_NUMBER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.23"); +pub const szOID_FRESHEST_CRL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.46"); +pub const szOID_GIVEN_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.42"); +pub const szOID_HPKP_DOMAIN_NAME_CTL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.60"); +pub const szOID_HPKP_HEADER_VALUE_CTL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.61"); +pub const szOID_INFOSEC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1"); +pub const szOID_INFOSEC_SuiteAConfidentiality: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.14"); +pub const szOID_INFOSEC_SuiteAIntegrity: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.15"); +pub const szOID_INFOSEC_SuiteAKMandSig: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.18"); +pub const szOID_INFOSEC_SuiteAKeyManagement: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.17"); +pub const szOID_INFOSEC_SuiteASignature: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.13"); +pub const szOID_INFOSEC_SuiteATokenProtection: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.16"); +pub const szOID_INFOSEC_mosaicConfidentiality: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.4"); +pub const szOID_INFOSEC_mosaicIntegrity: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.6"); +pub const szOID_INFOSEC_mosaicKMandSig: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.12"); +pub const szOID_INFOSEC_mosaicKMandUpdSig: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.20"); +pub const szOID_INFOSEC_mosaicKeyManagement: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.10"); +pub const szOID_INFOSEC_mosaicSignature: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.2"); +pub const szOID_INFOSEC_mosaicTokenProtection: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.8"); +pub const szOID_INFOSEC_mosaicUpdatedInteg: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.21"); +pub const szOID_INFOSEC_mosaicUpdatedSig: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.19"); +pub const szOID_INFOSEC_sdnsConfidentiality: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.3"); +pub const szOID_INFOSEC_sdnsIntegrity: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.5"); +pub const szOID_INFOSEC_sdnsKMandSig: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.11"); +pub const szOID_INFOSEC_sdnsKeyManagement: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.9"); +pub const szOID_INFOSEC_sdnsSignature: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.1"); +pub const szOID_INFOSEC_sdnsTokenProtection: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.2.1.1.7"); +pub const szOID_INHIBIT_ANY_POLICY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.54"); +pub const szOID_INITIALS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.43"); +pub const szOID_INTERNATIONALIZED_EMAIL_ADDRESS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.20.2.4"); +pub const szOID_INTERNATIONAL_ISDN_NUMBER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.25"); +pub const szOID_IPSEC_KP_IKE_INTERMEDIATE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.8.2.2"); +pub const szOID_ISSUED_CERT_HASH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.17"); +pub const szOID_ISSUER_ALT_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.8"); +pub const szOID_ISSUER_ALT_NAME2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.18"); +pub const szOID_ISSUING_DIST_POINT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.28"); +pub const szOID_IUM_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.37"); +pub const szOID_KEYID_RDN: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.7.1"); +pub const szOID_KEY_ATTRIBUTES: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.2"); +pub const szOID_KEY_USAGE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.15"); +pub const szOID_KEY_USAGE_RESTRICTION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.4"); +pub const szOID_KP_CA_EXCHANGE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.5"); +pub const szOID_KP_CSP_SIGNATURE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.16"); +pub const szOID_KP_CTL_USAGE_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.1"); +pub const szOID_KP_DOCUMENT_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.12"); +pub const szOID_KP_EFS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.4"); +pub const szOID_KP_FLIGHT_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.27"); +pub const szOID_KP_KERNEL_MODE_CODE_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.61.1.1"); +pub const szOID_KP_KERNEL_MODE_HAL_EXTENSION_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.61.5.1"); +pub const szOID_KP_KERNEL_MODE_TRUSTED_BOOT_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.61.4.1"); +pub const szOID_KP_KEY_RECOVERY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.11"); +pub const szOID_KP_KEY_RECOVERY_AGENT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.6"); +pub const szOID_KP_LIFETIME_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.13"); +pub const szOID_KP_MOBILE_DEVICE_SOFTWARE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.14"); +pub const szOID_KP_PRIVACY_CA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.36"); +pub const szOID_KP_QUALIFIED_SUBORDINATION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.10"); +pub const szOID_KP_SMARTCARD_LOGON: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.20.2.2"); +pub const szOID_KP_SMART_DISPLAY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.15"); +pub const szOID_KP_TIME_STAMP_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.2"); +pub const szOID_KP_TPM_AIK_CERTIFICATE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.23.133.8.3"); +pub const szOID_KP_TPM_EK_CERTIFICATE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.23.133.8.1"); +pub const szOID_KP_TPM_PLATFORM_CERTIFICATE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.23.133.8.2"); +pub const szOID_LEGACY_POLICY_MAPPINGS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.5"); +pub const szOID_LICENSES: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.6.1"); +pub const szOID_LICENSE_SERVER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.6.2"); +pub const szOID_LOCALITY_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.7"); +pub const szOID_LOCAL_MACHINE_KEYSET: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.17.2"); +pub const szOID_LOGOTYPE_EXT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.1.12"); +pub const szOID_LOYALTY_OTHER_LOGOTYPE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.20.1"); +pub const szOID_MEMBER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.31"); +pub const szOID_MICROSOFT_PUBLISHER_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.76.8.1"); +pub const szOID_NAME_CONSTRAINTS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.30"); +pub const szOID_NETSCAPE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113730"); +pub const szOID_NETSCAPE_BASE_URL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113730.1.2"); +pub const szOID_NETSCAPE_CA_POLICY_URL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113730.1.8"); +pub const szOID_NETSCAPE_CA_REVOCATION_URL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113730.1.4"); +pub const szOID_NETSCAPE_CERT_EXTENSION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113730.1"); +pub const szOID_NETSCAPE_CERT_RENEWAL_URL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113730.1.7"); +pub const szOID_NETSCAPE_CERT_SEQUENCE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113730.2.5"); +pub const szOID_NETSCAPE_CERT_TYPE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113730.1.1"); +pub const szOID_NETSCAPE_COMMENT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113730.1.13"); +pub const szOID_NETSCAPE_DATA_TYPE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113730.2"); +pub const szOID_NETSCAPE_REVOCATION_URL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113730.1.3"); +pub const szOID_NETSCAPE_SSL_SERVER_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113730.1.12"); +pub const szOID_NEXT_UPDATE_LOCATION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.2"); +pub const szOID_NIST_AES128_CBC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.3.4.1.2"); +pub const szOID_NIST_AES128_WRAP: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.3.4.1.5"); +pub const szOID_NIST_AES192_CBC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.3.4.1.22"); +pub const szOID_NIST_AES192_WRAP: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.3.4.1.25"); +pub const szOID_NIST_AES256_CBC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.3.4.1.42"); +pub const szOID_NIST_AES256_WRAP: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.3.4.1.45"); +pub const szOID_NIST_sha256: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.3.4.2.1"); +pub const szOID_NIST_sha384: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.3.4.2.2"); +pub const szOID_NIST_sha512: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.101.3.4.2.3"); +pub const szOID_NT5_CRYPTO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.6"); +pub const szOID_NTDS_CA_SECURITY_EXT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.25.2"); +pub const szOID_NTDS_OBJECTSID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.25.2.1"); +pub const szOID_NTDS_REPLICATION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.25.1"); +pub const szOID_NT_PRINCIPAL_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.20.2.3"); +pub const szOID_OEM_WHQL_CRYPTO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.7"); +pub const szOID_OIW: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14"); +pub const szOID_OIWDIR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.7.2"); +pub const szOID_OIWDIR_CRPT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.7.2.1"); +pub const szOID_OIWDIR_HASH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.7.2.2"); +pub const szOID_OIWDIR_SIGN: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.7.2.3"); +pub const szOID_OIWDIR_md2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.7.2.2.1"); +pub const szOID_OIWDIR_md2RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.7.2.3.1"); +pub const szOID_OIWSEC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2"); +pub const szOID_OIWSEC_desCBC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.7"); +pub const szOID_OIWSEC_desCFB: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.9"); +pub const szOID_OIWSEC_desECB: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.6"); +pub const szOID_OIWSEC_desEDE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.17"); +pub const szOID_OIWSEC_desMAC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.10"); +pub const szOID_OIWSEC_desOFB: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.8"); +pub const szOID_OIWSEC_dhCommMod: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.16"); +pub const szOID_OIWSEC_dsa: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.12"); +pub const szOID_OIWSEC_dsaComm: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.20"); +pub const szOID_OIWSEC_dsaCommSHA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.21"); +pub const szOID_OIWSEC_dsaCommSHA1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.28"); +pub const szOID_OIWSEC_dsaSHA1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.27"); +pub const szOID_OIWSEC_keyHashSeal: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.23"); +pub const szOID_OIWSEC_md2RSASign: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.24"); +pub const szOID_OIWSEC_md4RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.2"); +pub const szOID_OIWSEC_md4RSA2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.4"); +pub const szOID_OIWSEC_md5RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.3"); +pub const szOID_OIWSEC_md5RSASign: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.25"); +pub const szOID_OIWSEC_mdc2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.19"); +pub const szOID_OIWSEC_mdc2RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.14"); +pub const szOID_OIWSEC_rsaSign: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.11"); +pub const szOID_OIWSEC_rsaXchg: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.22"); +pub const szOID_OIWSEC_sha: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.18"); +pub const szOID_OIWSEC_sha1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.26"); +pub const szOID_OIWSEC_sha1RSASign: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.29"); +pub const szOID_OIWSEC_shaDSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.13"); +pub const szOID_OIWSEC_shaRSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.14.3.2.15"); +pub const szOID_ORGANIZATIONAL_UNIT_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.11"); +pub const szOID_ORGANIZATION_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.10"); +pub const szOID_OS_VERSION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.13.2.3"); +pub const szOID_OWNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.32"); +pub const szOID_PHYSICAL_DELIVERY_OFFICE_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.19"); +pub const szOID_PIN_RULES_CTL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.32"); +pub const szOID_PIN_RULES_DOMAIN_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.34"); +pub const szOID_PIN_RULES_EXT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.33"); +pub const szOID_PIN_RULES_LOG_END_DATE_EXT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.35"); +pub const szOID_PIN_RULES_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.31"); +pub const szOID_PKCS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1"); +pub const szOID_PKCS_1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.1"); +pub const szOID_PKCS_10: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.10"); +pub const szOID_PKCS_12: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.12"); +pub const szOID_PKCS_12_EXTENDED_ATTRIBUTES: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.17.3"); +pub const szOID_PKCS_12_FRIENDLY_NAME_ATTR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.20"); +pub const szOID_PKCS_12_KEY_PROVIDER_NAME_ATTR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.17.1"); +pub const szOID_PKCS_12_LOCAL_KEY_ID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.21"); +pub const szOID_PKCS_12_PROTECTED_PASSWORD_SECRET_BAG_TYPE_ID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.17.4"); +pub const szOID_PKCS_12_PbeIds: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.12.1"); +pub const szOID_PKCS_12_pbeWithSHA1And128BitRC2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.12.1.5"); +pub const szOID_PKCS_12_pbeWithSHA1And128BitRC4: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.12.1.1"); +pub const szOID_PKCS_12_pbeWithSHA1And2KeyTripleDES: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.12.1.4"); +pub const szOID_PKCS_12_pbeWithSHA1And3KeyTripleDES: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.12.1.3"); +pub const szOID_PKCS_12_pbeWithSHA1And40BitRC2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.12.1.6"); +pub const szOID_PKCS_12_pbeWithSHA1And40BitRC4: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.12.1.2"); +pub const szOID_PKCS_2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.2"); +pub const szOID_PKCS_3: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.3"); +pub const szOID_PKCS_4: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.4"); +pub const szOID_PKCS_5: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.5"); +pub const szOID_PKCS_5_PBES2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.5.13"); +pub const szOID_PKCS_5_PBKDF2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.5.12"); +pub const szOID_PKCS_6: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.6"); +pub const szOID_PKCS_7: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.7"); +pub const szOID_PKCS_7_DATA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.7.1"); +pub const szOID_PKCS_7_DIGESTED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.7.5"); +pub const szOID_PKCS_7_ENCRYPTED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.7.6"); +pub const szOID_PKCS_7_ENVELOPED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.7.3"); +pub const szOID_PKCS_7_SIGNED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.7.2"); +pub const szOID_PKCS_7_SIGNEDANDENVELOPED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.7.4"); +pub const szOID_PKCS_8: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.8"); +pub const szOID_PKCS_9: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9"); +pub const szOID_PKCS_9_CONTENT_TYPE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.3"); +pub const szOID_PKCS_9_MESSAGE_DIGEST: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.4"); +pub const szOID_PKINIT_KP_KDC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.2.3.5"); +pub const szOID_PKIX: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7"); +pub const szOID_PKIX_ACC_DESCR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.48"); +pub const szOID_PKIX_CA_ISSUERS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.48.2"); +pub const szOID_PKIX_CA_REPOSITORY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.48.5"); +pub const szOID_PKIX_KP: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.3"); +pub const szOID_PKIX_KP_CLIENT_AUTH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.3.2"); +pub const szOID_PKIX_KP_CODE_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.3.3"); +pub const szOID_PKIX_KP_EMAIL_PROTECTION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.3.4"); +pub const szOID_PKIX_KP_IPSEC_END_SYSTEM: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.3.5"); +pub const szOID_PKIX_KP_IPSEC_TUNNEL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.3.6"); +pub const szOID_PKIX_KP_IPSEC_USER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.3.7"); +pub const szOID_PKIX_KP_OCSP_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.3.9"); +pub const szOID_PKIX_KP_SERVER_AUTH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.3.1"); +pub const szOID_PKIX_KP_TIMESTAMP_SIGNING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.3.8"); +pub const szOID_PKIX_NO_SIGNATURE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.6.2"); +pub const szOID_PKIX_OCSP: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.48.1"); +pub const szOID_PKIX_OCSP_BASIC_SIGNED_RESPONSE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.48.1.1"); +pub const szOID_PKIX_OCSP_NOCHECK: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.48.1.5"); +pub const szOID_PKIX_OCSP_NONCE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.48.1.2"); +pub const szOID_PKIX_PE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.1"); +pub const szOID_PKIX_POLICY_QUALIFIER_CPS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.2.1"); +pub const szOID_PKIX_POLICY_QUALIFIER_USERNOTICE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.2.2"); +pub const szOID_PKIX_TIME_STAMPING: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.48.3"); +pub const szOID_PLATFORM_MANIFEST_BINARY_ID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.28"); +pub const szOID_POLICY_CONSTRAINTS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.36"); +pub const szOID_POLICY_MAPPINGS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.33"); +pub const szOID_POSTAL_ADDRESS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.16"); +pub const szOID_POSTAL_CODE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.17"); +pub const szOID_POST_OFFICE_BOX: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.18"); +pub const szOID_PREFERRED_DELIVERY_METHOD: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.28"); +pub const szOID_PRESENTATION_ADDRESS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.29"); +pub const szOID_PRIVATEKEY_USAGE_PERIOD: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.16"); +pub const szOID_PRODUCT_UPDATE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.31.1"); +pub const szOID_PROTECTED_PROCESS_LIGHT_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.22"); +pub const szOID_PROTECTED_PROCESS_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.24"); +pub const szOID_QC_EU_COMPLIANCE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("0.4.0.1862.1.1"); +pub const szOID_QC_SSCD: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("0.4.0.1862.1.4"); +pub const szOID_QC_STATEMENTS_EXT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.1.3"); +pub const szOID_RDN_DUMMY_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.9"); +pub const szOID_RDN_TCG_PLATFORM_MANUFACTURER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.23.133.2.4"); +pub const szOID_RDN_TCG_PLATFORM_MODEL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.23.133.2.5"); +pub const szOID_RDN_TCG_PLATFORM_VERSION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.23.133.2.6"); +pub const szOID_RDN_TPM_MANUFACTURER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.23.133.2.1"); +pub const szOID_RDN_TPM_MODEL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.23.133.2.2"); +pub const szOID_RDN_TPM_VERSION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.23.133.2.3"); +pub const szOID_REASON_CODE_HOLD: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.23"); +pub const szOID_REGISTERED_ADDRESS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.26"); +pub const szOID_REMOVE_CERTIFICATE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.8.1"); +pub const szOID_RENEWAL_CERTIFICATE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.13.1"); +pub const szOID_REQUEST_CLIENT_INFO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.20"); +pub const szOID_REQUIRE_CERT_CHAIN_POLICY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.21.15"); +pub const szOID_REVOKED_LIST_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.19"); +pub const szOID_RFC3161_counterSign: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.3.3.1"); +pub const szOID_RFC3161v21_counterSign: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.3.3.2"); +pub const szOID_RFC3161v21_thumbprints: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.3.3.3"); +pub const szOID_ROLE_OCCUPANT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.33"); +pub const szOID_ROOT_LIST_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.9"); +pub const szOID_ROOT_PROGRAM_AUTO_UPDATE_CA_REVOCATION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.60.3.1"); +pub const szOID_ROOT_PROGRAM_AUTO_UPDATE_END_REVOCATION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.60.3.2"); +pub const szOID_ROOT_PROGRAM_FLAGS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.60.1.1"); +pub const szOID_ROOT_PROGRAM_NO_OCSP_FAILOVER_TO_CRL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.60.3.3"); +pub const szOID_RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549"); +pub const szOID_RSAES_OAEP: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.1.7"); +pub const szOID_RSA_DES_EDE3_CBC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.3.7"); +pub const szOID_RSA_DH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.3.1"); +pub const szOID_RSA_ENCRYPT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.3"); +pub const szOID_RSA_HASH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.2"); +pub const szOID_RSA_MD2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.2.2"); +pub const szOID_RSA_MD2RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.1.2"); +pub const szOID_RSA_MD4: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.2.4"); +pub const szOID_RSA_MD4RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.1.3"); +pub const szOID_RSA_MD5: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.2.5"); +pub const szOID_RSA_MD5RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.1.4"); +pub const szOID_RSA_MGF1: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.1.8"); +pub const szOID_RSA_PSPECIFIED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.1.9"); +pub const szOID_RSA_RC2CBC: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.3.2"); +pub const szOID_RSA_RC4: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.3.4"); +pub const szOID_RSA_RC5_CBCPad: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.3.9"); +pub const szOID_RSA_RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.1.1"); +pub const szOID_RSA_SETOAEP_RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.1.6"); +pub const szOID_RSA_SHA1RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.1.5"); +pub const szOID_RSA_SHA256RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.1.11"); +pub const szOID_RSA_SHA384RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.1.12"); +pub const szOID_RSA_SHA512RSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.1.13"); +pub const szOID_RSA_SMIMECapabilities: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.15"); +pub const szOID_RSA_SMIMEalg: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.16.3"); +pub const szOID_RSA_SMIMEalgCMS3DESwrap: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.16.3.6"); +pub const szOID_RSA_SMIMEalgCMSRC2wrap: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.16.3.7"); +pub const szOID_RSA_SMIMEalgESDH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.16.3.5"); +pub const szOID_RSA_SSA_PSS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.1.10"); +pub const szOID_RSA_certExtensions: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.14"); +pub const szOID_RSA_challengePwd: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.7"); +pub const szOID_RSA_contentType: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.3"); +pub const szOID_RSA_counterSign: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.6"); +pub const szOID_RSA_data: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.7.1"); +pub const szOID_RSA_digestedData: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.7.5"); +pub const szOID_RSA_emailAddr: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.1"); +pub const szOID_RSA_encryptedData: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.7.6"); +pub const szOID_RSA_envelopedData: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.7.3"); +pub const szOID_RSA_extCertAttrs: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.9"); +pub const szOID_RSA_hashedData: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.7.5"); +pub const szOID_RSA_messageDigest: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.4"); +pub const szOID_RSA_preferSignedData: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.15.1"); +pub const szOID_RSA_signEnvData: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.7.4"); +pub const szOID_RSA_signedData: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.7.2"); +pub const szOID_RSA_signingTime: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.5"); +pub const szOID_RSA_unstructAddr: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.8"); +pub const szOID_RSA_unstructName: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.2"); +pub const szOID_SEARCH_GUIDE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.14"); +pub const szOID_SEE_ALSO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.34"); +pub const szOID_SERIALIZED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.3.1"); +pub const szOID_SERVER_GATED_CRYPTO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.3"); +pub const szOID_SGC_NETSCAPE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113730.4.1"); +pub const szOID_SITE_PIN_RULES_FLAGS_ATTR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.4.3"); +pub const szOID_SITE_PIN_RULES_INDEX_ATTR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.4.2"); +pub const szOID_SORTED_CTL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.1.1"); +pub const szOID_STATE_OR_PROVINCE_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.8"); +pub const szOID_STREET_ADDRESS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.9"); +pub const szOID_SUBJECT_ALT_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.7"); +pub const szOID_SUBJECT_ALT_NAME2: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.17"); +pub const szOID_SUBJECT_DIR_ATTRS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.9"); +pub const szOID_SUBJECT_INFO_ACCESS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.1.11"); +pub const szOID_SUBJECT_KEY_IDENTIFIER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.29.14"); +pub const szOID_SUPPORTED_APPLICATION_CONTEXT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.30"); +pub const szOID_SUR_NAME: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.4"); +pub const szOID_SYNC_ROOT_CTL_EXT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.50"); +pub const szOID_TELEPHONE_NUMBER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.20"); +pub const szOID_TELETEXT_TERMINAL_IDENTIFIER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.22"); +pub const szOID_TELEX_NUMBER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.21"); +pub const szOID_TIMESTAMP_TOKEN: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.16.1.4"); +pub const szOID_TITLE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.12"); +pub const szOID_TLS_FEATURES_EXT: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.5.5.7.1.24"); +pub const szOID_USER_CERTIFICATE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.36"); +pub const szOID_USER_PASSWORD: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.35"); +pub const szOID_VERISIGN_BITSTRING_6_13: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113733.1.6.13"); +pub const szOID_VERISIGN_ISS_STRONG_CRYPTO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113733.1.8.1"); +pub const szOID_VERISIGN_ONSITE_JURISDICTION_HASH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113733.1.6.11"); +pub const szOID_VERISIGN_PRIVATE_6_9: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.16.840.1.113733.1.6.9"); +pub const szOID_WHQL_CRYPTO: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.5"); +pub const szOID_WINDOWS_KITS_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.20"); +pub const szOID_WINDOWS_RT_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.21"); +pub const szOID_WINDOWS_SOFTWARE_EXTENSION_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.26"); +pub const szOID_WINDOWS_STORE_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.76.3.1"); +pub const szOID_WINDOWS_TCB_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.23"); +pub const szOID_WINDOWS_THIRD_PARTY_COMPONENT_SIGNER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.3.25"); +pub const szOID_X21_ADDRESS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("2.5.4.24"); +pub const szOID_X957: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10040"); +pub const szOID_X957_DSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10040.4.1"); +pub const szOID_X957_SHA1DSA: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.10040.4.3"); +pub const szOID_YESNO_TRUST_ATTR: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.4.1"); +pub const szPRIV_KEY_CACHE_MAX_ITEMS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("PrivKeyCacheMaxItems"); +pub const szPRIV_KEY_CACHE_PURGE_INTERVAL_SECONDS: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("PrivKeyCachePurgeIntervalSeconds"); +pub const sz_CERT_STORE_PROV_COLLECTION: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Collection"); +pub const sz_CERT_STORE_PROV_FILENAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("File"); +pub const sz_CERT_STORE_PROV_FILENAME_W: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("File"); +pub const sz_CERT_STORE_PROV_LDAP: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Ldap"); +pub const sz_CERT_STORE_PROV_LDAP_W: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Ldap"); +pub const sz_CERT_STORE_PROV_MEMORY: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Memory"); +pub const sz_CERT_STORE_PROV_PHYSICAL: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Physical"); +pub const sz_CERT_STORE_PROV_PHYSICAL_W: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Physical"); +pub const sz_CERT_STORE_PROV_PKCS12: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("PKCS12"); +pub const sz_CERT_STORE_PROV_PKCS7: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("PKCS7"); +pub const sz_CERT_STORE_PROV_SERIALIZED: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("Serialized"); +pub const sz_CERT_STORE_PROV_SMART_CARD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SmartCard"); +pub const sz_CERT_STORE_PROV_SMART_CARD_W: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("SmartCard"); +pub const sz_CERT_STORE_PROV_SYSTEM: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("System"); +pub const sz_CERT_STORE_PROV_SYSTEM_REGISTRY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SystemRegistry"); +pub const sz_CERT_STORE_PROV_SYSTEM_REGISTRY_W: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("SystemRegistry"); +pub const sz_CERT_STORE_PROV_SYSTEM_W: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("System"); +pub const wszURI_CANONICALIZATION_C14N: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/TR/2001/REC-xml-c14n-20010315"); +pub const wszURI_CANONICALIZATION_C14NC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments"); +pub const wszURI_CANONICALIZATION_EXSLUSIVE_C14N: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/10/xml-exc-c14n#"); +pub const wszURI_CANONICALIZATION_EXSLUSIVE_C14NC: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/10/xml-exc-c14n#WithComments"); +pub const wszURI_TRANSFORM_XPATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/TR/1999/REC-xpath-19991116"); +pub const wszURI_XMLNS_DIGSIG_BASE64: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2000/09/xmldsig#base64"); +pub const wszURI_XMLNS_DIGSIG_DSA_SHA1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2000/09/xmldsig#dsa-sha1"); +pub const wszURI_XMLNS_DIGSIG_ECDSA_SHA1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha1"); +pub const wszURI_XMLNS_DIGSIG_ECDSA_SHA256: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha256"); +pub const wszURI_XMLNS_DIGSIG_ECDSA_SHA384: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha384"); +pub const wszURI_XMLNS_DIGSIG_ECDSA_SHA512: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha512"); +pub const wszURI_XMLNS_DIGSIG_HMAC_SHA1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2000/09/xmldsig#hmac-sha1"); +pub const wszURI_XMLNS_DIGSIG_HMAC_SHA256: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/04/xmldsig-more#hmac-sha256"); +pub const wszURI_XMLNS_DIGSIG_HMAC_SHA384: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/04/xmldsig-more#hmac-sha384"); +pub const wszURI_XMLNS_DIGSIG_HMAC_SHA512: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/04/xmldsig-more#hmac-sha512"); +pub const wszURI_XMLNS_DIGSIG_RSA_SHA1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2000/09/xmldsig#rsa-sha1"); +pub const wszURI_XMLNS_DIGSIG_RSA_SHA256: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"); +pub const wszURI_XMLNS_DIGSIG_RSA_SHA384: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/04/xmldsig-more#rsa-sha384"); +pub const wszURI_XMLNS_DIGSIG_RSA_SHA512: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/04/xmldsig-more#rsa-sha512"); +pub const wszURI_XMLNS_DIGSIG_SHA1: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2000/09/xmldsig#sha1"); +pub const wszURI_XMLNS_DIGSIG_SHA256: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/04/xmlenc#sha256"); +pub const wszURI_XMLNS_DIGSIG_SHA384: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/04/xmldsig-more#sha384"); +pub const wszURI_XMLNS_DIGSIG_SHA512: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2001/04/xmlenc#sha512"); +pub const wszURI_XMLNS_TRANSFORM_BASE64: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2000/09/xmldsig#base64"); +pub const wszURI_XMLNS_TRANSFORM_ENVELOPED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2000/09/xmldsig#enveloped-signature"); +pub const wszXMLNS_DIGSIG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2000/09/xmldsig#"); +pub const wszXMLNS_DIGSIG_Id: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Id"); +pub const wszXMLNS_DIGSIG_SignatureProperties: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("http://www.w3.org/2000/09/xmldsig#SignatureProperties"); +pub type ALG_ID = u32; +pub type BCRYPTGENRANDOM_FLAGS = u32; +pub type BCRYPT_DH_KEY_BLOB_MAGIC = u32; +pub type BCRYPT_DSA_MAGIC = u32; +pub type BCRYPT_FLAGS = u32; +pub type BCRYPT_HASH_OPERATION_TYPE = i32; +pub type BCRYPT_INTERFACE = u32; +pub type BCRYPT_MULTI_OPERATION_TYPE = i32; +pub type BCRYPT_OPEN_ALGORITHM_PROVIDER_FLAGS = u32; +pub type BCRYPT_OPERATION = u32; +pub type BCRYPT_QUERY_PROVIDER_MODE = u32; +pub type BCRYPT_RESOLVE_PROVIDERS_FLAGS = u32; +pub type BCRYPT_RSAKEY_BLOB_MAGIC = u32; +pub type BCRYPT_TABLE = u32; +pub type CASetupProperty = i32; +pub type CEPSetupProperty = i32; +pub type CERT_BIOMETRIC_DATA_TYPE = u32; +pub type CERT_CHAIN_POLICY_FLAGS = u32; +pub type CERT_CONTROL_STORE_FLAGS = u32; +pub type CERT_CREATE_SELFSIGN_FLAGS = u32; +pub type CERT_FIND_CHAIN_IN_STORE_FLAGS = u32; +pub type CERT_FIND_FLAGS = u32; +pub type CERT_FIND_TYPE = u32; +pub type CERT_ID_OPTION = u32; +pub type CERT_KEY_SPEC = u32; +pub type CERT_LOGOTYPE_CHOICE = u32; +pub type CERT_LOGOTYPE_IMAGE_INFO_TYPE = u32; +pub type CERT_LOGOTYPE_OPTION = u32; +pub type CERT_OPEN_STORE_FLAGS = u32; +pub type CERT_QUERY_CONTENT_TYPE = u32; +pub type CERT_QUERY_CONTENT_TYPE_FLAGS = u32; +pub type CERT_QUERY_ENCODING_TYPE = u32; +pub type CERT_QUERY_FORMAT_TYPE = u32; +pub type CERT_QUERY_FORMAT_TYPE_FLAGS = u32; +pub type CERT_QUERY_OBJECT_TYPE = u32; +pub type CERT_RDN_ATTR_VALUE_TYPE = i32; +pub type CERT_REVOCATION_STATUS_REASON = u32; +pub type CERT_ROOT_PROGRAM_FLAGS = u32; +pub type CERT_SELECT_CRITERIA_TYPE = u32; +pub type CERT_STORE_PROV_FLAGS = u32; +pub type CERT_STORE_SAVE_AS = u32; +pub type CERT_STORE_SAVE_TO = u32; +pub type CERT_STRING_TYPE = u32; +pub type CERT_STRONG_SIGN_FLAGS = u32; +pub type CERT_SYSTEM_STORE_FLAGS = u32; +pub type CESSetupProperty = i32; +pub type CMSG_KEY_AGREE_OPTION = u32; +pub type CMSG_KEY_AGREE_ORIGINATOR = u32; +pub type CRYPT_ACQUIRE_FLAGS = u32; +pub type CRYPT_CONTEXT_CONFIG_FLAGS = u32; +pub type CRYPT_DEFAULT_CONTEXT_FLAGS = u32; +pub type CRYPT_DEFAULT_CONTEXT_TYPE = u32; +pub type CRYPT_ENCODE_OBJECT_FLAGS = u32; +pub type CRYPT_FIND_FLAGS = u32; +pub type CRYPT_GET_URL_FLAGS = u32; +pub type CRYPT_IMAGE_REF_FLAGS = u32; +pub type CRYPT_IMPORT_PUBLIC_KEY_FLAGS = u32; +pub type CRYPT_KEY_FLAGS = u32; +pub type CRYPT_KEY_PARAM_ID = u32; +pub type CRYPT_MSG_TYPE = u32; +pub type CRYPT_OBJECT_LOCATOR_RELEASE_REASON = u32; +pub type CRYPT_SET_HASH_PARAM = u32; +pub type CRYPT_SET_PROV_PARAM_ID = u32; +pub type CRYPT_STRING = u32; +pub type CRYPT_TIMESTAMP_RESPONSE_STATUS = u32; +pub type CRYPT_TIMESTAMP_VERSION = u32; +pub type CRYPT_VERIFY_CERT_FLAGS = u32; +pub type CRYPT_XML_CHARSET = i32; +pub type CRYPT_XML_FLAGS = u32; +pub type CRYPT_XML_GROUP_ID = u32; +pub type CRYPT_XML_KEYINFO_SPEC = i32; +pub type CRYPT_XML_KEYINFO_TYPE = u32; +pub type CRYPT_XML_KEY_VALUE_TYPE = u32; +pub type CRYPT_XML_PROPERTY_ID = i32; +pub type CRYPT_XML_STATUS_ERROR_STATUS = u32; +pub type CRYPT_XML_STATUS_INFO_STATUS = u32; +pub type CRYPT_XML_TRANSFORM_FLAGS = u32; +pub type CRYPT_XML_X509DATA_TYPE = u32; +pub type CertKeyType = u32; +pub type DSAFIPSVERSION_ENUM = i32; +pub type Direction = i32; +pub type ECC_CURVE_ALG_ID_ENUM = i32; +pub type ECC_CURVE_TYPE_ENUM = i32; +pub type HASHALGORITHM_ENUM = i32; +pub type HTTPSPOLICY_CALLBACK_DATA_AUTH_TYPE = u32; +#[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 MSCEPSetupProperty = i32; +pub type NCRYPT_ALGORITHM_NAME_CLASS = u32; +pub type NCRYPT_FLAGS = u32; +pub type NCRYPT_OPERATION = u32; +#[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 + } +} +pub type SIGNER_CERT_CHOICE = u32; +pub type SIGNER_CERT_POLICY = u32; +pub type SIGNER_PRIVATE_KEY_CHOICE = u32; +pub type SIGNER_SIGNATURE_ATTRIBUTE_CHOICE = u32; +pub type SIGNER_SIGN_FLAGS = u32; +pub type SIGNER_SUBJECT_CHOICE = u32; +pub type SIGNER_TIMESTAMP_FLAGS = u32; +#[repr(C)] +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_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_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 + } +} +#[repr(C)] +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 + } +} +pub type BCRYPT_ALG_HANDLE = *mut ::core::ffi::c_void; +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +pub type BCRYPT_HANDLE = *mut ::core::ffi::c_void; +pub type BCRYPT_HASH_HANDLE = *mut ::core::ffi::c_void; +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +pub type BCRYPT_KEY_HANDLE = *mut ::core::ffi::c_void; +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +pub type BCRYPT_SECRET_HANDLE = *mut ::core::ffi::c_void; +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +pub struct CERTIFICATE_CHAIN_BLOB { + pub certCount: u32, + pub rawCertificates: *mut CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for CERTIFICATE_CHAIN_BLOB {} +impl ::core::clone::Clone for CERTIFICATE_CHAIN_BLOB { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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: CRYPT_INTEGER_BLOB, + pub pwszURL: ::windows_sys::core::PWSTR, + pub IPAddress: CRYPT_INTEGER_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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +pub struct CERT_AUTHORITY_KEY_ID2_INFO { + pub KeyId: CRYPT_INTEGER_BLOB, + pub AuthorityCertIssuer: CERT_ALT_NAME_INFO, + pub AuthorityCertSerialNumber: CRYPT_INTEGER_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)] +pub struct CERT_AUTHORITY_KEY_ID_INFO { + pub KeyId: CRYPT_INTEGER_BLOB, + pub CertIssuer: CRYPT_INTEGER_BLOB, + pub CertSerialNumber: CRYPT_INTEGER_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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 CRYPT_INTEGER_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)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +pub struct CERT_CHAIN { + pub cCerts: u32, + pub certs: *mut CRYPT_INTEGER_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 CRYPT_INTEGER_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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct CERT_CONTEXT { + pub dwCertEncodingType: CERT_QUERY_ENCODING_TYPE, + 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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +pub struct CERT_DH_PARAMETERS { + pub p: CRYPT_INTEGER_BLOB, + pub g: CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for CERT_DH_PARAMETERS {} +impl ::core::clone::Clone for CERT_DH_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct CERT_DSS_PARAMETERS { + pub p: CRYPT_INTEGER_BLOB, + pub q: CRYPT_INTEGER_BLOB, + pub g: CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for CERT_DSS_PARAMETERS {} +impl ::core::clone::Clone for CERT_DSS_PARAMETERS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct CERT_ECC_SIGNATURE { + pub r: CRYPT_INTEGER_BLOB, + pub s: CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for CERT_ECC_SIGNATURE {} +impl ::core::clone::Clone for CERT_ECC_SIGNATURE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct CERT_EXTENSION { + pub pszObjId: ::windows_sys::core::PSTR, + pub fCritical: super::super::Foundation::BOOL, + pub Value: CRYPT_INTEGER_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_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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +pub struct CERT_HASHED_URL { + pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, + pub Hash: CRYPT_INTEGER_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 + } +} +#[repr(C)] +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)] +pub union CERT_ID_0 { + pub IssuerSerialNumber: CERT_ISSUER_SERIAL_NUMBER, + pub KeyId: CRYPT_INTEGER_BLOB, + pub HashId: CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for CERT_ID_0 {} +impl ::core::clone::Clone for CERT_ID_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct CERT_INFO { + pub dwVersion: u32, + pub SerialNumber: CRYPT_INTEGER_BLOB, + pub SignatureAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, + pub Issuer: CRYPT_INTEGER_BLOB, + pub NotBefore: super::super::Foundation::FILETIME, + pub NotAfter: super::super::Foundation::FILETIME, + pub Subject: CRYPT_INTEGER_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 + } +} +#[repr(C)] +pub struct CERT_ISSUER_SERIAL_NUMBER { + pub Issuer: CRYPT_INTEGER_BLOB, + pub SerialNumber: CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for CERT_ISSUER_SERIAL_NUMBER {} +impl ::core::clone::Clone for CERT_ISSUER_SERIAL_NUMBER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct CERT_KEY_ATTRIBUTES_INFO { + pub KeyId: CRYPT_INTEGER_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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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)] +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)] +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)] +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)] +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)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +pub struct CERT_NAME_VALUE { + pub dwValueType: u32, + pub Value: CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for CERT_NAME_VALUE {} +impl ::core::clone::Clone for CERT_NAME_VALUE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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)] +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)] +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)] +pub struct CERT_OTHER_NAME { + pub pszObjId: ::windows_sys::core::PSTR, + pub Value: CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for CERT_OTHER_NAME {} +impl ::core::clone::Clone for CERT_OTHER_NAME { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct CERT_PAIR { + pub Forward: CRYPT_INTEGER_BLOB, + pub Reverse: CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for CERT_PAIR {} +impl ::core::clone::Clone for CERT_PAIR { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct CERT_PHYSICAL_STORE_INFO { + pub cbSize: u32, + pub pszOpenStoreProvider: ::windows_sys::core::PSTR, + pub dwOpenEncodingType: u32, + pub dwOpenFlags: u32, + pub OpenParameters: CRYPT_INTEGER_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 + } +} +#[repr(C)] +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)] +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_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)] +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)] +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)] +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)] +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)] +pub struct CERT_POLICY_QUALIFIER_INFO { + pub pszPolicyQualifierId: ::windows_sys::core::PSTR, + pub Qualifier: CRYPT_INTEGER_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)] +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)] +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_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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +pub struct CERT_QC_STATEMENT { + pub pszStatementId: ::windows_sys::core::PSTR, + pub StatementInfo: CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for CERT_QC_STATEMENT {} +impl ::core::clone::Clone for CERT_QC_STATEMENT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +pub struct CERT_RDN_ATTR { + pub pszObjId: ::windows_sys::core::PSTR, + pub dwValueType: u32, + pub Value: CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for CERT_RDN_ATTR {} +impl ::core::clone::Clone for CERT_RDN_ATTR { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +pub struct CERT_REQUEST_INFO { + pub dwVersion: u32, + pub Subject: CRYPT_INTEGER_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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_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_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_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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)] +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 + } +} +#[repr(C)] +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_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 + } +} +#[repr(C)] +pub struct CERT_SIGNED_CONTENT_INFO { + pub ToBeSigned: CRYPT_INTEGER_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +pub struct CERT_X942_DH_PARAMETERS { + pub p: CRYPT_INTEGER_BLOB, + pub g: CRYPT_INTEGER_BLOB, + pub q: CRYPT_INTEGER_BLOB, + pub j: CRYPT_INTEGER_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)] +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 + } +} +#[repr(C)] +pub struct CLAIMLIST { + pub count: u32, + pub claims: *const ::windows_sys::core::PCWSTR, +} +impl ::core::marker::Copy for CLAIMLIST {} +impl ::core::clone::Clone for CLAIMLIST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct CMC_PEND_INFO { + pub PendToken: CRYPT_INTEGER_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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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 + } +} +#[repr(C)] +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)] +pub struct CMC_TAGGED_CERT_REQUEST { + pub dwBodyPartID: u32, + pub SignedCertRequest: CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for CMC_TAGGED_CERT_REQUEST {} +impl ::core::clone::Clone for CMC_TAGGED_CERT_REQUEST { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct CMC_TAGGED_CONTENT_INFO { + pub dwBodyPartID: u32, + pub EncodedContentInfo: CRYPT_INTEGER_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)] +pub struct CMC_TAGGED_OTHER_MSG { + pub dwBodyPartID: u32, + pub pszObjId: ::windows_sys::core::PSTR, + pub Value: CRYPT_INTEGER_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)] +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)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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 + } +} +#[repr(C)] +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: CRYPT_INTEGER_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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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 + } +} +#[repr(C)] +pub struct CMSG_CTRL_ADD_SIGNER_UNAUTH_ATTR_PARA { + pub cbSize: u32, + pub dwSignerIndex: u32, + pub blob: CRYPT_INTEGER_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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +pub struct CMSG_KEY_AGREE_ENCRYPT_INFO { + pub cbSize: u32, + pub dwRecipientIndex: u32, + pub KeyEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, + pub UserKeyingMaterial: CRYPT_INTEGER_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)] +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)] +pub struct CMSG_KEY_AGREE_KEY_ENCRYPT_INFO { + pub cbSize: u32, + pub EncryptedKey: CRYPT_INTEGER_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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: CRYPT_INTEGER_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_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_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: CRYPT_INTEGER_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_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 + } +} +#[repr(C)] +pub struct CMSG_KEY_TRANS_ENCRYPT_INFO { + pub cbSize: u32, + pub dwRecipientIndex: u32, + pub KeyEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, + pub EncryptedKey: CRYPT_INTEGER_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 + } +} +#[repr(C)] +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)] +pub struct CMSG_KEY_TRANS_RECIPIENT_INFO { + pub dwVersion: u32, + pub RecipientId: CERT_ID, + pub KeyEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, + pub EncryptedKey: CRYPT_INTEGER_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 + } +} +#[repr(C)] +pub struct CMSG_MAIL_LIST_ENCRYPT_INFO { + pub cbSize: u32, + pub dwRecipientIndex: u32, + pub KeyEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, + pub EncryptedKey: CRYPT_INTEGER_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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: CRYPT_INTEGER_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_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct CMSG_MAIL_LIST_RECIPIENT_INFO { + pub dwVersion: u32, + pub KeyId: CRYPT_INTEGER_BLOB, + pub KeyEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, + pub EncryptedKey: CRYPT_INTEGER_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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct CMSG_RECIPIENT_ENCRYPTED_KEY_INFO { + pub RecipientId: CERT_ID, + pub EncryptedKey: CRYPT_INTEGER_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 CRYPT_INTEGER_BLOB, + pub cCrlEncoded: u32, + pub rgCrlEncoded: *mut CRYPT_INTEGER_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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 + } +} +#[repr(C)] +pub struct CMSG_SIGNER_INFO { + pub dwVersion: u32, + pub Issuer: CRYPT_INTEGER_BLOB, + pub SerialNumber: CRYPT_INTEGER_BLOB, + pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, + pub HashEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, + pub EncryptedHash: CRYPT_INTEGER_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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +pub struct CMS_DH_KEY_INFO { + pub dwVersion: u32, + pub Algid: ALG_ID, + pub pszContentEncObjId: ::windows_sys::core::PSTR, + pub PubInfo: CRYPT_INTEGER_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)] +pub struct CMS_KEY_INFO { + pub dwVersion: u32, + pub Algid: ALG_ID, + 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 + } +} +#[repr(C)] +pub struct CPS_URLS { + pub pszURL: ::windows_sys::core::PWSTR, + pub pAlgorithm: *mut CRYPT_ALGORITHM_IDENTIFIER, + pub pDigest: *mut CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for CPS_URLS {} +impl ::core::clone::Clone for CPS_URLS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct CRL_CONTEXT { + pub dwCertEncodingType: CERT_QUERY_ENCODING_TYPE, + 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)] +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)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct CRL_ENTRY { + pub SerialNumber: CRYPT_INTEGER_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct CRL_INFO { + pub dwVersion: u32, + pub SignatureAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, + pub Issuer: CRYPT_INTEGER_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_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +pub struct CRYPT_ALGORITHM_IDENTIFIER { + pub pszObjId: ::windows_sys::core::PSTR, + pub Parameters: CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for CRYPT_ALGORITHM_IDENTIFIER {} +impl ::core::clone::Clone for CRYPT_ALGORITHM_IDENTIFIER { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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)] +pub struct CRYPT_ATTRIBUTE { + pub pszObjId: ::windows_sys::core::PSTR, + pub cValue: u32, + pub rgValue: *mut CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for CRYPT_ATTRIBUTE {} +impl ::core::clone::Clone for CRYPT_ATTRIBUTE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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)] +pub struct CRYPT_ATTRIBUTE_TYPE_VALUE { + pub pszObjId: ::windows_sys::core::PSTR, + pub Value: CRYPT_INTEGER_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)] +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)] +pub struct CRYPT_BLOB_ARRAY { + pub cBlob: u32, + pub rgBlob: *mut CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for CRYPT_BLOB_ARRAY {} +impl ::core::clone::Clone for CRYPT_BLOB_ARRAY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct CRYPT_CONTENT_INFO { + pub pszObjId: ::windows_sys::core::PSTR, + pub Content: CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for CRYPT_CONTENT_INFO {} +impl ::core::clone::Clone for CRYPT_CONTENT_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct CRYPT_CONTENT_INFO_SEQUENCE_OF_ANY { + pub pszObjId: ::windows_sys::core::PSTR, + pub cValue: u32, + pub rgValue: *mut CRYPT_INTEGER_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)] +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)] +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 + } +} +#[repr(C)] +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)] +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)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +pub struct CRYPT_ECC_CMS_SHARED_INFO { + pub Algorithm: CRYPT_ALGORITHM_IDENTIFIER, + pub EntityUInfo: CRYPT_INTEGER_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 + } +} +#[repr(C)] +pub struct CRYPT_ECC_PRIVATE_KEY_INFO { + pub dwVersion: u32, + pub PrivateKey: CRYPT_INTEGER_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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +pub struct CRYPT_ENCRYPTED_PRIVATE_KEY_INFO { + pub EncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, + pub EncryptedPrivateKey: CRYPT_INTEGER_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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 CRYPT_INTEGER_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 + } +} +#[repr(C)] +pub struct CRYPT_HASH_INFO { + pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, + pub Hash: CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for CRYPT_HASH_INFO {} +impl ::core::clone::Clone for CRYPT_HASH_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +pub struct CRYPT_INTEGER_BLOB { + pub cbData: u32, + pub pbData: *mut u8, +} +impl ::core::marker::Copy for CRYPT_INTEGER_BLOB {} +impl ::core::clone::Clone for CRYPT_INTEGER_BLOB { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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)] +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)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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: CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for CRYPT_OID_INFO {} +impl ::core::clone::Clone for CRYPT_OID_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union CRYPT_OID_INFO_0 { + pub dwValue: u32, + pub Algid: ALG_ID, + 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 + } +} +#[repr(C)] +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)] +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)] +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_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct CRYPT_PKCS8_IMPORT_PARAMS { + pub PrivateKey: CRYPT_INTEGER_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 + } +} +#[repr(C)] +pub struct CRYPT_PRIVATE_KEY_INFO { + pub Version: u32, + pub Algorithm: CRYPT_ALGORITHM_IDENTIFIER, + pub PrivateKey: CRYPT_INTEGER_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)] +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)] +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)] +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)] +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)] +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 + } +} +#[repr(C)] +pub struct CRYPT_PSOURCE_ALGORITHM { + pub pszObjId: ::windows_sys::core::PSTR, + pub EncodingParameters: CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for CRYPT_PSOURCE_ALGORITHM {} +impl ::core::clone::Clone for CRYPT_PSOURCE_ALGORITHM { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"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)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 CRYPT_INTEGER_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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +pub struct CRYPT_SEQUENCE_OF_ANY { + pub cValue: u32, + pub rgValue: *mut CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for CRYPT_SEQUENCE_OF_ANY {} +impl ::core::clone::Clone for CRYPT_SEQUENCE_OF_ANY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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)] +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)] +pub struct CRYPT_SMIME_CAPABILITY { + pub pszObjId: ::windows_sys::core::PSTR, + pub Parameters: CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for CRYPT_SMIME_CAPABILITY {} +impl ::core::clone::Clone for CRYPT_SMIME_CAPABILITY { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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_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_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: CRYPT_INTEGER_BLOB, + pub SerialNumber: CRYPT_INTEGER_BLOB, + pub ftTime: super::super::Foundation::FILETIME, + pub pvAccuracy: *mut CRYPT_TIMESTAMP_ACCURACY, + pub fOrdering: super::super::Foundation::BOOL, + pub Nonce: CRYPT_INTEGER_BLOB, + pub Tsa: CRYPT_INTEGER_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct CRYPT_TIMESTAMP_PARA { + pub pszTSAPolicyId: ::windows_sys::core::PCSTR, + pub fRequestCerts: super::super::Foundation::BOOL, + pub Nonce: CRYPT_INTEGER_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct CRYPT_TIMESTAMP_REQUEST { + pub dwVersion: CRYPT_TIMESTAMP_VERSION, + pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, + pub HashedMessage: CRYPT_INTEGER_BLOB, + pub pszTSAPolicyId: ::windows_sys::core::PSTR, + pub Nonce: CRYPT_INTEGER_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)] +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: CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for CRYPT_TIMESTAMP_RESPONSE {} +impl ::core::clone::Clone for CRYPT_TIMESTAMP_RESPONSE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct CRYPT_TIME_STAMP_REQUEST_INFO { + pub pszTimeStampAlgorithm: ::windows_sys::core::PSTR, + pub pszContentType: ::windows_sys::core::PSTR, + pub Content: CRYPT_INTEGER_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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +pub struct CRYPT_VERIFY_CERT_SIGN_STRONG_PROPERTIES_INFO { + pub CertSignHashCNGAlgPropData: CRYPT_INTEGER_BLOB, + pub CertIssuerPubKeyBitLengthPropData: CRYPT_INTEGER_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 + } +} +#[repr(C)] +pub struct CRYPT_VERIFY_CERT_SIGN_WEAK_HASH_INFO { + pub cCNGHashAlgid: u32, + pub rgpwszCNGHashAlgid: *const ::windows_sys::core::PCWSTR, + 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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +pub struct CRYPT_X942_OTHER_INFO { + pub pszContentEncryptionObjId: ::windows_sys::core::PSTR, + pub rgbCounter: [u8; 4], + pub rgbKeyLength: [u8; 4], + pub PubInfo: CRYPT_INTEGER_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)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +pub struct CRYPT_XML_KEYINFO_PARAM { + pub wszId: ::windows_sys::core::PCWSTR, + pub wszKeyName: ::windows_sys::core::PCWSTR, + pub SKI: CRYPT_INTEGER_BLOB, + pub wszSubjectName: ::windows_sys::core::PCWSTR, + pub cCertificate: u32, + pub rgCertificate: *mut CRYPT_INTEGER_BLOB, + pub cCRL: u32, + pub rgCRL: *mut CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for CRYPT_XML_KEYINFO_PARAM {} +impl ::core::clone::Clone for CRYPT_XML_KEYINFO_PARAM { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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: CRYPT_INTEGER_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)] +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 + } +} +#[repr(C)] +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: CRYPT_INTEGER_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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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)] +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 + } +} +#[repr(C)] +pub struct CTL_ANY_SUBJECT_INFO { + pub SubjectAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, + pub SubjectIdentifier: CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for CTL_ANY_SUBJECT_INFO {} +impl ::core::clone::Clone for CTL_ANY_SUBJECT_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"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)] +pub struct CTL_ENTRY { + pub SubjectIdentifier: CRYPT_INTEGER_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct CTL_FIND_USAGE_PARA { + pub cbSize: u32, + pub SubjectUsage: CTL_USAGE, + pub ListIdentifier: CRYPT_INTEGER_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct CTL_INFO { + pub dwVersion: u32, + pub SubjectUsage: CTL_USAGE, + pub ListIdentifier: CRYPT_INTEGER_BLOB, + pub SequenceNumber: CRYPT_INTEGER_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)] +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)] +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 + } +} +#[repr(C)] +pub struct CTL_VERIFY_USAGE_PARA { + pub cbSize: u32, + pub ListIdentifier: CRYPT_INTEGER_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_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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +pub struct ENDPOINTADDRESS { + pub serviceUrl: ::windows_sys::core::PCWSTR, + pub policyUrl: ::windows_sys::core::PCWSTR, + pub rawCertificate: CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for ENDPOINTADDRESS {} +impl ::core::clone::Clone for ENDPOINTADDRESS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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)] +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)] +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 + } +} +#[repr(C, packed(1))] +#[doc = "Required features: `\"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 + } +} +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)] +pub struct HMAC_INFO { + pub HashAlgid: ALG_ID, + 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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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)] +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_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)] +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_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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +pub type NCRYPT_HANDLE = usize; +pub type NCRYPT_HASH_HANDLE = usize; +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +pub type NCRYPT_KEY_HANDLE = usize; +#[repr(C)] +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 + } +} +#[repr(C)] +pub struct NCRYPT_PCP_RAW_POLICYDIGEST_INFO { + pub dwVersion: u32, + pub cbDigest: u32, +} +impl ::core::marker::Copy for NCRYPT_PCP_RAW_POLICYDIGEST_INFO {} +impl ::core::clone::Clone for NCRYPT_PCP_RAW_POLICYDIGEST_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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 + } +} +pub type NCRYPT_PROV_HANDLE = usize; +pub type NCRYPT_SECRET_HANDLE = usize; +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union OCSP_BASIC_RESPONSE_INFO_0 { + pub ByNameResponderId: CRYPT_INTEGER_BLOB, + pub ByKeyResponderId: CRYPT_INTEGER_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +pub struct OCSP_BASIC_SIGNED_RESPONSE_INFO { + pub ToBeSigned: CRYPT_INTEGER_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 + } +} +#[repr(C)] +pub struct OCSP_CERT_ID { + pub HashAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, + pub IssuerNameHash: CRYPT_INTEGER_BLOB, + pub IssuerKeyHash: CRYPT_INTEGER_BLOB, + pub SerialNumber: CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for OCSP_CERT_ID {} +impl ::core::clone::Clone for OCSP_CERT_ID { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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 + } +} +#[repr(C)] +pub struct OCSP_RESPONSE_INFO { + pub dwStatus: u32, + pub pszObjId: ::windows_sys::core::PSTR, + pub Value: CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for OCSP_RESPONSE_INFO {} +impl ::core::clone::Clone for OCSP_RESPONSE_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct OCSP_SIGNATURE_INFO { + pub SignatureAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, + pub Signature: CRYPT_BIT_BLOB, + pub cCertEncoded: u32, + pub rgCertEncoded: *mut CRYPT_INTEGER_BLOB, +} +impl ::core::marker::Copy for OCSP_SIGNATURE_INFO {} +impl ::core::clone::Clone for OCSP_SIGNATURE_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct OCSP_SIGNED_REQUEST_INFO { + pub ToBeSigned: CRYPT_INTEGER_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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +pub struct PROV_ENUMALGS { + pub aiAlgid: ALG_ID, + pub dwBitLen: u32, + pub dwNameLen: u32, + pub szName: [u8; 20], +} +impl ::core::marker::Copy for PROV_ENUMALGS {} +impl ::core::clone::Clone for PROV_ENUMALGS { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct PROV_ENUMALGS_EX { + pub aiAlgid: ALG_ID, + pub dwDefaultLen: u32, + pub dwMinLen: u32, + pub dwMaxLen: u32, + pub dwProtocols: u32, + pub dwNameLen: u32, + pub szName: [u8; 20], + pub dwLongNameLen: u32, + pub szLongName: [u8; 40], +} +impl ::core::marker::Copy for PROV_ENUMALGS_EX {} +impl ::core::clone::Clone for PROV_ENUMALGS_EX { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +pub struct PUBLICKEYSTRUC { + pub bType: u8, + pub bVersion: u8, + pub reserved: u16, + pub aiKeyAlg: ALG_ID, +} +impl ::core::marker::Copy for PUBLICKEYSTRUC {} +impl ::core::clone::Clone for PUBLICKEYSTRUC { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +pub struct SCHANNEL_ALG { + pub dwUse: u32, + pub Algid: ALG_ID, + 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 + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SIGNER_ATTR_AUTHCODE { + pub cbSize: u32, + pub fCommercial: super::super::Foundation::BOOL, + pub fIndividual: super::super::Foundation::BOOL, + pub pwszName: ::windows_sys::core::PCWSTR, + pub pwszInfo: ::windows_sys::core::PCWSTR, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SIGNER_ATTR_AUTHCODE {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SIGNER_ATTR_AUTHCODE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SIGNER_BLOB_INFO { + pub cbSize: 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 SIGNER_BLOB_INFO {} +impl ::core::clone::Clone for SIGNER_BLOB_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SIGNER_CERT { + pub cbSize: u32, + pub dwCertChoice: SIGNER_CERT_CHOICE, + pub Anonymous: SIGNER_CERT_0, + pub hwnd: super::super::Foundation::HWND, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SIGNER_CERT {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SIGNER_CERT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union SIGNER_CERT_0 { + pub pwszSpcFile: ::windows_sys::core::PCWSTR, + pub pCertStoreInfo: *mut SIGNER_CERT_STORE_INFO, + pub pSpcChainInfo: *mut SIGNER_SPC_CHAIN_INFO, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SIGNER_CERT_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SIGNER_CERT_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SIGNER_CERT_STORE_INFO { + pub cbSize: u32, + pub pSigningCert: *const CERT_CONTEXT, + pub dwCertPolicy: SIGNER_CERT_POLICY, + pub hCertStore: HCERTSTORE, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SIGNER_CERT_STORE_INFO {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SIGNER_CERT_STORE_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SIGNER_CONTEXT { + pub cbSize: u32, + pub cbBlob: u32, + pub pbBlob: *mut u8, +} +impl ::core::marker::Copy for SIGNER_CONTEXT {} +impl ::core::clone::Clone for SIGNER_CONTEXT { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SIGNER_DIGEST_SIGN_INFO { + pub cbSize: u32, + pub dwDigestSignChoice: u32, + pub Anonymous: SIGNER_DIGEST_SIGN_INFO_0, + pub pMetadataBlob: *mut CRYPT_INTEGER_BLOB, + pub dwReserved: u32, + pub dwReserved2: u32, + pub dwReserved3: u32, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SIGNER_DIGEST_SIGN_INFO {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SIGNER_DIGEST_SIGN_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union SIGNER_DIGEST_SIGN_INFO_0 { + pub pfnAuthenticodeDigestSign: PFN_AUTHENTICODE_DIGEST_SIGN, + pub pfnAuthenticodeDigestSignWithFileHandle: PFN_AUTHENTICODE_DIGEST_SIGN_WITHFILEHANDLE, + pub pfnAuthenticodeDigestSignEx: PFN_AUTHENTICODE_DIGEST_SIGN_EX, + pub pfnAuthenticodeDigestSignExWithFileHandle: PFN_AUTHENTICODE_DIGEST_SIGN_EX_WITHFILEHANDLE, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SIGNER_DIGEST_SIGN_INFO_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SIGNER_DIGEST_SIGN_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SIGNER_DIGEST_SIGN_INFO_V1 { + pub cbSize: u32, + pub pfnAuthenticodeDigestSign: PFN_AUTHENTICODE_DIGEST_SIGN, + pub pMetadataBlob: *mut CRYPT_INTEGER_BLOB, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SIGNER_DIGEST_SIGN_INFO_V1 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SIGNER_DIGEST_SIGN_INFO_V1 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SIGNER_DIGEST_SIGN_INFO_V2 { + pub cbSize: u32, + pub pfnAuthenticodeDigestSign: PFN_AUTHENTICODE_DIGEST_SIGN, + pub pfnAuthenticodeDigestSignEx: PFN_AUTHENTICODE_DIGEST_SIGN_EX, + pub pMetadataBlob: *mut CRYPT_INTEGER_BLOB, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SIGNER_DIGEST_SIGN_INFO_V2 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SIGNER_DIGEST_SIGN_INFO_V2 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SIGNER_FILE_INFO { + pub cbSize: u32, + pub pwszFileName: ::windows_sys::core::PCWSTR, + pub hFile: super::super::Foundation::HANDLE, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SIGNER_FILE_INFO {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SIGNER_FILE_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SIGNER_PROVIDER_INFO { + pub cbSize: u32, + pub pwszProviderName: ::windows_sys::core::PCWSTR, + pub dwProviderType: u32, + pub dwKeySpec: u32, + pub dwPvkChoice: SIGNER_PRIVATE_KEY_CHOICE, + pub Anonymous: SIGNER_PROVIDER_INFO_0, +} +impl ::core::marker::Copy for SIGNER_PROVIDER_INFO {} +impl ::core::clone::Clone for SIGNER_PROVIDER_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub union SIGNER_PROVIDER_INFO_0 { + pub pwszPvkFileName: ::windows_sys::core::PWSTR, + pub pwszKeyContainer: ::windows_sys::core::PWSTR, +} +impl ::core::marker::Copy for SIGNER_PROVIDER_INFO_0 {} +impl ::core::clone::Clone for SIGNER_PROVIDER_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SIGNER_SIGNATURE_INFO { + pub cbSize: u32, + pub algidHash: ALG_ID, + pub dwAttrChoice: SIGNER_SIGNATURE_ATTRIBUTE_CHOICE, + pub Anonymous: SIGNER_SIGNATURE_INFO_0, + pub psAuthenticated: *mut CRYPT_ATTRIBUTES, + pub psUnauthenticated: *mut CRYPT_ATTRIBUTES, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SIGNER_SIGNATURE_INFO {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SIGNER_SIGNATURE_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union SIGNER_SIGNATURE_INFO_0 { + pub pAttrAuthcode: *mut SIGNER_ATTR_AUTHCODE, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SIGNER_SIGNATURE_INFO_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SIGNER_SIGNATURE_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +pub struct SIGNER_SPC_CHAIN_INFO { + pub cbSize: u32, + pub pwszSpcFile: ::windows_sys::core::PCWSTR, + pub dwCertPolicy: u32, + pub hCertStore: HCERTSTORE, +} +impl ::core::marker::Copy for SIGNER_SPC_CHAIN_INFO {} +impl ::core::clone::Clone for SIGNER_SPC_CHAIN_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SIGNER_SUBJECT_INFO { + pub cbSize: u32, + pub pdwIndex: *mut u32, + pub dwSubjectChoice: SIGNER_SUBJECT_CHOICE, + pub Anonymous: SIGNER_SUBJECT_INFO_0, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SIGNER_SUBJECT_INFO {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SIGNER_SUBJECT_INFO { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub union SIGNER_SUBJECT_INFO_0 { + pub pSignerFileInfo: *mut SIGNER_FILE_INFO, + pub pSignerBlobInfo: *mut SIGNER_BLOB_INFO, +} +#[cfg(feature = "Win32_Foundation")] +impl ::core::marker::Copy for SIGNER_SUBJECT_INFO_0 {} +#[cfg(feature = "Win32_Foundation")] +impl ::core::clone::Clone for SIGNER_SUBJECT_INFO_0 { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +pub type CryptXmlDllCloseDigest = ::core::option::Option<unsafe extern "system" fn(hdigest: *const ::core::ffi::c_void) -> ::windows_sys::core::HRESULT>; +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>; +pub type CryptXmlDllCreateKey = ::core::option::Option<unsafe extern "system" fn(pencoded: *const CRYPT_XML_BLOB, phkey: *mut BCRYPT_KEY_HANDLE) -> ::windows_sys::core::HRESULT>; +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>; +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>; +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>; +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>; +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>; +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>; +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>; +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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PCRYPT_DECRYPT_PRIVATE_KEY_FUNC = ::core::option::Option<unsafe extern "system" fn(algorithm: CRYPT_ALGORITHM_IDENTIFIER, encryptedprivatekey: CRYPT_INTEGER_BLOB, pbcleartextkey: *mut u8, pcbcleartextkey: *mut u32, pvoiddecryptfunc: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"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 CRYPT_INTEGER_BLOB, pbencryptedkey: *mut u8, pcbencryptedkey: *mut u32, pvoidencryptfunc: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"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_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_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PFN_AUTHENTICODE_DIGEST_SIGN = ::core::option::Option<unsafe extern "system" fn(psigningcert: *const CERT_CONTEXT, pmetadatablob: *const CRYPT_INTEGER_BLOB, digestalgid: ALG_ID, pbtobesigneddigest: *const u8, cbtobesigneddigest: u32, psigneddigest: *mut CRYPT_INTEGER_BLOB) -> ::windows_sys::core::HRESULT>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PFN_AUTHENTICODE_DIGEST_SIGN_EX = ::core::option::Option<unsafe extern "system" fn(pmetadatablob: *const CRYPT_INTEGER_BLOB, digestalgid: ALG_ID, pbtobesigneddigest: *const u8, cbtobesigneddigest: u32, psigneddigest: *mut CRYPT_INTEGER_BLOB, ppsignercert: *mut *mut CERT_CONTEXT, hcertchainstore: HCERTSTORE) -> ::windows_sys::core::HRESULT>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PFN_AUTHENTICODE_DIGEST_SIGN_EX_WITHFILEHANDLE = ::core::option::Option<unsafe extern "system" fn(pmetadatablob: *const CRYPT_INTEGER_BLOB, digestalgid: ALG_ID, pbtobesigneddigest: *const u8, cbtobesigneddigest: u32, hfile: super::super::Foundation::HANDLE, psigneddigest: *mut CRYPT_INTEGER_BLOB, ppsignercert: *mut *mut CERT_CONTEXT, hcertchainstore: HCERTSTORE) -> ::windows_sys::core::HRESULT>; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PFN_AUTHENTICODE_DIGEST_SIGN_WITHFILEHANDLE = ::core::option::Option<unsafe extern "system" fn(psigningcert: *const CERT_CONTEXT, pmetadatablob: *const CRYPT_INTEGER_BLOB, digestalgid: ALG_ID, pbtobesigneddigest: *const u8, cbtobesigneddigest: u32, hfile: super::super::Foundation::HANDLE, psigneddigest: *mut CRYPT_INTEGER_BLOB) -> ::windows_sys::core::HRESULT>; +#[doc = "Required features: `\"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_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_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_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_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: *const ::core::ffi::c_void, pvarg: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"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: *const ::core::ffi::c_void, pvarg: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"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: *const ::core::ffi::c_void, pvarg: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"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_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) -> ()>; +pub type PFN_CERT_STORE_PROV_CLOSE = ::core::option::Option<unsafe extern "system" fn(hstoreprov: HCERTSTOREPROV, dwflags: u32) -> ()>; +#[doc = "Required features: `\"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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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>; +pub type PFN_CMSG_ALLOC = ::core::option::Option<unsafe extern "system" fn(cb: usize) -> *mut ::core::ffi::c_void>; +#[doc = "Required features: `\"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: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"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: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"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: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"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_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: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"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: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"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: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; +pub type PFN_CMSG_FREE = ::core::option::Option<unsafe extern "system" fn(pv: *mut ::core::ffi::c_void) -> ()>; +#[doc = "Required features: `\"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: *const ::core::ffi::c_void) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"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_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_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: *const ::core::ffi::c_void, phcontentencryptkey: *mut usize) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"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: *const ::core::ffi::c_void, phcontentencryptkey: *mut usize) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"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: *const ::core::ffi::c_void, phcontentencryptkey: *mut usize) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"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>; +pub type PFN_CRYPT_ALLOC = ::core::option::Option<unsafe extern "system" fn(cbsize: usize) -> *mut ::core::ffi::c_void>; +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) -> ()>; +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_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PFN_CRYPT_ENUM_KEYID_PROP = ::core::option::Option<unsafe extern "system" fn(pkeyidentifier: *const CRYPT_INTEGER_BLOB, dwflags: u32, pvreserved: *const ::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_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::PCWSTR, rgpbvaluedata: *const *const u8, rgcbvaluedata: *const u32, pvarg: *mut ::core::ffi::c_void) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"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_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: CERT_QUERY_ENCODING_TYPE, 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_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: CERT_QUERY_ENCODING_TYPE, 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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PFN_CRYPT_EXTRACT_ENCODED_SIGNATURE_PARAMETERS_FUNC = ::core::option::Option<unsafe extern "system" fn(dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, psignaturealgorithm: *const CRYPT_ALGORITHM_IDENTIFIER, ppvdecodedsignpara: *mut *mut ::core::ffi::c_void, ppwszcnghashalgid: *mut ::windows_sys::core::PWSTR) -> super::super::Foundation::BOOL>; +pub type PFN_CRYPT_FREE = ::core::option::Option<unsafe extern "system" fn(pv: *const ::core::ffi::c_void) -> ()>; +#[doc = "Required features: `\"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: CERT_QUERY_ENCODING_TYPE, psignerid: *const CERT_INFO, hmsgcertstore: HCERTSTORE) -> *mut CERT_CONTEXT>; +#[doc = "Required features: `\"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 CRYPT_INTEGER_BLOB, dwidentifierornamelistcount: u32) -> super::super::Foundation::BOOL>; +pub type PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE = ::core::option::Option<unsafe extern "system" fn(pplugincontext: *const ::core::ffi::c_void, pbdata: *const u8) -> ()>; +pub type PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_FREE_IDENTIFIER = ::core::option::Option<unsafe extern "system" fn(pplugincontext: *const ::core::ffi::c_void, pidentifier: *const CRYPT_INTEGER_BLOB) -> ()>; +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_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 CRYPT_INTEGER_BLOB, dwnametype: u32, pnameblob: *const CRYPT_INTEGER_BLOB, ppbcontent: *mut *mut u8, pcbcontent: *mut u32, ppwszpassword: *mut ::windows_sys::core::PCWSTR, ppidentifier: *mut *mut CRYPT_INTEGER_BLOB) -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"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>; +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_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: CERT_QUERY_ENCODING_TYPE, 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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PFN_CRYPT_VERIFY_ENCODED_SIGNATURE_FUNC = ::core::option::Option<unsafe extern "system" fn(dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, 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>; +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>; +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>; +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_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>; +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_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>; +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_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PFN_IMPORT_PUBLIC_KEY_INFO_EX2_FUNC = ::core::option::Option<unsafe extern "system" fn(dwcertencodingtype: CERT_QUERY_ENCODING_TYPE, pinfo: *const CERT_PUBLIC_KEY_INFO, dwflags: u32, pvauxinfo: *const ::core::ffi::c_void, phkey: *mut BCRYPT_KEY_HANDLE) -> super::super::Foundation::BOOL>; +pub type PFN_NCRYPT_ALLOC = ::core::option::Option<unsafe extern "system" fn(cbsize: usize) -> *mut ::core::ffi::c_void>; +pub type PFN_NCRYPT_FREE = ::core::option::Option<unsafe extern "system" fn(pv: *const ::core::ffi::c_void) -> ()>; 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 0000000..be1e8f6 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/Security/DiagnosticDataQuery/mod.rs @@ -0,0 +1,227 @@ +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqCancelDiagnosticRecordOperation(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqCloseSession(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqCreateSession(accesslevel : DdqAccessLevel, hsession : *mut super:: HDIAGNOSTIC_DATA_QUERY_SESSION) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqExtractDiagnosticReport(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, reportstoretype : u32, reportkey : ::windows_sys::core::PCWSTR, destinationpath : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqFreeDiagnosticRecordLocaleTags(htagdescription : super:: HDIAGNOSTIC_EVENT_TAG_DESCRIPTION) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqFreeDiagnosticRecordPage(hrecord : super:: HDIAGNOSTIC_RECORD) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqFreeDiagnosticRecordProducerCategories(hcategorydescription : super:: HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqFreeDiagnosticRecordProducers(hproducerdescription : super:: HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqFreeDiagnosticReport(hreport : super:: HDIAGNOSTIC_REPORT) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticDataAccessLevelAllowed(accesslevel : *mut DdqAccessLevel) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("diagnosticdataquery.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DdqGetDiagnosticRecordAtIndex(hrecord : super:: HDIAGNOSTIC_RECORD, index : u32, record : *mut DIAGNOSTIC_DATA_RECORD) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordBinaryDistribution(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, producernames : *const ::windows_sys::core::PCWSTR, producernamecount : u32, topnbinaries : u32, binarystats : *mut *mut DIAGNOSTIC_DATA_EVENT_BINARY_STATS, statcount : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordCategoryAtIndex(hcategorydescription : super:: HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION, index : u32, categorydescription : *mut DIAGNOSTIC_DATA_EVENT_CATEGORY_DESCRIPTION) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordCategoryCount(hcategorydescription : super:: HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION, categorydescriptioncount : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordCount(hrecord : super:: HDIAGNOSTIC_RECORD, recordcount : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordLocaleTagAtIndex(htagdescription : super:: HDIAGNOSTIC_EVENT_TAG_DESCRIPTION, index : u32, tagdescription : *mut DIAGNOSTIC_DATA_EVENT_TAG_DESCRIPTION) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordLocaleTagCount(htagdescription : super:: HDIAGNOSTIC_EVENT_TAG_DESCRIPTION, tagdescriptioncount : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordLocaleTags(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, locale : ::windows_sys::core::PCWSTR, htagdescription : *mut super:: HDIAGNOSTIC_EVENT_TAG_DESCRIPTION) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("diagnosticdataquery.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordPayload(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, rowid : i64, payload : *mut ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordProducerAtIndex(hproducerdescription : super:: HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION, index : u32, producerdescription : *mut DIAGNOSTIC_DATA_EVENT_PRODUCER_DESCRIPTION) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordProducerCategories(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, producername : ::windows_sys::core::PCWSTR, hcategorydescription : *mut super:: HDIAGNOSTIC_EVENT_CATEGORY_DESCRIPTION) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordProducerCount(hproducerdescription : super:: HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION, producerdescriptioncount : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordProducers(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, hproducerdescription : *mut super:: HDIAGNOSTIC_EVENT_PRODUCER_DESCRIPTION) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("diagnosticdataquery.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordSummary(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, producernames : *const ::windows_sys::core::PCWSTR, producernamecount : u32, generalstats : *mut DIAGNOSTIC_DATA_GENERAL_STATS) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticRecordTagDistribution(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, producernames : *const ::windows_sys::core::PCWSTR, producernamecount : u32, tagstats : *mut *mut DIAGNOSTIC_DATA_EVENT_TAG_STATS, statcount : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticReport(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, reportstoretype : u32, hreport : *mut super:: HDIAGNOSTIC_REPORT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("diagnosticdataquery.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DdqGetDiagnosticReportAtIndex(hreport : super:: HDIAGNOSTIC_REPORT, index : u32, report : *mut DIAGNOSTIC_REPORT_DATA) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticReportCount(hreport : super:: HDIAGNOSTIC_REPORT, reportcount : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetDiagnosticReportStoreReportCount(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, reportstoretype : u32, reportcount : *mut u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetSessionAccessLevel(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, accesslevel : *mut DdqAccessLevel) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqGetTranscriptConfiguration(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, currentconfig : *mut DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("diagnosticdataquery.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +::windows_targets::link!("diagnosticdataquery.dll" "system" fn DdqSetTranscriptConfiguration(hsession : super:: HDIAGNOSTIC_DATA_QUERY_SESSION, desiredconfig : *const DIAGNOSTIC_DATA_EVENT_TRANSCRIPT_CONFIGURATION) -> ::windows_sys::core::HRESULT); +pub const AllUserData: DdqAccessLevel = 2i32; +pub const CurrentUserData: DdqAccessLevel = 1i32; +pub const NoData: DdqAccessLevel = 0i32; +pub type DdqAccessLevel = i32; +#[repr(C)] +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)] +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)] +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)] +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)] +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)] +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)] +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_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct DIAGNOSTIC_DATA_SEARCH_CRITERIA { + pub producerNames: *const ::windows_sys::core::PCWSTR, + 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_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)] +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)] +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 + } +} 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 0000000..12ddc32 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/Security/DirectoryServices/mod.rs @@ -0,0 +1,33 @@ +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization_UI"))] +::windows_targets::link!("dssec.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Authorization_UI\"`"] 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); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Authorization_UI"))] +::windows_targets::link!("dssec.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Authorization_UI\"`"] 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); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_UI_Controls"))] +::windows_targets::link!("dssec.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("dssec.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +pub const DSSI_IS_ROOT: u32 = 16u32; +pub const DSSI_NO_ACCESS_CHECK: u32 = 2u32; +pub const DSSI_NO_EDIT_OWNER: u32 = 8u32; +pub const DSSI_NO_EDIT_SACL: u32 = 4u32; +pub const DSSI_NO_FILTER: u32 = 32u32; +pub const DSSI_NO_READONLY_MESSAGE: u32 = 64u32; +pub const DSSI_READ_ONLY: u32 = 1u32; +#[doc = "Required features: `\"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_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_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_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_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_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 0000000..ba625bf --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/Security/EnterpriseData/mod.rs @@ -0,0 +1,59 @@ +::windows_targets::link!("efswrt.dll" "system" fn ProtectFileToEnterpriseIdentity(fileorfolderpath : ::windows_sys::core::PCWSTR, identity : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("srpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SrpCloseThreadNetworkContext(threadnetworkcontext : *mut HTHREAD_NETWORK_CONTEXT) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("srpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SrpCreateThreadNetworkContext(enterpriseid : ::windows_sys::core::PCWSTR, threadnetworkcontext : *mut HTHREAD_NETWORK_CONTEXT) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("srpapi.dll" "system" fn SrpDisablePermissiveModeFileEncryption() -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Storage_Packaging_Appx"))] +::windows_targets::link!("srpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Storage_Packaging_Appx\"`"] fn SrpDoesPolicyAllowAppExecution(packageid : *const super::super::Storage::Packaging::Appx:: PACKAGE_ID, isallowed : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("srpapi.dll" "system" fn SrpEnablePermissiveModeFileEncryption(enterpriseid : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("srpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SrpGetEnterpriseIds(tokenhandle : super::super::Foundation:: HANDLE, numberofbytes : *mut u32, enterpriseids : *mut ::windows_sys::core::PCWSTR, enterpriseidcount : *mut u32) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("srpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SrpGetEnterprisePolicy(tokenhandle : super::super::Foundation:: HANDLE, policyflags : *mut ENTERPRISE_DATA_POLICIES) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("srpapi.dll" "system" fn SrpHostingInitialize(version : SRPHOSTING_VERSION, r#type : SRPHOSTING_TYPE, pvdata : *const ::core::ffi::c_void, cbdata : u32) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("srpapi.dll" "system" fn SrpHostingTerminate(r#type : SRPHOSTING_TYPE) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("srpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SrpIsTokenService(tokenhandle : super::super::Foundation:: HANDLE, istokenservice : *mut u8) -> super::super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("srpapi.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SrpSetTokenEnterpriseId(tokenhandle : super::super::Foundation:: HANDLE, enterpriseid : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("efswrt.dll" "system" fn UnprotectFile(fileorfolderpath : ::windows_sys::core::PCWSTR, options : *const FILE_UNPROTECT_OPTIONS) -> ::windows_sys::core::HRESULT); +pub type IProtectionPolicyManagerInterop = *mut ::core::ffi::c_void; +pub type IProtectionPolicyManagerInterop2 = *mut ::core::ffi::c_void; +pub type IProtectionPolicyManagerInterop3 = *mut ::core::ffi::c_void; +pub const ENTERPRISE_POLICY_ALLOWED: ENTERPRISE_DATA_POLICIES = 1i32; +pub const ENTERPRISE_POLICY_ENLIGHTENED: ENTERPRISE_DATA_POLICIES = 2i32; +pub const ENTERPRISE_POLICY_EXEMPT: ENTERPRISE_DATA_POLICIES = 4i32; +pub const ENTERPRISE_POLICY_NONE: ENTERPRISE_DATA_POLICIES = 0i32; +pub const SRPHOSTING_TYPE_NONE: SRPHOSTING_TYPE = 0i32; +pub const SRPHOSTING_TYPE_WINHTTP: SRPHOSTING_TYPE = 1i32; +pub const SRPHOSTING_TYPE_WININET: SRPHOSTING_TYPE = 2i32; +pub const SRPHOSTING_VERSION1: SRPHOSTING_VERSION = 1i32; +pub type ENTERPRISE_DATA_POLICIES = i32; +pub type SRPHOSTING_TYPE = i32; +pub type SRPHOSTING_VERSION = i32; +#[repr(C)] +pub struct FILE_UNPROTECT_OPTIONS { + pub audit: u8, +} +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_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 + } +} 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 0000000..bd5d335 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs @@ -0,0 +1,1273 @@ +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("eappprxy.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +::windows_targets::link!("eappprxy.dll" "system" fn EapHostPeerClearConnection(pconnectionid : *mut ::windows_sys::core::GUID, ppeaperror : *mut *mut EAP_ERROR) -> u32); +#[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com"))] +::windows_targets::link!("eappcfg.dll" "system" #[doc = "Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`"] 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); +#[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com"))] +::windows_targets::link!("eappcfg.dll" "system" #[doc = "Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`"] 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); +#[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com"))] +::windows_targets::link!("eappcfg.dll" "system" #[doc = "Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`"] 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); +::windows_targets::link!("eappprxy.dll" "system" fn EapHostPeerEndSession(sessionhandle : u32, ppeaperror : *mut *mut EAP_ERROR) -> u32); +::windows_targets::link!("eappprxy.dll" "system" fn EapHostPeerFreeEapError(peaperror : *mut EAP_ERROR) -> ()); +::windows_targets::link!("eappcfg.dll" "system" fn EapHostPeerFreeErrorMemory(peaperror : *mut EAP_ERROR) -> ()); +::windows_targets::link!("eappcfg.dll" "system" fn EapHostPeerFreeMemory(pdata : *mut u8) -> ()); +::windows_targets::link!("eappprxy.dll" "system" fn EapHostPeerFreeRuntimeMemory(pdata : *mut u8) -> ()); +::windows_targets::link!("eappprxy.dll" "system" fn EapHostPeerGetAuthStatus(sessionhandle : u32, authparam : EapHostPeerAuthParams, pcbauthdata : *mut u32, ppauthdata : *mut *mut u8, ppeaperror : *mut *mut EAP_ERROR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("eappprxy.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +::windows_targets::link!("eappprxy.dll" "system" fn EapHostPeerGetEncryptedPassword(dwsizeofpassword : u32, szpassword : ::windows_sys::core::PCWSTR, ppszencpassword : *mut ::windows_sys::core::PWSTR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("eappprxy.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("eappcfg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +::windows_targets::link!("eappcfg.dll" "system" fn EapHostPeerGetMethods(peapmethodinfoarray : *mut EAP_METHOD_INFO_ARRAY, ppeaperror : *mut *mut EAP_ERROR) -> u32); +::windows_targets::link!("eappprxy.dll" "system" fn EapHostPeerGetResponseAttributes(sessionhandle : u32, pattribs : *mut EAP_ATTRIBUTES, ppeaperror : *mut *mut EAP_ERROR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("eappprxy.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EapHostPeerGetResult(sessionhandle : u32, reason : EapHostPeerMethodResultReason, ppresult : *mut EapHostPeerMethodResult, ppeaperror : *mut *mut EAP_ERROR) -> u32); +::windows_targets::link!("eappprxy.dll" "system" fn EapHostPeerGetSendPacket(sessionhandle : u32, pcbsendpacket : *mut u32, ppsendpacket : *mut *mut u8, ppeaperror : *mut *mut EAP_ERROR) -> u32); +::windows_targets::link!("eappprxy.dll" "system" fn EapHostPeerGetUIContext(sessionhandle : u32, pdwsizeofuicontextdata : *mut u32, ppuicontextdata : *mut *mut u8, ppeaperror : *mut *mut EAP_ERROR) -> u32); +::windows_targets::link!("eappprxy.dll" "system" fn EapHostPeerInitialize() -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("eappcfg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("eappcfg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("eappcfg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +::windows_targets::link!("eappprxy.dll" "system" fn EapHostPeerProcessReceivedPacket(sessionhandle : u32, cbreceivepacket : u32, preceivepacket : *const u8, peapoutput : *mut EapHostPeerResponseAction, ppeaperror : *mut *mut EAP_ERROR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("eappcfg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +::windows_targets::link!("eappcfg.dll" "system" 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); +::windows_targets::link!("eappcfg.dll" "system" 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("eappcfg.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +::windows_targets::link!("eappprxy.dll" "system" fn EapHostPeerSetResponseAttributes(sessionhandle : u32, pattribs : *const EAP_ATTRIBUTES, peapoutput : *mut EapHostPeerResponseAction, ppeaperror : *mut *mut EAP_ERROR) -> u32); +::windows_targets::link!("eappprxy.dll" "system" fn EapHostPeerSetUIContext(sessionhandle : u32, dwsizeofuicontextdata : u32, puicontextdata : *const u8, peapoutput : *mut EapHostPeerResponseAction, ppeaperror : *mut *mut EAP_ERROR) -> u32); +::windows_targets::link!("eappprxy.dll" "system" fn EapHostPeerUninitialize() -> ()); +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; +pub const CERTIFICATE_HASH_LENGTH: u32 = 20u32; +pub const EAPACTION_Authenticate: PPP_EAP_ACTION = 1i32; +pub const EAPACTION_Done: PPP_EAP_ACTION = 2i32; +pub const EAPACTION_IndicateIdentity: PPP_EAP_ACTION = 8i32; +pub const EAPACTION_IndicateTLV: PPP_EAP_ACTION = 7i32; +pub const EAPACTION_NoAction: PPP_EAP_ACTION = 0i32; +pub const EAPACTION_Send: PPP_EAP_ACTION = 4i32; +pub const EAPACTION_SendAndDone: PPP_EAP_ACTION = 3i32; +pub const EAPACTION_SendWithTimeout: PPP_EAP_ACTION = 5i32; +pub const EAPACTION_SendWithTimeoutInteractive: PPP_EAP_ACTION = 6i32; +pub const EAPCODE_Failure: u32 = 4u32; +pub const EAPCODE_Request: u32 = 1u32; +pub const EAPCODE_Response: u32 = 2u32; +pub const EAPCODE_Success: u32 = 3u32; +pub const EAPHOST_METHOD_API_VERSION: u32 = 1u32; +pub const EAPHOST_PEER_API_VERSION: u32 = 1u32; +pub const EAP_AUTHENTICATOR_SEND_TIMEOUT_BASIC: EAP_AUTHENTICATOR_SEND_TIMEOUT = 1i32; +pub const EAP_AUTHENTICATOR_SEND_TIMEOUT_INTERACTIVE: EAP_AUTHENTICATOR_SEND_TIMEOUT = 2i32; +pub const EAP_AUTHENTICATOR_SEND_TIMEOUT_NONE: EAP_AUTHENTICATOR_SEND_TIMEOUT = 0i32; +pub const EAP_AUTHENTICATOR_VALUENAME_CONFIGUI: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AuthenticatorConfigUIPath"); +pub const EAP_AUTHENTICATOR_VALUENAME_DLL_PATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AuthenticatorDllPath"); +pub const EAP_AUTHENTICATOR_VALUENAME_FRIENDLY_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("AuthenticatorFriendlyName"); +pub const EAP_AUTHENTICATOR_VALUENAME_PROPERTIES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Properties"); +pub const EAP_CERTIFICATE_CREDENTIAL: EapCredentialType = 3i32; +pub const EAP_CONFIG_INPUT_FIELD_PROPS_DEFAULT: u32 = 0u32; +pub const EAP_CONFIG_INPUT_FIELD_PROPS_NON_DISPLAYABLE: u32 = 1u32; +pub const EAP_CONFIG_INPUT_FIELD_PROPS_NON_PERSIST: u32 = 2u32; +pub const EAP_CREDENTIAL_VERSION: u32 = 1u32; +pub const EAP_EMPTY_CREDENTIAL: EapCredentialType = 0i32; +pub const EAP_E_AUTHENTICATION_FAILED: u32 = 2151809045u32; +pub const EAP_E_CERT_STORE_INACCESSIBLE: u32 = 2151809040u32; +pub const EAP_E_EAPHOST_EAPQEC_INACCESSIBLE: u32 = 2151809043u32; +pub const EAP_E_EAPHOST_FIRST: i32 = -2143158272i32; +pub const EAP_E_EAPHOST_IDENTITY_UNKNOWN: u32 = 2151809044u32; +pub const EAP_E_EAPHOST_LAST: i32 = -2143158017i32; +pub const EAP_E_EAPHOST_METHOD_INVALID_PACKET: u32 = 2151809047u32; +pub const EAP_E_EAPHOST_METHOD_NOT_INSTALLED: u32 = 2151809041u32; +pub const EAP_E_EAPHOST_METHOD_OPERATION_NOT_SUPPORTED: u32 = 2151809056u32; +pub const EAP_E_EAPHOST_REMOTE_INVALID_PACKET: u32 = 2151809048u32; +pub const EAP_E_EAPHOST_THIRDPARTY_METHOD_HOST_RESET: u32 = 2151809042u32; +pub const EAP_E_EAPHOST_XML_MALFORMED: u32 = 2151809049u32; +pub const EAP_E_METHOD_CONFIG_DOES_NOT_SUPPORT_SSO: u32 = 2151809050u32; +pub const EAP_E_NO_SMART_CARD_READER: u32 = 2151809299u32; +pub const EAP_E_SERVER_CERT_EXPIRED: u32 = 2151809538u32; +pub const EAP_E_SERVER_CERT_INVALID: u32 = 2151809537u32; +pub const EAP_E_SERVER_CERT_NOT_FOUND: u32 = 2151809536u32; +pub const EAP_E_SERVER_CERT_OTHER_ERROR: u32 = 2151809540u32; +pub const EAP_E_SERVER_CERT_REVOKED: u32 = 2151809539u32; +pub const EAP_E_SERVER_FIRST: i32 = -2143157760i32; +pub const EAP_E_SERVER_LAST: i32 = -2143157505i32; +pub const EAP_E_SERVER_ROOT_CERT_FIRST: i32 = -2143157248i32; +pub const EAP_E_SERVER_ROOT_CERT_INVALID: u32 = 2151810049u32; +pub const EAP_E_SERVER_ROOT_CERT_LAST: i32 = -2143156993i32; +pub const EAP_E_SERVER_ROOT_CERT_NAME_REQUIRED: u32 = 2151810054u32; +pub const EAP_E_SERVER_ROOT_CERT_NOT_FOUND: u32 = 2151810048u32; +pub const EAP_E_SIM_NOT_VALID: u32 = 2151810304u32; +pub const EAP_E_USER_CERT_EXPIRED: u32 = 2151809282u32; +pub const EAP_E_USER_CERT_INVALID: u32 = 2151809281u32; +pub const EAP_E_USER_CERT_NOT_FOUND: u32 = 2151809280u32; +pub const EAP_E_USER_CERT_OTHER_ERROR: u32 = 2151809284u32; +pub const EAP_E_USER_CERT_REJECTED: u32 = 2151809285u32; +pub const EAP_E_USER_CERT_REVOKED: u32 = 2151809283u32; +pub const EAP_E_USER_CREDENTIALS_REJECTED: u32 = 2151809297u32; +pub const EAP_E_USER_FIRST: i32 = -2143158016i32; +pub const EAP_E_USER_LAST: i32 = -2143157761i32; +pub const EAP_E_USER_NAME_PASSWORD_REJECTED: u32 = 2151809298u32; +pub const EAP_E_USER_ROOT_CERT_EXPIRED: u32 = 2151809794u32; +pub const EAP_E_USER_ROOT_CERT_FIRST: i32 = -2143157504i32; +pub const EAP_E_USER_ROOT_CERT_INVALID: u32 = 2151809793u32; +pub const EAP_E_USER_ROOT_CERT_LAST: i32 = -2143157249i32; +pub const EAP_E_USER_ROOT_CERT_NOT_FOUND: u32 = 2151809792u32; +pub const EAP_FLAG_CONFG_READONLY: u32 = 524288u32; +pub const EAP_FLAG_FULL_AUTH: u32 = 4096u32; +pub const EAP_FLAG_GUEST_ACCESS: u32 = 64u32; +pub const EAP_FLAG_LOGON: u32 = 4u32; +pub const EAP_FLAG_MACHINE_AUTH: u32 = 32u32; +pub const EAP_FLAG_NON_INTERACTIVE: u32 = 2u32; +pub const EAP_FLAG_ONLY_EAP_TLS: u32 = 16777216u32; +pub const EAP_FLAG_PREFER_ALT_CREDENTIALS: u32 = 8192u32; +pub const EAP_FLAG_PREVIEW: u32 = 8u32; +pub const EAP_FLAG_PRE_LOGON: u32 = 131072u32; +pub const EAP_FLAG_RESUME_FROM_HIBERNATE: u32 = 512u32; +pub const EAP_FLAG_Reserved1: u32 = 1u32; +pub const EAP_FLAG_Reserved2: u32 = 16u32; +pub const EAP_FLAG_Reserved3: u32 = 128u32; +pub const EAP_FLAG_Reserved4: u32 = 256u32; +pub const EAP_FLAG_Reserved5: u32 = 1024u32; +pub const EAP_FLAG_Reserved6: u32 = 2048u32; +pub const EAP_FLAG_Reserved7: u32 = 16384u32; +pub const EAP_FLAG_Reserved8: u32 = 1048576u32; +pub const EAP_FLAG_Reserved9: u32 = 4194304u32; +pub const EAP_FLAG_SERVER_VALIDATION_REQUIRED: u32 = 33554432u32; +pub const EAP_FLAG_SUPRESS_UI: u32 = 65536u32; +pub const EAP_FLAG_USER_AUTH: u32 = 262144u32; +pub const EAP_FLAG_VPN: u32 = 8388608u32; +pub const EAP_GROUP_MASK: i32 = 65280i32; +pub const EAP_INTERACTIVE_UI_DATA_VERSION: u32 = 1u32; +pub const EAP_INVALID_PACKET: u32 = 2151809048u32; +pub const EAP_I_EAPHOST_EAP_NEGOTIATION_FAILED: u32 = 1078067222u32; +pub const EAP_I_EAPHOST_FIRST: i32 = -2143158272i32; +pub const EAP_I_EAPHOST_LAST: i32 = -2143158017i32; +pub const EAP_I_USER_ACCOUNT_OTHER_ERROR: u32 = 1078067472u32; +pub const EAP_I_USER_FIRST: i32 = 1078067456i32; +pub const EAP_I_USER_LAST: i32 = 1078067711i32; +pub const EAP_METHOD_AUTHENTICATOR_CONFIG_IS_IDENTITY_PRIVACY: u32 = 1u32; +pub const EAP_METHOD_AUTHENTICATOR_RESPONSE_AUTHENTICATE: EAP_METHOD_AUTHENTICATOR_RESPONSE_ACTION = 4i32; +pub const EAP_METHOD_AUTHENTICATOR_RESPONSE_DISCARD: EAP_METHOD_AUTHENTICATOR_RESPONSE_ACTION = 0i32; +pub const EAP_METHOD_AUTHENTICATOR_RESPONSE_HANDLE_IDENTITY: EAP_METHOD_AUTHENTICATOR_RESPONSE_ACTION = 5i32; +pub const EAP_METHOD_AUTHENTICATOR_RESPONSE_RESPOND: EAP_METHOD_AUTHENTICATOR_RESPONSE_ACTION = 3i32; +pub const EAP_METHOD_AUTHENTICATOR_RESPONSE_RESULT: EAP_METHOD_AUTHENTICATOR_RESPONSE_ACTION = 2i32; +pub const EAP_METHOD_AUTHENTICATOR_RESPONSE_SEND: EAP_METHOD_AUTHENTICATOR_RESPONSE_ACTION = 1i32; +pub const EAP_METHOD_INVALID_PACKET: u32 = 2151809047u32; +pub const EAP_PEER_FLAG_GUEST_ACCESS: u32 = 64u32; +pub const EAP_PEER_FLAG_HEALTH_STATE_CHANGE: u32 = 32768u32; +pub const EAP_PEER_VALUENAME_CONFIGUI: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PeerConfigUIPath"); +pub const EAP_PEER_VALUENAME_DLL_PATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PeerDllPath"); +pub const EAP_PEER_VALUENAME_FRIENDLY_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PeerFriendlyName"); +pub const EAP_PEER_VALUENAME_IDENTITY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PeerIdentityPath"); +pub const EAP_PEER_VALUENAME_INTERACTIVEUI: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PeerInteractiveUIPath"); +pub const EAP_PEER_VALUENAME_INVOKE_NAMEDLG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PeerInvokeUsernameDialog"); +pub const EAP_PEER_VALUENAME_INVOKE_PWDDLG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PeerInvokePasswordDialog"); +pub const EAP_PEER_VALUENAME_PROPERTIES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Properties"); +pub const EAP_PEER_VALUENAME_REQUIRE_CONFIGUI: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PeerRequireConfigUI"); +pub const EAP_REGISTRY_LOCATION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("System\\CurrentControlSet\\Services\\EapHost\\Methods"); +pub const EAP_SIM_CREDENTIAL: EapCredentialType = 4i32; +pub const EAP_UI_INPUT_FIELD_PROPS_DEFAULT: u32 = 0u32; +pub const EAP_UI_INPUT_FIELD_PROPS_NON_DISPLAYABLE: u32 = 1u32; +pub const EAP_UI_INPUT_FIELD_PROPS_NON_PERSIST: u32 = 2u32; +pub const EAP_UI_INPUT_FIELD_PROPS_READ_ONLY: u32 = 4u32; +pub const EAP_USERNAME_PASSWORD_CREDENTIAL: EapCredentialType = 1i32; +pub const EAP_VALUENAME_PROPERTIES: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Properties"); +pub const EAP_WINLOGON_CREDENTIAL: EapCredentialType = 2i32; +pub const EapCodeFailure: EapCode = 4i32; +pub const EapCodeMaximum: EapCode = 4i32; +pub const EapCodeMinimum: EapCode = 1i32; +pub const EapCodeRequest: EapCode = 1i32; +pub const EapCodeResponse: EapCode = 2i32; +pub const EapCodeSuccess: EapCode = 3i32; +pub const EapConfigInputEdit: EAP_CONFIG_INPUT_FIELD_TYPE = 6i32; +pub const EapConfigInputNetworkPassword: EAP_CONFIG_INPUT_FIELD_TYPE = 3i32; +pub const EapConfigInputNetworkUsername: EAP_CONFIG_INPUT_FIELD_TYPE = 2i32; +pub const EapConfigInputPSK: EAP_CONFIG_INPUT_FIELD_TYPE = 5i32; +pub const EapConfigInputPassword: EAP_CONFIG_INPUT_FIELD_TYPE = 1i32; +pub const EapConfigInputPin: EAP_CONFIG_INPUT_FIELD_TYPE = 4i32; +pub const EapConfigInputUsername: EAP_CONFIG_INPUT_FIELD_TYPE = 0i32; +pub const EapConfigSmartCardError: EAP_CONFIG_INPUT_FIELD_TYPE = 8i32; +pub const EapConfigSmartCardUsername: EAP_CONFIG_INPUT_FIELD_TYPE = 7i32; +pub const EapCredExpiryReq: EAP_INTERACTIVE_UI_DATA_TYPE = 2i32; +pub const EapCredExpiryResp: EAP_INTERACTIVE_UI_DATA_TYPE = 3i32; +pub const EapCredLogonReq: EAP_INTERACTIVE_UI_DATA_TYPE = 4i32; +pub const EapCredLogonResp: EAP_INTERACTIVE_UI_DATA_TYPE = 5i32; +pub const EapCredReq: EAP_INTERACTIVE_UI_DATA_TYPE = 0i32; +pub const EapCredResp: EAP_INTERACTIVE_UI_DATA_TYPE = 1i32; +pub const EapHostAuthFailed: EAPHOST_AUTH_STATUS = 6i32; +pub const EapHostAuthIdentityExchange: EAPHOST_AUTH_STATUS = 2i32; +pub const EapHostAuthInProgress: EAPHOST_AUTH_STATUS = 4i32; +pub const EapHostAuthNegotiatingType: EAPHOST_AUTH_STATUS = 3i32; +pub const EapHostAuthNotStarted: EAPHOST_AUTH_STATUS = 1i32; +pub const EapHostAuthSucceeded: EAPHOST_AUTH_STATUS = 5i32; +pub const EapHostInvalidSession: EAPHOST_AUTH_STATUS = 0i32; +pub const EapHostNapInfo: EapHostPeerAuthParams = 4i32; +pub const EapHostPeerAuthStatus: EapHostPeerAuthParams = 1i32; +pub const EapHostPeerIdentity: EapHostPeerAuthParams = 2i32; +pub const EapHostPeerIdentityExtendedInfo: EapHostPeerAuthParams = 3i32; +pub const EapHostPeerMethodResultAltSuccessReceived: EapHostPeerMethodResultReason = 1i32; +pub const EapHostPeerMethodResultFromMethod: EapHostPeerMethodResultReason = 3i32; +pub const EapHostPeerMethodResultTimeout: EapHostPeerMethodResultReason = 2i32; +pub const EapHostPeerResponseDiscard: EapHostPeerResponseAction = 0i32; +pub const EapHostPeerResponseInvokeUi: EapHostPeerResponseAction = 3i32; +pub const EapHostPeerResponseNone: EapHostPeerResponseAction = 6i32; +pub const EapHostPeerResponseRespond: EapHostPeerResponseAction = 4i32; +pub const EapHostPeerResponseResult: EapHostPeerResponseAction = 2i32; +pub const EapHostPeerResponseSend: EapHostPeerResponseAction = 1i32; +pub const EapHostPeerResponseStartAuthentication: EapHostPeerResponseAction = 5i32; +pub const EapPeerMethodResponseActionDiscard: EapPeerMethodResponseAction = 0i32; +pub const EapPeerMethodResponseActionInvokeUI: EapPeerMethodResponseAction = 3i32; +pub const EapPeerMethodResponseActionNone: EapPeerMethodResponseAction = 5i32; +pub const EapPeerMethodResponseActionRespond: EapPeerMethodResponseAction = 4i32; +pub const EapPeerMethodResponseActionResult: EapPeerMethodResponseAction = 2i32; +pub const EapPeerMethodResponseActionSend: EapPeerMethodResponseAction = 1i32; +pub const EapPeerMethodResultFailure: EapPeerMethodResultReason = 3i32; +pub const EapPeerMethodResultSuccess: EapPeerMethodResultReason = 2i32; +pub const EapPeerMethodResultUnknown: EapPeerMethodResultReason = 1i32; +pub const FACILITY_EAP_MESSAGE: u32 = 2114u32; +pub const GUID_EapHost_Cause_CertStoreInaccessible: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000004); +pub const GUID_EapHost_Cause_EapNegotiationFailed: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000001c); +pub const GUID_EapHost_Cause_EapQecInaccessible: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000312); +pub const GUID_EapHost_Cause_Generic_AuthFailure: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000104); +pub const GUID_EapHost_Cause_IdentityUnknown: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000204); +pub const GUID_EapHost_Cause_MethodDLLNotFound: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000001); +pub const GUID_EapHost_Cause_MethodDoesNotSupportOperation: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000001e); +pub const GUID_EapHost_Cause_Method_Config_Does_Not_Support_Sso: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xda18bd32_004f_41fa_ae08_0bc85e5845ac); +pub const GUID_EapHost_Cause_No_SmartCardReader_Found: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000002b); +pub const GUID_EapHost_Cause_Server_CertExpired: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000005); +pub const GUID_EapHost_Cause_Server_CertInvalid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000006); +pub const GUID_EapHost_Cause_Server_CertNotFound: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000007); +pub const GUID_EapHost_Cause_Server_CertOtherError: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000108); +pub const GUID_EapHost_Cause_Server_CertRevoked: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000008); +pub const GUID_EapHost_Cause_Server_Root_CertNameRequired: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000012); +pub const GUID_EapHost_Cause_Server_Root_CertNotFound: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000112); +pub const GUID_EapHost_Cause_SimNotValid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000304); +pub const GUID_EapHost_Cause_ThirdPartyMethod_Host_Reset: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000212); +pub const GUID_EapHost_Cause_User_Account_OtherProblem: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000010e); +pub const GUID_EapHost_Cause_User_CertExpired: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000009); +pub const GUID_EapHost_Cause_User_CertInvalid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000000a); +pub const GUID_EapHost_Cause_User_CertNotFound: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000000b); +pub const GUID_EapHost_Cause_User_CertOtherError: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000000c); +pub const GUID_EapHost_Cause_User_CertRejected: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000000d); +pub const GUID_EapHost_Cause_User_CertRevoked: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000000e); +pub const GUID_EapHost_Cause_User_CredsRejected: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000020e); +pub const GUID_EapHost_Cause_User_Root_CertExpired: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000000f); +pub const GUID_EapHost_Cause_User_Root_CertInvalid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000010); +pub const GUID_EapHost_Cause_User_Root_CertNotFound: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000011); +pub const GUID_EapHost_Cause_XmlMalformed: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000001d); +pub const GUID_EapHost_Default: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x00000000_0000_0000_0000_000000000000); +pub const GUID_EapHost_Help_ObtainingCerts: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf535eea3_1bdd_46ca_a2fc_a6655939b7e8); +pub const GUID_EapHost_Help_Troubleshooting: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x33307acf_0698_41ba_b014_ea0a2eb8d0a8); +pub const GUID_EapHost_Repair_ContactAdmin_AuthFailure: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000001f); +pub const GUID_EapHost_Repair_ContactAdmin_CertNameAbsent: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000029); +pub const GUID_EapHost_Repair_ContactAdmin_CertStoreInaccessible: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000024); +pub const GUID_EapHost_Repair_ContactAdmin_IdentityUnknown: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000020); +pub const GUID_EapHost_Repair_ContactAdmin_InvalidUserAccount: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000025); +pub const GUID_EapHost_Repair_ContactAdmin_InvalidUserCert: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000002c); +pub const GUID_EapHost_Repair_ContactAdmin_MethodNotFound: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000022); +pub const GUID_EapHost_Repair_ContactAdmin_NegotiationFailed: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000021); +pub const GUID_EapHost_Repair_ContactAdmin_NoSmartCardReader: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000002a); +pub const GUID_EapHost_Repair_ContactAdmin_RootCertInvalid: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000026); +pub const GUID_EapHost_Repair_ContactAdmin_RootCertNotFound: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000027); +pub const GUID_EapHost_Repair_ContactAdmin_RootExpired: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000028); +pub const GUID_EapHost_Repair_ContactSysadmin: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000002); +pub const GUID_EapHost_Repair_Method_Not_Support_Sso: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000002d); +pub const GUID_EapHost_Repair_No_ValidSim_Found: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000002e); +pub const GUID_EapHost_Repair_RestartNap: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000023); +pub const GUID_EapHost_Repair_Retry_Authentication: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000011b); +pub const GUID_EapHost_Repair_Server_ClientSelectServerCert: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000018); +pub const GUID_EapHost_Repair_User_AuthFailure: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d800000019); +pub const GUID_EapHost_Repair_User_GetNewCert: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000001a); +pub const GUID_EapHost_Repair_User_SelectValidCert: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x9612fc67_6150_4209_a85e_a8d80000001b); +pub const ISOLATION_STATE_IN_PROBATION: ISOLATION_STATE = 2i32; +pub const ISOLATION_STATE_NOT_RESTRICTED: ISOLATION_STATE = 1i32; +pub const ISOLATION_STATE_RESTRICTED_ACCESS: ISOLATION_STATE = 3i32; +pub const ISOLATION_STATE_UNKNOWN: ISOLATION_STATE = 0i32; +pub const MAXEAPCODE: u32 = 4u32; +pub const MAX_EAP_CONFIG_INPUT_FIELD_LENGTH: u32 = 256u32; +pub const MAX_EAP_CONFIG_INPUT_FIELD_VALUE_LENGTH: u32 = 1024u32; +pub const NCRYPT_PIN_CACHE_PIN_BYTE_LENGTH: u32 = 90u32; +pub const RAS_EAP_FLAG_8021X_AUTH: u32 = 128u32; +pub const RAS_EAP_FLAG_ALTERNATIVE_USER_DB: u32 = 2048u32; +pub const RAS_EAP_FLAG_CONFG_READONLY: u32 = 524288u32; +pub const RAS_EAP_FLAG_FIRST_LINK: u32 = 16u32; +pub const RAS_EAP_FLAG_GUEST_ACCESS: u32 = 64u32; +pub const RAS_EAP_FLAG_HOSTED_IN_PEAP: u32 = 256u32; +pub const RAS_EAP_FLAG_LOGON: u32 = 4u32; +pub const RAS_EAP_FLAG_MACHINE_AUTH: u32 = 32u32; +pub const RAS_EAP_FLAG_NON_INTERACTIVE: u32 = 2u32; +pub const RAS_EAP_FLAG_PEAP_FORCE_FULL_AUTH: u32 = 4096u32; +pub const RAS_EAP_FLAG_PEAP_UPFRONT: u32 = 1024u32; +pub const RAS_EAP_FLAG_PREVIEW: u32 = 8u32; +pub const RAS_EAP_FLAG_PRE_LOGON: u32 = 131072u32; +pub const RAS_EAP_FLAG_RESERVED: u32 = 1048576u32; +pub const RAS_EAP_FLAG_RESUME_FROM_HIBERNATE: u32 = 512u32; +pub const RAS_EAP_FLAG_ROUTER: u32 = 1u32; +pub const RAS_EAP_FLAG_SAVE_CREDMAN: u32 = 2097152u32; +pub const RAS_EAP_FLAG_SERVER_VALIDATION_REQUIRED: u32 = 33554432u32; +pub const RAS_EAP_REGISTRY_LOCATION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("System\\CurrentControlSet\\Services\\Rasman\\PPP\\EAP"); +pub const RAS_EAP_ROLE_AUTHENTICATEE: u32 = 2u32; +pub const RAS_EAP_ROLE_AUTHENTICATOR: u32 = 1u32; +pub const RAS_EAP_ROLE_EXCLUDE_IN_EAP: u32 = 4u32; +pub const RAS_EAP_ROLE_EXCLUDE_IN_PEAP: u32 = 8u32; +pub const RAS_EAP_ROLE_EXCLUDE_IN_VPN: u32 = 16u32; +pub const RAS_EAP_VALUENAME_CONFIGUI: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ConfigUIPath"); +pub const RAS_EAP_VALUENAME_CONFIG_CLSID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ConfigCLSID"); +pub const RAS_EAP_VALUENAME_DEFAULT_DATA: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("ConfigData"); +pub const RAS_EAP_VALUENAME_ENCRYPTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MPPEEncryptionSupported"); +pub const RAS_EAP_VALUENAME_FILTER_INNERMETHODS: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FilterInnerMethods"); +pub const RAS_EAP_VALUENAME_FRIENDLY_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("FriendlyName"); +pub const RAS_EAP_VALUENAME_IDENTITY: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IdentityPath"); +pub const RAS_EAP_VALUENAME_INTERACTIVEUI: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("InteractiveUIPath"); +pub const RAS_EAP_VALUENAME_INVOKE_NAMEDLG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("InvokeUsernameDialog"); +pub const RAS_EAP_VALUENAME_INVOKE_PWDDLG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("InvokePasswordDialog"); +pub const RAS_EAP_VALUENAME_ISTUNNEL_METHOD: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("IsTunnelMethod"); +pub const RAS_EAP_VALUENAME_PATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Path"); +pub const RAS_EAP_VALUENAME_PER_POLICY_CONFIG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("PerPolicyConfig"); +pub const RAS_EAP_VALUENAME_REQUIRE_CONFIGUI: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RequireConfigUI"); +pub const RAS_EAP_VALUENAME_ROLES_SUPPORTED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("RolesSupported"); +pub const RAS_EAP_VALUENAME_STANDALONE_SUPPORTED: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("StandaloneSupported"); +pub const eapPropCertifiedMethod: u32 = 4194304u32; +pub const eapPropChannelBinding: u32 = 65536u32; +pub const eapPropCipherSuiteNegotiation: u32 = 1u32; +pub const eapPropConfidentiality: u32 = 16u32; +pub const eapPropCryptoBinding: u32 = 8192u32; +pub const eapPropDictionaryAttackResistance: u32 = 2048u32; +pub const eapPropFastReconnect: u32 = 4096u32; +pub const eapPropFragmentation: u32 = 32768u32; +pub const eapPropHiddenMethod: u32 = 8388608u32; +pub const eapPropIdentityPrivacy: u32 = 67108864u32; +pub const eapPropIntegrity: u32 = 4u32; +pub const eapPropKeyDerivation: u32 = 32u32; +pub const eapPropKeyStrength1024: u32 = 1024u32; +pub const eapPropKeyStrength128: u32 = 128u32; +pub const eapPropKeyStrength256: u32 = 256u32; +pub const eapPropKeyStrength512: u32 = 512u32; +pub const eapPropKeyStrength64: u32 = 64u32; +pub const eapPropMachineAuth: u32 = 16777216u32; +pub const eapPropMethodChaining: u32 = 134217728u32; +pub const eapPropMppeEncryption: u32 = 524288u32; +pub const eapPropMutualAuth: u32 = 2u32; +pub const eapPropNap: u32 = 131072u32; +pub const eapPropReplayProtection: u32 = 8u32; +pub const eapPropReserved: u32 = 2147483648u32; +pub const eapPropSessionIndependence: u32 = 16384u32; +pub const eapPropSharedStateEquivalence: u32 = 268435456u32; +pub const eapPropStandalone: u32 = 262144u32; +pub const eapPropSupportsConfig: u32 = 2097152u32; +pub const eapPropTunnelMethod: u32 = 1048576u32; +pub const eapPropUserAuth: u32 = 33554432u32; +pub const eatARAPChallengeResponse: EAP_ATTRIBUTE_TYPE = 84i32; +pub const eatARAPFeatures: EAP_ATTRIBUTE_TYPE = 71i32; +pub const eatARAPGuestLogon: EAP_ATTRIBUTE_TYPE = 8096i32; +pub const eatARAPPassword: EAP_ATTRIBUTE_TYPE = 70i32; +pub const eatARAPSecurity: EAP_ATTRIBUTE_TYPE = 73i32; +pub const eatARAPSecurityData: EAP_ATTRIBUTE_TYPE = 74i32; +pub const eatARAPZoneAccess: EAP_ATTRIBUTE_TYPE = 72i32; +pub const eatAcctAuthentic: EAP_ATTRIBUTE_TYPE = 45i32; +pub const eatAcctDelayTime: EAP_ATTRIBUTE_TYPE = 41i32; +pub const eatAcctEventTimeStamp: EAP_ATTRIBUTE_TYPE = 55i32; +pub const eatAcctInputOctets: EAP_ATTRIBUTE_TYPE = 42i32; +pub const eatAcctInputPackets: EAP_ATTRIBUTE_TYPE = 47i32; +pub const eatAcctInterimInterval: EAP_ATTRIBUTE_TYPE = 85i32; +pub const eatAcctLinkCount: EAP_ATTRIBUTE_TYPE = 51i32; +pub const eatAcctMultiSessionId: EAP_ATTRIBUTE_TYPE = 50i32; +pub const eatAcctOutputOctets: EAP_ATTRIBUTE_TYPE = 43i32; +pub const eatAcctOutputPackets: EAP_ATTRIBUTE_TYPE = 48i32; +pub const eatAcctSessionId: EAP_ATTRIBUTE_TYPE = 44i32; +pub const eatAcctSessionTime: EAP_ATTRIBUTE_TYPE = 46i32; +pub const eatAcctStatusType: EAP_ATTRIBUTE_TYPE = 40i32; +pub const eatAcctTerminateCause: EAP_ATTRIBUTE_TYPE = 49i32; +pub const eatCallbackId: EAP_ATTRIBUTE_TYPE = 20i32; +pub const eatCallbackNumber: EAP_ATTRIBUTE_TYPE = 19i32; +pub const eatCalledStationId: EAP_ATTRIBUTE_TYPE = 30i32; +pub const eatCallingStationId: EAP_ATTRIBUTE_TYPE = 31i32; +pub const eatCertificateOID: EAP_ATTRIBUTE_TYPE = 8097i32; +pub const eatCertificateThumbprint: EAP_ATTRIBUTE_TYPE = 8250i32; +pub const eatClass: EAP_ATTRIBUTE_TYPE = 25i32; +pub const eatClearTextPassword: EAP_ATTRIBUTE_TYPE = 8107i32; +pub const eatConfigurationToken: EAP_ATTRIBUTE_TYPE = 78i32; +pub const eatConnectInfo: EAP_ATTRIBUTE_TYPE = 77i32; +pub const eatCredentialsChanged: EAP_ATTRIBUTE_TYPE = 8103i32; +pub const eatEAPConfiguration: EAP_ATTRIBUTE_TYPE = 8098i32; +pub const eatEAPMessage: EAP_ATTRIBUTE_TYPE = 79i32; +pub const eatEAPTLV: EAP_ATTRIBUTE_TYPE = 8102i32; +pub const eatEMSK: EAP_ATTRIBUTE_TYPE = 9003i32; +pub const eatFastRoamedSession: EAP_ATTRIBUTE_TYPE = 8100i32; +pub const eatFilterId: EAP_ATTRIBUTE_TYPE = 11i32; +pub const eatFramedAppleTalkLink: EAP_ATTRIBUTE_TYPE = 37i32; +pub const eatFramedAppleTalkNetwork: EAP_ATTRIBUTE_TYPE = 38i32; +pub const eatFramedAppleTalkZone: EAP_ATTRIBUTE_TYPE = 39i32; +pub const eatFramedCompression: EAP_ATTRIBUTE_TYPE = 13i32; +pub const eatFramedIPAddress: EAP_ATTRIBUTE_TYPE = 8i32; +pub const eatFramedIPNetmask: EAP_ATTRIBUTE_TYPE = 9i32; +pub const eatFramedIPXNetwork: EAP_ATTRIBUTE_TYPE = 23i32; +pub const eatFramedIPv6Pool: EAP_ATTRIBUTE_TYPE = 100i32; +pub const eatFramedIPv6Prefix: EAP_ATTRIBUTE_TYPE = 97i32; +pub const eatFramedIPv6Route: EAP_ATTRIBUTE_TYPE = 99i32; +pub const eatFramedInterfaceId: EAP_ATTRIBUTE_TYPE = 96i32; +pub const eatFramedMTU: EAP_ATTRIBUTE_TYPE = 12i32; +pub const eatFramedProtocol: EAP_ATTRIBUTE_TYPE = 7i32; +pub const eatFramedRoute: EAP_ATTRIBUTE_TYPE = 22i32; +pub const eatFramedRouting: EAP_ATTRIBUTE_TYPE = 10i32; +pub const eatIdleTimeout: EAP_ATTRIBUTE_TYPE = 28i32; +pub const eatInnerEapMethodType: EAP_ATTRIBUTE_TYPE = 8104i32; +pub const eatLoginIPHost: EAP_ATTRIBUTE_TYPE = 14i32; +pub const eatLoginIPv6Host: EAP_ATTRIBUTE_TYPE = 98i32; +pub const eatLoginLATGroup: EAP_ATTRIBUTE_TYPE = 36i32; +pub const eatLoginLATNode: EAP_ATTRIBUTE_TYPE = 35i32; +pub const eatLoginLATPort: EAP_ATTRIBUTE_TYPE = 63i32; +pub const eatLoginLATService: EAP_ATTRIBUTE_TYPE = 34i32; +pub const eatLoginService: EAP_ATTRIBUTE_TYPE = 15i32; +pub const eatLoginTCPPort: EAP_ATTRIBUTE_TYPE = 16i32; +pub const eatMD5CHAPChallenge: EAP_ATTRIBUTE_TYPE = 60i32; +pub const eatMD5CHAPPassword: EAP_ATTRIBUTE_TYPE = 3i32; +pub const eatMethodId: EAP_ATTRIBUTE_TYPE = 9002i32; +pub const eatMinimum: EAP_ATTRIBUTE_TYPE = 0i32; +pub const eatNASIPAddress: EAP_ATTRIBUTE_TYPE = 4i32; +pub const eatNASIPv6Address: EAP_ATTRIBUTE_TYPE = 95i32; +pub const eatNASIdentifier: EAP_ATTRIBUTE_TYPE = 32i32; +pub const eatNASPort: EAP_ATTRIBUTE_TYPE = 5i32; +pub const eatNASPortType: EAP_ATTRIBUTE_TYPE = 61i32; +pub const eatPEAPEmbeddedEAPTypeId: EAP_ATTRIBUTE_TYPE = 8099i32; +pub const eatPEAPFastRoamedSession: EAP_ATTRIBUTE_TYPE = 8100i32; +pub const eatPasswordRetry: EAP_ATTRIBUTE_TYPE = 75i32; +pub const eatPeerId: EAP_ATTRIBUTE_TYPE = 9000i32; +pub const eatPortLimit: EAP_ATTRIBUTE_TYPE = 62i32; +pub const eatPrompt: EAP_ATTRIBUTE_TYPE = 76i32; +pub const eatProxyState: EAP_ATTRIBUTE_TYPE = 33i32; +pub const eatQuarantineSoH: EAP_ATTRIBUTE_TYPE = 8150i32; +pub const eatReplyMessage: EAP_ATTRIBUTE_TYPE = 18i32; +pub const eatReserved: EAP_ATTRIBUTE_TYPE = -1i32; +pub const eatServerId: EAP_ATTRIBUTE_TYPE = 9001i32; +pub const eatServiceType: EAP_ATTRIBUTE_TYPE = 6i32; +pub const eatSessionId: EAP_ATTRIBUTE_TYPE = 9004i32; +pub const eatSessionTimeout: EAP_ATTRIBUTE_TYPE = 27i32; +pub const eatSignature: EAP_ATTRIBUTE_TYPE = 80i32; +pub const eatState: EAP_ATTRIBUTE_TYPE = 24i32; +pub const eatTerminationAction: EAP_ATTRIBUTE_TYPE = 29i32; +pub const eatTunnelClientEndpoint: EAP_ATTRIBUTE_TYPE = 66i32; +pub const eatTunnelMediumType: EAP_ATTRIBUTE_TYPE = 65i32; +pub const eatTunnelServerEndpoint: EAP_ATTRIBUTE_TYPE = 67i32; +pub const eatTunnelType: EAP_ATTRIBUTE_TYPE = 64i32; +pub const eatUnassigned17: EAP_ATTRIBUTE_TYPE = 17i32; +pub const eatUnassigned21: EAP_ATTRIBUTE_TYPE = 21i32; +pub const eatUserName: EAP_ATTRIBUTE_TYPE = 1i32; +pub const eatUserPassword: EAP_ATTRIBUTE_TYPE = 2i32; +pub const eatVendorSpecific: EAP_ATTRIBUTE_TYPE = 26i32; +pub const emptLegacyMethodPropertyFlag: EAP_METHOD_PROPERTY_TYPE = 31i32; +pub const emptPropCertifiedMethod: EAP_METHOD_PROPERTY_TYPE = 22i32; +pub const emptPropChannelBinding: EAP_METHOD_PROPERTY_TYPE = 16i32; +pub const emptPropCipherSuiteNegotiation: EAP_METHOD_PROPERTY_TYPE = 0i32; +pub const emptPropConfidentiality: EAP_METHOD_PROPERTY_TYPE = 4i32; +pub const emptPropCryptoBinding: EAP_METHOD_PROPERTY_TYPE = 13i32; +pub const emptPropDictionaryAttackResistance: EAP_METHOD_PROPERTY_TYPE = 11i32; +pub const emptPropFastReconnect: EAP_METHOD_PROPERTY_TYPE = 12i32; +pub const emptPropFragmentation: EAP_METHOD_PROPERTY_TYPE = 15i32; +pub const emptPropHiddenMethod: EAP_METHOD_PROPERTY_TYPE = 23i32; +pub const emptPropIdentityPrivacy: EAP_METHOD_PROPERTY_TYPE = 26i32; +pub const emptPropIntegrity: EAP_METHOD_PROPERTY_TYPE = 2i32; +pub const emptPropKeyDerivation: EAP_METHOD_PROPERTY_TYPE = 5i32; +pub const emptPropKeyStrength1024: EAP_METHOD_PROPERTY_TYPE = 10i32; +pub const emptPropKeyStrength128: EAP_METHOD_PROPERTY_TYPE = 7i32; +pub const emptPropKeyStrength256: EAP_METHOD_PROPERTY_TYPE = 8i32; +pub const emptPropKeyStrength512: EAP_METHOD_PROPERTY_TYPE = 9i32; +pub const emptPropKeyStrength64: EAP_METHOD_PROPERTY_TYPE = 6i32; +pub const emptPropMachineAuth: EAP_METHOD_PROPERTY_TYPE = 24i32; +pub const emptPropMethodChaining: EAP_METHOD_PROPERTY_TYPE = 27i32; +pub const emptPropMppeEncryption: EAP_METHOD_PROPERTY_TYPE = 19i32; +pub const emptPropMutualAuth: EAP_METHOD_PROPERTY_TYPE = 1i32; +pub const emptPropNap: EAP_METHOD_PROPERTY_TYPE = 17i32; +pub const emptPropReplayProtection: EAP_METHOD_PROPERTY_TYPE = 3i32; +pub const emptPropSessionIndependence: EAP_METHOD_PROPERTY_TYPE = 14i32; +pub const emptPropSharedStateEquivalence: EAP_METHOD_PROPERTY_TYPE = 28i32; +pub const emptPropStandalone: EAP_METHOD_PROPERTY_TYPE = 18i32; +pub const emptPropSupportsConfig: EAP_METHOD_PROPERTY_TYPE = 21i32; +pub const emptPropTunnelMethod: EAP_METHOD_PROPERTY_TYPE = 20i32; +pub const emptPropUserAuth: EAP_METHOD_PROPERTY_TYPE = 25i32; +pub const emptPropVendorSpecific: EAP_METHOD_PROPERTY_TYPE = 255i32; +pub const empvtBool: EAP_METHOD_PROPERTY_VALUE_TYPE = 0i32; +pub const empvtDword: EAP_METHOD_PROPERTY_VALUE_TYPE = 1i32; +pub const empvtString: EAP_METHOD_PROPERTY_VALUE_TYPE = 2i32; +pub const raatARAPChallenge: u32 = 33u32; +pub const raatARAPChallengeResponse: RAS_AUTH_ATTRIBUTE_TYPE = 84i32; +pub const raatARAPFeatures: RAS_AUTH_ATTRIBUTE_TYPE = 71i32; +pub const raatARAPGuestLogon: RAS_AUTH_ATTRIBUTE_TYPE = 8096i32; +pub const raatARAPNewPassword: u32 = 20u32; +pub const raatARAPOldPassword: u32 = 19u32; +pub const raatARAPPassword: RAS_AUTH_ATTRIBUTE_TYPE = 70i32; +pub const raatARAPPasswordChangeReason: u32 = 21u32; +pub const raatARAPSecurity: RAS_AUTH_ATTRIBUTE_TYPE = 73i32; +pub const raatARAPSecurityData: RAS_AUTH_ATTRIBUTE_TYPE = 74i32; +pub const raatARAPZoneAccess: RAS_AUTH_ATTRIBUTE_TYPE = 72i32; +pub const raatAcctAuthentic: RAS_AUTH_ATTRIBUTE_TYPE = 45i32; +pub const raatAcctDelayTime: RAS_AUTH_ATTRIBUTE_TYPE = 41i32; +pub const raatAcctEventTimeStamp: RAS_AUTH_ATTRIBUTE_TYPE = 55i32; +pub const raatAcctInputOctets: RAS_AUTH_ATTRIBUTE_TYPE = 42i32; +pub const raatAcctInputPackets: RAS_AUTH_ATTRIBUTE_TYPE = 47i32; +pub const raatAcctInterimInterval: RAS_AUTH_ATTRIBUTE_TYPE = 85i32; +pub const raatAcctLinkCount: RAS_AUTH_ATTRIBUTE_TYPE = 51i32; +pub const raatAcctMultiSessionId: RAS_AUTH_ATTRIBUTE_TYPE = 50i32; +pub const raatAcctOutputOctets: RAS_AUTH_ATTRIBUTE_TYPE = 43i32; +pub const raatAcctOutputPackets: RAS_AUTH_ATTRIBUTE_TYPE = 48i32; +pub const raatAcctSessionId: RAS_AUTH_ATTRIBUTE_TYPE = 44i32; +pub const raatAcctSessionTime: RAS_AUTH_ATTRIBUTE_TYPE = 46i32; +pub const raatAcctStatusType: RAS_AUTH_ATTRIBUTE_TYPE = 40i32; +pub const raatAcctTerminateCause: RAS_AUTH_ATTRIBUTE_TYPE = 49i32; +pub const raatCallbackId: RAS_AUTH_ATTRIBUTE_TYPE = 20i32; +pub const raatCallbackNumber: RAS_AUTH_ATTRIBUTE_TYPE = 19i32; +pub const raatCalledStationId: RAS_AUTH_ATTRIBUTE_TYPE = 30i32; +pub const raatCallingStationId: RAS_AUTH_ATTRIBUTE_TYPE = 31i32; +pub const raatCertificateOID: RAS_AUTH_ATTRIBUTE_TYPE = 8097i32; +pub const raatCertificateThumbprint: RAS_AUTH_ATTRIBUTE_TYPE = 8250i32; +pub const raatClass: RAS_AUTH_ATTRIBUTE_TYPE = 25i32; +pub const raatConfigurationToken: RAS_AUTH_ATTRIBUTE_TYPE = 78i32; +pub const raatConnectInfo: RAS_AUTH_ATTRIBUTE_TYPE = 77i32; +pub const raatCredentialsChanged: RAS_AUTH_ATTRIBUTE_TYPE = 8103i32; +pub const raatEAPConfiguration: RAS_AUTH_ATTRIBUTE_TYPE = 8098i32; +pub const raatEAPMessage: RAS_AUTH_ATTRIBUTE_TYPE = 79i32; +pub const raatEAPTLV: RAS_AUTH_ATTRIBUTE_TYPE = 8102i32; +pub const raatEMSK: RAS_AUTH_ATTRIBUTE_TYPE = 9003i32; +pub const raatFastRoamedSession: RAS_AUTH_ATTRIBUTE_TYPE = 8100i32; +pub const raatFilterId: RAS_AUTH_ATTRIBUTE_TYPE = 11i32; +pub const raatFramedAppleTalkLink: RAS_AUTH_ATTRIBUTE_TYPE = 37i32; +pub const raatFramedAppleTalkNetwork: RAS_AUTH_ATTRIBUTE_TYPE = 38i32; +pub const raatFramedAppleTalkZone: RAS_AUTH_ATTRIBUTE_TYPE = 39i32; +pub const raatFramedCompression: RAS_AUTH_ATTRIBUTE_TYPE = 13i32; +pub const raatFramedIPAddress: RAS_AUTH_ATTRIBUTE_TYPE = 8i32; +pub const raatFramedIPNetmask: RAS_AUTH_ATTRIBUTE_TYPE = 9i32; +pub const raatFramedIPXNetwork: RAS_AUTH_ATTRIBUTE_TYPE = 23i32; +pub const raatFramedIPv6Pool: RAS_AUTH_ATTRIBUTE_TYPE = 100i32; +pub const raatFramedIPv6Prefix: RAS_AUTH_ATTRIBUTE_TYPE = 97i32; +pub const raatFramedIPv6Route: RAS_AUTH_ATTRIBUTE_TYPE = 99i32; +pub const raatFramedInterfaceId: RAS_AUTH_ATTRIBUTE_TYPE = 96i32; +pub const raatFramedMTU: RAS_AUTH_ATTRIBUTE_TYPE = 12i32; +pub const raatFramedProtocol: RAS_AUTH_ATTRIBUTE_TYPE = 7i32; +pub const raatFramedRoute: RAS_AUTH_ATTRIBUTE_TYPE = 22i32; +pub const raatFramedRouting: RAS_AUTH_ATTRIBUTE_TYPE = 10i32; +pub const raatIdleTimeout: RAS_AUTH_ATTRIBUTE_TYPE = 28i32; +pub const raatInnerEAPTypeId: RAS_AUTH_ATTRIBUTE_TYPE = 8099i32; +pub const raatLoginIPHost: RAS_AUTH_ATTRIBUTE_TYPE = 14i32; +pub const raatLoginIPv6Host: RAS_AUTH_ATTRIBUTE_TYPE = 98i32; +pub const raatLoginLATGroup: RAS_AUTH_ATTRIBUTE_TYPE = 36i32; +pub const raatLoginLATNode: RAS_AUTH_ATTRIBUTE_TYPE = 35i32; +pub const raatLoginLATPort: RAS_AUTH_ATTRIBUTE_TYPE = 63i32; +pub const raatLoginLATService: RAS_AUTH_ATTRIBUTE_TYPE = 34i32; +pub const raatLoginService: RAS_AUTH_ATTRIBUTE_TYPE = 15i32; +pub const raatLoginTCPPort: RAS_AUTH_ATTRIBUTE_TYPE = 16i32; +pub const raatMD5CHAPChallenge: RAS_AUTH_ATTRIBUTE_TYPE = 60i32; +pub const raatMD5CHAPPassword: RAS_AUTH_ATTRIBUTE_TYPE = 3i32; +pub const raatMethodId: RAS_AUTH_ATTRIBUTE_TYPE = 9002i32; +pub const raatMinimum: RAS_AUTH_ATTRIBUTE_TYPE = 0i32; +pub const raatNASIPAddress: RAS_AUTH_ATTRIBUTE_TYPE = 4i32; +pub const raatNASIPv6Address: RAS_AUTH_ATTRIBUTE_TYPE = 95i32; +pub const raatNASIdentifier: RAS_AUTH_ATTRIBUTE_TYPE = 32i32; +pub const raatNASPort: RAS_AUTH_ATTRIBUTE_TYPE = 5i32; +pub const raatNASPortType: RAS_AUTH_ATTRIBUTE_TYPE = 61i32; +pub const raatPEAPEmbeddedEAPTypeId: RAS_AUTH_ATTRIBUTE_TYPE = 8099i32; +pub const raatPEAPFastRoamedSession: RAS_AUTH_ATTRIBUTE_TYPE = 8100i32; +pub const raatPasswordRetry: RAS_AUTH_ATTRIBUTE_TYPE = 75i32; +pub const raatPeerId: RAS_AUTH_ATTRIBUTE_TYPE = 9000i32; +pub const raatPortLimit: RAS_AUTH_ATTRIBUTE_TYPE = 62i32; +pub const raatPrompt: RAS_AUTH_ATTRIBUTE_TYPE = 76i32; +pub const raatProxyState: RAS_AUTH_ATTRIBUTE_TYPE = 33i32; +pub const raatReplyMessage: RAS_AUTH_ATTRIBUTE_TYPE = 18i32; +pub const raatReserved: RAS_AUTH_ATTRIBUTE_TYPE = -1i32; +pub const raatServerId: RAS_AUTH_ATTRIBUTE_TYPE = 9001i32; +pub const raatServiceType: RAS_AUTH_ATTRIBUTE_TYPE = 6i32; +pub const raatSessionId: RAS_AUTH_ATTRIBUTE_TYPE = 9004i32; +pub const raatSessionTimeout: RAS_AUTH_ATTRIBUTE_TYPE = 27i32; +pub const raatSignature: RAS_AUTH_ATTRIBUTE_TYPE = 80i32; +pub const raatState: RAS_AUTH_ATTRIBUTE_TYPE = 24i32; +pub const raatTerminationAction: RAS_AUTH_ATTRIBUTE_TYPE = 29i32; +pub const raatTunnelClientEndpoint: RAS_AUTH_ATTRIBUTE_TYPE = 66i32; +pub const raatTunnelMediumType: RAS_AUTH_ATTRIBUTE_TYPE = 65i32; +pub const raatTunnelServerEndpoint: RAS_AUTH_ATTRIBUTE_TYPE = 67i32; +pub const raatTunnelType: RAS_AUTH_ATTRIBUTE_TYPE = 64i32; +pub const raatUnassigned17: RAS_AUTH_ATTRIBUTE_TYPE = 17i32; +pub const raatUnassigned21: RAS_AUTH_ATTRIBUTE_TYPE = 21i32; +pub const raatUserName: RAS_AUTH_ATTRIBUTE_TYPE = 1i32; +pub const raatUserPassword: RAS_AUTH_ATTRIBUTE_TYPE = 2i32; +pub const raatVendorSpecific: RAS_AUTH_ATTRIBUTE_TYPE = 26i32; +pub type EAPHOST_AUTH_STATUS = i32; +pub type EAP_ATTRIBUTE_TYPE = i32; +pub type EAP_AUTHENTICATOR_SEND_TIMEOUT = i32; +pub type EAP_CONFIG_INPUT_FIELD_TYPE = i32; +pub type EAP_INTERACTIVE_UI_DATA_TYPE = i32; +pub type EAP_METHOD_AUTHENTICATOR_RESPONSE_ACTION = i32; +pub type EAP_METHOD_PROPERTY_TYPE = i32; +pub type EAP_METHOD_PROPERTY_VALUE_TYPE = i32; +pub type EapCode = i32; +pub type EapCredentialType = i32; +pub type EapHostPeerAuthParams = i32; +pub type EapHostPeerMethodResultReason = i32; +pub type EapHostPeerResponseAction = i32; +pub type EapPeerMethodResponseAction = i32; +pub type EapPeerMethodResultReason = i32; +pub type ISOLATION_STATE = i32; +pub type PPP_EAP_ACTION = i32; +pub type RAS_AUTH_ATTRIBUTE_TYPE = i32; +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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)] +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)] +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)] +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)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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_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_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)] +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)] +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 + } +} +pub type NotificationHandler = ::core::option::Option<unsafe extern "system" fn(connectionid: ::windows_sys::core::GUID, pcontextdata: *mut ::core::ffi::c_void) -> ()>; 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 0000000..d999430 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/Security/Isolation/mod.rs @@ -0,0 +1,38 @@ +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("userenv.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +::windows_targets::link!("userenv.dll" "system" fn DeleteAppContainerProfile(pszappcontainername : ::windows_sys::core::PCWSTR) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("userenv.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DeriveAppContainerSidFromAppContainerName(pszappcontainername : ::windows_sys::core::PCWSTR, ppsidappcontainersid : *mut super::super::Foundation:: PSID) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("userenv.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DeriveRestrictedAppContainerSidFromAppContainerSidAndRestrictedName(psidappcontainersid : super::super::Foundation:: PSID, pszrestrictedappcontainername : ::windows_sys::core::PCWSTR, ppsidrestrictedappcontainersid : *mut super::super::Foundation:: PSID) -> ::windows_sys::core::HRESULT); +::windows_targets::link!("userenv.dll" "system" fn GetAppContainerFolderPath(pszappcontainersid : ::windows_sys::core::PCWSTR, ppszpath : *mut ::windows_sys::core::PWSTR) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_System_Registry")] +::windows_targets::link!("userenv.dll" "system" #[doc = "Required features: `\"Win32_System_Registry\"`"] fn GetAppContainerRegistryLocation(desiredaccess : u32, phappcontainerkey : *mut super::super::System::Registry:: HKEY) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("isolatedwindowsenvironmentutils.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsCrossIsolatedEnvironmentClipboardContent(iscrossisolatedenvironmentclipboardcontent : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("api-ms-win-security-isolatedcontainer-l1-1-0.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsProcessInIsolatedContainer(isprocessinisolatedcontainer : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("isolatedwindowsenvironmentutils.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsProcessInIsolatedWindowsEnvironment(isprocessinisolatedwindowsenvironment : *mut super::super::Foundation:: BOOL) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("api-ms-win-security-isolatedcontainer-l1-1-1.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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::from_u128(0xbc812430_e75e_4fd1_9641_1f9f1e2d9a1f); +pub const WDAG_CLIPBOARD_TAG: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CrossIsolatedEnvironmentContent"); +#[repr(C)] +#[doc = "Required features: `\"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 0000000..ba46d61 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/Security/LicenseProtection/mod.rs @@ -0,0 +1,9 @@ +::windows_targets::link!("licenseprotection.dll" "system" fn RegisterLicenseKeyWithExpiration(licensekey : ::windows_sys::core::PCWSTR, validityindays : u32, status : *mut LicenseProtectionStatus) -> ::windows_sys::core::HRESULT); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("licenseprotection.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +pub const LicenseKeyAlreadyExists: LicenseProtectionStatus = 4i32; +pub const LicenseKeyCorrupted: LicenseProtectionStatus = 3i32; +pub const LicenseKeyNotFound: LicenseProtectionStatus = 1i32; +pub const LicenseKeyUnprotected: LicenseProtectionStatus = 2i32; +pub const Success: LicenseProtectionStatus = 0i32; +pub type LicenseProtectionStatus = i32; 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 0000000..2701dc7 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/Security/NetworkAccessProtection/mod.rs @@ -0,0 +1,244 @@ +pub const ComponentTypeEnforcementClientRp: u32 = 2u32; +pub const ComponentTypeEnforcementClientSoH: u32 = 1u32; +pub const extendedIsolationStateInfected: ExtendedIsolationState = 2i32; +pub const extendedIsolationStateNoData: ExtendedIsolationState = 0i32; +pub const extendedIsolationStateTransition: ExtendedIsolationState = 1i32; +pub const extendedIsolationStateUnknown: ExtendedIsolationState = 3i32; +pub const failureCategoryClientCommunication: FailureCategory = 3i32; +pub const failureCategoryClientComponent: FailureCategory = 2i32; +pub const failureCategoryCount: u32 = 5u32; +pub const failureCategoryNone: FailureCategory = 0i32; +pub const failureCategoryOther: FailureCategory = 1i32; +pub const failureCategoryServerCommunication: FailureCategory = 5i32; +pub const failureCategoryServerComponent: FailureCategory = 4i32; +pub const fixupStateCouldNotUpdate: FixupState = 2i32; +pub const fixupStateInProgress: FixupState = 1i32; +pub const fixupStateSuccess: FixupState = 0i32; +pub const freshSoHRequest: u32 = 1u32; +pub const isolationStateInProbation: IsolationState = 2i32; +pub const isolationStateNotRestricted: IsolationState = 1i32; +pub const isolationStateRestrictedAccess: IsolationState = 3i32; +pub const maxConnectionCountPerEnforcer: u32 = 20u32; +pub const maxEnforcerCount: u32 = 20u32; +pub const maxNetworkSoHSize: u32 = 4000u32; +pub const maxPrivateDataSize: u32 = 200u32; +pub const maxSoHAttributeCount: u32 = 100u32; +pub const maxSoHAttributeSize: u32 = 4000u32; +pub const maxStringLength: u32 = 1024u32; +pub const maxSystemHealthEntityCount: u32 = 20u32; +pub const minNetworkSoHSize: u32 = 12u32; +pub const napNotifyTypeQuarState: NapNotifyType = 2i32; +pub const napNotifyTypeServiceState: NapNotifyType = 1i32; +pub const napNotifyTypeUnknown: NapNotifyType = 0i32; +pub const percentageNotSupported: u32 = 101u32; +pub const remoteConfigTypeConfigBlob: RemoteConfigurationType = 2i32; +pub const remoteConfigTypeMachine: RemoteConfigurationType = 1i32; +pub const shaFixup: u32 = 1u32; +pub const tracingLevelAdvanced: NapTracingLevel = 2i32; +pub const tracingLevelBasic: NapTracingLevel = 1i32; +pub const tracingLevelDebug: NapTracingLevel = 3i32; +pub const tracingLevelUndefined: NapTracingLevel = 0i32; +pub type ExtendedIsolationState = i32; +pub type FailureCategory = i32; +pub type FixupState = i32; +pub type IsolationState = i32; +pub type NapNotifyType = i32; +pub type NapTracingLevel = i32; +pub type RemoteConfigurationType = i32; +#[repr(C)] +#[doc = "Required features: `\"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)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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)] +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 + } +} +#[repr(C)] +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)] +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_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_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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)] +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)] +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)] +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 + } +} 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 0000000..175a037 --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/Security/WinTrust/mod.rs @@ -0,0 +1,1284 @@ +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OpenPersonalTrustDBDialog(hwndparent : super::super::Foundation:: HWND) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn OpenPersonalTrustDBDialogEx(hwndparent : super::super::Foundation:: HWND, dwflags : u32, pvreserved : *mut *mut ::core::ffi::c_void) -> super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn WTHelperCertCheckValidSignature(pprovdata : *mut CRYPT_PROVIDER_DATA) -> ::windows_sys::core::HRESULT); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] fn WTHelperCertIsSelfSigned(dwencoding : u32, pcert : *mut super::Cryptography:: CERT_INFO) -> super::super::Foundation:: BOOL); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] fn WTHelperGetProvCertFromChain(psgnr : *mut CRYPT_PROVIDER_SGNR, idxcert : u32) -> *mut CRYPT_PROVIDER_CERT); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn WTHelperGetProvPrivateDataFromChain(pprovdata : *mut CRYPT_PROVIDER_DATA, pgproviderid : *mut ::windows_sys::core::GUID) -> *mut CRYPT_PROVIDER_PRIVDATA); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn WTHelperGetProvSignerFromChain(pprovdata : *mut CRYPT_PROVIDER_DATA, idxsigner : u32, fcountersigner : super::super::Foundation:: BOOL, idxcountersigner : u32) -> *mut CRYPT_PROVIDER_SGNR); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn WTHelperProvDataFromStateData(hstatedata : super::super::Foundation:: HANDLE) -> *mut CRYPT_PROVIDER_DATA); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WinVerifyTrust(hwnd : super::super::Foundation:: HWND, pgactionid : *mut ::windows_sys::core::GUID, pwvtdata : *mut ::core::ffi::c_void) -> i32); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography"))] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`"] fn WinVerifyTrustEx(hwnd : super::super::Foundation:: HWND, pgactionid : *mut ::windows_sys::core::GUID, pwintrustdata : *mut WINTRUST_DATA) -> i32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WintrustAddActionID(pgactionid : *const ::windows_sys::core::GUID, fdwflags : u32, psprovinfo : *const CRYPT_REGISTER_ACTIONID) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WintrustAddDefaultForUsage(pszusageoid : ::windows_sys::core::PCSTR, psdefusage : *const CRYPT_PROVIDER_REGDEFUSAGE) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WintrustGetDefaultForUsage(dwaction : WINTRUST_GET_DEFAULT_FOR_USAGE_ACTION, pszusageoid : ::windows_sys::core::PCSTR, psusage : *mut CRYPT_PROVIDER_DEFUSAGE) -> super::super::Foundation:: BOOL); +::windows_targets::link!("wintrust.dll" "system" fn WintrustGetRegPolicyFlags(pdwpolicyflags : *mut WINTRUST_POLICY_FLAGS) -> ()); +#[cfg(all(feature = "Win32_Foundation", feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography_Catalog\"`, `\"Win32_Security_Cryptography_Sip\"`"] fn WintrustLoadFunctionPointers(pgactionid : *mut ::windows_sys::core::GUID, ppfns : *mut CRYPT_PROVIDER_FUNCTIONS) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WintrustRemoveActionID(pgactionid : *const ::windows_sys::core::GUID) -> super::super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WintrustSetDefaultIncludePEPageHashes(fincludepepagehashes : super::super::Foundation:: BOOL) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("wintrust.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn WintrustSetRegPolicyFlags(dwpolicyflags : WINTRUST_POLICY_FLAGS) -> super::super::Foundation:: BOOL); +pub const CAT_MEMBERINFO2_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.12.2.3"); +pub const CAT_MEMBERINFO2_STRUCT: ::windows_sys::core::PCSTR = 2223i32 as _; +pub const CAT_MEMBERINFO_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.12.2.2"); +pub const CAT_MEMBERINFO_STRUCT: ::windows_sys::core::PCSTR = 2222i32 as _; +pub const CAT_NAMEVALUE_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.12.2.1"); +pub const CAT_NAMEVALUE_STRUCT: ::windows_sys::core::PCSTR = 2221i32 as _; +pub const CCPI_RESULT_ALLOW: u32 = 1u32; +pub const CCPI_RESULT_AUDIT: u32 = 3u32; +pub const CCPI_RESULT_DENY: u32 = 2u32; +pub const CERT_CONFIDENCE_AUTHIDEXT: u32 = 65536u32; +pub const CERT_CONFIDENCE_HIGHEST: u32 = 286330880u32; +pub const CERT_CONFIDENCE_HYGIENE: u32 = 4096u32; +pub const CERT_CONFIDENCE_SIG: u32 = 268435456u32; +pub const CERT_CONFIDENCE_TIME: u32 = 16777216u32; +pub const CERT_CONFIDENCE_TIMENEST: u32 = 1048576u32; +pub const CONFIG_CI_ACTION_VERIFY: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6078065b_8f22_4b13_bd9b_5b762776f386); +pub const CPD_CHOICE_SIP: u32 = 1u32; +pub const CPD_RETURN_LOWER_QUALITY_CHAINS: u32 = 1048576u32; +pub const CPD_REVOCATION_CHECK_CHAIN: u32 = 262144u32; +pub const CPD_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT: u32 = 524288u32; +pub const CPD_REVOCATION_CHECK_END_CERT: u32 = 131072u32; +pub const CPD_REVOCATION_CHECK_NONE: u32 = 65536u32; +pub const CPD_RFC3161v21: u32 = 2097152u32; +pub const CPD_UISTATE_MODE_ALLOW: u32 = 2u32; +pub const CPD_UISTATE_MODE_BLOCK: u32 = 1u32; +pub const CPD_UISTATE_MODE_MASK: u32 = 3u32; +pub const CPD_UISTATE_MODE_PROMPT: u32 = 0u32; +pub const CPD_USE_NT5_CHAIN_FLAG: u32 = 2147483648u32; +pub const DRIVER_ACTION_VERIFY: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xf750e6c3_38ee_11d1_85e5_00c04fc295ee); +pub const DRIVER_CLEANUPPOLICY_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DriverCleanupPolicy"); +pub const DRIVER_FINALPOLPROV_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DriverFinalPolicy"); +pub const DRIVER_INITPROV_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("DriverInitializePolicy"); +pub const DWACTION_ALLOCANDFILL: WINTRUST_GET_DEFAULT_FOR_USAGE_ACTION = 1u32; +pub const DWACTION_FREE: WINTRUST_GET_DEFAULT_FOR_USAGE_ACTION = 2u32; +pub const GENERIC_CHAIN_CERTTRUST_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("GenericChainCertificateTrust"); +pub const GENERIC_CHAIN_FINALPOLICY_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("GenericChainFinalProv"); +pub const HTTPSPROV_ACTION: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x573e31f8_aaba_11d0_8ccb_00c04fc295ee); +pub const HTTPS_CERTTRUST_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HTTPSCertificateTrust"); +pub const HTTPS_CHKCERT_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HTTPSCheckCertProv"); +pub const HTTPS_FINALPOLICY_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("HTTPSFinalProv"); +pub const INTENT_TO_SEAL_ATTRIBUTE_STRUCT: ::windows_sys::core::PCSTR = 2010i32 as _; +pub const OFFICESIGN_ACTION_VERIFY: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x5555c2cd_17fb_11d1_85c4_00c04fc295ee); +pub const OFFICE_CLEANUPPOLICY_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("OfficeCleanupPolicy"); +pub const OFFICE_INITPROV_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("OfficeInitializePolicy"); +pub const OFFICE_POLICY_PROVIDER_DLL_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WINTRUST.DLL"); +pub const SEALING_SIGNATURE_ATTRIBUTE_STRUCT: ::windows_sys::core::PCSTR = 2011i32 as _; +pub const SEALING_TIMESTAMP_ATTRIBUTE_STRUCT: ::windows_sys::core::PCSTR = 2012i32 as _; +pub const SGNR_TYPE_TIMESTAMP: u32 = 16u32; +pub const SPC_CAB_DATA_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.1.25"); +pub const SPC_CAB_DATA_STRUCT: ::windows_sys::core::PCSTR = 2008i32 as _; +pub const SPC_CERT_EXTENSIONS_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.1.14"); +pub const SPC_COMMERCIAL_SP_KEY_PURPOSE_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.1.22"); +pub const SPC_COMMON_NAME_OBJID: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("2.5.4.3"); +pub const SPC_ENCRYPTED_DIGEST_RETRY_COUNT_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.6.2"); +pub const SPC_FILE_LINK_CHOICE: u32 = 3u32; +pub const SPC_FINANCIAL_CRITERIA_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.1.27"); +pub const SPC_FINANCIAL_CRITERIA_STRUCT: ::windows_sys::core::PCSTR = 2002i32 as _; +pub const SPC_GLUE_RDN_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.1.25"); +pub const SPC_INDIRECT_DATA_CONTENT_STRUCT: ::windows_sys::core::PCSTR = 2003i32 as _; +pub const SPC_INDIRECT_DATA_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.1.4"); +pub const SPC_INDIVIDUAL_SP_KEY_PURPOSE_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.1.21"); +pub const SPC_JAVA_CLASS_DATA_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.1.20"); +pub const SPC_JAVA_CLASS_DATA_STRUCT: ::windows_sys::core::PCSTR = 2009i32 as _; +pub const SPC_LINK_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.1.28"); +pub const SPC_LINK_STRUCT: ::windows_sys::core::PCSTR = 2005i32 as _; +pub const SPC_MINIMAL_CRITERIA_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.1.26"); +pub const SPC_MINIMAL_CRITERIA_STRUCT: ::windows_sys::core::PCSTR = 2001i32 as _; +pub const SPC_MONIKER_LINK_CHOICE: u32 = 2u32; +pub const SPC_NATURAL_AUTH_PLUGIN_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.96.1.1"); +pub const SPC_PE_IMAGE_DATA_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.1.15"); +pub const SPC_PE_IMAGE_DATA_STRUCT: ::windows_sys::core::PCSTR = 2004i32 as _; +pub const SPC_PE_IMAGE_PAGE_HASHES_V1_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.3.1"); +pub const SPC_PE_IMAGE_PAGE_HASHES_V2_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.3.2"); +pub const SPC_RAW_FILE_DATA_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.1.18"); +pub const SPC_RELAXED_PE_MARKER_CHECK_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.6.1"); +pub const SPC_SIGINFO_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.1.30"); +pub const SPC_SIGINFO_STRUCT: ::windows_sys::core::PCSTR = 2130i32 as _; +pub const SPC_SP_AGENCY_INFO_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.1.10"); +pub const SPC_SP_AGENCY_INFO_STRUCT: ::windows_sys::core::PCSTR = 2000i32 as _; +pub const SPC_SP_OPUS_INFO_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.1.12"); +pub const SPC_SP_OPUS_INFO_STRUCT: ::windows_sys::core::PCSTR = 2007i32 as _; +pub const SPC_STATEMENT_TYPE_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.1.11"); +pub const SPC_STATEMENT_TYPE_STRUCT: ::windows_sys::core::PCSTR = 2006i32 as _; +pub const SPC_STRUCTURED_STORAGE_DATA_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.1.19"); +pub const SPC_TIME_STAMP_REQUEST_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.3.2.1"); +pub const SPC_URL_LINK_CHOICE: u32 = 1u32; +pub const SPC_UUID_LENGTH: u32 = 16u32; +pub const SPC_WINDOWS_HELLO_COMPATIBILITY_OBJID: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.10.41.1"); +pub const SP_CHKCERT_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SoftpubCheckCert"); +pub const SP_CLEANUPPOLICY_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SoftpubCleanup"); +pub const SP_FINALPOLICY_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SoftpubAuthenticode"); +pub const SP_GENERIC_CERT_INIT_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SoftpubDefCertInit"); +pub const SP_INIT_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SoftpubInitialize"); +pub const SP_OBJTRUST_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SoftpubLoadMessage"); +pub const SP_POLICY_PROVIDER_DLL_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WINTRUST.DLL"); +pub const SP_SIGTRUST_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SoftpubLoadSignature"); +pub const SP_TESTDUMPPOLICY_FUNCTION_TEST: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SoftpubDumpStructure"); +pub const TRUSTERROR_MAX_STEPS: u32 = 38u32; +pub const TRUSTERROR_STEP_CATALOGFILE: u32 = 6u32; +pub const TRUSTERROR_STEP_CERTSTORE: u32 = 7u32; +pub const TRUSTERROR_STEP_FILEIO: u32 = 2u32; +pub const TRUSTERROR_STEP_FINAL_CERTCHKPROV: u32 = 35u32; +pub const TRUSTERROR_STEP_FINAL_CERTPROV: u32 = 34u32; +pub const TRUSTERROR_STEP_FINAL_INITPROV: u32 = 31u32; +pub const TRUSTERROR_STEP_FINAL_OBJPROV: u32 = 32u32; +pub const TRUSTERROR_STEP_FINAL_POLICYPROV: u32 = 36u32; +pub const TRUSTERROR_STEP_FINAL_SIGPROV: u32 = 33u32; +pub const TRUSTERROR_STEP_FINAL_UIPROV: u32 = 37u32; +pub const TRUSTERROR_STEP_FINAL_WVTINIT: u32 = 30u32; +pub const TRUSTERROR_STEP_MESSAGE: u32 = 8u32; +pub const TRUSTERROR_STEP_MSG_CERTCHAIN: u32 = 15u32; +pub const TRUSTERROR_STEP_MSG_COUNTERSIGCERT: u32 = 17u32; +pub const TRUSTERROR_STEP_MSG_COUNTERSIGINFO: u32 = 16u32; +pub const TRUSTERROR_STEP_MSG_INNERCNT: u32 = 11u32; +pub const TRUSTERROR_STEP_MSG_INNERCNTTYPE: u32 = 10u32; +pub const TRUSTERROR_STEP_MSG_SIGNERCERT: u32 = 14u32; +pub const TRUSTERROR_STEP_MSG_SIGNERCOUNT: u32 = 9u32; +pub const TRUSTERROR_STEP_MSG_SIGNERINFO: u32 = 13u32; +pub const TRUSTERROR_STEP_MSG_STORE: u32 = 12u32; +pub const TRUSTERROR_STEP_SIP: u32 = 3u32; +pub const TRUSTERROR_STEP_SIPSUBJINFO: u32 = 5u32; +pub const TRUSTERROR_STEP_VERIFY_MSGHASH: u32 = 18u32; +pub const TRUSTERROR_STEP_VERIFY_MSGINDIRECTDATA: u32 = 19u32; +pub const TRUSTERROR_STEP_WVTPARAMS: u32 = 0u32; +pub const WINTRUST_ACTION_GENERIC_CERT_VERIFY: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x189a3842_3041_11d1_85e1_00c04fc295ee); +pub const WINTRUST_ACTION_GENERIC_CHAIN_VERIFY: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xfc451c16_ac75_11d1_b4b8_00c04fb66ea0); +pub const WINTRUST_ACTION_GENERIC_VERIFY_V2: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x00aac56b_cd44_11d0_8cc2_00c04fc295ee); +pub const WINTRUST_ACTION_TRUSTPROVIDER_TEST: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x573e31f8_ddba_11d0_8ccb_00c04fc295ee); +pub const WINTRUST_CONFIG_REGPATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("Software\\Microsoft\\Cryptography\\Wintrust\\Config"); +pub const WINTRUST_MAX_HASH_BYTES_TO_MAP_DEFAULT: u32 = 1048576u32; +pub const WINTRUST_MAX_HASH_BYTES_TO_MAP_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxHashBytesToMap"); +pub const WINTRUST_MAX_HEADER_BYTES_TO_MAP_DEFAULT: u32 = 10485760u32; +pub const WINTRUST_MAX_HEADER_BYTES_TO_MAP_VALUE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("MaxHeaderBytesToMap"); +pub const WIN_CERT_REVISION_1_0: u32 = 256u32; +pub const WIN_CERT_REVISION_2_0: u32 = 512u32; +pub const WIN_CERT_TYPE_PKCS_SIGNED_DATA: u32 = 2u32; +pub const WIN_CERT_TYPE_RESERVED_1: u32 = 3u32; +pub const WIN_CERT_TYPE_TS_STACK_SIGNED: u32 = 4u32; +pub const WIN_CERT_TYPE_X509: u32 = 1u32; +pub const WIN_SPUB_ACTION_NT_ACTIVATE_IMAGE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x8bc96b00_8da1_11cf_8736_00aa00a485eb); +pub const WIN_SPUB_ACTION_PUBLISHED_SOFTWARE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x64b9d180_8da2_11cf_8736_00aa00a485eb); +pub const WIN_SPUB_ACTION_TRUSTED_PUBLISHER: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x66426730_8da1_11cf_8736_00aa00a485eb); +pub const WIN_TRUST_SUBJTYPE_CABINET: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xd17c5374_a392_11cf_9df5_00aa00c184e0); +pub const WIN_TRUST_SUBJTYPE_CABINETEX: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6f458114_c2f1_11cf_8a69_00aa006c3706); +pub const WIN_TRUST_SUBJTYPE_JAVA_CLASS: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x08ad3990_8da1_11cf_8736_00aa00a485eb); +pub const WIN_TRUST_SUBJTYPE_JAVA_CLASSEX: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6f458113_c2f1_11cf_8a69_00aa006c3706); +pub const WIN_TRUST_SUBJTYPE_OLE_STORAGE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0xc257e740_8da0_11cf_8736_00aa00a485eb); +pub const WIN_TRUST_SUBJTYPE_PE_IMAGE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x43c9a1e0_8da0_11cf_8736_00aa00a485eb); +pub const WIN_TRUST_SUBJTYPE_PE_IMAGEEX: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6f458111_c2f1_11cf_8a69_00aa006c3706); +pub const WIN_TRUST_SUBJTYPE_RAW_FILE: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x959dc450_8d9e_11cf_8736_00aa00a485eb); +pub const WIN_TRUST_SUBJTYPE_RAW_FILEEX: ::windows_sys::core::GUID = ::windows_sys::core::GUID::from_u128(0x6f458110_c2f1_11cf_8a69_00aa006c3706); +pub const WSS_CERTTRUST_SUPPORT: u32 = 4u32; +pub const WSS_GET_SECONDARY_SIG_COUNT: WINTRUST_SIGNATURE_SETTINGS_FLAGS = 2u32; +pub const WSS_INPUT_FLAG_MASK: u32 = 7u32; +pub const WSS_OBJTRUST_SUPPORT: u32 = 1u32; +pub const WSS_OUTPUT_FLAG_MASK: u32 = 3758096384u32; +pub const WSS_OUT_FILE_SUPPORTS_SEAL: u32 = 536870912u32; +pub const WSS_OUT_HAS_SEALING_INTENT: u32 = 1073741824u32; +pub const WSS_OUT_SEALING_STATUS_VERIFIED: u32 = 2147483648u32; +pub const WSS_SIGTRUST_SUPPORT: u32 = 2u32; +pub const WSS_VERIFY_SEALING: u32 = 4u32; +pub const WSS_VERIFY_SPECIFIC: WINTRUST_SIGNATURE_SETTINGS_FLAGS = 1u32; +pub const WTCI_DONT_OPEN_STORES: u32 = 1u32; +pub const WTCI_OPEN_ONLY_ROOT: u32 = 2u32; +pub const WTCI_USE_LOCAL_MACHINE: u32 = 4u32; +pub const WTD_CACHE_ONLY_URL_RETRIEVAL: WINTRUST_DATA_PROVIDER_FLAGS = 4096u32; +pub const WTD_CHOICE_BLOB: WINTRUST_DATA_UNION_CHOICE = 3u32; +pub const WTD_CHOICE_CATALOG: WINTRUST_DATA_UNION_CHOICE = 2u32; +pub const WTD_CHOICE_CERT: WINTRUST_DATA_UNION_CHOICE = 5u32; +pub const WTD_CHOICE_FILE: WINTRUST_DATA_UNION_CHOICE = 1u32; +pub const WTD_CHOICE_SIGNER: WINTRUST_DATA_UNION_CHOICE = 4u32; +pub const WTD_CODE_INTEGRITY_DRIVER_MODE: u32 = 32768u32; +pub const WTD_DISABLE_MD2_MD4: WINTRUST_DATA_PROVIDER_FLAGS = 8192u32; +pub const WTD_HASH_ONLY_FLAG: WINTRUST_DATA_PROVIDER_FLAGS = 512u32; +pub const WTD_LIFETIME_SIGNING_FLAG: WINTRUST_DATA_PROVIDER_FLAGS = 2048u32; +pub const WTD_MOTW: WINTRUST_DATA_PROVIDER_FLAGS = 16384u32; +pub const WTD_NO_IE4_CHAIN_FLAG: WINTRUST_DATA_PROVIDER_FLAGS = 2u32; +pub const WTD_NO_POLICY_USAGE_FLAG: WINTRUST_DATA_PROVIDER_FLAGS = 4u32; +pub const WTD_PROV_FLAGS_MASK: u32 = 65535u32; +pub const WTD_REVOCATION_CHECK_CHAIN: WINTRUST_DATA_PROVIDER_FLAGS = 64u32; +pub const WTD_REVOCATION_CHECK_CHAIN_EXCLUDE_ROOT: WINTRUST_DATA_PROVIDER_FLAGS = 128u32; +pub const WTD_REVOCATION_CHECK_END_CERT: WINTRUST_DATA_PROVIDER_FLAGS = 32u32; +pub const WTD_REVOCATION_CHECK_NONE: WINTRUST_DATA_PROVIDER_FLAGS = 16u32; +pub const WTD_REVOKE_NONE: WINTRUST_DATA_REVOCATION_CHECKS = 0u32; +pub const WTD_REVOKE_WHOLECHAIN: WINTRUST_DATA_REVOCATION_CHECKS = 1u32; +pub const WTD_SAFER_FLAG: WINTRUST_DATA_PROVIDER_FLAGS = 256u32; +pub const WTD_STATEACTION_AUTO_CACHE: WINTRUST_DATA_STATE_ACTION = 3u32; +pub const WTD_STATEACTION_AUTO_CACHE_FLUSH: WINTRUST_DATA_STATE_ACTION = 4u32; +pub const WTD_STATEACTION_CLOSE: WINTRUST_DATA_STATE_ACTION = 2u32; +pub const WTD_STATEACTION_IGNORE: WINTRUST_DATA_STATE_ACTION = 0u32; +pub const WTD_STATEACTION_VERIFY: WINTRUST_DATA_STATE_ACTION = 1u32; +pub const WTD_UICONTEXT_EXECUTE: WINTRUST_DATA_UICONTEXT = 0u32; +pub const WTD_UICONTEXT_INSTALL: WINTRUST_DATA_UICONTEXT = 1u32; +pub const WTD_UI_ALL: WINTRUST_DATA_UICHOICE = 1u32; +pub const WTD_UI_NOBAD: WINTRUST_DATA_UICHOICE = 3u32; +pub const WTD_UI_NOGOOD: WINTRUST_DATA_UICHOICE = 4u32; +pub const WTD_UI_NONE: WINTRUST_DATA_UICHOICE = 2u32; +pub const WTD_USE_DEFAULT_OSVER_CHECK: WINTRUST_DATA_PROVIDER_FLAGS = 1024u32; +pub const WTD_USE_IE4_TRUST_FLAG: WINTRUST_DATA_PROVIDER_FLAGS = 1u32; +pub const WTPF_ALLOWONLYPERTRUST: WINTRUST_POLICY_FLAGS = 262144u32; +pub const WTPF_IGNOREEXPIRATION: WINTRUST_POLICY_FLAGS = 256u32; +pub const WTPF_IGNOREREVOCATIONONTS: WINTRUST_POLICY_FLAGS = 131072u32; +pub const WTPF_IGNOREREVOKATION: WINTRUST_POLICY_FLAGS = 512u32; +pub const WTPF_OFFLINEOKNBU_COM: WINTRUST_POLICY_FLAGS = 8192u32; +pub const WTPF_OFFLINEOKNBU_IND: WINTRUST_POLICY_FLAGS = 4096u32; +pub const WTPF_OFFLINEOK_COM: WINTRUST_POLICY_FLAGS = 2048u32; +pub const WTPF_OFFLINEOK_IND: WINTRUST_POLICY_FLAGS = 1024u32; +pub const WTPF_TESTCANBEVALID: WINTRUST_POLICY_FLAGS = 128u32; +pub const WTPF_TRUSTTEST: WINTRUST_POLICY_FLAGS = 32u32; +pub const WTPF_VERIFY_V1_OFF: WINTRUST_POLICY_FLAGS = 65536u32; +pub const WT_ADD_ACTION_ID_RET_RESULT_FLAG: u32 = 1u32; +pub const WT_CURRENT_VERSION: u32 = 512u32; +pub const WT_PROVIDER_CERTTRUST_FUNCTION: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WintrustCertificateTrust"); +pub const WT_PROVIDER_DLL_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("WINTRUST.DLL"); +pub const WT_TRUSTDBDIALOG_NO_UI_FLAG: u32 = 1u32; +pub const WT_TRUSTDBDIALOG_ONLY_PUB_TAB_FLAG: u32 = 2u32; +pub const WT_TRUSTDBDIALOG_WRITE_IEAK_STORE_FLAG: u32 = 512u32; +pub const WT_TRUSTDBDIALOG_WRITE_LEGACY_REG_FLAG: u32 = 256u32; +pub const szOID_ENHANCED_HASH: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.5.1"); +pub const szOID_INTENT_TO_SEAL: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.4.2"); +pub const szOID_NESTED_SIGNATURE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.4.1"); +pub const szOID_PKCS_9_SEQUENCE_NUMBER: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.2.840.113549.1.9.25.4"); +pub const szOID_SEALING_SIGNATURE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.4.3"); +pub const szOID_SEALING_TIMESTAMP: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.4.4"); +pub const szOID_TRUSTED_CLIENT_AUTH_CA_LIST: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.2.2"); +pub const szOID_TRUSTED_CODESIGNING_CA_LIST: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.2.1"); +pub const szOID_TRUSTED_SERVER_AUTH_CA_LIST: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("1.3.6.1.4.1.311.2.2.3"); +pub type WINTRUST_DATA_PROVIDER_FLAGS = u32; +pub type WINTRUST_DATA_REVOCATION_CHECKS = u32; +pub type WINTRUST_DATA_STATE_ACTION = u32; +pub type WINTRUST_DATA_UICHOICE = u32; +pub type WINTRUST_DATA_UICONTEXT = u32; +pub type WINTRUST_DATA_UNION_CHOICE = u32; +pub type WINTRUST_GET_DEFAULT_FOR_USAGE_ACTION = u32; +pub type WINTRUST_POLICY_FLAGS = u32; +pub type WINTRUST_SIGNATURE_SETTINGS_FLAGS = u32; +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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::CRYPT_INTEGER_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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::CRYPT_INTEGER_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_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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_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)] +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_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)] +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)] +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_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_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)] +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_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)] +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)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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::CRYPT_INTEGER_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Security_Cryptography\"`"] +#[cfg(feature = "Win32_Security_Cryptography")] +pub struct SEALING_TIMESTAMP_ATTRIBUTE { + pub version: u32, + pub signerIndex: u32, + pub sealTimeStampToken: super::Cryptography::CRYPT_INTEGER_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Security_Cryptography\"`"] +#[cfg(feature = "Win32_Security_Cryptography")] +pub struct SPC_IMAGE { + pub pImageLink: *mut SPC_LINK, + pub Bitmap: super::Cryptography::CRYPT_INTEGER_BLOB, + pub Metafile: super::Cryptography::CRYPT_INTEGER_BLOB, + pub EnhancedMetafile: super::Cryptography::CRYPT_INTEGER_BLOB, + pub GifFile: super::Cryptography::CRYPT_INTEGER_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_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::CRYPT_INTEGER_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Security_Cryptography\"`"] +#[cfg(feature = "Win32_Security_Cryptography")] +pub struct SPC_SERIALIZED_OBJECT { + pub ClassId: [u8; 16], + pub SerializedData: super::Cryptography::CRYPT_INTEGER_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)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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_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_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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)] +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_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_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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_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_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_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_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_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_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_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_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_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>; +pub type PFN_CPD_MEM_ALLOC = ::core::option::Option<unsafe extern "system" fn(cbsize: u32) -> *mut ::core::ffi::c_void>; +pub type PFN_CPD_MEM_FREE = ::core::option::Option<unsafe extern "system" fn(pvmem2free: *const ::core::ffi::c_void) -> ()>; +#[doc = "Required features: `\"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_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_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_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_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_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_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_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_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_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_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>; 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 0000000..b38228a --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/Security/WinWlx/mod.rs @@ -0,0 +1,491 @@ +pub const STATUSMSG_OPTION_NOANIMATION: u32 = 1u32; +pub const STATUSMSG_OPTION_SETFOREGROUND: u32 = 2u32; +pub const WLX_CONSOLESWITCHCREDENTIAL_TYPE_V1_0: u32 = 1u32; +pub const WLX_CREATE_INSTANCE_ONLY: u32 = 1u32; +pub const WLX_CREATE_USER: u32 = 2u32; +pub const WLX_CREDENTIAL_TYPE_V1_0: u32 = 1u32; +pub const WLX_CREDENTIAL_TYPE_V2_0: u32 = 2u32; +pub const WLX_CURRENT_VERSION: u32 = 65540u32; +pub const WLX_DESKTOP_HANDLE: u32 = 2u32; +pub const WLX_DESKTOP_NAME: u32 = 1u32; +pub const WLX_DIRECTORY_LENGTH: u32 = 256u32; +pub const WLX_DLG_INPUT_TIMEOUT: u32 = 102u32; +pub const WLX_DLG_SAS: u32 = 101u32; +pub const WLX_DLG_SCREEN_SAVER_TIMEOUT: u32 = 103u32; +pub const WLX_DLG_USER_LOGOFF: u32 = 104u32; +pub const WLX_LOGON_OPT_NO_PROFILE: u32 = 1u32; +pub const WLX_OPTION_CONTEXT_POINTER: u32 = 2u32; +pub const WLX_OPTION_DISPATCH_TABLE_SIZE: u32 = 65539u32; +pub const WLX_OPTION_FORCE_LOGOFF_TIME: u32 = 4u32; +pub const WLX_OPTION_IGNORE_AUTO_LOGON: u32 = 8u32; +pub const WLX_OPTION_NO_SWITCH_ON_SAS: u32 = 9u32; +pub const WLX_OPTION_SMART_CARD_INFO: u32 = 65538u32; +pub const WLX_OPTION_SMART_CARD_PRESENT: u32 = 65537u32; +pub const WLX_OPTION_USE_CTRL_ALT_DEL: u32 = 1u32; +pub const WLX_OPTION_USE_SMART_CARD: u32 = 3u32; +pub const WLX_PROFILE_TYPE_V1_0: u32 = 1u32; +pub const WLX_PROFILE_TYPE_V2_0: u32 = 2u32; +pub const WLX_SAS_ACTION_DELAYED_FORCE_LOGOFF: u32 = 16u32; +pub const WLX_SAS_ACTION_FORCE_LOGOFF: u32 = 9u32; +pub const WLX_SAS_ACTION_LOCK_WKSTA: u32 = 3u32; +pub const WLX_SAS_ACTION_LOGOFF: u32 = 4u32; +pub const WLX_SAS_ACTION_LOGON: u32 = 1u32; +pub const WLX_SAS_ACTION_NONE: u32 = 2u32; +pub const WLX_SAS_ACTION_PWD_CHANGED: u32 = 6u32; +pub const WLX_SAS_ACTION_RECONNECTED: u32 = 15u32; +pub const WLX_SAS_ACTION_SHUTDOWN: WLX_SHUTDOWN_TYPE = 5u32; +pub const WLX_SAS_ACTION_SHUTDOWN_HIBERNATE: u32 = 14u32; +pub const WLX_SAS_ACTION_SHUTDOWN_POWER_OFF: WLX_SHUTDOWN_TYPE = 10u32; +pub const WLX_SAS_ACTION_SHUTDOWN_REBOOT: WLX_SHUTDOWN_TYPE = 11u32; +pub const WLX_SAS_ACTION_SHUTDOWN_SLEEP: u32 = 12u32; +pub const WLX_SAS_ACTION_SHUTDOWN_SLEEP2: u32 = 13u32; +pub const WLX_SAS_ACTION_SWITCH_CONSOLE: u32 = 17u32; +pub const WLX_SAS_ACTION_TASKLIST: u32 = 7u32; +pub const WLX_SAS_ACTION_UNLOCK_WKSTA: u32 = 8u32; +pub const WLX_SAS_TYPE_AUTHENTICATED: u32 = 7u32; +pub const WLX_SAS_TYPE_CTRL_ALT_DEL: u32 = 1u32; +pub const WLX_SAS_TYPE_MAX_MSFT_VALUE: u32 = 127u32; +pub const WLX_SAS_TYPE_SCRNSVR_ACTIVITY: u32 = 3u32; +pub const WLX_SAS_TYPE_SCRNSVR_TIMEOUT: u32 = 2u32; +pub const WLX_SAS_TYPE_SC_FIRST_READER_ARRIVED: u32 = 8u32; +pub const WLX_SAS_TYPE_SC_INSERT: u32 = 5u32; +pub const WLX_SAS_TYPE_SC_LAST_READER_REMOVED: u32 = 9u32; +pub const WLX_SAS_TYPE_SC_REMOVE: u32 = 6u32; +pub const WLX_SAS_TYPE_SWITCHUSER: u32 = 10u32; +pub const WLX_SAS_TYPE_TIMEOUT: u32 = 0u32; +pub const WLX_SAS_TYPE_USER_LOGOFF: u32 = 4u32; +pub const WLX_VERSION_1_0: u32 = 65536u32; +pub const WLX_VERSION_1_1: u32 = 65537u32; +pub const WLX_VERSION_1_2: u32 = 65538u32; +pub const WLX_VERSION_1_3: u32 = 65539u32; +pub const WLX_VERSION_1_4: u32 = 65540u32; +pub const WLX_WM_SAS: u32 = 1625u32; +pub type WLX_SHUTDOWN_TYPE = u32; +#[repr(C)] +#[doc = "Required features: `\"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_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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_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_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_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 + } +} +#[repr(C)] +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_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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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_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_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_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_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_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_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_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_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_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_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PWLX_DISCONNECT = ::core::option::Option<unsafe extern "system" fn() -> super::super::Foundation::BOOL>; +#[doc = "Required features: `\"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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub type PWLX_WIN31_MIGRATE = ::core::option::Option<unsafe extern "system" fn(hwlx: super::super::Foundation::HANDLE) -> ()>; 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 0000000..e474d1d --- /dev/null +++ b/vendor/windows-sys/src/Windows/Win32/Security/mod.rs @@ -0,0 +1,1787 @@ +#[cfg(feature = "Win32_Security_AppLocker")] +#[doc = "Required features: `\"Win32_Security_AppLocker\"`"] +pub mod AppLocker; +#[cfg(feature = "Win32_Security_Authentication")] +#[doc = "Required features: `\"Win32_Security_Authentication\"`"] +pub mod Authentication; +#[cfg(feature = "Win32_Security_Authorization")] +#[doc = "Required features: `\"Win32_Security_Authorization\"`"] +pub mod Authorization; +#[cfg(feature = "Win32_Security_Credentials")] +#[doc = "Required features: `\"Win32_Security_Credentials\"`"] +pub mod Credentials; +#[cfg(feature = "Win32_Security_Cryptography")] +#[doc = "Required features: `\"Win32_Security_Cryptography\"`"] +pub mod Cryptography; +#[cfg(feature = "Win32_Security_DiagnosticDataQuery")] +#[doc = "Required features: `\"Win32_Security_DiagnosticDataQuery\"`"] +pub mod DiagnosticDataQuery; +#[cfg(feature = "Win32_Security_DirectoryServices")] +#[doc = "Required features: `\"Win32_Security_DirectoryServices\"`"] +pub mod DirectoryServices; +#[cfg(feature = "Win32_Security_EnterpriseData")] +#[doc = "Required features: `\"Win32_Security_EnterpriseData\"`"] +pub mod EnterpriseData; +#[cfg(feature = "Win32_Security_ExtensibleAuthenticationProtocol")] +#[doc = "Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`"] +pub mod ExtensibleAuthenticationProtocol; +#[cfg(feature = "Win32_Security_Isolation")] +#[doc = "Required features: `\"Win32_Security_Isolation\"`"] +pub mod Isolation; +#[cfg(feature = "Win32_Security_LicenseProtection")] +#[doc = "Required features: `\"Win32_Security_LicenseProtection\"`"] +pub mod LicenseProtection; +#[cfg(feature = "Win32_Security_NetworkAccessProtection")] +#[doc = "Required features: `\"Win32_Security_NetworkAccessProtection\"`"] +pub mod NetworkAccessProtection; +#[cfg(feature = "Win32_Security_WinTrust")] +#[doc = "Required features: `\"Win32_Security_WinTrust\"`"] +pub mod WinTrust; +#[cfg(feature = "Win32_Security_WinWlx")] +#[doc = "Required features: `\"Win32_Security_WinWlx\"`"] +pub mod WinWlx; +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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 super::Foundation:: BOOL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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 super::Foundation:: BOOL, pfgenerateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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 super::Foundation:: BOOL, pfgenerateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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 super::Foundation:: BOOL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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 super::Foundation:: BOOL, pfgenerateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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 super::Foundation:: BOOL, pfgenerateonclose : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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 super::Foundation:: BOOL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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 super::Foundation:: BOOL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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 super::Foundation:: BOOL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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 super::Foundation:: BOOL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddAccessAllowedAce(pacl : *mut ACL, dwacerevision : ACE_REVISION, accessmask : u32, psid : super::Foundation:: PSID) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddAccessAllowedAceEx(pacl : *mut ACL, dwacerevision : ACE_REVISION, aceflags : ACE_FLAGS, accessmask : u32, psid : super::Foundation:: PSID) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddAccessAllowedObjectAce(pacl : *mut ACL, dwacerevision : ACE_REVISION, aceflags : ACE_FLAGS, accessmask : u32, objecttypeguid : *const ::windows_sys::core::GUID, inheritedobjecttypeguid : *const ::windows_sys::core::GUID, psid : super::Foundation:: PSID) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddAccessDeniedAce(pacl : *mut ACL, dwacerevision : ACE_REVISION, accessmask : u32, psid : super::Foundation:: PSID) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddAccessDeniedAceEx(pacl : *mut ACL, dwacerevision : ACE_REVISION, aceflags : ACE_FLAGS, accessmask : u32, psid : super::Foundation:: PSID) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddAccessDeniedObjectAce(pacl : *mut ACL, dwacerevision : ACE_REVISION, aceflags : ACE_FLAGS, accessmask : u32, objecttypeguid : *const ::windows_sys::core::GUID, inheritedobjecttypeguid : *const ::windows_sys::core::GUID, psid : super::Foundation:: PSID) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddAce(pacl : *mut ACL, dwacerevision : ACE_REVISION, dwstartingaceindex : u32, pacelist : *const ::core::ffi::c_void, nacelistlength : u32) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddAuditAccessAce(pacl : *mut ACL, dwacerevision : ACE_REVISION, dwaccessmask : u32, psid : super::Foundation:: PSID, bauditsuccess : super::Foundation:: BOOL, bauditfailure : super::Foundation:: BOOL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddAuditAccessAceEx(pacl : *mut ACL, dwacerevision : ACE_REVISION, aceflags : ACE_FLAGS, dwaccessmask : u32, psid : super::Foundation:: PSID, bauditsuccess : super::Foundation:: BOOL, bauditfailure : super::Foundation:: BOOL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddAuditAccessObjectAce(pacl : *mut ACL, dwacerevision : ACE_REVISION, 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddConditionalAce(pacl : *mut ACL, dwacerevision : ACE_REVISION, aceflags : ACE_FLAGS, acetype : u8, accessmask : u32, psid : super::Foundation:: PSID, conditionstr : ::windows_sys::core::PCWSTR, returnlength : *mut u32) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddMandatoryAce(pacl : *mut ACL, dwacerevision : ACE_REVISION, aceflags : ACE_FLAGS, mandatorypolicy : u32, plabelsid : super::Foundation:: PSID) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddResourceAttributeAce(pacl : *mut ACL, dwacerevision : ACE_REVISION, aceflags : ACE_FLAGS, accessmask : u32, psid : super::Foundation:: PSID, pattributeinfo : *const CLAIM_SECURITY_ATTRIBUTES_INFORMATION, preturnlength : *mut u32) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AddScopedPolicyIDAce(pacl : *mut ACL, dwacerevision : ACE_REVISION, aceflags : ACE_FLAGS, accessmask : u32, psid : super::Foundation:: PSID) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AllocateLocallyUniqueId(luid : *mut super::Foundation:: LUID) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AreAllAccessesGranted(grantedaccess : u32, desiredaccess : u32) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn AreAnyAccessesGranted(grantedaccess : u32, desiredaccess : u32) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CheckTokenCapability(tokenhandle : super::Foundation:: HANDLE, capabilitysidtocheck : super::Foundation:: PSID, hascapability : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CheckTokenMembership(tokenhandle : super::Foundation:: HANDLE, sidtocheck : super::Foundation:: PSID, ismember : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CheckTokenMembershipEx(tokenhandle : super::Foundation:: HANDLE, sidtocheck : super::Foundation:: PSID, flags : u32, ismember : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CopySid(ndestinationsidlength : u32, pdestinationsid : super::Foundation:: PSID, psourcesid : super::Foundation:: PSID) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn CreateWellKnownSid(wellknownsidtype : WELL_KNOWN_SID_TYPE, domainsid : super::Foundation:: PSID, psid : super::Foundation:: PSID, cbsid : *mut u32) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DeleteAce(pacl : *mut ACL, dwaceindex : u32) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("api-ms-win-security-base-l1-2-2.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DestroyPrivateObjectSecurity(objectdescriptor : *const PSECURITY_DESCRIPTOR) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn DuplicateToken(existingtokenhandle : super::Foundation:: HANDLE, impersonationlevel : SECURITY_IMPERSONATION_LEVEL, duplicatetokenhandle : *mut super::Foundation:: HANDLE) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EqualDomainSid(psid1 : super::Foundation:: PSID, psid2 : super::Foundation:: PSID, pfequal : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EqualPrefixSid(psid1 : super::Foundation:: PSID, psid2 : super::Foundation:: PSID) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn EqualSid(psid1 : super::Foundation:: PSID, psid2 : super::Foundation:: PSID) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FindFirstFreeAce(pacl : *const ACL, pace : *mut *mut ::core::ffi::c_void) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn FreeSid(psid : super::Foundation:: PSID) -> *mut ::core::ffi::c_void); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetAce(pacl : *const ACL, dwaceindex : u32, pace : *mut *mut ::core::ffi::c_void) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetAclInformation(pacl : *const ACL, paclinformation : *mut ::core::ffi::c_void, naclinformationlength : u32, dwaclinformationclass : ACL_INFORMATION_CLASS) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetAppContainerAce(acl : *const ACL, startingaceindex : u32, appcontainerace : *mut *mut ::core::ffi::c_void, appcontaineraceindex : *mut u32) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetCachedSigningLevel(file : super::Foundation:: HANDLE, flags : *mut u32, signinglevel : *mut u32, thumbprint : *mut u8, thumbprintsize : *mut u32, thumbprintalgorithm : *mut u32) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetFileSecurityA(lpfilename : ::windows_sys::core::PCSTR, requestedinformation : u32, psecuritydescriptor : PSECURITY_DESCRIPTOR, nlength : u32, lpnlengthneeded : *mut u32) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetFileSecurityW(lpfilename : ::windows_sys::core::PCWSTR, requestedinformation : u32, psecuritydescriptor : PSECURITY_DESCRIPTOR, nlength : u32, lpnlengthneeded : *mut u32) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetKernelObjectSecurity(handle : super::Foundation:: HANDLE, requestedinformation : u32, psecuritydescriptor : PSECURITY_DESCRIPTOR, nlength : u32, lpnlengthneeded : *mut u32) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetLengthSid(psid : super::Foundation:: PSID) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetPrivateObjectSecurity(objectdescriptor : PSECURITY_DESCRIPTOR, securityinformation : OBJECT_SECURITY_INFORMATION, resultantdescriptor : PSECURITY_DESCRIPTOR, descriptorlength : u32, returnlength : *mut u32) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetSecurityDescriptorControl(psecuritydescriptor : PSECURITY_DESCRIPTOR, pcontrol : *mut u16, lpdwrevision : *mut u32) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetSecurityDescriptorDacl(psecuritydescriptor : PSECURITY_DESCRIPTOR, lpbdaclpresent : *mut super::Foundation:: BOOL, pdacl : *mut *mut ACL, lpbdacldefaulted : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetSecurityDescriptorGroup(psecuritydescriptor : PSECURITY_DESCRIPTOR, pgroup : *mut super::Foundation:: PSID, lpbgroupdefaulted : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" fn GetSecurityDescriptorLength(psecuritydescriptor : PSECURITY_DESCRIPTOR) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetSecurityDescriptorOwner(psecuritydescriptor : PSECURITY_DESCRIPTOR, powner : *mut super::Foundation:: PSID, lpbownerdefaulted : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" fn GetSecurityDescriptorRMControl(securitydescriptor : PSECURITY_DESCRIPTOR, rmcontrol : *mut u8) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetSecurityDescriptorSacl(psecuritydescriptor : PSECURITY_DESCRIPTOR, lpbsaclpresent : *mut super::Foundation:: BOOL, psacl : *mut *mut ACL, lpbsacldefaulted : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetSidIdentifierAuthority(psid : super::Foundation:: PSID) -> *mut SID_IDENTIFIER_AUTHORITY); +::windows_targets::link!("advapi32.dll" "system" fn GetSidLengthRequired(nsubauthoritycount : u8) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetSidSubAuthority(psid : super::Foundation:: PSID, nsubauthority : u32) -> *mut u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetSidSubAuthorityCount(psid : super::Foundation:: PSID) -> *mut u8); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetTokenInformation(tokenhandle : super::Foundation:: HANDLE, tokeninformationclass : TOKEN_INFORMATION_CLASS, tokeninformation : *mut ::core::ffi::c_void, tokeninformationlength : u32, returnlength : *mut u32) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetUserObjectSecurity(hobj : super::Foundation:: HANDLE, psirequested : *const u32, psid : PSECURITY_DESCRIPTOR, nlength : u32, lpnlengthneeded : *mut u32) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn GetWindowsAccountDomainSid(psid : super::Foundation:: PSID, pdomainsid : super::Foundation:: PSID, cbdomainsid : *mut u32) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ImpersonateAnonymousToken(threadhandle : super::Foundation:: HANDLE) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ImpersonateLoggedOnUser(htoken : super::Foundation:: HANDLE) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ImpersonateSelf(impersonationlevel : SECURITY_IMPERSONATION_LEVEL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn InitializeAcl(pacl : *mut ACL, nacllength : u32, dwaclrevision : ACE_REVISION) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn InitializeSecurityDescriptor(psecuritydescriptor : PSECURITY_DESCRIPTOR, dwrevision : u32) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn InitializeSid(sid : super::Foundation:: PSID, pidentifierauthority : *const SID_IDENTIFIER_AUTHORITY, nsubauthoritycount : u8) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsTokenRestricted(tokenhandle : super::Foundation:: HANDLE) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsValidAcl(pacl : *const ACL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsValidSecurityDescriptor(psecuritydescriptor : PSECURITY_DESCRIPTOR) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsValidSid(psid : super::Foundation:: PSID) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn IsWellKnownSid(psid : super::Foundation:: PSID, wellknownsidtype : WELL_KNOWN_SID_TYPE) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LookupPrivilegeNameA(lpsystemname : ::windows_sys::core::PCSTR, lpluid : *const super::Foundation:: LUID, lpname : ::windows_sys::core::PSTR, cchname : *mut u32) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LookupPrivilegeNameW(lpsystemname : ::windows_sys::core::PCWSTR, lpluid : *const super::Foundation:: LUID, lpname : ::windows_sys::core::PWSTR, cchname : *mut u32) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LookupPrivilegeValueA(lpsystemname : ::windows_sys::core::PCSTR, lpname : ::windows_sys::core::PCSTR, lpluid : *mut super::Foundation:: LUID) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn LookupPrivilegeValueW(lpsystemname : ::windows_sys::core::PCWSTR, lpname : ::windows_sys::core::PCWSTR, lpluid : *mut super::Foundation:: LUID) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn MakeSelfRelativeSD(pabsolutesecuritydescriptor : PSECURITY_DESCRIPTOR, pselfrelativesecuritydescriptor : PSECURITY_DESCRIPTOR, lpdwbufferlength : *mut u32) -> super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" fn MapGenericMask(accessmask : *mut u32, genericmapping : *const GENERIC_MAPPING) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ObjectCloseAuditAlarmA(subsystemname : ::windows_sys::core::PCSTR, handleid : *const ::core::ffi::c_void, generateonclose : super::Foundation:: BOOL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ObjectCloseAuditAlarmW(subsystemname : ::windows_sys::core::PCWSTR, handleid : *const ::core::ffi::c_void, generateonclose : super::Foundation:: BOOL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ObjectDeleteAuditAlarmA(subsystemname : ::windows_sys::core::PCSTR, handleid : *const ::core::ffi::c_void, generateonclose : super::Foundation:: BOOL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn ObjectDeleteAuditAlarmW(subsystemname : ::windows_sys::core::PCWSTR, handleid : *const ::core::ffi::c_void, generateonclose : super::Foundation:: BOOL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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 super::Foundation:: BOOL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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 super::Foundation:: BOOL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn PrivilegeCheck(clienttoken : super::Foundation:: HANDLE, requiredprivileges : *mut PRIVILEGE_SET, pfresult : *mut super::Foundation:: BOOL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] 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); +::windows_targets::link!("advapi32.dll" "system" fn QuerySecurityAccessMask(securityinformation : OBJECT_SECURITY_INFORMATION, desiredaccess : *mut u32) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RevertToSelf() -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtlConvertSidToUnicodeString(unicodestring : *mut super::Foundation:: UNICODE_STRING, sid : super::Foundation:: PSID, allocatedestinationstring : super::Foundation:: BOOLEAN) -> super::Foundation:: NTSTATUS); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("ntdll.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn RtlNormalizeSecurityDescriptor(securitydescriptor : *mut PSECURITY_DESCRIPTOR, securitydescriptorlength : u32, newsecuritydescriptor : *mut PSECURITY_DESCRIPTOR, newsecuritydescriptorlength : *mut u32, checkonly : super::Foundation:: BOOLEAN) -> super::Foundation:: BOOLEAN); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetAclInformation(pacl : *mut ACL, paclinformation : *const ::core::ffi::c_void, naclinformationlength : u32, dwaclinformationclass : ACL_INFORMATION_CLASS) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("kernel32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetCachedSigningLevel(sourcefiles : *const super::Foundation:: HANDLE, sourcefilecount : u32, flags : u32, targetfile : super::Foundation:: HANDLE) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetFileSecurityA(lpfilename : ::windows_sys::core::PCSTR, securityinformation : OBJECT_SECURITY_INFORMATION, psecuritydescriptor : PSECURITY_DESCRIPTOR) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetFileSecurityW(lpfilename : ::windows_sys::core::PCWSTR, securityinformation : OBJECT_SECURITY_INFORMATION, psecuritydescriptor : PSECURITY_DESCRIPTOR) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetKernelObjectSecurity(handle : super::Foundation:: HANDLE, securityinformation : OBJECT_SECURITY_INFORMATION, securitydescriptor : PSECURITY_DESCRIPTOR) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetPrivateObjectSecurity(securityinformation : OBJECT_SECURITY_INFORMATION, modificationdescriptor : PSECURITY_DESCRIPTOR, objectssecuritydescriptor : *mut PSECURITY_DESCRIPTOR, genericmapping : *const GENERIC_MAPPING, token : super::Foundation:: HANDLE) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetPrivateObjectSecurityEx(securityinformation : OBJECT_SECURITY_INFORMATION, modificationdescriptor : PSECURITY_DESCRIPTOR, objectssecuritydescriptor : *mut PSECURITY_DESCRIPTOR, autoinheritflags : SECURITY_AUTO_INHERIT_FLAGS, genericmapping : *const GENERIC_MAPPING, token : super::Foundation:: HANDLE) -> super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" fn SetSecurityAccessMask(securityinformation : OBJECT_SECURITY_INFORMATION, desiredaccess : *mut u32) -> ()); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetSecurityDescriptorControl(psecuritydescriptor : PSECURITY_DESCRIPTOR, controlbitsofinterest : SECURITY_DESCRIPTOR_CONTROL, controlbitstoset : SECURITY_DESCRIPTOR_CONTROL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetSecurityDescriptorDacl(psecuritydescriptor : PSECURITY_DESCRIPTOR, bdaclpresent : super::Foundation:: BOOL, pdacl : *const ACL, bdacldefaulted : super::Foundation:: BOOL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetSecurityDescriptorGroup(psecuritydescriptor : PSECURITY_DESCRIPTOR, pgroup : super::Foundation:: PSID, bgroupdefaulted : super::Foundation:: BOOL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetSecurityDescriptorOwner(psecuritydescriptor : PSECURITY_DESCRIPTOR, powner : super::Foundation:: PSID, bownerdefaulted : super::Foundation:: BOOL) -> super::Foundation:: BOOL); +::windows_targets::link!("advapi32.dll" "system" fn SetSecurityDescriptorRMControl(securitydescriptor : PSECURITY_DESCRIPTOR, rmcontrol : *const u8) -> u32); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetSecurityDescriptorSacl(psecuritydescriptor : PSECURITY_DESCRIPTOR, bsaclpresent : super::Foundation:: BOOL, psacl : *const ACL, bsacldefaulted : super::Foundation:: BOOL) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("advapi32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetTokenInformation(tokenhandle : super::Foundation:: HANDLE, tokeninformationclass : TOKEN_INFORMATION_CLASS, tokeninformation : *const ::core::ffi::c_void, tokeninformationlength : u32) -> super::Foundation:: BOOL); +#[cfg(feature = "Win32_Foundation")] +::windows_targets::link!("user32.dll" "system" #[doc = "Required features: `\"Win32_Foundation\"`"] fn SetUserObjectSecurity(hobj : super::Foundation:: HANDLE, psirequested : *const OBJECT_SECURITY_INFORMATION, psid : PSECURITY_DESCRIPTOR) -> super::Foundation:: BOOL); +pub const ACE_INHERITED_OBJECT_TYPE_PRESENT: SYSTEM_AUDIT_OBJECT_ACE_FLAGS = 2u32; +pub const ACE_OBJECT_TYPE_PRESENT: SYSTEM_AUDIT_OBJECT_ACE_FLAGS = 1u32; +pub const ACL_REVISION: ACE_REVISION = 2u32; +pub const ACL_REVISION_DS: ACE_REVISION = 4u32; +pub const ATTRIBUTE_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 32u32; +pub const AclRevisionInformation: ACL_INFORMATION_CLASS = 1i32; +pub const AclSizeInformation: ACL_INFORMATION_CLASS = 2i32; +pub const AuditEventDirectoryServiceAccess: AUDIT_EVENT_TYPE = 1i32; +pub const AuditEventObjectAccess: AUDIT_EVENT_TYPE = 0i32; +pub const BACKUP_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 65536u32; +pub const CLAIM_SECURITY_ATTRIBUTE_DISABLED: CLAIM_SECURITY_ATTRIBUTE_FLAGS = 16u32; +pub const CLAIM_SECURITY_ATTRIBUTE_DISABLED_BY_DEFAULT: CLAIM_SECURITY_ATTRIBUTE_FLAGS = 8u32; +pub const CLAIM_SECURITY_ATTRIBUTE_MANDATORY: CLAIM_SECURITY_ATTRIBUTE_FLAGS = 32u32; +pub const CLAIM_SECURITY_ATTRIBUTE_NON_INHERITABLE: CLAIM_SECURITY_ATTRIBUTE_FLAGS = 1u32; +pub const CLAIM_SECURITY_ATTRIBUTE_TYPE_BOOLEAN: CLAIM_SECURITY_ATTRIBUTE_VALUE_TYPE = 6u16; +pub const CLAIM_SECURITY_ATTRIBUTE_TYPE_FQBN: CLAIM_SECURITY_ATTRIBUTE_VALUE_TYPE = 4u16; +pub const CLAIM_SECURITY_ATTRIBUTE_TYPE_INT64: CLAIM_SECURITY_ATTRIBUTE_VALUE_TYPE = 1u16; +pub const CLAIM_SECURITY_ATTRIBUTE_TYPE_OCTET_STRING: CLAIM_SECURITY_ATTRIBUTE_VALUE_TYPE = 16u16; +pub const CLAIM_SECURITY_ATTRIBUTE_TYPE_SID: CLAIM_SECURITY_ATTRIBUTE_VALUE_TYPE = 5u16; +pub const CLAIM_SECURITY_ATTRIBUTE_TYPE_STRING: CLAIM_SECURITY_ATTRIBUTE_VALUE_TYPE = 3u16; +pub const CLAIM_SECURITY_ATTRIBUTE_TYPE_UINT64: CLAIM_SECURITY_ATTRIBUTE_VALUE_TYPE = 2u16; +pub const CLAIM_SECURITY_ATTRIBUTE_USE_FOR_DENY_ONLY: CLAIM_SECURITY_ATTRIBUTE_FLAGS = 4u32; +pub const CLAIM_SECURITY_ATTRIBUTE_VALUE_CASE_SENSITIVE: CLAIM_SECURITY_ATTRIBUTE_FLAGS = 2u32; +pub const CONTAINER_INHERIT_ACE: ACE_FLAGS = 2u32; +pub const CVT_SECONDS: u32 = 1u32; +pub const DACL_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 4u32; +pub const DISABLE_MAX_PRIVILEGE: CREATE_RESTRICTED_TOKEN_FLAGS = 1u32; +pub const ENUM_PERIOD_DAYS: ENUM_PERIOD = 3i32; +pub const ENUM_PERIOD_HOURS: ENUM_PERIOD = 2i32; +pub const ENUM_PERIOD_INVALID: ENUM_PERIOD = -1i32; +pub const ENUM_PERIOD_MINUTES: ENUM_PERIOD = 1i32; +pub const ENUM_PERIOD_MONTHS: ENUM_PERIOD = 5i32; +pub const ENUM_PERIOD_SECONDS: ENUM_PERIOD = 0i32; +pub const ENUM_PERIOD_WEEKS: ENUM_PERIOD = 4i32; +pub const ENUM_PERIOD_YEARS: ENUM_PERIOD = 6i32; +pub const FAILED_ACCESS_ACE_FLAG: ACE_FLAGS = 128u32; +pub const GROUP_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 2u32; +pub const INHERITED_ACE: ACE_FLAGS = 16u32; +pub const INHERIT_NO_PROPAGATE: ACE_FLAGS = 4u32; +pub const INHERIT_ONLY: ACE_FLAGS = 8u32; +pub const INHERIT_ONLY_ACE: ACE_FLAGS = 8u32; +pub const LABEL_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 16u32; +pub const LOGON32_LOGON_BATCH: LOGON32_LOGON = 4u32; +pub const LOGON32_LOGON_INTERACTIVE: LOGON32_LOGON = 2u32; +pub const LOGON32_LOGON_NETWORK: LOGON32_LOGON = 3u32; +pub const LOGON32_LOGON_NETWORK_CLEARTEXT: LOGON32_LOGON = 8u32; +pub const LOGON32_LOGON_NEW_CREDENTIALS: LOGON32_LOGON = 9u32; +pub const LOGON32_LOGON_SERVICE: LOGON32_LOGON = 5u32; +pub const LOGON32_LOGON_UNLOCK: LOGON32_LOGON = 7u32; +pub const LOGON32_PROVIDER_DEFAULT: LOGON32_PROVIDER = 0u32; +pub const LOGON32_PROVIDER_WINNT40: LOGON32_PROVIDER = 2u32; +pub const LOGON32_PROVIDER_WINNT50: LOGON32_PROVIDER = 3u32; +pub const LUA_TOKEN: CREATE_RESTRICTED_TOKEN_FLAGS = 4u32; +pub const MandatoryLevelCount: MANDATORY_LEVEL = 6i32; +pub const MandatoryLevelHigh: MANDATORY_LEVEL = 3i32; +pub const MandatoryLevelLow: MANDATORY_LEVEL = 1i32; +pub const MandatoryLevelMedium: MANDATORY_LEVEL = 2i32; +pub const MandatoryLevelSecureProcess: MANDATORY_LEVEL = 5i32; +pub const MandatoryLevelSystem: MANDATORY_LEVEL = 4i32; +pub const MandatoryLevelUntrusted: MANDATORY_LEVEL = 0i32; +pub const MaxTokenInfoClass: TOKEN_INFORMATION_CLASS = 49i32; +pub const NO_INHERITANCE: ACE_FLAGS = 0u32; +pub const NO_PROPAGATE_INHERIT_ACE: ACE_FLAGS = 4u32; +pub const OBJECT_INHERIT_ACE: ACE_FLAGS = 1u32; +pub const OWNER_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 1u32; +pub const PROTECTED_DACL_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 2147483648u32; +pub const PROTECTED_SACL_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 1073741824u32; +pub const SACL_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 8u32; +pub const SANDBOX_INERT: CREATE_RESTRICTED_TOKEN_FLAGS = 2u32; +pub const SCOPE_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 64u32; +pub const SECURITY_APP_PACKAGE_AUTHORITY: SID_IDENTIFIER_AUTHORITY = SID_IDENTIFIER_AUTHORITY { Value: [0, 0, 0, 0, 0, 15] }; +pub const SECURITY_AUTHENTICATION_AUTHORITY: SID_IDENTIFIER_AUTHORITY = SID_IDENTIFIER_AUTHORITY { Value: [0, 0, 0, 0, 0, 18] }; +pub const SECURITY_CREATOR_SID_AUTHORITY: SID_IDENTIFIER_AUTHORITY = SID_IDENTIFIER_AUTHORITY { Value: [0, 0, 0, 0, 0, 3] }; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub const SECURITY_DYNAMIC_TRACKING: super::Foundation::BOOLEAN = 1u8; +pub const SECURITY_LOCAL_SID_AUTHORITY: SID_IDENTIFIER_AUTHORITY = SID_IDENTIFIER_AUTHORITY { Value: [0, 0, 0, 0, 0, 2] }; +pub const SECURITY_MANDATORY_LABEL_AUTHORITY: SID_IDENTIFIER_AUTHORITY = SID_IDENTIFIER_AUTHORITY { Value: [0, 0, 0, 0, 0, 16] }; +pub const SECURITY_NON_UNIQUE_AUTHORITY: SID_IDENTIFIER_AUTHORITY = SID_IDENTIFIER_AUTHORITY { Value: [0, 0, 0, 0, 0, 4] }; +pub const SECURITY_NT_AUTHORITY: SID_IDENTIFIER_AUTHORITY = SID_IDENTIFIER_AUTHORITY { Value: [0, 0, 0, 0, 0, 5] }; +pub const SECURITY_NULL_SID_AUTHORITY: SID_IDENTIFIER_AUTHORITY = SID_IDENTIFIER_AUTHORITY { Value: [0, 0, 0, 0, 0, 0] }; +pub const SECURITY_PROCESS_TRUST_AUTHORITY: SID_IDENTIFIER_AUTHORITY = SID_IDENTIFIER_AUTHORITY { Value: [0, 0, 0, 0, 0, 19] }; +pub const SECURITY_RESOURCE_MANAGER_AUTHORITY: SID_IDENTIFIER_AUTHORITY = SID_IDENTIFIER_AUTHORITY { Value: [0, 0, 0, 0, 0, 9] }; +pub const SECURITY_SCOPED_POLICY_ID_AUTHORITY: SID_IDENTIFIER_AUTHORITY = SID_IDENTIFIER_AUTHORITY { Value: [0, 0, 0, 0, 0, 17] }; +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub const SECURITY_STATIC_TRACKING: super::Foundation::BOOLEAN = 0u8; +pub const SECURITY_WORLD_SID_AUTHORITY: SID_IDENTIFIER_AUTHORITY = SID_IDENTIFIER_AUTHORITY { Value: [0, 0, 0, 0, 0, 1] }; +pub const SEF_AVOID_OWNER_CHECK: SECURITY_AUTO_INHERIT_FLAGS = 16u32; +pub const SEF_AVOID_OWNER_RESTRICTION: SECURITY_AUTO_INHERIT_FLAGS = 4096u32; +pub const SEF_AVOID_PRIVILEGE_CHECK: SECURITY_AUTO_INHERIT_FLAGS = 8u32; +pub const SEF_DACL_AUTO_INHERIT: SECURITY_AUTO_INHERIT_FLAGS = 1u32; +pub const SEF_DEFAULT_DESCRIPTOR_FOR_OBJECT: SECURITY_AUTO_INHERIT_FLAGS = 4u32; +pub const SEF_DEFAULT_GROUP_FROM_PARENT: SECURITY_AUTO_INHERIT_FLAGS = 64u32; +pub const SEF_DEFAULT_OWNER_FROM_PARENT: SECURITY_AUTO_INHERIT_FLAGS = 32u32; +pub const SEF_MACL_NO_EXECUTE_UP: SECURITY_AUTO_INHERIT_FLAGS = 1024u32; +pub const SEF_MACL_NO_READ_UP: SECURITY_AUTO_INHERIT_FLAGS = 512u32; +pub const SEF_MACL_NO_WRITE_UP: SECURITY_AUTO_INHERIT_FLAGS = 256u32; +pub const SEF_SACL_AUTO_INHERIT: SECURITY_AUTO_INHERIT_FLAGS = 2u32; +pub const SE_ASSIGNPRIMARYTOKEN_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeAssignPrimaryTokenPrivilege"); +pub const SE_AUDIT_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeAuditPrivilege"); +pub const SE_BACKUP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeBackupPrivilege"); +pub const SE_CHANGE_NOTIFY_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeChangeNotifyPrivilege"); +pub const SE_CREATE_GLOBAL_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeCreateGlobalPrivilege"); +pub const SE_CREATE_PAGEFILE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeCreatePagefilePrivilege"); +pub const SE_CREATE_PERMANENT_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeCreatePermanentPrivilege"); +pub const SE_CREATE_SYMBOLIC_LINK_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeCreateSymbolicLinkPrivilege"); +pub const SE_CREATE_TOKEN_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeCreateTokenPrivilege"); +pub const SE_DACL_AUTO_INHERITED: SECURITY_DESCRIPTOR_CONTROL = 1024u16; +pub const SE_DACL_AUTO_INHERIT_REQ: SECURITY_DESCRIPTOR_CONTROL = 256u16; +pub const SE_DACL_DEFAULTED: SECURITY_DESCRIPTOR_CONTROL = 8u16; +pub const SE_DACL_PRESENT: SECURITY_DESCRIPTOR_CONTROL = 4u16; +pub const SE_DACL_PROTECTED: SECURITY_DESCRIPTOR_CONTROL = 4096u16; +pub const SE_DEBUG_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeDebugPrivilege"); +pub const SE_DELEGATE_SESSION_USER_IMPERSONATE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeDelegateSessionUserImpersonatePrivilege"); +pub const SE_ENABLE_DELEGATION_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeEnableDelegationPrivilege"); +pub const SE_GROUP_DEFAULTED: SECURITY_DESCRIPTOR_CONTROL = 2u16; +pub const SE_IMPERSONATE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeImpersonatePrivilege"); +pub const SE_INCREASE_QUOTA_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeIncreaseQuotaPrivilege"); +pub const SE_INC_BASE_PRIORITY_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeIncreaseBasePriorityPrivilege"); +pub const SE_INC_WORKING_SET_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeIncreaseWorkingSetPrivilege"); +pub const SE_LOAD_DRIVER_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeLoadDriverPrivilege"); +pub const SE_LOCK_MEMORY_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeLockMemoryPrivilege"); +pub const SE_MACHINE_ACCOUNT_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeMachineAccountPrivilege"); +pub const SE_MANAGE_VOLUME_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeManageVolumePrivilege"); +pub const SE_OWNER_DEFAULTED: SECURITY_DESCRIPTOR_CONTROL = 1u16; +pub const SE_PRIVILEGE_ENABLED: TOKEN_PRIVILEGES_ATTRIBUTES = 2u32; +pub const SE_PRIVILEGE_ENABLED_BY_DEFAULT: TOKEN_PRIVILEGES_ATTRIBUTES = 1u32; +pub const SE_PRIVILEGE_REMOVED: TOKEN_PRIVILEGES_ATTRIBUTES = 4u32; +pub const SE_PRIVILEGE_USED_FOR_ACCESS: TOKEN_PRIVILEGES_ATTRIBUTES = 2147483648u32; +pub const SE_PROF_SINGLE_PROCESS_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeProfileSingleProcessPrivilege"); +pub const SE_RELABEL_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeRelabelPrivilege"); +pub const SE_REMOTE_SHUTDOWN_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeRemoteShutdownPrivilege"); +pub const SE_RESTORE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeRestorePrivilege"); +pub const SE_RM_CONTROL_VALID: SECURITY_DESCRIPTOR_CONTROL = 16384u16; +pub const SE_SACL_AUTO_INHERITED: SECURITY_DESCRIPTOR_CONTROL = 2048u16; +pub const SE_SACL_AUTO_INHERIT_REQ: SECURITY_DESCRIPTOR_CONTROL = 512u16; +pub const SE_SACL_DEFAULTED: SECURITY_DESCRIPTOR_CONTROL = 32u16; +pub const SE_SACL_PRESENT: SECURITY_DESCRIPTOR_CONTROL = 16u16; +pub const SE_SACL_PROTECTED: SECURITY_DESCRIPTOR_CONTROL = 8192u16; +pub const SE_SECURITY_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeSecurityPrivilege"); +pub const SE_SELF_RELATIVE: SECURITY_DESCRIPTOR_CONTROL = 32768u16; +pub const SE_SHUTDOWN_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeShutdownPrivilege"); +pub const SE_SYNC_AGENT_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeSyncAgentPrivilege"); +pub const SE_SYSTEMTIME_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeSystemtimePrivilege"); +pub const SE_SYSTEM_ENVIRONMENT_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeSystemEnvironmentPrivilege"); +pub const SE_SYSTEM_PROFILE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeSystemProfilePrivilege"); +pub const SE_TAKE_OWNERSHIP_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeTakeOwnershipPrivilege"); +pub const SE_TCB_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeTcbPrivilege"); +pub const SE_TIME_ZONE_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeTimeZonePrivilege"); +pub const SE_TRUSTED_CREDMAN_ACCESS_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeTrustedCredManAccessPrivilege"); +pub const SE_UNDOCK_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeUndockPrivilege"); +pub const SE_UNSOLICITED_INPUT_NAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("SeUnsolicitedInputPrivilege"); +pub const SUB_CONTAINERS_AND_OBJECTS_INHERIT: ACE_FLAGS = 3u32; +pub const SUB_CONTAINERS_ONLY_INHERIT: ACE_FLAGS = 2u32; +pub const SUB_OBJECTS_ONLY_INHERIT: ACE_FLAGS = 1u32; +pub const SUCCESSFUL_ACCESS_ACE_FLAG: ACE_FLAGS = 64u32; +pub const SecurityAnonymous: SECURITY_IMPERSONATION_LEVEL = 0i32; +pub const SecurityDelegation: SECURITY_IMPERSONATION_LEVEL = 3i32; +pub const SecurityIdentification: SECURITY_IMPERSONATION_LEVEL = 1i32; +pub const SecurityImpersonation: SECURITY_IMPERSONATION_LEVEL = 2i32; +pub const SidTypeAlias: SID_NAME_USE = 4i32; +pub const SidTypeComputer: SID_NAME_USE = 9i32; +pub const SidTypeDeletedAccount: SID_NAME_USE = 6i32; +pub const SidTypeDomain: SID_NAME_USE = 3i32; +pub const SidTypeGroup: SID_NAME_USE = 2i32; +pub const SidTypeInvalid: SID_NAME_USE = 7i32; +pub const SidTypeLabel: SID_NAME_USE = 10i32; +pub const SidTypeLogonSession: SID_NAME_USE = 11i32; +pub const SidTypeUnknown: SID_NAME_USE = 8i32; +pub const SidTypeUser: SID_NAME_USE = 1i32; +pub const SidTypeWellKnownGroup: SID_NAME_USE = 5i32; +pub const TOKEN_ACCESS_PSEUDO_HANDLE: TOKEN_ACCESS_MASK = 24u32; +pub const TOKEN_ACCESS_PSEUDO_HANDLE_WIN8: TOKEN_ACCESS_MASK = 24u32; +pub const TOKEN_ACCESS_SYSTEM_SECURITY: TOKEN_ACCESS_MASK = 16777216u32; +pub const TOKEN_ADJUST_DEFAULT: TOKEN_ACCESS_MASK = 128u32; +pub const TOKEN_ADJUST_GROUPS: TOKEN_ACCESS_MASK = 64u32; +pub const TOKEN_ADJUST_PRIVILEGES: TOKEN_ACCESS_MASK = 32u32; +pub const TOKEN_ADJUST_SESSIONID: TOKEN_ACCESS_MASK = 256u32; +pub const TOKEN_ALL_ACCESS: TOKEN_ACCESS_MASK = 983551u32; +pub const TOKEN_ASSIGN_PRIMARY: TOKEN_ACCESS_MASK = 1u32; +pub const TOKEN_DELETE: TOKEN_ACCESS_MASK = 65536u32; +pub const TOKEN_DUPLICATE: TOKEN_ACCESS_MASK = 2u32; +pub const TOKEN_EXECUTE: TOKEN_ACCESS_MASK = 131072u32; +pub const TOKEN_IMPERSONATE: TOKEN_ACCESS_MASK = 4u32; +pub const TOKEN_MANDATORY_POLICY_NEW_PROCESS_MIN: TOKEN_MANDATORY_POLICY_ID = 2u32; +pub const TOKEN_MANDATORY_POLICY_NO_WRITE_UP: TOKEN_MANDATORY_POLICY_ID = 1u32; +pub const TOKEN_MANDATORY_POLICY_OFF: TOKEN_MANDATORY_POLICY_ID = 0u32; +pub const TOKEN_MANDATORY_POLICY_VALID_MASK: TOKEN_MANDATORY_POLICY_ID = 3u32; +pub const TOKEN_QUERY: TOKEN_ACCESS_MASK = 8u32; +pub const TOKEN_QUERY_SOURCE: TOKEN_ACCESS_MASK = 16u32; +pub const TOKEN_READ: TOKEN_ACCESS_MASK = 131080u32; +pub const TOKEN_READ_CONTROL: TOKEN_ACCESS_MASK = 131072u32; +pub const TOKEN_TRUST_CONSTRAINT_MASK: TOKEN_ACCESS_MASK = 131096u32; +pub const TOKEN_WRITE: TOKEN_ACCESS_MASK = 131296u32; +pub const TOKEN_WRITE_DAC: TOKEN_ACCESS_MASK = 262144u32; +pub const TOKEN_WRITE_OWNER: TOKEN_ACCESS_MASK = 524288u32; +pub const TokenAccessInformation: TOKEN_INFORMATION_CLASS = 22i32; +pub const TokenAppContainerNumber: TOKEN_INFORMATION_CLASS = 32i32; +pub const TokenAppContainerSid: TOKEN_INFORMATION_CLASS = 31i32; +pub const TokenAuditPolicy: TOKEN_INFORMATION_CLASS = 16i32; +pub const TokenBnoIsolation: TOKEN_INFORMATION_CLASS = 44i32; +pub const TokenCapabilities: TOKEN_INFORMATION_CLASS = 30i32; +pub const TokenChildProcessFlags: TOKEN_INFORMATION_CLASS = 45i32; +pub const TokenDefaultDacl: TOKEN_INFORMATION_CLASS = 6i32; +pub const TokenDeviceClaimAttributes: TOKEN_INFORMATION_CLASS = 34i32; +pub const TokenDeviceGroups: TOKEN_INFORMATION_CLASS = 37i32; +pub const TokenElevation: TOKEN_INFORMATION_CLASS = 20i32; +pub const TokenElevationType: TOKEN_INFORMATION_CLASS = 18i32; +pub const TokenElevationTypeDefault: TOKEN_ELEVATION_TYPE = 1i32; +pub const TokenElevationTypeFull: TOKEN_ELEVATION_TYPE = 2i32; +pub const TokenElevationTypeLimited: TOKEN_ELEVATION_TYPE = 3i32; +pub const TokenGroups: TOKEN_INFORMATION_CLASS = 2i32; +pub const TokenGroupsAndPrivileges: TOKEN_INFORMATION_CLASS = 13i32; +pub const TokenHasRestrictions: TOKEN_INFORMATION_CLASS = 21i32; +pub const TokenImpersonation: TOKEN_TYPE = 2i32; +pub const TokenImpersonationLevel: TOKEN_INFORMATION_CLASS = 9i32; +pub const TokenIntegrityLevel: TOKEN_INFORMATION_CLASS = 25i32; +pub const TokenIsAppContainer: TOKEN_INFORMATION_CLASS = 29i32; +pub const TokenIsAppSilo: TOKEN_INFORMATION_CLASS = 48i32; +pub const TokenIsLessPrivilegedAppContainer: TOKEN_INFORMATION_CLASS = 46i32; +pub const TokenIsRestricted: TOKEN_INFORMATION_CLASS = 40i32; +pub const TokenIsSandboxed: TOKEN_INFORMATION_CLASS = 47i32; +pub const TokenLinkedToken: TOKEN_INFORMATION_CLASS = 19i32; +pub const TokenLogonSid: TOKEN_INFORMATION_CLASS = 28i32; +pub const TokenMandatoryPolicy: TOKEN_INFORMATION_CLASS = 27i32; +pub const TokenOrigin: TOKEN_INFORMATION_CLASS = 17i32; +pub const TokenOwner: TOKEN_INFORMATION_CLASS = 4i32; +pub const TokenPrimary: TOKEN_TYPE = 1i32; +pub const TokenPrimaryGroup: TOKEN_INFORMATION_CLASS = 5i32; +pub const TokenPrivateNameSpace: TOKEN_INFORMATION_CLASS = 42i32; +pub const TokenPrivileges: TOKEN_INFORMATION_CLASS = 3i32; +pub const TokenProcessTrustLevel: TOKEN_INFORMATION_CLASS = 41i32; +pub const TokenRestrictedDeviceClaimAttributes: TOKEN_INFORMATION_CLASS = 36i32; +pub const TokenRestrictedDeviceGroups: TOKEN_INFORMATION_CLASS = 38i32; +pub const TokenRestrictedSids: TOKEN_INFORMATION_CLASS = 11i32; +pub const TokenRestrictedUserClaimAttributes: TOKEN_INFORMATION_CLASS = 35i32; +pub const TokenSandBoxInert: TOKEN_INFORMATION_CLASS = 15i32; +pub const TokenSecurityAttributes: TOKEN_INFORMATION_CLASS = 39i32; +pub const TokenSessionId: TOKEN_INFORMATION_CLASS = 12i32; +pub const TokenSessionReference: TOKEN_INFORMATION_CLASS = 14i32; +pub const TokenSingletonAttributes: TOKEN_INFORMATION_CLASS = 43i32; +pub const TokenSource: TOKEN_INFORMATION_CLASS = 7i32; +pub const TokenStatistics: TOKEN_INFORMATION_CLASS = 10i32; +pub const TokenType: TOKEN_INFORMATION_CLASS = 8i32; +pub const TokenUIAccess: TOKEN_INFORMATION_CLASS = 26i32; +pub const TokenUser: TOKEN_INFORMATION_CLASS = 1i32; +pub const TokenUserClaimAttributes: TOKEN_INFORMATION_CLASS = 33i32; +pub const TokenVirtualizationAllowed: TOKEN_INFORMATION_CLASS = 23i32; +pub const TokenVirtualizationEnabled: TOKEN_INFORMATION_CLASS = 24i32; +pub const UNPROTECTED_DACL_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 536870912u32; +pub const UNPROTECTED_SACL_SECURITY_INFORMATION: OBJECT_SECURITY_INFORMATION = 268435456u32; +pub const WRITE_RESTRICTED: CREATE_RESTRICTED_TOKEN_FLAGS = 8u32; +pub const WinAccountAdministratorSid: WELL_KNOWN_SID_TYPE = 38i32; +pub const WinAccountCertAdminsSid: WELL_KNOWN_SID_TYPE = 46i32; +pub const WinAccountCloneableControllersSid: WELL_KNOWN_SID_TYPE = 100i32; +pub const WinAccountComputersSid: WELL_KNOWN_SID_TYPE = 44i32; +pub const WinAccountControllersSid: WELL_KNOWN_SID_TYPE = 45i32; +pub const WinAccountDefaultSystemManagedSid: WELL_KNOWN_SID_TYPE = 110i32; +pub const WinAccountDomainAdminsSid: WELL_KNOWN_SID_TYPE = 41i32; +pub const WinAccountDomainGuestsSid: WELL_KNOWN_SID_TYPE = 43i32; +pub const WinAccountDomainUsersSid: WELL_KNOWN_SID_TYPE = 42i32; +pub const WinAccountEnterpriseAdminsSid: WELL_KNOWN_SID_TYPE = 48i32; +pub const WinAccountEnterpriseKeyAdminsSid: WELL_KNOWN_SID_TYPE = 114i32; +pub const WinAccountGuestSid: WELL_KNOWN_SID_TYPE = 39i32; +pub const WinAccountKeyAdminsSid: WELL_KNOWN_SID_TYPE = 113i32; +pub const WinAccountKrbtgtSid: WELL_KNOWN_SID_TYPE = 40i32; +pub const WinAccountPolicyAdminsSid: WELL_KNOWN_SID_TYPE = 49i32; +pub const WinAccountProtectedUsersSid: WELL_KNOWN_SID_TYPE = 107i32; +pub const WinAccountRasAndIasServersSid: WELL_KNOWN_SID_TYPE = 50i32; +pub const WinAccountReadonlyControllersSid: WELL_KNOWN_SID_TYPE = 75i32; +pub const WinAccountSchemaAdminsSid: WELL_KNOWN_SID_TYPE = 47i32; +pub const WinAnonymousSid: WELL_KNOWN_SID_TYPE = 13i32; +pub const WinApplicationPackageAuthoritySid: WELL_KNOWN_SID_TYPE = 83i32; +pub const WinAuthenticatedUserSid: WELL_KNOWN_SID_TYPE = 17i32; +pub const WinAuthenticationAuthorityAssertedSid: WELL_KNOWN_SID_TYPE = 103i32; +pub const WinAuthenticationFreshKeyAuthSid: WELL_KNOWN_SID_TYPE = 118i32; +pub const WinAuthenticationKeyPropertyAttestationSid: WELL_KNOWN_SID_TYPE = 117i32; +pub const WinAuthenticationKeyPropertyMFASid: WELL_KNOWN_SID_TYPE = 116i32; +pub const WinAuthenticationKeyTrustSid: WELL_KNOWN_SID_TYPE = 115i32; +pub const WinAuthenticationServiceAssertedSid: WELL_KNOWN_SID_TYPE = 104i32; +pub const WinBatchSid: WELL_KNOWN_SID_TYPE = 10i32; +pub const WinBuiltinAccessControlAssistanceOperatorsSid: WELL_KNOWN_SID_TYPE = 101i32; +pub const WinBuiltinAccountOperatorsSid: WELL_KNOWN_SID_TYPE = 30i32; +pub const WinBuiltinAdministratorsSid: WELL_KNOWN_SID_TYPE = 26i32; +pub const WinBuiltinAnyPackageSid: WELL_KNOWN_SID_TYPE = 84i32; +pub const WinBuiltinAuthorizationAccessSid: WELL_KNOWN_SID_TYPE = 59i32; +pub const WinBuiltinBackupOperatorsSid: WELL_KNOWN_SID_TYPE = 33i32; +pub const WinBuiltinCertSvcDComAccessGroup: WELL_KNOWN_SID_TYPE = 78i32; +pub const WinBuiltinCryptoOperatorsSid: WELL_KNOWN_SID_TYPE = 64i32; +pub const WinBuiltinDCOMUsersSid: WELL_KNOWN_SID_TYPE = 61i32; +pub const WinBuiltinDefaultSystemManagedGroupSid: WELL_KNOWN_SID_TYPE = 111i32; +pub const WinBuiltinDeviceOwnersSid: WELL_KNOWN_SID_TYPE = 119i32; +pub const WinBuiltinDomainSid: WELL_KNOWN_SID_TYPE = 25i32; +pub const WinBuiltinEventLogReadersGroup: WELL_KNOWN_SID_TYPE = 76i32; +pub const WinBuiltinGuestsSid: WELL_KNOWN_SID_TYPE = 28i32; +pub const WinBuiltinHyperVAdminsSid: WELL_KNOWN_SID_TYPE = 99i32; +pub const WinBuiltinIUsersSid: WELL_KNOWN_SID_TYPE = 62i32; +pub const WinBuiltinIncomingForestTrustBuildersSid: WELL_KNOWN_SID_TYPE = 56i32; +pub const WinBuiltinNetworkConfigurationOperatorsSid: WELL_KNOWN_SID_TYPE = 37i32; +pub const WinBuiltinPerfLoggingUsersSid: WELL_KNOWN_SID_TYPE = 58i32; +pub const WinBuiltinPerfMonitoringUsersSid: WELL_KNOWN_SID_TYPE = 57i32; +pub const WinBuiltinPowerUsersSid: WELL_KNOWN_SID_TYPE = 29i32; +pub const WinBuiltinPreWindows2000CompatibleAccessSid: WELL_KNOWN_SID_TYPE = 35i32; +pub const WinBuiltinPrintOperatorsSid: WELL_KNOWN_SID_TYPE = 32i32; +pub const WinBuiltinRDSEndpointServersSid: WELL_KNOWN_SID_TYPE = 96i32; +pub const WinBuiltinRDSManagementServersSid: WELL_KNOWN_SID_TYPE = 97i32; +pub const WinBuiltinRDSRemoteAccessServersSid: WELL_KNOWN_SID_TYPE = 95i32; +pub const WinBuiltinRemoteDesktopUsersSid: WELL_KNOWN_SID_TYPE = 36i32; +pub const WinBuiltinRemoteManagementUsersSid: WELL_KNOWN_SID_TYPE = 102i32; +pub const WinBuiltinReplicatorSid: WELL_KNOWN_SID_TYPE = 34i32; +pub const WinBuiltinStorageReplicaAdminsSid: WELL_KNOWN_SID_TYPE = 112i32; +pub const WinBuiltinSystemOperatorsSid: WELL_KNOWN_SID_TYPE = 31i32; +pub const WinBuiltinTerminalServerLicenseServersSid: WELL_KNOWN_SID_TYPE = 60i32; +pub const WinBuiltinUsersSid: WELL_KNOWN_SID_TYPE = 27i32; +pub const WinCacheablePrincipalsGroupSid: WELL_KNOWN_SID_TYPE = 72i32; +pub const WinCapabilityAppointmentsSid: WELL_KNOWN_SID_TYPE = 108i32; +pub const WinCapabilityContactsSid: WELL_KNOWN_SID_TYPE = 109i32; +pub const WinCapabilityDocumentsLibrarySid: WELL_KNOWN_SID_TYPE = 91i32; +pub const WinCapabilityEnterpriseAuthenticationSid: WELL_KNOWN_SID_TYPE = 93i32; +pub const WinCapabilityInternetClientServerSid: WELL_KNOWN_SID_TYPE = 86i32; +pub const WinCapabilityInternetClientSid: WELL_KNOWN_SID_TYPE = 85i32; +pub const WinCapabilityMusicLibrarySid: WELL_KNOWN_SID_TYPE = 90i32; +pub const WinCapabilityPicturesLibrarySid: WELL_KNOWN_SID_TYPE = 88i32; +pub const WinCapabilityPrivateNetworkClientServerSid: WELL_KNOWN_SID_TYPE = 87i32; +pub const WinCapabilityRemovableStorageSid: WELL_KNOWN_SID_TYPE = 94i32; +pub const WinCapabilitySharedUserCertificatesSid: WELL_KNOWN_SID_TYPE = 92i32; +pub const WinCapabilityVideosLibrarySid: WELL_KNOWN_SID_TYPE = 89i32; +pub const WinConsoleLogonSid: WELL_KNOWN_SID_TYPE = 81i32; +pub const WinCreatorGroupServerSid: WELL_KNOWN_SID_TYPE = 6i32; +pub const WinCreatorGroupSid: WELL_KNOWN_SID_TYPE = 4i32; +pub const WinCreatorOwnerRightsSid: WELL_KNOWN_SID_TYPE = 71i32; +pub const WinCreatorOwnerServerSid: WELL_KNOWN_SID_TYPE = 5i32; +pub const WinCreatorOwnerSid: WELL_KNOWN_SID_TYPE = 3i32; +pub const WinDialupSid: WELL_KNOWN_SID_TYPE = 8i32; +pub const WinDigestAuthenticationSid: WELL_KNOWN_SID_TYPE = 52i32; +pub const WinEnterpriseControllersSid: WELL_KNOWN_SID_TYPE = 15i32; +pub const WinEnterpriseReadonlyControllersSid: WELL_KNOWN_SID_TYPE = 74i32; +pub const WinHighLabelSid: WELL_KNOWN_SID_TYPE = 68i32; +pub const WinIUserSid: WELL_KNOWN_SID_TYPE = 63i32; +pub const WinInteractiveSid: WELL_KNOWN_SID_TYPE = 11i32; +pub const WinLocalAccountAndAdministratorSid: WELL_KNOWN_SID_TYPE = 106i32; +pub const WinLocalAccountSid: WELL_KNOWN_SID_TYPE = 105i32; +pub const WinLocalLogonSid: WELL_KNOWN_SID_TYPE = 80i32; +pub const WinLocalServiceSid: WELL_KNOWN_SID_TYPE = 23i32; +pub const WinLocalSid: WELL_KNOWN_SID_TYPE = 2i32; +pub const WinLocalSystemSid: WELL_KNOWN_SID_TYPE = 22i32; +pub const WinLogonIdsSid: WELL_KNOWN_SID_TYPE = 21i32; +pub const WinLowLabelSid: WELL_KNOWN_SID_TYPE = 66i32; +pub const WinMediumLabelSid: WELL_KNOWN_SID_TYPE = 67i32; +pub const WinMediumPlusLabelSid: WELL_KNOWN_SID_TYPE = 79i32; +pub const WinNTLMAuthenticationSid: WELL_KNOWN_SID_TYPE = 51i32; +pub const WinNetworkServiceSid: WELL_KNOWN_SID_TYPE = 24i32; +pub const WinNetworkSid: WELL_KNOWN_SID_TYPE = 9i32; +pub const WinNewEnterpriseReadonlyControllersSid: WELL_KNOWN_SID_TYPE = 77i32; +pub const WinNonCacheablePrincipalsGroupSid: WELL_KNOWN_SID_TYPE = 73i32; +pub const WinNtAuthoritySid: WELL_KNOWN_SID_TYPE = 7i32; +pub const WinNullSid: WELL_KNOWN_SID_TYPE = 0i32; +pub const WinOtherOrganizationSid: WELL_KNOWN_SID_TYPE = 55i32; +pub const WinProxySid: WELL_KNOWN_SID_TYPE = 14i32; +pub const WinRemoteLogonIdSid: WELL_KNOWN_SID_TYPE = 20i32; +pub const WinRestrictedCodeSid: WELL_KNOWN_SID_TYPE = 18i32; +pub const WinSChannelAuthenticationSid: WELL_KNOWN_SID_TYPE = 53i32; +pub const WinSelfSid: WELL_KNOWN_SID_TYPE = 16i32; +pub const WinServiceSid: WELL_KNOWN_SID_TYPE = 12i32; +pub const WinSystemLabelSid: WELL_KNOWN_SID_TYPE = 69i32; +pub const WinTerminalServerSid: WELL_KNOWN_SID_TYPE = 19i32; +pub const WinThisOrganizationCertificateSid: WELL_KNOWN_SID_TYPE = 82i32; +pub const WinThisOrganizationSid: WELL_KNOWN_SID_TYPE = 54i32; +pub const WinUntrustedLabelSid: WELL_KNOWN_SID_TYPE = 65i32; +pub const WinUserModeDriversSid: WELL_KNOWN_SID_TYPE = 98i32; +pub const WinWorldSid: WELL_KNOWN_SID_TYPE = 1i32; +pub const WinWriteRestrictedCodeSid: WELL_KNOWN_SID_TYPE = 70i32; +pub const cwcFILENAMESUFFIXMAX: u32 = 20u32; +pub const cwcHRESULTSTRING: u32 = 40u32; +pub const szLBRACE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("{"); +pub const szLPAREN: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("("); +pub const szRBRACE: ::windows_sys::core::PCSTR = ::windows_sys::core::s!("}"); +pub const szRPAREN: ::windows_sys::core::PCSTR = ::windows_sys::core::s!(")"); +pub const wszCERTENROLLSHAREPATH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("CertSrv\\CertEnroll"); +pub const wszFCSAPARM_CERTFILENAMESUFFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%4"); +pub const wszFCSAPARM_CONFIGDN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%6"); +pub const wszFCSAPARM_CRLDELTAFILENAMESUFFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%9"); +pub const wszFCSAPARM_CRLFILENAMESUFFIX: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%8"); +pub const wszFCSAPARM_DOMAINDN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%5"); +pub const wszFCSAPARM_DSCACERTATTRIBUTE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%11"); +pub const wszFCSAPARM_DSCRLATTRIBUTE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%10"); +pub const wszFCSAPARM_DSCROSSCERTPAIRATTRIBUTE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%14"); +pub const wszFCSAPARM_DSKRACERTATTRIBUTE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%13"); +pub const wszFCSAPARM_DSUSERCERTATTRIBUTE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%12"); +pub const wszFCSAPARM_SANITIZEDCANAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%3"); +pub const wszFCSAPARM_SANITIZEDCANAMEHASH: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%7"); +pub const wszFCSAPARM_SERVERDNSNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%1"); +pub const wszFCSAPARM_SERVERSHORTNAME: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("%2"); +pub const wszLBRACE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("{"); +pub const wszLPAREN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("("); +pub const wszRBRACE: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!("}"); +pub const wszRPAREN: ::windows_sys::core::PCWSTR = ::windows_sys::core::w!(")"); +pub type ACE_FLAGS = u32; +pub type ACE_REVISION = u32; +pub type ACL_INFORMATION_CLASS = i32; +pub type AUDIT_EVENT_TYPE = i32; +pub type CLAIM_SECURITY_ATTRIBUTE_FLAGS = u32; +pub type CLAIM_SECURITY_ATTRIBUTE_VALUE_TYPE = u16; +pub type CREATE_RESTRICTED_TOKEN_FLAGS = u32; +pub type ENUM_PERIOD = i32; +pub type LOGON32_LOGON = u32; +pub type LOGON32_PROVIDER = u32; +pub type MANDATORY_LEVEL = i32; +pub type OBJECT_SECURITY_INFORMATION = u32; +pub type SECURITY_AUTO_INHERIT_FLAGS = u32; +pub type SECURITY_DESCRIPTOR_CONTROL = u16; +pub type SECURITY_IMPERSONATION_LEVEL = i32; +pub type SID_NAME_USE = i32; +pub type SYSTEM_AUDIT_OBJECT_ACE_FLAGS = u32; +pub type TOKEN_ACCESS_MASK = u32; +pub type TOKEN_ELEVATION_TYPE = i32; +pub type TOKEN_INFORMATION_CLASS = i32; +pub type TOKEN_MANDATORY_POLICY_ID = u32; +pub type TOKEN_PRIVILEGES_ATTRIBUTES = u32; +pub type TOKEN_TYPE = i32; +pub type WELL_KNOWN_SID_TYPE = i32; +#[repr(C)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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)] +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 + } +} +#[repr(C)] +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)] +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)] +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)] +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)] +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)] +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 + } +} +#[repr(C)] +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_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_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +pub type NCRYPT_DESCRIPTOR_HANDLE = isize; +pub type NCRYPT_STREAM_HANDLE = isize; +#[repr(C)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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)] +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_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct SECURITY_DESCRIPTOR { + pub Revision: u8, + pub Sbz1: u8, + pub Control: SECURITY_DESCRIPTOR_CONTROL, + 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 + } +} +#[repr(C)] +pub struct SECURITY_DESCRIPTOR_RELATIVE { + pub Revision: u8, + pub Sbz1: u8, + pub Control: SECURITY_DESCRIPTOR_CONTROL, + pub Owner: u32, + pub Group: u32, + pub Sacl: u32, + pub Dacl: u32, +} +impl ::core::marker::Copy for SECURITY_DESCRIPTOR_RELATIVE {} +impl ::core::clone::Clone for SECURITY_DESCRIPTOR_RELATIVE { + fn clone(&self) -> Self { + *self + } +} +#[repr(C)] +#[doc = "Required features: `\"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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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_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)] +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)] +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)] +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_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_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)] +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 + } +} +#[repr(C)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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)] +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 + } +} +#[repr(C)] +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)] +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)] +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)] +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_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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)] +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_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)] +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)] +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)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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)] +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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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_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_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_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"Win32_Foundation\"`"] +#[cfg(feature = "Win32_Foundation")] +pub struct TOKEN_SOURCE { + pub SourceName: [u8; 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_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 + } +} +#[repr(C)] +#[doc = "Required features: `\"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)] +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_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>; +pub type SEC_THREAD_START = ::core::option::Option<unsafe extern "system" fn(lpthreadparameter: *mut ::core::ffi::c_void) -> u32>; |